summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetre Rodan <kaiowas@gentoo.org>2005-02-03 07:37:17 +0000
committerPetre Rodan <kaiowas@gentoo.org>2005-02-03 07:37:17 +0000
commitac52dcf47a9e5b8b68b145f87f9b3149ed4db3a2 (patch)
tree67b45ead1a568d310fbb8d608f349c96adf060af /net-misc/dante
parentAdding upstream patch from bug 80262 as reported by compnerd. Should fix gtk+... (diff)
downloadhistorical-ac52dcf47a9e5b8b68b145f87f9b3149ed4db3a2.tar.gz
historical-ac52dcf47a9e5b8b68b145f87f9b3149ed4db3a2.tar.bz2
historical-ac52dcf47a9e5b8b68b145f87f9b3149ed4db3a2.zip
Security related version bump - bug #80267
Package-Manager: portage-2.0.51-r14
Diffstat (limited to 'net-misc/dante')
-rw-r--r--net-misc/dante/ChangeLog7
-rw-r--r--net-misc/dante/Manifest10
-rw-r--r--net-misc/dante/dante-1.1.15.ebuild76
-rw-r--r--net-misc/dante/files/digest-dante-1.1.151
4 files changed, 89 insertions, 5 deletions
diff --git a/net-misc/dante/ChangeLog b/net-misc/dante/ChangeLog
index 5651a8627472..fec6af638bfe 100644
--- a/net-misc/dante/ChangeLog
+++ b/net-misc/dante/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/dante
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dante/ChangeLog,v 1.34 2005/01/26 21:36:45 kaiowas Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dante/ChangeLog,v 1.35 2005/02/03 07:37:17 kaiowas Exp $
+
+*dante-1.1.15 (03 Feb 2005)
+
+ 03 Feb 2005; petre rodan <kaiowas@gentoo.org> +dante-1.1.15.ebuild:
+ Security related version bump - bug #80267
26 Jan 2005; petre rodan <kaiowas@gentoo.org> dante-1.1.13.ebuild,
dante-1.1.14-r1.ebuild, dante-1.1.14-r2.ebuild, dante-1.1.15_pre1.ebuild:
diff --git a/net-misc/dante/Manifest b/net-misc/dante/Manifest
index a6c94d32597a..0824258330d3 100644
--- a/net-misc/dante/Manifest
+++ b/net-misc/dante/Manifest
@@ -1,11 +1,12 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 e1e8fb4587bba23f3f96e0f9d8f60f68 ChangeLog 4997
+MD5 d822996532e3e6502b8d30a809bd4396 ChangeLog 5142
MD5 853cd9b8ebf824d0bc4b1f370c5ce07c dante-1.1.13.ebuild 1665
MD5 d74517af49b35ae7db4e148fd5190d6a dante-1.1.14-r1.ebuild 1672
MD5 c6bf0611a8d74df6a59f3397be58da61 dante-1.1.14-r2.ebuild 2075
MD5 09b1e0f2779a1c9a16ed980f02fe8345 dante-1.1.15_pre1.ebuild 2147
+MD5 df408c91963aefe1b1d54e9cab76fec7 dante-1.1.15.ebuild 2142
MD5 72d9add89e45e3cb921c99d79bdf31a7 files/dante-1.1.14-bindresvport.patch 485
MD5 18a1fa3293fe5b6272427ca60293f867 files/dante-1.1.14-socksify.patch 801
MD5 e1b94493b162bbdb56acba97cec7349a files/dante-1.1.15_pre1-socksify.patch 811
@@ -16,10 +17,11 @@ MD5 a5e8f0769876952c68e2a06a1508fbfd files/digest-dante-1.1.13 64
MD5 7d257618e686db991bad06011612d805 files/digest-dante-1.1.14-r1 64
MD5 7d257618e686db991bad06011612d805 files/digest-dante-1.1.14-r2 64
MD5 50224590fe8129aed7c9cb47a4e123ec files/digest-dante-1.1.15_pre1 69
+MD5 0a5831b02f1ee3c0b9810c4354839906 files/digest-dante-1.1.15 64
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
-iD8DBQFB+AXWGSBEIeh4AEYRAru3AJ9l6s43j0k2fi8yhwXCrJjngdB4IwCdFAQZ
-WjXyp6Euo13zfCtcUqRLjKA=
-=n6z9
+iD8DBQFCAdBEGSBEIeh4AEYRAlzmAJ9I4uxuuZcB2Q5dPBAchlPAfW+yPwCeL2Qh
+RPXREul8k4YPhOp958UXBGI=
+=OcYA
-----END PGP SIGNATURE-----
diff --git a/net-misc/dante/dante-1.1.15.ebuild b/net-misc/dante/dante-1.1.15.ebuild
new file mode 100644
index 000000000000..00d70bbff214
--- /dev/null
+++ b/net-misc/dante/dante-1.1.15.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dante/dante-1.1.15.ebuild,v 1.1 2005/02/03 07:37:17 kaiowas Exp $
+
+inherit gcc fixheadtails eutils
+
+MY_PV=${PV/_/-}
+
+DESCRIPTION="A free socks4,5 and msproxy implementation"
+HOMEPAGE="http://www.inet.no/dante/"
+SRC_URI="ftp://ftp.inet.no/pub/socks/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~ia64 ~ppc64 ~s390 ~amd64"
+IUSE="tcpd debug selinux"
+
+RDEPEND="virtual/libc
+ sys-libs/pam
+ tcpd? ( sys-apps/tcp-wrappers )
+ selinux? ( sec-policy/selinux-dante )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/dante-1.1.15_pre1-socksify.patch
+ epatch ${FILESDIR}/dante-1.1.14-bindresvport.patch
+ ht_fix_file `find ${S} -name 'configure'`
+ sed -i \
+ -e 's:/etc/socks\.conf:/etc/socks/socks.conf:' \
+ -e 's:/etc/sockd\.conf:/etc/socks/sockd.conf:' \
+ doc/{faq.ps,faq.tex,sockd.8,sockd.conf.5,socks.conf.5}
+}
+
+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"
+ # 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"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ # bor: comment libdl.so out it seems to work just fine without it
+ sed -i -e 's:libdl\.so::' ${D}/usr/bin/socksify || die 'sed failed'
+
+ # no configuration file by default
+ dodir /etc/socks
+
+ # our init script
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/dante-sockd-init-1.1.14-r2 dante-sockd
+ insinto /etc/conf.d
+ newins ${FILESDIR}/dante-sockd-conf-1.1.14-r2 dante-sockd
+
+ # install documentation
+ dodoc BUGS CREDITS NEWS README SUPPORT TODO VERSION
+ docinto txt
+ cd doc
+ dodoc README* *.txt SOCKS4.*
+ docinto example
+ cd ../example
+ dodoc *.conf
+}
diff --git a/net-misc/dante/files/digest-dante-1.1.15 b/net-misc/dante/files/digest-dante-1.1.15
new file mode 100644
index 000000000000..88330bda9942
--- /dev/null
+++ b/net-misc/dante/files/digest-dante-1.1.15
@@ -0,0 +1 @@
+MD5 c737faf4ba6282777070d8c0580c3832 dante-1.1.15.tar.gz 839660