<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/cddd4308634903378d7d29bb67383695d535c8fb">https://github.com/macports/macports-ports/commit/cddd4308634903378d7d29bb67383695d535c8fb</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new cddd4308634 skipfish: use openssl10
</span>cddd4308634 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit cddd4308634903378d7d29bb67383695d535c8fb
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Wed Aug 14 19:41:49 2024 +1000
<span style='display:block; white-space:pre;color:#404040;'> skipfish: use openssl10
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/59967
</span>---
security/skipfish/Portfile | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/skipfish/Portfile b/security/skipfish/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 12c86aaa30f..4419a40e1e9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/skipfish/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/skipfish/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,8 +13,7 @@ long_description A fully automated, active web application security \
</span> reconnaissance tool.
homepage https://code.google.com/p/skipfish/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib path:lib/libssl.dylib:openssl port:libidn port:zlib port:pcre
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:openssl10 port:libidn port:zlib port:pcre
</span>
master_sites googlecode
extract.suffix .tgz
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,16 +23,19 @@ checksums rmd160 00667071308b41977710842994ba4c34ce26cff5 \
</span>
patchfiles patch-src-config.h.diff
post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace s|@@SHARE@@|${prefix}/share/${name}/|g ${worksrcpath}/src/config.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace s|-L/usr/local/lib/\ ||g ${worksrcpath}/Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace s|-I/usr/local|-I${prefix}|g ${worksrcpath}/Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace s|signatures/signatures.conf|${prefix}/share/${name}/signatures/signatures.conf|g ${worksrcpath}/src/config.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace s|include\ signatures|include\ ${prefix}/share/${name}/signatures|g ${worksrcpath}/signatures/signatures.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace s|@@SHARE@@|${prefix}/share/${name}/| ${worksrcpath}/src/config.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|-L/usr/local/lib/||" ${worksrcpath}/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|-L/opt/local/lib|-L${prefix}/libexec/openssl10/lib -L${prefix}/lib|" ${worksrcpath}/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|-I/usr/local/include/||" ${worksrcpath}/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|-I/opt/local/include/|-I${prefix}/libexec/openssl10/include -I${prefix}/include|" ${worksrcpath}/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace s|signatures/signatures.conf|${prefix}/share/${name}/signatures/signatures.conf| ${worksrcpath}/src/config.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace s|include\ signatures|include\ ${prefix}/share/${name}/signatures| ${worksrcpath}/signatures/signatures.conf
</span> }
use_configure no
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args-append CC=${configure.cc}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.env CC=${configure.cc} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFLAGS=${configure.cc_archflags}
</span> destroot {
file mkdir ${destroot}${prefix}/share/${name}
file copy ${worksrcpath}/skipfish ${destroot}${prefix}/bin/skipfish
</pre><pre style='margin:0'>
</pre>