1 |
wschlich 09/07/29 08:33:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: strongswan-4.3.3.ebuild strongswan-4.2.17.ebuild |
5 |
Removed: strongswan-4.2.16.ebuild strongswan-4.2.15.ebuild |
6 |
strongswan-4.3.2.ebuild strongswan-4.2.8.ebuild |
7 |
Log: |
8 |
version bumps fixing bug #279319, removed old versions |
9 |
(Portage version: 2.2_rc33/cvs/Linux i686) |
10 |
|
11 |
Revision Changes Path |
12 |
1.75 net-misc/strongswan/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.75&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.75&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/ChangeLog?r1=1.74&r2=1.75 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v |
21 |
retrieving revision 1.74 |
22 |
retrieving revision 1.75 |
23 |
diff -u -r1.74 -r1.75 |
24 |
--- ChangeLog 28 Jun 2009 17:12:16 -0000 1.74 |
25 |
+++ ChangeLog 29 Jul 2009 08:33:36 -0000 1.75 |
26 |
@@ -1,6 +1,16 @@ |
27 |
# ChangeLog for net-misc/strongswan |
28 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.74 2009/06/28 17:12:16 patrick Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.75 2009/07/29 08:33:36 wschlich Exp $ |
31 |
+ |
32 |
+*strongswan-4.3.3 (29 Jul 2009) |
33 |
+*strongswan-4.2.17 (29 Jul 2009) |
34 |
+ |
35 |
+ 29 Jul 2009; Wolfram Schlich <wschlich@g.o> |
36 |
+ +files/strongswan-4.3.3-install.patch, -strongswan-4.2.8.ebuild, |
37 |
+ -strongswan-4.2.15.ebuild, -strongswan-4.2.16.ebuild, |
38 |
+ +strongswan-4.2.17.ebuild, -strongswan-4.3.2.ebuild, |
39 |
+ +strongswan-4.3.3.ebuild: |
40 |
+ version bumps fixing bug #279319, removed old versions |
41 |
|
42 |
28 Jun 2009; Patrick Lauer <patrick@g.o> strongswan-4.3.2.ebuild: |
43 |
Adding missing dev-libs/libgcrypt depend. Solves #275305 |
44 |
|
45 |
|
46 |
|
47 |
1.1 net-misc/strongswan/strongswan-4.3.3.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/strongswan-4.3.3.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/strongswan-4.3.3.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: strongswan-4.3.3.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2009 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/strongswan-4.3.3.ebuild,v 1.1 2009/07/29 08:33:36 wschlich Exp $ |
57 |
|
58 |
EAPI=2 |
59 |
inherit eutils linux-info autotools |
60 |
|
61 |
UGID="ipsec" |
62 |
|
63 |
DESCRIPTION="Open Source implementation of IPsec for the Linux operating system." |
64 |
HOMEPAGE="http://www.strongswan.org/" |
65 |
SRC_URI="http://download.strongswan.org/${P}.tar.bz2" |
66 |
|
67 |
LICENSE="GPL-2 RSA-MD2 RSA-MD5 RSA-PKCS11 DES" |
68 |
SLOT="0" |
69 |
KEYWORDS="~ppc ~sparc ~x86 ~amd64" |
70 |
IUSE="caps cisco curl debug ldap nat smartcard static xml" |
71 |
|
72 |
COMMON_DEPEND="!net-misc/openswan |
73 |
dev-libs/gmp |
74 |
dev-libs/libgcrypt |
75 |
caps? ( sys-libs/libcap ) |
76 |
curl? ( net-misc/curl ) |
77 |
ldap? ( net-nds/openldap ) |
78 |
smartcard? ( dev-libs/opensc ) |
79 |
xml? ( dev-libs/libxml2 )" |
80 |
DEPEND="${COMMON_DEPEND} |
81 |
virtual/linux-sources |
82 |
sys-kernel/linux-headers" |
83 |
RDEPEND="${COMMON_DEPEND} |
84 |
virtual/logger |
85 |
sys-apps/iproute2" |
86 |
|
87 |
src_prepare() { |
88 |
epatch "${FILESDIR}"/${PN}-4.3.3-install.patch |
89 |
eautoreconf |
90 |
} |
91 |
|
92 |
pkg_setup() { |
93 |
linux-info_pkg_setup |
94 |
|
95 |
einfo "Linux kernel is version ${KV_FULL}" |
96 |
|
97 |
if kernel_is 2 6; then |
98 |
einfo "This ebuild will set ${P} to use 2.6 native IPsec (KAME)." |
99 |
else |
100 |
eerror "Sorry, no support for your kernel version ${KV_FULL}." |
101 |
die "Install an IPsec enabled 2.6 kernel." |
102 |
fi |
103 |
|
104 |
# change to an unprivileged user by default |
105 |
enewgroup ${UGID} |
106 |
enewuser ${UGID} -1 -1 -1 ${UGID} |
107 |
} |
108 |
|
109 |
src_configure() { |
110 |
local myconf="" |
111 |
|
112 |
# change to an unprivileged user by default |
113 |
myconf="${myconf} --with-user=${UGID} --with-group=${UGID}" |
114 |
# strongswan enables both by default; switch to the user's wish |
115 |
if use static; then |
116 |
myconf="${myconf} --enable-static --disable-shared" |
117 |
else |
118 |
myconf="${myconf} --disable-static --enable-shared" |
119 |
fi |
120 |
|
121 |
# TODO: Review new configure options such as networkmanager |
122 |
econf \ |
123 |
$(use_with caps capabilities libcap) \ |
124 |
$(use_enable curl) \ |
125 |
$(use_enable ldap) \ |
126 |
$(use_enable xml smp) \ |
127 |
$(use_enable smartcard) \ |
128 |
$(use_enable cisco cisco-quirks) \ |
129 |
$(use_enable debug leak-detective) \ |
130 |
$(use_enable nat nat-transport) \ |
131 |
${myconf} \ |
132 |
|| die "econf failed" |
133 |
} |
134 |
|
135 |
src_install() { |
136 |
einstall || die "einstall failed." |
137 |
|
138 |
doinitd "${FILESDIR}"/ipsec |
139 |
|
140 |
fowners ipsec:ipsec /etc/ipsec.conf |
141 |
} |
142 |
|
143 |
pkg_postinst() { |
144 |
echo |
145 |
einfo "For your own security we install strongSwan without superuser" |
146 |
einfo "privileges. If you use iptables, you might want to change that" |
147 |
einfo "setting. See http://wiki.strongswan.org/wiki/nonRoot for more" |
148 |
einfo "information." |
149 |
# TODO: Should we recommend this sudoers line to users? |
150 |
# %ipsec ALL = NOPASSWD: /sbin/iptables |
151 |
echo |
152 |
einfo "The up-to-date configuration manual is available online at" |
153 |
einfo "http://www.strongswan.org/docs/readme42.htm" |
154 |
echo |
155 |
} |
156 |
|
157 |
|
158 |
|
159 |
1.1 net-misc/strongswan/strongswan-4.2.17.ebuild |
160 |
|
161 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/strongswan-4.2.17.ebuild?rev=1.1&view=markup |
162 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/strongswan-4.2.17.ebuild?rev=1.1&content-type=text/plain |
163 |
|
164 |
Index: strongswan-4.2.17.ebuild |
165 |
=================================================================== |
166 |
# Copyright 1999-2009 Gentoo Foundation |
167 |
# Distributed under the terms of the GNU General Public License v2 |
168 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/strongswan-4.2.17.ebuild,v 1.1 2009/07/29 08:33:36 wschlich Exp $ |
169 |
|
170 |
EAPI=2 |
171 |
inherit eutils linux-info autotools |
172 |
|
173 |
UGID="ipsec" |
174 |
|
175 |
DESCRIPTION="Open Source implementation of IPsec for the Linux operating system." |
176 |
HOMEPAGE="http://www.strongswan.org/" |
177 |
SRC_URI="http://download.strongswan.org/${P}.tar.bz2" |
178 |
|
179 |
LICENSE="GPL-2 RSA-MD2 RSA-MD5 RSA-PKCS11 DES" |
180 |
SLOT="0" |
181 |
KEYWORDS="~ppc ~sparc ~x86 ~amd64" |
182 |
IUSE="caps cisco curl debug ldap nat smartcard static xml" |
183 |
|
184 |
COMMON_DEPEND="!net-misc/openswan |
185 |
dev-libs/gmp |
186 |
caps? ( sys-libs/libcap ) |
187 |
curl? ( net-misc/curl ) |
188 |
ldap? ( net-nds/openldap ) |
189 |
smartcard? ( dev-libs/opensc ) |
190 |
xml? ( dev-libs/libxml2 )" |
191 |
DEPEND="${COMMON_DEPEND} |
192 |
virtual/linux-sources |
193 |
sys-kernel/linux-headers" |
194 |
RDEPEND="${COMMON_DEPEND} |
195 |
virtual/logger |
196 |
sys-apps/iproute2" |
197 |
|
198 |
src_prepare() { |
199 |
sed -i -e 's/getline/getline_own/g' src/libfreeswan/optionsfrom.c |
200 |
|
201 |
epatch "${FILESDIR}"/${PN}-4.2.7-install.patch |
202 |
eautoreconf |
203 |
} |
204 |
|
205 |
pkg_setup() { |
206 |
linux-info_pkg_setup |
207 |
|
208 |
einfo "Linux kernel is version ${KV_FULL}" |
209 |
|
210 |
if kernel_is 2 6; then |
211 |
einfo "This ebuild will set ${P} to use 2.6 native IPsec (KAME)." |
212 |
else |
213 |
eerror "Sorry, no support for your kernel version ${KV_FULL}." |
214 |
die "Install an IPsec enabled 2.6 kernel." |
215 |
fi |
216 |
|
217 |
# change to an unprivileged user by default |
218 |
enewgroup ${UGID} |
219 |
enewuser ${UGID} -1 -1 -1 ${UGID} |
220 |
} |
221 |
|
222 |
src_configure() { |
223 |
local myconf="" |
224 |
|
225 |
# change to an unprivileged user by default |
226 |
myconf="${myconf} --with-user=${UGID} --with-group=${UGID}" |
227 |
# strongswan enables both by default; switch to the user's wish |
228 |
if use static; then |
229 |
myconf="${myconf} --enable-static --disable-shared" |
230 |
else |
231 |
myconf="${myconf} --disable-static --enable-shared" |
232 |
fi |
233 |
|
234 |
# TODO: Review new configure options such as networkmanager |
235 |
econf \ |
236 |
$(use_with caps capabilities libcap) \ |
237 |
$(use_enable curl) \ |
238 |
$(use_enable ldap) \ |
239 |
$(use_enable xml smp) \ |
240 |
$(use_enable smartcard) \ |
241 |
$(use_enable cisco cisco-quirks) \ |
242 |
$(use_enable debug leak-detective) \ |
243 |
$(use_enable nat nat-transport) \ |
244 |
${myconf} \ |
245 |
|| die "econf failed" |
246 |
} |
247 |
|
248 |
src_install() { |
249 |
einstall || die "einstall failed." |
250 |
|
251 |
doinitd "${FILESDIR}"/ipsec |
252 |
|
253 |
fowners ipsec:ipsec /etc/ipsec.conf |
254 |
} |
255 |
|
256 |
pkg_postinst() { |
257 |
echo |
258 |
einfo "For your own security we install strongSwan without superuser" |
259 |
einfo "privileges. If you use iptables, you might want to change that" |
260 |
einfo "setting. See http://wiki.strongswan.org/wiki/nonRoot for more" |
261 |
einfo "information." |
262 |
# TODO: Should we recommend this sudoers line to users? |
263 |
# %ipsec ALL = NOPASSWD: /sbin/iptables |
264 |
echo |
265 |
einfo "The up-to-date configuration manual is available online at" |
266 |
einfo "http://www.strongswan.org/docs/readme42.htm" |
267 |
echo |
268 |
} |