pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/net-snmp Remove dragonfly.h, it is included upstre...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba25f71dc26b
branches:  trunk
changeset: 532136:ba25f71dc26b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Aug 12 13:36:36 2007 +0000

description:
Remove dragonfly.h, it is included upstream now.
Restore patch-dt (MIB_SYSTEM_LIBS), still needed for DragonFly.

diffstat:

 net/net-snmp/Makefile          |   3 +--
 net/net-snmp/distinfo          |   3 ++-
 net/net-snmp/files/dragonfly.h |  24 ------------------------
 net/net-snmp/patches/patch-dt  |  13 +++++++++++++
 4 files changed, 16 insertions(+), 27 deletions(-)

diffs (79 lines):

diff -r 2dddde42e179 -r ba25f71dc26b net/net-snmp/Makefile
--- a/net/net-snmp/Makefile     Sun Aug 12 13:17:12 2007 +0000
+++ b/net/net-snmp/Makefile     Sun Aug 12 13:36:36 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2007/08/11 11:05:56 adam Exp $
+# $NetBSD: Makefile,v 1.63 2007/08/12 13:36:36 joerg Exp $
 
 DISTNAME=      net-snmp-5.4.1
 CATEGORIES=    net
@@ -113,7 +113,6 @@
 INSTALLATION_DIRS+=    share/examples/net-snmp
 
 post-extract:
-       cp ${FILESDIR}/dragonfly.h ${WRKSRC}/include/net-snmp/system
 .if ${OPSYS} == "DragonFly"
        cp ${FILESDIR}/cpu_dragonfly.c ${WRKSRC}/agent/mibgroup/hardware/cpu/cpu_nlist.c
 .endif
diff -r 2dddde42e179 -r ba25f71dc26b net/net-snmp/distinfo
--- a/net/net-snmp/distinfo     Sun Aug 12 13:17:12 2007 +0000
+++ b/net/net-snmp/distinfo     Sun Aug 12 13:36:36 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.40 2007/08/11 11:05:56 adam Exp $
+$NetBSD: distinfo,v 1.41 2007/08/12 13:36:37 joerg Exp $
 
 SHA1 (net-snmp-5.4.1.tar.gz) = ac5ba033c10d53d3057415121f8c4936c643c208
 RMD160 (net-snmp-5.4.1.tar.gz) = 3723488dab8d164702a7d55c9c72eeaec07dd50c
@@ -29,6 +29,7 @@
 SHA1 (patch-dq) = 619d94d9937098b684ee8d0f1a3a92dfdff2155c
 SHA1 (patch-dr) = ab75e5cf3448d9c0520b6e7d2c68adfbf3ab639b
 SHA1 (patch-ds) = 4d59f016eca12660f94dcba89f94e395323ab7b4
+SHA1 (patch-dt) = bd1884af6fb3743e79ab926fcd952068cb9a3642
 SHA1 (patch-du) = a07160ee1197d8aefa3ccaf7fb255be48311e8bc
 SHA1 (patch-ea) = 9d8d6b167b87d7e4f184b06f1279a55072a7645e
 SHA1 (patch-ee) = ec2a41ba9489bf71412169c0f8367eac214e3738
diff -r 2dddde42e179 -r ba25f71dc26b net/net-snmp/files/dragonfly.h
--- a/net/net-snmp/files/dragonfly.h    Sun Aug 12 13:17:12 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-#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 2dddde42e179 -r ba25f71dc26b net/net-snmp/patches/patch-dt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/net-snmp/patches/patch-dt     Sun Aug 12 13:36:36 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-dt,v 1.7 2007/08/12 13:36:38 joerg Exp $
+
+--- agent/Makefile.in.orig     2007-08-12 13:04:23.000000000 +0000
++++ agent/Makefile.in
+@@ -147,7 +147,7 @@ libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VE
+       $(RANLIB) $(AGENTLIB)
+ 
+ libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION): ${LMIBOBJS} $(HELPERLIB) $(AGENTLIB) $(USELIBS)
+-      $(LIB_LD_CMD) $(MIBLIB) ${LMIBOBJS} $(HELPERLIB) $(AGENTLIB) $(USELIBS) ${LMIBLIBS} $(LDFLAGS) $(LIB_LD_LIBS)
++      $(LIB_LD_CMD) $(MIBLIB) ${LMIBOBJS} $(HELPERLIB) $(AGENTLIB) $(USELIBS) ${LMIBLIBS} $(LDFLAGS) $(LIB_LD_LIBS) ${MIB_SYSTEM_LIBS}
+       $(RANLIB) $(MIBLIB)
+ 
+ agentlib: $(AGENTLIB)



Home | Main Index | Thread Index | Old Index