Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51441 - new ebuild for opennms
Summary: new ebuild for opennms
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://opennms.org
Whiteboard: sunrise suggested
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-05-18 18:14 UTC by Mike Lowe
Modified: 2016-01-20 08:52 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
OpenNMS ebuild (opennms.ebuild.tgz,2.00 KB, application/octet-stream)
2005-01-19 22:34 UTC, Jeffrey Crawford
Details
Improved ebuild for opennms (opennms.ebuild.tgz,2.02 KB, application/octet-stream)
2005-01-20 09:47 UTC, Jeffrey Crawford
Details
OpenNMS Alpha3 (opennms.ebuild_alpah3.tgz,2.17 KB, application/octet-stream)
2005-01-20 13:44 UTC, Jeffrey Crawford
Details
Opennms Version bump 1.1.5 (opennms.tgz,2.33 KB, application/octet-stream)
2005-01-31 13:04 UTC, Jeffrey Crawford
Details
OpenNMS Release Version 1.2 (opennms.tgz,2.57 KB, application/octet-stream)
2005-02-16 10:56 UTC, Jeffrey Crawford
Details
OpenNMS improvements (opennms-1.2.0_rc2.tgz,3.05 KB, application/octet-stream)
2005-03-11 16:51 UTC, Jeffrey Crawford
Details
OpenNMS Version 1.2.1 (opennms-1.2.1_rc1.tgz,2.98 KB, application/octet-stream)
2005-03-23 15:54 UTC, Jeffrey Crawford
Details
OpenNMS Version 1.2.1 (With tomcat4) (opennms-1.2.1_rc1.tgz,18.77 KB, application/octet-stream)
2005-03-23 19:58 UTC, Jeffrey Crawford
Details
OpenNMS 1.2.2-r1 (ebuild_opennms-1.2.2-r1.tar.bz2,2.52 KB, application/octet-stream)
2005-05-11 21:32 UTC, Zio
Details
OpenNMS 1.2.3-r1 (ebuild_opennms-1.2.3-r1.tar.bz2,2.52 KB, application/octet-stream)
2005-06-01 21:57 UTC, Zio
Details
OpenNMS 1.2.3-r5 (opennms-server-1.2.3-r5.ebuild,10.39 KB, application/octet-stream)
2005-08-05 05:18 UTC, Alexander Hoogerhuis
Details
opennms-1.2.3-r6, more fixes (opennms-server-1.2.3-r6.ebuild,12.03 KB, application/octet-stream)
2005-08-05 22:29 UTC, Alexander Hoogerhuis
Details
opennms-1.2.3-r6, even more fixes (opennms-server-1.2.3-r6.ebuild,12.97 KB, patch)
2005-08-05 23:28 UTC, Alexander Hoogerhuis
Details | Diff
opennms-1.2.3-r7, even yet more fixes (opennms-server-1.2.3-r7.ebuild,12.66 KB, patch)
2005-08-06 06:54 UTC, Alexander Hoogerhuis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Lowe 2004-05-18 18:14:44 UTC
I would like to request an ebuild for opennms version 1.1.2-1

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




the install.pl script that comes with opennms needs to have it's search path for
postgresql altered from /usr/lib/postgresql/lib to /usr/lib/postgresql to run
successfully, simillarly the default location of tomcat configs needs to be
/etc/tomcat in the install.pl

Tomcat will not start if the following files do not appear in
/opt/tomcat/server/lib  opennms_web.jar, opennms_services.jar, opennms_core.jar,
opennms_common.jar, log4j.jar, and castor-0.9.3.9.jar
Comment 1 Jeffrey Crawford 2005-01-19 22:33:41 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 :)
Comment 2 Jeffrey Crawford 2005-01-19 22:34:13 UTC
Created attachment 49015 [details]
OpenNMS ebuild
Comment 3 Jeffrey Crawford 2005-01-20 09:47:38 UTC
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.
Comment 4 Jeffrey Crawford 2005-01-20 13:44:11 UTC
Created attachment 49061 [details]
OpenNMS Alpha3

More improvements mostly cosmetic. A quick tip is to have postgresql installed
and running before you install opennms
Comment 5 Jeffrey Crawford 2005-01-31 13:04:55 UTC
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
Comment 6 Jeffrey Crawford 2005-02-16 10:56:05 UTC
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.
Comment 7 Jeffrey Crawford 2005-03-11 16:51:45 UTC
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 :)
Comment 8 Jeffrey Crawford 2005-03-23 15:54:20 UTC
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
Comment 9 Jeffrey Crawford 2005-03-23 19:58:46 UTC
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).
Comment 10 Zio 2005-05-11 21:32:00 UTC
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
Comment 11 Zio 2005-06-01 21:57:25 UTC
Created attachment 60440 [details]
OpenNMS 1.2.3-r1

Almost no changes. Just update version numbers and digests. Works fine.
Comment 12 Alexander Hoogerhuis 2005-06-09 11:20:53 UTC
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. 
Comment 13 Alexander Hoogerhuis 2005-06-09 11:22:04 UTC
Gah. Add URL: http://boxed.no/temp/opennms-server-1.2.3.ebuild
Comment 14 Alexander Hoogerhuis 2005-08-05 05:18:56 UTC
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.
Comment 15 Alexander Hoogerhuis 2005-08-05 22:29:44 UTC
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.
Comment 16 Alexander Hoogerhuis 2005-08-05 23:28:09 UTC
Created attachment 65210 [details, diff]
opennms-1.2.3-r6, even more fixes

A ton moer small things corrected
Comment 17 Alexander Hoogerhuis 2005-08-06 06:54:54 UTC
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.
Comment 18 Oliver 2006-01-10 08:22:56 UTC
(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
Comment 19 Vieri 2006-06-05 01:02:12 UTC
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.
Comment 20 Oliver 2006-07-25 02:23:11 UTC
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.
> 

Comment 21 Eldad Zack (RETIRED) gentoo-dev 2007-03-06 11:38:49 UTC
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.
Comment 22 Adam 2007-05-20 19:07:02 UTC
(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?
Comment 23 William L. Thomson Jr. (RETIRED) gentoo-dev 2007-09-21 15:59:40 UTC
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/
Comment 24 Łukasz Damentko (RETIRED) gentoo-dev 2008-10-30 16:30:18 UTC
Reassigning to maintainer-wanted since wltjr has left Gentoo, bug #135927.
Comment 25 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-08 16:12:08 UTC
(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
Comment 26 Alexander Hoogerhuis 2011-01-09 10:09:56 UTC
Department of frequent updates says:

http://www.opennms.org/wiki/Other_Install_instructions#Gentoo_Installation
Comment 27 Jochen Buchholz 2012-04-04 14:48:05 UTC
(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.
Comment 28 Patrice Clement gentoo-dev 2016-01-14 15:33:22 UTC
Hello, are you still interested in adding this ebuild to Portage? Let us know. Thanks.
Comment 29 Patrice Clement gentoo-dev 2016-01-20 08:52:54 UTC
Apparently not. Closing this bug.