2008-02-14 16:36:27 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2008/02/14 21:36:27 rui Exp $
|
2003-12-31 03:44:49 -05:00
|
|
|
|
2006-06-04 14:25:07 -04:00
|
|
|
SHARED_ONLY= Yes
|
2003-06-27 15:43:36 -04:00
|
|
|
|
2007-07-25 18:27:01 -04:00
|
|
|
COMMENT= utility to create virtual hosts on a network
|
|
|
|
DISTNAME= honeyd-1.5c
|
2008-02-14 16:36:27 -05:00
|
|
|
PKGNAME= ${DISTNAME}p2
|
2003-06-27 15:43:36 -04:00
|
|
|
CATEGORIES= net
|
2005-07-23 10:24:52 -04:00
|
|
|
MASTER_SITES= http://www.citi.umich.edu/u/provos/honeyd/ \
|
2003-12-22 03:36:36 -05:00
|
|
|
http://niels.xtdnet.nl/honeyd/
|
2003-06-27 15:43:36 -04:00
|
|
|
|
2005-07-23 10:24:52 -04:00
|
|
|
HOMEPAGE= http://www.honeyd.org/
|
2003-06-27 15:43:36 -04:00
|
|
|
|
2008-02-14 16:36:27 -05:00
|
|
|
MAINTAINER= Rui Reis <rui@openbsd.org>
|
2007-07-25 18:27:01 -04:00
|
|
|
|
2005-07-23 10:24:52 -04:00
|
|
|
# GPL
|
2003-06-27 15:43:36 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-11-16 18:23:34 -05:00
|
|
|
WANTLIB= c edit event m ncurses pcap pthread util z
|
2003-06-27 15:43:36 -04:00
|
|
|
|
2007-07-25 18:27:01 -04:00
|
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
|
|
|
PATCH_LIST= patch-* align-*
|
|
|
|
.endif
|
|
|
|
|
2003-06-27 15:43:36 -04:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
2007-10-24 13:34:23 -04:00
|
|
|
MODULES= lang/python
|
2006-08-03 19:15:57 -04:00
|
|
|
LIB_DEPENDS= dnet.>=1::net/libdnet \
|
2007-10-24 13:34:23 -04:00
|
|
|
${MODPY_LIB_DEPENDS} \
|
2007-07-25 18:27:01 -04:00
|
|
|
pcre.>=1::devel/pcre
|
2005-07-23 10:24:52 -04:00
|
|
|
RUN_DEPENDS= ::net/rrdtool
|
2003-06-27 15:43:36 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
2007-10-24 13:34:23 -04:00
|
|
|
CONFIGURE_ENV= PATH_PYTHON=${MODPY_BIN}
|
2007-04-03 11:19:52 -04:00
|
|
|
CONFIGURE_ARGS= --with-python
|
2003-12-05 17:05:34 -05:00
|
|
|
|
2005-07-23 10:24:52 -04:00
|
|
|
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
|
2003-12-05 17:05:34 -05:00
|
|
|
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
|
2003-06-27 15:43:36 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|