Date: Wed, 26 Jun 2013 20:52:20 +0000 (UTC) From: Felippe de Meirelles Motta <lippe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321815 - in head/net: . proxychains-ng Message-ID: <201306262052.r5QKqKFr060748@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lippe Date: Wed Jun 26 20:52:19 2013 New Revision: 321815 URL: http://svnweb.freebsd.org/changeset/ports/321815 Log: 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. WWW: http://sourceforge.net/projects/proxychains-ng/ PR: ports/175068 Submitted by: nemysis <nemysis@gmx.ch> Added: head/net/proxychains-ng/ head/net/proxychains-ng/Makefile (contents, props changed) head/net/proxychains-ng/distinfo (contents, props changed) head/net/proxychains-ng/pkg-descr (contents, props changed) head/net/proxychains-ng/pkg-plist (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Wed Jun 26 20:43:44 2013 (r321814) +++ head/net/Makefile Wed Jun 26 20:52:19 2013 (r321815) @@ -891,6 +891,7 @@ SUBDIR += proxy-connect SUBDIR += proxy-suite SUBDIR += proxychains + SUBDIR += proxychains-ng SUBDIR += prtunnel SUBDIR += ptpd SUBDIR += ptpd2 Added: head/net/proxychains-ng/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/proxychains-ng/Makefile Wed Jun 26 20:52:19 2013 (r321815) @@ -0,0 +1,51 @@ +# Created by: nemysis@gmx.ch +# $FreeBSD$ + +PORTNAME= proxychains-ng +PORTVERSION= 4.5 +CATEGORIES= net security +MASTER_SITES= SF/${PORTNAME} +DISTNAME= ${PORTNAME:S/-ng//}-${PORTVERSION} + +MAINTAINER= nemysis@gmx.ch +COMMENT= Redirect connection through proxy servers + +LICENSE= GPLv2 + +USE_BZIP2= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=${PREFIX} +USE_GMAKE= yes +ALL_TARGET= all +INSTALL_TARGET= install install-config +USE_LDCONFIG= yes + +CONFLICTS= proxychains-[0-9]* + +PORTDOCS= AUTHORS ChangeLog README TODO + +.include <bsd.port.options.mk> + +post-configure: + @${ECHO_CMD} "PXCHAINS=proxychains" >> ${WRKSRC}/config.mak + @${ECHO_CMD} "LDSO_PATHNAME=libproxychains-4.so" >> ${WRKSRC}/config.mak + +post-patch: + @${REINPLACE_CMD} \ + -e 's|$$(DESTDIR)/$$(sysconfdir)/|$$(DESTDIR)/$$(sysconfdir)/proxychains.conf.sample|' \ + ${WRKSRC}/Makefile + @${REINPLACE_CMD} \ + -e 's|libproxychains4.so|libproxychains-4.so|' \ + ${WRKSRC}/src/proxyresolv + +post-install: + ${INSTALL_SCRIPT} ${WRKSRC}/src/proxyresolv ${PREFIX}/bin + @[ -f ${PREFIX}/etc/proxychains.conf ] || ${CP} ${PREFIX}/etc/proxychains.conf.sample \ + ${PREFIX}/etc/proxychains.conf + +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif + +.include <bsd.port.mk> Added: head/net/proxychains-ng/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/proxychains-ng/distinfo Wed Jun 26 20:52:19 2013 (r321815) @@ -0,0 +1,2 @@ +SHA256 (proxychains-4.5.tar.bz2) = 61bf79c8107de320facdc44f7811b298b640dd549152ce25b467cb14ae60aece +SIZE (proxychains-4.5.tar.bz2) = 27292 Added: head/net/proxychains-ng/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/proxychains-ng/pkg-descr Wed Jun 26 20:52:19 2013 (r321815) @@ -0,0 +1,5 @@ +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. + +WWW: http://sourceforge.net/projects/proxychains-ng/ Added: head/net/proxychains-ng/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/proxychains-ng/pkg-plist Wed Jun 26 20:52:19 2013 (r321815) @@ -0,0 +1,6 @@ +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 +lib/libproxychains-4.so
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306262052.r5QKqKFr060748>