blob: 3ff652794f953c6bcc6ea95bfc80aef973c523e1 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Created by: Frederic Culot <culot@FreeBSD.org>
PORTNAME= kippo
PORTVERSION= 0.9
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= net
MAINTAINER= culot@FreeBSD.org
COMMENT= Medium interaction ssh honeypot
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR}
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_GITHUB= yes
GH_ACCOUNT= desaster
USES= python
NO_ARCH= yes
NO_BUILD= yes
USE_RC_SUBR= kippo
USERS= kippo
GROUPS= kippo
SUB_FILES= pkg-message
SUB_LIST+= PYTHON=${PYTHON_CMD}
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
.for f in kippo.cfg.dist kippo.tac fs.pickle
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
.endfor
.for d in data doc honeyfs kippo txtcmds utils
@${MKDIR} ${STAGEDIR}${DATADIR}/${d}
@(cd ${WRKSRC}/${d}/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/${d})
.endfor
.include <bsd.port.mk>
|