aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelippe de Meirelles Motta <lippe@FreeBSD.org>2013-06-27 18:39:23 +0000
committerFelippe de Meirelles Motta <lippe@FreeBSD.org>2013-06-27 18:39:23 +0000
commitc273fc0e9f73461b837e815fcf2111fca50c8ee4 (patch)
tree1aa3b4f7e7a4b835704ce54a765e09a6d7248fb3
parent927cfacb14557f2e333ccdc083c9e4604f547eb3 (diff)
downloadports-c273fc0e9f73461b837e815fcf2111fca50c8ee4.tar.gz
ports-c273fc0e9f73461b837e815fcf2111fca50c8ee4.zip
Notes
-rw-r--r--net/proxychains-ng/Makefile14
-rw-r--r--net/proxychains-ng/distinfo4
-rw-r--r--net/proxychains-ng/pkg-descr15
-rw-r--r--net/proxychains-ng/pkg-plist2
4 files changed, 24 insertions, 11 deletions
diff --git a/net/proxychains-ng/Makefile b/net/proxychains-ng/Makefile
index 55588501aeb5..ba843642f0bc 100644
--- a/net/proxychains-ng/Makefile
+++ b/net/proxychains-ng/Makefile
@@ -1,8 +1,8 @@
-# Created by: nemysis@gmx.ch
+# Created by: nemysis <nemysis@gmx.ch>
# $FreeBSD$
PORTNAME= proxychains-ng
-PORTVERSION= 4.5
+PORTVERSION= 4.6
CATEGORIES= net security
MASTER_SITES= SF/${PORTNAME}
DISTNAME= ${PORTNAME:S/-ng//}-${PORTVERSION}
@@ -24,6 +24,8 @@ CONFLICTS= proxychains-[0-9]*
PORTDOCS= AUTHORS ChangeLog README TODO
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-configure:
@@ -40,11 +42,13 @@ post-patch:
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/proxyresolv ${PREFIX}/bin
- @[ -f ${PREFIX}/etc/proxychains.conf ] || ${CP} ${PREFIX}/etc/proxychains.conf.sample \
- ${PREFIX}/etc/proxychains.conf
+ ${INSTALL_DATA} ${WRKSRC}/src/proxychains.conf ${PREFIX}/etc/proxychains.conf.sample
+.if ! exists(${PREFIX}/etc/proxychains.conf)
+ ${INSTALL_DATA} ${WRKSRC}/src/proxychains.conf ${PREFIX}/etc/proxychains.conf
+.endif
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
diff --git a/net/proxychains-ng/distinfo b/net/proxychains-ng/distinfo
index 44033176fefa..1c2ae37ae974 100644
--- a/net/proxychains-ng/distinfo
+++ b/net/proxychains-ng/distinfo
@@ -1,2 +1,2 @@
-SHA256 (proxychains-4.5.tar.bz2) = 61bf79c8107de320facdc44f7811b298b640dd549152ce25b467cb14ae60aece
-SIZE (proxychains-4.5.tar.bz2) = 27292
+SHA256 (proxychains-4.6.tar.bz2) = 859a717e18ed88c9291078a6ed8748dfe95c61220993203890fef8a04d28dda5
+SIZE (proxychains-4.6.tar.bz2) = 27373
diff --git a/net/proxychains-ng/pkg-descr b/net/proxychains-ng/pkg-descr
index f41629047fe5..738e2d21c2f2 100644
--- a/net/proxychains-ng/pkg-descr
+++ b/net/proxychains-ng/pkg-descr
@@ -1,5 +1,14 @@
-ProxyChains is a UNIX program, that hooks network-related libc functions
-in dynamically linked programs via a preloaded DLL and redirects the
-connections through SOCKS4a/5 or HTTP proxies.
+ProxyChains NG is based on ProxyChains.
+
+ProxyChains NG hooks network-related (TCP only) libc functions in dynamically
+linked programs via a preloaded DSO (dynamic shared object) and redirects the
+connections through one or more SOCKS4a/5 or HTTP proxies.
+
+Since Proxy Chains NG relies on the dynamic linker, statically linked binaries
+are not supported.
+
+Adjust proxychains.conf for your Proxy and use ProxyChains NG with
+
+ proxychains application
WWW: http://sourceforge.net/projects/proxychains-ng/
diff --git a/net/proxychains-ng/pkg-plist b/net/proxychains-ng/pkg-plist
index d04191553e66..d24f6edcc48d 100644
--- a/net/proxychains-ng/pkg-plist
+++ b/net/proxychains-ng/pkg-plist
@@ -2,5 +2,5 @@ bin/proxychains
bin/proxyresolv
@unexec if cmp -s %D/etc/proxychains.conf %D/etc/proxychains.conf.sample; then rm -f %D/etc/proxychains.conf; fi
etc/proxychains.conf.sample
-@exec [ -f %D/etc/proxychains.conf ] || cp %D/etc/proxychains.conf.sample %D/etc/proxychains.conf
+@exec [ -f %D/etc/proxychains.conf ] ; then cp -p %D/%F %B/proxychains.conf; fi
lib/libproxychains-4.so