Has anyone else given the new Solaris packaging scripts a try? Is there anyone who would want to give prebuilt packages a try if I upload them somewhere?
One major improvement since my last email: the packaging now does RPM- style handling of the files in etc. If you change any of etc files, they will be left when the package is removed and when you install OpenNMS again, the new etc file will be installed with the extension ".rpmnew" (yeah, yeah, I stile the name). There a few things that the package does automatically post-install that I'm considering making optional or removing altogether: 1. Running "runjava" 2. Running the installer 3. Executing "svcadm enable opennms" What do you think? - djg On Oct 17, 2008, at 10:23 PM, "DJ Gregor" <[EMAIL PROTECTED]> wrote: > Hello folks, > > If you do an "svn up" on trunk, you'll now see a "solaris" directory > in > the root of your OpenNMS directory. In there are the automated bits > to > make an SVR4 package of OpenNMS for Solaris 10. For those of you who > are adventurous and have access to a Solaris box, please give this a > whirl and let me know what you think. > > To make a package: > 1. cd solaris > 2. make build && make package > > Note: step #2 will "cd" up a directory and do a "./build.sh clean" and > then build OpenNMS. > > An opennms-X.X.X.pkg file will be created, and if its a snapshot > version, it will include the SVN version number and "SNAPSHOT". > > You will need to build the jicmp package for Solaris. To do this, get > the jicmp-1.0.8 source and do this in the jicmp source directory: > 1. cd solaris > 2. make > > To install and use everything: > 1. Install "NMSjicmp" (the Solaris package for "jicmp"): pkgadd -d > jicmp-1.0.8.pkg NMSjicmp > 2. Install the opennms package: pkgadd -d > opennms-1.7.0-SNAPSHOT.XXXXX.pkg opennms > 3. If the runjava and the installer complete successfully as part of > the > package postinstall script, then enable the opennms service: svcadm > enable opennms > 4. Go to http://localhost:8980/opennms/ > 5. Enjoy! > > If you remove the package, make sure to stash any changed files in > "/opt/opennms/etc" before you remove, otherwise they will be removed > by > "pkgrm". > > One last tidbit: opennms runs as the "opennms" user when installed > from > this package (don't worry, the package will add the opennms user for > you > if it doesn't already exist). The SMF manifest gives it the > additional > privileges needed to be able to bind to low-numbered ports and > access a > raw socket to do ICMP pings. > > > Have fun and I look forward to your feedback! > - djg > > --- > ---------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Please read the OpenNMS Mailing List FAQ: > http://www.opennms.org/index.php/Mailing_List_FAQ > > opennms-devel mailing list > > To *unsubscribe* or change your subscription options, see the bottom > of this page: > https://lists.sourceforge.net/lists/listinfo/opennms-devel ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel