pkgsrc/net/miniupnpd/Makefile
adam b4f4bbda87 Changes 1.8.20141022:
* Discard NAT-PMP packets coming from the WAN
* small modifications to compile with exotic C libraries
* add comments in miniupnpd.conf regarding security
* DeletePortMapping now checks for client IP in Securemode
* Various fixes :
    e->ipv6.flags |= IP6T_F_PROTO; (netfilter)
    fix natpmp.c byte order conversion
    add small delay before SSDP response to prevent flooding
2014-10-29 13:05:34 +00:00

31 lines
880 B
Makefile

# $NetBSD: Makefile,v 1.13 2014/10/29 13:05:34 adam Exp $
DISTNAME= miniupnpd-1.8.20141022
CATEGORIES= net
MASTER_SITES= http://miniupnp.free.fr/files/download.php?file=
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://miniupnp.free.fr/
COMMENT= UPnP IGD service with NAT-PMP support
LICENSE= modified-bsd
EGDIR= ${PREFIX}/share/examples/miniupnpd
CONF_FILES= ${EGDIR}/miniupnpd.conf ${PKG_SYSCONFDIR}/miniupnpd.conf
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
CFLAGS+= -DDEFAULT_CONFIG=\"${PKG_SYSCONFDIR}/miniupnpd.conf\"
INSTALL_MAKE_FLAGS+= INSTALLETCDIR=${EGDIR}
INSTALL_MAKE_FLAGS+= INSTALLMANDIR=${PREFIX}/${PKGMANDIR}/man1
RCD_SCRIPTS= miniupnpd
SUBST_CLASSES+= fwname
SUBST_STAGE.fwname= pre-configure
SUBST_MESSAGE.fwname= Setting desired firewall type.
SUBST_FILES.fwname= genconfig.sh
SUBST_VARS.fwname= FWNAME
.include "../../mk/bsd.pkg.mk"