Summary: | net-analyzer/check_mk - Nagios / Icinga general purpose plugin to retrieve data | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Timo Eissler <morlix> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bertrand, bug, gentoo, mail, morlix, stijn+gentoo, sysadmin |
Priority: | Normal | Keywords: | EBUILD, PATCH |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
check_mk-1.2.0_p3.ebuild
files/check_mk-1.2.0p3-setup.sh.patch check_mk-1.2.0_p3.ebuild files/check_mk-1.2.0p3-setup.sh.patch check_mk-1.2.2p1-setup.sh.patch check_mk-1.2.2_p1.ebuild check_mk-1.2.2_p1.ebuild check_mk-1.2.2p1-setup.sh.patch check_mk-1.2.4_p2.ebuild check_mk-1.2.4_p3.ebuild check_mk-1.2.4p3-setup.sh.patch metadata.xml check_mk-1.2.4_p4.ebuild check_mk-1.2.4_p5.ebuild patch against 1.2.4_p5 check_mk-1.2.4_p5-r1.ebuild |
Description
Timo Eissler
2012-12-20 09:27:51 UTC
Created attachment 332766 [details]
files/check_mk-1.2.0p3-setup.sh.patch
The patch for the check_mk setup.sh script.
Created attachment 333036 [details]
check_mk-1.2.0_p3.ebuild
new version of the ebuild
Created attachment 333038 [details, diff]
files/check_mk-1.2.0p3-setup.sh.patch
new version of the patch
*** Bug 432184 has been marked as a duplicate of this bug. *** Would be nice if it goes upstream! :) Ebuild works for me. Thx! Created attachment 349080 [details, diff]
check_mk-1.2.2p1-setup.sh.patch
Comment on attachment 349080 [details, diff]
check_mk-1.2.2p1-setup.sh.patch
The patch for the check_mk setup.sh script.
Created attachment 349082 [details]
check_mk-1.2.2_p1.ebuild
Ebuild for the new stable version 1.2.2p1 of check_mk.
If anyone of the Gentoo developers would assist me, i would provide support and updates for this ebuild as good as i can. I already thought about becoming a Gentoo developer, but i'm not sure if i have enough time to do this. Some of your useflags-checks are not correct and always checks for use-flag "apache_status". Created attachment 349974 [details]
check_mk-1.2.2_p1.ebuild
Comment on attachment 349974 [details]
check_mk-1.2.2_p1.ebuild
Fixed wrong use flag checks.
Created attachment 352456 [details, diff]
check_mk-1.2.2p1-setup.sh.patch
creation of auth.serials out of the sandbox causes an ACCESS VIOLATION error. Updated patch fixes this problem. I'll report this upstream.
Created attachment 376622 [details]
check_mk-1.2.4_p2.ebuild
Version bump, patch of version 1.2.2p1 is upstream now
Created attachment 379798 [details]
check_mk-1.2.4_p3.ebuild
Added completely rewritten ebuild for check_mk 1.2.4p3
Created attachment 379800 [details, diff]
check_mk-1.2.4p3-setup.sh.patch
Patch for setup.sh from check_mk 1.2.4p3
a) update EAPI to latest version, now it's 5 b) update to python-r1 [1] c) upstream release p4, possible to upgrade to that version? d) cd, cp, rm, cat, sed, emake in src_compile() -> need "|| die" e) need metadata.xml. eg, for IUSE descriptions and other stuff [1] http://www.gentoo.org/proj/en/Python/python-r1/dev-guide.xml Created attachment 380002 [details]
metadata.xml
Created attachment 380006 [details]
check_mk-1.2.4_p4.ebuild
Created attachment 380304 [details]
check_mk-1.2.4_p5.ebuild
version bump
>>> Verifying ebuild manifests >>> Emerging (1 of 3) www-apache/mod_python-3.3.1-r1::gentoo >>> Installing (1 of 3) www-apache/mod_python-3.3.1-r1 >>> Emerging (2 of 3) net-analyzer/nagios-core-3.3.1::gentoo >>> Installing (2 of 3) net-analyzer/nagios-core-3.3.1 >>> Emerging (3 of 3) net-analyzer/check_mk-1.2.4_p5::gentoo >>> Failed to emerge net-analyzer/check_mk-1.2.4_p5, Log file: >>> '/var/tmp/portage/net-analyzer/check_mk-1.2.4_p5/temp/build.log' * Package: net-analyzer/check_mk-1.2.4_p5 * Repository: gentoo * Maintainer: morlix@morlix.de proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: fakeroot preserve-libs sandbox userpriv usersandbox * Applying check_mk-1.2.4p3-setup.sh.patch ... [ ok ] /bin/sh: line 0: type: diet: not found WARNING: your binary is not portable. Please compile with dietlibc on 32-Bit to get portable statically linked binary. Compiling with normal gcc... Fine. Typing 'make install' as root now will install into /usr/bin install: cannot stat ‘etc/icinga/check_mk.d/check_mk_templates.cfg’: No such file or directory !!! doins: etc/icinga/check_mk.d/check_mk_templates.cfg does not exist * ERROR: net-analyzer/check_mk-1.2.4_p5::gentoo failed (install phase): * doins failed * * If you need support, post the output of `emerge --info '=net-analyzer/check_mk-1.2.4_p5::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/check_mk-1.2.4_p5::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-analyzer/check_mk-1.2.4_p5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/check_mk-1.2.4_p5/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/check_mk-1.2.4_p5/work/check_mk-1.2.4p5' * S: '/var/tmp/portage/net-analyzer/check_mk-1.2.4_p5/work/check_mk-1.2.4p5' * QA Notice: file does not exist: # emerge -pv net-analyzer/check_mk These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] net-analyzer/check_mk-1.2.4_p5 USE="-agent-only -apache_status -dmi_sysinfo -livestatus -logwatch -mysql -nfsexports -oracle -postgres -smart -wato -xinetd -zypper" 0 kB Created attachment 380474 [details, diff]
patch against 1.2.4_p5
1) converge "has_version net-analyzer/nagios-core" usage
I noticed for "nagios" user, some path using "/var" while "icinga" use "/var/lib", can we centralize this? (eg, ${nagpipe, check_result_path, nagios_status_file, rrd_path}
2) livecheck USE is not used in this ebuild?
Created attachment 380764 [details]
check_mk-1.2.4_p5-r1.ebuild
Sorry for the late answer.
1) I converged the ones where it is possible, but the ones you already mentioned can't be converged because these are the paths the icinga and nagios ebuild developers use
2) livecheck support has beend removed from upstream
+*check_mk-1.2.4_p5 (17 Jul 2014) + + 17 Jul 2014; Yixun Lan <dlan@gentoo.org> +check_mk-1.2.4_p5.ebuild, + +files/check_mk-1.2.4p3-setup.sh.patch, +metadata.xml: + bug 447920, initial version added, proxy for @Timo Eissler thanks for contributing. |