[63867] trunk/dports/security/denyhosts/Portfile

snc at macports.org snc at macports.org
Wed Feb 17 07:20:18 PST 2010


Revision: 63867
          http://trac.macports.org/changeset/63867
Author:   snc at macports.org
Date:     2010-02-17 07:20:18 -0800 (Wed, 17 Feb 2010)
Log Message:
-----------
handle PID file, #22829. convert ui_msg to notes

Modified Paths:
--------------
    trunk/dports/security/denyhosts/Portfile

Modified: trunk/dports/security/denyhosts/Portfile
===================================================================
--- trunk/dports/security/denyhosts/Portfile	2010-02-17 15:17:38 UTC (rev 63866)
+++ trunk/dports/security/denyhosts/Portfile	2010-02-17 15:20:18 UTC (rev 63867)
@@ -7,7 +7,7 @@
 name                denyhosts
 categories          security sysutils
 version             2.6
-revision            2
+revision            3
 license             GPL
 maintainers         snc openmaintainer
 description         DenyHosts is a utility to help sys admins thwart ssh hackers
@@ -43,18 +43,18 @@
     xinstall -d ${destroot}${prefix}/var/run/
     xinstall -d ${destroot}${prefix}/var/log/
 }
-post-destroot {
-    ui_msg ""
-    ui_msg "    Please read ${prefix}/share/denyhosts/README.txt"
-    ui_msg ""
-    ui_msg "    You need to make config files in ${prefix}/share/denyhosts"
-    ui_msg "    The files ending with '-dist' are examples for you to copy"
-    ui_msg ""
-}
+
+notes \
+"Please read ${prefix}/share/denyhosts/README.txt
+
+You need to make config files in ${prefix}/share/denyhosts
+The files ending with '-dist' are examples for you to copy"
+
 destroot.keepdirs   ${destroot}${prefix}/var/run \
                     ${destroot}${prefix}/var/log
 
 startupitem.create  yes
 startupitem.type    launchd
+startupitem.pidfile clean ${prefix}/var/run/${name}.pid
 startupitem.start   "${prefix}/share/denyhosts/daemon-control start"
 startupitem.stop    "${prefix}/share/denyhosts/daemon-control stop"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100217/b5a70471/attachment.html>


More information about the macports-changes mailing list