summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-18 04:49:43 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-18 04:49:43 +0000
commit3531b958e440ae6441320dfa985e1e2af14617bc (patch)
tree9968919cffbaef6cf3faff51e41fc68a42b41bd1 /net-misc
parentfix buffer size (bug #337745) with patch from Kevin Pyle; EAPI=2 (diff)
downloadhistorical-3531b958e440ae6441320dfa985e1e2af14617bc.tar.gz
historical-3531b958e440ae6441320dfa985e1e2af14617bc.tar.bz2
historical-3531b958e440ae6441320dfa985e1e2af14617bc.zip
Respect LDFLAGS (bug #335970), CC.
Package-Manager: portage-2.2_rc83/cvs/Linux i686
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/zebedee/ChangeLog7
-rw-r--r--net-misc/zebedee/Manifest3
-rw-r--r--net-misc/zebedee/zebedee-2.5.3-r1.ebuild66
3 files changed, 74 insertions, 2 deletions
diff --git a/net-misc/zebedee/ChangeLog b/net-misc/zebedee/ChangeLog
index 755a9047e901..f89864502bc8 100644
--- a/net-misc/zebedee/ChangeLog
+++ b/net-misc/zebedee/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/zebedee
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/zebedee/ChangeLog,v 1.22 2010/01/21 22:58:03 cla Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/zebedee/ChangeLog,v 1.23 2010/09/18 04:49:43 jer Exp $
+
+*zebedee-2.5.3-r1 (18 Sep 2010)
+
+ 18 Sep 2010; Jeroen Roovers <jer@gentoo.org> +zebedee-2.5.3-r1.ebuild:
+ Respect LDFLAGS (bug #335970), CC.
21 Jan 2010; Dawid Węgliński <cla@gentoo.org> zebedee-2.5.3.ebuild:
Fix Makefile to respect user CFLAGS
diff --git a/net-misc/zebedee/Manifest b/net-misc/zebedee/Manifest
index d7c8f659e0af..3b5a3f1e1250 100644
--- a/net-misc/zebedee/Manifest
+++ b/net-misc/zebedee/Manifest
@@ -2,6 +2,7 @@ AUX zebedee 617 RMD160 8e59c9b9f0204a276790af8e550d8a19bc46774d SHA1 d638e0ebf58
DIST zebedee-2.4.1A.tar.gz 165200 RMD160 0078bcbb98a0dbdb72109baf3edc2367843850ee SHA1 d6a4a5dbc9805e2d8b5a82232bcbd9941fd21024 SHA256 2c56ec66c8e55773eb5deb2e74209e8b27b6c443829153df69e1823f46cf0d2d
DIST zebedee-2.5.3.tar.gz 176088 RMD160 2b4bee4c5f66f59628308a6c300b4c9d0c854e30 SHA1 54717faade0275929163369942885cc448bc9986 SHA256 3da34c75f5ce18f66ad172618b80ede55eed7cb0d5de6e27c29753853235705e
EBUILD zebedee-2.4.1-r1.ebuild 1352 RMD160 2ec64f957e134fc27068b215449c13cdfda5b041 SHA1 e4a60ffe899e64c6d520b788691829a1397d399d SHA256 595b0603fb06ea6d99f06adcf7430c5fa359d5356d06b08b007f1215eb931c0b
+EBUILD zebedee-2.5.3-r1.ebuild 1497 RMD160 1ab679b0967b5989d420b00abb9a689a7e8cfaa5 SHA1 4ad55fac23b1b2a26d3e2af94eb417b6cf3c1dd0 SHA256 9f45dc81d2716bd2a68ea0e462a28236aa0819ae5bce7e6d53c620b39d0c4f5f
EBUILD zebedee-2.5.3.ebuild 1390 RMD160 d846d561d0104755d52ba58bdeb7f0a7e687301a SHA1 391037843849979aea1f423ec36911848679b62e SHA256 72123ccb0a6d1595ae30475b275731e4532c85e6aac3851a6dce9e9a09bf4ecc
-MISC ChangeLog 2932 RMD160 2ddc25d641b6b5871c25a2c4bb7df98bc2e59b38 SHA1 dd1104e6da0e22b11fd6074314f3dbfe7be0f716 SHA256 854209d5dcc2a53b0c903ff2acf7f05d21aece1606d038e9ee17685bee001d3a
+MISC ChangeLog 3076 RMD160 66fdb39f7ec2a6d92abf5bb120e638724804bf90 SHA1 e26c766b977b0dda9c531027ec96a7c2bc40b817 SHA256 32b709d8d4bb10820a4fb4c0e93c2e59dd92d325c07ef1234b5aab59db756644
MISC metadata.xml 233 RMD160 d81ec1a0582856aeac5ef3bfec5c80d9850216f6 SHA1 9b94f113e7f382076b1749c2a856e409c96cade3 SHA256 dce03f6cdd96135caf3c971a5ca4a8c916f44532fe8cfb6df88b7bdade407e8b
diff --git a/net-misc/zebedee/zebedee-2.5.3-r1.ebuild b/net-misc/zebedee/zebedee-2.5.3-r1.ebuild
new file mode 100644
index 000000000000..691aa26bc7fa
--- /dev/null
+++ b/net-misc/zebedee/zebedee-2.5.3-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/zebedee/zebedee-2.5.3-r1.ebuild,v 1.1 2010/09/18 04:49:43 jer Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+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="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE=""
+
+DEPEND="dev-lang/perl
+ dev-libs/openssl
+ sys-libs/zlib
+ app-arch/bzip2"
+
+src_prepare() {
+ sed -i Makefile \
+ -e '/^CFLAGS/s:=:+=:' \
+ -e 's| -o zebedee| $(LDFLAGS)&|' \
+ || die "sed Makefile"
+}
+
+src_compile() {
+ emake \
+ CC=$(tc-getCC) \
+ BFINC=-I/usr/include/openssl \
+ BFLIB=-lcrypto \
+ ZINC=-I/usr/include \
+ ZLIB=-lz \
+ BZINC=-I/usr/include \
+ BZLIB=-lbz2 \
+ OS=linux || die
+}
+
+src_install() {
+ emake \
+ ROOTDIR="${D}"/usr \
+ MANDIR="${D}"/usr/share/man/man1 \
+ ZBDDIR="${D}"/etc/zebedee \
+ OS=linux \
+ install || die
+
+ rm -f "${D}"/etc/zebedee/*.{txt,html}
+
+ dodoc *.txt
+ dohtml *.html
+
+ doinitd "${FILESDIR}"/zebedee
+}
+
+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
+}