head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.50 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.8.0.48 pkgsrc-2012Q4-base:1.8 pkgsrc-2011Q4:1.8.0.46 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q2:1.8.0.44 pkgsrc-2011Q2-base:1.8 pkgsrc-2009Q4:1.8.0.42 pkgsrc-2009Q4-base:1.8 pkgsrc-2008Q4:1.8.0.40 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.8.0.38 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.36 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.8.0.34 pkgsrc-2008Q2-base:1.8 pkgsrc-2008Q1:1.8.0.32 pkgsrc-2008Q1-base:1.8 pkgsrc-2007Q4:1.8.0.30 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.8.0.28 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.8.0.26 pkgsrc-2007Q2-base:1.8 pkgsrc-2007Q1:1.8.0.24 pkgsrc-2007Q1-base:1.8 pkgsrc-2006Q4:1.8.0.22 pkgsrc-2006Q4-base:1.8 pkgsrc-2006Q3:1.8.0.20 pkgsrc-2006Q3-base:1.8 pkgsrc-2006Q2:1.8.0.18 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.8.0.16 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.8.0.14 pkgsrc-2005Q4-base:1.8 pkgsrc-2005Q3:1.8.0.12 pkgsrc-2005Q3-base:1.8 pkgsrc-2005Q2:1.8.0.10 pkgsrc-2005Q2-base:1.8 pkgsrc-2005Q1:1.8.0.8 pkgsrc-2005Q1-base:1.8 pkgsrc-2004Q4:1.8.0.6 pkgsrc-2004Q4-base:1.8 pkgsrc-2004Q3:1.8.0.4 pkgsrc-2004Q3-base:1.8 pkgsrc-2004Q2:1.8.0.2 pkgsrc-2004Q2-base:1.8 pkgsrc-2004Q1:1.7.0.12 pkgsrc-2004Q1-base:1.7 pkgsrc-2003Q4:1.7.0.10 pkgsrc-2003Q4-base:1.7 netbsd-1-6-1:1.7.0.6 netbsd-1-6-1-base:1.7 netbsd-1-6:1.7.0.8 netbsd-1-6-RELEASE-base:1.7 pkgviews:1.7.0.4 pkgviews-base:1.7 buildlink2:1.7.0.2 buildlink2-base:1.7 netbsd-1-5-PATCH003:1.7 netbsd-1-5-PATCH001:1.6 netbsd-1-5-RELEASE:1.5 netbsd-1-4-PATCH003:1.5 netbsd-1-4-PATCH002:1.4 comdex-fall-1999:1.3 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.1; locks; strict; comment @# @; 1.8 date 2004.03.29.16.30.24; author cube; state dead; branches; next 1.7; 1.7 date 2002.02.13.16.41.41; author tron; state Exp; branches; next 1.6; 1.6 date 2000.12.15.18.46.50; author hubertf; state Exp; branches; next 1.5; 1.5 date 2000.10.13.17.55.36; author kim; state Exp; branches; next 1.4; 1.4 date 2000.01.23.10.41.10; author itojun; state Exp; branches; next 1.3; 1.3 date 99.08.15.09.44.01; author tron; state Exp; branches; next 1.2; 1.2 date 99.05.04.03.51.57; author tv; state Exp; branches; next 1.1; 1.1 date 99.04.21.20.47.23; author abs; state Exp; branches; next ; desc @@ 1.8 log @Remove ucd-snmp package, which is outdated, insecure, and now unused in pkgsrc since gkrellm1-snmp conversion to net-snmp. @ text @$NetBSD: patch-ab,v 1.7 2002/02/13 16:41:41 tron Exp $ --- snmplib/Makefile.in.orig Tue Jan 30 15:26:05 2001 +++ snmplib/Makefile.in Tue Jan 30 15:27:03 2001 @@@@ -40,7 +40,7 @@@@ snmp_debug.c tools.c snmp_logging.c \ snmpv3.c snmpusm.c lcd_time.c keytools.c \ scapi.c callback.c default_store.c snmp_alarm.c mt_support.c \ - snprintf.c strtol.c strtoul.c + snprintf.c strtol.c strtoul.c libwrap.c OBJS= snmp_client.o mib.o parse.o snmp_api.o snmp.o \ snmp_auth.o asn1.o md5.o snmp_parse_args.o \ @@@@ -49,7 +49,7 @@@@ snmpv3.o snmpusm.o lcd_time.o keytools.o \ scapi.o callback.o default_store.o snmp_alarm.o \ mt_support.o \ - snprintf.o strtol.o strtoul.o + snprintf.o strtol.o strtoul.o libwrap.o LOBJS= snmp_client.lo mib.lo parse.lo snmp_api.lo snmp.lo \ snmp_auth.lo asn1.lo md5.lo snmp_parse_args.lo \ @@@@ -58,7 +58,7 @@@@ snmpv3.lo snmpusm.lo lcd_time.lo keytools.lo \ scapi.lo callback.lo default_store.lo snmp_alarm.lo \ mt_support.lo \ - snprintf.lo strtol.lo strtoul.lo + snprintf.lo strtol.lo strtoul.lo libwrap.lo # just in case someone wants to remove libtool, change this to OBJS. TOBJS=$(LOBJS) @ 1.7 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-ab,v 1.5 2001/09/11 01:46:31 wrstuden Exp $ @ 1.6 log @Link against libcrypto. Previous versions did not require this, but not doing so results in application code needing change, e.g. pchar. With this change, pchar now builds with ucd-snmp 4.0.1.12 and 4.1.2 without a change. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 4 --- snmplib/Makefile.in.orig Fri Feb 4 22:15:42 2000 +++ snmplib/Makefile.in @@@@ -34,30 +34,34 @@@@ system.c vacm.c int64.c read_config.c \ d8 3 a10 3 - scapi.c callback.c default_store.c snmp_alarm.c mt_support.c + scapi.c callback.c default_store.c snmp_alarm.c mt_support.c \ + libwrap.c d13 16 a28 32 snmp_auth.o asn1.o md5.o \ system.o vacm.o int64.o read_config.o \ snmp_debug.o tools.o snmp_logging.o \ snmpv3.o snmpusm.o lcd_time.o keytools.o \ - scapi.o callback.o default_store.o snmp_alarm.o mt_support.o + scapi.o callback.o default_store.o snmp_alarm.o mt_support.o \ + libwrap.o CFLAGS = @@CFLAGS@@ @@SHLIB_CFLAGS@@ CPPFLAGS = -I. -I.. -I$(srcdir) -I$(srcdir)/.. @@CPPFLAGS@@ -CC = @@CC@@ $(CPPFLAGS) +CC = $(LIBTOOL) @@CC@@ $(CPPFLAGS) all: $(TARG) -libsnmp.$(SHLIB_EXTENSION)$(SHLIB_VERSION): ${OBJS} - $(SHLIB_LD_CMD) libsnmp.$(SHLIB_EXTENSION)$(SHLIB_VERSION) ${OBJS} - $(RANLIB) libsnmp.$(SHLIB_EXTENSION)$(SHLIB_VERSION) +$(TARG): $(OBJS) + $(CC) -o $@@ $(OBJS:.o=.lo) -version-info 0:0 -rpath $(PREFIX)/lib -lcrypto +#libsnmp.$(SHLIB_EXTENSION)$(SHLIB_VERSION): ${OBJS} +# $(SHLIB_LD_CMD) libsnmp.$(SHLIB_EXTENSION)$(SHLIB_VERSION) ${OBJS} +# $(RANLIB) libsnmp.$(SHLIB_EXTENSION)$(SHLIB_VERSION) installdirs: @@$(SHELL) $(srcdir)/../mkinstalldirs $(libdir) $(includedir) install: $(TARG) installdirs - @@for i in $(TARG) ; do $(INSTALL) $$i $(libdir) ; $(RANLIB) $(libdir)/$$i ; echo "install: installed $$i in $(libdir)" ; done + @@for i in $(TARG) ; do $(LIBTOOL) $(INSTALL) $$i $(libdir) ; $(RANLIB) $(libdir)/$$i ; echo "install: installed $$i in $(libdir)" ; done @@for i in $(INSTALLHEADERS) ; do $(INSTALL) $(srcdir)/$$i $(includedir) ; echo "install: installed $$i in $(includedir)" ; done $(SHLIB_LDCONFIG_CMD) d30 2 @ 1.5 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 @d3 5 a7 3 --- snmplib/Makefile.in.orig Sat Feb 5 06:15:42 2000 +++ snmplib/Makefile.in Wed Oct 11 19:02:56 2000 @@@@ -36,3 +36,4 @@@@ d13 4 a16 1 @@@@ -43,3 +44,4 @@@@ d22 1 a22 1 @@@@ -47,3 +49,3 @@@@ d27 1 a27 1 @@@@ -51,5 +53,7 @@@@ d33 1 a33 1 + $(CC) -o $@@ $(OBJS:.o=.lo) -version-info 0:0 -rpath $(PREFIX)/lib d38 3 a40 1 @@@@ -59,3 +63,3 @@@@ d45 2 @ 1.4 log @upgrade ucd-snmp to 4.0.1. include IPv6 MIB support patch into compilation. @ text @d2 4 a5 5 --- snmplib/Makefile.in- Fri Jan 21 05:38:31 2000 +++ snmplib/Makefile.in Fri Jan 21 05:39:59 2000 @@@@ -42,30 +42,34 @@@@ system.c vacm.c int64.c read_config.c \ snmp_debug.c tools.c snmp_logging.c \ d7 2 a8 2 - scapi.c callback.c default_store.c snmp_alarm.c + scapi.c callback.c default_store.c snmp_alarm.c \ d11 1 a11 4 OBJS= snmp_client.o mib.o parse.o snmp_api.o snmp.o \ snmp_auth.o asn1.o md5.o \ system.o vacm.o int64.o read_config.o \ snmp_debug.o tools.o snmp_logging.o \ d13 3 a15 3 - scapi.o callback.o default_store.o snmp_alarm.o + scapi.o callback.o default_store.o snmp_alarm.o \ + libwrap.c d17 1 a17 1 CFLAGS = @@CFLAGS@@ @@SHLIB_CFLAGS@@ d22 1 a22 1 all: $(TARG) d33 1 a33 3 installdirs: @@$(SHELL) $(srcdir)/../mkinstalldirs $(libdir) $(includedir) a37 2 $(SHLIB_LDCONFIG_CMD) @ 1.3 log @Make this package build on ELF systems. @ text @d2 8 a9 9 --- snmplib/Makefile.in.orig Mon Mar 15 17:49:10 1999 +++ snmplib/Makefile.in Sun Aug 15 11:17:50 1999 @@@@ -7,12 +7,14 @@@@ snmp_auth.c asn1.c md5.c \ party.c context.c acl.c view.c \ party_parse.c context_parse.c acl_parse.c \ - system.c vacm.c int64.c read_config.c snmp_debug.c + system.c vacm.c int64.c read_config.c snmp_debug.c \ a10 7 OBJS= snmp_client.o mib.o parse.o snmp_api.o snmp.o \ snmp_auth.o asn1.o md5.o \ party.o context.o acl.o view.o \ party_parse.o context_parse.o acl_parse.o \ - system.o vacm.o int64.o read_config.o snmp_debug.o + system.o vacm.o int64.o read_config.o snmp_debug.o \ + libwrap.o d12 8 a19 3 #all but md5.h, vacm.h, libsnmp.h, and read_config.h are copied to the installed #include directory @@@@ -35,19 +37,18 @@@@ d21 4 a24 4 CFLAGS=@@CFLAGS@@ @@SHLIB_CFLAGS@@ CPPFLAGS=@@CPPFLAGS@@ -I. -I.. -I$(srcdir) -I$(srcdir)/.. -CC = @@CC@@ $(CPPFLAGS) +CC = $(LIBTOOL) @@CC@@ $(CPPFLAGS) d33 3 @ 1.2 log @Build libsnmp as a shared object with libtool. Bump version to "...p1". @ text @d3 20 a22 3 --- snmplib/Makefile.in.orig Mon Mar 15 11:49:10 1999 +++ snmplib/Makefile.in Mon May 3 23:26:56 1999 @@@@ -35,19 +35,18 @@@@ @ 1.1 log @Previous workaround for dynamically linking against libwrap but not using any functions does not appear to work anymore. Modify config to only use libwrap in for the snmpd agent (which fixes it in a more 'clean' fashion. @ text @d1 27 a27 8 --- agent/Makefile.in.orig Tue Apr 20 18:13:58 1999 +++ agent/Makefile.in Tue Apr 20 18:14:11 1999 @@@@ -4,7 +4,7 @@@@ TARG= snmpd USELIBS= ../snmplib/libsnmp.$(SHLIB_EXTENSION)$(SHLIB_VERSION) -LIBS= -L../snmplib $(CC_RUNTIME_ARG) -lsnmp @@LIBS@@ +LIBS= -L../snmplib $(CC_RUNTIME_ARG) -lsnmp @@LIBS@@ @@LIBWRAP@@ a28 2 CPPFLAGS=@@CPPFLAGS@@ -I.. -I$(srcdir)/.. -I$(srcdir)/../snmplib \ -I$(srcdir) -I. -I$(srcdir)/mibgroup -Imibgroup @