[csw-devel] SF.net SVN: gar:[14619] csw/mgar/pkg/netsnmp/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu May 19 15:24:54 CEST 2011


Revision: 14619
          http://gar.svn.sourceforge.net/gar/?rev=14619&view=rev
Author:   dmichelsen
Date:     2011-05-19 13:24:54 +0000 (Thu, 19 May 2011)

Log Message:
-----------
netsnmp: Work towards 5.6.1

Modified Paths:
--------------
    csw/mgar/pkg/netsnmp/trunk/Makefile
    csw/mgar/pkg/netsnmp/trunk/checksums

Modified: csw/mgar/pkg/netsnmp/trunk/Makefile
===================================================================
--- csw/mgar/pkg/netsnmp/trunk/Makefile	2011-05-19 13:20:57 UTC (rev 14618)
+++ csw/mgar/pkg/netsnmp/trunk/Makefile	2011-05-19 13:24:54 UTC (rev 14619)
@@ -1,5 +1,5 @@
 NAME = netsnmp
-VERSION = 5.5
+VERSION = 5.6.1
 CATEGORIES = apps
 
 DESCRIPTION = A suite of applications used to implement SNMP
@@ -20,20 +20,27 @@
 # Patch for python module
 PATCHFILES += Makefile.in.diff
 
-SPKG_SOURCEURL = http://www.net-snmp.org/
+VENDOR_URL = http://www.net-snmp.org/
 
 BUILD_DEP_PKGS = CSWpysetuptools
 RUNTIME_DEP_PKGS = CSWosslrt CSWtcpwrap CSWpython
 
-# We define upstream file regex so we can be notifed of new upstream software release
-UPSTREAM_MASTER_SITES = $(SF_PROJECT_SHOWFILE)=12694
-UPSTREAM_USE_SF = 1
-UFILES_REGEX = (\d+(?:\.\d+)*)
-
 BUILD64 = 1
-NOISAEXEC = 1
 
-CONFIGURE_ARGS_mm-32  = --disable-embedded-perl --with-perl-modules=yes
+# The -I/opt/csw/include pulls in installed version before built version and breaks testsuite
+CPPFLAGS =
+EXTRA_CFLAGS = $(INCLUDE_FLAGS)
+
+# CONFIGURE_ARGS_mm-32  = --disable-embedded-perl --with-perl-modules=yes
+CONFIGURE_ARGS_mm-32  = --enable-embedded-perl --with-perl-modules=yes
+# Disable MIBs due to LARGEFILE issue
+CONFIGURE_ARGS_mm-32 += --with-out-mib-modules="ucd_snmp host mibII/ipv6 ucd_snmp/memory ucd_snmp/memory_solaris2 ucd_snmp/proc host/hr_swrun host/hr_storage"
+#CONFIGURE_ARGS_mm-32 += --disable-perl-cc-checks
+CONFIGURE_ARGS_mm-32 += enable_perl_cc_checks=no
+
+enable_perl_cc_checks = no
+EXTRA_CONFIGURE_EXPORTS = enable_perl_cc_checks
+
 CONFIGURE_ARGS_mm-32 += --with-python-modules=yes
 CONFIGURE_ARGS_mm-64  = --disable-embedded-perl --without-perl-modules
 CONFIGURE_ARGS_mm-64 += --without-python-modules
@@ -50,14 +57,19 @@
 CONFIGURE_ARGS += --with-transports="UDP TCP Unix"
 CONFIGURE_ARGS += $(CONFIGURE_ARGS_mm-$(MEMORYMODEL))
 
+
+# TBD: Make alternatives
+# - with embedded Perl and disabled modules
+#     --with-mib-modules="smux mibII/mta_sendmail"
+#     --with-defaults --enable-ipv6 --with-out-mib-modules="ucd_snmp host mibII/ipv6 ucd_snmp/memory ucd_snmp/memory_solaris2 ucd_snmp/proc host/hr_swrun host/hr_storage" --with-perl-modules --enable-embedded-perl --disable-perl-cc-checks --enable-shared
+# - without embedded Perl and all modules
+
 # Disable testsuite until this has been fixed or /tmp will fill up:
 #   https://sourceforge.net/tracker/?func=detail&aid=3006962&group_id=12694&atid=112694
 SKIPTEST ?= 1
 
 EXTRA_MERGE_EXCLUDE_FILES = .*/perllocal.pod
 
-MERGE_DIRS_isa-extra = $(libdir)
-
 # Overriding specific libs is not possible right now. Refine when finished.
 # CHECKPKG_OVERRIDES_CSWnetsnmp  = symbol-not-found|opt/csw/lib/python/site-packages/netsnmp/client_intf.so
 CHECKPKG_OVERRIDES_CSWnetsnmp  = symbol-not-found
@@ -65,20 +77,20 @@
 
 include gar/category.mk
 
-post-install-isa-sparcv8:
-	( cd $(INSTALLISADIR)$(libdir) ; gzip -dc $(DESTDIR)/../../$(FILEDIR)/old_libs_s.tar.gz |tar xf -)
-	ln -s libnetsnmp.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmp.so.10
-	ln -s libnetsnmpagent.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmpagent.so.10
-	ln -s libnetsnmphelpers.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmphelpers.so.10
-	ln -s libnetsnmpmibs.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmpmibs.so.10
-	ln -s libnetsnmptrapd.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmptrapd.so.10
-	@$(MAKECOOKIE)
+#post-install-isa-sparcv8:
+#	( cd $(INSTALLISADIR)$(libdir) ; gzip -dc $(DESTDIR)/../../$(FILEDIR)/old_libs_s.tar.gz |tar xf -)
+#	ln -s libnetsnmp.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmp.so.10
+#	ln -s libnetsnmpagent.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmpagent.so.10
+#	ln -s libnetsnmphelpers.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmphelpers.so.10
+#	ln -s libnetsnmpmibs.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmpmibs.so.10
+#	ln -s libnetsnmptrapd.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmptrapd.so.10
+#	@$(MAKECOOKIE)
 
-post-install-isa-i386:
-	( cd $(INSTALLISADIR)$(libdir) ; gzip -dc $(DESTDIR)/../../$(FILEDIR)/old_libs_i.tar.gz |tar xf -)
-	ln -s libnetsnmp.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmp.so.10
-	ln -s libnetsnmpagent.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmpagent.so.10
-	ln -s libnetsnmphelpers.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmphelpers.so.10
-	ln -s libnetsnmpmibs.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmpmibs.so.10
-	@ln -s libnetsnmptrapd.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmptrapd.so.10
-	@$(MAKECOOKIE)
+#post-install-isa-i386:
+#	( cd $(INSTALLISADIR)$(libdir) ; gzip -dc $(DESTDIR)/../../$(FILEDIR)/old_libs_i.tar.gz |tar xf -)
+#	ln -s libnetsnmp.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmp.so.10
+#	ln -s libnetsnmpagent.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmpagent.so.10
+#	ln -s libnetsnmphelpers.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmphelpers.so.10
+#	ln -s libnetsnmpmibs.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmpmibs.so.10
+#	@ln -s libnetsnmptrapd.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmptrapd.so.10
+#	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/netsnmp/trunk/checksums
===================================================================
--- csw/mgar/pkg/netsnmp/trunk/checksums	2011-05-19 13:20:57 UTC (rev 14618)
+++ csw/mgar/pkg/netsnmp/trunk/checksums	2011-05-19 13:24:54 UTC (rev 14619)
@@ -1,3 +1 @@
-5e0ec3e4d3dd363437d85eca6b91951a  Makefile.in.diff
-5b2551e7bd024fbbee84dca22a5f13a1  net-snmp-5.5.tar.gz
-c64f189decc111ba83c28f135bf96a9b  perl_makefiles.diff
+b4e30ead5783b0bb1d280172c6095ea4  net-snmp-5.6.1.tar.gz


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list