diff options
author | Alex Efros <powerman@powerman.name> | 2016-12-16 20:34:08 +0200 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-02-12 23:01:11 +1100 |
commit | efd18d8e86a5ead0f454310f3e750a38ed82e813 (patch) | |
tree | 0cf275c89e2352994189ed863e358156b69ce405 /net-proxy | |
parent | app-i18n/jfbterm: add patch from Fedora fixing build with gcc-5 (diff) | |
download | gentoo-efd18d8e86a5ead0f454310f3e750a38ed82e813.tar.gz gentoo-efd18d8e86a5ead0f454310f3e750a38ed82e813.tar.bz2 gentoo-efd18d8e86a5ead0f454310f3e750a38ed82e813.zip |
net-proxy/3proxy: version bump to 0.8.8
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/3proxy/3proxy-0.8.8.ebuild | 42 | ||||
-rw-r--r-- | net-proxy/3proxy/Manifest | 1 | ||||
-rw-r--r-- | net-proxy/3proxy/files/3proxy-0.8.8-gentoo.patch | 43 |
3 files changed, 86 insertions, 0 deletions
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..0226bc84dbe2 --- /dev/null +++ b/net-proxy/3proxy/3proxy-0.8.8.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ +EAPI=6 + +DESCRIPTION="A really tiny cross-platform proxy servers set" +HOMEPAGE="http://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/Manifest b/net-proxy/3proxy/Manifest index 44312a92b93b..d9fa5d61e48b 100644 --- a/net-proxy/3proxy/Manifest +++ b/net-proxy/3proxy/Manifest @@ -2,3 +2,4 @@ DIST 3proxy-0.5.3k.tgz 190797 SHA256 7bbe159a0157480c653ef3976495a9b1993435a44ea 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 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..a88dedefff98 --- /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 += -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 +--- 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 |