31 lines
678 B
Makefile
31 lines
678 B
Makefile
# $OpenBSD: Makefile,v 1.15 2019/07/12 20:49:37 sthen Exp $
|
|
|
|
COMMENT= protect against brute force attacks on sshd and others
|
|
|
|
DISTNAME= sshguard-2.3.1
|
|
CATEGORIES= security
|
|
|
|
HOMEPAGE= https://www.sshguard.net/
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sshguard/}
|
|
|
|
MAINTAINER= Andreas Kusalananda Kahari <andreas.kahari@abc.se>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB+= c pthread
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
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>
|