diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-25 17:40:36 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-25 17:40:36 +0000 |
commit | 85809279ceef66e68b25eac8c3918bee6762f6cc (patch) | |
tree | 9ecee133212467e7b1402b70a11c5d6fb3ea817d /net-misc/proxychains | |
parent | 4215622c05ed14d30fdad5a4d0feba6d94b0d046 (diff) |
gentoo auto-resync : 25:02:2024 - 17:40:36
Diffstat (limited to 'net-misc/proxychains')
-rw-r--r-- | net-misc/proxychains/Manifest | 5 | ||||
-rw-r--r-- | net-misc/proxychains/files/proxychains-4.17-makefile.patch | 54 | ||||
-rw-r--r-- | net-misc/proxychains/metadata.xml | 9 | ||||
-rw-r--r-- | net-misc/proxychains/proxychains-4.17.ebuild | 49 |
4 files changed, 115 insertions, 2 deletions
diff --git a/net-misc/proxychains/Manifest b/net-misc/proxychains/Manifest index 3799fb3cf502..7050c3d14779 100644 --- a/net-misc/proxychains/Manifest +++ b/net-misc/proxychains/Manifest @@ -1,4 +1,7 @@ AUX proxychains-4.14-makefile.patch 1299 BLAKE2B 9c53f252910da0f0247c95e74856703bf257a9d7c5a4bf91cbf4574f117dd7d6dc800a1def5d772d6ab74194db92d053e759d2ae2955d5d1d11fb4598b0f0d6e SHA512 79dde568a605a085208a2cefa23780448a71b44a273ebe8f19f2ba478b33eeb29b38a478a5c2aa88dcf2352f52aefded8ac8985ccf52839e8b332bf885381203 +AUX proxychains-4.17-makefile.patch 1758 BLAKE2B c1bec2d4d44be33e27010bc2a271b6cffe85c98bcfa4eebd4b977335c22b1c34da72c2ba8cfa32bef530e0826335f9e2170ee4845883dcd5914f1aa49ac1da94 SHA512 a1303ca4860749a4a413d8579515ea1e5ef8afab9ded472e5f6d3f5eb27a9c7489b2b5f83d1ffb0b5ee1cb3e5cbe2ac82f074c43e34cf6c679cd7fb650bca63c DIST proxychains-ng-4.14.tar.xz 33844 BLAKE2B 598dd7973fd341a9916ece55ee18aeb0e0654d01659ffd3f5b7b9437fbb3660376aca77cd1326553a1beffd1ea4f95c6eb3da9c0f6ce43f3d72b1a16cf2bab4e SHA512 75a1a4629d2b7ebac9b909a694b395339cf669fa4e23bfcc57938e46377b5619f31c9651d2bc457d1ad10ec1be7747981106392bf8bf65999cb7bb9c748d7e95 +DIST proxychains-ng-4.17.tar.xz 45288 BLAKE2B 3e34742dc06fa80fceeb5250c48584c53fc8d4231147d9ef7a5aff21acfae0f814916c89033d1f92d3cf0cbb96d4031cb9769fa81c1cba81259ca34fb1182f63 SHA512 aa35ae27305065a7f296cbf99b3308b2ac759287761a5d234ddaa558292467fae88c33a3ced1d71329cf6a7e8f56aa4e2ffd4274d57d87857f13ca8393d5d983 EBUILD proxychains-4.14.ebuild 1033 BLAKE2B dc46210baf6b0039ee3f20dd29ec55926049c624489c61509fbc5ee5845b8fa5b9f870b968d6cd2b00b64bea26b1794638197498cf59b292e8566d5153651ca5 SHA512 b858a00883fbd41971881f13c70452c9097e1edaa0c36cce73cb73ec0672e852b0927c83ef03512f4dd4efa5af40a13bdfa74cbbf06cc0402c2fef6f9146760b -MISC metadata.xml 539 BLAKE2B 7f1a04862b7f31e3e21b63fef44ac5f042722650947039c2f5865780c43548df45ffc0f4ab1c57d6e243d9a5b37d0b77dfd4d51547960bd453a0bead405dc3c9 SHA512 cada43412d27eced1d75ed6636a8ba95c9ca7958ad218d08335bf8cd0c8409bb2b24dd263d87b43b2b9c623552674e8002faa07a0d0799650e0c20428720b705 +EBUILD proxychains-4.17.ebuild 1106 BLAKE2B 3e276b0bb3d3d363c57d7e2361302ad6fb857b3c059ded917cd6ea77d813feae1611d25ac29f8c77069ee8e90bc4dfa622a284a4c8e9eeb4e3a714bde74edf0b SHA512 bd40fce6cf95b4d126417aa1b544e7cc584b7286c47c6637c56eb95a15e6312da60b8b20d49a9d8d993eb459a937cf501b680588e7f965879b8a617e025bdde1 +MISC metadata.xml 768 BLAKE2B b188a0fa1f5a3dd939e8b45cc9bd2753357f164669237dbbe5ed64794adb92f93e0a9b96d8ade8129a4cb1750e7d531f88ca66ec32b6e37520fa6224badf0790 SHA512 e1edb6fd6429c66ac2dcc467b2a5a0790cdc2dca652360401988fd9b813acc89d06edc5b5be799bba4424e65cfb18da3958129e71d049da93b4332f64ff3e920 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 +} |