2011-11-15 19:10:31 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.34 2011/11/16 00:10:31 sthen 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
|
2011-11-15 19:10:31 -05:00
|
|
|
REVISION= 9
|
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
|
|
|
|
2011-11-15 19:10:31 -05:00
|
|
|
# GPLv2+
|
2003-06-27 15:43:36 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2010-07-12 18:07:37 -04:00
|
|
|
|
2010-11-11 09:00:44 -05:00
|
|
|
WANTLIB= c edit event m ncurses pcap pthread util z
|
2010-11-19 17:31:32 -05:00
|
|
|
WANTLIB += ${MODPY_WANTLIB} dnet>=1 pcre>=1 eventextra>=1
|
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
|
2010-10-18 14:36:45 -04:00
|
|
|
USE_GROFF = Yes
|
2003-06-27 15:43:36 -04:00
|
|
|
|
2007-10-24 13:34:23 -04:00
|
|
|
MODULES= lang/python
|
2010-11-19 17:31:32 -05:00
|
|
|
LIB_DEPENDS= net/libdnet \
|
2007-10-24 13:34:23 -04:00
|
|
|
${MODPY_LIB_DEPENDS} \
|
2010-11-19 17:31:32 -05:00
|
|
|
devel/pcre \
|
|
|
|
devel/libeventextra
|
|
|
|
RUN_DEPENDS= net/rrdtool
|
2003-06-27 15:43:36 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
2010-04-21 19:42:18 -04:00
|
|
|
CONFIGURE_ENV= PATH_PYTHON=${MODPY_BIN} \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
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>
|