Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv21626/main/finkinfo/net

Modified Files:
        opennms.info 
Log Message:
on second thought, get rid of the tomcat stuff

Index: opennms.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net/opennms.info,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- opennms.info        5 Jun 2009 15:00:03 -0000       1.27
+++ opennms.info        5 Jun 2009 15:31:32 -0000       1.28
@@ -1,6 +1,6 @@
 Package: opennms
 Version: 1.6.5
-Revision: 1
+Revision: 2
 
 Source: mirror:sourceforge:%n/%n-source-%v-1.tar.gz
 Source-MD5: 5a2b8341ae5e467ac6e3a40626d74b46
@@ -281,12 +281,7 @@
        /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/
+       rm -rf %i/var/opennms/webapps/opennms
 
        /usr/bin/install -d -m 755 %i/var/opennms/share/reports
        touch %i/var/opennms/share/reports/.turd
@@ -297,18 +292,6 @@
        # the path to the JVM
        which java > %i/var/opennms/etc/java.conf 2>/dev/null
 
-       # make a config to add to tomcat for startup
-       /usr/bin/install -d -m 755 "%i/var/tomcat5/conf"
-       cat <<END > "%i/var/tomcat5/conf/opennms.conf"
-CLASSPATH="%p/var/opennms/etc:$CLASSPATH" export CLASSPATH
-DYLD_LIBRARY_PATH="%p/var/opennms/lib:$DYLD_LIBRARY_PATH" export 
DYLD_LIBRARY_PATH
-JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true" export JAVA_OPTS
-umask 002
-END
-
-       install -d -m 0755 %i/share
-       mv %i/var/tomcat5/webapps %i/share/
-
        for file in %i/var/opennms/etc/*.xml; do
                /usr/bin/xmllint --format "$file" >xmllint-out.$$
                mv xmllint-out.$$ "$file"
@@ -319,7 +302,7 @@
        mv %i/var/opennms/contrib %i/share/doc/%N/
 
        /bin/chmod 755 "%i/var/opennms/bin"/*
-       /bin/chmod -R g+w "%i/var/opennms/etc" "%i/var/opennms/logs" 
"%i/var/tomcat5/conf"/*
+       /bin/chmod -R g+w "%i/var/opennms/etc" "%i/var/opennms/logs"
        /bin/chmod g+s "%i/var/opennms/logs" "%i/var/opennms/etc"
        /usr/bin/install -d -m 755 "%i/etc/profile.d"
 <<
@@ -336,7 +319,7 @@
 
 PostInstScript: <<
 # set ownership
-/usr/sbin/chown -R opennms:opennms "%p/var/opennms" 
"%p/var/tomcat5/webapps/opennms" "%p/var/tomcat5/conf"/opennms*
+/usr/sbin/chown -R opennms:opennms "%p/var/opennms"
 
 # update daemonic init script if necessary
 daemonic install opennms


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to