- Update to 1.5
* Switch from binaries to source code. * Install csocks.conf.sample instead of csocks.conf. It prevents users from lost they configs. * Add an experimental IPv6 support. PR: ports/120866 Submitted by: maintainer
This commit is contained in:
parent
276b0e203e
commit
10a8b47b6d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207690
2 changed files with 14 additions and 12 deletions
|
@ -4,7 +4,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= csocks
|
||||
PORTVERSION= 1.1
|
||||
PORTVERSION= 1.5
|
||||
CATEGORIES= net security
|
||||
MASTER_SITES= http://csocks.altervista.org/download/ \
|
||||
http://csocks.virtuale.org/download/
|
||||
|
@ -15,20 +15,22 @@ COMMENT= SOCKS Client v4/v5 RFC Compliant with many features
|
|||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
PLIST_FILES= etc/csocks.conf lib/libcsocks.so lib/libcsocks.so.1 bin/csocks
|
||||
PLIST_FILES= etc/csocks.conf.sample lib/libcsocks.so lib/libcsocks.so.1 bin/csocks
|
||||
|
||||
NO_BUILD= yes
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
WRKSRC= ${WRKDIR}/src
|
||||
USE_LDCONFIG= yes
|
||||
MAN1= csocks.1
|
||||
MAN5= csocks.conf.5
|
||||
MANCOMPRESSED= yes
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} "s#/usr/local#${PREFIX}#" ${WRKDIR}/src/Makefile
|
||||
|
||||
do-install:
|
||||
${CP} -p ${WRKDIR}/${DISTNAME}/freebsd/libcsocks.so.1 ${PREFIX}/lib/
|
||||
${CP} -p ${WRKDIR}/src/libcsocks.so.1 ${PREFIX}/lib/
|
||||
${LN} -fs ${PREFIX}/lib/libcsocks.so.1 ${PREFIX}/lib/libcsocks.so
|
||||
${CP} -p ${WRKDIR}/${DISTNAME}/freebsd/csocks ${PREFIX}/bin
|
||||
${CP} -p ${WRKDIR}/${DISTNAME}/freebsd/csocks.conf ${PREFIX}/etc/
|
||||
${CP} -p ${WRKDIR}/${DISTNAME}/man/csocks.1.gz ${MANPREFIX}/man/man1
|
||||
${CP} -p ${WRKDIR}/${DISTNAME}/man/csocks.conf.5.gz ${MANPREFIX}/man/man5
|
||||
${CP} -p ${WRKDIR}/freebsd/csocks ${PREFIX}/bin
|
||||
${CP} -p ${WRKDIR}/csocks.conf ${PREFIX}/etc/csocks.conf.sample
|
||||
${CP} -p ${WRKDIR}/man/csocks.1.gz ${MANPREFIX}/man/man1
|
||||
${CP} -p ${WRKDIR}/man/csocks.conf.5.gz ${MANPREFIX}/man/man5
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (csocks_1.1.tar.gz) = 0a5ed6a295885d8024517203ed874fa1
|
||||
SHA256 (csocks_1.1.tar.gz) = ec1a2ffd28b0f2cbe23c54339a719b93290a0f977e2f666aec85983e26ffdc68
|
||||
SIZE (csocks_1.1.tar.gz) = 57672
|
||||
MD5 (csocks_1.5.tar.gz) = e029272657074ca2506cd8ac6b65752d
|
||||
SHA256 (csocks_1.5.tar.gz) = 1708876017790bd62c8485d95d61dc85d1f9cbf4dcde6d0bc72a8c8968a8adf1
|
||||
SIZE (csocks_1.5.tar.gz) = 28604
|
||||
|
|
Loading…
Reference in a new issue