[21672] trunk/dports/net/scapy/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Feb 1 11:35:14 PST 2007


Revision: 21672
          http://trac.macosforge.org/projects/macports/changeset/21672
Author:   pmq at macports.org
Date:     2007-02-01 11:35:13 -0800 (Thu, 01 Feb 2007)

Log Message:
-----------
Version bump to 1.0.5.20
Whitespace cleanup and destrooting simplification

Modified Paths:
--------------
    trunk/dports/net/scapy/Portfile

Modified: trunk/dports/net/scapy/Portfile
===================================================================
--- trunk/dports/net/scapy/Portfile	2007-02-01 19:05:52 UTC (rev 21671)
+++ trunk/dports/net/scapy/Portfile	2007-02-01 19:35:13 UTC (rev 21672)
@@ -1,15 +1,15 @@
 # $Id$
 
-PortSystem              1.0
-PortGroup               python24 1.0
+PortSystem	      1.0
+PortGroup	      python24 1.0
 
-name                    scapy
-version                 1.0.5.11
-categories              net security python
-maintainers             chris.owen at consault.com pmq at macports.org
+name		      scapy
+version		      1.0.5.20
+categories	      net security python
+maintainers	      pmq at macports.org
 
-description             A powerful packet manipulation tool
-long_description	\
+description	      A powerful packet manipulation tool
+long_description      \
         Scapy is a powerful interactive packet manipulation program. It is \
         able to forge or decode packets of a wide number of protocols, send \
         them on the wire, capture them, match requests and replies, and much \
@@ -22,25 +22,22 @@
         (VLAN hopping+ARP cache poisoning, VOIP decoding on WEP encrypted \
         channel, ...), etc.
 
-homepage                http://www.secdev.org/projects/scapy
-master_sites            http://www.secdev.org/projects/scapy/all \
-                        http://www.secdev.org/projects/scapy/files
-distfiles		${distname}.py ethertypes
+homepage	      http://www.secdev.org/projects/scapy
+master_sites	      ${homepage}/all ${homepage}/files
 
-patchfiles              patch-scapy.py.diff
+distfiles	      ${distname}.py ethertypes
+checksums	      ${distname}.py \
+		          sha1 49f48ba46fc4bb80d14d272a2d33cc70dee03ad8 \
+                      	  rmd160 5925b64f1f3cff1dbd11a00e37957952023c94cd \
+        	      ethertypes \
+		          sha1 6ed0fe2446666876d77b8971fd8edf495a9c0be3 \
+                       	  rmd160 296b88fed911b25398b5f657cd6bb5c91e72e288
+patchfiles	      patch-scapy.py.diff
 
-extract.only
+depends_lib-append    port:py-readline port:py-pylibpcap port:py-libdnet \
+		      port:py-crypto port:py-gnuplot port:py-pyx port:graphviz
 
-depends_lib-append      port:py-readline port:py-pylibpcap port:py-libdnet \
-                        port:py-crypto port:py-gnuplot port:py-pyx port:graphviz
-
-checksums               \
-        ${distname}.py	sha1   7cc71fef8c7e430d2e9c28c73a62dea4a0b45029 \
-                        rmd160 a779800fd65d92fbd6b08b2c70e50606064dd1f6 \
-        ethertypes      sha1   6ed0fe2446666876d77b8971fd8edf495a9c0be3 \
-                        rmd160 296b88fed911b25398b5f657cd6bb5c91e72e288
-
-pre-patch {
+extract {
         xinstall -m 775 -d ${worksrcpath}
         file copy ${distpath}/${distname}.py ${worksrcpath}/${name}.py
 }
@@ -49,8 +46,6 @@
 build     {}
 
 destroot  {
-        xinstall -m 644 -W ${distpath} ethertypes \
-                ${destroot}${prefix}/etc
-        xinstall -m 755 -W ${worksrcpath} scapy.py \
-                ${destroot}${prefix}/bin
+        xinstall -m 644 -W ${distpath} ethertypes ${destroot}${prefix}/etc
+        xinstall -m 755 -W ${worksrcpath} scapy.py ${destroot}${prefix}/bin
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070201/8ea558c9/attachment.html


More information about the macports-changes mailing list