diff options
Diffstat (limited to 'net-proxy/3proxy')
-rw-r--r-- | net-proxy/3proxy/3proxy-0.5.3k.ebuild | 55 | ||||
-rw-r--r-- | net-proxy/3proxy/3proxy-0.7.1.2.ebuild | 40 | ||||
-rw-r--r-- | net-proxy/3proxy/3proxy-0.7.1.4.ebuild | 40 | ||||
-rw-r--r-- | net-proxy/3proxy/3proxy-0.8.6.ebuild | 40 | ||||
-rw-r--r-- | net-proxy/3proxy/3proxy-0.8.8.ebuild | 41 | ||||
-rw-r--r-- | net-proxy/3proxy/3proxy-0.8.9.ebuild | 39 | ||||
-rw-r--r-- | net-proxy/3proxy/Manifest | 19 | ||||
-rw-r--r-- | net-proxy/3proxy/files/3proxy-0.5.3k-gentoo.patch | 26 | ||||
-rw-r--r-- | net-proxy/3proxy/files/3proxy-0.7.1.2-gentoo.patch | 43 | ||||
-rw-r--r-- | net-proxy/3proxy/files/3proxy-0.8.6-gentoo.patch | 43 | ||||
-rw-r--r-- | net-proxy/3proxy/files/3proxy-0.8.8-gentoo.patch | 43 | ||||
-rw-r--r-- | net-proxy/3proxy/metadata.xml | 26 |
12 files changed, 455 insertions, 0 deletions
diff --git a/net-proxy/3proxy/3proxy-0.5.3k.ebuild b/net-proxy/3proxy/3proxy-0.5.3k.ebuild new file mode 100644 index 000000000000..52aa87fc211d --- /dev/null +++ b/net-proxy/3proxy/3proxy-0.5.3k.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="" + +DEPEND="" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}"/${P}-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/3proxy-0.7.1.2.ebuild b/net-proxy/3proxy/3proxy-0.7.1.2.ebuild new file mode 100644 index 000000000000..685cfce08be6 --- /dev/null +++ b/net-proxy/3proxy/3proxy-0.7.1.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=6 +inherit eutils + +DESCRIPTION="A really tiny cross-platform proxy servers set" +HOMEPAGE="http://www.3proxy.ru/" +SRC_URI="http://3proxy.ru/${PV}/${P}.tgz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc" +IUSE="" + +S="${WORKDIR}/${PN}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + cp Makefile.Linux Makefile || die + default +} + +src_install() { + local x + + cd src || die + dobin 3proxy + for x in proxy socks ftppr pop3p tcppm udppm mycrypt dighosts countersutil ; do + newbin ${x} ${PN}-${x} + [[ -f "${S}"/man/${x}.8 ]] && newman "${S}"/man/${x}.8 ${PN}-${x}.8 + done + cd .. + + doman man/3proxy*.[38] + + dodoc Readme + docinto html + dodoc -r doc/html/* + docinto cfg + dodoc -r cfg/* +} diff --git a/net-proxy/3proxy/3proxy-0.7.1.4.ebuild b/net-proxy/3proxy/3proxy-0.7.1.4.ebuild new file mode 100644 index 000000000000..c9dc4bc113cf --- /dev/null +++ b/net-proxy/3proxy/3proxy-0.7.1.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=6 +inherit eutils + +DESCRIPTION="A really tiny cross-platform proxy servers set" +HOMEPAGE="http://www.3proxy.ru/" +SRC_URI="http://3proxy.ru/${PV}/${P}.tgz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc" +IUSE="" + +S="${WORKDIR}/${PN}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.7.1.2-gentoo.patch + cp Makefile.Linux Makefile || die + default +} + +src_install() { + local x + + cd src || die + dobin 3proxy + for x in proxy socks ftppr pop3p tcppm udppm mycrypt dighosts countersutil ; do + newbin ${x} ${PN}-${x} + [[ -f "${S}"/man/${x}.8 ]] && newman "${S}"/man/${x}.8 ${PN}-${x}.8 + done + cd .. + + doman man/3proxy*.[38] + + dodoc Readme + docinto html + dodoc -r doc/html/* + docinto cfg + dodoc -r cfg/* +} diff --git a/net-proxy/3proxy/3proxy-0.8.6.ebuild b/net-proxy/3proxy/3proxy-0.8.6.ebuild new file mode 100644 index 000000000000..f8c913ff35b8 --- /dev/null +++ b/net-proxy/3proxy/3proxy-0.8.6.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=6 +inherit eutils + +DESCRIPTION="A really tiny cross-platform proxy servers set" +HOMEPAGE="http://www.3proxy.ru/" +SRC_URI="http://3proxy.ru/${PV}/${P}.tgz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc" +IUSE="" + +S="${WORKDIR}/${PN}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + cp Makefile.Linux Makefile || die + default +} + +src_install() { + local x + + cd src || die + dobin 3proxy + for x in proxy socks ftppr pop3p tcppm udppm mycrypt dighosts icqpr smtpp; do + newbin ${x} ${PN}-${x} + [[ -f "${S}"/man/${x}.8 ]] && newman "${S}"/man/${x}.8 ${PN}-${x}.8 + done + cd .. + + doman man/3proxy*.[38] + + dodoc Readme + docinto html + dodoc -r doc/html/* + docinto cfg + dodoc -r cfg/* +} diff --git a/net-proxy/3proxy/3proxy-0.8.8.ebuild b/net-proxy/3proxy/3proxy-0.8.8.ebuild new file mode 100644 index 000000000000..f1f343e233af --- /dev/null +++ b/net-proxy/3proxy/3proxy-0.8.8.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=6 + +DESCRIPTION="A really tiny cross-platform proxy servers set" +HOMEPAGE="https://www.3proxy.ru/" +SRC_URI="https://github.com/z3APA3A/3proxy/archive/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc" +IUSE="" + +S="${WORKDIR}/${PN}-${P}" + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch +) + +DOCS=( README cfg ) +HTML_DOCS=( doc/html/. ) + +src_prepare() { + default + cp Makefile.Linux Makefile || die +} + +src_install() { + local x + + pushd src >/dev/null || die + dobin 3proxy + for x in proxy socks ftppr pop3p tcppm udppm mycrypt dighosts icqpr smtpp; do + newbin ${x} ${PN}-${x} + [[ -f "${S}"/man/${x}.8 ]] && newman "${S}"/man/${x}.8 ${PN}-${x}.8 + done + popd >/dev/null + + doman man/3proxy*.[38] + + einstalldocs +} diff --git a/net-proxy/3proxy/3proxy-0.8.9.ebuild b/net-proxy/3proxy/3proxy-0.8.9.ebuild new file mode 100644 index 000000000000..c8979db8e54d --- /dev/null +++ b/net-proxy/3proxy/3proxy-0.8.9.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=6 + +DESCRIPTION="A really tiny cross-platform proxy servers set" +HOMEPAGE="https://www.3proxy.ru/" +SRC_URI="https://github.com/z3APA3A/3proxy/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ppc x86" +IUSE="" + +PATCHES=( + "${FILESDIR}"/${PN}-0.8.8-gentoo.patch +) + +DOCS=( README cfg ) +HTML_DOCS=( doc/html/. ) + +src_prepare() { + default + cp Makefile.Linux Makefile || die +} + +src_install() { + local x + + pushd src >/dev/null || die + dobin 3proxy + for x in proxy socks ftppr pop3p tcppm udppm mycrypt dighosts icqpr smtpp; do + newbin ${x} ${PN}-${x} + [[ -f "${S}"/man/${x}.8 ]] && newman "${S}"/man/${x}.8 ${PN}-${x}.8 + done + popd >/dev/null + + doman man/3proxy*.[38] + + einstalldocs +} diff --git a/net-proxy/3proxy/Manifest b/net-proxy/3proxy/Manifest new file mode 100644 index 000000000000..a27e3e8078a6 --- /dev/null +++ b/net-proxy/3proxy/Manifest @@ -0,0 +1,19 @@ +AUX 3proxy-0.5.3k-gentoo.patch 956 SHA256 af4b7ff7dd0830b8d4aeb1ff3127621a40935a8d821da74e6e29ebae43ff8aa1 SHA512 857d72ad85d5dc5158eda402f0ad81ccd9410e1849c5c1f1a2fd86946ae65073ce5ac09f19e0d9cae940d285d161252045cb0d2b936dcb6121fae161a77df113 WHIRLPOOL 9dd0f2ddaea764193e67212ed12a7647856e02b5a1a296c624940a866b7f328fdff6faf2f132d0787b6ea5fc9300cfbadeb419dce5e550b833b6eb394c52c642 +AUX 3proxy-0.7.1.2-gentoo.patch 1536 SHA256 789e3dbe03040a1a2be700c9cfc09c7aac6a82585a296cf9674f29d9ce52db96 SHA512 e7e1f935bb241fec05705819d7f967898bcab4a670126d6ed6f5f6b96e392d11e3b6886fce7f7c81b13b0b1131c75787d9433e793b54d7c0bcc0deb92b3de469 WHIRLPOOL 9ede048cc8f95c2214a4dc0bff7bbae2b94aacb01b98406359fecf22fd954bfe3e9419d4137e8ffc817682b4231263a6790628544305859fb65e57aab9e5d264 +AUX 3proxy-0.8.6-gentoo.patch 1512 SHA256 7ec3f3f997d01a8c9efcad0a3e0ecd55b078c24a7827fc53a7e122c8a3abcf3b SHA512 6e5686af44cebe4cbb6aa45bfc5602ac40d018d98225d2788a1314d10bed861e8599e4d594ee9422835214cc2cf1994bb27fc65eb216996b254e19cca3d7b5b0 WHIRLPOOL c95fc1a7f4172596a01e34122cc48741f32bbb014e02de30dda7dddfea6562402fed936602a991779ffa43be67069e6728e2410001afe683b4dc43751f1230c7 +AUX 3proxy-0.8.8-gentoo.patch 1471 SHA256 40c053d5788bc074f63c2e40c485c3d3cbfd6b5f0543e31cd8d23af3b30cf44f SHA512 9c41df962691f8b2b832495a5e644fcbe58805839b2b40dd65564dc3eb9897de1a744677e2c4a032e39d64b34c4190893049f2ed86be8908f739f720633b2f3a WHIRLPOOL 248b79ebf7b459df6aa0a8a48f18ed6352739c706540a3855cb736421b29f9c8802187734b26fbe59a92467f129bf039530035e063aaa01393440fabc341ba85 +DIST 3proxy-0.5.3k.tgz 190797 SHA256 7bbe159a0157480c653ef3976495a9b1993435a44ea0e7c03784320e3ac28ea3 SHA512 d709d57fc7c1a31ab190dd4692a93d9a4866a0cfea4cb6d2ff8dc8f8a3ec2ff674496a4c63854580a933948a6f899db2cc21e5b82a6f854bc236e5779014ae00 WHIRLPOOL 98b7ccab3447674c82e2f8fb94f9840cc696038fb7a443d55795e9b32052c1de3e76797a444bad1daed8bee27835b930c045073b666cd7fb54bc643c5b962760 +DIST 3proxy-0.7.1.2.tgz 478532 SHA256 e1157aab3ff8215a3b1f35c61a9d6011e60ad38b52d9f74a1fc4cae14ba16a31 SHA512 c7f4e25d2630e8c6c25bbc09a5f9f201448d57a85d404cd1f6304946d9a31083845bd8d481f610fe1cd1f56be349eb774cdae135430efcfdd1952a0403d01735 WHIRLPOOL bdfd70a0054b71457f49bcc09af8f26d1cf371d10fb60adc256ad5a60f54167fc1d8e26f9355785223647392b5697adaa4ebeec26c7009a09e1f8d317cdf7089 +DIST 3proxy-0.7.1.4.tgz 478617 SHA256 905a080ea3ba45a522a2d871bfdda94168561f7dd81c01a4be3540eda8f6c98f SHA512 af361666ec6d53decee6a66f4ec5621e0bbaccfaae8f6cadd5c00c91a417916b2b1b97a660fd47566677c3343f603a45b92f085a48a26eaa429398938d29383a WHIRLPOOL 08ab0ff3a26bce973ffe0077bddc84f356c0c8f8e3a8c06faadb932b10f8c8fc7000d3aaf372bcfe6a2ffcfa4516b23dc3f10bc5509afd404af466d0f765f1d5 +DIST 3proxy-0.8.6.tgz 508359 SHA256 7819237ce043465d887cb0b25d8594de932ed9a694a32a4e46b895ee55675fa2 SHA512 394fcf8f6d088543b2380ad6bf058d276caed29300df7de963895add788a867cab5860f6fc3f1279e10304db5b0ac147af232f9acd3986188bfa56ad2307aae4 WHIRLPOOL d1640a5d0765b3332263ed09e9349e470a5b8c5f57ba65b993cff6bb89d3818ee4da40193e7bdbcfec891810ffe05db02ae5ad25216e00613738e302c1880c88 +DIST 3proxy-0.8.8.tar.gz 497039 SHA256 a614527db4056a29672362b6491378d74dbcc21433efa293d351d225d2cccf67 SHA512 ea35ae862f006428950264a673266cff016ad35f3fcbfc842438fef8b1f484c665cfdf30ad1346527c1b18d0c552e3f806416a73f5cc1d35fc1045e322ea4e3d WHIRLPOOL 13587ae2ac034a5342852b426b270eb32005675799ae9d42951b1f0b0944259abb342e748cbbba3bcdf77d3071779d0aca836aef12caa67f670c267f59663e40 +DIST 3proxy-0.8.9.tar.gz 497006 SHA256 6c06e5ba2267bb63f6ac3f1293949ff4ff4988fad88fedd3fe93a8b1ba1ff21f SHA512 35153882fec7077b05b23f9cea91443126a8a9faf9818915612e0739196a8bd1f00e0bcefb339a86bad10bb0c1b9891bd06847934787f4758ec55e6cc2e9e815 WHIRLPOOL 251c8c7a79d20d69ae53ac1613fbacf9107c39c72b7a9b22727f12c123503d9d241b5ff6bdbfa78454aa1696e83c3020199df1acbe3afd624ff494b5ca3ddf2e +EBUILD 3proxy-0.5.3k.ebuild 1077 SHA256 7321f64b97a88eae76fca792bfdb447aca96e25ba7551db5b2d47860d43504ba SHA512 fa39bb3d3ba77ecbfba19d91f6832a5e2ce74ef76b33c05f0cc2f95a11f96eedb2d58f598dc39d052cbb26d22edf3ebe073bb4064c34435c4547bd186c22dbab WHIRLPOOL 342aeb4d363b72e762617550a04cd580b59b1d4d01afa577d0cb2d7e2d7e632a50912279f1f710d2a412ad0a8fff4a96c711f79747b4c620ab599632486e3994 +EBUILD 3proxy-0.7.1.2.ebuild 801 SHA256 63073a9ff7db16b4bf3a850c44100051a84302faa65e04a0e874613e094d5014 SHA512 9d7c225b7f753b17aa1f71e5d2b63b22bc0bea6d9c1d87b338c9f0e009b14f26ff7af4d93a006107bc292e8a4ed968b0e04e951cd734f2e3f5dcfec9ad8ffdce WHIRLPOOL 874210aea1e718d06ff02e20960857d6901cd7911f49ba2639592ffa6c59b1e5a4803ab3adf716f28e83a1e21703727f2b5d5cb66a0b6a9322f6bde63e168c7b +EBUILD 3proxy-0.7.1.4.ebuild 810 SHA256 46d39dec7e908e02497cbf8ff23809b5e3c3893dca9557c7a6fbad9fc01d31fa SHA512 b650a9ff640e18c9cf5fd5508639b1d5c5c76b196101d9d9b4873bca1446faa56e0e049e98913229f0a3ca5c3fd1e558e9c6d7b0ad1185cbe4c081667fea2da1 WHIRLPOOL 0347c5a10b24bfd9f297517c67e18f1f736ae1a4eb72ba12a8d93b812f035a0376ac0c94639a7f117ec2640362cd13178f49227118c2f9b82650fa6498371ca7 +EBUILD 3proxy-0.8.6.ebuild 799 SHA256 f94f41da15aff7a4d764c3f5f55fffa12306eff234f4abc0f3c47df3161e9fff SHA512 b2e8ecaae5745a3b44ac262cdac96584de5946234cfebc301ed55423e43caad6883463eda34224f798358f03f9e6f22fef5bdeb421fdad4f4aaf0eac4fc052f1 WHIRLPOOL 1bdab204cc036fcf397daa920f3540e128df1a01cd3d7c20b5feb0b5177692220a6e81258d5d3e10a6b332a0a4caa3b682c44be6eeffccd6a8d1fb19a205f6e0 +EBUILD 3proxy-0.8.8.ebuild 824 SHA256 454ad08b80014b0e5ca582f0817841778ac496247fbc282bfd1f947855d4dc98 SHA512 e862d3efd0774054d2f0e6ba23c7494761591664df59cd27eda1492799b776e08076d62aa3a4fa47d50847fa63621ccc5e614ee6d993f4bf5c65692aef1c0211 WHIRLPOOL aa13501f00325b9ed2e6457765e7e8b5e8e2151f6369ed56abdc27230b595bda14a18d9e9038d9904a25d8132e949c6b1caf4555906297cf704338f7f977d837 +EBUILD 3proxy-0.8.9.ebuild 829 SHA256 cb60cd8a99d87ba293b3e0fa32bd9ab2b383b1c5537debe5c7e2d72d042d2235 SHA512 cddcc60addcf96dac36d13e97104b532acf5e0b856869283cea711e2cfbd337292372d041810a8f676477d7c0aca17da85ffa431ded7c8438c9549d1172cbb8a WHIRLPOOL fa386349df4a58a888c247b17a100dc558b5ae92512855dd5360ade81ba249935857b3f9b8c5d810a2a87eda1c316b5b74c4fb7853b2852ed8aa8012d87b0824 +MISC ChangeLog 4559 SHA256 85675d8f97105f30bd3f735ffc171102a6bf1a449f1e26367750a5ad115a6691 SHA512 d895df361ea78165ee338207fe2e1f8bb97310167df9c012e8b2221fa2a286f9219af7d3880a252912790c0152d232c2f120e5b139041efc8c70b41177ffcaca WHIRLPOOL a0376b218b402996abd763be0d796a2147ee42fd4df338ac5cf7cb11d355bd3dd508fffd3ecee102d9599a62401e5abfe38e7eefb2cdb594df33a9e4b6608adb +MISC ChangeLog-2015 4815 SHA256 0ca6fc5064ce0818190f95c0387985024918d42c790cd496c2d9d7c085014e2e SHA512 ecb871916618986c1a49204d19263c597dd2484f6bdeddd978dae7547bc1e116f9790836c9a657577ad0873b314d3d259c0ed43bdfcd5b6e57f48f262c9fdcbc WHIRLPOOL 577c3b9a8ae58655f3a7cb154a12d27787f8ae63a24637b61c668c819d3c3cdbf937b5e59a60b72b8c2b59effb535b2be09ccb45ed55031a9da17148479fb3d7 +MISC metadata.xml 1102 SHA256 283643d0f2f6a62971041041365e2d791185c1c19284a85abd5df41247e9753e SHA512 f9c7b4b3b9f045b76049a75f2e65f70a316a3ad08f44a39d1c7ea23e5b23bc92232eae7487b4bf7534bb2fbd2655a9debf35ac3ba8ee4de6583d49f61bfc6076 WHIRLPOOL 9595b9cd2f0c6c2e917dffb82e075a4c9e7c42582718a351fe8604f2f5d65927cbb0753287c3805302faaf0197989d6d13930fd55bd01dbf638112cf020bf31e diff --git a/net-proxy/3proxy/files/3proxy-0.5.3k-gentoo.patch b/net-proxy/3proxy/files/3proxy-0.5.3k-gentoo.patch new file mode 100644 index 000000000000..a88a28780432 --- /dev/null +++ b/net-proxy/3proxy/files/3proxy-0.5.3k-gentoo.patch @@ -0,0 +1,26 @@ +--- Makefile.unix.orig 2005-04-30 18:29:00.000000000 +0000 ++++ Makefile.unix 2008-10-12 17:18:21.000000000 +0000 +@@ -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 +--- src/stringtable.c.orig 2008-01-09 21:14:46.000000000 +0000 ++++ src/stringtable.c 2008-10-12 17:19:19.000000000 +0000 +@@ -23,7 +23,7 @@ + /* 19 */ NULL, + #ifndef TPROXY_CONF + #ifndef _WIN32 +-/* 20 */ (unsigned char *)"/usr/local/etc/3proxy.cfg", ++/* 20 */ (unsigned char *)"/etc/3proxy.cfg", + #else + /* 20 */ (unsigned char *)"3proxy.cfg", + #endif diff --git a/net-proxy/3proxy/files/3proxy-0.7.1.2-gentoo.patch b/net-proxy/3proxy/files/3proxy-0.7.1.2-gentoo.patch new file mode 100644 index 000000000000..715992bdc9d8 --- /dev/null +++ b/net-proxy/3proxy/files/3proxy-0.7.1.2-gentoo.patch @@ -0,0 +1,43 @@ +--- Makefile.Linux.orig 2015-04-18 01:55:14.195955388 +0300 ++++ Makefile.Linux 2015-04-21 02:30:16.835282128 +0300 +@@ -11,11 +11,11 @@ + BUILDDIR =
+ CC = gcc
+
+-CFLAGS = -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
++CFLAGS += -Wall -g -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
+ COUT = -o
+ LN = gcc
+ DCFLAGS = -fpic
+-LDFLAGS = -Wall -O2 -pthread
++LDFLAGS += -Wall -pthread
+ DLFLAGS = -shared
+ DLSUFFICS = .ld.so
+ # -lpthreads may be reuqired on some platforms instead of -pthreads
+@@ -38,12 +38,12 @@ + include Makefile.inc
+
+ allplugins:
+- @list='$(PLUGINS)'; for p in $$list; do cp Makefile Makefile.var plugins/$$p; cd plugins/$$p ; make ; cd ../.. ; done
++ @list='$(PLUGINS)'; for p in $$list; do cp Makefile Makefile.var plugins/$$p; cd plugins/$$p ; $(MAKE) ; cd ../.. ; done
+
+ DESTDIR =
+-prefix = /usr/local
++prefix =
+ exec_prefix = $(prefix)
+-man_prefix = $(prefix)/share
++man_prefix = $(prefix)/usr/share
+
+ INSTALL = /usr/bin/install
+ INSTALL_BIN = $(INSTALL) -m 755
+--- src/stringtable.c.orig 2015-04-21 02:23:10.895258697 +0300 ++++ src/stringtable.c 2015-04-21 02:23:31.141926478 +0300 +@@ -38,7 +38,7 @@ + /* 24 */ NULL,
+ #ifndef TPROXY_CONF
+ #ifndef _WIN32
+-/* 25 */ (unsigned char *)"/usr/local/etc/3proxy/3proxy.cfg",
++/* 25 */ (unsigned char *)"/etc/3proxy/3proxy.cfg",
+ #else
+ /* 25 */ (unsigned char *)"3proxy.cfg",
+ #endif
diff --git a/net-proxy/3proxy/files/3proxy-0.8.6-gentoo.patch b/net-proxy/3proxy/files/3proxy-0.8.6-gentoo.patch new file mode 100644 index 000000000000..d12c9b2b5d65 --- /dev/null +++ b/net-proxy/3proxy/files/3proxy-0.8.6-gentoo.patch @@ -0,0 +1,43 @@ +--- Makefile.Linux.orig 2016-03-23 07:25:19.209178284 +0200 ++++ Makefile.Linux 2016-03-23 07:27:06.704181518 +0200 +@@ -10,11 +10,11 @@ + BUILDDIR =
+ CC = gcc
+
+-CFLAGS = -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
++CFLAGS += -g -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
+ COUT = -o
+ LN = gcc
+ DCFLAGS = -fpic
+-LDFLAGS = -O2 -pthread
++LDFLAGS += -pthread
+ DLFLAGS = -shared
+ DLSUFFICS = .ld.so
+ # -lpthreads may be reuqired on some platforms instead of -pthreads
+@@ -39,12 +39,12 @@ + include Makefile.inc
+
+ allplugins:
+- @list='$(PLUGINS)'; for p in $$list; do cp Makefile Makefile.var plugins/$$p; cd plugins/$$p ; make ; cd ../.. ; done
++ @list='$(PLUGINS)'; for p in $$list; do cp Makefile Makefile.var plugins/$$p; cd plugins/$$p ; $(MAKE) ; cd ../.. ; done
+
+ DESTDIR =
+-prefix = /usr/local
++prefix =
+ exec_prefix = $(prefix)
+-man_prefix = $(prefix)/share
++man_prefix = $(prefix)/usr/share
+
+ INSTALL = /usr/bin/install
+ INSTALL_BIN = $(INSTALL) -m 755
+--- src/stringtable.c.orig 2016-03-23 07:27:41.216182556 +0200 ++++ src/stringtable.c 2016-03-23 07:27:55.280182979 +0200 +@@ -38,7 +38,7 @@ + /* 24 */ NULL,
+ #ifndef TPROXY_CONF
+ #ifndef _WIN32
+-/* 25 */ (unsigned char *)"/usr/local/etc/3proxy/3proxy.cfg",
++/* 25 */ (unsigned char *)"/etc/3proxy/3proxy.cfg",
+ #else
+ /* 25 */ (unsigned char *)"3proxy.cfg",
+ #endif
diff --git a/net-proxy/3proxy/files/3proxy-0.8.8-gentoo.patch b/net-proxy/3proxy/files/3proxy-0.8.8-gentoo.patch new file mode 100644 index 000000000000..1f8d478cd086 --- /dev/null +++ b/net-proxy/3proxy/files/3proxy-0.8.8-gentoo.patch @@ -0,0 +1,43 @@ +--- a/Makefile.Linux 2016-12-16 20:24:53.809856430 +0200 ++++ b/Makefile.Linux 2016-12-16 20:26:24.912859170 +0200 +@@ -10,11 +10,11 @@ + BUILDDIR = + CC = gcc + +-CFLAGS = -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL ++CFLAGS += -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL + COUT = -o + LN = gcc + DCFLAGS = -fpic +-LDFLAGS = -O2 -pthread ++LDFLAGS += -pthread + DLFLAGS = -shared + DLSUFFICS = .ld.so + # -lpthreads may be reuqired on some platforms instead of -pthreads +@@ -39,12 +39,12 @@ + include Makefile.inc + + allplugins: +- @list='$(PLUGINS)'; for p in $$list; do cp Makefile Makefile.var plugins/$$p; cd plugins/$$p ; make ; cd ../.. ; done ++ @list='$(PLUGINS)'; for p in $$list; do cp Makefile Makefile.var plugins/$$p; cd plugins/$$p ; $(MAKE) ; cd ../.. ; done + + DESTDIR = +-prefix = /usr/local ++prefix = + exec_prefix = $(prefix) +-man_prefix = $(prefix)/share ++man_prefix = $(prefix)/usr/share + + INSTALL = /usr/bin/install + INSTALL_BIN = $(INSTALL) -m 755 +--- a/src/stringtable.c 2016-12-16 20:24:53.811856430 +0200 ++++ b/src/stringtable.c 2016-12-16 20:26:48.288859873 +0200 +@@ -38,7 +38,7 @@ + /* 24 */ NULL, + #ifndef TPROXY_CONF + #ifndef _WIN32 +-/* 25 */ (unsigned char *)"/usr/local/etc/3proxy/3proxy.cfg", ++/* 25 */ (unsigned char *)"/etc/3proxy/3proxy.cfg", + #else + /* 25 */ (unsigned char *)"3proxy.cfg", + #endif diff --git a/net-proxy/3proxy/metadata.xml b/net-proxy/3proxy/metadata.xml new file mode 100644 index 000000000000..f9ccb9ec7eab --- /dev/null +++ b/net-proxy/3proxy/metadata.xml @@ -0,0 +1,26 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>powerman-asdf@yandex.ru</email> + <name>Alex Efros</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + 3Proxy is really tiny cross-platform proxy servers set. It includes + HTTP proxy with HTTPS and FTP support, SOCKSv4/SOCKSv4.5/SOCKSv5 proxy, + POP3 proxy, FTP proxy, TCP and UDP portmappers. You can use every proxy + as a standalone program (socks, proxy, tcppm, udppm, pop3p) or use + combined program (3proxy). Combined proxy additionally supports + features like access control, bandwidth limiting, limiting + daily/weekly/monthly traffic amount, proxy chaining, log rotation, + sylog and ODBC logging, etc. It's created to be small, simple (I'd + like to say secure - but it's just a beta) and yet functional. + </longdescription> + <upstream> + <remote-id type="github">z3APA3A/3proxy</remote-id> + </upstream> +</pkgmetadata> |