| @@ -1,30 +1,32 @@ | | | @@ -1,30 +1,32 @@ |
1 | # $NetBSD: Makefile,v 1.29 2021/06/01 07:42:08 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.30 2023/06/26 09:20:58 jperkin Exp $ |
2 | | | 2 | |
3 | DISTNAME= dante-1.4.3 | | 3 | DISTNAME= dante-1.4.3 |
4 | CATEGORIES= net security | | 4 | CATEGORIES= net security |
5 | MASTER_SITES= http://www.inet.no/dante/files/ | | 5 | MASTER_SITES= http://www.inet.no/dante/files/ |
6 | | | 6 | |
7 | MAINTAINER= pkgsrc-users@NetBSD.org | | 7 | MAINTAINER= pkgsrc-users@NetBSD.org |
8 | HOMEPAGE= https://www.inet.no/dante/ | | 8 | HOMEPAGE= https://www.inet.no/dante/ |
9 | COMMENT= BSD-licensed socks 4/5 proxy suite | | 9 | COMMENT= BSD-licensed socks 4/5 proxy suite |
10 | LICENSE= modified-bsd | | 10 | LICENSE= modified-bsd |
11 | | | 11 | |
12 | CONFLICTS= socks4-[0-9]* | | 12 | CONFLICTS= socks4-[0-9]* |
13 | | | 13 | |
14 | USE_LIBTOOL= yes | | 14 | USE_LIBTOOL= yes |
15 | GNU_CONFIGURE= yes | | 15 | GNU_CONFIGURE= yes |
16 | CONFIGURE_ARGS+= --with-socks-conf=${PKG_SYSCONFDIR}/socks.conf | | 16 | CONFIGURE_ARGS+= --with-socks-conf=${PKG_SYSCONFDIR}/socks.conf |
17 | CONFIGURE_ARGS+= --with-sockd-conf=${PKG_SYSCONFDIR}/sockd.conf | | 17 | CONFIGURE_ARGS+= --with-sockd-conf=${PKG_SYSCONFDIR}/sockd.conf |
18 | | | 18 | |
| | | 19 | LDFLAGS.SunOS+= -lnsl |
| | | 20 | |
19 | CHECK_PORTABILITY_SKIP= contrib/StartupItems.Dante | | 21 | CHECK_PORTABILITY_SKIP= contrib/StartupItems.Dante |
20 | | | 22 | |
21 | RCD_SCRIPTS= sockd | | 23 | RCD_SCRIPTS= sockd |
22 | | | 24 | |
23 | INSTALLATION_DIRS+= share/examples/dante | | 25 | INSTALLATION_DIRS+= share/examples/dante |
24 | | | 26 | |
25 | post-install: | | 27 | post-install: |
26 | .for cfg in sockd.conf socks-simple.conf socks.conf | | 28 | .for cfg in sockd.conf socks-simple.conf socks.conf |
27 | ${INSTALL_DATA} ${WRKSRC}/example/${cfg} ${DESTDIR}${PREFIX}/share/examples/dante | | 29 | ${INSTALL_DATA} ${WRKSRC}/example/${cfg} ${DESTDIR}${PREFIX}/share/examples/dante |
28 | .endfor | | 30 | .endfor |
29 | | | 31 | |
30 | .include "../../mk/bsd.pkg.mk" | | 32 | .include "../../mk/bsd.pkg.mk" |