1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/net/dante/Makefile
Alexey Dokuchaev c3fa992452 net/dante: add missing getsockopt() interposition to fix the build
Discovered with --no-undefined-version being enabled by default in
newish LLD.  While here, drop CONFLICTS against `net/socks5' which
was removed from the ports tree back in 2012.

PR:		276938
Reported by:	pkg-fallout
2024-02-26 12:38:22 +00:00

52 lines
1.4 KiB
Makefile

PORTNAME= dante
PORTVERSION= 1.4.3
CATEGORIES= net security
MASTER_SITES= http://www.inet.no/dante/files/ \
ftp://ftp.inet.no/pub/socks/
MAINTAINER= danfe@FreeBSD.org
COMMENT= Circuit-level firewall/proxy
WWW= https://www.inet.no/dante/
LICENSE= BSD4CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libminiupnpc.so:net/miniupnpc \
libsasl2.so:security/cyrus-sasl2
USES= libtool localbase
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
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:
.for x in s d
${INSTALL_DATA} ${WRKSRC}/example/sock${x}.conf \
${STAGEDIR}${PREFIX}/etc/sock${x}.conf.sample
.endfor
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example/sockd-basic.conf \
${WRKSRC}/example/sockd-chaining.conf \
${WRKSRC}/example/socks-simple-withoutnameserver.conf \
${WRKSRC}/example/socks-simple.conf ${STAGEDIR}${EXAMPLESDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/contrib
${INSTALL_DATA} ${WRKSRC}/doc/README* \
${WRKSRC}/doc/rfc* \
${WRKSRC}/doc/SOCKS4*.protocol \
${WRKSRC}/UPGRADE ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/contrib/sockd-stat.awk \
${STAGEDIR}${DOCSDIR}/contrib
.include <bsd.port.mk>