Merge pull request #845 from 0xcaca0/master
torsocks -- non archaic version
This commit is contained in:
commit
ad582c89c1
|
@ -1,17 +0,0 @@
|
|||
--- src/torsocks.c 2011-10-25 23:49:50.000000000 +0200
|
||||
+++ src/torsocks.c 2011-10-30 11:53:11.292621715 +0100
|
||||
@@ -174,10 +174,10 @@
|
||||
#ifdef SUPPORT_RES_API
|
||||
lib = dlopen(LIBRESOLV, RTLD_LAZY);
|
||||
realres_init = dlsym(lib, "res_init");
|
||||
- realresquery = dlsym(lib, "res_query");
|
||||
- realressend = dlsym(lib, "res_send");
|
||||
- realresquerydomain = dlsym(lib, "res_querydomain");
|
||||
- realressearch = dlsym(lib, "res_search");
|
||||
+ real__res_query = dlsym(lib, "res_query");
|
||||
+ real__res_send = dlsym(lib, "res_send");
|
||||
+ real__res_querydomain = dlsym(lib, "res_querydomain");
|
||||
+ real__res_search = dlsym(lib, "res_search");
|
||||
dlclose(lib);
|
||||
#endif
|
||||
#endif
|
|
@ -1,13 +1,18 @@
|
|||
# Template file for 'torsocks'
|
||||
pkgname=torsocks
|
||||
version=1.2
|
||||
revision=5
|
||||
version=2.0.0
|
||||
revision=1
|
||||
hostmakedepends="automake libtool pkg-config"
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --enable-oldmethod --datarootdir=/usr/share/${pkgname}"
|
||||
conf_files="/etc/torsocks.conf"
|
||||
configure_args="--disable-static --prefix=/usr"
|
||||
conf_files="/etc/tor/torsocks.conf"
|
||||
short_desc="A transparent socks proxy for use with tor"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-3"
|
||||
homepage="http://www.gnu.org/software/sed"
|
||||
distfiles="https://torsocks.googlecode.com/files/${pkgname}-${version}.tar.gz"
|
||||
checksum=bea57d3624d723724fd1e260f0e6b2a354c0da742c023aa994c7692270d111d4
|
||||
homepage="https://gitweb.torproject.org/torsocks.git"
|
||||
distfiles="https://github.com/dgoulet/${pkgname}/archive/v${version}.tar.gz"
|
||||
checksum=a01f9e5ccc8a6e1d4e13704581ec9675129c147d10d08f86635f7bceb8001f48
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue