forked from ports/contrib
ab6dd0f103
unmaintained: aircrack-ng unmaintained: alsaequal unmaintained: arp-scan unmaintained: arpspoof unmaintained: asleap unmaintained: aspell-ro unmaintained: aspell-ru unmaintained: binwalk unmaintained: bully unmaintained: caps unmaintained: capstone unmaintained: cowpatty unmaintained: cramfs-tools unmaintained: dhcp-spoof unmaintained: gmtp unmaintained: hashcat-utils unmaintained: hashcat unmaintained: hashid unmaintained: hcxdumptool unmaintained: hcxtools unmaintained: hcxtools3 unmaintained: hwloc unmaintained: lft unmaintained: libewf-legacy unmaintained: libmtp unmaintained: libxcrypt2.4 unmaintained: macchanger unmaintained: masscan unmaintained: mdk3 unmaintained: mdk4 unmaintained: ncrack unmaintained: p5-file-remove unmaintained: p5-gtk2-trayicon unmaintained: p5-module-install unmaintained: p5-module-scandeps unmaintained: p5-net-pcap unmaintained: p5-net-rawip unmaintained: p5-netpacket unmaintained: p5-string-crc32 unmaintained: p5-text-asciitable unmaintained: p5-yaml-tiny unmaintained: padbuster unmaintained: perltidy unmaintained: pixiewps unmaintained: polipo unmaintained: proxychains-ng unmaintained: qt5-styleplugins unmaintained: qt5ct unmaintained: radare2 unmaintained: sasquatch unmaintained: scapy unmaintained: sleuthkit unmaintained: sslsplit unmaintained: thc-ipv6 unmaintained: tor unmaintained: torsocks unmaintained: wordlistctl unmaintained: xautolock unmaintained: xxhash unmaintained: yersinia
35 lines
993 B
Plaintext
35 lines
993 B
Plaintext
# Description: Wrapper to safely torify applications
|
|
# URL: https://gitweb.torproject.org/torsocks.git
|
|
# Maintainer: UNMAINTAINED
|
|
# Optional: tor
|
|
|
|
name=torsocks
|
|
version=2.3.0
|
|
release=2
|
|
source=(https://people.torproject.org/~dgoulet/$name/$name-$version.tar.xz
|
|
4c00ec8773fd63fa48ef49e1ccf2adac598427be.patch
|
|
d4b0a84bdf2a1895c8ec3091dc2767fd9f8c2d66.patch
|
|
fb7db9ecd0be04385ad5ae40e6e802cd80bb3455.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
# Disable tests requiring network access
|
|
for test in dns fd_passing getpeername; do
|
|
sed -i -e "/^\ttest_${test} \\\\\$/d" tests/Makefile.am || \
|
|
{ echo 1>&2 "Failed to disable network tests!"; exit 1; }
|
|
done
|
|
|
|
patch -p1 -i $SRC/4c00ec8773fd63fa48ef49e1ccf2adac598427be.patch
|
|
patch -p1 -i $SRC/d4b0a84bdf2a1895c8ec3091dc2767fd9f8c2d66.patch
|
|
patch -p1 -i $SRC/fb7db9ecd0be04385ad5ae40e6e802cd80bb3455.patch
|
|
|
|
autoreconf -f -i
|
|
./configure --prefix=/usr --sysconfdir=/etc
|
|
|
|
make V=1
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
}
|