]> Frank Brehm's Git Trees - portage.git/commitdiff
Bugfixing
authorFrank Brehm <frank@brehm-online.com>
Thu, 10 Apr 2008 12:41:21 +0000 (12:41 +0000)
committerFrank Brehm <frank@brehm-online.com>
Thu, 10 Apr 2008 12:41:21 +0000 (12:41 +0000)
git-svn-id: http://svn.brehm-online.com/svn/portage@59 18afd0d2-9f2f-0410-a0ac-b8d70fd81a6b

net-analyzer/pnp/Manifest
net-analyzer/pnp/pnp-0.4.7.ebuild

index c1ad71fbd4fca001248c480107efb7c3c52e632b..f3dece48bb52442ff87b268ee745405e2e29a64d 100644 (file)
@@ -1,3 +1,3 @@
 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
index 8e33d9d30a8c470f69d922aa1b880bf4c507ee94..235c2cf246b5d338c44aab321cd2583b146af823 100644 (file)
@@ -45,6 +45,7 @@ src_compile() {
 
 
 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
@@ -58,6 +59,13 @@ src_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
@@ -65,5 +73,4 @@ src_install() {
 
        doinitd "${FILESDIR}"/npcd
 
-
 }