aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorlippe <lippe@FreeBSD.org>2013-06-28 02:39:23 +0800
committerlippe <lippe@FreeBSD.org>2013-06-28 02:39:23 +0800
commite4911e4a4e9f45c8d4090b6265df88e755c7ff28 (patch)
tree1aa3b4f7e7a4b835704ce54a765e09a6d7248fb3 /net
parentcb2ab703db1f615252e37e82382f21b0309418c9 (diff)
downloadfreebsd-ports-gnome-e4911e4a4e9f45c8d4090b6265df88e755c7ff28.tar.gz
freebsd-ports-gnome-e4911e4a4e9f45c8d4090b6265df88e755c7ff28.tar.zst
freebsd-ports-gnome-e4911e4a4e9f45c8d4090b6265df88e755c7ff28.zip
- Update to 4.6.
- Trim Makefile header - Add DOCS as OPTION - Trim post install - Trim pkg-descr - Trim pkg-plist PR: ports/180029 Submitted by: nemysis <nemysis@gmx.ch> (maintainer)
Diffstat (limited to 'net')
-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