[62042] trunk/dports/security/aircrack-ng/Portfile

nox at macports.org nox at macports.org
Mon Dec 28 08:32:26 PST 2009


Revision: 62042
          http://trac.macports.org/changeset/62042
Author:   nox at macports.org
Date:     2009-12-28 08:32:24 -0800 (Mon, 28 Dec 2009)
Log Message:
-----------
Update aircrack-ng to 1.0

Modified Paths:
--------------
    trunk/dports/security/aircrack-ng/Portfile

Modified: trunk/dports/security/aircrack-ng/Portfile
===================================================================
--- trunk/dports/security/aircrack-ng/Portfile	2009-12-28 16:22:25 UTC (rev 62041)
+++ trunk/dports/security/aircrack-ng/Portfile	2009-12-28 16:32:24 UTC (rev 62042)
@@ -3,8 +3,7 @@
 PortSystem 1.0
 
 name		aircrack-ng
-version		0.9.3
-revision	1
+version		1.0
 categories	security
 maintainers	nomaintainer
 description	Aircrack-ng is the next generation of aircrack with lots of new features
@@ -17,14 +16,32 @@
 homepage	http://aircrack-ng.org
 platforms	darwin
 master_sites	http://download.aircrack-ng.org/
-checksums	sha1 b2f671324d056408b83d32eb1ab6061b7fa87ac5
 
+checksums       md5     dafbfaf944ca9d523fde4bae86f0c067 \
+                sha1    8a3c5b8e322ea11e5559109a9f9d668ad6aee5f0 \
+                rmd160  e8360aabbec1e7e038f86579e1004234f0899409
 
+post-patch {
+    reinplace s@/usr/local@${prefix}@ ${worksrcpath}/common.mak
+    reinplace s/-Werror// ${worksrcpath}/common.mak
+
+    reinplace -E {s/#if defined.*/#if 0/} \
+        ${worksrcpath}/src/aircrack-ng.c \
+        ${worksrcpath}/src/common.h \
+        ${worksrcpath}/src/sha1-sse2.h
+}
+
+depends_lib \
+    port:openssl
+
 use_configure	no
 
-configure {
-    system "mv ${worksrcpath}/Makefile.osx ${worksrcpath}/Makefile"
-    reinplace "s|\$(prefix)/man/man1|\$(prefix)/share/man/man1/|g" ${worksrcpath}/Makefile
-    reinplace "s|\$(prefix)|${prefix}|g" ${worksrcpath}/Makefile
-    reinplace "s|\$(destdir)|${destroot}|g" ${worksrcpath}/Makefile
-}
+use_parallel_build yes
+
+build.args \
+    ASM_AC=
+
+destroot.args \
+    mandir=${prefix}/share/man/man1
+
+universal_variant no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091228/ea014f14/attachment.html>


More information about the macports-changes mailing list