ports/security/sshguard/Makefile

31 lines
648 B
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
COMMENT= protect against brute force attacks on sshd and others
2023-09-20 18:59:05 +00:00
DISTNAME= sshguard-2.4.3
2023-08-16 22:26:55 +00:00
CATEGORIES= security
HOMEPAGE= https://www.sshguard.net/
2023-09-20 18:59:05 +00:00
SITES= ${SITE_SOURCEFORGE:=sshguard/}
2023-08-16 22:26:55 +00:00
2023-09-20 18:59:05 +00:00
MAINTAINER= Stuart Henderson <stu.ports@spacehopper.org>
2023-08-16 22:26:55 +00:00
# BSD
PERMIT_PACKAGE= Yes
2023-09-20 18:59:05 +00:00
# uses pledge()
2023-08-16 22:26:55 +00:00
WANTLIB+= c pthread
CONFIGURE_STYLE=gnu
DEBUG_PACKAGES= ${BUILD_PACKAGES}
post-patch:
${SUBST_CMD} ${WRKSRC}/doc/sshguard.8 \
${WRKSRC}/examples/sshguard.conf.sample
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sshguard
${INSTALL_DATA} ${WRKSRC}/examples/*.{example,sample} \
${PREFIX}/share/examples/sshguard
.include <bsd.port.mk>