AUX npcd 803 RMD160 f516c730ecbd74be6a9f17a2d33f6f174a591650 SHA1 9be36a512b1c5e934f9ba18d74dbd986f4df9dbb SHA256 a4e72d13330576ff2e6400144327cf8e8eaf4016146b125c2ff5406d6ce38f82
DIST pnp-0.4.7.tar.gz 299261 RMD160 d1c8bc1a4b6a97e13ffb686d99dc41c333a0b4d9 SHA1 a326149d0a449c9c9af718c622d80a3b4c40f6e3 SHA256 34307d9e7a045b921403d98ea52149296ebf988de93834ad40e922d298ae703c
-EBUILD pnp-0.4.7.ebuild 2176 RMD160 6f499784de0cffc1963664914b00b02f2722ece0 SHA1 a16d442f2326b392b24f67a3bbaa7af0b261a4b0 SHA256 0bc0f49dd93ec41558cf144ab8d1bf3414a7f78bc259ea2055d75456b867550e
+EBUILD pnp-0.4.7.ebuild 2441 RMD160 3f569cb41538c69c3b77dddc81f3ad6b4b4dec05 SHA1 ff4646b0a75efe82dd54c62398ba290aa6ed6e4a SHA256 d6cc4811d96d149655feac291b6532b90620938cad29f61cf8602fa0505a73b0
src_install() {
+
dodoc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README README.npcd README.pnpsender THANKS TODO
emake DESTDIR="${D}" HTMLDIR=/usr/share/nagios/htdocs/pnp install
mv "${D}"/etc/nagios/pnp/process_perfdata.cfg-sample "${D}"/etc/nagios/pnp/process_perfdata.cfg
mv "${D}"/etc/nagios/pnp/rra.cfg-sample "${D}"/etc/nagios/pnp/rra.cfg
+ mkdir -p "${D}"/var/nagios/perfdata
+ mkdir -p "${D}"/var/nagios/spool/perfdata
+ chown nagios:nagios "${D}"/var/nagios/perfdata
+ chown nagios:nagios "${D}"/var/nagios/spool/perfdata
+ chmod 775 "${D}"/var/nagios/perfdata
+ chmod 775 "${D}"/var/nagios/spool/perfdata
+
keepdir /etc/nagios/pnp
keepdir /var/nagios
keepdir /var/nagios/perfdata
doinitd "${FILESDIR}"/npcd
-
}