summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-12-29 19:06:25 +0000
committerMike Frysinger <vapier@gentoo.org>2003-12-29 19:06:25 +0000
commitd56eacc73c21259c61ad950b91ae9c0d30bd5d00 (patch)
tree71dafb9ea537dd084300a3ed886313e705839213
parentalso install docs on 2.6 (diff)
downloadgentoo-2-d56eacc73c21259c61ad950b91ae9c0d30bd5d00.tar.gz
gentoo-2-d56eacc73c21259c61ad950b91ae9c0d30bd5d00.tar.bz2
gentoo-2-d56eacc73c21259c61ad950b91ae9c0d30bd5d00.zip
old
-rw-r--r--net-misc/dante/dante-1.1.14-r2.ebuild5
-rw-r--r--net-misc/dante/dante-1.1.14.ebuild48
-rw-r--r--net-misc/dante/files/digest-dante-1.1.141
3 files changed, 4 insertions, 50 deletions
diff --git a/net-misc/dante/dante-1.1.14-r2.ebuild b/net-misc/dante/dante-1.1.14-r2.ebuild
index 894fef2600bc..7c032360bcdb 100644
--- a/net-misc/dante/dante-1.1.14-r2.ebuild
+++ b/net-misc/dante/dante-1.1.14-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dante/dante-1.1.14-r2.ebuild,v 1.1 2003/12/23 10:48:10 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dante/dante-1.1.14-r2.ebuild,v 1.2 2003/12/29 19:06:25 vapier Exp $
inherit gcc fixheadtails
@@ -35,6 +35,9 @@ src_compile() {
--with-sockd-conf=/etc/socks/sockd.conf \
${myconf} \
|| die "bad ./configure"
+ # the comments in the source say this is only useful for 2.0 kernels ...
+ # well it may fix 2.0 but it breaks with 2.6 :)
+ [ "${KV:0:3}" == "2.6" ] && sed -i 's:if HAVE_LINUX_ECCENTRICITIES:if 0:' include/common.h
emake || die "compile problem"
}
diff --git a/net-misc/dante/dante-1.1.14.ebuild b/net-misc/dante/dante-1.1.14.ebuild
deleted file mode 100644
index e2c1df769017..000000000000
--- a/net-misc/dante/dante-1.1.14.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dante/dante-1.1.14.ebuild,v 1.3 2003/09/18 23:14:19 avenj Exp $
-
-inherit gcc
-
-DESCRIPTION="A free socks4,5 and msproxy implemetation"
-HOMEPAGE="http://www.inet.no/dante/"
-SRC_URI="ftp://ftp.inet.no/pub/socks/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ia64"
-IUSE="tcpd debug"
-
-DEPEND="virtual/glibc
- sys-libs/pam
- tcpd? ( sys-apps/tcp-wrappers )"
-
-src_compile() {
- econf \
- `use_enable debug` \
- `use_enable tcpd libwrap` \
- --with-socks-conf=/etc/socks/socks.conf \
- --with-sockd-conf=/etc/socks/sockd.conf \
- ${myconf} \
- || die "bad ./configure"
- emake || die "compile problem"
-}
-
-src_install() {
- make DESTDIR=${D} install || die
- # Line 99 in socks.h conflicts with stuff in line 333 of
- # /usr/include/netinet/in.h this is a not-too-cool way of fix0ring that
- dosed "s:^int Rbindresvport://int Rbindresvport:" /usr/include/socks.h
- # bor: comment libdl.so out it seems to work just fine without it
- dosed 's:libdl\.so::' /usr/bin/socksify
- dodir /etc/socks
- dodoc BUGS CREDITS LICENSE NEWS README SUPPORT TODO VERSION
- docinto txt
- cd doc
- dodoc README* *.txt SOCKS4.*
- docinto example
- cd ../example
- dodoc *.conf
- exeinto /etc/init.d
- newexe ${FILESDIR}/dante-sockd-init dante-sockd
-}
diff --git a/net-misc/dante/files/digest-dante-1.1.14 b/net-misc/dante/files/digest-dante-1.1.14
deleted file mode 100644
index 67e51bafd3c6..000000000000
--- a/net-misc/dante/files/digest-dante-1.1.14
+++ /dev/null
@@ -1 +0,0 @@
-MD5 465c2c615c1aa64afd328feee97ba007 dante-1.1.14.tar.gz 804081