1 |
jlec 15/02/27 08:05:58 |
2 |
|
3 |
Modified: vpnc-0.5.3_p527-r1.ebuild ChangeLog |
4 |
Added: vpnc-0.5.3_p550.ebuild |
5 |
Log: |
6 |
Restrict binary distribution with USE=-bindist, #541450; bump to latest svn snapshot |
7 |
|
8 |
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.14 net-misc/vpnc/vpnc-0.5.3_p527-r1.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p527-r1.ebuild?rev=1.14&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p527-r1.ebuild?rev=1.14&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p527-r1.ebuild?r1=1.13&r2=1.14 |
16 |
|
17 |
Index: vpnc-0.5.3_p527-r1.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p527-r1.ebuild,v |
20 |
retrieving revision 1.13 |
21 |
retrieving revision 1.14 |
22 |
diff -u -r1.13 -r1.14 |
23 |
--- vpnc-0.5.3_p527-r1.ebuild 5 Jan 2015 12:55:51 -0000 1.13 |
24 |
+++ vpnc-0.5.3_p527-r1.ebuild 27 Feb 2015 08:05:58 -0000 1.14 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2015 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p527-r1.ebuild,v 1.13 2015/01/05 12:55:51 jlec Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p527-r1.ebuild,v 1.14 2015/02/27 08:05:58 jlec Exp $ |
30 |
|
31 |
EAPI=5 |
32 |
|
33 |
@@ -28,6 +28,8 @@ |
34 |
selinux? ( sec-policy/selinux-vpn ) |
35 |
" |
36 |
|
37 |
+RESTRICT="!bindist? ( bindist )" |
38 |
+ |
39 |
CONFIG_CHECK="~TUN" |
40 |
|
41 |
src_prepare() { |
42 |
|
43 |
|
44 |
|
45 |
1.133 net-misc/vpnc/ChangeLog |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/ChangeLog?rev=1.133&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/ChangeLog?rev=1.133&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/ChangeLog?r1=1.132&r2=1.133 |
50 |
|
51 |
Index: ChangeLog |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v |
54 |
retrieving revision 1.132 |
55 |
retrieving revision 1.133 |
56 |
diff -u -r1.132 -r1.133 |
57 |
--- ChangeLog 5 Jan 2015 12:55:51 -0000 1.132 |
58 |
+++ ChangeLog 27 Feb 2015 08:05:58 -0000 1.133 |
59 |
@@ -1,6 +1,13 @@ |
60 |
# ChangeLog for net-misc/vpnc |
61 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
62 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.132 2015/01/05 12:55:51 jlec Exp $ |
63 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.133 2015/02/27 08:05:58 jlec Exp $ |
64 |
+ |
65 |
+*vpnc-0.5.3_p550 (27 Feb 2015) |
66 |
+ |
67 |
+ 27 Feb 2015; Justin Lecher <jlec@g.o> +vpnc-0.5.3_p550.ebuild, |
68 |
+ vpnc-0.5.3_p527-r1.ebuild: |
69 |
+ Restrict binary distribution with USE=-bindist, #541450; bump to latest svn |
70 |
+ snapshot |
71 |
|
72 |
05 Jan 2015; Justin Lecher <jlec@g.o> vpnc-0.5.3_p527-r1.ebuild: |
73 |
Fix documentation URL, #534490 |
74 |
|
75 |
|
76 |
|
77 |
1.1 net-misc/vpnc/vpnc-0.5.3_p550.ebuild |
78 |
|
79 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p550.ebuild?rev=1.1&view=markup |
80 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p550.ebuild?rev=1.1&content-type=text/plain |
81 |
|
82 |
Index: vpnc-0.5.3_p550.ebuild |
83 |
=================================================================== |
84 |
# Copyright 1999-2015 Gentoo Foundation |
85 |
# Distributed under the terms of the GNU General Public License v2 |
86 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p550.ebuild,v 1.1 2015/02/27 08:05:58 jlec Exp $ |
87 |
|
88 |
EAPI=5 |
89 |
|
90 |
inherit eutils linux-info systemd toolchain-funcs |
91 |
|
92 |
DESCRIPTION="Free client for Cisco VPN routing software" |
93 |
HOMEPAGE="http://www.unix-ag.uni-kl.de/~massar/vpnc/" |
94 |
SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz" |
95 |
|
96 |
LICENSE="GPL-2 BSD" |
97 |
SLOT="0" |
98 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
99 |
IUSE="resolvconf +gnutls bindist selinux" |
100 |
|
101 |
REQUIRED_USE="bindist? ( gnutls )" |
102 |
|
103 |
DEPEND=" |
104 |
dev-lang/perl |
105 |
dev-libs/libgcrypt:0= |
106 |
>=sys-apps/iproute2-2.6.19.20061214[-minimal] |
107 |
gnutls? ( net-libs/gnutls:= ) |
108 |
!gnutls? ( dev-libs/openssl )" |
109 |
RDEPEND="${DEPEND} |
110 |
resolvconf? ( net-dns/openresolv ) |
111 |
selinux? ( sec-policy/selinux-vpn ) |
112 |
" |
113 |
|
114 |
RESTRICT="!bindist? ( bindist )" |
115 |
|
116 |
CONFIG_CHECK="~TUN" |
117 |
|
118 |
src_prepare() { |
119 |
if ! use gnutls && ! use bindist; then |
120 |
sed -i -e '/^#OPENSSL_GPL_VIOLATION/s:#::g' "${S}"/Makefile || die |
121 |
ewarn "Building SSL support with OpenSSL instead of GnuTLS. This means that" |
122 |
ewarn "you are not allowed to re-distibute the binaries due to conflicts between BSD license and GPL," |
123 |
ewarn "see the vpnc Makefile and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440318" |
124 |
else |
125 |
elog "Will build with GnuTLS (default) instead of OpenSSL so you may even redistribute binaries." |
126 |
elog "See the Makefile itself and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440318" |
127 |
fi |
128 |
|
129 |
sed -e 's:test/cert0.pem::g' -i Makefile || die |
130 |
|
131 |
tc-export CC |
132 |
|
133 |
sed \ |
134 |
-e 's:/var/run:/run:g' \ |
135 |
-i ChangeLog config.c TODO || die |
136 |
} |
137 |
|
138 |
src_install() { |
139 |
emake PREFIX="/usr" DESTDIR="${D}" install |
140 |
dodoc README TODO VERSION |
141 |
keepdir /etc/vpnc/scripts.d |
142 |
newinitd "${FILESDIR}/vpnc-3.init" vpnc |
143 |
newconfd "${FILESDIR}/vpnc.confd" vpnc |
144 |
sed -e "s:/usr/local:/usr:" -i "${ED}"/etc/vpnc/vpnc-script || die |
145 |
|
146 |
systemd_dotmpfilesd "${FILESDIR}"/vpnc-tmpfiles.conf |
147 |
systemd_newunit "${FILESDIR}"/vpnc.service vpnc@.service |
148 |
|
149 |
# COPYING file resides here, should not be installed |
150 |
rm -rf "${ED}"/usr/share/doc/vpnc/ || die |
151 |
} |
152 |
|
153 |
pkg_postinst() { |
154 |
elog "You can generate a configuration file from the original Cisco profiles of your" |
155 |
elog "connection by using /usr/bin/pcf2vpnc to convert the .pcf file" |
156 |
elog "A guide is available at https://wiki.gentoo.org/wiki/Vpnc" |
157 |
} |