Revision: 6089
http://gar.svn.sourceforge.net/gar/?rev=6089&view=rev
Author: j_arndt
Date: 2009-08-23 19:24:20 +0000 (Sun, 23 Aug 2009)
Log Message:
-----------
spine: Initial commit
Added Paths:
-----------
csw/mgar/pkg/spine/
csw/mgar/pkg/spine/branches/
csw/mgar/pkg/spine/tags/
csw/mgar/pkg/spine/trunk/
csw/mgar/pkg/spine/trunk/Makefile
csw/mgar/pkg/spine/trunk/checksums
csw/mgar/pkg/spine/trunk/files/
csw/mgar/pkg/spine/trunk/files/CSWspine.postinstall
csw/mgar/pkg/spine/trunk/files/CSWspine.prototype
csw/mgar/pkg/spine/trunk/files/configure.diff
csw/mgar/pkg/spine/trunk/files/cswusergroup
Property changes on: csw/mgar/pkg/spine/trunk
___________________________________________________________________
Added: svn:ignore
+ cookies
download
work
Added: svn:externals
+ gar https://gar.svn.sf.net/svnroot/gar/csw/mgar/gar/v2
Added: csw/mgar/pkg/spine/trunk/Makefile
===================================================================
--- csw/mgar/pkg/spine/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/spine/trunk/Makefile 2009-08-23 19:24:20 UTC (rev 6089)
@@ -0,0 +1,77 @@
+#GARNAME = cacti-spine
+GARNAME = spine
+GARVERSION = 0.8.7e
+CATEGORIES = apps
+
+DESCRIPTION = very fast poller for cacti
+define BLURB
+ Spine, formally Cactid, is a poller for Cacti that primarily strives to be
as fast as possible. For this reason it is written in native C, makes use of
POSIX threads, and is linked directly against the net-snmp library for minmumal
SNMP polling overhead. Spine is a replacement for the default cmd.php poller so
you must decide if using Spine makes sense for your installation.
+endef
+
+MASTER_SITES = http://www.cacti.net/downloads/spine/
+#DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES = cacti-$(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES += cswusergroup CSWspine.postinstall
+
+PATCHFILES += configure.diff
+
+NOISALIST = 1
+
+CATALOGNAME = spine
+
+# We define upstream file regex so we can be notifed of new upstream software
release
+UFILES_REGEX = -(\d+(?:\.\d+)*).tar.gz
+
+# If the url used to check for software update is different of MASTER_SITES,
then
+# uncomment the next line. Otherwise it is set by default to the value of
MASTER_SITES
+# UPSTREAM_MASTER_SITES =
+
+REQUIRED_PKGS = CSWmysql5rt CSWnetsnmp CSWosslrt CSWzlib CSWcswclassutils
+
+SPKG_CLASSES = none cswpreserveconf
+
+WORKSRC = $(WORKDIR)/cacti-$(GARNAME)-$(GARVERSION)
+
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += --with-mysql=/opt/csw/mysql5
+CONFIGURE_ARGS += --with-snmp=/opt/csw/include/net-snmp
+
+EXTRA_LIB += $(BUILD_PREFIX)/lib
+LD_OPTIONS += -L/opt/csw/lib
+
+CONFIGURE_SCRIPTS = custom
+INSTALL_SCRIPTS = custom
+
+SKIPTEST = 1
+
+DOCDEST = $(DESTDIR)$(BUILD_PREFIX)/share/doc/spine
+BINDIR = $(DESTDIR)$(BUILD_PREFIX)/bin
+CFGDIR = $(DESTDIR)$(BUILD_PREFIX)/etc
+
+include gar/category.mk
+
+configure-custom:
+ @echo " ==> Configuring in $(WORKSRC)"
+ @rm $(WORKSRC)/config/ltmain.sh
+ @rm $(WORKSRC)/config/config.sub
+ @rm $(WORKSRC)/config/config.guess
+ @ln -s /opt/csw/share/libtool/config/ltmain.sh
$(WORKSRC)/config/ltmain.sh
+ @ln -s /opt/csw/share/libtool/config/config.sub
$(WORKSRC)/config/config.sub
+ @ln -s /opt/csw/share/libtool/config/config.guess
$(WORKSRC)/config/config.guess
+ @( cd $(WORKSRC) ; ./configure $(CONFIGURE_ARGS) )
+ @$(MAKECOOKIE)
+
+install-custom:
+ @ginstall -d $(DOCDEST)
+ @ginstall -m 644 $(WORKSRC)/LICENSE $(DOCDEST)
+ @ginstall -m 644 $(WORKSRC)/README $(DOCDEST)
+ @ginstall -m 644 $(WORKSRC)/README-WINDOWS $(DOCDEST)
+ @ginstall -m 644 $(WORKSRC)/INSTALL $(DOCDEST)
+ @ginstall -m 644 $(WORKSRC)/LICENSE.LGPL $(DOCDEST)
+ @ginstall -m 644 $(WORKSRC)/COPYING $(DOCDEST)
+ @ginstall -m 644 $(WORKSRC)/ChangeLog $(DOCDEST)
+ @ginstall -d $(BINDIR)
+ @ginstall -m 755 $(WORKSRC)/spine $(BINDIR)
+ @ginstall -d $(CFGDIR)
+ @ginstall -m 644 $(WORKSRC)/spine.conf $(CFGDIR)/spine.conf.CSW
+ @$(MAKECOOKIE)
Added: csw/mgar/pkg/spine/trunk/checksums
===================================================================
--- csw/mgar/pkg/spine/trunk/checksums (rev 0)
+++ csw/mgar/pkg/spine/trunk/checksums 2009-08-23 19:24:20 UTC (rev 6089)
@@ -0,0 +1,4 @@
+54e3c3f6ca757815ac1cccf78b7a086c download/CSWspine.postinstall
+99e5bde07fc31d1ed8aa23c59de00417 download/cacti-spine-0.8.7e.tar.gz
+40235c60873e4097a44b07db653211ae download/configure.diff
+b762d50320246dc8ce21c20233479231 download/cswusergroup
Added: csw/mgar/pkg/spine/trunk/files/CSWspine.postinstall
===================================================================
--- csw/mgar/pkg/spine/trunk/files/CSWspine.postinstall
(rev 0)
+++ csw/mgar/pkg/spine/trunk/files/CSWspine.postinstall 2009-08-23 19:24:20 UTC
(rev 6089)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+cat << EOF
+
+=======================================================================
+
+Please check and edit your configuration in /opt/csw/etc/spine.conf !
+
+=======================================================================
+
+EOF
Added: csw/mgar/pkg/spine/trunk/files/CSWspine.prototype
===================================================================
--- csw/mgar/pkg/spine/trunk/files/CSWspine.prototype
(rev 0)
+++ csw/mgar/pkg/spine/trunk/files/CSWspine.prototype 2009-08-23 19:24:20 UTC
(rev 6089)
@@ -0,0 +1,10 @@
+f none /opt/csw/bin/spine 0755 root bin
+f cswpreserveconf /opt/csw/etc/spine.conf.CSW 0644 root bin
+d none /opt/csw/share/doc/spine 0755 root bin
+f none /opt/csw/share/doc/spine/COPYING 0644 root bin
+f none /opt/csw/share/doc/spine/ChangeLog 0644 root bin
+f none /opt/csw/share/doc/spine/INSTALL 0644 root bin
+f none /opt/csw/share/doc/spine/LICENSE 0644 root bin
+f none /opt/csw/share/doc/spine/LICENSE.LGPL 0644 root bin
+f none /opt/csw/share/doc/spine/README 0644 root bin
+f none /opt/csw/share/doc/spine/README-WINDOWS 0644 root bin
Added: csw/mgar/pkg/spine/trunk/files/configure.diff
===================================================================
--- csw/mgar/pkg/spine/trunk/files/configure.diff
(rev 0)
+++ csw/mgar/pkg/spine/trunk/files/configure.diff 2009-08-23 19:24:20 UTC
(rev 6089)
@@ -0,0 +1,54 @@
+diff --speed-large-files --minimal -Nru cacti-spine-0.8.7e.orig/configure
cacti-spine-0.8.7e/configure
+--- cacti-spine-0.8.7e.orig/configure 2009-06-29 04:03:42.000000000 +0200
++++ cacti-spine-0.8.7e/configure 2009-08-23 10:58:42.345538990 +0200
+@@ -20169,7 +20169,10 @@
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+
+ # Always use our own libtool.
+-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
++#LIBTOOL='$(SHELL) $(top_builddir)/libtool'
++
++# use OpenCSW libtool
++LIBTOOL=/opt/csw/bin/libtool
+
+ # Prevent multiple expansion
+
+@@ -22740,7 +22743,7 @@
+ fi
+ fi
+
+-LDFLAGS="-L$SNMP_LIBDIR $LDFLAGS"
++LDFLAGS="-L/opt/csw/lib -L/opt/csw/lib/mysql $LDFLAGS"
+ CFLAGS="-I$SNMP_INCDIR -I$SNMP_INCDIR/.. $CFLAGS"
+
+ # Net/UCD-SNMP includes v3 support and insists on crypto unless compiled
--without-openssl
+@@ -22833,6 +22836,7 @@
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
+ $as_echo "yes" >&6; }
+ SNMP_SSL=yes
++ LIBS="$LIBS -lcrypto"
+
+ else
+ $as_echo "$as_me: failed program was:" >&5
+@@ -22851,7 +22855,7 @@
+ $as_echo_n "(cached) " >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lnetsnmp $LIBS"
++LIBS="$LIBS -lnetsnmp -lssl"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -23155,6 +23159,7 @@
+ # Solaris or Irix Check
+ { $as_echo "$as_me:$LINENO: checking for Solaris/Irix gethostbyname_r" >&5
+ $as_echo_n "checking for Solaris/Irix gethostbyname_r... " >&6; }
++LIBS="$LIBS -lssl -lnsl"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -24764,4 +24769,3 @@
+ { $as_echo "$as_me:$LINENO: WARNING: unrecognized options:
$ac_unrecognized_opts" >&5
+ $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+ fi
+-
Added: csw/mgar/pkg/spine/trunk/files/cswusergroup
===================================================================
--- csw/mgar/pkg/spine/trunk/files/cswusergroup (rev 0)
+++ csw/mgar/pkg/spine/trunk/files/cswusergroup 2009-08-23 19:24:20 UTC (rev
6089)
@@ -0,0 +1 @@
+cacti:cacti:Cacti User:/export/home/cacti:/bin/sh:m:r
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
devel mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/devel