[37754] trunk/dports/net/nrpe

markd at macports.org markd at macports.org
Sat Jun 21 15:49:31 PDT 2008


Revision: 37754
          http://trac.macosforge.org/projects/macports/changeset/37754
Author:   markd at macports.org
Date:     2008-06-21 15:49:31 -0700 (Sat, 21 Jun 2008)
Log Message:
-----------
#15701.  Use a new lockfile directory.

Modified Paths:
--------------
    trunk/dports/net/nrpe/Portfile
    trunk/dports/net/nrpe/files/patch-init-script.in

Modified: trunk/dports/net/nrpe/Portfile
===================================================================
--- trunk/dports/net/nrpe/Portfile	2008-06-21 22:07:40 UTC (rev 37753)
+++ trunk/dports/net/nrpe/Portfile	2008-06-21 22:49:31 UTC (rev 37754)
@@ -4,6 +4,7 @@
 
 name              nrpe
 version           2.8.1
+revision          1
 categories        net
 maintainers       markd
 description       Nagios Remote Plugin Executor
@@ -49,12 +50,13 @@
 	xinstall -m 755 ${worksrcpath}/sample-config/nrpe.cfg ${destroot}${prefix}/etc/${name}/nrpe.cfg.sample
 
         xinstall -m 755 ${worksrcpath}/init-script ${destroot}${prefix}/share/${name}
-        xinstall -d -m 755 ${destroot}${prefix}/var/run
 
 	xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
 	xinstall -m 755 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
         xinstall -m 755 ${worksrcpath}/README.SSL ${destroot}${prefix}/share/doc/${name}
 
+	xinstall -d -m 755 ${destroot}${prefix}/var/run/nrpe
+	destroot.keepdirs ${destroot}${prefix}/var/run/nrpe
 }
 
 post-destroot {

Modified: trunk/dports/net/nrpe/files/patch-init-script.in
===================================================================
--- trunk/dports/net/nrpe/files/patch-init-script.in	2008-06-21 22:07:40 UTC (rev 37753)
+++ trunk/dports/net/nrpe/files/patch-init-script.in	2008-06-21 22:49:31 UTC (rev 37754)
@@ -22,7 +22,7 @@
  NrpeBin=@bindir@/nrpe
  NrpeCfg=@sysconfdir@/nrpe.cfg
 -LockFile=/var/lock/subsys/nrpe
-+LockFile=__PREFIX__/var/run/nrpe.lock
++LockFile=__PREFIX__/var/run/nrpe/nrpe.lock
  
  # See how we were called.
  case "$1" in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080621/d092c19a/attachment.htm 


More information about the macports-changes mailing list