Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/files/
Date: Thu, 26 Jan 2017 04:06:22
Message-Id: 1485403573.b13ffed0bd7b142553945d68cd5c1bdd254ea543.floppym@gentoo
1 commit: b13ffed0bd7b142553945d68cd5c1bdd254ea543
2 Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Wed Jan 25 19:49:27 2017 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 26 04:06:13 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b13ffed0
7
8 net-misc/libreswan: remove unused patches/file
9
10 net-misc/libreswan/files/ipsec.service | 19 -----------
11 net-misc/libreswan/files/libreswan-3.7-curl.patch | 30 ------------------
12 .../files/libreswan-3.7-openrc-pidfile.patch | 37 ----------------------
13 .../libreswan/files/libreswan-3.7-openrc.patch | 24 --------------
14 4 files changed, 110 deletions(-)
15
16 diff --git a/net-misc/libreswan/files/ipsec.service b/net-misc/libreswan/files/ipsec.service
17 deleted file mode 100644
18 index 36e2f97d..00000000
19 --- a/net-misc/libreswan/files/ipsec.service
20 +++ /dev/null
21 @@ -1,19 +0,0 @@
22 -[Unit]
23 -Description=Internet Key Exchange (IKE) Protocol Daemon for IPsec
24 -After=syslog.target
25 -After=network.target
26 -
27 -[Service]
28 -Type=simple
29 -ExecStartPre=/usr/libexec/ipsec/addconn --config /etc/ipsec.conf --checkconfig
30 -ExecStartPre=/usr/libexec/ipsec/_stackmanager start
31 -ExecStart=/usr/libexec/ipsec/pluto --config /etc/ipsec.conf --nofork
32 -ExecStop=/usr/libexec/ipsec/whack --shutdown
33 -ExecStopPost=/bin/ip xfrm policy flush
34 -ExecStopPost=/bin/ip xfrm state flush
35 -ExecReload=/usr/libexec/ipsec/whack --listen
36 -
37 -[Install]
38 -WantedBy=multi-user.target
39 -Alias=libreswan.service
40 -Alias=pluto.service
41
42 diff --git a/net-misc/libreswan/files/libreswan-3.7-curl.patch b/net-misc/libreswan/files/libreswan-3.7-curl.patch
43 deleted file mode 100644
44 index cc808ab..00000000
45 --- a/net-misc/libreswan/files/libreswan-3.7-curl.patch
46 +++ /dev/null
47 @@ -1,30 +0,0 @@
48 -diff --git a/include/secrets.h b/include/secrets.h
49 -index c5ac092..92c1679 100644
50 ---- a/include/secrets.h
51 -+++ b/include/secrets.h
52 -@@ -173,10 +173,8 @@ extern struct secret *lsw_find_secret_by_id(struct secret *secrets,
53 - const struct id *his_id,
54 - bool asym);
55 -
56 --#if defined(LIBCURL) || defined(LDAP_VER)
57 - extern void lock_certs_and_keys(const char *who);
58 - extern void unlock_certs_and_keys(const char *who);
59 --#endif
60 -
61 - #include "x509.h"
62 - extern const struct RSA_private_key*lsw_get_x509_private_key(
63 -diff --git a/include/x509.h b/include/x509.h
64 -index f85e5b9..a796f89 100644
65 ---- a/include/x509.h
66 -+++ b/include/x509.h
67 -@@ -230,8 +230,9 @@ extern void unlock_authcert_list(const char *who); /* in secrets.c */
68 - #else
69 - /* WARNING empty x509 locking functions defined bypassing real locking */
70 - /* not fixing this hack, see issues #1390, #1391, #1392 */
71 -+#define check_crls(who) /* nothing */
72 -+#define lock_crl_list(who) /* nothing */
73 - #define unlock_crl_list(who) /* nothing */
74 --#define lock_cacert_list(who) /* nothing */
75 - #define lock_authcert_list(who) /* nothing */
76 - #define unlock_authcert_list(who) /* nothing */
77 - #endif
78
79 diff --git a/net-misc/libreswan/files/libreswan-3.7-openrc-pidfile.patch b/net-misc/libreswan/files/libreswan-3.7-openrc-pidfile.patch
80 deleted file mode 100644
81 index ab53057..00000000
82 --- a/net-misc/libreswan/files/libreswan-3.7-openrc-pidfile.patch
83 +++ /dev/null
84 @@ -1,37 +0,0 @@
85 -From ee43bdf59ad20e099093a5de4a7cfe63f0c12ba0 Mon Sep 17 00:00:00 2001
86 -From: Mike Gilbert <floppym@g.o>
87 -Date: Mon, 6 Jan 2014 14:43:37 -0500
88 -Subject: [PATCH] packaging: Fix pidfile handling in openrc init script
89 -
90 -Variable is referenced as PLUTO_PIDFILE in start() and stop().
91 -
92 -Also, don't initialize PLUTO_OPTS to blank; this allows the sysadmin to
93 -set it in /etc/conf.d/ipsec.
94 ----
95 - initsystems/openrc/ipsec.init.in | 4 +---
96 - 1 file changed, 1 insertion(+), 3 deletions(-)
97 -
98 -diff --git a/initsystems/openrc/ipsec.init.in b/initsystems/openrc/ipsec.init.in
99 -index f3ab2f9..c121897 100755
100 ---- a/initsystems/openrc/ipsec.init.in
101 -+++ b/initsystems/openrc/ipsec.init.in
102 -@@ -1,7 +1,5 @@
103 - #!/sbin/openrc-run
104 -
105 --PLUTO_OPTS=""
106 --
107 - name="ipsec pluto daemon"
108 - extra_commands="configtest"
109 - extra_started_commands="reload"
110 -@@ -12,7 +10,7 @@ description_reload="reloads the configuration - does not affect existing connect
111 - PLUTO_BINARY=${PLUTO_BINARY:-@FINALLIBDIR@/pluto}
112 - PLUTO_CONFFILE=${PLUTO_CONFFILE:-@FINALCONFFILE@}
113 - IPSEC_BINARY=${IPSEC_BINARY:-@FINALSBINDIR@/ipsec}
114 --PLUTO_PID=${PLUTO_PID:-/var/run/pluto/pluto.pid}
115 -+PLUTO_PIDFILE=${PLUTO_PIDFILE:-/var/run/pluto/pluto.pid}
116 -
117 - depend() {
118 - need net
119 ---
120 -1.8.5.2
121 -
122
123 diff --git a/net-misc/libreswan/files/libreswan-3.7-openrc.patch b/net-misc/libreswan/files/libreswan-3.7-openrc.patch
124 deleted file mode 100644
125 index 6bbbda5..00000000
126 --- a/net-misc/libreswan/files/libreswan-3.7-openrc.patch
127 +++ /dev/null
128 @@ -1,24 +0,0 @@
129 -From 2ad34532b42cfb791ed25cbf2fb9f6c964a12fcb Mon Sep 17 00:00:00 2001
130 -From: Mike Gilbert <floppym@g.o>
131 -Date: Sat, 4 Jan 2014 14:44:51 -0500
132 -Subject: [PATCH] packaging: Fix srcdir in openrc Makfile
133 -
134 -Signed-off-by: Paul Wouters <pwouters@××××××.com>
135 ----
136 - initsystems/openrc/Makefile | 2 +-
137 - 1 file changed, 1 insertion(+), 1 deletion(-)
138 -
139 -diff --git a/initsystems/openrc/Makefile b/initsystems/openrc/Makefile
140 -index 837ad61..eb5515e 100644
141 ---- a/initsystems/openrc/Makefile
142 -+++ b/initsystems/openrc/Makefile
143 -@@ -1,5 +1,5 @@
144 - LIBRESWANSRCDIR?=$(shell cd ../..; pwd)
145 --srcdir?=${LIBRESWANSRCDIR}/initsystems/sysvinit/
146 -+srcdir?=${LIBRESWANSRCDIR}/initsystems/openrc/
147 -
148 - INITDFILE=ipsec.init
149 - SUBDIRS=
150 ---
151 -1.8.5.2
152 -