[65200] trunk/dports/security/skipfish
snc at macports.org
snc at macports.org
Tue Mar 23 08:53:26 PDT 2010
Revision: 65200
http://trac.macports.org/changeset/65200
Author: snc at macports.org
Date: 2010-03-23 08:53:24 -0700 (Tue, 23 Mar 2010)
Log Message:
-----------
update version
Modified Paths:
--------------
trunk/dports/security/skipfish/Portfile
Added Paths:
-----------
trunk/dports/security/skipfish/files/patch-config.h.diff
Removed Paths:
-------------
trunk/dports/security/skipfish/files/patch-report.c.diff
trunk/dports/security/skipfish/files/patch-skipfish.c.diff
Modified: trunk/dports/security/skipfish/Portfile
===================================================================
--- trunk/dports/security/skipfish/Portfile 2010-03-23 15:31:28 UTC (rev 65199)
+++ trunk/dports/security/skipfish/Portfile 2010-03-23 15:53:24 UTC (rev 65200)
@@ -4,7 +4,7 @@
PortSystem 1.0
name skipfish
-version 1.10b
+version 1.13b
categories security
maintainers snc openmaintainer
description web application security scanner
@@ -17,13 +17,13 @@
master_sites googlecode
extract.suffix .tgz
-checksums md5 1e6ba5fff7fa5133e39ad604ca480ea2 \
- sha1 b9bc1f09a7b83cd52a923ec25227870bcb1c02e2 \
- rmd160 f6bc04e4d9e5a0a7b17c3019aa609c56f40f12dc
+checksums md5 e40603953eb6ae3bd9aef3905d6a0335 \
+ sha1 07ee17a71125b94691a92feca0eb108837512f0a \
+ rmd160 d5f768f2e0b50180aa513c0ebd50c7c45fb1ffa3
worksrcdir ${name}
-patchfiles patch-report.c.diff patch-skipfish.c.diff
+patchfiles patch-config.h.diff
post-patch {
reinplace s|@@SHARE@@|${prefix}/share/${name}/|g ${worksrcpath}/report.c
reinplace s|@@SHARE@@|${prefix}/share/${name}/|g ${worksrcpath}/skipfish.c
Added: trunk/dports/security/skipfish/files/patch-config.h.diff
===================================================================
--- trunk/dports/security/skipfish/files/patch-config.h.diff (rev 0)
+++ trunk/dports/security/skipfish/files/patch-config.h.diff 2010-03-23 15:53:24 UTC (rev 65200)
@@ -0,0 +1,11 @@
+--- config.h.orig 2010-03-23 11:47:36.000000000 -0400
++++ config.h 2010-03-23 11:47:43.000000000 -0400
+@@ -29,7 +29,7 @@
+
+ /* Default paths to runtime files: */
+
+-#define ASSETS_DIR "assets"
++#define ASSETS_DIR "@@SHARE@@assets"
+ #define DEF_WORDLIST "skipfish.wl"
+
+ /* Various default settings for HTTP client (cmdline override): */
Deleted: trunk/dports/security/skipfish/files/patch-report.c.diff
===================================================================
--- trunk/dports/security/skipfish/files/patch-report.c.diff 2010-03-23 15:31:28 UTC (rev 65199)
+++ trunk/dports/security/skipfish/files/patch-report.c.diff 2010-03-23 15:53:24 UTC (rev 65200)
@@ -1,20 +0,0 @@
---- report.c.orig 2010-03-21 11:50:07.000000000 -0400
-+++ report.c 2010-03-21 11:50:25.000000000 -0400
-@@ -715,7 +715,7 @@
- if (d->d_name[0] == '.' || !strcmp(d->d_name, "COPYING")) return 0;
-
- itmp = ck_alloc(6 + strlen(d->d_name) + 2);
-- sprintf((char*)itmp, "assets/%s", d->d_name);
-+ sprintf((char*)itmp, "@@SHARE@@assets/%s", d->d_name);
- i = open((char*)itmp, O_RDONLY);
-
- otmp = ck_alloc(strlen((char*)ca_out_dir) + strlen(d->d_name) + 2);
-@@ -741,7 +741,7 @@
- static void copy_static_code(u8* out_dir) {
- struct dirent** d;
- ca_out_dir = out_dir;
-- scandir("assets", &d, copy_asset, NULL);
-+ scandir("@@SHARE@@assets", &d, copy_asset, NULL);
- }
-
-
Deleted: trunk/dports/security/skipfish/files/patch-skipfish.c.diff
===================================================================
--- trunk/dports/security/skipfish/files/patch-skipfish.c.diff 2010-03-23 15:31:28 UTC (rev 65199)
+++ trunk/dports/security/skipfish/files/patch-skipfish.c.diff 2010-03-23 15:53:24 UTC (rev 65200)
@@ -1,13 +0,0 @@
---- skipfish.c.orig 2010-03-21 11:49:36.000000000 -0400
-+++ skipfish.c 2010-03-21 11:49:58.000000000 -0400
-@@ -370,8 +370,8 @@
-
- }
-
-- if (access("assets/index.html", R_OK))
-- PFATAL("Unable to access 'assets/index.html' - wrong directory?");
-+ if (access("@@SHARE@@assets/index.html", R_OK))
-+ PFATAL("Unable to access '@@SHARE@@assets/index.html' - wrong directory?");
-
- srandom(seed);
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100323/77f7df58/attachment.html>
More information about the macports-changes
mailing list