summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-01-17 18:43:42 +0000
committerAlin Năstac <mrness@gentoo.org>2007-01-17 18:43:42 +0000
commit2e859464019e09a18f6a28db9dd07e62d7a0cdf0 (patch)
tree6725bc20677c4306c4e44dcb20e67c78cc749874 /net-proxy
parentDropped ppc-macos keyword, see you in prefix (diff)
downloadhistorical-2e859464019e09a18f6a28db9dd07e62d7a0cdf0.tar.gz
historical-2e859464019e09a18f6a28db9dd07e62d7a0cdf0.tar.bz2
historical-2e859464019e09a18f6a28db9dd07e62d7a0cdf0.zip
version bump
Package-Manager: portage-2.1.1-r2
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/3proxy/3proxy-0.5.3g.ebuild57
-rw-r--r--net-proxy/3proxy/ChangeLog10
-rw-r--r--net-proxy/3proxy/files/digest-3proxy-0.5.3g3
3 files changed, 68 insertions, 2 deletions
diff --git a/net-proxy/3proxy/3proxy-0.5.3g.ebuild b/net-proxy/3proxy/3proxy-0.5.3g.ebuild
new file mode 100644
index 000000000000..57a4d717e784
--- /dev/null
+++ b/net-proxy/3proxy/3proxy-0.5.3g.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.3g.ebuild,v 1.1 2007/01/17 18:43:42 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 aa8906bbae5c..9bd1620f7380 100644
--- a/net-proxy/3proxy/ChangeLog
+++ b/net-proxy/3proxy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-proxy/3proxy
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/ChangeLog,v 1.10 2006/11/09 14:43:46 mrness Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/ChangeLog,v 1.11 2007/01/17 18:43:42 mrness Exp $
+
+*3proxy-0.5.3g (17 Jan 2007)
+
+ 17 Jan 2007; Alin Năstac <mrness@gentoo.org> -3proxy-0.5.3.ebuild,
+ +3proxy-0.5.3g.ebuild:
+ Version bump.
*3proxy-0.5.3a (09 Nov 2006)
diff --git a/net-proxy/3proxy/files/digest-3proxy-0.5.3g b/net-proxy/3proxy/files/digest-3proxy-0.5.3g
new file mode 100644
index 000000000000..01a8b62ab382
--- /dev/null
+++ b/net-proxy/3proxy/files/digest-3proxy-0.5.3g
@@ -0,0 +1,3 @@
+MD5 b1f203af88f1092c32542baf041af1a9 3proxy-0.5.3g.tgz 190477
+RMD160 c316fec19ec31056c67a5debbbc899deb790752d 3proxy-0.5.3g.tgz 190477
+SHA256 ff19976a4b15b2702f40db41c1d0d674c7d99697c03977b6777b7f2363e9bf56 3proxy-0.5.3g.tgz 190477