--- /dev/null
+# 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.3h.ebuild,v 1.1 2007/04/13 13:26:41 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')
+}
# ChangeLog for net-proxy/3proxy
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/ChangeLog,v 1.12 2007/04/11 07:05:50 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/ChangeLog,v 1.13 2007/04/13 13:26:41 mrness Exp $
+
+*3proxy-0.5.3h (13 Apr 2007)
+
+ 13 Apr 2007; Alin Năstac <mrness@gentoo.org> +3proxy-0.5.3h.ebuild:
+ Version bumped wrt security bug #174429.
11 Apr 2007; Alin Năstac <mrness@gentoo.org> -3proxy-0.5.3a.ebuild,
3proxy-0.5.3g.ebuild:
DIST 3proxy-0.5.2.tgz 189404 RMD160 bf563005cee727dff60c8aa29482c25e88176d1c SHA1 71bf20d8b34e642d71e9977535affd0462c9b97c SHA256 71a638eec594490aaed7ab73c96bc902321482058024a7138ad000b65fc6d6db
DIST 3proxy-0.5.3g.tgz 190477 RMD160 c316fec19ec31056c67a5debbbc899deb790752d SHA1 79ebd65bce28565606392bb00ff97bf2a903a67b SHA256 ff19976a4b15b2702f40db41c1d0d674c7d99697c03977b6777b7f2363e9bf56
+DIST 3proxy-0.5.3h.tgz 190566 RMD160 39153b015a22e26c43bec971087590960d485650 SHA1 2b1e9395ff7b6e3d1eceaeaa69577de67a4d236d SHA256 1e0b8517d8bd73b0f5469a09112c812822b09dacea9c59bf9d87a82a8a2cc221
EBUILD 3proxy-0.5.2.ebuild 1390 RMD160 4d05c4f6c7af84b80e09f77ac5561a4c504613d7 SHA1 023691af4d736940ff4db8b0afa3c78e2eb8ed84 SHA256 35e96b1d9b66dde89ae3fca096e430f95a4b1ec7e9234dd20a26816b36975ec3
MD5 f783352bea2612a899914b2e5361a654 3proxy-0.5.2.ebuild 1390
RMD160 4d05c4f6c7af84b80e09f77ac5561a4c504613d7 3proxy-0.5.2.ebuild 1390
MD5 383a94019e6866c8826c78e1072b2cc6 3proxy-0.5.3g.ebuild 1382
RMD160 2b6ae80b154bd01b6dd8d821541bbe0b8025d2ee 3proxy-0.5.3g.ebuild 1382
SHA256 d6cc81dfd157f7c088d1b8b6ac2b4ddcea2614f03a098994ab9f2c7964b68971 3proxy-0.5.3g.ebuild 1382
-MISC ChangeLog 2122 RMD160 5e0298cee5df9f82abd72cb001207d4d6aec21ac SHA1 20307d6686a5c2df97fa2e9d8d98d94fffce47f6 SHA256 d7f2216dd8882f703a29890059a194237338e2b9602adfd8406fcdfa835d672b
-MD5 55778e6936a53e67b70c6e27cf370faa ChangeLog 2122
-RMD160 5e0298cee5df9f82abd72cb001207d4d6aec21ac ChangeLog 2122
-SHA256 d7f2216dd8882f703a29890059a194237338e2b9602adfd8406fcdfa835d672b ChangeLog 2122
+EBUILD 3proxy-0.5.3h.ebuild 1382 RMD160 1d59a5374e74cab45a2a48cda663065f3def5823 SHA1 e9b5f9d0bee9174270d913c5299e7147649d0a1d SHA256 f73a36cb8ff7b6c3bcaf9c86af5d1c543b5b94c8e54fd9d392e38015248c314f
+MD5 8867b19013b3511ee79487b474379899 3proxy-0.5.3h.ebuild 1382
+RMD160 1d59a5374e74cab45a2a48cda663065f3def5823 3proxy-0.5.3h.ebuild 1382
+SHA256 f73a36cb8ff7b6c3bcaf9c86af5d1c543b5b94c8e54fd9d392e38015248c314f 3proxy-0.5.3h.ebuild 1382
+MISC ChangeLog 2267 RMD160 2311ef4ace5ccbe9f8e66a372ac3bfaba64f4534 SHA1 3d9ef9fd9585c812ff4eba031b4f077b95d91e2e SHA256 61a7aa4d0515ddb21cbeec49412866c9447f081968e8be29ea80862340ef3d6f
+MD5 ef6800536095656a015c5563c440d5bd ChangeLog 2267
+RMD160 2311ef4ace5ccbe9f8e66a372ac3bfaba64f4534 ChangeLog 2267
+SHA256 61a7aa4d0515ddb21cbeec49412866c9447f081968e8be29ea80862340ef3d6f ChangeLog 2267
MISC metadata.xml 800 RMD160 fdd14181d4b5139fc673ca5ca1e1cb27ae7e1389 SHA1 d001b860a04ec4ef4e3feddaa1291b0bbbca745d SHA256 b3dda2bf7c2e96ec1f2683202c33bd844d9ca480ba580a42732ba889d79be13b
MD5 8bd192560c1e5eaf46ed53db9d50f885 metadata.xml 800
RMD160 fdd14181d4b5139fc673ca5ca1e1cb27ae7e1389 metadata.xml 800
MD5 4704f3e5765dc531e83b3e91a3b3328b files/digest-3proxy-0.5.3g 232
RMD160 7f81b3295802bb141ae45217b31e555c4a6316dd files/digest-3proxy-0.5.3g 232
SHA256 90439df6ef9eb78b914a42629427fb786bf94b369da2dc1c6e90ff9d06894b78 files/digest-3proxy-0.5.3g 232
+MD5 950679aeff6a08ba4ac0509170eeaa10 files/digest-3proxy-0.5.3h 232
+RMD160 b155214d53b5155316ec4a2b989c02ede3e12abc files/digest-3proxy-0.5.3h 232
+SHA256 ccec0c0c215193791330d4ea1a98d8180933dbcc56629150b94817b6b90687f6 files/digest-3proxy-0.5.3h 232
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)
-iD8DBQFGHIjZJnxX6mF440QRAk4/AJ9bb05xzEj64ZLVq0SJ1iDveewo9wCePaJX
-wFPD9+0u1/xAQy1BrFn1ENY=
-=QuJz
+iD8DBQFGH4UdJnxX6mF440QRApfYAJ46ApURzSLSfSjOBLxCR92ncePa2QCeMEnX
+H9JUWTbxTYH3Zc0OkC9R+u8=
+=HgtH
-----END PGP SIGNATURE-----