<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/e7156dc657378ab074bf1e1363f055aea4a26307">https://github.com/macports/macports-ports/commit/e7156dc657378ab074bf1e1363f055aea4a26307</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 e7156dc ophcrack: update to 3.8.0, add missing deps
</span>e7156dc is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e7156dc657378ab074bf1e1363f055aea4a26307
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Fri Feb 7 20:53:58 2020 +1100
<span style='display:block; white-space:pre;color:#404040;'> ophcrack: update to 3.8.0, add missing deps
</span>---
security/ophcrack/Portfile | 84 ++++++++++++++++------------------
security/ophcrack/files/configure.diff | 45 ------------------
2 files changed, 40 insertions(+), 89 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/ophcrack/Portfile b/security/ophcrack/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 596be9c..097d28a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/ophcrack/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/ophcrack/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,27 +1,32 @@
</span> PortSystem 1.0
name ophcrack
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.6.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.8.0
</span> categories security
<span style='display:block; white-space:pre;background:#ffe0e0;'>-license GPL-2+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license {GPL-2+ OpenSSLException}
</span> maintainers nomaintainer
description Microsoft Windows password cracker
long_description Ophcrack is a free Windows password cracker based on \
rainbow tables. It is a very efficient implementation \
of rainbow tables done by the inventors of the method.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://ophcrack.sourceforge.net
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://ophcrack.sourceforge.io
</span> platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites sourceforge
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites sourceforge:project/${name}/${name}/${version}
</span>
use_bzip2 yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums ${distname}${extract.suffix} rmd160 9b1684bda4da361b841849ff4eabaab3b2de957d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${distname}${extract.suffix} sha256 79219baa03afd7e52bc6d365dd5a445bc73dfac2e88216e7b050ad7749191893
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums ${distname}${extract.suffix} md5 d4449e15f65b1f0f82abfd963ceff452 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${distname}${extract.suffix} sha1 5dea7466f17ab2d50e1c8e5533f0dc66c36a4fc0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${distname}${extract.suffix} rmd160 ed635704144b5d2613615a4c7e9d720680a281bc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${distname}${extract.suffix} sha256 048a6df57983a3a5a31ac7c4ec12df16aa49e652a29676d93d4ef959d50aeee0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles configure.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:expat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:openssl
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --disable-gui --disable-graph
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --disable-gui \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-libexpat=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-libssl=${prefix}
</span>
set hasMoreThan512MBofRAM 0
catch {set hasMoreThan512MBofRAM [expr [sysctl hw.memsize] >= 536870912]}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,7 +34,7 @@ catch {set hasMoreThan512MBofRAM [expr [sysctl hw.memsize] >= 536870912]}
</span> post-extract {
if {[variant_isset tables]} {
set tables_dir ${destroot}${prefix}/share/${name}/tables
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if ${hasMoreThan512MBofRAM} {
xinstall -m 755 -d ${tables_dir}/xp_free_fast
system "unzip ${distpath}/tables_xp_free_fast.zip -d ${tables_dir}/xp_free_fast"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,7 +42,7 @@ post-extract {
</span> xinstall -m 755 -d ${tables_dir}/xp_free_small
system "unzip ${distpath}/tables_xp_free_small.zip -d ${tables_dir}/xp_free_small"
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> xinstall -m 755 -d ${tables_dir}/vista_free
system "unzip ${distpath}/tables_vista_free.zip -d ${tables_dir}/vista_free"
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,62 +50,53 @@ post-extract {
</span>
destroot {
if {[variant_isset gui]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -d ${destroot}${applications_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${applications_dir}
</span> copy ${worksrcpath}/src/${name}.app ${destroot}${applications_dir}
} else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -d ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${worksrcpath}/src/${name} ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall ${worksrcpath}/src/${name} ${destroot}${prefix}/bin
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -W ${worksrcpath} -m 644 AUTHORS COPYING ChangeLog LICENSE \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ README.md ${destroot}${prefix}/share/doc/${name}
</span> }
notes "
<span style='display:block; white-space:pre;background:#ffe0e0;'>-****************************************************
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Visit http://ophcrack.sourceforge.net/tables.php
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- to get rainbow tables.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-****************************************************
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-activate {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset tables]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- notes-append "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-****************************************************
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Free rainbow tables have been installed into
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${prefix}/share/${name}/tables
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Visit https://ophcrack.sourceforge.io/tables.php
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ to get rainbow tables."
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-****************************************************
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant gui description {Builds the GUI version instead of the CLI version, requires the qt4-mac port} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PortGroup qt4 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant gui description {Builds the GUI version instead of the CLI version, requires Qt 5 port} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.depends_component qtcharts
</span> configure.args-delete --disable-gui
configure.args-append --with-libqt4=${qt_dir}
}
variant tables description {Installs the free rainbow tables for Windows XP and Vista (700+ MB)} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if ${hasMoreThan512MBofRAM} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- distfiles-append tables_xp_free_fast.zip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites-append sourceforge:project/${name}/tables/XP%20free:xptables
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {$hasMoreThan512MBofRAM} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles-append tables_xp_free_fast.zip:xptables
</span> checksums-append tables_xp_free_fast.zip sha1 141b8be045055068e8bae6542d484fffdd452641
} else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- distfiles-append tables_xp_free_small.zip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles-append tables_xp_free_small.zip:xptables
</span> checksums-append tables_xp_free_small.zip sha1 2933bc9e483f79966ee02569d3d91b4d0ecc5a8d
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- distfiles-append tables_vista_free.zip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites-append sourceforge:project/${name}/tables/Vista%20free:vistatables
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles-append tables_vista_free.zip:vistatables
</span> checksums-append tables_vista_free.zip sha1 31425c6b35679df53ba67cb1cc3807501eec3ced
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> extract.only ${distname}${extract.suffix}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> patchfiles-append patch-src-gui-tabledialog.cpp.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-patch {
reinplace "s|@TABLES_DIR@|${prefix}/share/${name}/tables|g" ${worksrcpath}/src/gui/tabledialog.cpp
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ notes-append "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Free rainbow tables are installed into
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/share/${name}/tables"
</span> }
livecheck.type regex
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/ophcrack/files/configure.diff b/security/ophcrack/files/configure.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 072f810..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/ophcrack/files/configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,45 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.orig 2013-06-04 17:42:47.000000000 +1000
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure 2014-12-05 06:58:49.000000000 +1100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -3057,13 +3057,13 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CXXFLAGS=$ac_save_CXXFLAGS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- elif test $ac_cv_prog_cxx_g = yes; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if test "$GXX" = yes; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- CXXFLAGS="-g -O2"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CXXFLAGS="-g"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CXXFLAGS="-g"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if test "$GXX" = yes; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- CXXFLAGS="-O2"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CXXFLAGS=""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CXXFLAGS=
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -3506,13 +3506,13 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS=$ac_save_CFLAGS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- elif test $ac_cv_prog_cc_g = yes; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if test "$GCC" = yes; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- CFLAGS="-g -O2"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CFLAGS="-g"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS="-g"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if test "$GCC" = yes; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- CFLAGS="-O2"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CFLAGS=""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS=
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -3654,8 +3654,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if test "$GCC" = "yes"; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- CFLAGS="$CFLAGS -O2 -DNDEBUG"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CFLAGS="$CFLAGS -DNDEBUG"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CXXFLAGS="$CXXFLAGS -DNDEBUG"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS="$CFLAGS -DNDEBUG"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CXXFLAGS="$CXXFLAGS -DNDEBUG"
</span></pre><pre style='margin:0'>
</pre>