2019-11-03 18:02:20 +00:00
|
|
|
PORTNAME= endlessh
|
2020-02-04 12:56:24 +00:00
|
|
|
PORTVERSION= 1.1
|
2019-11-03 18:02:20 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
MAINTAINER= brnrd@FreeBSD.org
|
|
|
|
COMMENT= SSH tarpit
|
|
|
|
|
|
|
|
LICENSE= UNLICENSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/UNLICENSE
|
|
|
|
|
|
|
|
USE_RC_SUBR= endlessh
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= skeeto
|
|
|
|
|
|
|
|
PLIST_FILES= bin/endlessh \
|
|
|
|
man/man1/endlessh.1.gz \
|
2021-05-31 11:24:30 +00:00
|
|
|
"@sample ${PREFIX}/etc/endlessh.conf.sample" \
|
|
|
|
${PREFIX}/etc/endlessh.newsyslog.conf
|
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
2019-11-03 18:02:20 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} 's|share/man|man|;s|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile
|
|
|
|
${REINPLACE_CMD} 's|/etc/endlessh/config|${PREFIX}/etc/endlessh.conf|' \
|
|
|
|
${WRKSRC}/endlessh.c ${WRKSRC}/endlessh.1
|
|
|
|
|
|
|
|
post-install:
|
2021-05-31 11:24:30 +00:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/endlessh.newsyslog.conf \
|
|
|
|
${FILESDIR}/endlessh.conf.sample ${STAGEDIR}${PREFIX}/etc/
|
|
|
|
${STRIP} ${STAGEDIR}${PREFIX}/bin/endlessh
|
2019-11-03 18:02:20 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|