[112004] trunk/dports/sysutils/john/Portfile

jmr at macports.org jmr at macports.org
Tue Oct 8 20:40:26 PDT 2013


Revision: 112004
          https://trac.macports.org/changeset/112004
Author:   jmr at macports.org
Date:     2013-10-08 20:40:26 -0700 (Tue, 08 Oct 2013)
Log Message:
-----------
john: correct license, fix unsafe sysctl use

Modified Paths:
--------------
    trunk/dports/sysutils/john/Portfile

Modified: trunk/dports/sysutils/john/Portfile
===================================================================
--- trunk/dports/sysutils/john/Portfile	2013-10-09 03:16:25 UTC (rev 112003)
+++ trunk/dports/sysutils/john/Portfile	2013-10-09 03:40:26 UTC (rev 112004)
@@ -9,7 +9,7 @@
 version             1.8.0
 categories          sysutils security
 maintainers         nomaintainer
-license             GPL-2
+license             {GPL-2+ OpenSSLException}
 
 description         Featureful Unix password cracker
 long_description    John the Ripper is a UNIX password cracker, currently available for \
@@ -39,6 +39,7 @@
                         john-devel
     version             1.7.9
     set jumbo_patchlvl  7
+    license             GPL-2 GPL-3+ Apache-2 Restrictive
     master_sites        http://www.openwall.com/john/g/
 
     use_bzip2           yes
@@ -68,7 +69,7 @@
     }
     ppc {
         # Use altivec if available
-        if {[exec sysctl -n hw.vectorunit] == 1} {
+        if {![catch {sysctl hw.vectorunit} result] && $result == 1} {
             build.target-append macosx-ppc32-altivec
         } else {
             build.target-append macosx-ppc32
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131008/e737f39c/attachment-0001.html>


More information about the macports-changes mailing list