diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2002-09-12 08:04:37 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2002-09-12 08:04:37 +0000 |
commit | 78ffcab0530ced7b63e5f7448813c41774e8c261 (patch) | |
tree | 137b46b2fe1f01130647458c9ca4ef5f479995d0 /net-misc | |
parent | Masked freeswan-1.98b-r1 (diff) | |
download | gentoo-2-78ffcab0530ced7b63e5f7448813c41774e8c261.tar.gz gentoo-2-78ffcab0530ced7b63e5f7448813c41774e8c261.tar.bz2 gentoo-2-78ffcab0530ced7b63e5f7448813c41774e8c261.zip |
Updated x509 patch + fix for #7585.
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/freeswan/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/freeswan/files/digest-freeswan-1.98b-r1 | 2 | ||||
-rw-r--r-- | net-misc/freeswan/freeswan-1.98b-r1.ebuild | 67 |
3 files changed, 76 insertions, 1 deletions
diff --git a/net-misc/freeswan/ChangeLog b/net-misc/freeswan/ChangeLog index 4753ca67afd6..52890c703604 100644 --- a/net-misc/freeswan/ChangeLog +++ b/net-misc/freeswan/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/freeswan # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/freeswan/ChangeLog,v 1.4 2002/07/07 06:38:12 phoenix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/freeswan/ChangeLog,v 1.5 2002/09/12 08:04:37 aliz Exp $ + +*freeswan-1.98b-r1 (12 Sep 2002) + + 12 Sep 2002; Daniel Ahlberg <aliz@telia.com> : + * fix for bug #7585. + * Upgraded to version 0.9.15 for the X509 patch. *freeswan-1.98b (5 Jul 2002) diff --git a/net-misc/freeswan/files/digest-freeswan-1.98b-r1 b/net-misc/freeswan/files/digest-freeswan-1.98b-r1 new file mode 100644 index 000000000000..064e4b06275f --- /dev/null +++ b/net-misc/freeswan/files/digest-freeswan-1.98b-r1 @@ -0,0 +1,2 @@ +MD5 12c6544009423aef10c490898a2dc556 freeswan-1.98b.tar.gz 2441410 +MD5 0a33ddf3872cd8288018ac3ca14e9eef x509patch-0.9.15-freeswan-1.98b.tar.gz 75674 diff --git a/net-misc/freeswan/freeswan-1.98b-r1.ebuild b/net-misc/freeswan/freeswan-1.98b-r1.ebuild new file mode 100644 index 000000000000..080b6f60c052 --- /dev/null +++ b/net-misc/freeswan/freeswan-1.98b-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-misc/freeswan/freeswan-1.98b-r1.ebuild,v 1.1 2002/09/12 08:04:37 aliz Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="FreeS/WAN IPSec Userspace Utilities with X.509 Patches" +SRC_URI="ftp://ftp.xs4all.nl/pub/crypto/freeswan/${P}.tar.gz + http://www.strongsec.com/freeswan/x509patch-0.9.15-${P}.tar.gz" + +HOMEPAGE="http://www.freeswan.org" +DEPEND="virtual/glibc + virtual/linux-sources + >=dev-libs/gmp-3.1.1" +LICENSE="GPL-2" +RDEPEND="" +SLOT="0" +KEYWORDS="x86" + +pkg_setup() { + [ -d /usr/src/linux/net/ipsec ] || { + echo You need to have the crypto-enabled version of Gentoo Sources + echo with a symlink to it in /usr/src/linux in order to have IPSec + echo kernel compatibility. Please emerge sys-kernel/crypto-sources, + echo compile an IPSec-enabled kernel and attempt this ebuild again. + exit 1 + } +} + +src_unpack() { + unpack ${A} + + cd ${S} + patch -p1 < ${FILESDIR}/freeswan-gentoo-cflags.patch || die + sed 's:/etc/ipsec.d:/etc/ipsec/ipsec.d:g' ${WORKDIR}/x509patch-0.9.13-${P}/freeswan.diff | patch -p1 || die +} + +src_compile() { + + make \ + DESTDIR=${D} \ + USERCOMPILE="${CFLAGS}" \ + FINALCONFDIR=/etc/ipsec \ + INC_RCDEFAULT=/etc/init.d \ + INC_USRLOCAL=/usr \ + INC_MANDIR=share/man \ + confcheck programs || die +} + +src_install () { + + # try make prefix=${D}/usr install + + make \ + DESTDIR=${D} \ + USERCOMPILE="${CFLAGS}" \ + FINALCONFDIR=/etc/ipsec \ + INC_RCDEFAULT=/etc/init.d \ + INC_USRLOCAL=/usr \ + INC_MANDIR=share/man \ + install || die + + newdoc ${WORKDIR}/x509patch-0.9.12-${P}/README README.x509 + newdoc ${WORKDIR}/x509patch-0.9.12-${P}/CHANGES CHANGES.x509 + newdoc ${WORKDIR}/x509patch-0.9.12-${P}/ipsec.secrets.template ipsec.secrets.x509 + dodoc INSTALL COPYING CREDITS BUGS CHANGES README doc/* +} + |