From 4bccda6ac1a0f0749976af9588f15ffb178b8caf Mon Sep 17 00:00:00 2001 From: danh Date: Thu, 19 Jul 2001 05:31:06 +0000 Subject: [PATCH] - bump NEED_VERSION - fix compilation issues under -current - add "-DUVM" to CFLAGS to allow compiling under -stable still --- net/ucd-snmp/Makefile | 9 ++++++--- .../patches/patch-agent_mibgroup_ucd_snmp_h | 14 ++++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 net/ucd-snmp/patches/patch-agent_mibgroup_ucd_snmp_h diff --git a/net/ucd-snmp/Makefile b/net/ucd-snmp/Makefile index 058f175ff8b..0cd00710a88 100644 --- a/net/ucd-snmp/Makefile +++ b/net/ucd-snmp/Makefile @@ -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 \ diff --git a/net/ucd-snmp/patches/patch-agent_mibgroup_ucd_snmp_h b/net/ucd-snmp/patches/patch-agent_mibgroup_ucd_snmp_h new file mode 100644 index 00000000000..9f38f030964 --- /dev/null +++ b/net/ucd-snmp/patches/patch-agent_mibgroup_ucd_snmp_h @@ -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)