* [gentoo-commits] repo/gentoo:master commit in: net-misc/proxychains/, net-misc/proxychains/files/
@ 2016-03-12 7:09 Tim Harder
0 siblings, 0 replies; 5+ messages in thread
From: Tim Harder @ 2016-03-12 7:09 UTC (permalink / raw
To: gentoo-commits
commit: 8daffb7c61b857c3ca8b117e0a5b7078b69fb454
Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 12 07:09:09 2016 +0000
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Sat Mar 12 07:09:09 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8daffb7c
net-misc/proxychains: remove old
net-misc/proxychains/Manifest | 1 -
.../files/proxychains-4.8.1-makefile.patch | 42 -------------------
net-misc/proxychains/proxychains-4.8.1.ebuild | 47 ----------------------
3 files changed, 90 deletions(-)
diff --git a/net-misc/proxychains/Manifest b/net-misc/proxychains/Manifest
index 36e7040..5eda8b9 100644
--- a/net-misc/proxychains/Manifest
+++ b/net-misc/proxychains/Manifest
@@ -1,3 +1,2 @@
DIST proxychains-ng-4.10.tar.gz 33266 SHA256 0b828f3b1138879a14d54342738dbe943a89db1c467cdb25e676eb953ad8cd5e SHA512 4a51d1d279f213e4431253296ba5b7bd2bf05cbe7d92f49db43f9ac272c62a1bd7fa36e4a40bbc11e599b3f01ae97db245baec3fa013a50741a0719011e6ae82 WHIRLPOOL 463f101974425e3666c2c2274a40c8bffa898d2f048807355793111e166e99c036fd50defd1bec023d0a5e1fe4305223979e0c287a451c6af27d62f8ce26aa5f
DIST proxychains-ng-4.11.tar.bz2 31856 SHA256 dcc4149808cd1fb5d9663cc09791f478805816b1f017381f424414c47f6376b6 SHA512 241365e8a8bbcead22c7844a2970f59bfc1ee9ef9a42a3f800823e70008bd976835d705a8b9894980c46307dce3a886514051023bafef113845531cb5d928e1c WHIRLPOOL 3e74678745ba09c7484f111f0ced0dd030efe0c3cd9ae427d996ca8240101ea0746e152dee84c5b0023305087e4bc0ed72e0b6589ec9b4ceba93549e3282ecc8
-DIST proxychains-ng-4.8.1.tar.gz 32701 SHA256 7b0680e7f60637e674f7142433e23ccb3cec1b478378a22a335c074784bab4b2 SHA512 1e6917d2aaa69d6d1d1bb33267a72b2efeed6216b06f203082b055650b506dade654bbf36a3dc2c52729e64265880a39d9af8a5a1e5cbfd27e8f52488a9a051e WHIRLPOOL 8cb009beb8e709a78a70b234dc37eafabed83cea904536ef879ab5f2d1d3eea7b2a33c247d51f8e4197aacb2116d2c273774be47dc5cc9e03f63a99898a5c2ae
diff --git a/net-misc/proxychains/files/proxychains-4.8.1-makefile.patch b/net-misc/proxychains/files/proxychains-4.8.1-makefile.patch
deleted file mode 100644
index 0658838..0000000
--- a/net-misc/proxychains/files/proxychains-4.8.1-makefile.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- proxychains-ng-4.8.1/Makefile
-+++ proxychains-ng-4.8.1/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 = -shared -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,10 +79,10 @@
- $(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 install-libs install-tools
diff --git a/net-misc/proxychains/proxychains-4.8.1.ebuild b/net-misc/proxychains/proxychains-4.8.1.ebuild
deleted file mode 100644
index 0ed40dd..0000000
--- a/net-misc/proxychains/proxychains-4.8.1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/proxychains/, net-misc/proxychains/files/
@ 2017-01-14 22:22 Tim Harder
0 siblings, 0 replies; 5+ messages in thread
From: Tim Harder @ 2017-01-14 22:22 UTC (permalink / raw
To: gentoo-commits
commit: 0d1eca2754c7c5fd91662efd1fbc1ec1c8ad666b
Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 14 22:07:54 2017 +0000
Commit: Tim Harder <radhermit <AT> gentoo <DOT> 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
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/proxychains/, net-misc/proxychains/files/
@ 2017-01-20 7:30 Tim Harder
0 siblings, 0 replies; 5+ messages in thread
From: Tim Harder @ 2017-01-20 7:30 UTC (permalink / raw
To: gentoo-commits
commit: 58c4c02fb87e486ab09da55473a5318c05e55987
Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 20 07:28:08 2017 +0000
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Fri Jan 20 07:29:58 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58c4c02f
net-misc/proxychains: add missing linking libs
net-misc/proxychains/files/proxychains-4.12-makefile.patch | 2 +-
.../proxychains/{proxychains-4.12.ebuild => proxychains-4.12-r1.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/proxychains/files/proxychains-4.12-makefile.patch b/net-misc/proxychains/files/proxychains-4.12-makefile.patch
index 4b3fe53..98fdaac 100644
--- a/net-misc/proxychains/files/proxychains-4.12-makefile.patch
+++ b/net-misc/proxychains/files/proxychains-4.12-makefile.patch
@@ -33,7 +33,7 @@
$(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)
++ $(CC) $(LDFLAGS) $(LD_SET_SONAME)$(LDSO_PATHNAME) -shared $(PIC) -o $@ $(LOBJS) $(LIBS)
$(ALL_TOOLS): $(OBJS)
- $(CC) src/main.o src/common.o $(USER_LDFLAGS) -o $(PXCHAINS)
diff --git a/net-misc/proxychains/proxychains-4.12.ebuild b/net-misc/proxychains/proxychains-4.12-r1.ebuild
similarity index 100%
rename from net-misc/proxychains/proxychains-4.12.ebuild
rename to net-misc/proxychains/proxychains-4.12-r1.ebuild
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/proxychains/, net-misc/proxychains/files/
@ 2018-01-05 7:28 Tim Harder
0 siblings, 0 replies; 5+ messages in thread
From: Tim Harder @ 2018-01-05 7:28 UTC (permalink / raw
To: gentoo-commits
commit: 9abca29a95ff1f6eb90a2d97527af37fd6bb7892
Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 5 07:26:59 2018 +0000
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Fri Jan 5 07:26:59 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9abca29a
net-misc/proxychains: remove old
net-misc/proxychains/Manifest | 1 -
.../files/proxychains-4.10-makefile.patch | 45 ---------------------
net-misc/proxychains/proxychains-4.11.ebuild | 46 ----------------------
3 files changed, 92 deletions(-)
diff --git a/net-misc/proxychains/Manifest b/net-misc/proxychains/Manifest
index d73bad1a3b2..3be42d78392 100644
--- a/net-misc/proxychains/Manifest
+++ b/net-misc/proxychains/Manifest
@@ -1,2 +1 @@
-DIST proxychains-ng-4.11.tar.bz2 31856 BLAKE2B 6ff8611a9c5d3c38a148e7d3c1109d0a738f95641e61b965d24a7fa71db0a4c803fa98d4b32349c11013858b0a9de83c3754eb8703c969140ea604c6a3f0de06 SHA512 241365e8a8bbcead22c7844a2970f59bfc1ee9ef9a42a3f800823e70008bd976835d705a8b9894980c46307dce3a886514051023bafef113845531cb5d928e1c
DIST proxychains-ng-4.12.tar.xz 31816 BLAKE2B 1267cd67ca3a21737abe9e510103c35e409a4afebf30c8917b7be8a84f1bb4edc55b6ec633eb5e63682ed2f6c277a464e16adaa52c70c8bac2588cfe7b36f1a6 SHA512 c1319065b2885fb16f1cd10092a25f49c20ace82dc67edcb2e8845fe79274fe63f5214d117eef3bfdffdc6aa8bf6904ea216047bd626043c5ecb36cd15d5560a
diff --git a/net-misc/proxychains/files/proxychains-4.10-makefile.patch b/net-misc/proxychains/files/proxychains-4.10-makefile.patch
deleted file mode 100644
index 5a3a2e1a6e8..00000000000
--- a/net-misc/proxychains/files/proxychains-4.10-makefile.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- 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.11.ebuild b/net-misc/proxychains/proxychains-4.11.ebuild
deleted file mode 100644
index 653885331f4..00000000000
--- a/net-misc/proxychains/proxychains-4.11.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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}/releases/download/v${PV}/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ~sparc x86"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-4.10-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
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/proxychains/, net-misc/proxychains/files/
@ 2024-02-25 11:15 Yixun Lan
0 siblings, 0 replies; 5+ messages in thread
From: Yixun Lan @ 2024-02-25 11:15 UTC (permalink / raw
To: gentoo-commits
commit: 1416de70a691818d5a16f454bf3aee018009cf67
Author: Hank Leininger <hlein <AT> korelogic <DOT> com>
AuthorDate: Thu Feb 15 04:15:33 2024 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Sun Feb 25 11:14:52 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1416de70
net-misc/proxychains: add 4.17, EAPI8, proxy-maint
Closes: https://bugs.gentoo.org/911140
Closes: https://github.com/gentoo/gentoo/35339
Signed-off-by: Hank Leininger <hlein <AT> korelogic.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
net-misc/proxychains/Manifest | 1 +
.../files/proxychains-4.17-makefile.patch | 54 ++++++++++++++++++++++
net-misc/proxychains/metadata.xml | 9 +++-
net-misc/proxychains/proxychains-4.17.ebuild | 49 ++++++++++++++++++++
4 files changed, 112 insertions(+), 1 deletion(-)
diff --git a/net-misc/proxychains/Manifest b/net-misc/proxychains/Manifest
index 5dd68809c8d0..1549eddf5141 100644
--- a/net-misc/proxychains/Manifest
+++ b/net-misc/proxychains/Manifest
@@ -1 +1,2 @@
DIST proxychains-ng-4.14.tar.xz 33844 BLAKE2B 598dd7973fd341a9916ece55ee18aeb0e0654d01659ffd3f5b7b9437fbb3660376aca77cd1326553a1beffd1ea4f95c6eb3da9c0f6ce43f3d72b1a16cf2bab4e SHA512 75a1a4629d2b7ebac9b909a694b395339cf669fa4e23bfcc57938e46377b5619f31c9651d2bc457d1ad10ec1be7747981106392bf8bf65999cb7bb9c748d7e95
+DIST proxychains-ng-4.17.tar.xz 45288 BLAKE2B 3e34742dc06fa80fceeb5250c48584c53fc8d4231147d9ef7a5aff21acfae0f814916c89033d1f92d3cf0cbb96d4031cb9769fa81c1cba81259ca34fb1182f63 SHA512 aa35ae27305065a7f296cbf99b3308b2ac759287761a5d234ddaa558292467fae88c33a3ced1d71329cf6a7e8f56aa4e2ffd4274d57d87857f13ca8393d5d983
diff --git a/net-misc/proxychains/files/proxychains-4.17-makefile.patch b/net-misc/proxychains/files/proxychains-4.17-makefile.patch
new file mode 100644
index 000000000000..149fd39be88e
--- /dev/null
+++ b/net-misc/proxychains/files/proxychains-4.17-makefile.patch
@@ -0,0 +1,54 @@
+diff --git a/Makefile b/Makefile
+index 11d0df8..8e9874d 100644
+--- a/Makefile
++++ b/Makefile
+@@ -28,9 +28,8 @@ LOBJS = src/version.o \
+
+ GENH = src/version.h
+
+-CFLAGS += -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe
+-NO_AS_NEEDED = -Wl,--no-as-needed
+-LDFLAGS = -fPIC $(NO_AS_NEEDED) $(LIBDL) $(PTHREAD)
++CFLAGS = -Wall -std=c99 -D_GNU_SOURCE
++LIBS = -ldl -lpthread
+ INC =
+ PIC = -fPIC
+ AR = $(CROSS_COMPILE)ar
+@@ -41,15 +40,15 @@ LDSO_SUFFIX = so
+ 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_D = proxychains4-daemon
++PXCHAINS = proxychains
++PXCHAINS_D = proxychains-daemon
+ ALL_TOOLS = $(PXCHAINS) $(PXCHAINS_D)
+ ALL_CONFIGS = src/proxychains.conf
+-ZSH_COMPLETION = completions/zsh/_proxychains4
++ZSH_COMPLETION = completions/zsh/_proxychains
+
+ -include config.mak
+
+@@ -93,14 +92,13 @@ src/version.o: src/version.h
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_MAIN) $(INC) $(PIC) -c -o $@ $<
+
+ $(LDSO_PATHNAME): $(LOBJS)
+- $(CC) $(LDFLAGS) $(FAT_LDFLAGS) $(LD_SET_SONAME)$(LDSO_PATHNAME) \
+- $(USER_LDFLAGS) -shared -o $@ $^ $(SOCKET_LIBS)
++ $(CC) $(LDFLAGS) $(LD_SET_SONAME)$(LDSO_PATHNAME) -shared $(PIC) -o $@ $^ $(LIBS) $(SOCKET_LIBS)
+
+ $(PXCHAINS): $(OBJS)
+- $(CC) $^ $(FAT_BIN_LDFLAGS) $(USER_LDFLAGS) $(LIBDL) -o $@
++ $(CC) $(LDFLAGS) $^ $(FAT_BIN_LDFLAGS) $(USER_LDFLAGS) $(LIBDL) -o $@
+
+ $(PXCHAINS_D): $(DOBJS)
+- $(CC) $^ $(FAT_BIN_LDFLAGS) $(USER_LDFLAGS) -o $@
++ $(CC) $(LDFLAGS) $^ $(FAT_BIN_LDFLAGS) $(USER_LDFLAGS) -o $@
+
+
+ .PHONY: all clean install install-config install-libs install-tools install-zsh-completion
diff --git a/net-misc/proxychains/metadata.xml b/net-misc/proxychains/metadata.xml
index e7d93515de55..63d1cbd32283 100644
--- a/net-misc/proxychains/metadata.xml
+++ b/net-misc/proxychains/metadata.xml
@@ -1,7 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person" proxied="yes">
+ <email>hlein@korelogic.com</email>
+ <name>Hank Leininger</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<longdescription lang="en">
Program that hooks network-related libc functions
in DYNAMICALLY LINKED programs via a preloaded DLL (dlsym(), LD_PRELOAD)
diff --git a/net-misc/proxychains/proxychains-4.17.ebuild b/net-misc/proxychains/proxychains-4.17.ebuild
new file mode 100644
index 000000000000..54aa7c5f8772
--- /dev/null
+++ b/net-misc/proxychains/proxychains-4.17.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+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="http://ftp.barfooze.de/pub/sabotage/tarballs/${MY_P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~sparc ~x86"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
+
+src_prepare() {
+ default
+ sed -i "s/^\(LDSO_SUFFIX\).*/\1 = so.${PV}/" Makefile || die
+ mv completions/zsh/_proxychains4 completions/zsh/_proxychains || 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
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-02-25 11:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-25 11:15 [gentoo-commits] repo/gentoo:master commit in: net-misc/proxychains/, net-misc/proxychains/files/ Yixun Lan
-- strict thread matches above, loose matches on Subject: below --
2018-01-05 7:28 Tim Harder
2017-01-20 7:30 Tim Harder
2017-01-14 22:22 Tim Harder
2016-03-12 7:09 Tim Harder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox