1 |
robbat2 08/07/30 21:22:21 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: strongswan-4.2.3.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.2_rc4/cvs/Linux 2.6.26-rc9-00056-g6329d30 ppc64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.63 net-misc/strongswan/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.63&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.63&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/ChangeLog?r1=1.62&r2=1.63 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v |
19 |
retrieving revision 1.62 |
20 |
retrieving revision 1.63 |
21 |
diff -p -w -b -B -u -u -r1.62 -r1.63 |
22 |
--- ChangeLog 29 May 2008 07:08:17 -0000 1.62 |
23 |
+++ ChangeLog 30 Jul 2008 21:22:21 -0000 1.63 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for net-misc/strongswan |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.62 2008/05/29 07:08:17 phreak Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.63 2008/07/30 21:22:21 robbat2 Exp $ |
29 |
+ |
30 |
+*strongswan-4.2.3 (30 Jul 2008) |
31 |
+ |
32 |
+ 30 Jul 2008; Robin H. Johnson <robbat2@g.o> |
33 |
+ +files/strongswan-4.2.3-install.patch, +strongswan-4.2.3.ebuild: |
34 |
+ Version bump, since pylon has left. |
35 |
|
36 |
29 May 2008; Christian Heim <phreak@g.o> metadata.xml: |
37 |
Removing Lars Weiler (Pylon) from metadata.xml (as per #215644). |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-misc/strongswan/strongswan-4.2.3.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/strongswan-4.2.3.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/strongswan-4.2.3.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: strongswan-4.2.3.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/strongswan-4.2.3.ebuild,v 1.1 2008/07/30 21:22:21 robbat2 Exp $ |
51 |
|
52 |
inherit eutils linux-info |
53 |
|
54 |
UGID="ipsec" |
55 |
|
56 |
DESCRIPTION="Open Source implementation of IPsec for the Linux operating system." |
57 |
HOMEPAGE="http://www.strongswan.org/" |
58 |
SRC_URI="http://download.strongswan.org/${P}.tar.bz2" |
59 |
|
60 |
LICENSE="GPL-2 RSA-MD2 RSA-MD5 RSA-PKCS11 DES" |
61 |
SLOT="0" |
62 |
KEYWORDS="~ppc ~sparc ~x86 ~amd64" |
63 |
IUSE="cisco curl debug ldap nat smartcard static xml" |
64 |
|
65 |
COMMON_DEPEND="!net-misc/openswan |
66 |
dev-libs/gmp" |
67 |
DEPEND="${COMMON_DEPEND} |
68 |
virtual/linux-sources |
69 |
sys-kernel/linux-headers |
70 |
curl? ( net-misc/curl ) |
71 |
ldap? ( net-nds/openldap ) |
72 |
smartcard? ( dev-libs/opensc ) |
73 |
xml? ( dev-libs/libxml2 )" |
74 |
RDEPEND="${COMMON_DEPEND} |
75 |
virtual/logger |
76 |
sys-apps/iproute2" |
77 |
|
78 |
src_unpack() { |
79 |
unpack ${A} |
80 |
cd "${S}" |
81 |
|
82 |
epatch "${FILESDIR}"/${P}-install.patch |
83 |
} |
84 |
|
85 |
pkg_setup() { |
86 |
linux-info_pkg_setup |
87 |
|
88 |
einfo "Linux kernel is version ${KV_FULL}" |
89 |
|
90 |
if kernel_is 2 6; then |
91 |
einfo "This ebuild will set ${P} to use 2.6 native IPsec (KAME)." |
92 |
else |
93 |
eerror "Sorry, no support for your kernel version ${KV_FULL}." |
94 |
die "Install an IPsec enabled 2.6 kernel." |
95 |
fi |
96 |
|
97 |
# change to an unprivileged user by default |
98 |
enewgroup ${UGID} |
99 |
enewuser ${UGID} -1 -1 -1 ${UGID} |
100 |
} |
101 |
|
102 |
src_compile() { |
103 |
local myconf="" |
104 |
|
105 |
# change to an unprivileged user by default |
106 |
#myconf="${myconf} --with-user=${UGID} --with-group=${UGID}" |
107 |
# strongswan enables both by default; switch to the user's wish |
108 |
if use static; then |
109 |
myconf="${myconf} --enable-static --disable-shared" |
110 |
else |
111 |
myconf="${myconf} --disable-static --enable-shared" |
112 |
fi |
113 |
|
114 |
econf \ |
115 |
$(use_enable curl http) \ |
116 |
$(use_enable ldap) \ |
117 |
$(use_enable xml) \ |
118 |
$(use_enable smartcard) \ |
119 |
$(use_enable cisco cisco-quirks) \ |
120 |
$(use_enable debug leak-detective) \ |
121 |
$(use_enable nat nat-transport) \ |
122 |
${myconf} \ |
123 |
|| die "econf failed" |
124 |
|
125 |
emake || die "emake failed" |
126 |
} |
127 |
|
128 |
src_install() { |
129 |
einstall || die "einstall failed." |
130 |
|
131 |
doinitd "${FILESDIR}"/ipsec |
132 |
|
133 |
fowners ipsec:ipsec /etc/ipsec.conf |
134 |
} |
135 |
|
136 |
pkg_postinst() { |
137 |
echo |
138 |
ewarn "Starting with the strongswan-4 branch, the configuration files" |
139 |
ewarn "will be installed into the default directory \"/etc/\"" |
140 |
ewarn "instead of the Gentoo-specific directory \"/etc/ipsec/\"." |
141 |
ewarn "Please adjust your configuration!" |
142 |
echo |
143 |
einfo "For your own security we install strongSwan without superuser" |
144 |
einfo "privileges. If you use iptables, you might want to change that" |
145 |
einfo "setting. See http://wiki.strongswan.org/wiki/nonRoot for more" |
146 |
einfo "information." |
147 |
echo |
148 |
einfo "The up-to-date configuration manual is available online at" |
149 |
einfo "http://www.strongswan.org/docs/readme.htm" |
150 |
echo |
151 |
} |