1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
- Add LICENSE and LICENSE_FILE
- Use @sample plist macro
- Take maintainer-ship
- Use libtool USE macro
- Polish pkg-descr
This commit is contained in:
Emanuel Haupt 2014-06-26 14:20:22 +00:00
parent 7c4789b2de
commit 287fc13c23
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359361
3 changed files with 10 additions and 11 deletions

View File

@ -7,14 +7,16 @@ PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/version%20${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Redirect connection through proxy servers
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USES= gmake
USES= gmake libtool
USE_LDCONFIG= yes
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's!$$(srcdir)/proxychains.conf!$$(srcdir)/proxychains.conf.sample!' \
-e 's!libproxychains_la_LIBADD = -ldl!libproxychains_la_LIBADD =!' \
@ -26,7 +28,8 @@ post-configure:
@${ECHO_CMD} '#define PREFIX "${PREFIX}"' >> ${WRKSRC}/config.h
post-install:
@[ -f ${PREFIX}/etc/proxychains.conf ] || ${CP} ${PREFIX}/etc/proxychains.conf.sample \
${PREFIX}/etc/proxychains.conf
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libproxychains.so.3.0.0
${INSTALL_DATA} ${WRKSRC}/proxychains/proxychains.conf.sample \
${STAGEDIR}${PREFIX}/etc/proxychains.conf
.include <bsd.port.mk>

View File

@ -1,5 +1,3 @@
ProxyChains
This program forces any tcp connection made by any given tcp client
to follow through proxy (or proxy chain). It is a kind of proxifier.
It acts like sockscap / permeo / eborder driver (intercepts TCP calls).

View File

@ -1,9 +1,7 @@
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
@sample etc/proxychains.conf.sample
lib/libproxychains.so.3
lib/libproxychains.so.3.0.0
lib/libproxychains.so
lib/libproxychains.la
lib/libproxychains.a