summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Jones <ashmodai@gentoo.org>2002-05-23 19:37:31 +0000
committerMike Jones <ashmodai@gentoo.org>2002-05-23 19:37:31 +0000
commit18592e91118c227cb18b56ba42d36cecd1be4f38 (patch)
tree145f84d4bbe96fc757f0b43bf21e563b13949fc0 /net-misc/freeswan
parentMissed some changes for the last version, libxml2 version fix and ORBit versi... (diff)
downloadgentoo-2-18592e91118c227cb18b56ba42d36cecd1be4f38.tar.gz
gentoo-2-18592e91118c227cb18b56ba42d36cecd1be4f38.tar.bz2
gentoo-2-18592e91118c227cb18b56ba42d36cecd1be4f38.zip
Initial revision of package for testing.
Diffstat (limited to 'net-misc/freeswan')
-rw-r--r--net-misc/freeswan/ChangeLog14
-rw-r--r--net-misc/freeswan/files/digest-freeswan-1.971
-rw-r--r--net-misc/freeswan/freeswan-1.97.ebuild52
3 files changed, 67 insertions, 0 deletions
diff --git a/net-misc/freeswan/ChangeLog b/net-misc/freeswan/ChangeLog
new file mode 100644
index 000000000000..2646b9e83318
--- /dev/null
+++ b/net-misc/freeswan/ChangeLog
@@ -0,0 +1,14 @@
+# 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.1 2002/05/23 19:37:31 ashmodai Exp $
+
+*freeswan-1.97 (23 May 2002)
+
+ 22 May 2002; Mike Jones <ashmodai@gentoo.org> ChangeLog, freeswan-1.97.ebuild:
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
+
diff --git a/net-misc/freeswan/files/digest-freeswan-1.97 b/net-misc/freeswan/files/digest-freeswan-1.97
new file mode 100644
index 000000000000..4e5b4d6ae71a
--- /dev/null
+++ b/net-misc/freeswan/files/digest-freeswan-1.97
@@ -0,0 +1 @@
+MD5 6e7c83ee560de00d50488b06a55a5636 freeswan-1.97.tar.gz 2407239
diff --git a/net-misc/freeswan/freeswan-1.97.ebuild b/net-misc/freeswan/freeswan-1.97.ebuild
new file mode 100644
index 000000000000..4add1533689d
--- /dev/null
+++ b/net-misc/freeswan/freeswan-1.97.ebuild
@@ -0,0 +1,52 @@
+# 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.97.ebuild,v 1.1 2002/05/23 19:37:31 ashmodai Exp $
+
+S=${WORKDIR}/freeswan-1.97
+DESCRIPTION="FreeS/WAN IPSec Userspace Utilities"
+SRC_URI="ftp://ftp.xs4all.nl/pub/crypto/freeswan/${P}.tar.gz"
+HOMEPAGE="http://www.freeswan.org"
+DEPEND="virtual/glibc
+ virtual/linux-sources"
+LICENSE="GPL-2"
+RDEPEND=""
+SLOT="0"
+
+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_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
+
+ dodoc INSTALL COPYING CREDITS BUGS CHANGES README doc/*
+}
+