28eb1cee77
from Rui Reis with a few changes; help and ok sturm@
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.17 2007/04/03 15:19:52 aanriot Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= "utility to create virtual hosts on a network"
|
|
DISTNAME= honeyd-1.5b
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.citi.umich.edu/u/provos/honeyd/ \
|
|
http://niels.xtdnet.nl/honeyd/
|
|
|
|
HOMEPAGE= http://www.honeyd.org/
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c edit event m ncurses pcap pthread util z
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
PYTHON_VER= 2.4
|
|
LIB_DEPENDS= dnet.>=1::net/libdnet \
|
|
python${PYTHON_VER}:python-${PYTHON_VER}.*:lang/python/${PYTHON_VER} \
|
|
pcre.>=1::devel/pcre \
|
|
dnsres.>=0::net/libdnsres
|
|
RUN_DEPENDS= ::net/rrdtool
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ENV= PATH_PYTHON=${LOCALBASE}/bin/python${PYTHON_VER}
|
|
CONFIGURE_ARGS= --with-python
|
|
|
|
SCRIPTS= INSTALL.kuang2 README.cmdexe README.kuang2 \
|
|
README.mydoom cmdexe.pl kuang2.conf kuang2.pl \
|
|
mydoom.pl proxy.pl router-telnet.pl smtp.pl \
|
|
test.sh web.sh
|
|
SCRIPTS-snmp= README buildSNMPConfig.pl default.snmp fake-snmp.pl \
|
|
linux-2.4.snmp.tpl windows2000.snmp.tpl
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/honeyd/scripts/snmp
|
|
.for f in ${SCRIPTS}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/${f} ${PREFIX}/share/honeyd/scripts
|
|
.endfor
|
|
.for f in ${SCRIPTS-snmp}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/snmp/${f} \
|
|
${PREFIX}/share/honeyd/scripts/snmp
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|