openbsd-ports/net/ucd-snmp/Makefile
danh 2c0ddd86e5 * fix bug where a partial walk shows extra dummy interface entries.
* add package patch level (p1)

patch from net-snmp pointed out by peter@ and honzaf@eunet.cz
2001-12-11 15:36:02 +00:00

54 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.33 2001/12/11 15:36:02 danh Exp $
COMMENT= "extendable SNMP implementation"
VERSION= 4.2.2
DISTNAME= ucd-snmp-${VERSION}
PKGNAME= ucd-snmp-${VERSION}p1
CATEGORIES= net
NEED_VERSION= 1.456
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= net-snmp
HOMEPAGE= http://net-snmp.sourceforge.net/
MAINTAINER= Dan Harnett <danh@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --with-defaults --with-logfile='/var/log/snmpd' \
--with-persistent-directory='/var/ucd-snmp' \
--with-libwrap='/usr' --with-openssl --with-zlib \
--with-sys-contact='default@' \
--with-sys-location='Default Location'
CONFIGURE_ENV= VERSION_INFO='42:2:0'
NO_REGRESS= Yes
SNMP_BIN= encode_keychange snmpbulkget snmpbulkwalk snmpdelta \
snmpdf snmpget snmpgetnext snmpnetstat snmpset snmpstatus \
snmptable snmptest snmptranslate snmptrap snmpusm snmpvacm \
snmpwalk
SNMP_SBIN= snmpd snmptrapd
post-extract:
@cp ${FILESDIR}/openbsd3.h ${WRKSRC}/s/openbsd3.h
post-install:
@cd ${PREFIX}/bin && strip ${SNMP_BIN}
@cd ${PREFIX}/sbin && strip ${SNMP_SBIN}
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ucd-snmp
${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
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ucd-snmp
${INSTALL_DATA} ${WRKSRC}/EXAMPLE.conf \
${PREFIX}/share/examples/ucd-snmp
.include <bsd.port.mk>