Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 539480 - www-misc/monitorix-3.6.0 version bump
Summary: www-misc/monitorix-3.6.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Peter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-09 16:27 UTC by Jeff
Modified: 2017-08-10 12:49 UTC (History)
5 users (show)

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


Attachments
Bump to version 3.8.1 (diff.patch,11.58 KB, patch)
2016-04-14 18:32 UTC, Peter
Details | Diff
Version 3.6.0 ebuild (monitorix-3.6.0.ebuild,2.45 KB, text/plain)
2016-04-14 18:32 UTC, Peter
Details
Version 3.8.1 ebuild (monitorix-3.8.1.ebuild,2.41 KB, text/plain)
2016-04-14 18:33 UTC, Peter
Details
Bump to version 3.8.1 (diff.patch,11.64 KB, patch)
2016-04-14 18:57 UTC, Peter
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff 2015-02-09 16:27:26 UTC
Monitorix version 3.6.0 was released 20-Aug-2014

This is a "version bump" request.
Comment 1 Jeff 2015-02-22 20:54:47 UTC
I updated the $Header line of the the monitorix 3.5.1 ebuild file for monitorix to reflect 3.6.0

Then I stepped through the follwoing ebuild steps 1 at a time to a "qmerge". That would be: manifest, setup, fetch, unpack, prepare, configure, compile, test, install, qmerge

No steps caused errors. There is probably a better, more thorough way to test a new ebuild, but I am very new at this.

The resulting /etc/monitorix/monitorix.conf file needs to be merged with changes from monitorix 3.6.0. So a "dispatch-conf" step is necessary.

Finally, I let monitorix 3.6.0 run for 24 hours on a test system. No errors.

I am able to verify the added "processes" feature & graphs work. That feature is new in monitorix 3.6.0 per the ChangeLog at www.monitorix.org
Comment 2 Jeff 2015-02-22 21:05:36 UTC
One more note.

I copied /usr/portage/www-misc/monitorix/files/monitorix-3.5.1.init to

/usr/portage/www-misc/monitorix/files/monitorix-3.6.0.init

I saw no reasons to make any changes here.

Again, there might be a better and more appropriate way to do this and to test it, but the steps I documented here do work for me on a x86-64 AMD-based "test" system running an x86-64 kernel of gentoo-sources 3.17.8-r1
Comment 3 Pacho Ramos gentoo-dev 2015-11-08 11:13:48 UTC
are you willing to proxy maintain this package:
https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers

Thanks
Comment 4 Scott Jones 2015-11-20 22:42:52 UTC
Jeff's comments about this being a simple bump also apply to v3.8.1.  Just renaming the ebuild from monitorix-3.5.1.ebuild to monitorix-3.8.1.ebuild (and renaming the init file) allowed it to build fine.  The result is just a *bunch* of lines to merge in the config file... but I've had the daemon running for a couple days and haven't seen any issues.

v3.5.1 is *ancient*, and it would be nice to have that marked stable and v3.8.1 entered as ~amd64, etc...
Comment 5 Peter 2016-04-14 18:32:22 UTC
Created attachment 430484 [details, diff]
Bump to version 3.8.1

This is the diff patch to bump the current ebuild to version 3.8.1 (latest as today)
Comment 6 Peter 2016-04-14 18:32:53 UTC
Created attachment 430486 [details]
Version 3.6.0 ebuild

This is the standalone ebuild for 3.6.0
Comment 7 Peter 2016-04-14 18:33:19 UTC
Created attachment 430488 [details]
Version 3.8.1 ebuild

This is the standalone version 3.8.1 ebuild
Comment 8 Peter 2016-04-14 18:46:04 UTC
I've updated the bug with the ebuilds for 3.6.0 and 3.8.1, the main changes are as follow:

- Rename files/monitorix-3.5.1.init to files/monitorix.init: It seems the same file works with 3.5.1, 3.6.0 and 3.8.1
- Update SRC_URI: It now points to the GitHub repo
- Added S variable to the ebuild: The GitHub zip/tar.gz file unpacks it in a folder where the first capital letter is uppercase, breaking the default value.
- Added graph USE flag for net-analyzer/rrdtool: Without it, it won't generate any graph.
- Removed the symbolic link in /var/lib/monitorix/www/imgs -> /var/lib/monitorix/imgs
- Added 777 permissions to /var/lib/monitorix/www/imgs

I'm going to keep the service running a couple of days in my box to see if I found any issue, but right now it seems to be working without problems.
Comment 9 Peter 2016-04-14 18:57:07 UTC
Created attachment 430496 [details, diff]
Bump to version 3.8.1

Updated patch with the shebang correction (https://bugs.gentoo.org/show_bug.cgi?id=524966)
Comment 10 Peter 2016-04-14 18:57:57 UTC
I've updated the patch to fix the issue with the shebang reported in Bug#524966: https://bugs.gentoo.org/show_bug.cgi?id=524966
Comment 11 Peter 2016-04-15 18:05:38 UTC
I've created a pull request (https://github.com/gentoo/gentoo/pull/1267) to update the portage tree.
Comment 12 Amy Liffey gentoo-dev 2017-08-10 12:49:05 UTC
Already in tree