summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2004-02-20 03:18:06 +0000
committerSeemant Kulleen <seemant@gentoo.org>2004-02-20 03:18:06 +0000
commit516b455e08f38df409139a0f60473ee90f8fec03 (patch)
treef6790b19b6bc70eecd1eefb8bdd2e929f7eae9c0 /net-misc/zebedee/zebedee-2.5.2.ebuild
parentversion bump (diff)
downloadhistorical-516b455e08f38df409139a0f60473ee90f8fec03.tar.gz
historical-516b455e08f38df409139a0f60473ee90f8fec03.tar.bz2
historical-516b455e08f38df409139a0f60473ee90f8fec03.zip
version bump, for our own infrastructure team
Diffstat (limited to 'net-misc/zebedee/zebedee-2.5.2.ebuild')
-rw-r--r--net-misc/zebedee/zebedee-2.5.2.ebuild78
1 files changed, 78 insertions, 0 deletions
diff --git a/net-misc/zebedee/zebedee-2.5.2.ebuild b/net-misc/zebedee/zebedee-2.5.2.ebuild
new file mode 100644
index 000000000000..fd30cb8469d7
--- /dev/null
+++ b/net-misc/zebedee/zebedee-2.5.2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/zebedee/zebedee-2.5.2.ebuild,v 1.1 2004/02/20 03:18:05 seemant Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="A simple, free, secure TCP and UDP tunnel program"
+HOMEPAGE="http://www.winton.org.uk/zebedee/"
+SRC_URI="mirror://sourceforge/zebedee/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~ia64 ~amd64 ~ppc64"
+
+
+DEPEND="dev-lang/perl
+ dev-libs/openssl
+ sys-libs/zlib
+ app-arch/bzip2"
+
+
+#src_unpack() {
+# unpack ${P}.tar.gz
+# cd ${S}
+#
+# cp Makefile Makefile.orig
+# patch -p0 < ${FILESDIR}/${P}-Makefile.patch || die
+# mv zebedee.c zebedee.c.orig
+# cat zebedee.c.orig | \
+# sed "s/^#include \"blowfish\.h\"$/#include \"openssl\/blowfish\.h\"/g" \
+# > zebedee.c
+#}
+
+src_compile() {
+ emake \
+ BFINC=-I/usr/include/openssl \
+ BFLIB=-lcrypto \
+ ZINC=-I/usr/include \
+ ZLIB=-lz \
+ BZINC=-I/usr/include \
+ BZLIB=-lbz2 \
+ OS=linux || die
+}
+
+src_install() {
+ make \
+ ROOTDIR=${D}/usr \
+ MANDIR=${D}/usr/share/man/man1 \
+ OS=linux \
+ install || die
+
+ rm -f ${D}/usr/lib/zebedee/*.{txt,html}
+
+ dodoc *.txt
+ dohtml *.html
+
+ exeinto /etc/init.d
+ doexe ${FILESDIR}/zebedee
+
+ insinto /etc/zebedee
+ doins server.zbd vncviewer.zbd vncserver.zbd
+ newins server.id server.id.example
+
+ insopts -m 600
+ newins server.key server.key.example
+ newins client1.key client1.key.example
+ newins client2.key client2.key.example
+ newins clients.id clients.id.example
+}
+
+pkg_postinst() {
+ echo
+ einfo "Before you use the Zebedee rc script (/etc/init.d/zebedee), it is"
+ einfo "recommended that you edit the server config file: "
+ einfo "(/etc/zebedee/server.zbd)."
+ einfo "the \"detached\" directive should remain set to false;"
+ einfo "the rc script takes care of backgrounding automatically."
+ echo
+}