update to 5.6.1

This commit is contained in:
sthen 2011-01-15 09:38:31 +00:00
parent 057b4b2f01
commit 3698f9e335
5 changed files with 29 additions and 31 deletions

View File

@ -1,23 +1,22 @@
# $OpenBSD: Makefile,v 1.50 2010/11/19 22:31:35 espie Exp $
# $OpenBSD: Makefile,v 1.51 2011/01/15 09:38:31 sthen Exp $
# XXX note there are various "openbsd[234]" ifdefs which will need adjusting when
# OpenBSD goes to 5.x
# XXX note there are various "openbsd[234]" ifdefs which will need
# adjusting when OpenBSD goes to 5.x
COMMENT-main= extendable SNMP implementation
COMMENT-perl= SNMP modules for Perl
COMMENT-tkmib= graphical SNMP MIB browser
V= 5.6
V= 5.6.1
DISTNAME= net-snmp-$V
PKGNAME-main= ${DISTNAME}
REVISION-main= 0
PKGNAME-perl= p5-SNMP-$V
PKGNAME-tkmib= net-snmp-tkmib-$V
SHARED_LIBS= netsnmp 9.0 \
netsnmpagent 9.0 \
netsnmphelpers 9.0 \
netsnmpmibs 9.0 \
netsnmptrapd 9.0
SHARED_LIBS= netsnmp 10.0 \
netsnmpagent 10.0 \
netsnmphelpers 10.0 \
netsnmpmibs 10.0 \
netsnmptrapd 10.0
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=net-snmp/}

View File

@ -1,5 +1,5 @@
MD5 (net-snmp-5.6.tar.gz) = ibOnp35o2u+SWr7kOj9wGA==
RMD160 (net-snmp-5.6.tar.gz) = pOVO+MT20/xcaImQjFOh9mRb1PM=
SHA1 (net-snmp-5.6.tar.gz) = 8GzieU0+g1d1IcO6ZIRLIGi+RGM=
SHA256 (net-snmp-5.6.tar.gz) = KoVs+1VN0tVR99mCnvI27PzUA8yTOpva9mVxhNBvvys=
SIZE (net-snmp-5.6.tar.gz) = 5908251
MD5 (net-snmp-5.6.1.tar.gz) = tOMOrVeDsLsdKAFyxglepA==
RMD160 (net-snmp-5.6.1.tar.gz) = fCu1qVl5kr/CWjm56VHKnR2Eom0=
SHA1 (net-snmp-5.6.1.tar.gz) = RbvxKVJT1TeaXR79kYWTFgOH/QA=
SHA256 (net-snmp-5.6.1.tar.gz) = sN3iEIeNbhhtq4TgDWgwlDZFwn655sbsRoopNLX0qMc=
SIZE (net-snmp-5.6.1.tar.gz) = 5936889

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Makefile_top,v 1.8 2010/10/25 22:59:12 sthen Exp $
--- Makefile.top.orig Thu Jun 17 19:54:51 2010
+++ Makefile.top Wed Oct 6 23:25:16 2010
$OpenBSD: patch-Makefile_top,v 1.9 2011/01/15 09:38:31 sthen Exp $
--- Makefile.top.orig Wed Dec 1 00:46:11 2010
+++ Makefile.top Wed Jan 5 17:13:56 2011
@@ -36,7 +36,9 @@ INSTALL_PREFIX = $(DESTDIR)
INSTALL = $(LIBTOOL) --mode=install @INSTALL@
UNINSTALL = $(LIBTOOL) --mode=uninstall rm -f
@ -14,7 +14,7 @@ $OpenBSD: patch-Makefile_top,v 1.8 2010/10/25 22:59:12 sthen Exp $
AUTOCONF = @AUTOCONF@
@@ -81,10 +83,10 @@ LIBCURRENT = 25
LIBAGE = 0
LIBREVISION = 0
LIBREVISION = 1
-LIB_LD_CMD = $(LIBTOOL) --mode=link $(LINKCC) $(CFLAGS) -rpath $(libdir) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) -o
+LIB_LD_CMD = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -o

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-configure_d_config_os_headers,v 1.1 2010/10/25 22:59:12 sthen Exp $
$OpenBSD: patch-configure_d_config_os_headers,v 1.2 2011/01/15 09:38:31 sthen Exp $
On OpenBSD headers must be included in this order:
@ -8,9 +8,9 @@ others
Also in_pcb.h requires ip.h
--- configure.d/config_os_headers.orig Fri Aug 13 16:04:07 2010
+++ configure.d/config_os_headers Thu Oct 14 19:38:58 2010
@@ -392,17 +392,20 @@ AC_CHECK_HEADERS(netinet/in_pcb.h,,,
--- configure.d/config_os_headers.orig Fri Nov 5 13:55:44 2010
+++ configure.d/config_os_headers Wed Jan 5 17:13:57 2011
@@ -391,17 +391,20 @@ AC_CHECK_HEADERS(netinet/in_pcb.h,,,
#if HAVE_SYS_SOCKETVAR_H
#include <sys/socketvar.h>
#endif

View File

@ -1,15 +1,14 @@
$OpenBSD: patch-configure_d_config_os_libs,v 1.1 2010/10/25 22:59:12 sthen Exp $
--- configure.d/config_os_libs.orig Fri Aug 13 17:04:07 2010
+++ configure.d/config_os_libs Mon Oct 25 00:13:48 2010
@@ -163,17 +163,20 @@ NETSNMP_SEARCH_LIBS(kstat_lookup, kstat,
if test "x$PARTIALTARGETOS" = "xlinux"; then
NETSNMP_SEARCH_LIBS(pthread_create, pthread,,,, LMIBLIBS)
fi
$OpenBSD: patch-configure_d_config_os_libs2,v 1.1 2011/01/15 09:38:31 sthen Exp $
--- configure.d/config_os_libs2.orig Wed Nov 17 19:39:24 2010
+++ configure.d/config_os_libs2 Wed Jan 5 17:16:43 2011
@@ -155,16 +155,19 @@ NETSNMP_SEARCH_LIBS(kstat_lookup, kstat,
[Define to 1 if you have the `kstat' library (-lkstat).]),,,
LNETSNMPLIBS)
+if test "x$PARTIALTARGETOS" = "xopenbsd4"; then
+ LMIBLIBS="$LMIBLIBS -pthread"
+fi
# libkvm
#
NETSNMP_SEARCH_LIBS(kvm_read, kvm,,,, LAGENTLIBS)