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

snc at macports.org snc at macports.org
Tue Feb 19 07:52:10 PST 2013


Revision: 103268
          https://trac.macports.org/changeset/103268
Author:   snc at macports.org
Date:     2013-02-19 07:52:10 -0800 (Tue, 19 Feb 2013)
Log Message:
-----------
denyhosts: cannot work with 10.8

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

Modified: trunk/dports/security/denyhosts/Portfile
===================================================================
--- trunk/dports/security/denyhosts/Portfile	2013-02-19 15:51:19 UTC (rev 103267)
+++ trunk/dports/security/denyhosts/Portfile	2013-02-19 15:52:10 UTC (rev 103268)
@@ -7,7 +7,7 @@
 name                denyhosts
 categories          security sysutils
 version             2.6
-revision            4
+revision            5
 license             GPL
 maintainers         snc openmaintainer
 description         DenyHosts is a utility to help sys admins thwart ssh hackers
@@ -27,6 +27,15 @@
 patchfiles          patch-denyhosts.cfg-dist.diff \
                     patch-daemon-control-dist.diff
 
+pre-fetch {
+    if { ${os.major} > 11 } {
+        # 10.8 is not supported:
+        # https://trac.macports.org/ticket/38084#comment:2
+        ui_error "${name} requires Lion or older"
+        return -code error "unsupported OS X version"
+    }
+}
+
 build {}
 
 pre-build {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130219/fed71340/attachment.html>


More information about the macports-changes mailing list