* [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/
@ 2015-08-26 7:11 Agostino Sarubbo
0 siblings, 0 replies; 18+ messages in thread
From: Agostino Sarubbo @ 2015-08-26 7:11 UTC (permalink / raw
To: gentoo-commits
commit: 185cae073b24c2137dc4846db6bbb2907e8f673d
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 26 07:11:51 2015 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Aug 26 07:11:51 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=185cae07
net-misc/libreswan: x86 stable wrt bug #558692
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="x86"
net-misc/libreswan/libreswan-3.15.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/libreswan/libreswan-3.15.ebuild b/net-misc/libreswan/libreswan-3.15.ebuild
index 4e7ba17..831a592 100644
--- a/net-misc/libreswan/libreswan-3.15.ebuild
+++ b/net-misc/libreswan/libreswan-3.15.ebuild
@@ -8,7 +8,7 @@ inherit eutils systemd toolchain-funcs
if [[ ${PV} != 9999 ]]; then
SRC_URI="https://download.libreswan.org/${P}.tar.gz"
- KEYWORDS="amd64 ~ppc ~x86"
+ KEYWORDS="amd64 ~ppc x86"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/libreswan/libreswan.git"
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/
@ 2016-12-20 16:33 Mike Gilbert
0 siblings, 0 replies; 18+ messages in thread
From: Mike Gilbert @ 2016-12-20 16:33 UTC (permalink / raw
To: gentoo-commits
commit: 1b481d5086d9612b10c46d6e37cd3f733583ecea
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 20 16:33:31 2016 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Dec 20 16:33:31 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b481d50
net-misc/libreswan: remove old
Package-Manager: Portage-2.3.3_p7, Repoman-2.3.1
net-misc/libreswan/Manifest | 1 -
net-misc/libreswan/libreswan-3.17.ebuild | 99 --------------------------------
2 files changed, 100 deletions(-)
diff --git a/net-misc/libreswan/Manifest b/net-misc/libreswan/Manifest
index 227effa..39cc9c8 100644
--- a/net-misc/libreswan/Manifest
+++ b/net-misc/libreswan/Manifest
@@ -1,2 +1 @@
-DIST libreswan-3.17.tar.gz 9168223 SHA256 28c286f57f6d8d00e1502ea283aac0f9f863edb2d759e50dc89df0e28c0d0d03 SHA512 4503ae82663f060f3af3fd74491ae94feb33a28f13f96cd04bb4a83bba17fe199f4ff7cba83850235829b373f803ba816d7a4199d4afb1da191c7323dd28a362 WHIRLPOOL c771218d7c0a26041bb946c2805f581086e9beae8827c2fbaad49eb032107f322316e6102b3161db014d1d6e5e222d682d23a1ac147ae65fc37b0c364440cbdc
DIST libreswan-3.18.tar.gz 8766228 SHA256 2ff61178913287567ed2736287df47e7f9a822ddcded967f3af5f03e95b5f17d SHA512 dfc831ae82814a26cac2eb7c8bef4385d8aebb1e62c63f31e0997d49fc6bbcc6e4e2bcd0e07d5c0c1347e5eaca5f6eb1fba98395bc882ab0fddb804a524b57f8 WHIRLPOOL 73ce41988d62d6702837d9ba6c2e123aad678b6d983711e6e5d3a60046bdbf2a37d8f650a8e4ffff24c551a27d50ecbef322bc40a083b852a142b2a5bcda2726
diff --git a/net-misc/libreswan/libreswan-3.17.ebuild b/net-misc/libreswan/libreswan-3.17.ebuild
deleted file mode 100644
index 9cae013..00000000
--- a/net-misc/libreswan/libreswan-3.17.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-inherit systemd toolchain-funcs
-
-if [[ ${PV} != 9999 ]]; then
- SRC_URI="https://download.libreswan.org/${P}.tar.gz"
- KEYWORDS="amd64 ~ppc x86"
-else
- inherit git-r3
- EGIT_REPO_URI="https://github.com/libreswan/libreswan.git"
-fi
-
-DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
-HOMEPAGE="https://libreswan.org/"
-
-LICENSE="GPL-2 BSD-4 RSA DES"
-SLOT="0"
-IUSE="caps curl dnssec ldap pam"
-
-COMMON_DEPEND="
- dev-libs/gmp:0=
- dev-libs/libevent:0=
- dev-libs/nspr
- caps? ( sys-libs/libcap-ng )
- curl? ( net-misc/curl )
- dnssec? ( net-dns/unbound net-libs/ldns )
- ldap? ( net-nds/openldap )
- pam? ( sys-libs/pam )
-"
-DEPEND="${COMMON_DEPEND}
- app-text/docbook-xml-dtd:4.1.2
- app-text/xmlto
- dev-libs/nss
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig
-"
-RDEPEND="${COMMON_DEPEND}
- dev-libs/nss[utils(+)]
- sys-apps/iproute2
- !net-misc/openswan
- !net-misc/strongswan
-"
-
-usetf() {
- usex "$1" true false
-}
-
-src_configure() {
- tc-export AR CC
- export INC_USRLOCAL=/usr
- export INC_MANDIR=share/man
- export FINALEXAMPLECONFDIR=/usr/share/doc/${PF}
- export FINALDOCDIR=/usr/share/doc/${PF}/html
- export INITSYSTEM=openrc
- export INC_RCDIRS=
- export INC_RCDEFAULT=/etc/init.d
- export USERCOMPILE=
- export USERLINK=
- export USE_DNSSEC=$(usetf dnssec)
- export USE_LIBCAP_NG=$(usetf caps)
- export USE_LIBCURL=$(usetf curl)
- export USE_LDAP=$(usetf ldap)
- export USE_XAUTHPAM=$(usetf pam)
- export DEBUG_CFLAGS=
- export OPTIMIZE_CFLAGS=
- export WERROR_CFLAGS=
-}
-
-src_compile() {
- emake all
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- echo "include /etc/ipsec.d/*.secrets" > "${D}"/etc/ipsec.secrets
- fperms 0600 /etc/ipsec.secrets
-
- systemd_dounit "${FILESDIR}/ipsec.service"
-
- dodoc CHANGES README
- dodoc -r docs
-
- find "${D}" -type d -empty -delete || die
-}
-
-pkg_postinst() {
- local IPSEC_CONFDIR=${ROOT%/}/etc/ipsec.d
- if [[ ! -f ${IPSEC_CONFDIR}/cert8.db ]]; then
- ebegin "Setting up NSS database in ${IPSEC_CONFDIR}"
- certutil -N -d "${IPSEC_CONFDIR}" -f <(echo)
- eend $?
- fi
-}
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/
@ 2016-12-20 9:08 Agostino Sarubbo
0 siblings, 0 replies; 18+ messages in thread
From: Agostino Sarubbo @ 2016-12-20 9:08 UTC (permalink / raw
To: gentoo-commits
commit: 01f67d5127b463961122aea94f9ef1b9dcb1c96b
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 20 09:06:52 2016 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Dec 20 09:07:52 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01f67d51
net-misc/libreswan: x86 stable wrt bug #592002
Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-misc/libreswan/libreswan-3.18.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/libreswan/libreswan-3.18.ebuild b/net-misc/libreswan/libreswan-3.18.ebuild
index c153543..4117f60 100644
--- a/net-misc/libreswan/libreswan-3.18.ebuild
+++ b/net-misc/libreswan/libreswan-3.18.ebuild
@@ -8,7 +8,7 @@ inherit systemd toolchain-funcs
if [[ ${PV} != 9999 ]]; then
SRC_URI="https://download.libreswan.org/${P}.tar.gz"
- KEYWORDS="amd64 ~ppc ~x86"
+ KEYWORDS="amd64 ~ppc x86"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/libreswan/libreswan.git"
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/
@ 2016-12-20 8:52 Agostino Sarubbo
0 siblings, 0 replies; 18+ messages in thread
From: Agostino Sarubbo @ 2016-12-20 8:52 UTC (permalink / raw
To: gentoo-commits
commit: 1aff831dcb2a70742e3092b7bb7270603c36ff46
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 20 08:52:01 2016 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Dec 20 08:52:01 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1aff831d
net-misc/libreswan: amd64 stable wrt bug #592002
Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-misc/libreswan/libreswan-3.18.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/libreswan/libreswan-3.18.ebuild b/net-misc/libreswan/libreswan-3.18.ebuild
index 71e3301..c153543 100644
--- a/net-misc/libreswan/libreswan-3.18.ebuild
+++ b/net-misc/libreswan/libreswan-3.18.ebuild
@@ -8,7 +8,7 @@ inherit systemd toolchain-funcs
if [[ ${PV} != 9999 ]]; then
SRC_URI="https://download.libreswan.org/${P}.tar.gz"
- KEYWORDS="~amd64 ~ppc ~x86"
+ KEYWORDS="amd64 ~ppc ~x86"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/libreswan/libreswan.git"
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/
@ 2016-12-18 21:30 Mike Gilbert
0 siblings, 0 replies; 18+ messages in thread
From: Mike Gilbert @ 2016-12-18 21:30 UTC (permalink / raw
To: gentoo-commits
commit: a8161c3b70c3ade7e71a71851d68db602bfcc876
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 18 20:48:36 2016 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Dec 18 21:30:29 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8161c3b
net-misc/libreswan: add slot-operator to libevent dep
Package-Manager: Portage-2.3.3_p7, Repoman-2.3.1
net-misc/libreswan/libreswan-3.17.ebuild | 2 +-
net-misc/libreswan/libreswan-3.18.ebuild | 2 +-
net-misc/libreswan/libreswan-9999.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/net-misc/libreswan/libreswan-3.17.ebuild b/net-misc/libreswan/libreswan-3.17.ebuild
index f1cdc86..9cae013 100644
--- a/net-misc/libreswan/libreswan-3.17.ebuild
+++ b/net-misc/libreswan/libreswan-3.17.ebuild
@@ -23,7 +23,7 @@ IUSE="caps curl dnssec ldap pam"
COMMON_DEPEND="
dev-libs/gmp:0=
- dev-libs/libevent
+ dev-libs/libevent:0=
dev-libs/nspr
caps? ( sys-libs/libcap-ng )
curl? ( net-misc/curl )
diff --git a/net-misc/libreswan/libreswan-3.18.ebuild b/net-misc/libreswan/libreswan-3.18.ebuild
index 4996606..71e3301 100644
--- a/net-misc/libreswan/libreswan-3.18.ebuild
+++ b/net-misc/libreswan/libreswan-3.18.ebuild
@@ -23,7 +23,7 @@ IUSE="caps curl dnssec ldap pam systemd"
COMMON_DEPEND="
dev-libs/gmp:0=
- dev-libs/libevent
+ dev-libs/libevent:0=
dev-libs/nspr
caps? ( sys-libs/libcap-ng )
curl? ( net-misc/curl )
diff --git a/net-misc/libreswan/libreswan-9999.ebuild b/net-misc/libreswan/libreswan-9999.ebuild
index 4996606..71e3301 100644
--- a/net-misc/libreswan/libreswan-9999.ebuild
+++ b/net-misc/libreswan/libreswan-9999.ebuild
@@ -23,7 +23,7 @@ IUSE="caps curl dnssec ldap pam systemd"
COMMON_DEPEND="
dev-libs/gmp:0=
- dev-libs/libevent
+ dev-libs/libevent:0=
dev-libs/nspr
caps? ( sys-libs/libcap-ng )
curl? ( net-misc/curl )
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/
@ 2016-08-25 21:49 Mike Gilbert
0 siblings, 0 replies; 18+ messages in thread
From: Mike Gilbert @ 2016-08-25 21:49 UTC (permalink / raw
To: gentoo-commits
commit: a77265a69accb9701be0a9f85eef9e14cb81a711
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 25 21:49:29 2016 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Aug 25 21:49:50 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a77265a6
net-misc/libreswan: fix WatchDogSec with systemd disabled
Package-Manager: portage-2.3.0_p22
net-misc/libreswan/libreswan-3.18.ebuild | 1 +
net-misc/libreswan/libreswan-9999.ebuild | 1 +
2 files changed, 2 insertions(+)
diff --git a/net-misc/libreswan/libreswan-3.18.ebuild b/net-misc/libreswan/libreswan-3.18.ebuild
index 847bec8..4996606 100644
--- a/net-misc/libreswan/libreswan-3.18.ebuild
+++ b/net-misc/libreswan/libreswan-3.18.ebuild
@@ -72,6 +72,7 @@ src_configure() {
export USE_LIBCURL=$(usetf curl)
export USE_LDAP=$(usetf ldap)
export USE_SYSTEMD_WATCHDOG=$(usetf systemd)
+ export SD_WATCHDOGSEC=$(usex systemd 200 0)
export USE_XAUTHPAM=$(usetf pam)
export DEBUG_CFLAGS=
export OPTIMIZE_CFLAGS=
diff --git a/net-misc/libreswan/libreswan-9999.ebuild b/net-misc/libreswan/libreswan-9999.ebuild
index 847bec8..4996606 100644
--- a/net-misc/libreswan/libreswan-9999.ebuild
+++ b/net-misc/libreswan/libreswan-9999.ebuild
@@ -72,6 +72,7 @@ src_configure() {
export USE_LIBCURL=$(usetf curl)
export USE_LDAP=$(usetf ldap)
export USE_SYSTEMD_WATCHDOG=$(usetf systemd)
+ export SD_WATCHDOGSEC=$(usex systemd 200 0)
export USE_XAUTHPAM=$(usetf pam)
export DEBUG_CFLAGS=
export OPTIMIZE_CFLAGS=
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/
@ 2016-08-25 21:28 Mike Gilbert
0 siblings, 0 replies; 18+ messages in thread
From: Mike Gilbert @ 2016-08-25 21:28 UTC (permalink / raw
To: gentoo-commits
commit: 5930d3b547b79659d32ce3e78d0616fd7b8a281f
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 25 21:28:01 2016 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Aug 25 21:28:22 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5930d3b5
net-misc/libreswan: add systemd USE flag
Package-Manager: portage-2.3.0_p22
net-misc/libreswan/libreswan-3.18.ebuild | 4 +++-
net-misc/libreswan/libreswan-9999.ebuild | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/net-misc/libreswan/libreswan-3.18.ebuild b/net-misc/libreswan/libreswan-3.18.ebuild
index 316039d..847bec8 100644
--- a/net-misc/libreswan/libreswan-3.18.ebuild
+++ b/net-misc/libreswan/libreswan-3.18.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://libreswan.org/"
LICENSE="GPL-2 BSD-4 RSA DES"
SLOT="0"
-IUSE="caps curl dnssec ldap pam"
+IUSE="caps curl dnssec ldap pam systemd"
COMMON_DEPEND="
dev-libs/gmp:0=
@@ -30,6 +30,7 @@ COMMON_DEPEND="
dnssec? ( net-dns/unbound net-libs/ldns )
ldap? ( net-nds/openldap )
pam? ( sys-libs/pam )
+ systemd? ( sys-apps/systemd:0= )
"
DEPEND="${COMMON_DEPEND}
app-text/docbook-xml-dtd:4.1.2
@@ -70,6 +71,7 @@ src_configure() {
export USE_LIBCAP_NG=$(usetf caps)
export USE_LIBCURL=$(usetf curl)
export USE_LDAP=$(usetf ldap)
+ export USE_SYSTEMD_WATCHDOG=$(usetf systemd)
export USE_XAUTHPAM=$(usetf pam)
export DEBUG_CFLAGS=
export OPTIMIZE_CFLAGS=
diff --git a/net-misc/libreswan/libreswan-9999.ebuild b/net-misc/libreswan/libreswan-9999.ebuild
index 316039d..847bec8 100644
--- a/net-misc/libreswan/libreswan-9999.ebuild
+++ b/net-misc/libreswan/libreswan-9999.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://libreswan.org/"
LICENSE="GPL-2 BSD-4 RSA DES"
SLOT="0"
-IUSE="caps curl dnssec ldap pam"
+IUSE="caps curl dnssec ldap pam systemd"
COMMON_DEPEND="
dev-libs/gmp:0=
@@ -30,6 +30,7 @@ COMMON_DEPEND="
dnssec? ( net-dns/unbound net-libs/ldns )
ldap? ( net-nds/openldap )
pam? ( sys-libs/pam )
+ systemd? ( sys-apps/systemd:0= )
"
DEPEND="${COMMON_DEPEND}
app-text/docbook-xml-dtd:4.1.2
@@ -70,6 +71,7 @@ src_configure() {
export USE_LIBCAP_NG=$(usetf caps)
export USE_LIBCURL=$(usetf curl)
export USE_LDAP=$(usetf ldap)
+ export USE_SYSTEMD_WATCHDOG=$(usetf systemd)
export USE_XAUTHPAM=$(usetf pam)
export DEBUG_CFLAGS=
export OPTIMIZE_CFLAGS=
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/
@ 2016-08-25 20:54 Mike Gilbert
0 siblings, 0 replies; 18+ messages in thread
From: Mike Gilbert @ 2016-08-25 20:54 UTC (permalink / raw
To: gentoo-commits
commit: 7a450c95a217fe142cb97a6a94ce5f775f41ef89
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 25 20:54:18 2016 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Aug 25 20:54:33 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a450c95
net-misc/libreswan: bump to 3.18
Package-Manager: portage-2.3.0_p22
net-misc/libreswan/Manifest | 1 +
.../{libreswan-9999.ebuild => libreswan-3.18.ebuild} | 12 ++++++++----
net-misc/libreswan/libreswan-9999.ebuild | 12 ++++++++----
3 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/net-misc/libreswan/Manifest b/net-misc/libreswan/Manifest
index 2f8ed0a..227effa 100644
--- a/net-misc/libreswan/Manifest
+++ b/net-misc/libreswan/Manifest
@@ -1 +1,2 @@
DIST libreswan-3.17.tar.gz 9168223 SHA256 28c286f57f6d8d00e1502ea283aac0f9f863edb2d759e50dc89df0e28c0d0d03 SHA512 4503ae82663f060f3af3fd74491ae94feb33a28f13f96cd04bb4a83bba17fe199f4ff7cba83850235829b373f803ba816d7a4199d4afb1da191c7323dd28a362 WHIRLPOOL c771218d7c0a26041bb946c2805f581086e9beae8827c2fbaad49eb032107f322316e6102b3161db014d1d6e5e222d682d23a1ac147ae65fc37b0c364440cbdc
+DIST libreswan-3.18.tar.gz 8766228 SHA256 2ff61178913287567ed2736287df47e7f9a822ddcded967f3af5f03e95b5f17d SHA512 dfc831ae82814a26cac2eb7c8bef4385d8aebb1e62c63f31e0997d49fc6bbcc6e4e2bcd0e07d5c0c1347e5eaca5f6eb1fba98395bc882ab0fddb804a524b57f8 WHIRLPOOL 73ce41988d62d6702837d9ba6c2e123aad678b6d983711e6e5d3a60046bdbf2a37d8f650a8e4ffff24c551a27d50ecbef322bc40a083b852a142b2a5bcda2726
diff --git a/net-misc/libreswan/libreswan-9999.ebuild b/net-misc/libreswan/libreswan-3.18.ebuild
similarity index 86%
copy from net-misc/libreswan/libreswan-9999.ebuild
copy to net-misc/libreswan/libreswan-3.18.ebuild
index 2fd8e0c..316039d 100644
--- a/net-misc/libreswan/libreswan-9999.ebuild
+++ b/net-misc/libreswan/libreswan-3.18.ebuild
@@ -50,6 +50,11 @@ usetf() {
usex "$1" true false
}
+src_prepare() {
+ sed -i -e 's:/sbin/runscript:/sbin/openrc-run:' initsystems/openrc/ipsec.init.in || die
+ default
+}
+
src_configure() {
tc-export AR CC
export INC_USRLOCAL=/usr
@@ -73,17 +78,16 @@ src_configure() {
src_compile() {
emake all
+ emake -C initsystems INITSYSTEM=systemd UNITDIR="$(systemd_get_systemunitdir)" all
}
src_install() {
- emake DESTDIR="${D}" install
+ default
+ emake -C initsystems INITSYSTEM=systemd UNITDIR="$(systemd_get_systemunitdir)" DESTDIR="${D}" install
echo "include /etc/ipsec.d/*.secrets" > "${D}"/etc/ipsec.secrets
fperms 0600 /etc/ipsec.secrets
- systemd_dounit "${FILESDIR}/ipsec.service"
-
- dodoc CHANGES README
dodoc -r docs
find "${D}" -type d -empty -delete || die
diff --git a/net-misc/libreswan/libreswan-9999.ebuild b/net-misc/libreswan/libreswan-9999.ebuild
index 2fd8e0c..316039d 100644
--- a/net-misc/libreswan/libreswan-9999.ebuild
+++ b/net-misc/libreswan/libreswan-9999.ebuild
@@ -50,6 +50,11 @@ usetf() {
usex "$1" true false
}
+src_prepare() {
+ sed -i -e 's:/sbin/runscript:/sbin/openrc-run:' initsystems/openrc/ipsec.init.in || die
+ default
+}
+
src_configure() {
tc-export AR CC
export INC_USRLOCAL=/usr
@@ -73,17 +78,16 @@ src_configure() {
src_compile() {
emake all
+ emake -C initsystems INITSYSTEM=systemd UNITDIR="$(systemd_get_systemunitdir)" all
}
src_install() {
- emake DESTDIR="${D}" install
+ default
+ emake -C initsystems INITSYSTEM=systemd UNITDIR="$(systemd_get_systemunitdir)" DESTDIR="${D}" install
echo "include /etc/ipsec.d/*.secrets" > "${D}"/etc/ipsec.secrets
fperms 0600 /etc/ipsec.secrets
- systemd_dounit "${FILESDIR}/ipsec.service"
-
- dodoc CHANGES README
dodoc -r docs
find "${D}" -type d -empty -delete || die
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/
@ 2016-07-18 22:05 Mike Gilbert
0 siblings, 0 replies; 18+ messages in thread
From: Mike Gilbert @ 2016-07-18 22:05 UTC (permalink / raw
To: gentoo-commits
commit: 0260c5a44f8d86da020f9d9a57fd3e0c9829550e
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 18 22:04:55 2016 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Jul 18 22:04:55 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0260c5a4
net-misc/libreswan: remove old
Package-Manager: portage-2.3.0_p13
net-misc/libreswan/Manifest | 1 -
net-misc/libreswan/libreswan-3.15.ebuild | 102 -------------------------------
2 files changed, 103 deletions(-)
diff --git a/net-misc/libreswan/Manifest b/net-misc/libreswan/Manifest
index 43477c6..2f8ed0a 100644
--- a/net-misc/libreswan/Manifest
+++ b/net-misc/libreswan/Manifest
@@ -1,2 +1 @@
-DIST libreswan-3.15.tar.gz 9256911 SHA256 1ca370105a2a619eb4dc34626cb53cd391391e953fce3761a83f0e3a4d5aec4c SHA512 6472906d2507b7f4a06bf608b701e5982d5987b47d9ef88e5c8e63284f8d4d1a7155dd732d6daf8312d53c159bc344a54b2be173339a57aedea19caa79a13fb9 WHIRLPOOL 7fb86556e6b661523966eafdcde6796477f7173c573aece840f0f1f6a6dbfbda132a0723567334944ef5e23815150aef968f2761f842932228dca8c74ede1377
DIST libreswan-3.17.tar.gz 9168223 SHA256 28c286f57f6d8d00e1502ea283aac0f9f863edb2d759e50dc89df0e28c0d0d03 SHA512 4503ae82663f060f3af3fd74491ae94feb33a28f13f96cd04bb4a83bba17fe199f4ff7cba83850235829b373f803ba816d7a4199d4afb1da191c7323dd28a362 WHIRLPOOL c771218d7c0a26041bb946c2805f581086e9beae8827c2fbaad49eb032107f322316e6102b3161db014d1d6e5e222d682d23a1ac147ae65fc37b0c364440cbdc
diff --git a/net-misc/libreswan/libreswan-3.15.ebuild b/net-misc/libreswan/libreswan-3.15.ebuild
deleted file mode 100644
index 831a592..0000000
--- a/net-misc/libreswan/libreswan-3.15.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils systemd toolchain-funcs
-
-if [[ ${PV} != 9999 ]]; then
- SRC_URI="https://download.libreswan.org/${P}.tar.gz"
- KEYWORDS="amd64 ~ppc x86"
-else
- inherit git-r3
- EGIT_REPO_URI="https://github.com/libreswan/libreswan.git"
-fi
-
-DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
-HOMEPAGE="https://libreswan.org/"
-
-LICENSE="GPL-2 BSD-4 RSA DES"
-SLOT="0"
-IUSE="caps curl dnssec ldap pam"
-
-COMMON_DEPEND="
- dev-libs/gmp:0=
- dev-libs/libevent
- dev-libs/nspr
- caps? ( sys-libs/libcap-ng )
- curl? ( net-misc/curl )
- dnssec? ( net-dns/unbound net-libs/ldns )
- ldap? ( net-nds/openldap )
- pam? ( sys-libs/pam )
-"
-DEPEND="${COMMON_DEPEND}
- app-text/docbook-xml-dtd:4.1.2
- app-text/xmlto
- dev-libs/nss
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig
-"
-RDEPEND="${COMMON_DEPEND}
- dev-libs/nss[utils(+)]
- sys-apps/iproute2
- !net-misc/openswan
- !net-misc/strongswan
-"
-
-src_prepare() {
- epatch_user
-}
-
-usetf() {
- usex "$1" true false
-}
-
-src_configure() {
- tc-export AR CC
- export INC_USRLOCAL=/usr
- export INC_MANDIR=share/man
- export FINALEXAMPLECONFDIR=/usr/share/doc/${PF}
- export FINALDOCDIR=/usr/share/doc/${PF}/html
- export INITSYSTEM=openrc
- export INC_RCDIRS=
- export INC_RCDEFAULT=/etc/init.d
- export USERCOMPILE=
- export USERLINK=
- export USE_DNSSEC=$(usetf dnssec)
- export USE_LIBCAP_NG=$(usetf caps)
- export USE_LIBCURL=$(usetf curl)
- export USE_LDAP=$(usetf ldap)
- export USE_XAUTHPAM=$(usetf pam)
- export DEBUG_CFLAGS=
- export OPTIMIZE_CFLAGS=
-}
-
-src_compile() {
- emake all
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- echo "include /etc/ipsec.d/*.secrets" > "${D}"/etc/ipsec.secrets
- fperms 0600 /etc/ipsec.secrets
-
- systemd_dounit "${FILESDIR}/ipsec.service"
-
- dodoc CHANGES README
- dodoc -r docs
-
- find "${D}" -type d -empty -delete || die
-}
-
-pkg_postinst() {
- local IPSEC_CONFDIR=${ROOT%/}/etc/ipsec.d
- if [[ ! -f ${IPSEC_CONFDIR}/cert8.db ]]; then
- ebegin "Setting up NSS database in ${IPSEC_CONFDIR}"
- certutil -N -d "${IPSEC_CONFDIR}" -f <(echo)
- eend $?
- fi
-}
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/
@ 2016-06-27 8:47 Agostino Sarubbo
0 siblings, 0 replies; 18+ messages in thread
From: Agostino Sarubbo @ 2016-06-27 8:47 UTC (permalink / raw
To: gentoo-commits
commit: 05d0aab385c565d8de9c42ab899ab4894cee81e8
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 27 08:46:04 2016 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Jun 27 08:46:04 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05d0aab3
net-misc/libreswan: x86 stable wrt bug #585520
Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-misc/libreswan/libreswan-3.17.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/libreswan/libreswan-3.17.ebuild b/net-misc/libreswan/libreswan-3.17.ebuild
index 250bd5f..f1cdc86 100644
--- a/net-misc/libreswan/libreswan-3.17.ebuild
+++ b/net-misc/libreswan/libreswan-3.17.ebuild
@@ -8,7 +8,7 @@ inherit systemd toolchain-funcs
if [[ ${PV} != 9999 ]]; then
SRC_URI="https://download.libreswan.org/${P}.tar.gz"
- KEYWORDS="amd64 ~ppc ~x86"
+ KEYWORDS="amd64 ~ppc x86"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/libreswan/libreswan.git"
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/
@ 2016-06-10 15:32 Agostino Sarubbo
0 siblings, 0 replies; 18+ messages in thread
From: Agostino Sarubbo @ 2016-06-10 15:32 UTC (permalink / raw
To: gentoo-commits
commit: 75c672c9659a43da408c7c785b4ecfaaba7d5805
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 10 15:31:14 2016 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Jun 10 15:31:14 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75c672c9
net-misc/libreswan: amd64 stable wrt bug #585520
Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-misc/libreswan/libreswan-3.17.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/libreswan/libreswan-3.17.ebuild b/net-misc/libreswan/libreswan-3.17.ebuild
index 2fd8e0c..250bd5f 100644
--- a/net-misc/libreswan/libreswan-3.17.ebuild
+++ b/net-misc/libreswan/libreswan-3.17.ebuild
@@ -8,7 +8,7 @@ inherit systemd toolchain-funcs
if [[ ${PV} != 9999 ]]; then
SRC_URI="https://download.libreswan.org/${P}.tar.gz"
- KEYWORDS="~amd64 ~ppc ~x86"
+ KEYWORDS="amd64 ~ppc ~x86"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/libreswan/libreswan.git"
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/
@ 2016-04-16 13:13 Mike Gilbert
0 siblings, 0 replies; 18+ messages in thread
From: Mike Gilbert @ 2016-04-16 13:13 UTC (permalink / raw
To: gentoo-commits
commit: 40e0ef0dfdf66ca92e2cb5b5b70d78941e175377
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 16 13:12:02 2016 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Apr 16 13:13:09 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40e0ef0d
net-misc/libreswan: bump to 3.17
Package-Manager: portage-2.2.28_p64
net-misc/libreswan/Manifest | 1 +
.../{libreswan-9999.ebuild => libreswan-3.17.ebuild} | 11 ++++-------
net-misc/libreswan/libreswan-9999.ebuild | 11 ++++-------
3 files changed, 9 insertions(+), 14 deletions(-)
diff --git a/net-misc/libreswan/Manifest b/net-misc/libreswan/Manifest
index a3f98f0..43477c6 100644
--- a/net-misc/libreswan/Manifest
+++ b/net-misc/libreswan/Manifest
@@ -1 +1,2 @@
DIST libreswan-3.15.tar.gz 9256911 SHA256 1ca370105a2a619eb4dc34626cb53cd391391e953fce3761a83f0e3a4d5aec4c SHA512 6472906d2507b7f4a06bf608b701e5982d5987b47d9ef88e5c8e63284f8d4d1a7155dd732d6daf8312d53c159bc344a54b2be173339a57aedea19caa79a13fb9 WHIRLPOOL 7fb86556e6b661523966eafdcde6796477f7173c573aece840f0f1f6a6dbfbda132a0723567334944ef5e23815150aef968f2761f842932228dca8c74ede1377
+DIST libreswan-3.17.tar.gz 9168223 SHA256 28c286f57f6d8d00e1502ea283aac0f9f863edb2d759e50dc89df0e28c0d0d03 SHA512 4503ae82663f060f3af3fd74491ae94feb33a28f13f96cd04bb4a83bba17fe199f4ff7cba83850235829b373f803ba816d7a4199d4afb1da191c7323dd28a362 WHIRLPOOL c771218d7c0a26041bb946c2805f581086e9beae8827c2fbaad49eb032107f322316e6102b3161db014d1d6e5e222d682d23a1ac147ae65fc37b0c364440cbdc
diff --git a/net-misc/libreswan/libreswan-9999.ebuild b/net-misc/libreswan/libreswan-3.17.ebuild
similarity index 94%
copy from net-misc/libreswan/libreswan-9999.ebuild
copy to net-misc/libreswan/libreswan-3.17.ebuild
index 732f27d..2fd8e0c 100644
--- a/net-misc/libreswan/libreswan-9999.ebuild
+++ b/net-misc/libreswan/libreswan-3.17.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
-inherit eutils systemd toolchain-funcs
+inherit systemd toolchain-funcs
if [[ ${PV} != 9999 ]]; then
SRC_URI="https://download.libreswan.org/${P}.tar.gz"
@@ -46,10 +46,6 @@ RDEPEND="${COMMON_DEPEND}
!net-misc/strongswan
"
-src_prepare() {
- epatch_user
-}
-
usetf() {
usex "$1" true false
}
@@ -72,6 +68,7 @@ src_configure() {
export USE_XAUTHPAM=$(usetf pam)
export DEBUG_CFLAGS=
export OPTIMIZE_CFLAGS=
+ export WERROR_CFLAGS=
}
src_compile() {
diff --git a/net-misc/libreswan/libreswan-9999.ebuild b/net-misc/libreswan/libreswan-9999.ebuild
index 732f27d..2fd8e0c 100644
--- a/net-misc/libreswan/libreswan-9999.ebuild
+++ b/net-misc/libreswan/libreswan-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
-inherit eutils systemd toolchain-funcs
+inherit systemd toolchain-funcs
if [[ ${PV} != 9999 ]]; then
SRC_URI="https://download.libreswan.org/${P}.tar.gz"
@@ -46,10 +46,6 @@ RDEPEND="${COMMON_DEPEND}
!net-misc/strongswan
"
-src_prepare() {
- epatch_user
-}
-
usetf() {
usex "$1" true false
}
@@ -72,6 +68,7 @@ src_configure() {
export USE_XAUTHPAM=$(usetf pam)
export DEBUG_CFLAGS=
export OPTIMIZE_CFLAGS=
+ export WERROR_CFLAGS=
}
src_compile() {
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/
@ 2016-01-26 17:10 Mike Gilbert
0 siblings, 0 replies; 18+ messages in thread
From: Mike Gilbert @ 2016-01-26 17:10 UTC (permalink / raw
To: gentoo-commits
commit: 711dbb0c91e7043b1464a2acab4dd650326a66a1
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 26 17:09:58 2016 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Jan 26 17:09:58 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=711dbb0c
net-misc/libreswan: Remove old
Package-Manager: portage-2.2.27_p49
net-misc/libreswan/Manifest | 2 -
net-misc/libreswan/libreswan-3.13.ebuild | 99 ---------------------------
net-misc/libreswan/libreswan-3.14-r1.ebuild | 102 ----------------------------
3 files changed, 203 deletions(-)
diff --git a/net-misc/libreswan/Manifest b/net-misc/libreswan/Manifest
index ea512bd..a3f98f0 100644
--- a/net-misc/libreswan/Manifest
+++ b/net-misc/libreswan/Manifest
@@ -1,3 +1 @@
-DIST libreswan-3.13.tar.gz 9797529 SHA256 25a6888f850a83eb17d7f041783babb316b07f88a4a327f276d760a273b86f32 SHA512 81385a566b736a97836e70fb4e7827864f6bd27387d29aaaf49c126af305fd8b82c92021186eecceb830418e27ed1d775d70b47a1d1cfe159bc9f2b9c2430e2d WHIRLPOOL 805f9b3adef86367fe9de44908705254693bc1036bac2dca2addd4fb9c661efeb84334d1b77f25612ade5e5a203b33c9cc78b5c117a8b12c3e530b1e01f5600a
-DIST libreswan-3.14.tar.gz 9245651 SHA256 0a9d1d59936884a4c072004bee6c51e4034b97dd02edea53620ee6e5c9cf2c21 SHA512 2f9eb8dde8677b9dd94ca3471858975b8fad441f78345e242629d4e8a7cb33df5b86968e4dae385f9450ed106abd5305610a548658313682fa0485e40737cadf WHIRLPOOL 99a1fc7220404f5d6399a74b79ba63ddae1260b4bc99cb3720aaba913064eb61d1062f1562be38a52804d8521b3a730c8ee3070b15452e198f4474364d9e6c8c
DIST libreswan-3.15.tar.gz 9256911 SHA256 1ca370105a2a619eb4dc34626cb53cd391391e953fce3761a83f0e3a4d5aec4c SHA512 6472906d2507b7f4a06bf608b701e5982d5987b47d9ef88e5c8e63284f8d4d1a7155dd732d6daf8312d53c159bc344a54b2be173339a57aedea19caa79a13fb9 WHIRLPOOL 7fb86556e6b661523966eafdcde6796477f7173c573aece840f0f1f6a6dbfbda132a0723567334944ef5e23815150aef968f2761f842932228dca8c74ede1377
diff --git a/net-misc/libreswan/libreswan-3.13.ebuild b/net-misc/libreswan/libreswan-3.13.ebuild
deleted file mode 100644
index 1f36ee5..0000000
--- a/net-misc/libreswan/libreswan-3.13.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils systemd toolchain-funcs
-
-if [[ ${PV} != 9999 ]]; then
- SRC_URI="https://download.libreswan.org/${P}.tar.gz"
- KEYWORDS="amd64 ~ppc x86"
-else
- inherit git-r3
- EGIT_REPO_URI="https://github.com/libreswan/libreswan.git"
-fi
-
-DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
-HOMEPAGE="https://libreswan.org/"
-
-LICENSE="GPL-2 BSD-4 RSA DES"
-SLOT="0"
-IUSE="caps curl dnssec ldap pam"
-
-COMMON_DEPEND="
- dev-libs/gmp:0=
- dev-libs/nspr
- caps? ( sys-libs/libcap-ng )
- curl? ( net-misc/curl )
- dnssec? ( net-dns/unbound net-libs/ldns )
- ldap? ( net-nds/openldap )
- pam? ( sys-libs/pam )
-"
-DEPEND="${COMMON_DEPEND}
- app-text/docbook-xml-dtd:4.1.2
- app-text/xmlto
- dev-libs/nss
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig
-"
-RDEPEND="${COMMON_DEPEND}
- dev-libs/nss[utils(+)]
- sys-apps/iproute2
- !net-misc/openswan
- !net-misc/strongswan
-"
-
-src_prepare() {
- epatch_user
-}
-
-usetf() {
- usex "$1" true false
-}
-
-src_configure() {
- tc-export AR CC
- export INC_USRLOCAL=/usr
- export INC_MANDIR=share/man
- export FINALEXAMPLECONFDIR=/usr/share/doc/${PF}
- export FINALDOCDIR=/usr/share/doc/${PF}/html
- export INITSYSTEM=openrc
- export INC_RCDIRS=
- export INC_RCDEFAULT=/etc/init.d
- export USERCOMPILE=
- export USERLINK=
- export USE_DNSSEC=$(usetf dnssec)
- export USE_LIBCAP_NG=$(usetf caps)
- export USE_LIBCURL=$(usetf curl)
- export USE_LDAP=$(usetf ldap)
- export USE_XAUTHPAM=$(usetf pam)
-}
-
-src_compile() {
- emake programs
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- echo "include /etc/ipsec.d/*.secrets" > "${D}"/etc/ipsec.secrets
- fperms 0600 /etc/ipsec.secrets
-
- systemd_dounit "${FILESDIR}/ipsec.service"
-
- dodoc CHANGES README
- dodoc -r docs
-
- find "${D}" -type d -empty -delete || die
-}
-
-pkg_postinst() {
- local IPSEC_CONFDIR=${ROOT%/}/etc/ipsec.d
- if [[ ! -f ${IPSEC_CONFDIR}/cert8.db ]]; then
- ebegin "Setting up NSS database in ${IPSEC_CONFDIR}"
- certutil -N -d "${IPSEC_CONFDIR}" -f <(echo)
- eend $?
- fi
-}
diff --git a/net-misc/libreswan/libreswan-3.14-r1.ebuild b/net-misc/libreswan/libreswan-3.14-r1.ebuild
deleted file mode 100644
index 732f27d..0000000
--- a/net-misc/libreswan/libreswan-3.14-r1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils systemd toolchain-funcs
-
-if [[ ${PV} != 9999 ]]; then
- SRC_URI="https://download.libreswan.org/${P}.tar.gz"
- KEYWORDS="~amd64 ~ppc ~x86"
-else
- inherit git-r3
- EGIT_REPO_URI="https://github.com/libreswan/libreswan.git"
-fi
-
-DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
-HOMEPAGE="https://libreswan.org/"
-
-LICENSE="GPL-2 BSD-4 RSA DES"
-SLOT="0"
-IUSE="caps curl dnssec ldap pam"
-
-COMMON_DEPEND="
- dev-libs/gmp:0=
- dev-libs/libevent
- dev-libs/nspr
- caps? ( sys-libs/libcap-ng )
- curl? ( net-misc/curl )
- dnssec? ( net-dns/unbound net-libs/ldns )
- ldap? ( net-nds/openldap )
- pam? ( sys-libs/pam )
-"
-DEPEND="${COMMON_DEPEND}
- app-text/docbook-xml-dtd:4.1.2
- app-text/xmlto
- dev-libs/nss
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig
-"
-RDEPEND="${COMMON_DEPEND}
- dev-libs/nss[utils(+)]
- sys-apps/iproute2
- !net-misc/openswan
- !net-misc/strongswan
-"
-
-src_prepare() {
- epatch_user
-}
-
-usetf() {
- usex "$1" true false
-}
-
-src_configure() {
- tc-export AR CC
- export INC_USRLOCAL=/usr
- export INC_MANDIR=share/man
- export FINALEXAMPLECONFDIR=/usr/share/doc/${PF}
- export FINALDOCDIR=/usr/share/doc/${PF}/html
- export INITSYSTEM=openrc
- export INC_RCDIRS=
- export INC_RCDEFAULT=/etc/init.d
- export USERCOMPILE=
- export USERLINK=
- export USE_DNSSEC=$(usetf dnssec)
- export USE_LIBCAP_NG=$(usetf caps)
- export USE_LIBCURL=$(usetf curl)
- export USE_LDAP=$(usetf ldap)
- export USE_XAUTHPAM=$(usetf pam)
- export DEBUG_CFLAGS=
- export OPTIMIZE_CFLAGS=
-}
-
-src_compile() {
- emake all
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- echo "include /etc/ipsec.d/*.secrets" > "${D}"/etc/ipsec.secrets
- fperms 0600 /etc/ipsec.secrets
-
- systemd_dounit "${FILESDIR}/ipsec.service"
-
- dodoc CHANGES README
- dodoc -r docs
-
- find "${D}" -type d -empty -delete || die
-}
-
-pkg_postinst() {
- local IPSEC_CONFDIR=${ROOT%/}/etc/ipsec.d
- if [[ ! -f ${IPSEC_CONFDIR}/cert8.db ]]; then
- ebegin "Setting up NSS database in ${IPSEC_CONFDIR}"
- certutil -N -d "${IPSEC_CONFDIR}" -f <(echo)
- eend $?
- fi
-}
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/
@ 2015-08-26 7:11 Agostino Sarubbo
0 siblings, 0 replies; 18+ messages in thread
From: Agostino Sarubbo @ 2015-08-26 7:11 UTC (permalink / raw
To: gentoo-commits
commit: 8be3a5f7973d91611848e199c3322e5c753dcce3
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 26 07:11:27 2015 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Aug 26 07:11:27 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8be3a5f7
net-misc/libreswan: amd64 stable wrt bug #558692
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"
net-misc/libreswan/libreswan-3.15.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/libreswan/libreswan-3.15.ebuild b/net-misc/libreswan/libreswan-3.15.ebuild
index 732f27d..4e7ba17 100644
--- a/net-misc/libreswan/libreswan-3.15.ebuild
+++ b/net-misc/libreswan/libreswan-3.15.ebuild
@@ -8,7 +8,7 @@ inherit eutils systemd toolchain-funcs
if [[ ${PV} != 9999 ]]; then
SRC_URI="https://download.libreswan.org/${P}.tar.gz"
- KEYWORDS="~amd64 ~ppc ~x86"
+ KEYWORDS="amd64 ~ppc ~x86"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/libreswan/libreswan.git"
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/
@ 2015-08-25 19:49 Mike Gilbert
0 siblings, 0 replies; 18+ messages in thread
From: Mike Gilbert @ 2015-08-25 19:49 UTC (permalink / raw
To: gentoo-commits
commit: 7555dd6992c64393aca614b5f2e436b704ce1ab5
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 25 19:48:35 2015 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Aug 25 19:48:47 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7555dd69
net-misc/libreswan: Bump to 3.15
Package-Manager: portage-2.2.20_p40
net-misc/libreswan/Manifest | 1 +
net-misc/libreswan/libreswan-3.15.ebuild | 102 +++++++++++++++++++++++++++++++
2 files changed, 103 insertions(+)
diff --git a/net-misc/libreswan/Manifest b/net-misc/libreswan/Manifest
index dacdac2..ea512bd 100644
--- a/net-misc/libreswan/Manifest
+++ b/net-misc/libreswan/Manifest
@@ -1,2 +1,3 @@
DIST libreswan-3.13.tar.gz 9797529 SHA256 25a6888f850a83eb17d7f041783babb316b07f88a4a327f276d760a273b86f32 SHA512 81385a566b736a97836e70fb4e7827864f6bd27387d29aaaf49c126af305fd8b82c92021186eecceb830418e27ed1d775d70b47a1d1cfe159bc9f2b9c2430e2d WHIRLPOOL 805f9b3adef86367fe9de44908705254693bc1036bac2dca2addd4fb9c661efeb84334d1b77f25612ade5e5a203b33c9cc78b5c117a8b12c3e530b1e01f5600a
DIST libreswan-3.14.tar.gz 9245651 SHA256 0a9d1d59936884a4c072004bee6c51e4034b97dd02edea53620ee6e5c9cf2c21 SHA512 2f9eb8dde8677b9dd94ca3471858975b8fad441f78345e242629d4e8a7cb33df5b86968e4dae385f9450ed106abd5305610a548658313682fa0485e40737cadf WHIRLPOOL 99a1fc7220404f5d6399a74b79ba63ddae1260b4bc99cb3720aaba913064eb61d1062f1562be38a52804d8521b3a730c8ee3070b15452e198f4474364d9e6c8c
+DIST libreswan-3.15.tar.gz 9256911 SHA256 1ca370105a2a619eb4dc34626cb53cd391391e953fce3761a83f0e3a4d5aec4c SHA512 6472906d2507b7f4a06bf608b701e5982d5987b47d9ef88e5c8e63284f8d4d1a7155dd732d6daf8312d53c159bc344a54b2be173339a57aedea19caa79a13fb9 WHIRLPOOL 7fb86556e6b661523966eafdcde6796477f7173c573aece840f0f1f6a6dbfbda132a0723567334944ef5e23815150aef968f2761f842932228dca8c74ede1377
diff --git a/net-misc/libreswan/libreswan-3.15.ebuild b/net-misc/libreswan/libreswan-3.15.ebuild
new file mode 100644
index 0000000..732f27d
--- /dev/null
+++ b/net-misc/libreswan/libreswan-3.15.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils systemd toolchain-funcs
+
+if [[ ${PV} != 9999 ]]; then
+ SRC_URI="https://download.libreswan.org/${P}.tar.gz"
+ KEYWORDS="~amd64 ~ppc ~x86"
+else
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/libreswan/libreswan.git"
+fi
+
+DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
+HOMEPAGE="https://libreswan.org/"
+
+LICENSE="GPL-2 BSD-4 RSA DES"
+SLOT="0"
+IUSE="caps curl dnssec ldap pam"
+
+COMMON_DEPEND="
+ dev-libs/gmp:0=
+ dev-libs/libevent
+ dev-libs/nspr
+ caps? ( sys-libs/libcap-ng )
+ curl? ( net-misc/curl )
+ dnssec? ( net-dns/unbound net-libs/ldns )
+ ldap? ( net-nds/openldap )
+ pam? ( sys-libs/pam )
+"
+DEPEND="${COMMON_DEPEND}
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/xmlto
+ dev-libs/nss
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig
+"
+RDEPEND="${COMMON_DEPEND}
+ dev-libs/nss[utils(+)]
+ sys-apps/iproute2
+ !net-misc/openswan
+ !net-misc/strongswan
+"
+
+src_prepare() {
+ epatch_user
+}
+
+usetf() {
+ usex "$1" true false
+}
+
+src_configure() {
+ tc-export AR CC
+ export INC_USRLOCAL=/usr
+ export INC_MANDIR=share/man
+ export FINALEXAMPLECONFDIR=/usr/share/doc/${PF}
+ export FINALDOCDIR=/usr/share/doc/${PF}/html
+ export INITSYSTEM=openrc
+ export INC_RCDIRS=
+ export INC_RCDEFAULT=/etc/init.d
+ export USERCOMPILE=
+ export USERLINK=
+ export USE_DNSSEC=$(usetf dnssec)
+ export USE_LIBCAP_NG=$(usetf caps)
+ export USE_LIBCURL=$(usetf curl)
+ export USE_LDAP=$(usetf ldap)
+ export USE_XAUTHPAM=$(usetf pam)
+ export DEBUG_CFLAGS=
+ export OPTIMIZE_CFLAGS=
+}
+
+src_compile() {
+ emake all
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ echo "include /etc/ipsec.d/*.secrets" > "${D}"/etc/ipsec.secrets
+ fperms 0600 /etc/ipsec.secrets
+
+ systemd_dounit "${FILESDIR}/ipsec.service"
+
+ dodoc CHANGES README
+ dodoc -r docs
+
+ find "${D}" -type d -empty -delete || die
+}
+
+pkg_postinst() {
+ local IPSEC_CONFDIR=${ROOT%/}/etc/ipsec.d
+ if [[ ! -f ${IPSEC_CONFDIR}/cert8.db ]]; then
+ ebegin "Setting up NSS database in ${IPSEC_CONFDIR}"
+ certutil -N -d "${IPSEC_CONFDIR}" -f <(echo)
+ eend $?
+ fi
+}
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/
@ 2015-08-14 23:44 Mike Gilbert
0 siblings, 0 replies; 18+ messages in thread
From: Mike Gilbert @ 2015-08-14 23:44 UTC (permalink / raw
To: gentoo-commits
commit: fb412caa10e967cf952c46ae952b274bdcf89710
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 14 23:43:34 2015 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Aug 14 23:43:50 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb412caa
net-misc/libreswan: Add dependency on dev-libs/libevent
Bug: https://bugs.gentoo.org/show_bug.cgi?id=557610
Package-Manager: portage-2.2.20_p134
net-misc/libreswan/{libreswan-3.14.ebuild => libreswan-3.14-r1.ebuild} | 1 +
net-misc/libreswan/libreswan-9999.ebuild | 1 +
2 files changed, 2 insertions(+)
diff --git a/net-misc/libreswan/libreswan-3.14.ebuild b/net-misc/libreswan/libreswan-3.14-r1.ebuild
similarity index 99%
rename from net-misc/libreswan/libreswan-3.14.ebuild
rename to net-misc/libreswan/libreswan-3.14-r1.ebuild
index c4f69d3..732f27d 100644
--- a/net-misc/libreswan/libreswan-3.14.ebuild
+++ b/net-misc/libreswan/libreswan-3.14-r1.ebuild
@@ -23,6 +23,7 @@ IUSE="caps curl dnssec ldap pam"
COMMON_DEPEND="
dev-libs/gmp:0=
+ dev-libs/libevent
dev-libs/nspr
caps? ( sys-libs/libcap-ng )
curl? ( net-misc/curl )
diff --git a/net-misc/libreswan/libreswan-9999.ebuild b/net-misc/libreswan/libreswan-9999.ebuild
index c4f69d3..732f27d 100644
--- a/net-misc/libreswan/libreswan-9999.ebuild
+++ b/net-misc/libreswan/libreswan-9999.ebuild
@@ -23,6 +23,7 @@ IUSE="caps curl dnssec ldap pam"
COMMON_DEPEND="
dev-libs/gmp:0=
+ dev-libs/libevent
dev-libs/nspr
caps? ( sys-libs/libcap-ng )
curl? ( net-misc/curl )
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/
@ 2015-08-13 2:34 Mike Gilbert
0 siblings, 0 replies; 18+ messages in thread
From: Mike Gilbert @ 2015-08-13 2:34 UTC (permalink / raw
To: gentoo-commits
commit: 9200a8b55c8d1fb4e1fe98f2c6a53614cc9507ff
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 13 02:34:01 2015 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Aug 13 02:34:01 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9200a8b5
net-misc/libreswan: Remove old
Package-Manager: portage-2.2.20_p134
net-misc/libreswan/Manifest | 5 --
net-misc/libreswan/libreswan-3.10.ebuild | 99 ----------------------------
net-misc/libreswan/libreswan-3.12.ebuild | 99 ----------------------------
net-misc/libreswan/libreswan-3.7-r1.ebuild | 101 -----------------------------
net-misc/libreswan/libreswan-3.8.ebuild | 100 ----------------------------
net-misc/libreswan/libreswan-3.9.ebuild | 100 ----------------------------
6 files changed, 504 deletions(-)
diff --git a/net-misc/libreswan/Manifest b/net-misc/libreswan/Manifest
index 4887078..dacdac2 100644
--- a/net-misc/libreswan/Manifest
+++ b/net-misc/libreswan/Manifest
@@ -1,7 +1,2 @@
-DIST libreswan-3.10.tar.gz 9787915 SHA256 aa6bb559c27dfaef58a9bc3e194c6633a2423bbfcb4888591596f1678eec4c1e SHA512 fe3dbe0c8779050e5787da08541c312a79b091c2669cec102b3bb07ce1d4a53f2f7f99cbe60665cde4002c8e98597485f2039ea73640194c317d2d3fb15626d9 WHIRLPOOL 93c3542a74d4cef97b5f0b8af6e43078aed8af5aa15810b31a29285bad5f64520924470e5b3a924fcb078497ce40be51a95e40d988e01781d8543e568fc6d101
-DIST libreswan-3.12.tar.gz 9793222 SHA256 044dc63a69637e99ee4c0b86c2d9775d14b14e9e22ebd5a27caf504a956cf1be SHA512 d378d9290ba4a552b5c5eacb324651733b28094c4e4d72123bcc7ca9c6c651679bdf514b48585db16731bd18059c62cb950140066d0cbb5c3aa8c85b8b23652c WHIRLPOOL c0e7bde2dc1f5e09da3e5fda43a9c50225f793ac5b72d5b860249459c73a67387f4a2ea006a04b612a38f2d72feede2d4ab0af9e393b8aa33e313e778d71e2c9
DIST libreswan-3.13.tar.gz 9797529 SHA256 25a6888f850a83eb17d7f041783babb316b07f88a4a327f276d760a273b86f32 SHA512 81385a566b736a97836e70fb4e7827864f6bd27387d29aaaf49c126af305fd8b82c92021186eecceb830418e27ed1d775d70b47a1d1cfe159bc9f2b9c2430e2d WHIRLPOOL 805f9b3adef86367fe9de44908705254693bc1036bac2dca2addd4fb9c661efeb84334d1b77f25612ade5e5a203b33c9cc78b5c117a8b12c3e530b1e01f5600a
DIST libreswan-3.14.tar.gz 9245651 SHA256 0a9d1d59936884a4c072004bee6c51e4034b97dd02edea53620ee6e5c9cf2c21 SHA512 2f9eb8dde8677b9dd94ca3471858975b8fad441f78345e242629d4e8a7cb33df5b86968e4dae385f9450ed106abd5305610a548658313682fa0485e40737cadf WHIRLPOOL 99a1fc7220404f5d6399a74b79ba63ddae1260b4bc99cb3720aaba913064eb61d1062f1562be38a52804d8521b3a730c8ee3070b15452e198f4474364d9e6c8c
-DIST libreswan-3.7.tar.gz 11135078 SHA256 7d62d11d30d3b7a4c011dfff4385e0eb778d99ccb2cdf2e8c35b37b34bd156c9 SHA512 b612d956ac4fe1dc102898e5a0a500a0a855654cd30363cae41d4ef4bcb9091c8f058a962ceab1c00348e301b17258f31b6814120c4578d6a119abede30ecff3 WHIRLPOOL 171014eef323a2d49019452f1bb429f76ca091f736e567aea906a3e811fc9c3b67794ec6c42ee6513b4087bb94c44776051b7e975224ddbae1bedfe26bf64c6f
-DIST libreswan-3.8.tar.gz 11104943 SHA256 a2e285fc9d20d2819a8fd8e3742d3aa5b1b33f0fd371584788800b7a5ebf12e4 SHA512 de2c7b92a22762bb3fb2d10c5efd60d9de2cc8289f31e61c23ee6c9e876a8f3fd327b3613de7c38b1fc4979cdf047baa5d78f7f809196c59f62d2b51b93cb246 WHIRLPOOL fe515ea5923b7f0161f056788d20991e243b67cb237b6b954c6385652148afac3df1ab5235b36f31bfbcf3bb680b718e32a80734abc047e1e9110d4030073294
-DIST libreswan-3.9.tar.gz 9720359 SHA256 3b586a8f6121c982757a09c1711a86c853be6f7bb7bf81a8a265dba31728f74b SHA512 59b2a461ed6877886e3e64603ae9adf83840c8348be96fb719a2b268a62d15495c049a8aebeb3d76156b1e6cda806fd7fe674c7006e8c1bd727996717f31e5e9 WHIRLPOOL 62f9be12b25fd9e0f36b778290674313f40b2da9be9525217285882250a184f38ce0ce48781b74ff6aa358e0525e04aeaf0ee15a8f7dcb10909d14e6268f48d4
diff --git a/net-misc/libreswan/libreswan-3.10.ebuild b/net-misc/libreswan/libreswan-3.10.ebuild
deleted file mode 100644
index e2e4694..0000000
--- a/net-misc/libreswan/libreswan-3.10.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils systemd toolchain-funcs
-
-if [[ ${PV} != 9999 ]]; then
- SRC_URI="https://download.libreswan.org/${P}.tar.gz"
- KEYWORDS="amd64 ~ppc x86"
-else
- inherit git-r3
- EGIT_REPO_URI="https://github.com/libreswan/libreswan.git"
-fi
-
-DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
-HOMEPAGE="https://libreswan.org/"
-
-LICENSE="GPL-2 BSD-4 RSA DES"
-SLOT="0"
-IUSE="caps curl dnssec ldap pam"
-
-COMMON_DEPEND="
- dev-libs/gmp
- dev-libs/nspr
- caps? ( sys-libs/libcap-ng )
- curl? ( net-misc/curl )
- dnssec? ( net-dns/unbound net-libs/ldns )
- ldap? ( net-nds/openldap )
- pam? ( sys-libs/pam )
-"
-DEPEND="${COMMON_DEPEND}
- app-text/docbook-xml-dtd:4.1.2
- app-text/xmlto
- dev-libs/nss
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig
-"
-RDEPEND="${COMMON_DEPEND}
- dev-libs/nss[utils(+)]
- sys-apps/iproute2
- !net-misc/openswan
- !net-misc/strongswan
-"
-
-src_prepare() {
- epatch_user
-}
-
-usetf() {
- usex "$1" true false
-}
-
-src_configure() {
- tc-export AR CC
- export INC_USRLOCAL=/usr
- export INC_MANDIR=share/man
- export FINALEXAMPLECONFDIR=/usr/share/doc/${PF}
- export FINALDOCDIR=/usr/share/doc/${PF}/html
- export INITSYSTEM=openrc
- export INC_RCDIRS=
- export INC_RCDEFAULT=/etc/init.d
- export USERCOMPILE=
- export USERLINK=
- export USE_DNSSEC=$(usetf dnssec)
- export USE_LIBCAP_NG=$(usetf caps)
- export USE_LIBCURL=$(usetf curl)
- export USE_LDAP=$(usetf ldap)
- export USE_XAUTHPAM=$(usetf pam)
-}
-
-src_compile() {
- emake programs
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- echo "include /etc/ipsec.d/*.secrets" > "${D}"/etc/ipsec.secrets
- fperms 0600 /etc/ipsec.secrets
-
- systemd_dounit "${FILESDIR}/ipsec.service"
-
- dodoc CHANGES README
- dodoc -r docs
-
- find "${D}" -type d -empty -delete || die
-}
-
-pkg_postinst() {
- local IPSEC_CONFDIR=${ROOT%/}/etc/ipsec.d
- if [[ ! -f ${IPSEC_CONFDIR}/cert8.db ]]; then
- ebegin "Setting up NSS database in ${IPSEC_CONFDIR}"
- certutil -N -d "${IPSEC_CONFDIR}" -f <(echo)
- eend $?
- fi
-}
diff --git a/net-misc/libreswan/libreswan-3.12.ebuild b/net-misc/libreswan/libreswan-3.12.ebuild
deleted file mode 100644
index c6d6c25..0000000
--- a/net-misc/libreswan/libreswan-3.12.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils systemd toolchain-funcs
-
-if [[ ${PV} != 9999 ]]; then
- SRC_URI="https://download.libreswan.org/${P}.tar.gz"
- KEYWORDS="~amd64 ~ppc ~x86"
-else
- inherit git-r3
- EGIT_REPO_URI="https://github.com/libreswan/libreswan.git"
-fi
-
-DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
-HOMEPAGE="https://libreswan.org/"
-
-LICENSE="GPL-2 BSD-4 RSA DES"
-SLOT="0"
-IUSE="caps curl dnssec ldap pam"
-
-COMMON_DEPEND="
- dev-libs/gmp
- dev-libs/nspr
- caps? ( sys-libs/libcap-ng )
- curl? ( net-misc/curl )
- dnssec? ( net-dns/unbound net-libs/ldns )
- ldap? ( net-nds/openldap )
- pam? ( sys-libs/pam )
-"
-DEPEND="${COMMON_DEPEND}
- app-text/docbook-xml-dtd:4.1.2
- app-text/xmlto
- dev-libs/nss
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig
-"
-RDEPEND="${COMMON_DEPEND}
- dev-libs/nss[utils(+)]
- sys-apps/iproute2
- !net-misc/openswan
- !net-misc/strongswan
-"
-
-src_prepare() {
- epatch_user
-}
-
-usetf() {
- usex "$1" true false
-}
-
-src_configure() {
- tc-export AR CC
- export INC_USRLOCAL=/usr
- export INC_MANDIR=share/man
- export FINALEXAMPLECONFDIR=/usr/share/doc/${PF}
- export FINALDOCDIR=/usr/share/doc/${PF}/html
- export INITSYSTEM=openrc
- export INC_RCDIRS=
- export INC_RCDEFAULT=/etc/init.d
- export USERCOMPILE=
- export USERLINK=
- export USE_DNSSEC=$(usetf dnssec)
- export USE_LIBCAP_NG=$(usetf caps)
- export USE_LIBCURL=$(usetf curl)
- export USE_LDAP=$(usetf ldap)
- export USE_XAUTHPAM=$(usetf pam)
-}
-
-src_compile() {
- emake programs
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- echo "include /etc/ipsec.d/*.secrets" > "${D}"/etc/ipsec.secrets
- fperms 0600 /etc/ipsec.secrets
-
- systemd_dounit "${FILESDIR}/ipsec.service"
-
- dodoc CHANGES README
- dodoc -r docs
-
- find "${D}" -type d -empty -delete || die
-}
-
-pkg_postinst() {
- local IPSEC_CONFDIR=${ROOT%/}/etc/ipsec.d
- if [[ ! -f ${IPSEC_CONFDIR}/cert8.db ]]; then
- ebegin "Setting up NSS database in ${IPSEC_CONFDIR}"
- certutil -N -d "${IPSEC_CONFDIR}" -f <(echo)
- eend $?
- fi
-}
diff --git a/net-misc/libreswan/libreswan-3.7-r1.ebuild b/net-misc/libreswan/libreswan-3.7-r1.ebuild
deleted file mode 100644
index 0f68e88..0000000
--- a/net-misc/libreswan/libreswan-3.7-r1.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils systemd toolchain-funcs
-
-if [[ ${PV} != 9999 ]]; then
- SRC_URI="https://download.libreswan.org/${P}.tar.gz"
- KEYWORDS="~amd64 ~ppc ~x86"
-else
- inherit git-r3
- EGIT_REPO_URI="https://github.com/libreswan/libreswan.git"
-fi
-
-DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
-HOMEPAGE="https://libreswan.org/"
-
-LICENSE="GPL-2 BSD-4 RSA DES"
-SLOT="0"
-IUSE="caps curl dnssec ldap pam"
-
-COMMON_DEPEND="
- dev-libs/gmp
- dev-libs/nspr
- caps? ( sys-libs/libcap-ng )
- curl? ( net-misc/curl )
- dnssec? ( net-dns/unbound net-libs/ldns )
- ldap? ( net-nds/openldap )
- pam? ( sys-libs/pam )
-"
-DEPEND="${COMMON_DEPEND}
- app-text/docbook-xml-dtd:4.1.2
- app-text/xmlto
- dev-libs/nss
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig
-"
-RDEPEND="${COMMON_DEPEND}
- dev-libs/nss[utils(+)]
- sys-apps/iproute2
- !net-misc/openswan
- !net-misc/strongswan
-"
-
-src_prepare() {
- epatch "${FILESDIR}/libreswan-3.7-curl.patch"
- epatch "${FILESDIR}/libreswan-3.7-openrc.patch"
- epatch "${FILESDIR}/libreswan-3.7-openrc-pidfile.patch"
- epatch_user
-}
-
-usetf() {
- usex "$1" true false
-}
-
-src_configure() {
- tc-export AR CC
- export INC_USRLOCAL=/usr
- export INC_MANDIR=share/man
- export FINALEXAMPLECONFDIR=/usr/share/doc/${PF}
- export FINALDOCDIR=/usr/share/doc/${PF}/html
- export INITSYSTEM=openrc
- export INC_RCDIRS=
- export INC_RCDEFAULT=/etc/init.d
- export USERCOMPILE=
- export USERLINK=
- export USE_DNSSEC=$(usetf dnssec)
- export USE_LIBCAP_NG=$(usetf caps)
- export USE_LIBCURL=$(usetf curl)
- export USE_LDAP=$(usetf ldap)
- export USE_XAUTHPAM=$(usetf pam)
-}
-
-src_compile() {
- emake programs
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- sed -i -e '1s:python$:python2:' "${D}"/usr/libexec/ipsec/verify || die
-
- echo "include /etc/ipsec.d/*.secrets" > "${D}"/etc/ipsec.secrets
- fperms 0600 /etc/ipsec.secrets
-
- systemd_dounit "${FILESDIR}/ipsec.service"
-
- dodoc BUGS CHANGES README
- dodoc -r docs
-}
-
-pkg_postinst() {
- local IPSEC_CONFDIR=${ROOT%/}/etc/ipsec.d
- if [[ ! -f ${IPSEC_CONFDIR}/cert8.db ]]; then
- ebegin "Setting up NSS database in ${IPSEC_CONFDIR}"
- certutil -N -d "${IPSEC_CONFDIR}" -f <(echo)
- eend $?
- fi
-}
diff --git a/net-misc/libreswan/libreswan-3.8.ebuild b/net-misc/libreswan/libreswan-3.8.ebuild
deleted file mode 100644
index e86fa02..0000000
--- a/net-misc/libreswan/libreswan-3.8.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils systemd toolchain-funcs
-
-if [[ ${PV} != 9999 ]]; then
- SRC_URI="https://download.libreswan.org/${P}.tar.gz"
- KEYWORDS="amd64 ~ppc x86"
-else
- inherit git-r3
- EGIT_REPO_URI="https://github.com/libreswan/libreswan.git"
-fi
-
-DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
-HOMEPAGE="https://libreswan.org/"
-
-LICENSE="GPL-2 BSD-4 RSA DES"
-SLOT="0"
-IUSE="caps curl dnssec ldap pam"
-
-COMMON_DEPEND="
- dev-libs/gmp
- dev-libs/nspr
- caps? ( sys-libs/libcap-ng )
- curl? ( net-misc/curl )
- dnssec? ( net-dns/unbound net-libs/ldns )
- ldap? ( net-nds/openldap )
- pam? ( sys-libs/pam )
-"
-DEPEND="${COMMON_DEPEND}
- app-text/docbook-xml-dtd:4.1.2
- app-text/xmlto
- dev-libs/nss
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig
-"
-RDEPEND="${COMMON_DEPEND}
- dev-libs/nss[utils(+)]
- sys-apps/iproute2
- !net-misc/openswan
- !net-misc/strongswan
-"
-
-src_prepare() {
- epatch_user
-}
-
-usetf() {
- usex "$1" true false
-}
-
-src_configure() {
- tc-export AR CC
- export INC_USRLOCAL=/usr
- export INC_MANDIR=share/man
- export FINALEXAMPLECONFDIR=/usr/share/doc/${PF}
- export FINALDOCDIR=/usr/share/doc/${PF}/html
- export INITSYSTEM=openrc
- export INC_RCDIRS=
- export INC_RCDEFAULT=/etc/init.d
- export USERCOMPILE=
- export USERLINK=
- export USE_DNSSEC=$(usetf dnssec)
- export USE_LIBCAP_NG=$(usetf caps)
- export USE_LIBCURL=$(usetf curl)
- export USE_LDAP=$(usetf ldap)
- export USE_XAUTHPAM=$(usetf pam)
-}
-
-src_compile() {
- emake programs
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- sed -i -e '1s:python$:python2:' "${D}"/usr/libexec/ipsec/verify || die
-
- echo "include /etc/ipsec.d/*.secrets" > "${D}"/etc/ipsec.secrets
- fperms 0600 /etc/ipsec.secrets
-
- systemd_dounit "${FILESDIR}/ipsec.service"
-
- dodoc BUGS CHANGES README
- dodoc -r docs
-
- find "${D}" -type d -empty -delete || die
-}
-
-pkg_postinst() {
- local IPSEC_CONFDIR=${ROOT%/}/etc/ipsec.d
- if [[ ! -f ${IPSEC_CONFDIR}/cert8.db ]]; then
- ebegin "Setting up NSS database in ${IPSEC_CONFDIR}"
- certutil -N -d "${IPSEC_CONFDIR}" -f <(echo)
- eend $?
- fi
-}
diff --git a/net-misc/libreswan/libreswan-3.9.ebuild b/net-misc/libreswan/libreswan-3.9.ebuild
deleted file mode 100644
index e4bcdb9..0000000
--- a/net-misc/libreswan/libreswan-3.9.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils systemd toolchain-funcs
-
-if [[ ${PV} != 9999 ]]; then
- SRC_URI="https://download.libreswan.org/${P}.tar.gz"
- KEYWORDS="~amd64 ~ppc ~x86"
-else
- inherit git-r3
- EGIT_REPO_URI="https://github.com/libreswan/libreswan.git"
-fi
-
-DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
-HOMEPAGE="https://libreswan.org/"
-
-LICENSE="GPL-2 BSD-4 RSA DES"
-SLOT="0"
-IUSE="caps curl dnssec ldap pam"
-
-COMMON_DEPEND="
- dev-libs/gmp
- dev-libs/nspr
- caps? ( sys-libs/libcap-ng )
- curl? ( net-misc/curl )
- dnssec? ( net-dns/unbound net-libs/ldns )
- ldap? ( net-nds/openldap )
- pam? ( sys-libs/pam )
-"
-DEPEND="${COMMON_DEPEND}
- app-text/docbook-xml-dtd:4.1.2
- app-text/xmlto
- dev-libs/nss
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig
-"
-RDEPEND="${COMMON_DEPEND}
- dev-libs/nss[utils(+)]
- sys-apps/iproute2
- !net-misc/openswan
- !net-misc/strongswan
-"
-
-src_prepare() {
- epatch_user
-}
-
-usetf() {
- usex "$1" true false
-}
-
-src_configure() {
- tc-export AR CC
- export INC_USRLOCAL=/usr
- export INC_MANDIR=share/man
- export FINALEXAMPLECONFDIR=/usr/share/doc/${PF}
- export FINALDOCDIR=/usr/share/doc/${PF}/html
- export INITSYSTEM=openrc
- export INC_RCDIRS=
- export INC_RCDEFAULT=/etc/init.d
- export USERCOMPILE=
- export USERLINK=
- export USE_DNSSEC=$(usetf dnssec)
- export USE_LIBCAP_NG=$(usetf caps)
- export USE_LIBCURL=$(usetf curl)
- export USE_LDAP=$(usetf ldap)
- export USE_XAUTHPAM=$(usetf pam)
-}
-
-src_compile() {
- emake programs
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- sed -i -e '1s:python$:python2:' "${D}"/usr/libexec/ipsec/verify || die
-
- echo "include /etc/ipsec.d/*.secrets" > "${D}"/etc/ipsec.secrets
- fperms 0600 /etc/ipsec.secrets
-
- systemd_dounit "${FILESDIR}/ipsec.service"
-
- dodoc CHANGES README
- dodoc -r docs
-
- find "${D}" -type d -empty -delete || die
-}
-
-pkg_postinst() {
- local IPSEC_CONFDIR=${ROOT%/}/etc/ipsec.d
- if [[ ! -f ${IPSEC_CONFDIR}/cert8.db ]]; then
- ebegin "Setting up NSS database in ${IPSEC_CONFDIR}"
- certutil -N -d "${IPSEC_CONFDIR}" -f <(echo)
- eend $?
- fi
-}
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/
@ 2015-08-13 2:34 Mike Gilbert
0 siblings, 0 replies; 18+ messages in thread
From: Mike Gilbert @ 2015-08-13 2:34 UTC (permalink / raw
To: gentoo-commits
commit: 46bdcfca9bcc35711b84bb5ebfb71d1b33ec335c
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 13 02:32:35 2015 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Aug 13 02:32:35 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46bdcfca
net-misc/libreswan: Bump to 3.14
Package-Manager: portage-2.2.20_p134
net-misc/libreswan/Manifest | 1 +
net-misc/libreswan/{libreswan-9999.ebuild => libreswan-3.14.ebuild} | 4 +++-
net-misc/libreswan/libreswan-9999.ebuild | 4 +++-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/net-misc/libreswan/Manifest b/net-misc/libreswan/Manifest
index 9e20181..4887078 100644
--- a/net-misc/libreswan/Manifest
+++ b/net-misc/libreswan/Manifest
@@ -1,6 +1,7 @@
DIST libreswan-3.10.tar.gz 9787915 SHA256 aa6bb559c27dfaef58a9bc3e194c6633a2423bbfcb4888591596f1678eec4c1e SHA512 fe3dbe0c8779050e5787da08541c312a79b091c2669cec102b3bb07ce1d4a53f2f7f99cbe60665cde4002c8e98597485f2039ea73640194c317d2d3fb15626d9 WHIRLPOOL 93c3542a74d4cef97b5f0b8af6e43078aed8af5aa15810b31a29285bad5f64520924470e5b3a924fcb078497ce40be51a95e40d988e01781d8543e568fc6d101
DIST libreswan-3.12.tar.gz 9793222 SHA256 044dc63a69637e99ee4c0b86c2d9775d14b14e9e22ebd5a27caf504a956cf1be SHA512 d378d9290ba4a552b5c5eacb324651733b28094c4e4d72123bcc7ca9c6c651679bdf514b48585db16731bd18059c62cb950140066d0cbb5c3aa8c85b8b23652c WHIRLPOOL c0e7bde2dc1f5e09da3e5fda43a9c50225f793ac5b72d5b860249459c73a67387f4a2ea006a04b612a38f2d72feede2d4ab0af9e393b8aa33e313e778d71e2c9
DIST libreswan-3.13.tar.gz 9797529 SHA256 25a6888f850a83eb17d7f041783babb316b07f88a4a327f276d760a273b86f32 SHA512 81385a566b736a97836e70fb4e7827864f6bd27387d29aaaf49c126af305fd8b82c92021186eecceb830418e27ed1d775d70b47a1d1cfe159bc9f2b9c2430e2d WHIRLPOOL 805f9b3adef86367fe9de44908705254693bc1036bac2dca2addd4fb9c661efeb84334d1b77f25612ade5e5a203b33c9cc78b5c117a8b12c3e530b1e01f5600a
+DIST libreswan-3.14.tar.gz 9245651 SHA256 0a9d1d59936884a4c072004bee6c51e4034b97dd02edea53620ee6e5c9cf2c21 SHA512 2f9eb8dde8677b9dd94ca3471858975b8fad441f78345e242629d4e8a7cb33df5b86968e4dae385f9450ed106abd5305610a548658313682fa0485e40737cadf WHIRLPOOL 99a1fc7220404f5d6399a74b79ba63ddae1260b4bc99cb3720aaba913064eb61d1062f1562be38a52804d8521b3a730c8ee3070b15452e198f4474364d9e6c8c
DIST libreswan-3.7.tar.gz 11135078 SHA256 7d62d11d30d3b7a4c011dfff4385e0eb778d99ccb2cdf2e8c35b37b34bd156c9 SHA512 b612d956ac4fe1dc102898e5a0a500a0a855654cd30363cae41d4ef4bcb9091c8f058a962ceab1c00348e301b17258f31b6814120c4578d6a119abede30ecff3 WHIRLPOOL 171014eef323a2d49019452f1bb429f76ca091f736e567aea906a3e811fc9c3b67794ec6c42ee6513b4087bb94c44776051b7e975224ddbae1bedfe26bf64c6f
DIST libreswan-3.8.tar.gz 11104943 SHA256 a2e285fc9d20d2819a8fd8e3742d3aa5b1b33f0fd371584788800b7a5ebf12e4 SHA512 de2c7b92a22762bb3fb2d10c5efd60d9de2cc8289f31e61c23ee6c9e876a8f3fd327b3613de7c38b1fc4979cdf047baa5d78f7f809196c59f62d2b51b93cb246 WHIRLPOOL fe515ea5923b7f0161f056788d20991e243b67cb237b6b954c6385652148afac3df1ab5235b36f31bfbcf3bb680b718e32a80734abc047e1e9110d4030073294
DIST libreswan-3.9.tar.gz 9720359 SHA256 3b586a8f6121c982757a09c1711a86c853be6f7bb7bf81a8a265dba31728f74b SHA512 59b2a461ed6877886e3e64603ae9adf83840c8348be96fb719a2b268a62d15495c049a8aebeb3d76156b1e6cda806fd7fe674c7006e8c1bd727996717f31e5e9 WHIRLPOOL 62f9be12b25fd9e0f36b778290674313f40b2da9be9525217285882250a184f38ce0ce48781b74ff6aa358e0525e04aeaf0ee15a8f7dcb10909d14e6268f48d4
diff --git a/net-misc/libreswan/libreswan-9999.ebuild b/net-misc/libreswan/libreswan-3.14.ebuild
similarity index 97%
copy from net-misc/libreswan/libreswan-9999.ebuild
copy to net-misc/libreswan/libreswan-3.14.ebuild
index b4c2441..c4f69d3 100644
--- a/net-misc/libreswan/libreswan-9999.ebuild
+++ b/net-misc/libreswan/libreswan-3.14.ebuild
@@ -69,10 +69,12 @@ src_configure() {
export USE_LIBCURL=$(usetf curl)
export USE_LDAP=$(usetf ldap)
export USE_XAUTHPAM=$(usetf pam)
+ export DEBUG_CFLAGS=
+ export OPTIMIZE_CFLAGS=
}
src_compile() {
- emake programs
+ emake all
}
src_install() {
diff --git a/net-misc/libreswan/libreswan-9999.ebuild b/net-misc/libreswan/libreswan-9999.ebuild
index b4c2441..c4f69d3 100644
--- a/net-misc/libreswan/libreswan-9999.ebuild
+++ b/net-misc/libreswan/libreswan-9999.ebuild
@@ -69,10 +69,12 @@ src_configure() {
export USE_LIBCURL=$(usetf curl)
export USE_LDAP=$(usetf ldap)
export USE_XAUTHPAM=$(usetf pam)
+ export DEBUG_CFLAGS=
+ export OPTIMIZE_CFLAGS=
}
src_compile() {
- emake programs
+ emake all
}
src_install() {
^ permalink raw reply related [flat|nested] 18+ messages in thread
end of thread, other threads:[~2016-12-20 16:33 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-26 7:11 [gentoo-commits] repo/gentoo:master commit in: net-misc/libreswan/ Agostino Sarubbo
-- strict thread matches above, loose matches on Subject: below --
2016-12-20 16:33 Mike Gilbert
2016-12-20 9:08 Agostino Sarubbo
2016-12-20 8:52 Agostino Sarubbo
2016-12-18 21:30 Mike Gilbert
2016-08-25 21:49 Mike Gilbert
2016-08-25 21:28 Mike Gilbert
2016-08-25 20:54 Mike Gilbert
2016-07-18 22:05 Mike Gilbert
2016-06-27 8:47 Agostino Sarubbo
2016-06-10 15:32 Agostino Sarubbo
2016-04-16 13:13 Mike Gilbert
2016-01-26 17:10 Mike Gilbert
2015-08-26 7:11 Agostino Sarubbo
2015-08-25 19:49 Mike Gilbert
2015-08-14 23:44 Mike Gilbert
2015-08-13 2:34 Mike Gilbert
2015-08-13 2:34 Mike Gilbert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox