1 |
floppym 15/06/02 02:45:40 |
2 |
|
3 |
Modified: libreswan-9999.ebuild ChangeLog |
4 |
Added: libreswan-3.13.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.8 net-misc/libreswan/libreswan-9999.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/libreswan/libreswan-9999.ebuild?rev=1.8&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/libreswan/libreswan-9999.ebuild?rev=1.8&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/libreswan/libreswan-9999.ebuild?r1=1.7&r2=1.8 |
16 |
|
17 |
Index: libreswan-9999.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/libreswan/libreswan-9999.ebuild,v |
20 |
retrieving revision 1.7 |
21 |
retrieving revision 1.8 |
22 |
diff -u -r1.7 -r1.8 |
23 |
--- libreswan-9999.ebuild 8 Sep 2014 02:24:58 -0000 1.7 |
24 |
+++ libreswan-9999.ebuild 2 Jun 2015 02:45:40 -0000 1.8 |
25 |
@@ -1,6 +1,6 @@ |
26 |
-# Copyright 1999-2014 Gentoo Foundation |
27 |
+# Copyright 1999-2015 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/libreswan/libreswan-9999.ebuild,v 1.7 2014/09/08 02:24:58 floppym Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/libreswan/libreswan-9999.ebuild,v 1.8 2015/06/02 02:45:40 floppym Exp $ |
31 |
|
32 |
EAPI=5 |
33 |
|
34 |
@@ -22,7 +22,7 @@ |
35 |
IUSE="caps curl dnssec ldap pam" |
36 |
|
37 |
COMMON_DEPEND=" |
38 |
- dev-libs/gmp |
39 |
+ dev-libs/gmp:0= |
40 |
dev-libs/nspr |
41 |
caps? ( sys-libs/libcap-ng ) |
42 |
curl? ( net-misc/curl ) |
43 |
|
44 |
|
45 |
|
46 |
1.14 net-misc/libreswan/ChangeLog |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/libreswan/ChangeLog?rev=1.14&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/libreswan/ChangeLog?rev=1.14&content-type=text/plain |
50 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/libreswan/ChangeLog?r1=1.13&r2=1.14 |
51 |
|
52 |
Index: ChangeLog |
53 |
=================================================================== |
54 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/libreswan/ChangeLog,v |
55 |
retrieving revision 1.13 |
56 |
retrieving revision 1.14 |
57 |
diff -u -r1.13 -r1.14 |
58 |
--- ChangeLog 8 Feb 2015 00:31:39 -0000 1.13 |
59 |
+++ ChangeLog 2 Jun 2015 02:45:40 -0000 1.14 |
60 |
@@ -1,6 +1,12 @@ |
61 |
# ChangeLog for net-misc/libreswan |
62 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
63 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/libreswan/ChangeLog,v 1.13 2015/02/08 00:31:39 floppym Exp $ |
64 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/libreswan/ChangeLog,v 1.14 2015/06/02 02:45:40 floppym Exp $ |
65 |
+ |
66 |
+*libreswan-3.13 (02 Jun 2015) |
67 |
+ |
68 |
+ 02 Jun 2015; Mike Gilbert <floppym@g.o> +libreswan-3.13.ebuild, |
69 |
+ libreswan-9999.ebuild: |
70 |
+ Version bump. |
71 |
|
72 |
*libreswan-3.12 (08 Feb 2015) |
73 |
|
74 |
|
75 |
|
76 |
|
77 |
1.1 net-misc/libreswan/libreswan-3.13.ebuild |
78 |
|
79 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/libreswan/libreswan-3.13.ebuild?rev=1.1&view=markup |
80 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/libreswan/libreswan-3.13.ebuild?rev=1.1&content-type=text/plain |
81 |
|
82 |
Index: libreswan-3.13.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/libreswan/libreswan-3.13.ebuild,v 1.1 2015/06/02 02:45:40 floppym Exp $ |
87 |
|
88 |
EAPI=5 |
89 |
|
90 |
inherit eutils systemd toolchain-funcs |
91 |
|
92 |
if [[ ${PV} != 9999 ]]; then |
93 |
SRC_URI="https://download.libreswan.org/${P}.tar.gz" |
94 |
KEYWORDS="~amd64 ~ppc ~x86" |
95 |
else |
96 |
inherit git-r3 |
97 |
EGIT_REPO_URI="https://github.com/libreswan/libreswan.git" |
98 |
fi |
99 |
|
100 |
DESCRIPTION="IPsec implementation for Linux, fork of Openswan" |
101 |
HOMEPAGE="https://libreswan.org/" |
102 |
|
103 |
LICENSE="GPL-2 BSD-4 RSA DES" |
104 |
SLOT="0" |
105 |
IUSE="caps curl dnssec ldap pam" |
106 |
|
107 |
COMMON_DEPEND=" |
108 |
dev-libs/gmp:0= |
109 |
dev-libs/nspr |
110 |
caps? ( sys-libs/libcap-ng ) |
111 |
curl? ( net-misc/curl ) |
112 |
dnssec? ( net-dns/unbound net-libs/ldns ) |
113 |
ldap? ( net-nds/openldap ) |
114 |
pam? ( sys-libs/pam ) |
115 |
" |
116 |
DEPEND="${COMMON_DEPEND} |
117 |
app-text/docbook-xml-dtd:4.1.2 |
118 |
app-text/xmlto |
119 |
dev-libs/nss |
120 |
sys-devel/bison |
121 |
sys-devel/flex |
122 |
virtual/pkgconfig |
123 |
" |
124 |
RDEPEND="${COMMON_DEPEND} |
125 |
dev-libs/nss[utils(+)] |
126 |
sys-apps/iproute2 |
127 |
!net-misc/openswan |
128 |
!net-misc/strongswan |
129 |
" |
130 |
|
131 |
src_prepare() { |
132 |
epatch_user |
133 |
} |
134 |
|
135 |
usetf() { |
136 |
usex "$1" true false |
137 |
} |
138 |
|
139 |
src_configure() { |
140 |
tc-export AR CC |
141 |
export INC_USRLOCAL=/usr |
142 |
export INC_MANDIR=share/man |
143 |
export FINALEXAMPLECONFDIR=/usr/share/doc/${PF} |
144 |
export FINALDOCDIR=/usr/share/doc/${PF}/html |
145 |
export INITSYSTEM=openrc |
146 |
export INC_RCDIRS= |
147 |
export INC_RCDEFAULT=/etc/init.d |
148 |
export USERCOMPILE= |
149 |
export USERLINK= |
150 |
export USE_DNSSEC=$(usetf dnssec) |
151 |
export USE_LIBCAP_NG=$(usetf caps) |
152 |
export USE_LIBCURL=$(usetf curl) |
153 |
export USE_LDAP=$(usetf ldap) |
154 |
export USE_XAUTHPAM=$(usetf pam) |
155 |
} |
156 |
|
157 |
src_compile() { |
158 |
emake programs |
159 |
} |
160 |
|
161 |
src_install() { |
162 |
emake DESTDIR="${D}" install |
163 |
|
164 |
echo "include /etc/ipsec.d/*.secrets" > "${D}"/etc/ipsec.secrets |
165 |
fperms 0600 /etc/ipsec.secrets |
166 |
|
167 |
systemd_dounit "${FILESDIR}/ipsec.service" |
168 |
|
169 |
dodoc CHANGES README |
170 |
dodoc -r docs |
171 |
|
172 |
find "${D}" -type d -empty -delete || die |
173 |
} |
174 |
|
175 |
pkg_postinst() { |
176 |
local IPSEC_CONFDIR=${ROOT%/}/etc/ipsec.d |
177 |
if [[ ! -f ${IPSEC_CONFDIR}/cert8.db ]]; then |
178 |
ebegin "Setting up NSS database in ${IPSEC_CONFDIR}" |
179 |
certutil -N -d "${IPSEC_CONFDIR}" -f <(echo) |
180 |
eend $? |
181 |
fi |
182 |
} |