Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/net
In directory sc8-pr-cvs17:/tmp/cvs-serv26777/10.3/unstable/main/finkinfo/net

Modified Files:
        opennms.info 
Added Files:
        mib2opennms.info 
Log Message:
more opennms package fixes, and port of mib2opennms

--- NEW FILE: mib2opennms.info ---
Package: mib2opennms
Version: 1.3.2
Revision: 1
Source: mirror:sourceforge:opennms/opennms-source-%v-1.tar.gz
Source-MD5: cbcee8743b888d86906e3e0f5da504cc
SourceDirectory: 
opennms-%v-1/source/opennms-daemon/src/main/resources/contrib/mib2opennms
BuildDepends: libsmi (>= 0.4-1)
Depends: libsmi-shlibs (>= 0.4-1)
ConfigureParams: --disable-dependency-tracking
InstallScript: make -j1 install DESTDIR='%d'
DocFiles: AUTHORS COPYING ChangeLog NEWS README VERSION
Description: Tool to create OpenNMS trap events
DescDetail: <<
OpenNMS has the ability to receive SNMP traps; In order to
do that, OpenNMS must know how to treat each event (thus
requires a description for each OID that it receives).

This tool reads a MIB file and creates a relevant OpenNMS
event xml file, which enables it to receive traps more
specifically.
<<
License: GPL
Homepage: http://www.opennms.org/index.php/Converting_MIBs_Using_mib2opennms
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>

Index: opennms.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/net/opennms.info,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- opennms.info        19 May 2007 17:16:34 -0000      1.12
+++ opennms.info        25 May 2007 13:19:07 -0000      1.13
@@ -1,12 +1,13 @@
 Package: opennms
 Version: 1.3.2
-Revision: 2
+Revision: 3
 
 Source: mirror:sourceforge:%n/%n-source-%v-1.tar.gz
 Source-MD5: cbcee8743b888d86906e3e0f5da504cc
 SourceDirectory: %n-%v-1/source
 Source2: mirror:sourceforge:%n/%n-m2-repository-%v.tar.gz
 Source2-MD5: 14fcad02d3e766d77d197745289152c3
+Recommends: mib2opennms (>= %v-1)
 PatchScript: <<
 #!/bin/sh -ex
        sed -e 's,@REPOROOT@,%b/../../repository,' %a/%n.patch | patch -p2
@@ -207,6 +208,10 @@
        # put in the symlinks so tomcat can find classes
        /usr/bin/install -d -m 755 %i/var/tomcat5/server/lib
 
+       # fix shared library install_names
+       install_name_tool -id %p/var/opennms/lib/libjicmp.jnilib 
%i/var/opennms/lib/libjicmp.jnilib
+       install_name_tool -id %p/var/opennms/lib/libjrrd.jnilib  
%i/var/opennms/lib/libjrrd.jnilib
+
        # the opennms webapp
        /usr/bin/install -d -m 755 %i/var/tomcat5/webapps
        ln -sf %p/var/opennms/webapps/opennms %i/var/tomcat5/webapps/
@@ -214,12 +219,6 @@
        /usr/bin/install -d -m 755 %i/var/opennms/share/reports
        touch %i/var/opennms/share/reports/.turd
 
-#      ln -sf pg74.215.jdbc3.jar %i/var/opennms/lib/postgresql.jar
-#
-#      for jar in `cat 
work/opennms/classes/org/opennms/install/installer.properties | grep 
install.tomcat.serverlibs= | cut -d= -f2- | sed -e 's,:, ,g'`; do
-#              /bin/ln -sf %p/var/opennms/lib/$jar %i/var/tomcat5/server/lib/
-#      done
-
        /usr/bin/install -d -m 755 "%i/var/run"
        perl -pi -e 's,/var/lock/subsys/opennms,%p/var/run/opennms.lock,g' 
%i/var/opennms/bin/opennms
 
@@ -247,6 +246,10 @@
                        perl "%i/var/opennms/bin/xml.reader.pl" -w "$file" 
>/dev/null 2>&1 || :
                done
        fi
+
+       # contrib directory
+       install -d -m 755 %i/share/doc/%N
+       mv %i/var/opennms/contrib %i/share/doc/%N/
 <<
 DaemonicFile: <<
 <service>
@@ -297,6 +300,10 @@
 fi
 <<
 
+Shlibs: <<
+       %p/var/opennms/lib/libjicmp.jnilib 0.0.0 %N (>= 1.3.2-1)
+       %p/var/opennms/lib/libjrrd.jnilib  0.0.0 %N (>= 1.3.2-1)
+<<
 RuntimeVars: OPENNMS_HOME: %p/var/opennms
 Homepage: http://www.opennms.org/
 Maintainer: Benjamin Reed <[EMAIL PROTECTED]>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to