blob: 78d697bfedf59021662046b974b7c8c980b6c9c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
PORTNAME= endlessh
PORTVERSION= 1.1
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 \
"@sample ${PREFIX}/etc/endlessh.conf.sample"
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:
${INSTALL_DATA} ${FILESDIR}/endlessh.conf.sample ${STAGEDIR}${PREFIX}/etc/
.include <bsd.port.mk>
|