head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.50 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.48 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.46 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.44 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.42 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.40 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.38 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.36 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.34 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.32 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.30 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.28 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.26 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.24 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.22 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.20 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.18 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.16 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.14 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.12 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.10 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.8 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.6 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.4 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.2 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.5.0.12 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.5.0.10 pkgsrc-2003Q4-base:1.5 netbsd-1-6-1:1.5.0.6 netbsd-1-6-1-base:1.5 netbsd-1-6:1.5.0.8 netbsd-1-6-RELEASE-base:1.5 pkgviews:1.5.0.4 pkgviews-base:1.5 buildlink2:1.5.0.2 buildlink2-base:1.5 netbsd-1-5-PATCH003:1.5 netbsd-1-5-PATCH001:1.3 netbsd-1-5-RELEASE:1.3 netbsd-1-4-PATCH003:1.3 netbsd-1-4-PATCH002:1.2 comdex-fall-1999:1.1; locks; strict; comment @# @; 1.6 date 2004.03.29.16.30.24; author cube; state dead; branches; next 1.5; 1.5 date 2002.04.09.09.53.55; author itojun; state Exp; branches; next 1.4; 1.4 date 2002.02.13.16.41.42; author tron; state Exp; branches; next 1.3; 1.3 date 2000.10.13.17.55.36; author kim; state Exp; branches; next 1.2; 1.2 date 2000.01.23.10.41.10; author itojun; state Exp; branches; next 1.1; 1.1 date 99.08.15.11.07.14; author tron; state Exp; branches; next ; desc @@ 1.6 log @Remove ucd-snmp package, which is outdated, insecure, and now unused in pkgsrc since gkrellm1-snmp conversion to net-snmp. @ text @$NetBSD: patch-ag,v 1.5 2002/04/09 09:53:55 itojun Exp $ --- agent/mibgroup/mibII/ipAddr.c.orig Sat Mar 9 11:07:37 2002 +++ agent/mibgroup/mibII/ipAddr.c Tue Apr 9 18:28:34 2002 @@@@ -278,7 +278,11 @@@@ #elif defined(linux) || defined(sunV3) long_return = ntohl(((struct sockaddr_in *) &lowin_ifnet.ifu_broadaddr)->sin_addr.s_addr) & 1; #else +#ifdef netbsd1 + long_return = ((struct sockaddr_in *) &lowin_ifaddr.ia_broadaddr)->sin_addr.s_addr & 1; +#else long_return = ntohl(((struct sockaddr_in *) &lowin_ifaddr.ia_broadaddr)->sin_addr.s_addr) & 1; +#endif #endif return(u_char *) &long_return; case IPADREASMMAX: @ 1.5 log @upgrade to 4.2.4. release note: http://sourceforge.net/project/shownotes.php?release_id=83551 @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update "ucd-snmp" package to version 4.2.3nb1: - Replace with contents of "ucd-snmp-current" package to fix various security problems. - Add patch sent to "bugtraq" by Juan M. de la Torre to fix buffer overflow in "snmpnetstat" client. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.5 2001/09/11 01:46:31 wrstuden Exp $ d3 4 a6 4 --- agent/mibgroup/mibII/ipAddr.c.orig Tue Jan 30 16:00:58 2001 +++ agent/mibgroup/mibII/ipAddr.c Tue Jan 30 16:07:06 2001 @@@@ -243,7 +243,11 @@@@ #if defined(linux) || defined(sunV3) @ 1.3 log @Update to 4.1.2: *4.1.2* Fixes: - Host resources fixes for FreeBSD and NetBSD - ucd-snmp memory/vmstat fixes for FreeBSD-3 - configure --enable-ipv6 fixes - AIX fix (use knlist) - fix init_master_agent calling exit - bad free in subagent.c - dont let a agentx subagent be a smux master - ucd-snmp/loadave fix for AIX - fix doing a set on a pass variable - snmptable fixes - snmpnetstat fixes for v2c exceptions - man page fixes Features: - Some UnixWare 5 configuration support - configure --enable-mini-agent --without-openssl - snmptrapd -n - snmp_log callbacks - noTokenWarnings and noRangeCheck in snmp.conf - using a counter type in snmpset/snmptrap *4.1.1* Fixes: - Better agent handling of unauthorized requests. - Better "make test" support. - Misc bug fixes. *4.1* New: - Many new command line flags have been added for input/output flexibility. (see the snmpcmd(1) manual page on the -O flag and -I flag) - The tools support regex matching of oids on the command line. (see the snmpcmd(1) manual page on the -Ib option) - A ucd-snmp usage tutorial has been placed on the main web page. (see http://ucd-snmp.ucdavis.edu/tutorial) - snmptable is much smarter and handles sparse tables better. - tkmib supports snmpv3. - New agent libraries to embed SNMP and AgentX agents into other programs. (see the snmp_agent_api(3) manual page and the tutorial) - SNMP over TCP is supported. (-T TCP on the command lines) - OpenSSL has replaced KMT for SHA authentication and DES encryption. (Get OpenSSL from http://www.openssl.org/). - Some easier-to-use access-control snmpd.conf directives for simple setups. (see the snmpd.conf(5) manual page) - Easier setup of SNMPv3 support for the agent. (see the README.snmpv3 file). - Command line argument parsing has been reworked for getopt() use. (currently backwards compatible; see the snmpcmd(1) manual page) - Table rows with embedded strings are dealt with for both input and output. (see the snmpcmd(1) manual on the -Ob flag) - Many more snmp.conf directives supported. (see the snmp.conf(5) manual page) - Many AgentX improvements. - All of our distributed mibs have been updated to be SMIv2 compliant. - Trap support in the agent has been cleaned up and an API created. Perl: - Joe Marzot's perl module is now included with the ucd-snmp source. (this should help people trying to synchronize the two packages) Fixes: - SMUX support has been reintegrated into the agent in a better way. - Many many others. @ text @d1 1 a1 1 $NetBSD$ d3 5 a7 3 --- agent/mibgroup/mibII/ip.c.orig Fri Feb 4 02:56:31 2000 +++ agent/mibgroup/mibII/ip.c Wed Oct 11 19:03:22 2000 @@@@ -767,3 +767,7 @@@@ d10 1 a10 9 + long_return = lowin_ifaddr.ia_subnetmask; +#else long_return = ntohl(lowin_ifaddr.ia_subnetmask); +#endif return(u_char *) &long_return; @@@@ -776,3 +780,7 @@@@ #else +#ifdef netbsd1 + long_return = (((struct sockaddr_in *) &lowin_ifaddr.ia_broadaddr)->sin_addr.s_addr) & 1; d15 2 @ 1.2 log @upgrade ucd-snmp to 4.0.1. include IPv6 MIB support patch into compilation. @ text @d2 4 a5 5 --- agent/mibgroup/mibII/ip.c.orig Tue Aug 24 14:17:30 1999 +++ agent/mibgroup/mibII/ip.c Fri Jan 21 05:48:22 2000 @@@@ -761,7 +761,11 @@@@ #ifdef linux return (u_char *)&((struct sockaddr_in *)&lowin_ifnet.ia_subnetmask)->sin_addr.s_addr; d13 1 a13 5 #endif #endif @@@@ -770,7 +774,11 @@@@ #if defined(linux) || defined(sunV3) long_return = ntohl(((struct sockaddr_in *) &lowin_ifnet.ifu_broadaddr)->sin_addr.s_addr) & 1; a20 2 return(u_char *) &long_return; case IPADREASMMAX: @ 1.1 log @Fix "ucd-snmpd" to return "mib-2.ip.ipAddrTable" and make sure "netbsd1" preprocessor symbol gets defined on NetBSD systems. Patches supplied by Zdenek Salvet in PR pkg/7799. @ text @d2 3 a4 5 --- agent/mibgroup/mibII/ip.c.orig Fri Mar 12 18:15:05 1999 +++ agent/mibgroup/mibII/ip.c Thu Jun 17 10:08:11 1999 @@@@ -728,7 +728,11 @@@@ d16 1 a16 1 @@@@ -737,7 +741,11 @@@@ d21 1 a21 1 + long_return = (((struct sockaddr_in *) &lowin_ifaddr.ia_broadaddr)->sin_addr.s_addr) & 1; d23 1 a23 1 long_return = ntohl(((struct sockaddr_in *) &lowin_ifaddr.ia_broadaddr)->sin_addr.s_addr) & 1; @