diff options
author | Jared H.Hudson <jhhudso@gentoo.org> | 2003-02-07 19:12:57 +0000 |
---|---|---|
committer | Jared H.Hudson <jhhudso@gentoo.org> | 2003-02-07 19:12:57 +0000 |
commit | 623559450ec67bf52af7b7fdc24f081d980f57ea (patch) | |
tree | 205d60892ed860e3dfdcee7f2dc76d2eac018728 /net-misc/freeswan | |
parent | little bugfix (diff) | |
download | gentoo-2-623559450ec67bf52af7b7fdc24f081d980f57ea.tar.gz gentoo-2-623559450ec67bf52af7b7fdc24f081d980f57ea.tar.bz2 gentoo-2-623559450ec67bf52af7b7fdc24f081d980f57ea.zip |
Version bump.
Diffstat (limited to 'net-misc/freeswan')
-rw-r--r-- | net-misc/freeswan/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/freeswan/files/digest-freeswan-1.99 | 2 | ||||
-rw-r--r-- | net-misc/freeswan/freeswan-1.99.ebuild | 69 |
3 files changed, 77 insertions, 1 deletions
diff --git a/net-misc/freeswan/ChangeLog b/net-misc/freeswan/ChangeLog index 25b3142fd2c0..118371c3470a 100644 --- a/net-misc/freeswan/ChangeLog +++ b/net-misc/freeswan/ChangeLog @@ -1,7 +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.8 2002/12/13 11:00:11 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/freeswan/ChangeLog,v 1.9 2003/02/07 19:12:57 jhhudso Exp $ +*freeswan-1.99 (07 Feb 2003) + + 07 Feb 2003; Jared Hudson <jhhudso@gentoo.org> : Version bump. + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords *freeswan-1.98b-r2 (5 Nov 2002) diff --git a/net-misc/freeswan/files/digest-freeswan-1.99 b/net-misc/freeswan/files/digest-freeswan-1.99 new file mode 100644 index 000000000000..454e1ce65800 --- /dev/null +++ b/net-misc/freeswan/files/digest-freeswan-1.99 @@ -0,0 +1,2 @@ +MD5 cb905b7f95dcf3e60aad6bddffe3be4f freeswan-1.99.tar.gz 2276925 +MD5 ddb20e2402a13c336e11564c2fa88e36 x509patch-0.9.15-freeswan-1.99.tar.gz 75619 diff --git a/net-misc/freeswan/freeswan-1.99.ebuild b/net-misc/freeswan/freeswan-1.99.ebuild new file mode 100644 index 000000000000..3d4431db0ee4 --- /dev/null +++ b/net-misc/freeswan/freeswan-1.99.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/freeswan/freeswan-1.99.ebuild,v 1.1 2003/02/07 19:12:57 jhhudso Exp $ + +X509_PATCH=0.9.15 +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-${X509_PATCH}-${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-${X509_PATCH}-${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-${X509_PATCH}-${P}/README README.x509 + newdoc ${WORKDIR}/x509patch-${X509_PATCH}-${P}/CHANGES CHANGES.x509 + newdoc ${WORKDIR}/x509patch-${X509_PATCH}-${P}/ipsec.secrets.template ipsec.secrets.x509 + dodoc INSTALL COPYING CREDITS BUGS CHANGES README doc/* + dosym /etc/ipsec/ipsec.d /etc/ipsec.d +} + |