mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
efda4025b0
- Support staging - Update LICENSE (BSD 3-clause)
44 lines
983 B
Makefile
44 lines
983 B
Makefile
# 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}
|
|
|
|
USE_PYTHON= yes
|
|
USES= 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>
|