Summary: | new ebuild for opennms | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Lowe <jmlowe> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | aross, hak, java, lorenzo, m.debruijne, Mark, shane, vsync, yamadharma |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://opennms.org | ||
Whiteboard: | sunrise suggested | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
OpenNMS ebuild
Improved ebuild for opennms OpenNMS Alpha3 Opennms Version bump 1.1.5 OpenNMS Release Version 1.2 OpenNMS improvements OpenNMS Version 1.2.1 OpenNMS Version 1.2.1 (With tomcat4) OpenNMS 1.2.2-r1 OpenNMS 1.2.3-r1 OpenNMS 1.2.3-r5 opennms-1.2.3-r6, more fixes opennms-1.2.3-r6, even more fixes opennms-1.2.3-r7, even yet more fixes |
Description
Mike Lowe
2004-05-18 18:14:44 UTC
I have happened to have worked on an ebuild for opennms. I don't know how well I'm adhearing to standards but it seems to work well for using it more or less out of the box. Just postgres needs to be installed if not done already. Perhaps this will get someone started. Give it a try and let me know what problems you have :) Created attachment 49015 [details]
OpenNMS ebuild
Created attachment 49043 [details]
Improved ebuild for opennms
Fixes permissions problems on "/opt/OpenNMS/share" some of the processes
require it does not seem to correct permissions on an update so you have to
manually execure the following if you installed the first version.
chown tomcat:tomcat /opt/OpenNMS/share
chown tomcat:tomcat /opt/OpenNMS/share/rrd
chown tomcat:tomcat /opt/OpenNMS/share/events
chown tomcat:tomcat /opt/OpenNMS/share/reports
chmod o-rwx /opt/OpenNMS/share
chmod o-rwx /opt/OpenNMS/share/rrd
chmod o-rwx /opt/OpenNMS/share/events
chmod o-rwx /opt/OpenNMS/share/reports
Note some files are owned by root and others are owned by tomcat while opennms
and tomcat are running do not change perisions on existing data files.
Created attachment 49061 [details]
OpenNMS Alpha3
More improvements mostly cosmetic. A quick tip is to have postgresql installed
and running before you install opennms
Created attachment 50069 [details]
Opennms Version bump 1.1.5
The new version of OpenNMS has been released take car in updating the config
files when you upgrade from 1.1.4. Minor change in the init script is included
as well
Created attachment 51362 [details]
OpenNMS Release Version 1.2
OpenNMS has released their next generation OpenNMS monitoring software. Note My
package has still got the "~x86" keyword since no one has checked my ebuild's
stability or function.
Created attachment 53226 [details]
OpenNMS improvements
I have added a way to detect if postgresql is already initialized and display a
warning to the user that they should get postgresql up and running before this
gets emerged. The advantage is that this emerges and is ready to go without the
user having to do much other than start services and enjoy OpenNMS :)
Created attachment 54285 [details]
OpenNMS Version 1.2.1
The new OpenNMS version has been released. This ebuild has an improved method
of creating symlinks from tomcat4 to the opennms libraries
Created attachment 54303 [details]
OpenNMS Version 1.2.1 (With tomcat4)
To My dismay I have just realized that tomcat4 is no longer in the portage
tree. I have therefore taken the last snapshot of tomcat4 I have and have
included it with this file. This tarball should contain everything you need to
get opennms running. I don't know what else to do. OpenNMS does not work with
tomcat5!! (I tried it).
Created attachment 58724 [details]
OpenNMS 1.2.2-r1
fixed access violation during installation with older ebuilds
tested on Gentoo Linux 2.6.12-rc2, Tomcat 4.1.30-r5, PostgreSQL 8.0.1-r1
Created attachment 60440 [details]
OpenNMS 1.2.3-r1
Almost no changes. Just update version numbers and digests. Works fine.
This ebuild misses a lot of dependancies, etc. My ebuild is more elaborate and tries to do too mcuh, but lacks some part of the one proposed above. Gah. Add URL: http://boxed.no/temp/opennms-server-1.2.3.ebuild Created attachment 65167 [details]
OpenNMS 1.2.3-r5
A fresh ebuild for OpenNMS 1.2.3 with a ton of bugs fixed. Builds cleanly, runs
without problems thus far, the only problem being that there it no tomcat 4 in
portage.
Created attachment 65207 [details]
opennms-1.2.3-r6, more fixes
A lot of the checking and logic to print the pkg_postint() text and also added
pkg_config() and detection of PostgreSQL and tomcat to automate install if the
user so wishes.
Created attachment 65210 [details, diff]
opennms-1.2.3-r6, even more fixes
A ton moer small things corrected
Created attachment 65230 [details, diff]
opennms-1.2.3-r7, even yet more fixes
This one seems to get it all right now, only missing the machism to use
cond.d/opennms to override things.
(In reply to comment #17) > Created an attachment (id=65230) [edit] > opennms-1.2.3-r7, even yet more fixes > > This one seems to get it all right now, only missing the machism to use > cond.d/opennms to override things. I can't use your opennms ebuild, I think some files are missing? Apache Ant version 1.6.1 compiled on February 12 2004 Buildfile: build.xml >>> Test phase [not enabled]: net-analyzer/opennms-server-1.2.3-r7 >>> Install opennms-server-1.2.3-r7 into /var/tmp/portage/opennms-server-1.2.3-r7/image/ category net-analyzer cp: cannot stat `/usr/local/portage/net-analyzer/opennms-server/files/1.2.3/opennms.init': No such file or directory install: cannot stat `/var/tmp/portage/opennms-server-1.2.3-r7/temp/opennms': No such file or directory cp: cannot stat `/usr/local/portage/net-analyzer/opennms-server/files/1.2.3/opennms-server.env': No such file or directory install: cannot stat `/var/tmp/portage/opennms-server-1.2.3-r7/temp/21opennms-server': No such file or directory and one other thing: >>> Merging net-analyzer/opennms-server-1.2.3-r7 to / * Adding user 'opennms' to your system ... * - Userid: 357 * Do not specify /bin/false yourself, use -1 what should I do here? Regards, Oliver I don't know whether the ebuild found at http://www.zugaina.org/gentoo/net-analyzer.html.en can be used/integrated into this bug report. great link, thanks man! :) (In reply to comment #19) > I don't know whether the ebuild found at > http://www.zugaina.org/gentoo/net-analyzer.html.en > can be used/integrated into this bug report. > Guys, there's a problem with the copyright on the ebuild. You must assign the copyright to gentoo, otherwise we can't put the ebuild into the tree. (In reply to comment #21) > Guys, there's a problem with the copyright on the ebuild. > You must assign the copyright to gentoo, otherwise we can't put the ebuild into > the tree. > The ebuild at http://www.zugaina.org/gentoo/net-analyzer.html.en appears to be have the correct copyright. Can this one be used? Started work on building opennms from source using current Gentoo Java ebuild syntax and functionality. Still a long way to go, doesn't compile at the moment. Several deps still need to be packaged. I have already packaged some and added to tree like jicmp, jrrd, and jrobin. Still more are needed like iplike, and etc. Work on opennms is taking place in the java-experimental overlay. Which is not available via layman, one has to manually do a svn checkout to use. http://overlays.gentoo.org/proj/java/ Reassigning to maintainer-wanted since wltjr has left Gentoo, bug #135927. (this is an automated message based on filtering criteria that matched this bug) Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq Department of frequent updates says: http://www.opennms.org/wiki/Other_Install_instructions#Gentoo_Installation (In reply to comment #26) > Department of frequent updates says: > > http://www.opennms.org/wiki/Other_Install_instructions#Gentoo_Installation This Manual is not up to date. It seems that Opennms went to a new overlay: boxed-nms and boxed-nms-test The installation of the dependencies opennms-jrrd, opennms-jicmp6, opennms-iplike, opennms-jicmp runs fine. But opennms fails with: >>> Emerging (5 of 5) net-analyzer/opennms-1.10.0-r1 from x-boxed-nms >>> Downloading 'http://files.boxed.no/opennms/opennms-1.10.0.tar.gz' --2012-04-04 16:27:02-- http://files.boxed.no/opennms/opennms-1.10.0.tar.gz Resolving files.boxed.no... 213.166.170.70, 2001:1ad8:c004:32::64 Connecting to files.boxed.no|213.166.170.70|:80... connected. HTTP request sent, awaiting response... 403 Forbidden 2012-04-04 16:27:02 ERROR 403: Forbidden. !!! Couldn't download 'opennms-1.10.0.tar.gz'. Aborting. * Fetch failed for 'net-analyzer/opennms-1.10.0-r1', Log file: * '/var/tmp/portage/net-analyzer/opennms-1.10.0-r1/temp/build.log' >>> Failed to emerge net-analyzer/opennms-1.10.0-r1, Log file: The Downloadserver has a permission problem: You don't have permission to access /opennms/opennms-1.10.0.tar.gz on this server. Hello, are you still interested in adding this ebuild to Portage? Let us know. Thanks. Apparently not. Closing this bug. |