diff options
author | 2014-06-23 17:38:29 +0000 | |
---|---|---|
committer | 2014-06-23 17:38:29 +0000 | |
commit | 106865699602babf3f880a3d3d84607ca2cc83d8 (patch) | |
tree | efbbb36016ca49b13258834411bb14448ce1308d /net-misc/proxychains | |
parent | Version bump, requested by hasufell. (diff) | |
download | gentoo-2-106865699602babf3f880a3d3d84607ca2cc83d8.tar.gz gentoo-2-106865699602babf3f880a3d3d84607ca2cc83d8.tar.bz2 gentoo-2-106865699602babf3f880a3d3d84607ca2cc83d8.zip |
Version bump to latest proxychains-ng release.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'net-misc/proxychains')
-rw-r--r-- | net-misc/proxychains/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/proxychains/files/proxychains-4.7-makefile.patch | 46 | ||||
-rw-r--r-- | net-misc/proxychains/proxychains-4.7.ebuild | 47 |
3 files changed, 101 insertions, 2 deletions
diff --git a/net-misc/proxychains/ChangeLog b/net-misc/proxychains/ChangeLog index 79f3344ce46e..ab63b2c2fd00 100644 --- a/net-misc/proxychains/ChangeLog +++ b/net-misc/proxychains/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/proxychains -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/proxychains/ChangeLog,v 1.26 2013/02/14 22:13:41 ago Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/proxychains/ChangeLog,v 1.27 2014/06/23 17:38:29 radhermit Exp $ + +*proxychains-4.7 (23 Jun 2014) + + 23 Jun 2014; Tim Harder <radhermit@gentoo.org> +proxychains-4.7.ebuild, + +files/proxychains-4.7-makefile.patch: + Version bump to latest proxychains-ng release. 14 Feb 2013; Agostino Sarubbo <ago@gentoo.org> proxychains-4.2.0.ebuild: Stable for ppc, wrt bug #457456 diff --git a/net-misc/proxychains/files/proxychains-4.7-makefile.patch b/net-misc/proxychains/files/proxychains-4.7-makefile.patch new file mode 100644 index 000000000000..4c26d48d326e --- /dev/null +++ b/net-misc/proxychains/files/proxychains-4.7-makefile.patch @@ -0,0 +1,46 @@ +--- proxychains-ng-4.7/Makefile ++++ proxychains-ng-4.7/Makefile +@@ -20,10 +20,8 @@ + src/allocator_thread.o src/ip_type.o src/stringdump.o \ + src/hostentdb.o src/hash.o src/debug.o + +-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 ++CFLAGS = -Wall -std=c99 -D_GNU_SOURCE ++LIBS = -ldl -lpthread + INC = + PIC = -fPIC + AR = $(CROSS_COMPILE)ar +@@ -33,11 +31,11 @@ + LD_SET_SONAME = -Wl,-soname= + INSTALL_FLAGS = -D -m + +-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) + + -include config.mak +@@ -63,13 +61,13 @@ + rm -f $(OBJS) + + %.o: %.c +- $(CC) $(CFLAGS) $(CFLAGS_MAIN) $(INC) $(PIC) -c -o $@ $< ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_MAIN) $(INC) $(PIC) -c -o $@ $< + + $(LDSO_PATHNAME): $(LOBJS) +- $(CC) $(LDFLAGS) $(LD_SET_SONAME)$(LDSO_PATHNAME) -o $@ $(LOBJS) ++ $(CC) $(LDFLAGS) -shared $(PIC) $(LD_SET_SONAME)$(LDSO_PATHNAME) -o $@ $(LOBJS) $(LIBS) + + $(ALL_TOOLS): $(OBJS) +- $(CC) src/main.o src/common.o -o $(PXCHAINS) ++ $(CC) $(LDFLAGS) src/main.o src/common.o -o $(PXCHAINS) $(LIBS) + + + .PHONY: all clean install install-config diff --git a/net-misc/proxychains/proxychains-4.7.ebuild b/net-misc/proxychains/proxychains-4.7.ebuild new file mode 100644 index 000000000000..67a52f2f3346 --- /dev/null +++ b/net-misc/proxychains/proxychains-4.7.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/proxychains/proxychains-4.7.ebuild,v 1.1 2014/06/23 17:38:29 radhermit Exp $ + +EAPI=5 + +inherit flag-o-matic 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 ChangeLog 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 +} |