summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-proxy/3proxy/3proxy-0.5.1b.ebuild54
-rw-r--r--net-proxy/3proxy/ChangeLog9
-rw-r--r--net-proxy/3proxy/files/digest-3proxy-0.5.1b1
3 files changed, 62 insertions, 2 deletions
diff --git a/net-proxy/3proxy/3proxy-0.5.1b.ebuild b/net-proxy/3proxy/3proxy-0.5.1b.ebuild
new file mode 100644
index 000000000000..2359420dbad4
--- /dev/null
+++ b/net-proxy/3proxy/3proxy-0.5.1b.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/3proxy-0.5.1b.ebuild,v 1.1 2005/05/28 21:19:59 vapier Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="really tiny cross-platform proxy servers set"
+HOMEPAGE="http://www.security.nnov.ru/soft/3proxy/"
+SRC_URI="mirror://gentoo/${P}.tgz"
+#http://www.security.nnov.ru/soft/3proxy/${PV}/3proxy.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
+}
+
+src_install() {
+ cd "${S}"/src
+ dobin 3proxy || die "dobin 3proxy failed"
+ for bin in proxy socks pop3p tcppm udppm mycrypt dighosts ; do
+ newbin ${bin} ${PN}-${bin} || die "newbin ${bin} failed"
+ done
+
+ dodoc $(find "${S}"/cfg -type f)
+ doman "${S}"/man/*.[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 9c0a5662871a..180d54e272a2 100644
--- a/net-proxy/3proxy/ChangeLog
+++ b/net-proxy/3proxy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-proxy/3proxy
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/ChangeLog,v 1.3 2005/05/15 16:00:03 voxus Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/ChangeLog,v 1.4 2005/05/28 21:19:59 vapier Exp $
+
+*3proxy-0.5.1b (28 May 2005)
+
+ 28 May 2005; Mike Frysinger <vapier@gentoo.org> +3proxy-0.5.1b.ebuild:
+ Version bump.
15 May 2005; Konstantin Arkhipov <voxus@gentoo.org> 3proxy-0.5b.ebuild:
Added ~amd64 keyword, closing bug #92702.
diff --git a/net-proxy/3proxy/files/digest-3proxy-0.5.1b b/net-proxy/3proxy/files/digest-3proxy-0.5.1b
new file mode 100644
index 000000000000..87b553588f6e
--- /dev/null
+++ b/net-proxy/3proxy/files/digest-3proxy-0.5.1b
@@ -0,0 +1 @@
+MD5 6f825cbbe060c9584d52585872043195 3proxy-0.5.1b.tgz 180857