summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-04-13 13:26:41 +0000
committerAlin Năstac <mrness@gentoo.org>2007-04-13 13:26:41 +0000
commit8762120a6e3664e1b2f39a8a51fb2a968bfef2fc (patch)
tree0af6291556eb237eb14a57f6ea25a01a706e069d /net-proxy
parentStable on sparc wrt security #172746 (diff)
downloadgentoo-2-8762120a6e3664e1b2f39a8a51fb2a968bfef2fc.tar.gz
gentoo-2-8762120a6e3664e1b2f39a8a51fb2a968bfef2fc.tar.bz2
gentoo-2-8762120a6e3664e1b2f39a8a51fb2a968bfef2fc.zip
Version bumped wrt security bug #174429.
(Portage version: 2.1.2.3)
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/3proxy/3proxy-0.5.3h.ebuild57
-rw-r--r--net-proxy/3proxy/ChangeLog7
-rw-r--r--net-proxy/3proxy/files/digest-3proxy-0.5.3h3
3 files changed, 66 insertions, 1 deletions
diff --git a/net-proxy/3proxy/3proxy-0.5.3h.ebuild b/net-proxy/3proxy/3proxy-0.5.3h.ebuild
new file mode 100644
index 000000000000..0174205a9668
--- /dev/null
+++ b/net-proxy/3proxy/3proxy-0.5.3h.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/3proxy-0.5.3h.ebuild,v 1.1 2007/04/13 13:26:41 mrness Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="really tiny cross-platform proxy servers set"
+HOMEPAGE="http://www.security.nnov.ru/soft/3proxy/"
+SRC_URI="http://www.security.nnov.ru/soft/3proxy/${PV}/${P}.tgz"
+
+LICENSE="3proxy"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=""
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "/^CFLAGS/s:-g -O2:${CFLAGS}:" \
+ -e "/^LDFLAGS/s:-O2:${LDFLAGS}:" \
+ Makefile.unix || die "sed Makefile"
+ sed -i 's:/usr/local::' src/stringtable.c || die "sed stringtable"
+ find . -type f -print0 | xargs -0 chmod a-x
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ LN="$(tc-getCC)" \
+ -f Makefile.unix \
+ || die "emake failed"
+}
+
+src_install() {
+ local x
+
+ cd "${S}"/src
+ dobin 3proxy || die "dobin 3proxy failed"
+ for x in proxy socks pop3p tcppm udppm mycrypt dighosts ; do
+ newbin ${x} ${PN}-${x} || die "newbin ${x} failed"
+ [[ -f ${S}/man/${x}.8 ]] \
+ && newman "${S}"/man/${x}.8 ${PN}-${x}.8
+ done
+
+ dodoc $(find "${S}"/cfg -type f)
+ doman "${S}"/man/3proxy*.[38]
+
+ cd "${S}"
+ dodoc Changelog Readme Release.notes
+ dodoc $(find "${S}"/doc -name '*.txt')
+ dohtml $(find "${S}"/doc -name '*.html')
+}
diff --git a/net-proxy/3proxy/ChangeLog b/net-proxy/3proxy/ChangeLog
index 2d164d123b52..730a52255cb1 100644
--- a/net-proxy/3proxy/ChangeLog
+++ b/net-proxy/3proxy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-proxy/3proxy
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/ChangeLog,v 1.12 2007/04/11 07:05:50 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/ChangeLog,v 1.13 2007/04/13 13:26:41 mrness Exp $
+
+*3proxy-0.5.3h (13 Apr 2007)
+
+ 13 Apr 2007; Alin Năstac <mrness@gentoo.org> +3proxy-0.5.3h.ebuild:
+ Version bumped wrt security bug #174429.
11 Apr 2007; Alin Năstac <mrness@gentoo.org> -3proxy-0.5.3a.ebuild,
3proxy-0.5.3g.ebuild:
diff --git a/net-proxy/3proxy/files/digest-3proxy-0.5.3h b/net-proxy/3proxy/files/digest-3proxy-0.5.3h
new file mode 100644
index 000000000000..5402c45629f2
--- /dev/null
+++ b/net-proxy/3proxy/files/digest-3proxy-0.5.3h
@@ -0,0 +1,3 @@
+MD5 fe437256188e840bd16fbb6ad0156699 3proxy-0.5.3h.tgz 190566
+RMD160 39153b015a22e26c43bec971087590960d485650 3proxy-0.5.3h.tgz 190566
+SHA256 1e0b8517d8bd73b0f5469a09112c812822b09dacea9c59bf9d87a82a8a2cc221 3proxy-0.5.3h.tgz 190566