From owner-svn-src-all@FreeBSD.ORG Sat Dec 20 16:44:44 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4D3D1065673; Sat, 20 Dec 2008 16:44:44 +0000 (UTC) (envelope-from harti@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AD6F28FC1E; Sat, 20 Dec 2008 16:44:44 +0000 (UTC) (envelope-from harti@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mBKGiir8008908; Sat, 20 Dec 2008 16:44:44 GMT (envelope-from harti@svn.freebsd.org) Received: (from harti@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mBKGiiMO008896; Sat, 20 Dec 2008 16:44:44 GMT (envelope-from harti@svn.freebsd.org) Message-Id: <200812201644.mBKGiiMO008896@svn.freebsd.org> From: Hartmut Brandt Date: Sat, 20 Dec 2008 16:44:44 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r186357 - in vendor/bsnmp: 1.10 1.10/contrib 1.10/gensnmpdef 1.10/gensnmptree 1.10/lib 1.10/snmp_mibII 1.10/snmp_ntp 1.10/snmpd 1.11 1.11/config 1.11/contrib 1.11/gensnmpdef 1.11/gensnm... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Dec 2008 16:44:44 -0000 Author: harti Date: Sat Dec 20 16:44:43 2008 New Revision: 186357 URL: http://svn.freebsd.org/changeset/base/186357 Log: Flatten bsnmp vendor area. Added: vendor/bsnmp/1.10/NEWS - copied unchanged from r186355, vendor/bsnmp/1.10/contrib/bsnmp/NEWS vendor/bsnmp/1.10/README - copied unchanged from r186355, vendor/bsnmp/1.10/contrib/bsnmp/README vendor/bsnmp/1.10/TODO - copied unchanged from r186355, vendor/bsnmp/1.10/contrib/bsnmp/TODO vendor/bsnmp/1.10/VERSION - copied unchanged from r186355, vendor/bsnmp/1.10/contrib/bsnmp/VERSION vendor/bsnmp/1.10/gensnmpdef/ - copied from r186355, vendor/bsnmp/1.10/contrib/bsnmp/gensnmpdef/ vendor/bsnmp/1.10/gensnmptree/ - copied from r186355, vendor/bsnmp/1.10/contrib/bsnmp/gensnmptree/ vendor/bsnmp/1.10/lib/ - copied from r186355, vendor/bsnmp/1.10/contrib/bsnmp/lib/ vendor/bsnmp/1.10/oid-list - copied unchanged from r186355, vendor/bsnmp/1.10/contrib/bsnmp/oid-list vendor/bsnmp/1.10/snmp_mibII/ - copied from r186355, vendor/bsnmp/1.10/contrib/bsnmp/snmp_mibII/ vendor/bsnmp/1.10/snmp_ntp/ - copied from r186355, vendor/bsnmp/1.10/contrib/bsnmp/snmp_ntp/ vendor/bsnmp/1.10/snmpd/ - copied from r186355, vendor/bsnmp/1.10/contrib/bsnmp/snmpd/ vendor/bsnmp/1.11/Makefile.in - copied unchanged from r186355, vendor/bsnmp/1.11/contrib/bsnmp/Makefile.in vendor/bsnmp/1.11/NEWS - copied unchanged from r186355, vendor/bsnmp/1.11/contrib/bsnmp/NEWS vendor/bsnmp/1.11/README - copied unchanged from r186355, vendor/bsnmp/1.11/contrib/bsnmp/README vendor/bsnmp/1.11/TODO - copied unchanged from r186355, vendor/bsnmp/1.11/contrib/bsnmp/TODO vendor/bsnmp/1.11/VERSION - copied unchanged from r186355, vendor/bsnmp/1.11/contrib/bsnmp/VERSION vendor/bsnmp/1.11/acinclude.m4 - copied unchanged from r186355, vendor/bsnmp/1.11/contrib/bsnmp/acinclude.m4 vendor/bsnmp/1.11/aclocal.m4 - copied unchanged from r186355, vendor/bsnmp/1.11/contrib/bsnmp/aclocal.m4 vendor/bsnmp/1.11/config/ - copied from r186355, vendor/bsnmp/1.11/contrib/bsnmp/config/ vendor/bsnmp/1.11/configure - copied unchanged from r186355, vendor/bsnmp/1.11/contrib/bsnmp/configure vendor/bsnmp/1.11/configure.ac - copied unchanged from r186355, vendor/bsnmp/1.11/contrib/bsnmp/configure.ac vendor/bsnmp/1.11/gensnmpdef/ - copied from r186355, vendor/bsnmp/1.11/contrib/bsnmp/gensnmpdef/ vendor/bsnmp/1.11/gensnmptree/ - copied from r186355, vendor/bsnmp/1.11/contrib/bsnmp/gensnmptree/ vendor/bsnmp/1.11/lib/ - copied from r186355, vendor/bsnmp/1.11/contrib/bsnmp/lib/ vendor/bsnmp/1.11/oid-list - copied unchanged from r186355, vendor/bsnmp/1.11/contrib/bsnmp/oid-list vendor/bsnmp/1.11/snmp_mibII/ - copied from r186355, vendor/bsnmp/1.11/contrib/bsnmp/snmp_mibII/ vendor/bsnmp/1.11/snmp_ntp/ - copied from r186355, vendor/bsnmp/1.11/contrib/bsnmp/snmp_ntp/ vendor/bsnmp/1.11/snmpd/ - copied from r186355, vendor/bsnmp/1.11/contrib/bsnmp/snmpd/ vendor/bsnmp/1.12/NEWS - copied unchanged from r186355, vendor/bsnmp/1.12/contrib/bsnmp/NEWS vendor/bsnmp/1.12/README - copied unchanged from r186355, vendor/bsnmp/1.12/contrib/bsnmp/README vendor/bsnmp/1.12/TODO - copied unchanged from r186355, vendor/bsnmp/1.12/contrib/bsnmp/TODO vendor/bsnmp/1.12/VERSION - copied unchanged from r186355, vendor/bsnmp/1.12/contrib/bsnmp/VERSION vendor/bsnmp/1.12/gensnmpdef/ - copied from r186355, vendor/bsnmp/1.12/contrib/bsnmp/gensnmpdef/ vendor/bsnmp/1.12/gensnmptree/ - copied from r186355, vendor/bsnmp/1.12/contrib/bsnmp/gensnmptree/ vendor/bsnmp/1.12/lib/ - copied from r186355, vendor/bsnmp/1.12/contrib/bsnmp/lib/ vendor/bsnmp/1.12/oid-list - copied unchanged from r186355, vendor/bsnmp/1.12/contrib/bsnmp/oid-list vendor/bsnmp/1.12/snmp_mibII/ - copied from r186355, vendor/bsnmp/1.12/contrib/bsnmp/snmp_mibII/ vendor/bsnmp/1.12/snmp_ntp/ - copied from r186355, vendor/bsnmp/1.12/contrib/bsnmp/snmp_ntp/ vendor/bsnmp/1.12/snmpd/ - copied from r186355, vendor/bsnmp/1.12/contrib/bsnmp/snmpd/ vendor/bsnmp/1.4/NEWS - copied unchanged from r186355, vendor/bsnmp/1.4/contrib/bsnmp/NEWS vendor/bsnmp/1.4/README - copied unchanged from r186355, vendor/bsnmp/1.4/contrib/bsnmp/README vendor/bsnmp/1.4/TODO - copied unchanged from r186355, vendor/bsnmp/1.4/contrib/bsnmp/TODO vendor/bsnmp/1.4/VERSION - copied unchanged from r186355, vendor/bsnmp/1.4/contrib/bsnmp/VERSION vendor/bsnmp/1.4/gensnmptree/ - copied from r186355, vendor/bsnmp/1.4/contrib/bsnmp/gensnmptree/ vendor/bsnmp/1.4/lib/ - copied from r186355, vendor/bsnmp/1.4/contrib/bsnmp/lib/ vendor/bsnmp/1.4/snmp_mibII/ - copied from r186355, vendor/bsnmp/1.4/contrib/bsnmp/snmp_mibII/ vendor/bsnmp/1.4/snmpd/ - copied from r186355, vendor/bsnmp/1.4/contrib/bsnmp/snmpd/ vendor/bsnmp/1.5a/FREEBSD-upgrade - copied unchanged from r186355, vendor/bsnmp/1.5a/contrib/bsnmp/FREEBSD-upgrade vendor/bsnmp/1.5a/NEWS - copied unchanged from r186355, vendor/bsnmp/1.5a/contrib/bsnmp/NEWS vendor/bsnmp/1.5a/README - copied unchanged from r186355, vendor/bsnmp/1.5a/contrib/bsnmp/README vendor/bsnmp/1.5a/TODO - copied unchanged from r186355, vendor/bsnmp/1.5a/contrib/bsnmp/TODO vendor/bsnmp/1.5a/VERSION - copied unchanged from r186355, vendor/bsnmp/1.5a/contrib/bsnmp/VERSION vendor/bsnmp/1.5a/gensnmptree/ - copied from r186355, vendor/bsnmp/1.5a/contrib/bsnmp/gensnmptree/ vendor/bsnmp/1.5a/lib/ - copied from r186355, vendor/bsnmp/1.5a/contrib/bsnmp/lib/ vendor/bsnmp/1.5a/snmp_mibII/ - copied from r186355, vendor/bsnmp/1.5a/contrib/bsnmp/snmp_mibII/ vendor/bsnmp/1.5a/snmpd/ - copied from r186355, vendor/bsnmp/1.5a/contrib/bsnmp/snmpd/ vendor/bsnmp/1.6/NEWS - copied unchanged from r186355, vendor/bsnmp/1.6/contrib/bsnmp/NEWS vendor/bsnmp/1.6/README - copied unchanged from r186355, vendor/bsnmp/1.6/contrib/bsnmp/README vendor/bsnmp/1.6/TODO - copied unchanged from r186355, vendor/bsnmp/1.6/contrib/bsnmp/TODO vendor/bsnmp/1.6/VERSION - copied unchanged from r186355, vendor/bsnmp/1.6/contrib/bsnmp/VERSION vendor/bsnmp/1.6/gensnmpdef/ - copied from r186355, vendor/bsnmp/1.6/contrib/bsnmp/gensnmpdef/ vendor/bsnmp/1.6/gensnmptree/ - copied from r186355, vendor/bsnmp/1.6/contrib/bsnmp/gensnmptree/ vendor/bsnmp/1.6/lib/ - copied from r186355, vendor/bsnmp/1.6/contrib/bsnmp/lib/ vendor/bsnmp/1.6/snmp_mibII/ - copied from r186355, vendor/bsnmp/1.6/contrib/bsnmp/snmp_mibII/ vendor/bsnmp/1.6/snmpd/ - copied from r186355, vendor/bsnmp/1.6/contrib/bsnmp/snmpd/ vendor/bsnmp/1.7/NEWS - copied unchanged from r186355, vendor/bsnmp/1.7/contrib/bsnmp/NEWS vendor/bsnmp/1.7/README - copied unchanged from r186355, vendor/bsnmp/1.7/contrib/bsnmp/README vendor/bsnmp/1.7/TODO - copied unchanged from r186355, vendor/bsnmp/1.7/contrib/bsnmp/TODO vendor/bsnmp/1.7/VERSION - copied unchanged from r186355, vendor/bsnmp/1.7/contrib/bsnmp/VERSION vendor/bsnmp/1.7/gensnmpdef/ - copied from r186355, vendor/bsnmp/1.7/contrib/bsnmp/gensnmpdef/ vendor/bsnmp/1.7/gensnmptree/ - copied from r186355, vendor/bsnmp/1.7/contrib/bsnmp/gensnmptree/ vendor/bsnmp/1.7/lib/ - copied from r186355, vendor/bsnmp/1.7/contrib/bsnmp/lib/ vendor/bsnmp/1.7/snmp_mibII/ - copied from r186355, vendor/bsnmp/1.7/contrib/bsnmp/snmp_mibII/ vendor/bsnmp/1.7/snmpd/ - copied from r186355, vendor/bsnmp/1.7/contrib/bsnmp/snmpd/ vendor/bsnmp/1.8/NEWS - copied unchanged from r186355, vendor/bsnmp/1.8/contrib/bsnmp/NEWS vendor/bsnmp/1.8/README - copied unchanged from r186355, vendor/bsnmp/1.8/contrib/bsnmp/README vendor/bsnmp/1.8/TODO - copied unchanged from r186355, vendor/bsnmp/1.8/contrib/bsnmp/TODO vendor/bsnmp/1.8/VERSION - copied unchanged from r186355, vendor/bsnmp/1.8/contrib/bsnmp/VERSION vendor/bsnmp/1.8/gensnmpdef/ - copied from r186355, vendor/bsnmp/1.8/contrib/bsnmp/gensnmpdef/ vendor/bsnmp/1.8/gensnmptree/ - copied from r186355, vendor/bsnmp/1.8/contrib/bsnmp/gensnmptree/ vendor/bsnmp/1.8/lib/ - copied from r186355, vendor/bsnmp/1.8/contrib/bsnmp/lib/ vendor/bsnmp/1.8/oid-list - copied unchanged from r186355, vendor/bsnmp/1.8/contrib/bsnmp/oid-list vendor/bsnmp/1.8/snmp_mibII/ - copied from r186355, vendor/bsnmp/1.8/contrib/bsnmp/snmp_mibII/ vendor/bsnmp/1.8/snmpd/ - copied from r186355, vendor/bsnmp/1.8/contrib/bsnmp/snmpd/ vendor/bsnmp/1.9/NEWS - copied unchanged from r186355, vendor/bsnmp/1.9/contrib/bsnmp/NEWS vendor/bsnmp/1.9/README - copied unchanged from r186355, vendor/bsnmp/1.9/contrib/bsnmp/README vendor/bsnmp/1.9/TODO - copied unchanged from r186355, vendor/bsnmp/1.9/contrib/bsnmp/TODO vendor/bsnmp/1.9/VERSION - copied unchanged from r186355, vendor/bsnmp/1.9/contrib/bsnmp/VERSION vendor/bsnmp/1.9/gensnmpdef/ - copied from r186355, vendor/bsnmp/1.9/contrib/bsnmp/gensnmpdef/ vendor/bsnmp/1.9/gensnmptree/ - copied from r186355, vendor/bsnmp/1.9/contrib/bsnmp/gensnmptree/ vendor/bsnmp/1.9/lib/ - copied from r186355, vendor/bsnmp/1.9/contrib/bsnmp/lib/ vendor/bsnmp/1.9/oid-list - copied unchanged from r186355, vendor/bsnmp/1.9/contrib/bsnmp/oid-list vendor/bsnmp/1.9/snmp_mibII/ - copied from r186355, vendor/bsnmp/1.9/contrib/bsnmp/snmp_mibII/ vendor/bsnmp/1.9/snmp_ntp/ - copied from r186355, vendor/bsnmp/1.9/contrib/bsnmp/snmp_ntp/ vendor/bsnmp/1.9/snmpd/ - copied from r186355, vendor/bsnmp/1.9/contrib/bsnmp/snmpd/ vendor/bsnmp/dist/Makefile.in - copied unchanged from r186355, vendor/bsnmp/dist/contrib/bsnmp/Makefile.in vendor/bsnmp/dist/NEWS - copied unchanged from r186355, vendor/bsnmp/dist/contrib/bsnmp/NEWS vendor/bsnmp/dist/README - copied unchanged from r186355, vendor/bsnmp/dist/contrib/bsnmp/README vendor/bsnmp/dist/TODO - copied unchanged from r186355, vendor/bsnmp/dist/contrib/bsnmp/TODO vendor/bsnmp/dist/VERSION - copied unchanged from r186355, vendor/bsnmp/dist/contrib/bsnmp/VERSION vendor/bsnmp/dist/acinclude.m4 - copied unchanged from r186355, vendor/bsnmp/dist/contrib/bsnmp/acinclude.m4 vendor/bsnmp/dist/aclocal.m4 - copied unchanged from r186355, vendor/bsnmp/dist/contrib/bsnmp/aclocal.m4 vendor/bsnmp/dist/config/ - copied from r186355, vendor/bsnmp/dist/contrib/bsnmp/config/ vendor/bsnmp/dist/configure - copied unchanged from r186355, vendor/bsnmp/dist/contrib/bsnmp/configure vendor/bsnmp/dist/configure.ac - copied unchanged from r186355, vendor/bsnmp/dist/contrib/bsnmp/configure.ac vendor/bsnmp/dist/gensnmpdef/ - copied from r186355, vendor/bsnmp/dist/contrib/bsnmp/gensnmpdef/ vendor/bsnmp/dist/gensnmptree/ - copied from r186355, vendor/bsnmp/dist/contrib/bsnmp/gensnmptree/ vendor/bsnmp/dist/lib/ - copied from r186355, vendor/bsnmp/dist/contrib/bsnmp/lib/ vendor/bsnmp/dist/oid-list - copied unchanged from r186355, vendor/bsnmp/dist/contrib/bsnmp/oid-list vendor/bsnmp/dist/snmp_mibII/ - copied from r186355, vendor/bsnmp/dist/contrib/bsnmp/snmp_mibII/ vendor/bsnmp/dist/snmp_ntp/ - copied from r186355, vendor/bsnmp/dist/contrib/bsnmp/snmp_ntp/ vendor/bsnmp/dist/snmpd/ - copied from r186355, vendor/bsnmp/dist/contrib/bsnmp/snmpd/ vendor/bsnmp/syrinx_20080307_bugfix/Makefile.in - copied unchanged from r186355, vendor/bsnmp/syrinx_20080307_bugfix/contrib/bsnmp/Makefile.in vendor/bsnmp/syrinx_20080307_bugfix/NEWS - copied unchanged from r186355, vendor/bsnmp/syrinx_20080307_bugfix/contrib/bsnmp/NEWS vendor/bsnmp/syrinx_20080307_bugfix/README - copied unchanged from r186355, vendor/bsnmp/syrinx_20080307_bugfix/contrib/bsnmp/README vendor/bsnmp/syrinx_20080307_bugfix/TODO - copied unchanged from r186355, vendor/bsnmp/syrinx_20080307_bugfix/contrib/bsnmp/TODO vendor/bsnmp/syrinx_20080307_bugfix/VERSION - copied unchanged from r186355, vendor/bsnmp/syrinx_20080307_bugfix/contrib/bsnmp/VERSION vendor/bsnmp/syrinx_20080307_bugfix/acinclude.m4 - copied unchanged from r186355, vendor/bsnmp/syrinx_20080307_bugfix/contrib/bsnmp/acinclude.m4 vendor/bsnmp/syrinx_20080307_bugfix/aclocal.m4 - copied unchanged from r186355, vendor/bsnmp/syrinx_20080307_bugfix/contrib/bsnmp/aclocal.m4 vendor/bsnmp/syrinx_20080307_bugfix/config/ - copied from r186355, vendor/bsnmp/syrinx_20080307_bugfix/contrib/bsnmp/config/ vendor/bsnmp/syrinx_20080307_bugfix/configure - copied unchanged from r186355, vendor/bsnmp/syrinx_20080307_bugfix/contrib/bsnmp/configure vendor/bsnmp/syrinx_20080307_bugfix/configure.ac - copied unchanged from r186355, vendor/bsnmp/syrinx_20080307_bugfix/contrib/bsnmp/configure.ac vendor/bsnmp/syrinx_20080307_bugfix/gensnmpdef/ - copied from r186355, vendor/bsnmp/syrinx_20080307_bugfix/contrib/bsnmp/gensnmpdef/ vendor/bsnmp/syrinx_20080307_bugfix/gensnmptree/ - copied from r186355, vendor/bsnmp/syrinx_20080307_bugfix/contrib/bsnmp/gensnmptree/ vendor/bsnmp/syrinx_20080307_bugfix/lib/ - copied from r186355, vendor/bsnmp/syrinx_20080307_bugfix/contrib/bsnmp/lib/ vendor/bsnmp/syrinx_20080307_bugfix/oid-list - copied unchanged from r186355, vendor/bsnmp/syrinx_20080307_bugfix/contrib/bsnmp/oid-list vendor/bsnmp/syrinx_20080307_bugfix/snmp_mibII/ - copied from r186355, vendor/bsnmp/syrinx_20080307_bugfix/contrib/bsnmp/snmp_mibII/ vendor/bsnmp/syrinx_20080307_bugfix/snmp_ntp/ - copied from r186355, vendor/bsnmp/syrinx_20080307_bugfix/contrib/bsnmp/snmp_ntp/ vendor/bsnmp/syrinx_20080307_bugfix/snmpd/ - copied from r186355, vendor/bsnmp/syrinx_20080307_bugfix/contrib/bsnmp/snmpd/ Deleted: vendor/bsnmp/1.10/contrib/ vendor/bsnmp/1.11/contrib/ vendor/bsnmp/1.12/contrib/ vendor/bsnmp/1.4/contrib/ vendor/bsnmp/1.5a/contrib/ vendor/bsnmp/1.6/contrib/ vendor/bsnmp/1.7/contrib/ vendor/bsnmp/1.8/contrib/ vendor/bsnmp/1.9/contrib/ vendor/bsnmp/dist/contrib/ vendor/bsnmp/syrinx_20080307_bugfix/contrib/ Copied: vendor/bsnmp/1.10/NEWS (from r186355, vendor/bsnmp/1.10/contrib/bsnmp/NEWS) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/bsnmp/1.10/NEWS Sat Dec 20 16:44:43 2008 (r186357, copy of r186355, vendor/bsnmp/1.10/contrib/bsnmp/NEWS) @@ -0,0 +1,142 @@ +1.10 + Change all the tick handling in the daemon from 32-bit to 64-bit. + Bump the modules' major version number to 3. + + snmp_dialog: make the syntax of the variable bindings in the outgoing + message SNMP_SYNTAX_NULL regardless of the syntax given by the user. + + Fix an error in timer handling in the LIBBEGEMOT case. + + snmpd/main.c: Fix a 64-bit warning. + + lib/snmpclient: Add snmp_parse_server(). + +1.9 + tcpwrapper support from glebius@freebsd.org. + + crude interface to NTP: snmp_ntp + +1.8 + many man page fixes from ru@freebsd.org and tobez@freebsd.org + + snmpd/main.c: fix a problem which resulted in the daemon exiting + when a local socket was closed. + + snmpd/trans_lsock.c: include stdio.h to get a prototype for remove. + + gensnmptree/gensnmptree.c: fix a compile error + + snmp_mibII: add new field spec_oid to ifmib. This allows ifType + specific modules to insert the value to be returned for ifSpecific. + +1.7a + fix core dump when config file cannot be opened (submitted by + Maxim Konovalov) + +1.7 + snmpd: Move event library initialisation before reading of + config file (thanks to phk). + + gensnmptree: can now read more than one tree and merge them. + + some support for compilation on older systems + + use standard C fixed width integer types [u]intNN_t + +1.6 + New gensnmpdef tool. Needs libsmi. + + Make build infrastructure more intelligent. + + Fix a typo in the mibII counter retrival code. + + Add a new field to struct snmp_node for snmp agents: tree_data. + This field can be used by the application. + + Fix a syntax error in the example configuration file (thanks to + David J Duchscher). + + Fix a long standing problem with the module loading code + and a memory leak. When a module could not be loaded usually + a core dump was generated. This was caused by wrong handling + of malloced memory in the module table dependency. While + fixing this problem it became obvious that dynamic allocated + data which was held in a dependency could be lost, because + there was no guarantee that the dependency handler ever was + call (in case of an error in a SET handler or an earlier + dependency in the same PDU) thus causing this memory to leak. + To fix this a third dependency operation is introduced + SNMP_DEPOP_FINISH which is invoked just before a dependency + is freed at the very end of the SET PDU handling. This + means also that finalizers (set_atfinish) can be converted + to DEPOP_FINISH handler in almost all cases. The only case + where this is not so easy is when a finializer was registered + for a simple SET operation. In this case an artifical dependency + would be needed. Because this seems to occure very seldom the + snmp_set_atfinish() call is removed. Thanks to Paul-Henning Kamp + for an initial fix for the core dump. + +09-Dec-2003 + First step on factoring out the transport mapping stuff into + loadable modules. + + Local stream sockets that check the clients privileges. + +03-Dec-2003 + Bump version to 1.5 but leave library version intact. + +03-Dec-2003 + Now works with libbegemot polling stuff instead of libisc. + Use --with-libbegemot[=path] to configure. + +03-Dec-2003 + Fix parsing of non-minimal ASN.1 integers. They are now disallowed. + Non-minimal lengths are allowed. + + Remove copyright clause 3 everywhere. + + Make an autoconf build infrastructure. + +08-Nov-2003 + WARNS=6 fixed. + +28-Jan-2003 + WARNS=5 fixes. + +09-Jan-2003 + snmpd: remove local socket in case of an error to fully initialize it. + Use chmod instead of fchmod. The latter seems not really to change + the mode of the socket. + + lib: at program exit remove the local socket in the library. + +11-Dec-2002 + Implement listening on unix domain sockets. The client must bind + its socket, or the server cannot send back its response. These + sockets are considered to be more secure, because it is much + harder for an intruder to listen on them. + + This requires changes in snmpmod.h and snmpclient.h. + +04-Dec-2002 + Sparc fixes. + +15-Aug-2002 + Use inttypes.h instead of limits.h to get integer limits. This + seems to be the Posix way. + + First drafts of an snmpd, gensnmptree, asn1, bsnmplib, + bsnmpclient, bsnmpagent, snmpmod, snmp_mibII, snmp_netgraph man pages. + + snmpd/main.c: reorder getopt options according to style(9). Implement + a -h option to print a short help. + +25-Jun-2002 + Makefiles rewritten to not use bsnmpmod.mk. The BSD makefiles are + really hard to use, because a) they are not documented and b) they + change much too often. + + Make the patch a context diff instead of a unified one. + +28-Feb-2002 + Library code for SNMP clients. Copied: vendor/bsnmp/1.10/README (from r186355, vendor/bsnmp/1.10/contrib/bsnmp/README) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/bsnmp/1.10/README Sat Dec 20 16:44:43 2008 (r186357, copy of r186355, vendor/bsnmp/1.10/contrib/bsnmp/README) @@ -0,0 +1,65 @@ +Fri Dec 5 15:01:16 CET 2003 + +This is a mini-SNMP daemon. The basic daemon implements the system group +and a number of private extensions to manage the UDP transport mapping, +communities, trap destinations and loadable modules. In this form it can +be used to provide remote access to arbitrary data that can be described in +the form as required by the SMI. The daemon speaks both SNMPv1 and SNMPv2c. + +One basic loadable module is provided together with the daemon: + +- snmp_mibII provides the information groups for ip, tcp, and udp. + +Installation +------------ + +As usual by doing: + + configure [--with-libbegemot[=path]] + make + make install + +This does not install a configuration file. The standard location for the +configuration is /etc/snmpd.config, but can be overwritten on the command +line. An example configuration file is provided. Use --with-libbegemot +to use libbegemot instead of libisc. + +Running +------- + + snmpd [-m name[=value]] [-p pid-file] [-c config-file] [-d] [-l prefix] + [-D debug-flags] [-I path] + + -m defines a configuration macro. If no value is given it + is set to the empty string. + + -p specify the file where to store the PID. Default is + /var/run/{prefix}.pid. + + -c specify the configuration file. Default is /etc/{prefix}.config. + + -d don't go into daemon mode. + + -l specify the prefix. This is used for the default config and + pid file names and for the syslog. Default is "snmpd". + + -D specify debug flags: + + d dump all PDUs. + + e debug event library. + + -I specify the include path for system configuration files. + Default is /etc:/usr/etc:/usr/local/etc. + +The directory snmpd contains a snmpd.sh script, which can be copied to +/usr/local/etc/rc.d to automatically start and stop the daemon. snmpd.config +is an example config script. + +Bug reports: +----------- + +Please report bugs to harti@freebsd.org. + +Happy hacking, +harti Copied: vendor/bsnmp/1.10/TODO (from r186355, vendor/bsnmp/1.10/contrib/bsnmp/TODO) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/bsnmp/1.10/TODO Sat Dec 20 16:44:43 2008 (r186357, copy of r186355, vendor/bsnmp/1.10/contrib/bsnmp/TODO) @@ -0,0 +1,17 @@ +snmpd_mibII: + - handle HC counters by periodically polling the kernel counters. + +snmpd: + - rethink transports a little bit: make them loadable and make + a private subtree for transports: + OK. Table not writeable yet. + + There should be a transport table that is indexed by the transport name. + This table can be used to load/unload transports at run time. + OK. Table not writeable yet. + + Then there can be a port table that is indexed by transport name and + port name. Plus a transport-specific table indexed by port name only. + + The transport table could contain a column of type OID that points + to the transport-specific table. Copied: vendor/bsnmp/1.10/VERSION (from r186355, vendor/bsnmp/1.10/contrib/bsnmp/VERSION) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/bsnmp/1.10/VERSION Sat Dec 20 16:44:43 2008 (r186357, copy of r186355, vendor/bsnmp/1.10/contrib/bsnmp/VERSION) @@ -0,0 +1 @@ +1.10 Copied: vendor/bsnmp/1.10/oid-list (from r186355, vendor/bsnmp/1.10/contrib/bsnmp/oid-list) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/bsnmp/1.10/oid-list Sat Dec 20 16:44:43 2008 (r186357, copy of r186355, vendor/bsnmp/1.10/contrib/bsnmp/oid-list) @@ -0,0 +1,23 @@ +$Begemot: bsnmp/oid-list,v 1.3 2005/05/23 09:03:22 brandt_h Exp $ + +This file documents the OID assignments under BSNMP's private OID. + +While I was at Fraunhofer Fokus (www.fokus.fraunhofer.de) I registered +an official OID for Fokus: enterprises 12325 and assigned the sub-OID 1 +to the software I develop. Under this OID there are: + +enterprises + 12325 FOKUS + 1 BEGEMOT + 1 BEGEMOT-SNMPD + 2 BEGEMOT-NETGRAPH snmpd netgraph module + 100 BEGEMOT-ILMID snmpd ILMID module + 101 BEGEMOT-ATM snmpd ATM module + 200 BEGEMOT-PF snmpd PF module (phillip@freebsd.org) + 201 BEGEMOT-NTP snmpd NTP module + 300 BEGEMOT-ACM DLR ACM project + +If you need an OID and don't know where to stuck it in, I can assign you one - +just drop me a mail. + +harti Copied: vendor/bsnmp/1.11/Makefile.in (from r186355, vendor/bsnmp/1.11/contrib/bsnmp/Makefile.in) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/bsnmp/1.11/Makefile.in Sat Dec 20 16:44:43 2008 (r186357, copy of r186355, vendor/bsnmp/1.11/contrib/bsnmp/Makefile.in) @@ -0,0 +1,38 @@ +# Copyright (c) 2001-2003 +# Fraunhofer Institute for Open Communication Systems (FhG Fokus). +# All rights reserved. +# +# Author: Harti Brandt +# +# $Begemot: bsnmp/Makefile.in,v 1.4 2005/10/04 11:21:22 brandt_h Exp $ +# + +SUBDIR= lib gensnmptree snmpd snmp_mibII snmp_ntp + +ifeq "$(HAVE_LIBSMI)" "yes" +SUBDIR += gensnmpdef +endif + +all: + +@for f in $(SUBDIR) ; do \ + echo "==> $$f" ; \ + if ! $(SUBMAKE) -C $$f all ; then \ + break ; \ + fi ; \ + done + +install: + +@for f in $(SUBDIR) ; do \ + echo "==> $$f" ; \ + if ! $(SUBMAKE) -C $$f install ; then \ + break ; \ + fi ; \ + done + +clean: + +@for f in $(SUBDIR) ; do \ + echo "==> $$f" ; \ + if ! $(SUBMAKE) -C $$f clean ; then \ + break ; \ + fi ; \ + done Copied: vendor/bsnmp/1.11/NEWS (from r186355, vendor/bsnmp/1.11/contrib/bsnmp/NEWS) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/bsnmp/1.11/NEWS Sat Dec 20 16:44:43 2008 (r186357, copy of r186355, vendor/bsnmp/1.11/contrib/bsnmp/NEWS) @@ -0,0 +1,164 @@ +1.11 Make the Mib2 routing table use red-black tree. This vastly + reduces loading and access time. Load the table only every 10 + minutes. In the meantime process message from the routing socket + to update the table. + + Lot of man-page fixes from ru@freebsd.org. + + Fixes to command line macros and macro redefinition. + + Trap variables for ntp (still need trap definition and code). + + Periodic timers from Victor Cruceru. + + Man-page fixes from Christian Brueffer. + + Lots of spelling fixes from Giorgios Keramidas. + + A number of changes to facilitate building on FreeBSD-4 from + Andrey Elsukov. + + Add repeatable timers. + +1.10 + Change all the tick handling in the daemon from 32-bit to 64-bit. + Bump the modules' major version number to 3. + + snmp_dialog: make the syntax of the variable bindings in the outgoing + message SNMP_SYNTAX_NULL regardless of the syntax given by the user. + + Fix an error in timer handling in the LIBBEGEMOT case. + + snmpd/main.c: Fix a 64-bit warning. + + lib/snmpclient: Add snmp_parse_server(). + +1.9 + tcpwrapper support from glebius@freebsd.org. + + crude interface to NTP: snmp_ntp + +1.8 + many man page fixes from ru@freebsd.org and tobez@freebsd.org + + snmpd/main.c: fix a problem which resulted in the daemon exiting + when a local socket was closed. + + snmpd/trans_lsock.c: include stdio.h to get a prototype for remove. + + gensnmptree/gensnmptree.c: fix a compile error + + snmp_mibII: add new field spec_oid to ifmib. This allows ifType + specific modules to insert the value to be returned for ifSpecific. + +1.7a + fix core dump when config file cannot be opened (submitted by + Maxim Konovalov) + +1.7 + snmpd: Move event library initialization before reading of + config file (thanks to phk). + + gensnmptree: can now read more than one tree and merge them. + + some support for compilation on older systems + + use standard C fixed width integer types [u]intNN_t + +1.6 + New gensnmpdef tool. Needs libsmi. + + Make build infrastructure more intelligent. + + Fix a typo in the mibII counter retrival code. + + Add a new field to struct snmp_node for snmp agents: tree_data. + This field can be used by the application. + + Fix a syntax error in the example configuration file (thanks to + David J Duchscher). + + Fix a long standing problem with the module loading code + and a memory leak. When a module could not be loaded usually + a core dump was generated. This was caused by wrong handling + of malloced memory in the module table dependency. While + fixing this problem it became obvious that dynamic allocated + data which was held in a dependency could be lost, because + there was no guarantee that the dependency handler ever was + call (in case of an error in a SET handler or an earlier + dependency in the same PDU) thus causing this memory to leak. + To fix this a third dependency operation is introduced + SNMP_DEPOP_FINISH which is invoked just before a dependency + is freed at the very end of the SET PDU handling. This + means also that finalizers (set_atfinish) can be converted + to DEPOP_FINISH handler in almost all cases. The only case + where this is not so easy is when a finializer was registered + for a simple SET operation. In this case an artifical dependency + would be needed. Because this seems to occure very seldom the + snmp_set_atfinish() call is removed. Thanks to Paul-Henning Kamp + for an initial fix for the core dump. + +09-Dec-2003 + First step on factoring out the transport mapping stuff into + loadable modules. + + Local stream sockets that check the clients privileges. + +03-Dec-2003 + Bump version to 1.5 but leave library version intact. + +03-Dec-2003 + Now works with libbegemot polling stuff instead of libisc. + Use --with-libbegemot[=path] to configure. + +03-Dec-2003 + Fix parsing of non-minimal ASN.1 integers. They are now disallowed. + Non-minimal lengths are allowed. + + Remove copyright clause 3 everywhere. + + Make an autoconf build infrastructure. + +08-Nov-2003 + WARNS=6 fixed. + +28-Jan-2003 + WARNS=5 fixes. + +09-Jan-2003 + snmpd: remove local socket in case of an error to fully initialize it. + Use chmod instead of fchmod. The latter seems not really to change + the mode of the socket. + + lib: at program exit remove the local socket in the library. + +11-Dec-2002 + Implement listening on unix domain sockets. The client must bind + its socket, or the server cannot send back its response. These + sockets are considered to be more secure, because it is much + harder for an intruder to listen on them. + + This requires changes in snmpmod.h and snmpclient.h. + +04-Dec-2002 + Sparc fixes. + +15-Aug-2002 + Use inttypes.h instead of limits.h to get integer limits. This + seems to be the Posix way. + + First drafts of an snmpd, gensnmptree, asn1, bsnmplib, + bsnmpclient, bsnmpagent, snmpmod, snmp_mibII, snmp_netgraph man pages. + + snmpd/main.c: reorder getopt options according to style(9). Implement + a -h option to print a short help. + +25-Jun-2002 + Makefiles rewritten to not use bsnmpmod.mk. The BSD makefiles are + really hard to use, because a) they are not documented and b) they + change much too often. + + Make the patch a context diff instead of a unified one. + +28-Feb-2002 + Library code for SNMP clients. Copied: vendor/bsnmp/1.11/README (from r186355, vendor/bsnmp/1.11/contrib/bsnmp/README) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/bsnmp/1.11/README Sat Dec 20 16:44:43 2008 (r186357, copy of r186355, vendor/bsnmp/1.11/contrib/bsnmp/README) @@ -0,0 +1,65 @@ +Fri Dec 5 15:01:16 CET 2003 + +This is a mini-SNMP daemon. The basic daemon implements the system group +and a number of private extensions to manage the UDP transport mapping, +communities, trap destinations and loadable modules. In this form it can +be used to provide remote access to arbitrary data that can be described in +the form as required by the SMI. The daemon speaks both SNMPv1 and SNMPv2c. + +One basic loadable module is provided together with the daemon: + +- snmp_mibII provides the information groups for ip, tcp, and udp. + +Installation +------------ + +As usual by doing: + + configure [--with-libbegemot[=path]] + make + make install + +This does not install a configuration file. The standard location for the +configuration is /etc/snmpd.config, but can be overwritten on the command +line. An example configuration file is provided. Use --with-libbegemot +to use libbegemot instead of libisc. + +Running +------- + + snmpd [-m name[=value]] [-p pid-file] [-c config-file] [-d] [-l prefix] + [-D debug-flags] [-I path] + + -m defines a configuration macro. If no value is given it + is set to the empty string. + + -p specify the file where to store the PID. Default is + /var/run/{prefix}.pid. + + -c specify the configuration file. Default is /etc/{prefix}.config. + + -d don't go into daemon mode. + + -l specify the prefix. This is used for the default config and + pid file names and for the syslog. Default is "snmpd". + + -D specify debug flags: + + d dump all PDUs. + + e debug event library. + + -I specify the include path for system configuration files. + Default is /etc:/usr/etc:/usr/local/etc. + +The directory snmpd contains a snmpd.sh script, which can be copied to +/usr/local/etc/rc.d to automatically start and stop the daemon. snmpd.config +is an example config script. + +Bug reports: +----------- + +Please report bugs to harti@freebsd.org. + +Happy hacking, +harti Copied: vendor/bsnmp/1.11/TODO (from r186355, vendor/bsnmp/1.11/contrib/bsnmp/TODO) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/bsnmp/1.11/TODO Sat Dec 20 16:44:43 2008 (r186357, copy of r186355, vendor/bsnmp/1.11/contrib/bsnmp/TODO) @@ -0,0 +1,17 @@ +snmpd_mibII: + - handle HC counters by periodically polling the kernel counters. + +snmpd: + - rethink transports a little bit: make them loadable and make + a private subtree for transports: + OK. Table not writeable yet. + + There should be a transport table that is indexed by the transport name. + This table can be used to load/unload transports at run time. + OK. Table not writeable yet. + + Then there can be a port table that is indexed by transport name and + port name. Plus a transport-specific table indexed by port name only. + + The transport table could contain a column of type OID that points + to the transport-specific table. Copied: vendor/bsnmp/1.11/VERSION (from r186355, vendor/bsnmp/1.11/contrib/bsnmp/VERSION) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/bsnmp/1.11/VERSION Sat Dec 20 16:44:43 2008 (r186357, copy of r186355, vendor/bsnmp/1.11/contrib/bsnmp/VERSION) @@ -0,0 +1 @@ +1.11 Copied: vendor/bsnmp/1.11/acinclude.m4 (from r186355, vendor/bsnmp/1.11/contrib/bsnmp/acinclude.m4) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/bsnmp/1.11/acinclude.m4 Sat Dec 20 16:44:43 2008 (r186357, copy of r186355, vendor/bsnmp/1.11/contrib/bsnmp/acinclude.m4) @@ -0,0 +1,5867 @@ +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- +## Copyright 1996, 1997, 1998, 1999, 2000, 2001 +## Free Software Foundation, Inc. +## Originally by Gordon Matzigkeit , 1996 +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +## +## As a special exception to the GNU General Public License, if you +## distribute this file as part of a program that contains a +## configuration script generated by Autoconf, you may include it under +## the same distribution terms that you use for the rest of that program. + +# serial 47 AC_PROG_LIBTOOL + + +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) +# ----------------------------------------------------------- +# If this macro is not defined by Autoconf, define it here. +m4_ifdef([AC_PROVIDE_IFELSE], + [], + [m4_define([AC_PROVIDE_IFELSE], + [m4_ifdef([AC_PROVIDE_$1], + [$2], [$3])])]) + + +# AC_PROG_LIBTOOL +# --------------- +AC_DEFUN([AC_PROG_LIBTOOL], +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. + AC_PROVIDE_IFELSE([AC_PROG_CXX], + [AC_LIBTOOL_CXX], + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX + ])]) +dnl And a similar setup for Fortran 77 support + AC_PROVIDE_IFELSE([AC_PROG_F77], + [AC_LIBTOOL_F77], + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 +])]) + +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. + AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [ifdef([AC_PROG_GCJ], + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([A][M_PROG_GCJ], + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([LT_AC_PROG_GCJ], + [define([LT_AC_PROG_GCJ], + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) +])])# AC_PROG_LIBTOOL + + +# _AC_PROG_LIBTOOL +# ---------------- +AC_DEFUN([_AC_PROG_LIBTOOL], +[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' +AC_SUBST(LIBTOOL)dnl + +# Prevent multiple expansion +define([AC_PROG_LIBTOOL], []) +])# _AC_PROG_LIBTOOL + + +# AC_LIBTOOL_SETUP +# ---------------- +AC_DEFUN([AC_LIBTOOL_SETUP], +[AC_PREREQ(2.50)dnl +AC_REQUIRE([AC_ENABLE_SHARED])dnl +AC_REQUIRE([AC_ENABLE_STATIC])dnl +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_PROG_LD])dnl +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl +AC_REQUIRE([AC_PROG_NM])dnl + +AC_REQUIRE([AC_PROG_LN_S])dnl +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! +AC_REQUIRE([AC_OBJEXT])dnl +AC_REQUIRE([AC_EXEEXT])dnl +dnl + +AC_LIBTOOL_SYS_MAX_CMD_LEN +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +AC_LIBTOOL_OBJDIR + +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl +_LT_AC_PROG_ECHO_BACKSLASH + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e s/^X//' +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] + +# Same as above, but do not quote variable references. +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +# Constants: +rm="rm -f" + +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +AC_CHECK_TOOL(AR, ar, false) +AC_CHECK_TOOL(RANLIB, ranlib, :) +AC_CHECK_TOOL(STRIP, strip, :) + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + AC_PATH_MAGIC + fi + ;; +esac + +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +enable_win32_dll=yes, enable_win32_dll=no) + +AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +AC_ARG_WITH([pic], + [AC_HELP_STRING([--with-pic], + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], + [pic_mode="$withval"], + [pic_mode=default]) +test -z "$pic_mode" && pic_mode=default + +# Use C for the default configuration in the libtool script +tagname= +AC_LIBTOOL_LANG_C_CONFIG +_LT_AC_TAGCONFIG +])# AC_LIBTOOL_SETUP + + +# _LT_AC_SYS_COMPILER +# ------------------- +AC_DEFUN([_LT_AC_SYS_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_AC_SYS_COMPILER + + +# _LT_AC_SYS_LIBPATH_AIX +# ---------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi],[]) +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +])# _LT_AC_SYS_LIBPATH_AIX + + +# _LT_AC_SHELL_INIT(ARG) +# ---------------------- +AC_DEFUN([_LT_AC_SHELL_INIT], +[ifdef([AC_DIVERSION_NOTICE], + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], + [AC_DIVERT_PUSH(NOTICE)]) +$1 +AC_DIVERT_POP +])# _LT_AC_SHELL_INIT + + +# _LT_AC_PROG_ECHO_BACKSLASH +# -------------------------- +# Add some code to the start of the generated configure script which +# will find an echo command which doesn't interpret backslashes. +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], +[_LT_AC_SHELL_INIT([ +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} + +case X$ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` + ;; +esac + +echo=${ECHO-echo} +if test "X[$]1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X[$]1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then + # Yippee, $echo works! + : +else + # Restart under the correct shell. + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} +fi + +if test "X[$]1" = X--fallback-echo; then + # used as fallback echo + shift + cat </dev/null && + echo_test_string="`eval $cmd`" && + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null + then + break + fi + done +fi + +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + : +else + # The Solaris, AIX, and Digital Unix default echo programs unquote + # backslashes. This makes it impossible to quote backslashes using + # echo "$something" | sed 's/\\/\\\\/g' + # + # So, first we look for a working echo in the user's PATH. + + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for dir in $PATH /usr/ucb; do + IFS="$lt_save_ifs" + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$dir/echo" + break + fi + done + IFS="$lt_save_ifs" + + if test "X$echo" = Xecho; then + # We didn't find a better echo, so look for alternatives. + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # This shell has a builtin print -r that does the trick. + echo='print -r' + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && + test "X$CONFIG_SHELL" != X/bin/ksh; then + # If we have ksh, try running configure again with it. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} + export ORIGINAL_CONFIG_SHELL + CONFIG_SHELL=/bin/ksh + export CONFIG_SHELL + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} + else + # Try using printf. + echo='printf %s\n' + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # Cool, printf works + : + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL + export CONFIG_SHELL + SHELL="$CONFIG_SHELL" + export SHELL + echo="$CONFIG_SHELL [$]0 --fallback-echo" + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$CONFIG_SHELL [$]0 --fallback-echo" + else + # maybe with a smaller string... + prev=: + + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null + then + break + fi + prev="$cmd" + done + + if test "$prev" != 'sed 50q "[$]0"'; then + echo_test_string=`eval $prev` + export echo_test_string + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} + else + # Oops. We lost completely, so just stick with echo. + echo=echo + fi + fi + fi + fi +fi +fi + +# Copy echo and quote the copy suitably for passing to libtool from +# the Makefile, instead of quoting the original, which is used later. +ECHO=$echo +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" +fi + +AC_SUBST(ECHO) +])])# _LT_AC_PROG_ECHO_BACKSLASH + + +# _LT_AC_LOCK *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***