56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.36 2013/03/21 08:46:34 ajacoutot Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= utility to create virtual hosts on a network
|
|
DISTNAME= honeyd-1.5c
|
|
REVISION= 9
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.citi.umich.edu/u/provos/honeyd/ \
|
|
http://niels.xtdnet.nl/honeyd/
|
|
|
|
HOMEPAGE= http://www.honeyd.org/
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB= c edit event m ncurses pcap pthread util z
|
|
WANTLIB += ${MODPY_WANTLIB} dnet>=1 pcre>=1 eventextra>=1
|
|
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
|
PATCH_LIST= patch-* align-*
|
|
.endif
|
|
|
|
USE_GROFF = Yes
|
|
|
|
MODULES= lang/python
|
|
LIB_DEPENDS= net/libdnet \
|
|
${MODPY_LIB_DEPENDS} \
|
|
devel/pcre \
|
|
devel/libeventextra
|
|
RUN_DEPENDS= net/rrdtool
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ENV= PATH_PYTHON=${MODPY_BIN} \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
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>
|