Browse Source

torsocks: add patch for ipv4 and enable package (#650)

android-5
Vishal Biswas 8 years ago
committed by Fredrik Fornwall
parent
commit
2c0f14be3a
  1. 0
      packages/torsocks/build.sh
  2. 0
      packages/torsocks/configure.ac.patch
  3. 0
      packages/torsocks/src-common-config-file.h.patch
  4. 11
      packages/torsocks/src-lib-gethostbyname.c.patch
  5. 0
      packages/torsocks/src-lib-torsocks.h.patch
  6. 0
      packages/torsocks/tests-Makefile.am.patch

0
disabled-packages/torsocks/build.sh → packages/torsocks/build.sh

0
disabled-packages/torsocks/configure.ac.patch → packages/torsocks/configure.ac.patch

0
disabled-packages/torsocks/src-common-config-file.h.patch → packages/torsocks/src-common-config-file.h.patch

11
packages/torsocks/src-lib-gethostbyname.c.patch

@ -0,0 +1,11 @@
--- ./src/lib/gethostbyname.c 2016-10-18 22:14:01.000000000 +0530
+++ ../gethostbyname.c 2016-12-22 10:14:38.497288603 +0530
@@ -74,7 +74,7 @@
/* Man page specifies that it can either be an hostname or IPv4 address.
* If it's an address, go with it else try to resolve it through Tor. */
- if (utils_is_address_ipv4(name)) {
+ if (utils_is_address_ipv4(name) == 1) {
if (inet_pton(AF_INET, name, &ip) <= 0) {
goto error;
}

0
disabled-packages/torsocks/src-lib-torsocks.h.patch → packages/torsocks/src-lib-torsocks.h.patch

0
disabled-packages/torsocks/tests-Makefile.am.patch → packages/torsocks/tests-Makefile.am.patch

Loading…
Cancel
Save