diff options
author | Tim Harder <radhermit@gentoo.org> | 2015-06-23 00:24:42 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2015-06-23 00:24:42 +0000 |
commit | 9923e0fd05259dbba5a9da1c26875b2bca6a3232 (patch) | |
tree | 01fda20218ff76f429ca79240ed30b7eac0a526b /net-misc/proxychains | |
parent | Revbump to fix two repoman warnings and block monitoring-plugins. (diff) | |
download | gentoo-2-9923e0fd05259dbba5a9da1c26875b2bca6a3232.tar.gz gentoo-2-9923e0fd05259dbba5a9da1c26875b2bca6a3232.tar.bz2 gentoo-2-9923e0fd05259dbba5a9da1c26875b2bca6a3232.zip |
Version bump.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'net-misc/proxychains')
-rw-r--r-- | net-misc/proxychains/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/proxychains/files/proxychains-4.10-makefile.patch | 45 | ||||
-rw-r--r-- | net-misc/proxychains/proxychains-4.10.ebuild | 47 |
3 files changed, 99 insertions, 1 deletions
diff --git a/net-misc/proxychains/ChangeLog b/net-misc/proxychains/ChangeLog index 77861ab4e746..5c50f7ca117a 100644 --- a/net-misc/proxychains/ChangeLog +++ b/net-misc/proxychains/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/proxychains # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/proxychains/ChangeLog,v 1.34 2015/05/16 19:29:16 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/proxychains/ChangeLog,v 1.35 2015/06/23 00:24:42 radhermit Exp $ + +*proxychains-4.10 (23 Jun 2015) + + 23 Jun 2015; Tim Harder <radhermit@gentoo.org> +proxychains-4.10.ebuild, + +files/proxychains-4.10-makefile.patch: + Version bump. 16 May 2015; Tim Harder <radhermit@gentoo.org> -proxychains-4.2.0.ebuild, -proxychains-4.7.ebuild, -files/proxychains-4.2.0-makefile.patch, diff --git a/net-misc/proxychains/files/proxychains-4.10-makefile.patch b/net-misc/proxychains/files/proxychains-4.10-makefile.patch new file mode 100644 index 000000000000..5a3a2e1a6e8b --- /dev/null +++ b/net-misc/proxychains/files/proxychains-4.10-makefile.patch @@ -0,0 +1,45 @@ +--- proxychains-ng-4.10.orig/Makefile ++++ proxychains-ng-4.10/Makefile +@@ -22,11 +22,9 @@ + + GENH = src/version.h + +-CFLAGS += -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe +-NO_AS_NEEDED = -Wl,--no-as-needed +-LIBDL = -ldl +-LDFLAGS = -shared -fPIC $(NO_AS_NEEDED) $(LIBDL) -lpthread +-INC = ++CFLAGS = -Wall -std=c99 -D_GNU_SOURCE ++LIBS = -ldl -lpthread ++INC = + PIC = -fPIC + AR = $(CROSS_COMPILE)ar + RANLIB = $(CROSS_COMPILE)ranlib +@@ -35,11 +33,11 @@ + LD_SET_SONAME = -Wl,-soname= + INSTALL = ./tools/install.sh + +-LDSO_PATHNAME = libproxychains4.$(LDSO_SUFFIX) ++LDSO_PATHNAME = libproxychains.$(LDSO_SUFFIX) + + SHARED_LIBS = $(LDSO_PATHNAME) + ALL_LIBS = $(SHARED_LIBS) +-PXCHAINS = proxychains4 ++PXCHAINS = proxychains + ALL_TOOLS = $(PXCHAINS) + ALL_CONFIGS = src/proxychains.conf + +@@ -81,11 +79,10 @@ + $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_MAIN) $(INC) $(PIC) -c -o $@ $< + + $(LDSO_PATHNAME): $(LOBJS) +- $(CC) $(LDFLAGS) $(LD_SET_SONAME)$(LDSO_PATHNAME) $(USER_LDFLAGS) \ +- -o $@ $(LOBJS) ++ $(CC) $(LDFLAGS) -shared $(PIC) $(LD_SET_SONAME)$(LDSO_PATHNAME) -o $@ $(LOBJS) $(LIBS) + + $(ALL_TOOLS): $(OBJS) +- $(CC) src/main.o src/common.o $(USER_LDFLAGS) -o $(PXCHAINS) ++ $(CC) $(LDFLAGS) src/main.o src/common.o -o $(PXCHAINS) $(LIBS) + + + .PHONY: all clean install install-config install-libs install-tools diff --git a/net-misc/proxychains/proxychains-4.10.ebuild b/net-misc/proxychains/proxychains-4.10.ebuild new file mode 100644 index 000000000000..11792444a95c --- /dev/null +++ b/net-misc/proxychains/proxychains-4.10.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/proxychains/proxychains-4.10.ebuild,v 1.1 2015/06/23 00:24:42 radhermit Exp $ + +EAPI=5 + +inherit toolchain-funcs eutils multilib + +MY_PN=${PN}-ng +MY_P=${MY_PN}-${PV} + +DESCRIPTION="force any tcp connections to flow through a proxy (or proxy chain)" +HOMEPAGE="https://github.com/rofl0r/proxychains-ng/" +SRC_URI="https://github.com/rofl0r/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch + sed -i "s/^\(LDSO_SUFFIX\).*/\1 = so.${PV}/" Makefile || die + tc-export CC +} + +src_configure() { + # not autotools + ./configure \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --sysconfdir="${EPREFIX}"/etc \ + || die +} + +src_install() { + dobin ${PN} + dodoc AUTHORS README TODO + + dolib.so lib${PN}.so.${PV} + dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.${PV:0:1} + dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so + + insinto /etc + doins src/${PN}.conf +} |