From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 00B68139085 for ; Sat, 14 Jan 2017 22:22:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 28C412341CA; Sat, 14 Jan 2017 22:22:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E651A2341CA for ; Sat, 14 Jan 2017 22:22:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 90CA7341134 for ; Sat, 14 Jan 2017 22:22:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C23E8253B for ; Sat, 14 Jan 2017 22:22:50 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1484432530.0d1eca2754c7c5fd91662efd1fbc1ec1c8ad666b.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/proxychains/, net-misc/proxychains/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/proxychains/Manifest net-misc/proxychains/files/proxychains-4.12-makefile.patch net-misc/proxychains/proxychains-4.12.ebuild X-VCS-Directories: net-misc/proxychains/files/ net-misc/proxychains/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 0d1eca2754c7c5fd91662efd1fbc1ec1c8ad666b X-VCS-Branch: master Date: Sat, 14 Jan 2017 22:22:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 872f2d02-46a8-4a49-9843-f0b1e0aac80d X-Archives-Hash: e04d50b07983cf1b103f1e2edaf485e3 commit: 0d1eca2754c7c5fd91662efd1fbc1ec1c8ad666b Author: Tim Harder gentoo org> AuthorDate: Sat Jan 14 22:07:54 2017 +0000 Commit: Tim Harder gentoo org> CommitDate: Sat Jan 14 22:22:10 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d1eca27 net-misc/proxychains: version bump to 4.12 net-misc/proxychains/Manifest | 1 + .../files/proxychains-4.12-makefile.patch | 43 +++++++++++++++++++ net-misc/proxychains/proxychains-4.12.ebuild | 49 ++++++++++++++++++++++ 3 files changed, 93 insertions(+) diff --git a/net-misc/proxychains/Manifest b/net-misc/proxychains/Manifest index 0698b31..62f5940 100644 --- a/net-misc/proxychains/Manifest +++ b/net-misc/proxychains/Manifest @@ -1 +1,2 @@ DIST proxychains-ng-4.11.tar.bz2 31856 SHA256 dcc4149808cd1fb5d9663cc09791f478805816b1f017381f424414c47f6376b6 SHA512 241365e8a8bbcead22c7844a2970f59bfc1ee9ef9a42a3f800823e70008bd976835d705a8b9894980c46307dce3a886514051023bafef113845531cb5d928e1c WHIRLPOOL 3e74678745ba09c7484f111f0ced0dd030efe0c3cd9ae427d996ca8240101ea0746e152dee84c5b0023305087e4bc0ed72e0b6589ec9b4ceba93549e3282ecc8 +DIST proxychains-ng-4.12.tar.xz 31816 SHA256 482a549935060417b629f32ddadd14f9c04df8249d9588f7f78a3303e3d03a4e SHA512 c1319065b2885fb16f1cd10092a25f49c20ace82dc67edcb2e8845fe79274fe63f5214d117eef3bfdffdc6aa8bf6904ea216047bd626043c5ecb36cd15d5560a WHIRLPOOL c24fef1501f08bf39e1d6c8a27d1d842c7036f3293d43b58c129b5eed49cf8e38c2909863ece08690d9b8c854a1e5e7339d027fe77034493f2d4fe25172a7853 diff --git a/net-misc/proxychains/files/proxychains-4.12-makefile.patch b/net-misc/proxychains/files/proxychains-4.12-makefile.patch new file mode 100644 index 00000000..4b3fe53 --- /dev/null +++ b/net-misc/proxychains/files/proxychains-4.12-makefile.patch @@ -0,0 +1,43 @@ +--- proxychains-ng-4.12/Makefile ++++ proxychains-ng-4.12/Makefile +@@ -22,10 +22,8 @@ + + GENH = src/version.h + +-CFLAGS += -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe +-NO_AS_NEEDED = -Wl,--no-as-needed +-LIBDL = -ldl +-LDFLAGS = -fPIC $(NO_AS_NEEDED) $(LIBDL) -lpthread ++CFLAGS = -Wall -std=c99 -D_GNU_SOURCE ++LIBS = -ldl -lpthread + INC = + PIC = -fPIC + AR = $(CROSS_COMPILE)ar +@@ -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) \ +- -shared -o $@ $(LOBJS) ++ $(CC) $(LDFLAGS) $(LD_SET_SONAME)$(LDSO_PATHNAME) -shared $(PIC) -o $@ $(LOBJS) + + $(ALL_TOOLS): $(OBJS) +- $(CC) src/main.o src/common.o $(USER_LDFLAGS) -o $(PXCHAINS) ++ $(CC) $(LDFLAGS) src/main.o src/common.o -o $(PXCHAINS) + + + .PHONY: all clean install install-config install-libs install-tools diff --git a/net-misc/proxychains/proxychains-4.12.ebuild b/net-misc/proxychains/proxychains-4.12.ebuild new file mode 100644 index 00000000..642d8eb --- /dev/null +++ b/net-misc/proxychains/proxychains-4.12.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit toolchain-funcs 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}/releases/download/v${PV}/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +S=${WORKDIR}/${MY_P} + +PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) + +src_prepare() { + default + 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 +}