--- /dev/null
+# 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')
+}
# 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.
Hash: SHA1
MD5 33b92c05283c63a405a328288ee78a7f 3proxy-0.5.1b.ebuild 1310
-MD5 94ca1879c5fc9cdb77e39c075b929c06 ChangeLog 1322
-MD5 8bd192560c1e5eaf46ed53db9d50f885 metadata.xml 800
+RMD160 b1a7d295cff5cd16d50e02b98ad5f1e319639286 3proxy-0.5.1b.ebuild 1310
+SHA256 0cf9729573426cf87970815a88daca0f89b3c37f23b8eef7559faeff145bbd18 3proxy-0.5.1b.ebuild 1310
+MD5 634d90f20876d8b718056e7026a794e0 3proxy-0.5.2.ebuild 1393
+RMD160 8d2da0d17fc5225c27a7bded0da85c923a2dbf32 3proxy-0.5.2.ebuild 1393
+SHA256 f2777760d06574e0a7bb6134b2b6564c044d1cf35ee4319b8413fa8f59b0a9c0 3proxy-0.5.2.ebuild 1393
+MD5 390b52afe25b1748e6240a6b1a99b8cb ChangeLog 1440
+RMD160 9d1ead317c3362fe6cf907a2aae979fbf6154f46 ChangeLog 1440
+SHA256 862fb52845c8e2db560f758ba6951ba99083cddb679946734dafe369a71aa586 ChangeLog 1440
MD5 8cf64a2e697152ac05289dd04447b5ea files/digest-3proxy-0.5.1b 62
+RMD160 27134c412553aa7153b37b3f0305e22ced487400 files/digest-3proxy-0.5.1b 62
+SHA256 5a5f330f670d7fa299f55987a8802ababa068d61e7a3a9853dd05adf1bfe8b1a files/digest-3proxy-0.5.1b 62
+MD5 7fd187137a836de56175855f4882fc02 files/digest-3proxy-0.5.2 229
+RMD160 bd89311e71357320353103671b2410823f0bee79 files/digest-3proxy-0.5.2 229
+SHA256 1a94ceadf0bd09cbb30e76d205c8067331a4a48f79f98698f1da891a3e706c60 files/digest-3proxy-0.5.2 229
+MD5 8bd192560c1e5eaf46ed53db9d50f885 metadata.xml 800
+RMD160 fdd14181d4b5139fc673ca5ca1e1cb27ae7e1389 metadata.xml 800
+SHA256 b3dda2bf7c2e96ec1f2683202c33bd844d9ca480ba580a42732ba889d79be13b metadata.xml 800
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.2.2 (GNU/Linux)
-iD8DBQFC6ynpNSP4Vda7IdsRAnyPAKCJrCKUecfy8xS4NkNeYZyHZMRYSwCfeIc1
-mnsJUqkUHBmpkS0Y9DyYA88=
-=hbxZ
+iD8DBQFEFiIh2+ySkm8kpY0RAsNcAKCERabJz+3jhIixzB1Lz4id18sQXACcC21h
+S47BvgkTmmHYkYG/77zhS5A=
+=eeiI
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 2aedce05bb6059b3447088473fe76798 3proxy-0.5.2.tgz 189404
+RMD160 bf563005cee727dff60c8aa29482c25e88176d1c 3proxy-0.5.2.tgz 189404
+SHA256 71a638eec594490aaed7ab73c96bc902321482058024a7138ad000b65fc6d6db 3proxy-0.5.2.tgz 189404