pkgsrc/net/fwknop/Makefile
khorben ad2783b15f fwknop: update to version 2.6.10
This release brings:

- [server] Add MAX_FW_TIMEOUT to access.conf stanzas to allow a maximum
  number of seconds for client-specified timeouts in SPA packets. This
  fixes issue #226 which was spotted by Jeremiah Rothschild.
- [server] Bug fix in CMD_EXEC mode to make sure to call exit() upon any
  error from execvpe(). Without this fix, additional fwknopd processes
  would be started upon a user specifying a command without the necessary
  permissions. This bug was reported by Stephen Isard.
- [build] Jeremie Courreges-Anglas and Ingo Feinerer contributed a patch
  to fix endian detection on OpenBSD systems based on information
  contained here: https://www.opengroup.org/austin/docs/austin_514.txt
- [client/server] (Michael Stair) Added client and server infrastructure
  written in Erlang. See the erlang/ directory.
2021-05-29 22:39:45 +00:00

42 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2021/05/29 22:39:45 khorben Exp $
DISTNAME= fwknop-2.6.10
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
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --infodir=${PREFIX}/${PKGINFODIR}
RCD_SCRIPTS= fwknopd
EGDIR= ${PREFIX}/share/examples/fwknop
CONF_FILES_PERMS+= ${EGDIR}/access.conf \
${PKG_SYSCONFDIR}/fwknop/access.conf \
${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0600
CONF_FILES_PERMS+= ${EGDIR}/fwknopd.conf \
${PKG_SYSCONFDIR}/fwknop/fwknopd.conf \
${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0600
INSTALLATION_DIRS+= ${EGDIR}
INFO_FILES= yes
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"