Bug 180029 - [MAINTAINER] net/proxychains-ng: update to 4.6
[MAINTAINER] net/proxychains-ng: update to 4.6
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Felippe de Meirelles Motta
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-27 15:20 UTC by nemysis
Modified: 2013-06-27 19:42 UTC (History)
1 user (show)

See Also:


Attachments
proxychains-ng-4.6.patch (3.15 KB, patch)
2013-06-27 15:20 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2013-06-27 15:20:00 UTC
- Update to 4.6
- Trim Makefile header
- Add DOCS Option
- Trim post install
- Trim pkg-descr
- Trim pkg-plist

Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_8 (mode: update, diff: ports)

How-To-Repeat: 
Build log

https://redports.org/buildarchive/20130627131000-15769/
Comment 1 Felippe de Meirelles Motta freebsd_committer 2013-06-27 19:00:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lippe

I'll take it.
Comment 2 dfilter freebsd_committer 2013-06-27 19:39:37 UTC
Author: lippe
Date: Thu Jun 27 18:39:23 2013
New Revision: 321900
URL: http://svnweb.freebsd.org/changeset/ports/321900

Log:
  - 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)

Modified:
  head/net/proxychains-ng/Makefile
  head/net/proxychains-ng/distinfo
  head/net/proxychains-ng/pkg-descr
  head/net/proxychains-ng/pkg-plist

Modified: head/net/proxychains-ng/Makefile
==============================================================================
--- head/net/proxychains-ng/Makefile	Thu Jun 27 18:38:27 2013	(r321899)
+++ head/net/proxychains-ng/Makefile	Thu Jun 27 18:39:23 2013	(r321900)
@@ -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
 

Modified: head/net/proxychains-ng/distinfo
==============================================================================
--- head/net/proxychains-ng/distinfo	Thu Jun 27 18:38:27 2013	(r321899)
+++ head/net/proxychains-ng/distinfo	Thu Jun 27 18:39:23 2013	(r321900)
@@ -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

Modified: head/net/proxychains-ng/pkg-descr
==============================================================================
--- head/net/proxychains-ng/pkg-descr	Thu Jun 27 18:38:27 2013	(r321899)
+++ head/net/proxychains-ng/pkg-descr	Thu Jun 27 18:39:23 2013	(r321900)
@@ -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/

Modified: head/net/proxychains-ng/pkg-plist
==============================================================================
--- head/net/proxychains-ng/pkg-plist	Thu Jun 27 18:38:27 2013	(r321899)
+++ head/net/proxychains-ng/pkg-plist	Thu Jun 27 18:39:23 2013	(r321900)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Felippe de Meirelles Motta freebsd_committer 2013-06-27 19:42:15 UTC
State Changed
From-To: open->closed

Committed. Thanks!