[csw-devel] SF.net SVN: gar:[7725] csw/mgar/pkg/netsnmp/tags

hson at users.sourceforge.net hson at users.sourceforge.net
Thu Dec 24 00:39:22 CET 2009


Revision: 7725
          http://gar.svn.sourceforge.net/gar/?rev=7725&view=rev
Author:   hson
Date:     2009-12-23 23:39:22 +0000 (Wed, 23 Dec 2009)

Log Message:
-----------
netsnmp: 5.4.2.1 before working on 5.5

Modified Paths:
--------------
    csw/mgar/pkg/netsnmp/tags/netsnmp-5.4.2.1,REV=2009.12.23/Makefile

Added Paths:
-----------
    csw/mgar/pkg/netsnmp/tags/netsnmp-5.4.2.1,REV=2009.12.23/

Modified: csw/mgar/pkg/netsnmp/tags/netsnmp-5.4.2.1,REV=2009.12.23/Makefile
===================================================================
--- csw/mgar/pkg/netsnmp/trunk/Makefile	2009-04-05 21:20:49 UTC (rev 4203)
+++ csw/mgar/pkg/netsnmp/tags/netsnmp-5.4.2.1,REV=2009.12.23/Makefile	2009-12-23 23:39:22 UTC (rev 7725)
@@ -2,9 +2,12 @@
 GARVERSION = 5.4.2.1
 CATEGORIES = apps
 
-DESCRIPTION = Brief description
+DESCRIPTION = A suite of applications used to implement SNMP
 define BLURB
-  Long description
+  Simple Network Management Protocol (SNMP) is a widely used protocol for monitoring
+  the health and welfare of network equipment (eg. routers), computer equipment and
+  even devices like UPSs. Net-SNMP is a suite of applications used to implement
+  SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6. The suite includes:
 endef
 
 SF_PROJ = net-snmp
@@ -14,16 +17,26 @@
 DISTNAME = $(SF_PROJ)-$(GARVERSION)
 
 SPKG_SOURCEURL = http://www.net-snmp.org/
+SPKG_DESC_CSWnetsnmp-py = NetSNMP Python Bindings
 
+PACKAGES = CSWnetsnmp CSWnetsnmp-py 
+CATALOGNAME_CSWnetsnmp = netsnmp
+CATALOGNAME_CSWnetsnmp-py = netsnmp_py
+
 PREREQUISITE_PKGS = CSWpysetuptools
 
-REQUIRED_PKGS += CSWosslrt CSWtcpwrap CSWpython
+REQUIRED_PKGS_CSWnetsnmp += CSWosslrt CSWtcpwrap CSWperl
+REQUIRED_PKGS_CSWnetsnmp-py += CSWnetsnmp CSWpython
+PKGFILES_CSWnetsnmp-py = $(libdir)/python.*
 
 # 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
+#NO_ISAEXEC = 1
+
 CONFIGURE_ARGS = $(DIRPATHS)
 CONFIGURE_ARGS += --with-default-snmp-version=1
 CONFIGURE_ARGS += --with-sys-contact=unknown
@@ -48,20 +61,22 @@
 
 EXTRA_MERGE_EXCLUDE_FILES = .*/perllocal.pod
 
+#TEST_TARGET =
+
 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
+	@( cd $(INSTALLISADIR)$(libdir) ; gzip -dc $(CURDIR)/$(FILEDIR)/old_libs_s.tar.gz |tar xf -)
+	@( if [ ! -r work/solaris8-sparc/install-isa-sparcv8/opt/csw/lib/libnetsnmp.so.10 ] ; then ln -s libnetsnmp.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmp.so.10; fi )
+	@( if [ ! -r $(INSTALLISADIR)$(libdir)/libnetsnmpagent.so.10 ] ; then ln -s libnetsnmpagent.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmpagent.so.10 ; fi )
+	@( if [ ! -r $(INSTALLISADIR)$(libdir)/libnetsnmphelpers.so.10 ] ; then ln -s libnetsnmphelpers.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmphelpers.so.10 ; fi )
+	@( if [ ! -r $(INSTALLISADIR)$(libdir)/libnetsnmpmibs.so.10 ] ; then ln -s libnetsnmpmibs.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmpmibs.so.10 ; fi )
+	@( if [ ! -r $(INSTALLISADIR)$(libdir)/libnetsnmptrapd.so.10 ] ; then ln -s libnetsnmptrapd.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmptrapd.so.10 ; fi )
 
 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
+	@( cd $(INSTALLISADIR)$(libdir) ; gzip -dc $(CURDIR)/$(FILEDIR)/old_libs_i.tar.gz |tar xf -)
+	@( if [ ! -r $(INSTALLISADIR)$(libdir)/libnetsnmp.so.10 ] ; then ln -s libnetsnmp.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmp.so.10 ; fi )
+	@( if [ ! -r $(INSTALLISADIR)$(libdir)/libnetsnmpagent.so.10 ] ; then ln -s libnetsnmpagent.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmpagent.so.10 ; fi )
+	@( if [ ! -r $(INSTALLISADIR)$(libdir)/libnetsnmphelpers.so.10 ] ; then ln -s libnetsnmphelpers.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmphelpers.so.10 ; fi )
+	@( if [ ! -r $(INSTALLISADIR)$(libdir)/libnetsnmpmibs.so.10 ] ; then ln -s libnetsnmpmibs.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmpmibs.so.10 ; fi )
+	@( if [ ! -r $(INSTALLISADIR)$(libdir)/libnetsnmptrapd.so.10 ] ; then ln -s libnetsnmptrapd.so.10.0.1 $(INSTALLISADIR)$(libdir)/libnetsnmptrapd.so.10 ; fi )


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