Commit graph

95 commits

Author SHA1 Message Date
seb
a3d047d839 Apply patch from net-snmp CVS repository to fix Perl module SNMP's bulkwalk
function.

- patch from
http://net-snmp.cvs.sourceforge.net/net-snmp/net-snmp/perl/SNMP/SNMP.xs?r1=5.50.2.6&r2=5.50.2.7&view=patch&pathrev=V5-3-patches
- revision log
http://net-snmp.cvs.sourceforge.net/net-snmp/net-snmp/perl/SNMP/SNMP.xs?view=log&pathrev=V5-3-patches#rev5.50.2.7
- bug reference
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=1533078&group_id=12694

Bump PKGREVISION to 2
2006-10-18 22:37:46 +00:00
seb
4b6901040c Remove obsolete patches/patch-mib2cupdate: recently superseded by
patches/patch-et
2006-10-18 15:23:01 +00:00
rillig
45acd6da92 Removed an RCS Id. 2006-10-11 19:22:02 +00:00
rillig
5ade40731f Fixed "test ==". 2006-10-11 19:15:19 +00:00
seb
66cee1c2f5 Fix a NetBSD/sparc64 bug: give sysctl() a pointer on a size_t not on an int!
While here check for sysctl() return value.
Now snmpd on NetBSD/sparc64 should report more meaningful values
for OIDs like UCD-SNMP-MIB::memAvailReal.0.

Bump PKGREVISION.
2006-10-02 00:09:55 +00:00
seb
0e100bca2b Split LP64 related patch file (patch-ea) from christos@ so that there is
one patched file per patch file.
2006-10-01 20:08:29 +00:00
joerg
091bb3e133 Don't use bmake feature in Makefile, use MAKE_ENV instead. 2006-09-24 15:04:35 +00:00
christos
419f650d42 Fix a crapload of 64 bit inconsistencies (int <-> ptr, int * <-> size_t *)
This now has a chance to work on sparc64.
2006-09-15 20:13:53 +00:00
ghen
48e5bd9779 Advertize NET_SNMP_SYS_CONTACT, NET_SNMP_SYS_LOCATION, NET_SNMP_PERSISTENTDIR
and NET_SNMP_MIBDIRS as being user-settable.
2006-09-14 15:48:27 +00:00
joerg
2002ad978d Revive patch-dt for the sake of DragonFly. 2006-08-22 14:06:32 +00:00
adam
9740c2ae4e DiskIO fix, courtesy of Jan Andres 2006-08-11 20:40:36 +00:00
adam
da3267e55c Fix building on Darwin (and some other platforms?) 2006-07-30 06:38:10 +00:00
adam
f0c239fe26 Changes 5.3.1:
snmpd:
   - fix trap processing from SMUX peers
   - fix disman/event monitoring crashes
   - fix bug 1399369: ifNumber broken
   - fix re-init of daemons after SIGHUP
 snmptrapd:
   - fix bug 1420758/1458815: snmptrapd aborts/loops in select()
   - fix re-init of daemons after SIGHUP
 snmplib:
   - fix OID lookups for fully qualified object names (eg .iso.org)
 snmpusm:
   - performance improvement when changing localized keys
 perl:
   - The perl modules now check to make sure they're building
     against the proper Net-SNMP version.
 misc:
   - Coverity fixes
2006-07-29 16:48:27 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
joerg
fd31ddbaf6 Export OPSYS explicitly. This worked before, but according to PR 33931
it got broken.
2006-07-06 18:13:08 +00:00
christos
c39f292a69 regen 2006-06-19 13:46:36 +00:00
christos
9c757a4659 Try to make this work for 3.0 2006-06-19 13:46:02 +00:00
christos
8faf9c8aba - don't use getfsstat, use getvfsstat.
- add code to do disk i/o statistics for NetBSD and enable it.
2006-06-17 17:20:56 +00:00
adam
3aa108a0bd Fix PR#33316 2006-05-12 19:52:33 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
joerg
fd121328ce Add DragonFly support. Bump revision due to PLIST changes. 2006-03-19 22:03:29 +00:00
jlam
daad0f3d6c Modify the pkginstall framework so that it manages all aspects of
INSTALL/DEINSTALL script creation within pkgsrc.

If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts.  If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:

	INSTALL_SRC=	${PKGDIR}/INSTALL
	DEINSTALL_SRC=	# emtpy

As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts.  By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).

In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework.  The only public variables relating to the templates are:

	INSTALL_SRC		INSTALL_TEMPLATE
	DEINSTALL_SRC		DEINSTALL_TEMPLATE
				HEADER_TEMPLATE

The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
2006-03-14 01:14:26 +00:00
rillig
e592da2716 Removed the unconditional dependency to bash. Also removed the bashisms
from the mib2c-update program. Bumped PKGREVISION.
2006-03-11 16:59:54 +00:00
rillig
1e75667c37 One executable shell program needs bash instead of sh. Bumped PKGREVISION. 2006-03-10 14:28:33 +00:00
minskim
7ef0a62ed5 Allow to build diskio and mibII modules on Darwin 8.x. Without them,
the package doesn't build due to some undefined functions.
2006-03-08 02:52:14 +00:00
minskim
f5825cacf3 Remove a duplicate case value on Darwin 8.x. 2006-03-08 02:47:13 +00:00
wiz
7d3672e3a8 Use REQD_DIRS instead of OWN_DIRS -- should fix CHECK_FILES build. 2006-02-19 16:12:02 +00:00
adam
a4dca0bf59 Changes 5.3.0.1:
*** Security Fix ***

Changes 5.3:
*** Important Notes ***

    Several very significant changes have been made in Net-SNMP for this
    release that warrant special attention.

    - shared library version number no longer matches the release number. We
      now follow the versioning scheme recommended by libtool. For the 5.3
      release this means that the libraries now have a SONAME ending with
      ".so.10", e.g. libnetsnmp.so.10.

    - snmpd has not been truncating log files at startup, as documented in
      the man pages, for a while now. This default behaviour has been restored.
      Please use the '-A' flag if you want to continue appending to your log
      files at startup.

    - snmptrapd will no longer accept all traps by default. It must be
      configured with authorized SNMPv1/v2c community strings and/or SNMPv3
      users. Non-authorized traps/informs will be dropped.

    - Due to a copyright statement that didn't allow modifications,
      snmpnetstat has been completely rewritten.  The new version now
      accepts the same command-line options as the other tools, which
      has introduced a number of incompatible changes.  However, it
      does now finally support SNMPv3.
2006-01-24 22:16:55 +00:00
kim
0acf0ebebe Use PKG_SYSCONFDIR. 2006-01-18 18:14:18 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
grant
938e7f9843 fix a couple of broken #ifdefs, making this build on Solaris. 2005-10-18 04:48:51 +00:00
grant
69ecdeea3a make this reliably find libwrap. 2005-10-18 04:32:37 +00:00
wiz
2ab9feaa66 Get rid of some more stuff that was to be removed after 2005Q3. 2005-10-03 21:36:58 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
wiz
50fb2bd282 Add support for NET_SNMP_USE_SSL legacy var. 2005-08-01 11:58:33 +00:00
wiz
a9264a1931 Add RCS Id. 2005-08-01 11:56:54 +00:00
wiz
85c448cdb5 Remove trailing whitespace. 2005-08-01 11:56:17 +00:00
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