2002-12-29 16:14:10 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.36 2002/12/29 21:14:12 fgsch Exp $
|
2001-03-28 14:05:30 -05:00
|
|
|
|
|
|
|
COMMENT= "extendable SNMP implementation"
|
2000-05-31 12:13:08 -04:00
|
|
|
|
2002-02-13 16:22:03 -05:00
|
|
|
VERSION= 4.2.3
|
2001-12-11 10:36:02 -05:00
|
|
|
DISTNAME= ucd-snmp-${VERSION}
|
2000-08-05 05:39:20 -04:00
|
|
|
CATEGORIES= net
|
2002-05-15 13:42:24 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=net-snmp/}
|
2000-08-29 13:49:09 -04:00
|
|
|
|
2000-11-22 16:55:21 -05:00
|
|
|
HOMEPAGE= http://net-snmp.sourceforge.net/
|
2000-08-29 13:49:09 -04:00
|
|
|
|
2000-09-23 15:59:51 -04:00
|
|
|
MAINTAINER= Dan Harnett <danh@openbsd.org>
|
2000-05-31 12:13:08 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-10-11 15:16:19 -04:00
|
|
|
CONFIGURE_STYLE= gnu dest
|
2001-01-27 21:08:53 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+= --with-defaults --with-logfile='/var/log/snmpd' \
|
2001-01-05 04:19:44 -05:00
|
|
|
--with-persistent-directory='/var/ucd-snmp' \
|
2001-07-19 01:31:06 -04:00
|
|
|
--with-libwrap='/usr' --with-openssl --with-zlib \
|
|
|
|
--with-sys-contact='default@' \
|
2001-09-24 12:03:39 -04:00
|
|
|
--with-sys-location='Default Location'
|
2001-10-11 15:16:19 -04:00
|
|
|
CONFIGURE_ENV= VERSION_INFO='42:2:0'
|
2001-11-13 15:14:39 -05:00
|
|
|
NO_REGRESS= Yes
|
2001-09-24 12:03:39 -04:00
|
|
|
|
2001-02-01 16:50:30 -05:00
|
|
|
SNMP_BIN= encode_keychange snmpbulkget snmpbulkwalk snmpdelta \
|
|
|
|
snmpdf snmpget snmpgetnext snmpnetstat snmpset snmpstatus \
|
|
|
|
snmptable snmptest snmptranslate snmptrap snmpusm snmpvacm \
|
|
|
|
snmpwalk
|
|
|
|
SNMP_SBIN= snmpd snmptrapd
|
|
|
|
|
2001-10-11 15:16:19 -04:00
|
|
|
post-extract:
|
|
|
|
@cp ${FILESDIR}/openbsd3.h ${WRKSRC}/s/openbsd3.h
|
|
|
|
|
1998-01-08 17:55:30 -05:00
|
|
|
post-install:
|
2001-02-01 16:50:30 -05:00
|
|
|
@cd ${PREFIX}/bin && strip ${SNMP_BIN}
|
|
|
|
@cd ${PREFIX}/sbin && strip ${SNMP_SBIN}
|
2000-05-31 12:13:08 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ucd-snmp
|
2000-08-05 05:39:20 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ucd-snmp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.snmpv3 ${PREFIX}/share/doc/ucd-snmp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/ucd-snmp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/AGENT.txt ${PREFIX}/share/doc/ucd-snmp
|
2001-01-05 04:19:44 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ucd-snmp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/EXAMPLE.conf \
|
|
|
|
${PREFIX}/share/examples/ucd-snmp
|
1998-01-08 17:55:30 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|