[128993] trunk/dports/sysutils/xserve-raid-tools/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Dec 2 01:26:48 PST 2014


Revision: 128993
          https://trac.macports.org/changeset/128993
Author:   ryandesign at macports.org
Date:     2014-12-02 01:26:48 -0800 (Tue, 02 Dec 2014)
Log Message:
-----------
xserve-raid-tools: remove server variant and always install the launchd plist; use notes instead of a post-activate ui_msg

Modified Paths:
--------------
    trunk/dports/sysutils/xserve-raid-tools/Portfile

Modified: trunk/dports/sysutils/xserve-raid-tools/Portfile
===================================================================
--- trunk/dports/sysutils/xserve-raid-tools/Portfile	2014-12-02 08:45:34 UTC (rev 128992)
+++ trunk/dports/sysutils/xserve-raid-tools/Portfile	2014-12-02 09:26:48 UTC (rev 128993)
@@ -4,7 +4,7 @@
 
 name                    xserve-raid-tools
 version                 1.2
-revision                2
+revision                3
 categories              sysutils net
 license			GPL-2
 maintainers             nomaintainer
@@ -29,12 +29,10 @@
         depends_build-append    port:nagios-plugins
 }
 
-variant server description {Create server startup item} {
-        startupitem.create      yes
-        startupitem.name        xserve-raid-checkd
-        startupitem.start       "${prefix}/bin/xserve-raid-checkd"
-        startupitem.stop        "exec ${prefix}/bin/xserve-raid-checkd -k kill"
-}
+startupitem.create      yes
+startupitem.name        xserve-raid-checkd
+startupitem.start       "${prefix}/bin/xserve-raid-checkd"
+startupitem.stop        "exec ${prefix}/bin/xserve-raid-checkd -k kill"
 
 set nagios_plugin_dir ${prefix}/libexec/nagios
 
@@ -58,6 +56,6 @@
 	}
 }
 
-post-activate {
-ui_msg "\n Make sure to edit the ${prefix}/etc/xserve-raid-tools.conf file. \n"
-}
+notes "
+Make sure to edit the ${prefix}/etc/xserve-raid-tools.conf file.
+"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141202/b2472dc0/attachment.html>


More information about the macports-changes mailing list