mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
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>
This commit is contained in:
parent
52edfdaf4b
commit
f408b00516
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321815
@ -891,6 +891,7 @@
|
||||
SUBDIR += proxy-connect
|
||||
SUBDIR += proxy-suite
|
||||
SUBDIR += proxychains
|
||||
SUBDIR += proxychains-ng
|
||||
SUBDIR += prtunnel
|
||||
SUBDIR += ptpd
|
||||
SUBDIR += ptpd2
|
||||
|
51
net/proxychains-ng/Makefile
Normal file
51
net/proxychains-ng/Makefile
Normal file
@ -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>
|
2
net/proxychains-ng/distinfo
Normal file
2
net/proxychains-ng/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (proxychains-4.5.tar.bz2) = 61bf79c8107de320facdc44f7811b298b640dd549152ce25b467cb14ae60aece
|
||||
SIZE (proxychains-4.5.tar.bz2) = 27292
|
5
net/proxychains-ng/pkg-descr
Normal file
5
net/proxychains-ng/pkg-descr
Normal file
@ -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/
|
6
net/proxychains-ng/pkg-plist
Normal file
6
net/proxychains-ng/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user