summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-03-21 12:15:25 +0000
committerMike Frysinger <vapier@gentoo.org>2009-03-21 12:15:25 +0000
commit10392e8f50ce9b19fcbab75234435e578e0d7798 (patch)
tree0f4a165d5700b637e19907fc01b93714de192c1f /net-proxy
parentold (diff)
downloadhistorical-10392e8f50ce9b19fcbab75234435e578e0d7798.tar.gz
historical-10392e8f50ce9b19fcbab75234435e578e0d7798.tar.bz2
historical-10392e8f50ce9b19fcbab75234435e578e0d7798.zip
Version bump.
Package-Manager: portage-2.2_rc26/cvs/Linux x86_64
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/3proxy/3proxy-0.6.ebuild53
-rw-r--r--net-proxy/3proxy/ChangeLog10
-rw-r--r--net-proxy/3proxy/Manifest15
-rw-r--r--net-proxy/3proxy/files/3proxy-0.6-gentoo.patch15
4 files changed, 84 insertions, 9 deletions
diff --git a/net-proxy/3proxy/3proxy-0.6.ebuild b/net-proxy/3proxy/3proxy-0.6.ebuild
new file mode 100644
index 000000000000..e79554d76d98
--- /dev/null
+++ b/net-proxy/3proxy/3proxy-0.6.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/3proxy-0.6.ebuild,v 1.1 2009/03/21 12:15:25 vapier Exp $
+
+inherit toolchain-funcs eutils
+
+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=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i 's:/usr/local/etc/3proxy/:/etc/:' src/stringtable.c || die
+ sed -i '/^LIBS /s:=:= -ldl:' Makefile.unix || die
+ epatch "${FILESDIR}"/${PN}-0.6-gentoo.patch
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ LN="$(tc-getCC)" \
+ -f Makefile.unix \
+ || die "emake failed"
+}
+
+src_install() {
+ local x
+
+ pushd src
+ dobin 3proxy || die "dobin 3proxy failed"
+ for x in proxy socks ftppr 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
+ popd
+
+ doman "${S}"/man/3proxy*.[38]
+
+ cd "${S}"
+ dodoc Changelog Readme Release.notes
+ dohtml -r doc/html/*
+ docinto cfg
+ dodoc cfg/*.{txt,sample}
+ docinto cfg/sql
+ dodoc cfg/sql/*.{cfg,sql}
+}
diff --git a/net-proxy/3proxy/ChangeLog b/net-proxy/3proxy/ChangeLog
index d24e0b6d3553..1d0514e4112c 100644
--- a/net-proxy/3proxy/ChangeLog
+++ b/net-proxy/3proxy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-proxy/3proxy
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/ChangeLog,v 1.28 2008/10/16 20:20:23 maekke Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/ChangeLog,v 1.29 2009/03/21 12:15:25 vapier Exp $
+
+*3proxy-0.6 (21 Mar 2009)
+
+ 21 Mar 2009; Mike Frysinger <vapier@gentoo.org>
+ +files/3proxy-0.6-gentoo.patch, +3proxy-0.6.ebuild:
+ Version bump.
16 Oct 2008; Markus Meier <maekke@gentoo.org> 3proxy-0.5.3k.ebuild:
amd64/x86 stable, bug #241628
diff --git a/net-proxy/3proxy/Manifest b/net-proxy/3proxy/Manifest
index 7f4aea64c0f9..f14fab97ca5a 100644
--- a/net-proxy/3proxy/Manifest
+++ b/net-proxy/3proxy/Manifest
@@ -2,16 +2,17 @@
Hash: SHA1
AUX 3proxy-0.5.3k-gentoo.patch 956 RMD160 c571bc300df59de74aea5de4ef6423d2e833e611 SHA1 1439948e37e0d1a493a27c6ea64a92134018bd89 SHA256 af4b7ff7dd0830b8d4aeb1ff3127621a40935a8d821da74e6e29ebae43ff8aa1
-DIST 3proxy-0.5.3j.tgz 190749 RMD160 8328e3a87b571dddfa2c8150f336856dd6fb703f SHA1 074d7ca2d90d5329e552c1e73d4c4ecdd96a49cf SHA256 533a38b1864ea45b46f04c9bc64d1bfdf597561dd88c4e1ed4f982de5a145d91
+AUX 3proxy-0.6-gentoo.patch 529 RMD160 7ae9f1fdcc315aef3dff46289cb03e9b3a831071 SHA1 fc7cad15b5141222616d9398c4e9516bd1cbbbd7 SHA256 59b222215c4af0759ee2be2ec95e40d0c7aef13d5f791d26dad54715b861afd8
DIST 3proxy-0.5.3k.tgz 190797 RMD160 416d3c0d870a6aa450472f4ab060ce90e3362dea SHA1 71befdaa94867e4b54a5b24e2a3b3b33debd5e67 SHA256 7bbe159a0157480c653ef3976495a9b1993435a44ea0e7c03784320e3ac28ea3
-EBUILD 3proxy-0.5.3j.ebuild 1333 RMD160 3b5f9a5ac636aab2161f298c75e61129dc004a40 SHA1 2a3c6bc731dcba41acdcb9ce2364d64f4baca0f0 SHA256 0956e3e68be9948da01e5a33e6e17a908508cc8dba4bfd902c90414e788a3309
+DIST 3proxy-0.6.tgz 478906 RMD160 0e0087b87cca6d2d067e95ea0e8491e42ca68918 SHA1 2441f51ed09ac4c6126c7e3fd76e4fc33bcad8be SHA256 fbeec42136598afb7eab212c925501b27855b07281142b2f1bbc97c14c204fde
EBUILD 3proxy-0.5.3k.ebuild 1189 RMD160 fba9b6e93f0c3048851c44f1bef78ebfdf129c0e SHA1 3b4075c338b2219d4c15f378eea2ff34d01cfe2e SHA256 6a2e85c2bff7ee490dc95d681c925a0c51da34c26a8c91cbcfe33e94f984839b
-MISC ChangeLog 4113 RMD160 39c04e45de240033e61dbab8ee8dc29f4d270bc5 SHA1 b332321b4c84fc37a4490cfc4410fb25e89e8731 SHA256 90a2c4d27a41a82f9ced62d84132e1d605b62892af549ed106227c77e2f9aa39
+EBUILD 3proxy-0.6.ebuild 1284 RMD160 be26ae08fe42079543e98e2cb015cd5922478fb1 SHA1 5cf411345f95b8e717cd44c15b25365726c87437 SHA256 d763eebb5915745ec26a3412822f40cb0e59cf0a6220fda5891b7ffc5ddc62ef
+MISC ChangeLog 4261 RMD160 3ab50d66f22fa80288a54c4aab785189bcbe278b SHA1 ccf35a78e2c22be436d2d214f420ef2a3d0bca9d SHA256 87b9ac55cbb9a3a015f8f8f7d307debd3599114fe46f2ef36acd7c80932dfe4c
MISC metadata.xml 800 RMD160 fdd14181d4b5139fc673ca5ca1e1cb27ae7e1389 SHA1 d001b860a04ec4ef4e3feddaa1291b0bbbca745d SHA256 b3dda2bf7c2e96ec1f2683202c33bd844d9ca480ba580a42732ba889d79be13b
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
+Version: GnuPG v2.0.10 (GNU/Linux)
-iEYEARECAAYFAkj3ol8ACgkQkKaRLQcq0GLnaQCeJ8LCnYf6Mbb5Kvhov9Zb7sJK
-qB8AniRe5d5IdXPyhlrS4YxRl4nquGHJ
-=Cruj
+iEYEARECAAYFAknE2mMACgkQn/5bYzqsSmHCNQCfWhdSnM0R3vJJKgDmrmR0fp1Q
+GuIAoJOMW4a0mc/pZ5r3T0zTUVGm1WzQ
+=r0ac
-----END PGP SIGNATURE-----
diff --git a/net-proxy/3proxy/files/3proxy-0.6-gentoo.patch b/net-proxy/3proxy/files/3proxy-0.6-gentoo.patch
new file mode 100644
index 000000000000..3e58b0bff92b
--- /dev/null
+++ b/net-proxy/3proxy/files/3proxy-0.6-gentoo.patch
@@ -0,0 +1,15 @@
+--- Makefile.unix
++++ Makefile.unix
+@@ -9,10 +9,10 @@
+ CC = gcc
+
+ # you may need -L/usr/pkg/lib for older NetBSD versions
+-CFLAGS = -Wall -g -O2 -c -pthread -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
++CFLAGS += -Wall -g -c -pthread -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
+ COUT = -o
+ LN = gcc
+-LDFLAGS = -Wall -O2 -pthread
++LDFLAGS += -Wall -pthread
+ # -lpthreads may be reuqired on some platforms instead of -pthreads
+ LIBS =
+ LNOUT = -o