Files
haikuports/net-proxy/proxychains_ng/proxychains_ng-4.17~git.recipe
2025-12-01 07:34:12 +01:00

60 lines
1.7 KiB
Bash

SUMMARY="A tool to use SOCKS or HTTP proxy with programs that don't support it"
DESCRIPTION="ProxyChains is a UNIX program, that hooks network-related libc \
functions in DYNAMICALLY LINKED programs via a preloaded DLL (dlsym(), \
LD_PRELOAD) and redirects the connections through SOCKS4a/5 or HTTP proxies.
It supports TCP only (no UDP/ICMP etc).
The way it works is basically a HACK; so it is possible that it doesn't \
work with your program, especially when it's a script, or starts \
numerous processes like background daemons or uses dlopen() to load \
"modules" (bug in glibc dynlinker).
It should work with simple compiled (C/C++) dynamically linked programs \
though."
HOMEPAGE="https://github.com/rofl0r/proxychains-ng"
LICENSE="GNU GPL v2"
COPYRIGHT="2013-2024 rolf0r"
REVISION="1"
srcGitRev="282ac7dd02fe229b77af11ee6dd902956d306c9b"
SOURCE_URI="https://github.com/rofl0r/proxychains-ng/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="5975ec455f48da329934d0f6e9eae440f6a0535b31441cf5e913fc35ec0ca4dc"
SOURCE_FILENAME="proxychains-ng-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="proxychains-ng-$srcGitRev"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
GLOBAL_WRITABLE_FILES="
settings/proxychains.conf keep-old
"
PROVIDES="
proxychains_ng$secondaryArchSuffix = $portVersion
cmd:proxychains4$secondaryArchSuffix
cmd:proxychains4_daemon$secondaryArchSuffix
lib:libproxychains4$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:sed
"
BUILD()
{
LDFLAGS=-lnetwork runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
make install-config
}