[21072] trunk

source_changes at macosforge.org source_changes at macosforge.org
Fri Dec 29 14:52:40 PST 2006


Revision: 21072
          http://trac.macosforge.org/projects/macports/changeset/21072
Author:   mgrimes at macports.org
Date:     2006-12-29 14:52:40 -0800 (Fri, 29 Dec 2006)

Log Message:
-----------
Updated to 0.9 from maintainer. Added patch to escape the sample command redirection from executing in the bkb frontend.

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

Added Paths:
-----------
    trunk/dports/net/blackbag/files/
    trunk/dports/net/blackbag/files/patch-bkb

Property Changed:
----------------
    trunk/


Property changes on: trunk
___________________________________________________________________
Name: svk:merge
   - 023a8b07-a327-4f20-9012-67c915bb7b7c:/local/branches/updates:20971
023a8b07-a327-4f20-9012-67c915bb7b7c:/local/trunk:21113
a2b01108-8822-4c85-91cd-1541804339d8:/local/macports:20632
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/libdnet-maintainer:20898
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-app-cli:20923
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-list-moreutils:20919
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-path-class:20929
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/updates:20946
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/trunk:20947
f2dd1c64-7982-4318-98ce-263798263e0a:/local:21152
   + 023a8b07-a327-4f20-9012-67c915bb7b7c:/local/branches/updates:21118
023a8b07-a327-4f20-9012-67c915bb7b7c:/local/trunk:21119
a2b01108-8822-4c85-91cd-1541804339d8:/local/macports:20632
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/libdnet-maintainer:20898
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-app-cli:20923
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-list-moreutils:20919
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-path-class:20929
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/updates:20946
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/trunk:20947
f2dd1c64-7982-4318-98ce-263798263e0a:/local:21152

Modified: trunk/dports/net/blackbag/Portfile
===================================================================
--- trunk/dports/net/blackbag/Portfile	2006-12-29 22:07:34 UTC (rev 21071)
+++ trunk/dports/net/blackbag/Portfile	2006-12-29 22:52:40 UTC (rev 21072)
@@ -1,33 +1,50 @@
 # $Id$
 
-PortSystem 1.0
+PortSystem       1.0
 
-name			blackbag
-version			0.6
-categories		net security
-platforms		darwin
-maintainers		ecronin at gizmolabs.org
-description		A miscelleny of network testing tools.
-long_description	Blackbag is Matasano's suite of penetration \
-                    testing and reverse engineering tools. What \
-                    started as a binary interactive netcat, has \
-                    evolved into our "blackbag" of tools to help \
-                    us understand and attack proprietary protocols, \
-                    find compressed images inside of files and more! 
+name             blackbag
+version          0.9
+categories       net security
+platforms        darwin
+maintainers      ecronin at gizmolabs.org
+description      A miscelleny of network testing tools.
+long_description Blackbag is Matasano's suite of penetration testing and \
+                 reverse engineering tools. What started as a binary \
+                 interactive netcat, has evolved into our "blackbag" of \
+                 tools to help us understand and attack proprietary \
+                 protocols, find compressed images inside of files and more!
 
-homepage			http://www.matasano.com/tools/blackbag/
-master_sites        http://www.matasano.com/tools/blackbag/
-checksums			md5  06978738b3ab96087410c4a5198f1ca2 \
-					sha1 32807aa0f5a8ef49688afbb19e898c3734ba2ef8
+homepage         http://www.matasano.com/tools/blackbag/
+master_sites     http://www.sockpuppet.org/tqbf/
+extract.suffix   .tgz
+checksums        md5  9603a1c387b1cb0fc7e1a200002b578f \
+                 sha1 7931f258f06853188c052eb2d72a2d4c6fb8f8b1
 
-depends_lib         port:libevent port:libpcap port:openssl port:zlib
+depends_lib      port:libevent port:libpcap port:openssl port:zlib
 
-configure           {}
+configure        {}
 
-build.env           LFLAGS="-L${prefix}/lib" \
-                    IFLAGS="-I${prefix}/include"
+build.env        LFLAGS="-L${prefix}/lib" \
+                 IFLAGS="-I${prefix}/include"
 
+patchfiles       patch-bkb
+
 post-patch {
-	reinplace "s|/usr/local|\$\(DESTDIR\)/${prefix}|g" ${worksrcpath}/Makefile
+    reinplace "s|/usr/local|\$\(DESTDIR\)/${prefix}|g" ${worksrcpath}/Makefile
+    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/bkb
+    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/sub.c
+    reinplace "s|/usr/local|\$\(DESTDIR\)/${prefix}|g" ${worksrcpath}/asn/Makefile
+    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/asn/asn
+    reinplace "s|-I../third-party/libevent-1.0b||g" ${worksrcpath}/Makefile
+    reinplace "s|-L../third-party/libevent-1.0b||g" ${worksrcpath}/Makefile
+    reinplace "s|-I\$\(TOP\)/../third-party/libevent-1.0b||g" ${worksrcpath}/common.mk
+    reinplace "s|-L\$\(TOP\)/../third-party/libevent-1.0b||g" ${worksrcpath}/common.mk
+    reinplace "s|-L\$\(TOP\)/../third-party/libevent-1.0b||g" ${worksrcpath}/asn/Makefile
+    system "touch ${worksrcpath}/sub.macros"
 }
 
+post-destroot {
+    xinstall -m 755 -d  ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 0644 ${worksrcpath}/README \
+        ${destroot}${prefix}/share/doc/${name}/README
+}

Added: trunk/dports/net/blackbag/files/patch-bkb
===================================================================
--- trunk/dports/net/blackbag/files/patch-bkb	                        (rev 0)
+++ trunk/dports/net/blackbag/files/patch-bkb	2006-12-29 22:52:40 UTC (rev 21072)
@@ -0,0 +1,11 @@
+--- bkb.orig	2006-12-29 14:50:11.000000000 -0800
++++ bkb	2006-12-29 14:50:22.000000000 -0800
+@@ -31,7 +31,7 @@ bkb <command> [args] or -h ;# with comma
+ 	tsec yes		;# wait fractional seconds, then abort
+ 	unasn foo.der		;# translate asn1/ber-der into a script
+ 	nint 10			;# write a binary integer
+-	no < `randombin`	;# NUL->0xFF, or something else
++	no < \`randombin\`	;# NUL->0xFF, or something else
+ 	crnl < text		;# ensure CRNL on all lines
+ 	echo "a%20b" | dehexify ;# HTTP-style dehexify
+ 	echo "a b" | httphexify ;# HTTP-style hex encoding

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


More information about the macports-changes mailing list