Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 58928
Collapse All | Expand All

(-)/var/www/gentoo-mirror/portage/official/net-analyzer/nagios-plugins/nagios-plugins-1.3.1-r1.ebuild (-2 / +4 lines)
Lines 29-38 Link Here
29
	nagios-ping? ( >=net-analyzer/fping-2.4_beta2-r1 )
29
	nagios-ping? ( >=net-analyzer/fping-2.4_beta2-r1 )
30
	nagios-ssh? ( >=net-misc/openssh-3.5_p1 )"
30
	nagios-ssh? ( >=net-misc/openssh-3.5_p1 )"
31
31
32
pkg_preinst() {
32
pkg_preinst(){
33
	enewgroup nagios
33
	enewgroup nagios
34
	enewuser nagios -1 /bin/bash /dev/null nagios
34
	enewuser nagios -1 /bin/bash /dev/null nagios
35
	chown -R nagios:nagios ${D}/usr/nagios/libexec || die "Failed Chown of ${D}/usr/nagios/libexec"
36
}
35
}
37
36
38
src_compile() {
37
src_compile() {
Lines 66-71 Link Here
66
}
65
}
67
66
68
pkg_postinst() {
67
pkg_postinst() {
68
69
	chown -R nagios:nagios /usr/nagios/libexec || die "Failed Chown of /usr/nagios/libexec"
70
69
	einfo "This ebuild has a number of USE flags which determines what nagios is able to monitor."
71
	einfo "This ebuild has a number of USE flags which determines what nagios is able to monitor."
70
	einfo "Depending on what you want to monitor with nagios, some or all of these USE"
72
	einfo "Depending on what you want to monitor with nagios, some or all of these USE"
71
	einfo "flags need to be set for nagios to function correctly."
73
	einfo "flags need to be set for nagios to function correctly."

Return to bug 58928