blob: 23ef5977b0d068c7b6657ab49528d534ae979b1e (
plain) (
blame)
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
|
# Created by: Frederic Culot <culot@FreeBSD.org>
# $FreeBSD$
PORTNAME= kippo
PORTVERSION= 0.8
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= culot@FreeBSD.org
COMMENT= Medium interaction ssh honeypot
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto \
${PYTHON_PKGNAMEPREFIX}zope.interface>0:${PORTSDIR}/devel/py-zope.interface
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= python twisted:run,conch,web
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 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
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|