1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/net/dante/Makefile
Carlos J. Puga Medina f0eb31c4fa net/dante: update to 1.4.2
- Update to 1.4.2
- Update MASTER_SITES
- Register LIB_DEPENDS ON net/miniupnpc and security/cyrus-sasl2
- Update WWW in pkg-descr
- Take maintainership

Changes: https://www.inet.no/dante/announce-1.4.2

Reviewed by:	jbeich
MFH:		2017Q3
Differential Revision:	https://reviews.freebsd.org/D11552
2017-07-13 23:53:44 +00:00

53 lines
1.7 KiB
Makefile

# Created by: Anders Nordby <anders@fix.no>
# $FreeBSD$
PORTNAME= dante
PORTVERSION= 1.4.2
CATEGORIES= net security ipv6
MASTER_SITES= http://www.inet.no/dante/files/ \
ftp://ftp.inet.no/pub/socks/
MAINTAINER= cpm@FreeBSD.org
COMMENT= Circuit-level firewall/proxy
LICENSE= BSD4CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libminiupnpc.so:net/miniupnpc \
libsasl2.so:security/cyrus-sasl2
CONFLICTS= socks5-[0-9]*
USES= libtool localbase
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-socks-conf=${PREFIX}/etc/socks.conf \
--with-sockd-conf=${PREFIX}/etc/sockd.conf
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
USE_RC_SUBR= sockd
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
${INSTALL_DATA} ${WRKSRC}/example/socks.conf ${STAGEDIR}${PREFIX}/etc/socks.conf.sample
${INSTALL_DATA} ${WRKSRC}/example/sockd.conf ${STAGEDIR}${PREFIX}/etc/sockd.conf.sample
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example/sockd-basic.conf ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example/sockd-chaining.conf ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example/socks-simple-withoutnameserver.conf ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example/socks-simple.conf ${STAGEDIR}${EXAMPLESDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/contrib
${INSTALL_DATA} ${WRKSRC}/doc/README* ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/rfc* ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/SOCKS4*.protocol ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/UPGRADE ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/contrib/sockd-stat.awk ${STAGEDIR}${DOCSDIR}/contrib/sockd-stat.awk
.include <bsd.port.mk>