- bump NEED_VERSION

- fix compilation issues under -current
- add "-DUVM" to CFLAGS to allow compiling under -stable still
This commit is contained in:
danh 2001-07-19 05:31:06 +00:00
parent f9bd27338a
commit 4bccda6ac1
2 changed files with 20 additions and 3 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.27 2001/05/22 19:21:34 danh Exp $
# $OpenBSD: Makefile,v 1.28 2001/07/19 05:31:06 danh Exp $
COMMENT= "extendable SNMP implementation"
DISTNAME= ucd-snmp-4.2.1
CATEGORIES= net
NEED_VERSION= 1.409
NEED_VERSION= 1.421
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= net-snmp
@ -21,7 +21,10 @@ CONFIGURE_STYLE= autoconf 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-libwrap='/usr' --with-openssl --with-zlib \
--with-sys-contact='default@' \
--with-sys-location='Default Location' \
--with-cflags="${CFLAGS} -DUVM"
CONFIGURE_ENV= VERSION_INFO='42:0:0'
SNMP_BIN= encode_keychange snmpbulkget snmpbulkwalk snmpdelta \

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-agent_mibgroup_ucd_snmp_h,v 1.1 2001/07/19 05:31:06 danh Exp $
--- agent/mibgroup/ucd_snmp.h.orig Wed Jul 18 23:44:14 2001
+++ agent/mibgroup/ucd_snmp.h Wed Jul 18 23:44:31 2001
@@ -32,8 +32,8 @@ config_arch_require(freebsd5, ucd-snmp/v
config_arch_require(freebsd5, ucd-snmp/memory_freebsd2)
config_arch_require(netbsd1, ucd-snmp/vmstat_netbsd1)
config_arch_require(netbsd1, ucd-snmp/memory_netbsd1)
-config_arch_require(openbsd2, ucd-snmp/vmstat_freebsd2)
-config_arch_require(openbsd2, ucd-snmp/memory_freebsd2)
+config_arch_require(openbsd2, ucd-snmp/vmstat_netbsd1)
+config_arch_require(openbsd2, ucd-snmp/memory_netbsd1)
config_arch_require(bsdi4, ucd-snmp/vmstat_bsdi4)
config_add_mib(UCD-SNMP-MIB)
config_add_mib(UCD-DEMO-MIB)