summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-02-20 20:08:14 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-02-20 20:08:14 +0000
commit0d926a182a61ee0070665715c4ceade031882bb5 (patch)
treeb96df0657d54bb61682e65d94e4cf7b98250e580 /net-misc/freeswan
parentVersion bumped. Included a manpage. This closes bug #41842 (diff)
downloadhistorical-0d926a182a61ee0070665715c4ceade031882bb5.tar.gz
historical-0d926a182a61ee0070665715c4ceade031882bb5.tar.bz2
historical-0d926a182a61ee0070665715c4ceade031882bb5.zip
Partial fix for #41804.
Diffstat (limited to 'net-misc/freeswan')
-rw-r--r--net-misc/freeswan/ChangeLog5
-rw-r--r--net-misc/freeswan/Manifest5
-rw-r--r--net-misc/freeswan/files/freeswan-1.99-spi.c.patch11
-rw-r--r--net-misc/freeswan/freeswan-1.99.ebuild15
4 files changed, 26 insertions, 10 deletions
diff --git a/net-misc/freeswan/ChangeLog b/net-misc/freeswan/ChangeLog
index da82f4e7f90e..2432aecea716 100644
--- a/net-misc/freeswan/ChangeLog
+++ b/net-misc/freeswan/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/freeswan
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/freeswan/ChangeLog,v 1.17 2004/02/06 10:45:22 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/freeswan/ChangeLog,v 1.18 2004/02/20 20:08:14 aliz Exp $
+
+ 20 Feb 2004; Daniel Ahlberg <aliz@gentoo.org> freeswan-1.99.ebuild:
+ Patching spi.c, part of #41804.
06 Feb 2004; Daniel Ahlberg <aliz@gentoo.org>
files/freeswan-2.02-gentoo.patch, files/freeswan-2.03-gentoo.patch,
diff --git a/net-misc/freeswan/Manifest b/net-misc/freeswan/Manifest
index 5d56aa3d1a0c..b989d75d7266 100644
--- a/net-misc/freeswan/Manifest
+++ b/net-misc/freeswan/Manifest
@@ -4,12 +4,13 @@ MD5 a034383ed8181b558eb97419d43ebb7f freeswan-1.98b.ebuild 1826
MD5 b9a7a4aeae6e37f8a4caad32e3f6ae2d freeswan-2.04.ebuild 2199
MD5 df1765c50032ca48f169aad5eb31707d freeswan-1.97.ebuild 1481
MD5 46cd29ad171a822e3845780ed0ac1f54 freeswan-2.01.ebuild 2194
-MD5 18f7ca441593c61f14c297260baf5302 freeswan-1.99.ebuild 1901
+MD5 526b17a7244877a71549b11b6941e12f freeswan-1.99.ebuild 1975
MD5 1ba28649b436a913e536552803af00a2 freeswan-2.03.ebuild 2181
-MD5 20b13a18e2fd6ad963792783c49cc96e ChangeLog 3299
+MD5 ae2e69e774ce97309407e80d49b47a93 ChangeLog 3404
MD5 54e2141b8a405393a89f1517ab5447f2 freeswan-1.98b-r2.ebuild 2003
MD5 1ae4ab90e64587c2055c9b9389f868be files/ipsec 1533
MD5 8ed7dfb53e412cadc0f332c2143e06a8 files/freeswan-2.03-gentoo.patch 16814
+MD5 c744919016d382410c67a7e832720ac1 files/freeswan-1.99-spi.c.patch 356
MD5 a35108e90a41fe3d5a42541fe6516800 files/digest-freeswan-1.98b-r1 149
MD5 a35108e90a41fe3d5a42541fe6516800 files/digest-freeswan-1.98b-r2 149
MD5 81442034bf0d8c29a9d96e0b6f684b0d files/digest-freeswan-1.97 66
diff --git a/net-misc/freeswan/files/freeswan-1.99-spi.c.patch b/net-misc/freeswan/files/freeswan-1.99-spi.c.patch
new file mode 100644
index 000000000000..5949f41bba84
--- /dev/null
+++ b/net-misc/freeswan/files/freeswan-1.99-spi.c.patch
@@ -0,0 +1,11 @@
+--- klips/utils/spi.c 2004-02-20 19:53:43.000000000 +0000
++++ klips/utils/spi.c 2004-02-20 19:56:30.672334238 +0000
+@@ -103,7 +103,7 @@
+ spi --comp <algo> <SA>\n\
+ where <algo> is: deflate\n\
+ [ --debug ] is optional to any spi command.\n\
+-[ --label <label> ] is optional to any spi command.
++[ --label <label> ] is optional to any spi command.\
+ ";
+
+
diff --git a/net-misc/freeswan/freeswan-1.99.ebuild b/net-misc/freeswan/freeswan-1.99.ebuild
index 606ef506f2a6..f23319756a6b 100644
--- a/net-misc/freeswan/freeswan-1.99.ebuild
+++ b/net-misc/freeswan/freeswan-1.99.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 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.8 2004/01/03 14:06:50 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/freeswan/freeswan-1.99.ebuild,v 1.9 2004/02/20 20:08:14 aliz Exp $
X509_PATCH=0.9.34
S=${WORKDIR}/${P}
@@ -23,16 +23,17 @@ pkg_setup() {
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.
- exit 1
+# exit 1
}
}
src_unpack() {
- unpack ${A}
+ unpack ${A} ; cd ${S}
+ epatch ${FILESDIR}/freeswan-gentoo-cflags.patch
+ epatch ${FILESDIR}/${P}-spi.c.patch
- 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
+ sed -i 's:/etc/ipsec.d:/etc/ipsec/ipsec.d:g' ${WORKDIR}/x509patch-${X509_PATCH}-${P}/freeswan.diff
+ epatch ${WORKDIR}/x509patch-${X509_PATCH}-${P}/freeswan.diff
}
src_compile() {