Commit graph

54 commits

Author SHA1 Message Date
wiz
3f8122837e Convert to options framework.
While here, sort Makefile a bit to make it easier to read.
2005-08-01 11:55:55 +00:00
rtr
0b5d47921b make net-snmp build on darwin 8.2.0 patches from darwin sources 2005-07-31 02:30:18 +00:00
rtr
40763894f0 make net-snmp build on darwin 8.2.0.
these patches shouldn't break netbsd.
2005-07-31 02:30:17 +00:00
jlam
83147ffa68 Remove some unnecessarily strong dependencies on perl that resulted
from including perl5/buildlink3.mk.  These packages just need the Perl
interpreter, and can just add "perl" to USE_TOOLS instead.
2005-07-16 19:10:37 +00:00
adrianp
2effed1522 Bump BUILDLINK_RECOMMENDED to 5.2.1.2 for recent security issue. 2005-07-14 20:49:49 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
adam
6c55478735 Changes 5.2.1.2:
* Security fix: denial of serivce when stream sockets are used
2005-07-08 07:49:27 +00:00
salo
c125762a57 Bump BUILDLINK_RECOMMENDED after latest security fix. (hi tron!) 2005-05-27 13:47:39 +00:00
tron
e125f51d8f Replace "fixproc" script with version from "net-snmp" CVS respository.
This fixes the security problem documented in SA15471. Bump package
revision because of this change.
2005-05-25 13:49:10 +00:00
wiz
199f90370f Sort. 2005-05-03 15:40:57 +00:00
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
adam
be7d50fb4d Changes 5.2.1:
Fixes:
  Building:
    - configure --disable-snmpv2c now works
    - fix make test tests for rfc1213
    - bug 1049607: net-snmp-config --compile-subagent broken

  library:
    - bug 1084413: Can't disable file logging
    - bug 1072406: invalid operator precedence in opendir()

  agent library:
    - disconnected AgentX subagents now reconnect with correct context
    - fix table_array row insert/delete during set processing

  agent:
    - don't override clientAddr setting for local trapsinks
    - bug 1088765: Agent fails to send traps to remote target
    - bug 1034008: memory leak using SET for table_dataset
    - patch 1052460: fix agent deadlock on exec
    - bug 1055781: get-next fails to step into interfaces group correctly
    - bug 1056760: agent ignores ifspeed, type settings in snmpd.conf
    - bug 1062986: pass and pass_persist fail and crash snmpd
    - fix snmpd.conf table token to handle augments tables

  snmptrapd:
    - bug 1085981: snmptrapd complains about logging and access control
    - bug 1040711: snmptrapd: SIGHUP duplicates traphandlers (repeatedly)

  MFD:
    - Misc updates to MFD templates
    - add auto-handling of cache update for row insert/delete

Ports:
  - Win32
     - fixes for compiling without the Microsoft PSDK installed
     - fix Win32 getenv crash
  - Mac OS X compile error fix
  - HP-UX configure now detects and won't use unavailable function
  - Linux
     - patch 1055036: if-mib init order fix
     - patch 1057057: ipSystemStatsTable index fix, add ipv6
     - patch 1073897: fix if-mib data access 64bit counter wrap detection

MIBs:
  - update IP-FORWARD-MIB from an ID set to become an RFC
2005-03-30 12:10:58 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +00:00
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00
jlam
40377c791f Remove pre-buildlink and post-buildlink as part of getting pkgsrc ready
for pkgsrc-2004Q4.  The "buildlink" phase was removed for the last branch,
and this is the final cleanup.  "post-buildlink" is now "post-wrapper".
2004-11-28 19:19:51 +00:00
seb
b50cefc57a As this package already has a runtime dependency on Perl we might
as well enable the build and installation of the Perl modules.

An added benefit is that the sister package net/p5-SNMP won't
be lagging anymore as it will be removed.

While here add support for test target.

Bump PKGREVISION.
2004-11-05 10:33:07 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
adam
7f93dee00c Changes 5.1.2:
* Minor improvements to snmpdelta
* Minor improvements to snmpnetstat (IPv6 output)
* Fixes
2004-08-13 11:28:49 +00:00
thorpej
bcc09e41f3 On Darwin, leave out the ucd-snmp/diskio and mibII mib modules. 2004-07-10 17:59:57 +00:00
thorpej
5325c7699c In snmp_vars.h, use in_addr_t rather than uint32_t for ipaddr_return; the
former is provided by system or private header files, and the latter may
not be.
2004-07-10 17:59:17 +00:00
tron
57cdafd025 Use "-Ls ..." instead of deprecated "-s" command line option when
starting the daemons.
2004-05-31 11:47:29 +00:00
adam
5993a545e9 fix deprecated -P usage (thanks to Jon Olsson 2004-05-14 15:40:53 +00:00
adam
2cb098d8f0 Changes 5.1.1:
New:
  - test suite supports testing over other transports (tcp, udp6, unix, ...)
    (see the -P switch to the testing/RUNTESTS script)
  - Solaris supports the use of it's PKCS#11 library for supporting
    cryptographic functions (OpenSSL isn't required if PKCS#11 is available)
    (see configure's --with-pkcs flag)
Fixes:
  - Improvements on 64 bit architectures.
  - A few minor memory leaks fixed.
  - An extremely large number of minor bug fixes.
  - Many perl module specific bug fixes.
  - snmpd will safely handle more signals.
Ports:
  - Many many significant Windows improvements.
    - A win32 build script in win32/build.pl
    - Support for the MinGW compiler
    - (see the README.win32 file for details on new ports)
    - Various helpful win32/*.bat files for installation, etc.
  - Some linux 2.6 support improvements
2004-05-14 13:30:34 +00:00
snj
844b08fcd4 No longer used. 2004-05-09 21:15:16 +00:00
tron
6f8880c048 Make this build under NetBSD 2.0D and above with statvfs(2). 2004-04-26 17:39:00 +00:00
reed
9c790735db mk/bsd.pkg.install.mk now automatically registers
the RCD_SCRIPTS rc.d script(s) to the PLIST.

This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.

This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)

These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)

I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.

Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
  hard-coded etc/rc.d. These need to be fixed.
- maybe  remove from mk/${OPSYS}.pkg.dist mtree specifications too.
2004-04-23 22:07:52 +00:00
christos
31a9fe10a0 Fix configure to look for des_cbc_encrypt in -ldes.
I did not commit all 7K lines of diff that autoconf produced because
of the changed line numbers, just the relevant ones.
2004-04-22 16:50:02 +00:00
danw
c074d6d70a Make this build on Darwin. pkg/23325 2004-04-14 21:48:49 +00:00
jlam
c3ccaabecf bl3ify, and remove sed workaround for Solaris now that it uses nbsed. 2004-03-29 16:23:14 +00:00
christos
cce93b31e9 Argh! Who tested this? vm and memory stats did not work. 2004-02-25 21:50:40 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
kim
ae63a11d1a Include <sys/param.h> to get __NetBSD_Version__ defined.
Also undefine TOTAL_MEMORY_SYMBOL, since we don't have it
(or at least there is no "total" or "_total").
2003-12-30 19:30:48 +00:00
christos
173441eb23 - account for in_ifaddr -> in_ifaddrbase in 1.6ZD (I think).
- XXX: whoever ported this needs to revisit it and fix issues such as utmp
  support etc.
2003-12-30 05:29:45 +00:00
jschauma
fe19bb05b5 PKGREVISION++ after openssl update. 2003-11-12 03:39:39 +00:00
cube
9c4deee051 Nothing in pkgsrc creates a lib/tcl/tnm3.0.0 path, so remove it from the
MIB search PATH.
2003-11-07 05:13:05 +00:00
cube
fc14345416 Apply patch from PR pkg/22934 by Greg A. Woods.
o Remove NET_SNMP_LOGFILE since it's not used anymore
o Include /usr/local/share/snmp/mibs into the default MIBS file search path
o Use --with-logfile=none instead of --without-logfile because that is what
  the configure script wants for that variable.

While those changes affect an exported header file, they don't affect in
any way the compilation of dependencies, so no revision bump is needed.
2003-10-30 08:36:03 +00:00
tron
0c330b09b1 Mark this package as operating system specific under NetBSD. 2003-09-14 11:58:43 +00:00
tron
0f2cfed395 Fix build problem under NetBSD-1.6Y and newer. This patch was contributed
by Jun-ichiro itojun Hagino.
2003-09-14 11:57:03 +00:00
uebayasi
0a8aa3e783 Update to 5.0.9. PR19939 by Greg A. Woods.
Changes from NEWS file:
--------8<--------8<--------8<--------8<--------8<--------8<--------8<
*5.0.9*

 SECURITY:
    - An existing user/community could get access to data in MIB
      objects that were explicitly excluded from their view.

 Fixes:
    - Perl build environment should better under Windows
    - Misc kerberos support fixes.
    - Improvements on various manual pages.
    - A annoying bug with SETs being passed to pass scripts was fixed.
    - The often talked about VACM optimization improvement was fixed again.
    - mib2c handles augmentation tables better now.
    - Various 64 bit issues have been addressed.

*5.0.8*
 New:
    - No new features will be added to the 5.0.x line.

 Ports:
    - Update libtool to version 1.4.3, for the benefit of Darwin
    - diskio support for Darwin
    - Updates for OpenBSD 3.
    - Updates to solaris README

 Fixes:
    - find libwrap w/nsl on RedHat
    - fix for openssl 0.9.7
    - Fix some AgentX memory leaks
    - use macro for inline function prototypes
    - Attempt to find unused port before running tests
    - Use SNMP_SLEEP environment variable when running tests
    - calculate a proper ifSpeed under linux when possible
    - better daemonization of snmpd
    - close and reopen snmptrapd log files on HUP
    - support for 16 bit reuqest ids
    - Recognize new 't' code in display hints
    - misc other fixes

*5.0.7*
 New:
    - VACM (access control) optimizations which will greatly benefit
      people who wish to exclude large portions of the MIB tree from
      some people.  Previously this was a large resource drain.
    - Add command line option to snmpd to set syslog facility
    - Reverse DISPLAY-HINT processing, i.e. it allows you to input data
      formatted like a DISPLAY-HINT prescribes
    - Support setting of sysDescr and sysObjectID via snmpd.conf
      configuration directives
    - New output option to force display of strings as hex
    - Persistent directory can be specified at runtime
    - Add support for Linux virtual interfaces in the ipAddressTable.
    - implemented the mteEventTable and the mteEventNotificationTable
      form the DISMAN-EVENT-MIB.

 Fixes:
    - AgentX no longer flagged as experimental
    - A few memory leak fixes for the table_iterator agent API.
    - Processed flag cleared before each pass of a set request
    - Remove snmpd pid file on exit
    - Restore default behaviour of building shared libraries
    - misc other fixes
--------8<--------8<--------8<--------8<--------8<--------8<--------8<
2003-09-12 12:07:18 +00:00
jlam
b2677a2cb0 Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
USE_PKGINSTALL is "YES".  bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
2003-08-30 22:51:11 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
grant
982fbe23c7 remove some unneeded parens, quote a conditional 2003-05-06 21:11:24 +00:00
grant
ace2e30bbd net-snmp doesn't have working IPv6 support on Solaris, so deal with
the two header files which are not installed as a result.
2003-05-06 21:10:39 +00:00
jmc
4644ac6f38 Make sure configure is executable after patching for Solaris 2003-04-02 19:16:18 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
veego
5f0f3aaeda Remove tab's at the end of an .endif. noticed by pkglint. 2002-12-29 10:37:44 +00:00
cjep
515a05cc27 Whitespace fix. 2002-12-16 00:27:48 +00:00