summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-14 01:51:34 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-14 01:51:34 +0000
commitbcf5985cd4825e002f5c5e5f06b9c779fe86f247 (patch)
treee672ecd415eee76d3867971c53fbbae298a7f29d /net-proxy/3proxy
parentFix building in some locales #126041 by Tambet Väli. (diff)
downloadgentoo-2-bcf5985cd4825e002f5c5e5f06b9c779fe86f247.tar.gz
gentoo-2-bcf5985cd4825e002f5c5e5f06b9c779fe86f247.tar.bz2
gentoo-2-bcf5985cd4825e002f5c5e5f06b9c779fe86f247.zip
Version bump.
(Portage version: 2.1_pre6-r2)
Diffstat (limited to 'net-proxy/3proxy')
-rw-r--r--net-proxy/3proxy/3proxy-0.5.2.ebuild58
-rw-r--r--net-proxy/3proxy/ChangeLog9
-rw-r--r--net-proxy/3proxy/files/digest-3proxy-0.5.23
3 files changed, 68 insertions, 2 deletions
diff --git a/net-proxy/3proxy/3proxy-0.5.2.ebuild b/net-proxy/3proxy/3proxy-0.5.2.ebuild
new file mode 100644
index 000000000000..026c332d66f9
--- /dev/null
+++ b/net-proxy/3proxy/3proxy-0.5.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/3proxy-0.5.2.ebuild,v 1.1 2006/03/14 01:51:34 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() {
+ 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 7e3ffedfb4a0..127a4131cd57 100644
--- a/net-proxy/3proxy/ChangeLog
+++ b/net-proxy/3proxy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-proxy/3proxy
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/ChangeLog,v 1.5 2005/07/30 07:18:34 mrness Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/ChangeLog,v 1.6 2006/03/14 01:51:34 vapier Exp $
+
+*3proxy-0.5.2 (14 Mar 2006)
+
+ 14 Mar 2006; Mike Frysinger <vapier@gentoo.org> +3proxy-0.5.2.ebuild:
+ Version bump.
30 Jul 2005; Alin Nastac <mrness@gentoo.org> -3proxy-0.5b.ebuild:
Remove obsolete version.
diff --git a/net-proxy/3proxy/files/digest-3proxy-0.5.2 b/net-proxy/3proxy/files/digest-3proxy-0.5.2
new file mode 100644
index 000000000000..0f3a418ba3f9
--- /dev/null
+++ b/net-proxy/3proxy/files/digest-3proxy-0.5.2
@@ -0,0 +1,3 @@
+MD5 2aedce05bb6059b3447088473fe76798 3proxy-0.5.2.tgz 189404
+RMD160 bf563005cee727dff60c8aa29482c25e88176d1c 3proxy-0.5.2.tgz 189404
+SHA256 71a638eec594490aaed7ab73c96bc902321482058024a7138ad000b65fc6d6db 3proxy-0.5.2.tgz 189404