pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/net-snmp Add DragonFly support. Bump revision due ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/721b16f9691b
branches: trunk
changeset: 509934:721b16f9691b
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun Mar 19 22:03:29 2006 +0000
description:
Add DragonFly support. Bump revision due to PLIST changes.
diffstat:
net/net-snmp/Makefile | 5 +-
net/net-snmp/PLIST | 3 +-
net/net-snmp/distinfo | 28 +++-
net/net-snmp/files/dragonfly.h | 24 +++
net/net-snmp/patches/patch-af | 128 ++++++++++++++++-
net/net-snmp/patches/patch-ag | 16 +-
net/net-snmp/patches/patch-am | 15 +-
net/net-snmp/patches/patch-da | 12 +
net/net-snmp/patches/patch-db | 12 +
net/net-snmp/patches/patch-dc | 22 ++
net/net-snmp/patches/patch-dd | 12 +
net/net-snmp/patches/patch-de | 313 +++++++++++++++++++++++++++++++++++++++++
net/net-snmp/patches/patch-df | 13 +
net/net-snmp/patches/patch-dg | 12 +
net/net-snmp/patches/patch-dh | 14 +
net/net-snmp/patches/patch-di | 10 +
net/net-snmp/patches/patch-dj | 13 +
net/net-snmp/patches/patch-dk | 16 ++
net/net-snmp/patches/patch-dl | 16 ++
net/net-snmp/patches/patch-dm | 167 +++++++++++++++++++++
net/net-snmp/patches/patch-dn | 70 +++++++++
net/net-snmp/patches/patch-do | 16 ++
net/net-snmp/patches/patch-dp | 16 ++
net/net-snmp/patches/patch-dq | 16 ++
net/net-snmp/patches/patch-dr | 47 ++++++
net/net-snmp/patches/patch-ds | 47 ++++++
net/net-snmp/patches/patch-dt | 18 ++
27 files changed, 1067 insertions(+), 14 deletions(-)
diffs (truncated from 1255 to 300 lines):
diff -r d7e1e9cfa0d1 -r 721b16f9691b net/net-snmp/Makefile
--- a/net/net-snmp/Makefile Sun Mar 19 20:06:05 2006 +0000
+++ b/net/net-snmp/Makefile Sun Mar 19 22:03:29 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2006/03/14 01:14:31 jlam Exp $
+# $NetBSD: Makefile,v 1.48 2006/03/19 22:03:29 joerg Exp $
DISTNAME= net-snmp-5.3.0.1
PKGREVISION= 2
@@ -93,6 +93,9 @@
REPLACE.bash.new= ${SH}
REPLACE_FILES.bash= local/mib2c-update
+post-extract:
+ ${CP} ${FILESDIR}/dragonfly.h ${WRKSRC}/include/net-snmp/system
+
post-wrapper:
.if !empty(MACHINE_PLATFORM:MNetBSD-1.5.[123]*-i386)
${MKDIR} ${BUILDLINK_DIR}/include/sys
diff -r d7e1e9cfa0d1 -r 721b16f9691b net/net-snmp/PLIST
--- a/net/net-snmp/PLIST Sun Mar 19 20:06:05 2006 +0000
+++ b/net/net-snmp/PLIST Sun Mar 19 22:03:29 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2006/01/24 22:16:55 adam Exp $
+@comment $NetBSD: PLIST,v 1.14 2006/03/19 22:03:29 joerg Exp $
bin/encode_keychange
bin/fixproc
bin/ipf-mod.pl
@@ -143,6 +143,7 @@
include/net-snmp/system/darwin.h
include/net-snmp/system/darwin7.h
include/net-snmp/system/darwin8.h
+include/net-snmp/system/dragonfly.h
include/net-snmp/system/dynix.h
include/net-snmp/system/freebsd.h
include/net-snmp/system/freebsd2.h
diff -r d7e1e9cfa0d1 -r 721b16f9691b net/net-snmp/distinfo
--- a/net/net-snmp/distinfo Sun Mar 19 20:06:05 2006 +0000
+++ b/net/net-snmp/distinfo Sun Mar 19 22:03:29 2006 +0000
@@ -1,13 +1,33 @@
-$NetBSD: distinfo,v 1.21 2006/03/11 16:59:54 rillig Exp $
+$NetBSD: distinfo,v 1.22 2006/03/19 22:03:29 joerg Exp $
SHA1 (net-snmp-5.3.0.1.tar.gz) = c58ddabe4281c3681a268bd48de6865e812f2ec5
RMD160 (net-snmp-5.3.0.1.tar.gz) = 86b7e56b512faf73d2a08ac3df2def4560b62945
Size (net-snmp-5.3.0.1.tar.gz) = 4183370 bytes
SHA1 (patch-ae) = 750412088b9ccd5fb50bd6e7fc049903f6113a39
-SHA1 (patch-af) = 0a2819ff5113315a64de555e22c061bddc21b44e
-SHA1 (patch-ag) = 16ea17094d5d11de8d86f1f8808575dd0ae5d8e3
+SHA1 (patch-af) = f7c95d2276ccd8332e7dc39f2bf88c857bdfde9f
+SHA1 (patch-ag) = 9bad3789cfb12bb68c2b306e82600d866467471a
SHA1 (patch-aj) = eb17148368c9d02c0e589052b99003e7e21f2917
SHA1 (patch-al) = 2609e273d557e1ce06c1295d86965fe26ac7ff08
-SHA1 (patch-am) = 9a9ed6feb2f249b294d939a00e92d3ef9dbde21b
+SHA1 (patch-am) = 4db69b58419b809f7251d0ca555b3adb3e989710
SHA1 (patch-an) = 167f23c62c085efc96a25bc2be5dca3c746dde6f
+SHA1 (patch-da) = 7466445c8388492344acdee236b153cb5f5b45e1
+SHA1 (patch-db) = bec0bee1860ee42ba64b4c07df2280e206eaf582
+SHA1 (patch-dc) = 43e430f42c9f8a89c95a2eae91053805fa3e2373
+SHA1 (patch-dd) = 56957eaf21224d788baf315e35768d2c7b2f2c95
+SHA1 (patch-de) = f6e97f3cc60102c8542409a29fb744339569ef9f
+SHA1 (patch-df) = 3a82b023d3b284150562c66aa8f5c41c6c455367
+SHA1 (patch-dg) = 6e6e396add0613dd76e3b8618008a7ebf8103c7c
+SHA1 (patch-dh) = 1c88c853f867aa363f8995df8ab7023daaba6509
+SHA1 (patch-di) = e0e1039c1adbf10ae56c50998ff74b39193e7348
+SHA1 (patch-dj) = 392a5bcd7e63f0831fc6a6aa34904dd590b05703
+SHA1 (patch-dk) = fdd71ac507b0b589ae4464c2810300a5d2de17a0
+SHA1 (patch-dl) = 571b12bcdc1f801b47274d46a17b6e94294c0b4e
+SHA1 (patch-dm) = 05c182f5bc1751ea0a0bcc7e21f24684b3c4933a
+SHA1 (patch-dn) = 16c68c667c129c4fcccdbff704d7d25481691710
+SHA1 (patch-do) = 7a69e6e81cbddbb7fc610f4260fe521a5e4c2348
+SHA1 (patch-dp) = 3ecdfa78a5c7a86715d3fd3ab8bbd0208a0d685d
+SHA1 (patch-dq) = 619d94d9937098b684ee8d0f1a3a92dfdff2155c
+SHA1 (patch-dr) = ab75e5cf3448d9c0520b6e7d2c68adfbf3ab639b
+SHA1 (patch-ds) = b27b0dc9c0da0ab688f26e2821e90c145c6ae641
+SHA1 (patch-dt) = 0cbf8245fbb5475dc864acc4e7c1490095377a6e
SHA1 (patch-mib2cupdate) = d6773633c8737fe45a58e378967995e21012d21d
diff -r d7e1e9cfa0d1 -r 721b16f9691b net/net-snmp/files/dragonfly.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/net-snmp/files/dragonfly.h Sun Mar 19 22:03:29 2006 +0000
@@ -0,0 +1,24 @@
+#include "freebsd.h"
+
+/*
+ * dragonfly is a superset of freebsd4
+ */
+#define freebsd2 1
+#define freebsd3 1
+#define freebsd4 1
+
+#undef IFADDR_SYMBOL
+#define IFADDR_SYMBOL "in_ifaddrhead"
+
+#undef PROC_SYMBOL
+#define PROC_SYMBOL "allproc"
+
+#undef NPROC_SYMBOL
+#define NPROC_SYMBOL "nprocs"
+
+#undef TOTAL_MEMORY_SYMBOL
+
+#undef MBSTAT_SYMBOL
+
+#undef INP_NEXT_SYMBOL
+#define INP_NEXT_SYMBOL inp_next
diff -r d7e1e9cfa0d1 -r 721b16f9691b net/net-snmp/patches/patch-af
--- a/net/net-snmp/patches/patch-af Sun Mar 19 20:06:05 2006 +0000
+++ b/net/net-snmp/patches/patch-af Sun Mar 19 22:03:29 2006 +0000
@@ -1,7 +1,16 @@
-$NetBSD: patch-af,v 1.5 2006/01/24 22:16:55 adam Exp $
+$NetBSD: patch-af,v 1.6 2006/03/19 22:03:29 joerg Exp $
---- configure.orig 2006-01-14 02:51:51.000000000 +0100
+--- configure.orig 2006-01-14 01:51:51.000000000 +0000
+++ configure
+@@ -13421,7 +13421,7 @@ else
+ default_mibs=IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:SNMPv2-MIB:RFC1213-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB
+
+ case $target_os in
+- linux* | mingw32* | cygwin* | freebsd* | dynix* | solaris2* | hpux* )
++ linux* | mingw32* | cygwin* | freebsd* | dynix* | solaris2* | hpux* | dragonfly* )
+ new_module_list="$new_module_list host"
+ ;;
+ *)
@@ -15503,6 +15503,53 @@ fi
fi
@@ -56,3 +65,118 @@
# Check for libraries that the agent needs
# saving old libraries
NONAGENTLIBS=$LIBS
+@@ -27716,7 +27763,9 @@ cat >>conftest.$ac_ext <<_ACEOF
+ #endif
+ #include <sys/types.h>
+ #define KERNEL
++#if !defined(__DragonFly__)
+ #define _KERNEL
++#endif
+ #include <sys/socket.h>
+ #undef KERNEL
+ #undef _KERNEL
+@@ -27814,7 +27863,9 @@ cat >>conftest.$ac_ext <<_ACEOF
+ #endif
+ #include <sys/types.h>
+ #define KERNEL
++#if !defined(__DragonFly__)
+ #define _KERNEL
++#endif
+ #include <sys/socket.h>
+ #undef KERNEL
+ #undef _KERNEL
+@@ -27912,10 +27963,14 @@ cat >>conftest.$ac_ext <<_ACEOF
+ #endif
+ #include <sys/types.h>
+ #define KERNEL
++#if !defined(__DragonFly__)
+ #define _KERNEL
++#endif
+ #include <sys/socket.h>
+ #undef KERNEL
+-#undef _KERNEL
++#if !defined(__DragonFly__)
++#define _KERNEL
++#endif
+ #include <net/route.h>
+
+
+@@ -27999,7 +28054,9 @@ cat >>conftest.$ac_ext <<_ACEOF
+ #endif
+ #include <sys/types.h>
+ #define KERNEL
++#if !defined(__DragonFly__)
+ #define _KERNEL
++#endif
+ #include <sys/socket.h>
+ #undef KERNEL
+ #undef _KERNEL
+@@ -28066,7 +28123,9 @@ cat >>conftest.$ac_ext <<_ACEOF
+ #endif
+ #include <sys/types.h>
+ #define KERNEL
++#if !defined(__DragonFly__)
+ #define _KERNEL
++#endif
+ #include <sys/socket.h>
+ #undef KERNEL
+ #undef _KERNEL
+@@ -28204,7 +28263,9 @@ cat >>conftest.$ac_ext <<_ACEOF
+ #endif
+ #include <sys/types.h>
+ #define KERNEL
++#if !defined(__DragonFly__)
+ #define _KERNEL
++#endif
+ #include <sys/socket.h>
+ #undef KERNEL
+ #undef _KERNEL
+@@ -28299,7 +28360,9 @@ cat >>conftest.$ac_ext <<_ACEOF
+ #endif
+ #include <sys/types.h>
+ #define KERNEL
++#if !defined(__DragonFly__)
+ #define _KERNEL
++#endif
+ #include <sys/socket.h>
+ #undef KERNEL
+ #undef _KERNEL
+@@ -28398,7 +28461,9 @@ cat >>conftest.$ac_ext <<_ACEOF
+ #endif
+ #include <sys/types.h>
+ #define KERNEL
++#if !defined(__DragonFly__)
+ #define _KERNEL
++#endif
+ #include <sys/socket.h>
+ #undef KERNEL
+ #undef _KERNEL
+@@ -28497,7 +28562,9 @@ cat >>conftest.$ac_ext <<_ACEOF
+ #endif
+ #include <sys/types.h>
+ #define KERNEL
++#if !defined(__DragonFly__)
+ #define _KERNEL
++#endif
+ #include <sys/socket.h>
+ #undef KERNEL
+ #undef _KERNEL
+@@ -28596,7 +28663,9 @@ cat >>conftest.$ac_ext <<_ACEOF
+ #endif
+ #include <sys/types.h>
+ #define KERNEL
++#if !defined(__DragonFly__)
+ #define _KERNEL
++#endif
+ #include <sys/socket.h>
+ #undef KERNEL
+ #undef _KERNEL
+@@ -34718,6 +34787,8 @@ do
+ _ACEOF
+ cat >>$CONFIG_STATUS <<\_ACEOF
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++ # Avoid regenerating for rechecks on pkgsrc
++ exit 0
+ ac_cs_recheck=: ;;
+ --version | --vers* | -V )
+ echo "$ac_cs_version"; exit 0 ;;
diff -r d7e1e9cfa0d1 -r 721b16f9691b net/net-snmp/patches/patch-ag
--- a/net/net-snmp/patches/patch-ag Sun Mar 19 20:06:05 2006 +0000
+++ b/net/net-snmp/patches/patch-ag Sun Mar 19 22:03:29 2006 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ag,v 1.6 2006/03/08 02:47:13 minskim Exp $
+$NetBSD: patch-ag,v 1.7 2006/03/19 22:03:29 joerg Exp $
---- agent/mibgroup/host/hr_storage.c.orig 2005-10-31 01:14:38.000000000 -0800
+--- agent/mibgroup/host/hr_storage.c.orig 2005-10-31 09:14:38.000000000 +0000
+++ agent/mibgroup/host/hr_storage.c
@@ -73,6 +73,13 @@
#endif
@@ -16,7 +16,14 @@
#if defined(HAVE_UVM_UVM_PARAM_H) && defined(HAVE_UVM_UVM_EXTERN_H)
#include <uvm/uvm_param.h>
#include <uvm/uvm_extern.h>
-@@ -86,13 +93,6 @@
+@@ -80,20 +87,13 @@
+ #include <vm/vm_param.h>
+ #include <vm/vm_extern.h>
+ #endif
++#endif
+ #if HAVE_KVM_H
+ #include <kvm.h>
+ #endif
#if HAVE_FCNTL_H
#include <fcntl.h>
#endif
@@ -27,9 +34,10 @@
-#else
-#undef HAVE_SYS_POOL_H
-#endif
- #endif
+-#endif
#if HAVE_SYS_MBUF_H
#include <sys/mbuf.h>
+ #endif
@@ -732,11 +732,6 @@ really_try_next:
case HRS_TYPE_SWAP:
long_return = -1;
diff -r d7e1e9cfa0d1 -r 721b16f9691b net/net-snmp/patches/patch-am
--- a/net/net-snmp/patches/patch-am Sun Mar 19 20:06:05 2006 +0000
+++ b/net/net-snmp/patches/patch-am Sun Mar 19 22:03:29 2006 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-am,v 1.3 2006/01/24 22:16:55 adam Exp $
+$NetBSD: patch-am,v 1.4 2006/03/19 22:03:29 joerg Exp $
---- agent/mibgroup/host/hr_swrun.c.orig 2005-10-28 23:28:45.000000000 +0200
+--- agent/mibgroup/host/hr_swrun.c.orig 2005-10-28 21:28:45.000000000 +0000
+++ agent/mibgroup/host/hr_swrun.c
@@ -884,6 +884,8 @@ var_hrswrun(struct variable * vp,
else
@@ -11,3 +11,14 @@
#else
Home |
Main Index |
Thread Index |
Old Index