1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/security/doorman/Makefile
Niclas Zeising a1b290c54d Extend expiration of ports broken with -fno-common
Extend the expiration of unmaintained leaf ports that are broken with
-fno-common and previously had a short expiration date.  The new date is set
to 2021-04-01, meaning the ports will be in the 2021Q2 branch, giving people
until 2021-06-30 (10 months from now) to fix issues.
Improve the wording of the deprecation message, mentioning both llvm 11 and
-fno-common.
Bump portrevision to force reinstall.  This way the warning message about
deprecation will be displayed to users installing or reinstalling the
software.

MFH:		2020Q3 (maybe)
2020-08-30 09:47:49 +00:00

51 lines
1.4 KiB
Makefile

# Created by: Aaron Dalton <aaron@daltons.ca>
# $FreeBSD$
PORTNAME= doorman
PORTVERSION= 0.81
PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Port knocking implementation, both daemon and client
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= lsof:sysutils/lsof
RUN_DEPENDS:= ${BUILD_DEPENDS}
PATCH_STRIP= -p1
USES= shebangfix tar:tgz
SHEBANG_FILES= ipfw_add ipfw_delete \
pfctl_add pfctl_delete
GNU_CONFIGURE= yes
INSTALL_TARGET= installdirs install-exec install-data
CFLAGS+= -fcommon
DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
EXPIRATION_DATE=2021-04-01
SUB_FILES= pkg-message doormand.cf.EXAMPLE
USE_RC_SUBR= doorman
pre-patch:
@${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \
${WRKSRC}/doormand.c
post-install:
${RM} ${STAGEDIR}${PREFIX}/etc/doormand/ipf_add
(cd ${FILESDIR} && ${INSTALL_SCRIPT} ipf_add.atend ipf_delete \
ipf_add.before_block ${STAGEDIR}${PREFIX}/etc/doormand)
${INSTALL_DATA} ${WRKDIR}/doormand.cf.EXAMPLE \
${STAGEDIR}${PREFIX}/etc/doormand
${INSTALL_MAN} -C ${WRKSRC}/knock.1 ${STAGEDIR}${PREFIX}/man/man1
(cd ${WRKSRC} && ${INSTALL_MAN} -C knockcf.5 doormand.cf.5 guestlist.5 \
${STAGEDIR}${PREFIX}/man/man5)
${INSTALL_MAN} -C ${WRKSRC}/doormand.8 ${STAGEDIR}${PREFIX}/man/man8
.include <bsd.port.mk>