Commit graph

65 commits

Author SHA1 Message Date
tron
3c5b4a5a97 Fix silly typo in original sources which causes build failures on NetBSD
systems with utmpx support.
2002-03-04 12:40:24 +00:00
tron
6536ea2bf8 Put a delay in the "restart" code so that the daemon has time to shutdown
properly.
2002-02-27 15:13:31 +00:00
tron
4dc6b3b9e7 Fix message displayed if daemon is started. 2002-02-27 12:52:58 +00:00
tron
4ff705e08c Add buildlink glue code for libraries and includes delivered by the
"ucd-snmp" package.
2002-02-17 21:09:35 +00:00
tron
7fa065631e Add work arround for build problems under NetBSD-i386 1.5.1, 1.5.2 and
early 1.5.3 alpha versions caused by an error in "sys/disklabel.h"
2002-02-14 09:40:31 +00:00
tron
b67cf00c61 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.
2002-02-13 16:41:40 +00:00
skrll
9bd4180d57 /bin/mkdir -> ${MKDIR}.
Make the print-PLIST target output ${MKDIR} also.
2002-02-05 22:39:00 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
tron
9d1956040f Put a "@" in front of the recently added "${LN}" command so that the
"post-extract" target is quiet again.
2001-09-24 15:02:53 +00:00
tron
bc1aa94690 Fix build problem under NetBSD-current. Patch supplied by Naoto Shimazaki
in PR pkg/14045.
2001-09-24 09:40:00 +00:00
tron
a68a277b43 Use wildcard dependence on "autoconf" package. 2001-08-27 14:35:04 +00:00
wiz
433b62957e Move to sha1 checksum, and/or add distfile sizes. 2001-04-21 11:23:08 +00:00
agc
bbc67fac91 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:53:33 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
agc
1b3a258925 A very dirty workaround to a compilation problem on NetBSD hosts caused by
configure script problems.
2001-03-14 10:29:42 +00:00
wiz
ee1c19f523 add RCS Id (!) 2001-03-05 19:06:57 +00:00
wiz
112aff08e7 Undo part of 1.30 (which must have been an error). pkg/12334. 2001-03-05 19:06:47 +00:00
itojun
bcaae6aaf8 remove obsoleted PATCH_SITES section. the kame patch is already integrated
into ucd-snmp distribution.
2001-03-04 13:28:45 +00:00
hubertf
d32e698de6 Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
2001-02-25 04:17:35 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
wiz
d4fce8d4e7 Unify format of MESSAGEs, and include RCS Ids. 2001-02-06 14:24:03 +00:00
fredb
46a9e2c3de Make that "autoreconf" -- there is no "autoremake". 2001-02-06 03:16:56 +00:00
tron
f2d262e0be Use full pathname "${LOCALBASE}/bin/auto..." in dependences and make
targets. This includes a fix for PR pkg/12125 by Tomasz Luchowski.
2001-02-05 09:00:54 +00:00
hubertf
4e372acf40 use MASTER_SITE_SOURCEFORGE for better reachability 2001-01-31 00:33:23 +00:00
wiz
d7906c3ebd Some more MESSAGE cleanup. 2001-01-29 11:38:10 +00:00
hubertf
6be2ab40ba This was meant to be added for PR 12043 - fixes part of PR 12055 2001-01-28 03:39:48 +00:00
wiz
bb33ca9ce1 Regen. 2001-01-26 10:46:41 +00:00
hubertf
0633c8a40b snmpd tries to use librpm to give a list of installed software
via the swinst table. Disable for a number of reasons.

Patch sent in by "Greg A. Woods" <woods@planix.com> in private mail.
2001-01-26 04:38:04 +00:00
hubertf
7d8e82eb8c * Fix rc.d scripts
* support HOST-RESOURCES MIB

Patch submitted by Greg A. Woods <woods@weird.com> in PR 12043
2001-01-26 02:02:34 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
hubertf
4eeedcc39d Make rc.d script handle stop/start/restart 2000-12-16 09:04:40 +00:00
hubertf
9a3a983912 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.
2000-12-15 18:46:50 +00:00
itojun
0f5de8502e ucd-snmp moved to sourceforge. PR 11592. 2000-12-04 11:48:23 +00:00
veego
049cb894de Fix the scotty mips path.
Should we add a depends line for scotty?
2000-11-05 11:07:57 +00:00
kim
8b2612e91e Missed one... 2000-10-13 19:10:03 +00:00
kim
17326ef890 Add a startup script. 2000-10-13 18:16:00 +00:00
kim
d5d93d218a 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.
2000-10-13 17:55:35 +00:00
wiz
495ba99f9c USE_PKGLIBTOOL -> USE_LIBTOOL 2000-08-14 23:48:24 +00:00
rh
74add3b300 s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
2000-06-01 11:23:11 +00:00
itojun
743455bdb1 Be friendly with ELF-based netbsd systems.
(issue in ucd-snmp side - submitted diff to ucd-snmp-coders@ucdavis)

depend on devel/autoconf, to simplify the build.

ELF breakage reported from: "Michael L. Hitch" <mhitch@lightning.msu.montana.edu>
2000-01-24 04:18:35 +00:00
itojun
610d55930a use today's KAME diff.
this should fix non-IPv6 compilation on NetBSd-current node.

From: tron
2000-01-23 15:13:49 +00:00
itojun
4dd89641bd remove explicit PKGNAME (DISNAME == PKGNAME).
include $NetBSD$ into patches.
2000-01-23 10:42:15 +00:00
itojun
7a526062c8 upgrade ucd-snmp to 4.0.1.
include IPv6 MIB support patch into compilation.
2000-01-23 10:41:09 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
tron
99888b864b 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.
1999-08-15 11:07:13 +00:00
tron
6177eaed01 Use package libtool to install "snmptrapd" because we will get a useless
shell script otherwise.
1999-08-15 10:12:51 +00:00
tron
d77009484c Make this package build on ELF systems. 1999-08-15 09:44:00 +00:00
agc
f4d5171de1 Add package patch checksum files. 1999-07-09 14:09:02 +00:00
kim
15e6c91073 Now detecting the type of rtentry works (on my 1.3H) and
the software compiles.  Hopefully this change does not
break anything on 1.4 systems.
1999-06-14 16:04:02 +00:00
tv
a4e21b17ce Build libsnmp as a shared object with libtool. Bump version to "...p1". 1999-05-04 03:51:57 +00:00