ad8960edfe
natpmpd is a daemon that can be used on an OpenBSD NAT gateway to provide support for the NAT-PMP protocol on any internal networks which then allows a client to create and maintain rules in pf to map TCP and UDP connections to the external IP address on the NAT gateway to services running on the client itself.
27 lines
615 B
Makefile
27 lines
615 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2011/12/23 15:15:30 sthen Exp $
|
|
|
|
COMMENT= daemon implementing NAT-PMP protocol for pf(4)
|
|
|
|
DISTNAME= natpmpd-1.4
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://bodgitandscarper.co.uk/natpmpd/
|
|
MASTER_SITES= http://natpmpd.s3.amazonaws.com/
|
|
|
|
MAINTAINER= Matt Dainty <matt@bodgit-n-scarper.com>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c event
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/natpmpd
|
|
${INSTALL_DATA} ${WRKSRC}/natpmpd.conf \
|
|
${PREFIX}/share/examples/natpmpd
|
|
|
|
.include <bsd.port.mk>
|