pkgsrc/net/fwknop/Makefile
khorben 1b39987b25 Import net/fwknop version 2.6.9 from wip
fwknop stands for the "FireWall KNock OPerator", and implements an authorization
scheme called Single Packet Authorization (SPA). This method of authorization is
based around a default-drop packet filter (fwknop supports iptables and
firewalld on Linux, ipfw on FreeBSD and Mac OS X, and PF on OpenBSD) and
libpcap. SPA is essentially next generation port knocking.
2018-05-01 21:10:42 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.1 2018/05/01 21:10:42 khorben Exp $
DISTNAME= fwknop-2.6.9
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=mrash/}
MAINTAINER= khorben@defora.org
HOMEPAGE= https://github.com/mrash/fwknop/
COMMENT= Port knocking via Single Packet Authorization (SPA)
LICENSE= gnu-gpl-v2
DEPENDS+= gnupg-[0-9]*:../../security/gnupg
DEPENDS+= wget-[0-9]*:../../net/wget
USE_TOOLS+= aclocal autoconf automake autoheader makeinfo
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--infodir=${PREFIX}/${PKGINFODIR}
EGDIR= ${PREFIX}/share/examples/fwknop
CONF_FILES+= ${EGDIR}/access.conf \
${PKG_SYSCONFDIR}/fwknop/access.conf
CONF_FILES+= ${EGDIR}/fwknopd.conf \
${PKG_SYSCONFDIR}/fwknop/fwknopd.conf
INSTALLATION_DIRS+= ${EGDIR}
INFO_FILES= yes
WRKSRC= ${WRKDIR}/fwknop-2.6.9
pre-configure:
cd ${WRKSRC} && sh autogen.sh
post-install:
${MV} ${DESTDIR}${PKG_SYSCONFDIR}/fwknop/access.conf ${DESTDIR}${EGDIR}/
${MV} ${DESTDIR}${PKG_SYSCONFDIR}/fwknop/fwknopd.conf ${DESTDIR}${EGDIR}/
.include "../../net/libpcap/buildlink3.mk"
.include "../../security/gpgme/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"