Author: ranger
Date: Fri May 18 04:49:12 2007
New Revision: 796

URL: 
http://svn.finkproject.org/websvn/listing.php?sc=1&rev=796&repname=user%3a+ranger
Log:
lots of fixes

Modified:
    trunk/experimental/common/main/finkinfo/net/opennms.info
    trunk/experimental/common/main/finkinfo/net/opennms.patch

Modified: trunk/experimental/common/main/finkinfo/net/opennms.info
URL: 
http://svn.finkproject.org/websvn/diff.php?path=/trunk/experimental/common/main/finkinfo/net/opennms.info&rev=796&repname=user%3a+ranger
==============================================================================
--- trunk/experimental/common/main/finkinfo/net/opennms.info (original)
+++ trunk/experimental/common/main/finkinfo/net/opennms.info Fri May 18 
04:49:12 2007
@@ -33,14 +33,10 @@
        tomcat5
 <<
 ConfFiles: <<
-       %p/etc/daemons/opennms.xml
-       %p/etc/profile.d/opennms.csh
-       %p/etc/profile.d/opennms.sh
-       %p/var/opennms/etc/AvailabilityReports.xsl
-       %p/var/opennms/etc/PDFAvailReport.xsl
-       %p/var/opennms/etc/SVGAvailReport.xsl
        %p/var/opennms/etc/actiond-configuration.xml
        %p/var/opennms/etc/alter113to114.sql
+       %p/var/opennms/etc/AvailabilityReports.xsl
+       %p/var/opennms/etc/c3p0.properties
        %p/var/opennms/etc/capsd-configuration.xml
        %p/var/opennms/etc/castor.properties
        %p/var/opennms/etc/categories.xml
@@ -54,86 +50,110 @@
        %p/var/opennms/etc/discovery-configuration.xml
        %p/var/opennms/etc/eventconf.xml
        %p/var/opennms/etc/eventd-configuration.xml
-       %p/var/opennms/etc/events-archiver-configuration.xml
-       %p/var/opennms/etc/events.archiver.properties
        %p/var/opennms/etc/events/3Com.events.xml
        %p/var/opennms/etc/events/ADIC-v2.events.xml
+       %p/var/opennms/etc/events/AirDefense.events.xml
+       %p/var/opennms/etc/events/Alteon.events.xml
+       %p/var/opennms/etc/events/Altiga.events.xml
        %p/var/opennms/etc/events/APC.Best.events.xml
+       %p/var/opennms/etc/events/APC.events.xml
        %p/var/opennms/etc/events/APC.Exide.events.xml
-       %p/var/opennms/etc/events/APC.events.xml
-       %p/var/opennms/etc/events/Alteon.events.xml
+       %p/var/opennms/etc/events/BackupExec.events.xml
        %p/var/opennms/etc/events/BEA.events.xml
-       %p/var/opennms/etc/events/BackupExec.events.xml
+       %p/var/opennms/etc/events/BGP4.events.xml
        %p/var/opennms/etc/events/BlackBerryServer.events.xml
        %p/var/opennms/etc/events/Brocade.events.xml
        %p/var/opennms/etc/events/CIM.events.xml
-       %p/var/opennms/etc/events/CPQHPIM.README.txt
-       %p/var/opennms/etc/events/CPQHPIM.events.xml
        %p/var/opennms/etc/events/Cisco.5300dchan.events.xml
+       %p/var/opennms/etc/events/Cisco.airespace.xml
        %p/var/opennms/etc/events/Cisco.events.xml
        %p/var/opennms/etc/events/Cisco2.events.xml
        %p/var/opennms/etc/events/Clarent.events.xml
        %p/var/opennms/etc/events/Clarinet.events.xml
+       %p/var/opennms/etc/events/Colubris.events.xml
+       %p/var/opennms/etc/events/CPQHPIM.events.xml
+       %p/var/opennms/etc/events/CPQHPIM.README.txt
        %p/var/opennms/etc/events/Cricket.events.xml
+       %p/var/opennms/etc/events/default.events.xml
+       %p/var/opennms/etc/events/Dell-DRAC2.events.xml
+       %p/var/opennms/etc/events/DellOpenManage.events.xml
        %p/var/opennms/etc/events/DPS.events.xml
-       %p/var/opennms/etc/events/DellOpenManage.events.xml
+       %p/var/opennms/etc/events/F5.events.xml
        %p/var/opennms/etc/events/Fore.events.xml
        %p/var/opennms/etc/events/FoundryNetworks.events.xml
        %p/var/opennms/etc/events/FujitsuSiemens.events.xml
        %p/var/opennms/etc/events/Groupwise.events.xml
        %p/var/opennms/etc/events/HP.events.xml
+       %p/var/opennms/etc/events/ia.events.xml
+       %p/var/opennms/etc/events/IBM-UMS.events.xml
        %p/var/opennms/etc/events/IBM.events.xml
+       %p/var/opennms/etc/events/IBMRSA2.events.xml
        %p/var/opennms/etc/events/IEEE802dot11.events.xml
        %p/var/opennms/etc/events/Intel.events.xml
        %p/var/opennms/etc/events/K5Systems.events.xml
+       %p/var/opennms/etc/events/Liebert.600SM.events.xml
+       %p/var/opennms/etc/events/Liebert.events.xml
        %p/var/opennms/etc/events/Linksys.events.xml
        %p/var/opennms/etc/events/MGE-UPS.events.xml
        %p/var/opennms/etc/events/Microsoft.events.xml
        %p/var/opennms/etc/events/Mylex.events.xml
-       %p/var/opennms/etc/events/NORTEL.Contivity.events.xml
        %p/var/opennms/etc/events/NetApp.events.xml
        %p/var/opennms/etc/events/Netbotz.events.xml
        %p/var/opennms/etc/events/Netgear.events.xml
+       %p/var/opennms/etc/events/Netscreen.events.xml
        %p/var/opennms/etc/events/Nokia.events.xml
+       %p/var/opennms/etc/events/NORTEL.Contivity.events.xml
        %p/var/opennms/etc/events/Novell.events.xml
        %p/var/opennms/etc/events/Oracle.events.xml
        %p/var/opennms/etc/events/Patrol.events.xml
+       %p/var/opennms/etc/events/Pixelmetrix.events.xml
        %p/var/opennms/etc/events/Quintum.events.xml
        %p/var/opennms/etc/events/Redline.events.xml
+       %p/var/opennms/etc/events/RFC1628.events.xml
+       %p/var/opennms/etc/events/Rightfax.events.xml
        %p/var/opennms/etc/events/Sensaphone.events.xml
        %p/var/opennms/etc/events/Snort.events.xml
        %p/var/opennms/etc/events/SonicWall.events.xml
        %p/var/opennms/etc/events/Standard.events.xml
        %p/var/opennms/etc/events/Symbol.events.xml
+       %p/var/opennms/etc/events/Syslogd.events.xml
        %p/var/opennms/etc/events/SystemEdge.events.xml
+       %p/var/opennms/etc/events/UPS-MIB.events.xml
        %p/var/opennms/etc/events/Uptime.events.xml
+       %p/var/opennms/etc/events/Xerox-V2.events.xml
        %p/var/opennms/etc/events/Xerox.events.xml
-       %p/var/opennms/etc/events/default.events.xml
+       %p/var/opennms/etc/events-archiver-configuration.xml
+       %p/var/opennms/etc/events.archiver.properties
        %p/var/opennms/etc/exclude-ueis.properties
-       %p/var/opennms/etc/getManagePercentAvailIntfWindow.sql
-       %p/var/opennms/etc/getManagePercentAvailNodeWindow.sql
        %p/var/opennms/etc/getManagedOutageForIntfInWindow.sql
        %p/var/opennms/etc/getManagedOutageForNodeInWindow.sql
        %p/var/opennms/etc/getManagedServiceCountForIntf.sql
        %p/var/opennms/etc/getManagedServiceCountForNode.sql
+       %p/var/opennms/etc/getManagePercentAvailIntfWindow.sql
+       %p/var/opennms/etc/getManagePercentAvailNodeWindow.sql
        %p/var/opennms/etc/getOutageTimeInWindow.sql
        %p/var/opennms/etc/getPercentAvailabilityInWindow.sql
        %p/var/opennms/etc/groups.xml
+       %p/var/opennms/etc/hibernate-create.sql
+       %p/var/opennms/etc/http-datacollection-config.xml
        %p/var/opennms/etc/javamail-configuration.properties
        %p/var/opennms/etc/jcifs.properties
        %p/var/opennms/etc/jmx-datacollection-config.xml
        %p/var/opennms/etc/ksc-performance-reports.xml
+       %p/var/opennms/etc/linkd-configuration.xml
        %p/var/opennms/etc/log4j.properties
        %p/var/opennms/etc/magic-users.properties
        %p/var/opennms/etc/map.disable
+       %p/var/opennms/etc/map.properties
+       %p/var/opennms/etc/model-importer.properties
+       %p/var/opennms/etc/monitoring-locations.xml
        %p/var/opennms/etc/notifd-configuration.xml
        %p/var/opennms/etc/notificationCommands.xml
-       %p/var/opennms/etc/notifications.dtd
        %p/var/opennms/etc/notifications.xml
        %p/var/opennms/etc/opennms-database.xml
        %p/var/opennms/etc/opennms-server.xml
-       %p/var/opennms/etc/passive-status-configuration.xml
-       %p/var/opennms/etc/passive-status-configuration2.xml
+       %p/var/opennms/etc/opennms.properties
+       %p/var/opennms/etc/PDFAvailReport.xsl
        %p/var/opennms/etc/poll-outages.xml
        %p/var/opennms/etc/poller-config.properties
        %p/var/opennms/etc/poller-configuration.xml
@@ -143,11 +163,22 @@
        %p/var/opennms/etc/rtc-configuration.xml
        %p/var/opennms/etc/scriptd-configuration.xml
        %p/var/opennms/etc/service-configuration.xml
+       %p/var/opennms/etc/setIfServiceKeysOnInsertTrigger.sql
+       %p/var/opennms/etc/setIfServiceKeysOnUpdateTrigger.sql
+       %p/var/opennms/etc/setIpInterfaceKeysOnInsertTrigger.sql
+       %p/var/opennms/etc/setIpInterfaceKeysOnUpdateTrigger.sql
+       %p/var/opennms/etc/setSnmpInterfaceKeysOnInsertTrigger.sql
+       %p/var/opennms/etc/setSnmpInterfaceKeysOnUpdateTrigger.sql
+       %p/var/opennms/etc/site-status-views.xml
        %p/var/opennms/etc/snmp-adhoc-graph.properties
        %p/var/opennms/etc/snmp-config.xml
        %p/var/opennms/etc/snmp-graph.properties
+       %p/var/opennms/etc/surveillance-views.xml
+       %p/var/opennms/etc/SVGAvailReport.xsl
+       %p/var/opennms/etc/syslogd-configuration.xml
        %p/var/opennms/etc/threshd-configuration.xml
        %p/var/opennms/etc/thresholds.xml
+       %p/var/opennms/etc/translator-configuration.xml
        %p/var/opennms/etc/trapd-configuration.xml
        %p/var/opennms/etc/users.xml
        %p/var/opennms/etc/vacuumd-configuration.xml
@@ -169,12 +200,17 @@
        sh ./build.sh -s maven-settings.xml -Ddist.name=opennms 
-Ddist.dir=%i/var -Dopennms.home=%p/var/opennms install 
assembly:directory-inline
 
        # some convenience symlinks
-       /usr/bin/install -d -m 755 %i/etc %i/var/log
+       /usr/bin/install -d -m 755 %i/bin %i/etc %i/var/log
        /bin/ln -sf %p/var/opennms/etc %i/etc/opennms
-       /bin/ln -sf %p/var/log/opennms %i/var/opennms/logs
+       /bin/ln -sf %p/var/opennms/bin/opennms %i/bin/
+       /bin/ln -sf %p/var/opennms/logs %i/var/log/opennms
 
        # put in the symlinks so tomcat can find classes
        /usr/bin/install -d -m 755 %i/var/tomcat5/server/lib
+
+       # the opennms webapp
+       /usr/bin/install -d -m 755 %i/var/tomcat5/webapps
+       ln -sf %p/var/opennms/webapps/opennms %i/var/tomcat5/webapps/
 
        /usr/bin/install -d -m 755 %i/var/opennms/share/reports
        touch %i/var/opennms/share/reports/.turd
@@ -198,9 +234,9 @@
 END
 
        # fix ownership so tomcat can write to log dirs
-       /usr/sbin/chown -R opennms:tomcat "%i/var/opennms" "%i/var/log/opennms" 
"%i/var/tomcat5/webapps/opennms" "%i/var/tomcat5/conf"/*
-       /bin/chmod -R g+w "%i/var/opennms/etc" "%i/var/log/opennms" 
"%i/var/tomcat5/conf"/*
-       /bin/chmod g+s "%i/var/log/opennms" "%i/var/opennms/etc"
+       /usr/sbin/chown -R opennms:tomcat "%i/var/opennms" 
"%i/var/tomcat5/webapps/opennms" "%i/var/tomcat5/conf"/*
+       /bin/chmod -R g+w "%i/var/opennms/etc" "%i/var/opennms/logs" 
"%i/var/tomcat5/conf"/*
+       /bin/chmod g+s "%i/var/opennms/logs" "%i/var/opennms/etc"
        /usr/bin/install -d -m 755 "%i/etc/profile.d"
        /bin/chmod 755 "%i/var/opennms/bin"/*
 

Modified: trunk/experimental/common/main/finkinfo/net/opennms.patch
URL: 
http://svn.finkproject.org/websvn/diff.php?path=/trunk/experimental/common/main/finkinfo/net/opennms.patch&rev=796&repname=user%3a+ranger
==============================================================================
--- trunk/experimental/common/main/finkinfo/net/opennms.patch (original)
+++ trunk/experimental/common/main/finkinfo/net/opennms.patch Fri May 18 
04:49:12 2007
@@ -66,3 +66,23 @@
  
  ------------------------------------------------------------------------------
  PostgreSQL Limits -- All Platforms
+diff -uNr opennms-1.3.2-1/source/opennms-iplike/src/main/native/iplike.c 
opennms-1.3.2-1-new/source/opennms-iplike/src/main/native/iplike.c
+--- opennms-1.3.2-1/source/opennms-iplike/src/main/native/iplike.c     
2006-11-28 11:44:36.000000000 -0500
++++ opennms-1.3.2-1-new/source/opennms-iplike/src/main/native/iplike.c 
2007-05-17 17:02:58.000000000 -0400
+@@ -44,6 +44,16 @@
+ # undef _FILE_OFFSET_BITS
+ #endif /* UNDEF_FILE_OFFSET_BITS */
+ #include <postgres.h>         /* PostgreSQL types */
++#include <pg_config.h>
++
++#ifdef PG_VERSION_NUM
++# if PG_VERSION_NUM >= 80200
++#  include <fmgr.h>
++#  ifdef PG_MODULE_MAGIC
++    PG_MODULE_MAGIC;
++#  endif
++# endif
++#endif
+ 
+ #ifdef DEBUG
+ #define LOG_FILE  "/var/log/opennms/iplike.log"


-------------------------------------------------------------------------
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