1 |
commit: 0e2f7a05a8a1771cb292a457fd450d3b0d688aef |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 17 21:38:58 2016 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 17 21:49:48 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e2f7a05 |
7 |
|
8 |
net-misc/openvpn: Remove old |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
net-misc/openvpn/Manifest | 1 - |
13 |
net-misc/openvpn/openvpn-2.3.8-r1.ebuild | 133 ------------------------------- |
14 |
net-misc/openvpn/openvpn-2.3.9.ebuild | 132 ------------------------------ |
15 |
3 files changed, 266 deletions(-) |
16 |
|
17 |
diff --git a/net-misc/openvpn/Manifest b/net-misc/openvpn/Manifest |
18 |
index 56f2495..26b9115 100644 |
19 |
--- a/net-misc/openvpn/Manifest |
20 |
+++ b/net-misc/openvpn/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
DIST openvpn-2.3.10.tar.gz 1225636 SHA256 f8b0b5b92e35bbca1db1a7e6b49e04639e45634e9accd460459b40b2c99ec8f6 SHA512 13f7cfb8e5a7485f930d13830691a937da40b4cc881c403ab613132cb94aba0a30b1727debdfa1b8d7d761b447ccbcf0d1c2d56ca82f6a6ce7e2eec9642fd13f WHIRLPOOL ce52f9d89c0512a76ccc71a4c227e8f098ffdd00d4a0ed4518f35b1f86c53c638e2805e1b32e87c664ba7ceeb1a7e50875effa3c302a5e53e1b7143ac9a68685 |
23 |
DIST openvpn-2.3.8.tar.gz 1214843 SHA256 532435eff61c14b44a583f27b72f93e7864e96c95fe51134ec0ad4b1b1107c51 SHA512 b619283d87eea2e47a2f0dfdbf0ffd1d10388fbdaadb33b43c7a2743748a4814f869fad6215d32fab156664d554ae94af456e7bf496890c68e6729b153d76db9 WHIRLPOOL 4868c735ca5e65b34f477457ea38eb6db45fae80563490d1e39ece9bf29b13976dd82d50d054da70c4ee146cb2e88e847bafc3f7ff47112d4494fa0f408d65d0 |
24 |
-DIST openvpn-2.3.9.tar.gz 1222797 SHA256 2c12fe9ea641ac1291e70322cc500641c84e5903dd4f40bf2eda7e9f209b2f9c SHA512 597ad93caf5e4489bfdc78413756af516cad88679460ebadbef91358c6ca505dd0d5c3bb508b463fd34008be80d37f464271db0beec8439619510d7cf3b3b000 WHIRLPOOL 81e06b9d27f8443a7e1ceb9037f4f84521e97e50805e134fa773219768f8e5af8d775f515a4a90f0450ea01ce90eab48e04f3d027e7be8e796388af26e057752 |
25 |
|
26 |
diff --git a/net-misc/openvpn/openvpn-2.3.8-r1.ebuild b/net-misc/openvpn/openvpn-2.3.8-r1.ebuild |
27 |
deleted file mode 100644 |
28 |
index 3b291c6..0000000 |
29 |
--- a/net-misc/openvpn/openvpn-2.3.8-r1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,133 +0,0 @@ |
32 |
-# Copyright 1999-2015 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
-# $Id$ |
35 |
- |
36 |
-EAPI=5 |
37 |
- |
38 |
-inherit multilib flag-o-matic user systemd |
39 |
- |
40 |
-DESCRIPTION="Robust and highly flexible tunneling application compatible with many OSes" |
41 |
-SRC_URI="http://swupdate.openvpn.net/community/releases/${P}.tar.gz" |
42 |
-HOMEPAGE="http://openvpn.net/" |
43 |
- |
44 |
-LICENSE="GPL-2" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux" |
47 |
-IUSE="examples down-root iproute2 libressl +lzo pam passwordsave pkcs11 +plugins polarssl selinux socks +ssl static systemd userland_BSD" |
48 |
- |
49 |
-REQUIRED_USE="static? ( !plugins !pkcs11 ) |
50 |
- polarssl? ( ssl !libressl ) |
51 |
- pkcs11? ( ssl ) |
52 |
- !plugins? ( !pam !down-root )" |
53 |
- |
54 |
-DEPEND=" |
55 |
- kernel_linux? ( |
56 |
- iproute2? ( sys-apps/iproute2[-minimal] ) !iproute2? ( sys-apps/net-tools ) |
57 |
- ) |
58 |
- pam? ( virtual/pam ) |
59 |
- ssl? ( |
60 |
- !polarssl? ( |
61 |
- !libressl? ( >=dev-libs/openssl-0.9.7:* ) |
62 |
- libressl? ( dev-libs/libressl ) |
63 |
- ) |
64 |
- polarssl? ( >=net-libs/polarssl-1.2.10 ) |
65 |
- ) |
66 |
- lzo? ( >=dev-libs/lzo-1.07 ) |
67 |
- pkcs11? ( >=dev-libs/pkcs11-helper-1.11 ) |
68 |
- systemd? ( sys-apps/systemd )" |
69 |
-RDEPEND="${DEPEND} |
70 |
- selinux? ( sec-policy/selinux-openvpn ) |
71 |
-" |
72 |
- |
73 |
-src_configure() { |
74 |
- use static && LDFLAGS="${LDFLAGS} -Xcompiler -static" |
75 |
- local myconf |
76 |
- use polarssl && myconf="--with-crypto-library=polarssl" |
77 |
- econf \ |
78 |
- ${myconf} \ |
79 |
- --docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
80 |
- --with-plugindir="${ROOT}/usr/$(get_libdir)/$PN" \ |
81 |
- $(use_enable passwordsave password-save) \ |
82 |
- $(use_enable ssl) \ |
83 |
- $(use_enable ssl crypto) \ |
84 |
- $(use_enable lzo) \ |
85 |
- $(use_enable pkcs11) \ |
86 |
- $(use_enable plugins) \ |
87 |
- $(use_enable iproute2) \ |
88 |
- $(use_enable socks) \ |
89 |
- $(use_enable pam plugin-auth-pam) \ |
90 |
- $(use_enable down-root plugin-down-root) \ |
91 |
- $(use_enable systemd) |
92 |
-} |
93 |
- |
94 |
-src_install() { |
95 |
- default |
96 |
- find "${ED}/usr" -name '*.la' -delete |
97 |
- # install documentation |
98 |
- dodoc AUTHORS ChangeLog PORTS README README.IPv6 |
99 |
- |
100 |
- # Install some helper scripts |
101 |
- keepdir /etc/openvpn |
102 |
- exeinto /etc/openvpn |
103 |
- doexe "${FILESDIR}/up.sh" |
104 |
- doexe "${FILESDIR}/down.sh" |
105 |
- |
106 |
- # Install the init script and config file |
107 |
- newinitd "${FILESDIR}/${PN}-2.1.init" openvpn |
108 |
- newconfd "${FILESDIR}/${PN}-2.1.conf" openvpn |
109 |
- |
110 |
- # install examples, controlled by the respective useflag |
111 |
- if use examples ; then |
112 |
- # dodoc does not supportly support directory traversal, #15193 |
113 |
- insinto /usr/share/doc/${PF}/examples |
114 |
- doins -r sample contrib |
115 |
- fi |
116 |
- |
117 |
- systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfile ${PN}.conf |
118 |
- systemd_newunit distro/systemd/openvpn-client@.service openvpn-client@.service |
119 |
- systemd_newunit distro/systemd/openvpn-server@.service openvpn-server@.service |
120 |
-} |
121 |
- |
122 |
-pkg_postinst() { |
123 |
- # Add openvpn user so openvpn servers can drop privs |
124 |
- # Clients should run as root so they can change ip addresses, |
125 |
- # dns information and other such things. |
126 |
- enewgroup openvpn |
127 |
- enewuser openvpn "" "" "" openvpn |
128 |
- |
129 |
- if [ path_exists -o "${ROOT}/etc/openvpn/*/local.conf" ] ; then |
130 |
- ewarn "WARNING: The openvpn init script has changed" |
131 |
- ewarn "" |
132 |
- fi |
133 |
- |
134 |
- elog "The openvpn init script expects to find the configuration file" |
135 |
- elog "openvpn.conf in /etc/openvpn along with any extra files it may need." |
136 |
- elog "" |
137 |
- elog "To create more VPNs, simply create a new .conf file for it and" |
138 |
- elog "then create a symlink to the openvpn init script from a link called" |
139 |
- elog "openvpn.newconfname - like so" |
140 |
- elog " cd /etc/openvpn" |
141 |
- elog " ${EDITOR##*/} foo.conf" |
142 |
- elog " cd /etc/init.d" |
143 |
- elog " ln -s openvpn openvpn.foo" |
144 |
- elog "" |
145 |
- elog "You can then treat openvpn.foo as any other service, so you can" |
146 |
- elog "stop one vpn and start another if you need to." |
147 |
- |
148 |
- if grep -Eq "^[ \t]*(up|down)[ \t].*" "${ROOT}/etc/openvpn"/*.conf 2>/dev/null ; then |
149 |
- ewarn "" |
150 |
- ewarn "WARNING: If you use the remote keyword then you are deemed to be" |
151 |
- ewarn "a client by our init script and as such we force up,down scripts." |
152 |
- ewarn "These scripts call /etc/openvpn/\$SVCNAME-{up,down}.sh where you" |
153 |
- ewarn "can move your scripts to." |
154 |
- fi |
155 |
- |
156 |
- if use plugins ; then |
157 |
- einfo "" |
158 |
- einfo "plugins have been installed into /usr/$(get_libdir)/${PN}" |
159 |
- fi |
160 |
- |
161 |
- einfo "" |
162 |
- einfo "OpenVPN 2.3.x no longer includes the easy-rsa suite of utilities." |
163 |
- einfo "They can now be emerged via app-crypt/easy-rsa." |
164 |
-} |
165 |
|
166 |
diff --git a/net-misc/openvpn/openvpn-2.3.9.ebuild b/net-misc/openvpn/openvpn-2.3.9.ebuild |
167 |
deleted file mode 100644 |
168 |
index 7a2c3fa..0000000 |
169 |
--- a/net-misc/openvpn/openvpn-2.3.9.ebuild |
170 |
+++ /dev/null |
171 |
@@ -1,132 +0,0 @@ |
172 |
-# Copyright 1999-2015 Gentoo Foundation |
173 |
-# Distributed under the terms of the GNU General Public License v2 |
174 |
-# $Id$ |
175 |
- |
176 |
-EAPI=5 |
177 |
- |
178 |
-inherit multilib flag-o-matic user systemd |
179 |
- |
180 |
-DESCRIPTION="Robust and highly flexible tunneling application compatible with many OSes" |
181 |
-SRC_URI="http://swupdate.openvpn.net/community/releases/${P}.tar.gz" |
182 |
-HOMEPAGE="http://openvpn.net/" |
183 |
- |
184 |
-LICENSE="GPL-2" |
185 |
-SLOT="0" |
186 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux" |
187 |
-IUSE="examples down-root iproute2 libressl +lzo pam pkcs11 +plugins polarssl selinux socks +ssl static systemd userland_BSD" |
188 |
- |
189 |
-REQUIRED_USE="static? ( !plugins !pkcs11 ) |
190 |
- polarssl? ( ssl !libressl ) |
191 |
- pkcs11? ( ssl ) |
192 |
- !plugins? ( !pam !down-root )" |
193 |
- |
194 |
-DEPEND=" |
195 |
- kernel_linux? ( |
196 |
- iproute2? ( sys-apps/iproute2[-minimal] ) !iproute2? ( sys-apps/net-tools ) |
197 |
- ) |
198 |
- pam? ( virtual/pam ) |
199 |
- ssl? ( |
200 |
- !polarssl? ( |
201 |
- !libressl? ( >=dev-libs/openssl-0.9.7:* ) |
202 |
- libressl? ( dev-libs/libressl ) |
203 |
- ) |
204 |
- polarssl? ( >=net-libs/polarssl-1.2.10 ) |
205 |
- ) |
206 |
- lzo? ( >=dev-libs/lzo-1.07 ) |
207 |
- pkcs11? ( >=dev-libs/pkcs11-helper-1.11 ) |
208 |
- systemd? ( sys-apps/systemd )" |
209 |
-RDEPEND="${DEPEND} |
210 |
- selinux? ( sec-policy/selinux-openvpn ) |
211 |
-" |
212 |
- |
213 |
-src_configure() { |
214 |
- use static && LDFLAGS="${LDFLAGS} -Xcompiler -static" |
215 |
- local myconf |
216 |
- use polarssl && myconf="--with-crypto-library=polarssl" |
217 |
- econf \ |
218 |
- ${myconf} \ |
219 |
- --docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
220 |
- --with-plugindir="${ROOT}/usr/$(get_libdir)/$PN" \ |
221 |
- $(use_enable ssl) \ |
222 |
- $(use_enable ssl crypto) \ |
223 |
- $(use_enable lzo) \ |
224 |
- $(use_enable pkcs11) \ |
225 |
- $(use_enable plugins) \ |
226 |
- $(use_enable iproute2) \ |
227 |
- $(use_enable socks) \ |
228 |
- $(use_enable pam plugin-auth-pam) \ |
229 |
- $(use_enable down-root plugin-down-root) \ |
230 |
- $(use_enable systemd) |
231 |
-} |
232 |
- |
233 |
-src_install() { |
234 |
- default |
235 |
- find "${ED}/usr" -name '*.la' -delete |
236 |
- # install documentation |
237 |
- dodoc AUTHORS ChangeLog PORTS README README.IPv6 |
238 |
- |
239 |
- # Install some helper scripts |
240 |
- keepdir /etc/openvpn |
241 |
- exeinto /etc/openvpn |
242 |
- doexe "${FILESDIR}/up.sh" |
243 |
- doexe "${FILESDIR}/down.sh" |
244 |
- |
245 |
- # Install the init script and config file |
246 |
- newinitd "${FILESDIR}/${PN}-2.1.init" openvpn |
247 |
- newconfd "${FILESDIR}/${PN}-2.1.conf" openvpn |
248 |
- |
249 |
- # install examples, controlled by the respective useflag |
250 |
- if use examples ; then |
251 |
- # dodoc does not supportly support directory traversal, #15193 |
252 |
- insinto /usr/share/doc/${PF}/examples |
253 |
- doins -r sample contrib |
254 |
- fi |
255 |
- |
256 |
- systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfile ${PN}.conf |
257 |
- systemd_newunit distro/systemd/openvpn-client@.service openvpn-client@.service |
258 |
- systemd_newunit distro/systemd/openvpn-server@.service openvpn-server@.service |
259 |
-} |
260 |
- |
261 |
-pkg_postinst() { |
262 |
- # Add openvpn user so openvpn servers can drop privs |
263 |
- # Clients should run as root so they can change ip addresses, |
264 |
- # dns information and other such things. |
265 |
- enewgroup openvpn |
266 |
- enewuser openvpn "" "" "" openvpn |
267 |
- |
268 |
- if [ path_exists -o "${ROOT}/etc/openvpn/*/local.conf" ] ; then |
269 |
- ewarn "WARNING: The openvpn init script has changed" |
270 |
- ewarn "" |
271 |
- fi |
272 |
- |
273 |
- elog "The openvpn init script expects to find the configuration file" |
274 |
- elog "openvpn.conf in /etc/openvpn along with any extra files it may need." |
275 |
- elog "" |
276 |
- elog "To create more VPNs, simply create a new .conf file for it and" |
277 |
- elog "then create a symlink to the openvpn init script from a link called" |
278 |
- elog "openvpn.newconfname - like so" |
279 |
- elog " cd /etc/openvpn" |
280 |
- elog " ${EDITOR##*/} foo.conf" |
281 |
- elog " cd /etc/init.d" |
282 |
- elog " ln -s openvpn openvpn.foo" |
283 |
- elog "" |
284 |
- elog "You can then treat openvpn.foo as any other service, so you can" |
285 |
- elog "stop one vpn and start another if you need to." |
286 |
- |
287 |
- if grep -Eq "^[ \t]*(up|down)[ \t].*" "${ROOT}/etc/openvpn"/*.conf 2>/dev/null ; then |
288 |
- ewarn "" |
289 |
- ewarn "WARNING: If you use the remote keyword then you are deemed to be" |
290 |
- ewarn "a client by our init script and as such we force up,down scripts." |
291 |
- ewarn "These scripts call /etc/openvpn/\$SVCNAME-{up,down}.sh where you" |
292 |
- ewarn "can move your scripts to." |
293 |
- fi |
294 |
- |
295 |
- if use plugins ; then |
296 |
- einfo "" |
297 |
- einfo "plugins have been installed into /usr/$(get_libdir)/${PN}" |
298 |
- fi |
299 |
- |
300 |
- einfo "" |
301 |
- einfo "OpenVPN 2.3.x no longer includes the easy-rsa suite of utilities." |
302 |
- einfo "They can now be emerged via app-crypt/easy-rsa." |
303 |
-} |