alonbl      14/05/05 15:42:54

  Modified:             ChangeLog
  Added:                hashcat-bin-0.47.ebuild
  Removed:              hashcat-bin-0.44.ebuild hashcat-bin-0.40.ebuild
                        hashcat-bin-0.41.ebuild hashcat-bin-0.39.ebuild
                        hashcat-bin-0.42.ebuild
  Log:
  Version bump, bug#509616. Cleanup old
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
BF20DC51)

Revision  Changes    Path
1.11                 app-crypt/hashcat-bin/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/hashcat-bin/ChangeLog?rev=1.11&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/hashcat-bin/ChangeLog?rev=1.11&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/hashcat-bin/ChangeLog?r1=1.10&r2=1.11

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-crypt/hashcat-bin/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog   20 Sep 2013 23:17:12 -0000      1.10
+++ ChangeLog   5 May 2014 15:42:54 -0000       1.11
@@ -1,6 +1,13 @@
 # ChangeLog for app-crypt/hashcat-bin
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-bin/ChangeLog,v 1.10 
2013/09/20 23:17:12 zerochaos Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-bin/ChangeLog,v 1.11 
2014/05/05 15:42:54 alonbl Exp $
+
+*hashcat-bin-0.47 (05 May 2014)
+
+  05 May 2014; Alon Bar-Lev <alo...@gentoo.org> +hashcat-bin-0.47.ebuild,
+  -hashcat-bin-0.39.ebuild, -hashcat-bin-0.40.ebuild, -hashcat-bin-0.41.ebuild,
+  -hashcat-bin-0.42.ebuild, -hashcat-bin-0.44.ebuild:
+  Version bump, bug#509616. Cleanup old
 
 *hashcat-bin-0.46 (20 Sep 2013)
 



1.1                  app-crypt/hashcat-bin/hashcat-bin-0.47.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/hashcat-bin/hashcat-bin-0.47.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/hashcat-bin/hashcat-bin-0.47.ebuild?rev=1.1&content-type=text/plain

Index: hashcat-bin-0.47.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/app-crypt/hashcat-bin/hashcat-bin-0.47.ebuild,v 1.1 
2014/05/05 15:42:54 alonbl Exp $

EAPI=5

MY_P="hashcat-${PV}"

inherit eutils pax-utils
DESCRIPTION="An multi-threaded multihash cracker"
HOMEPAGE="http://hashcat.net/hashcat/";

SRC_URI="http://hashcat.net/files/${MY_P}.7z";

#license applies to this version per http://hashcat.net/forum/thread-1348.html
LICENSE="hashcat"
SLOT="0"
KEYWORDS="-* ~amd64 ~amd64-linux ~x64-macos ~x86 ~x86-linux"

IUSE=""

RDEPEND=""
DEPEND="${RDEPEND}
        app-arch/p7zip"

S="${WORKDIR}/${MY_P}"

RESTRICT="strip"
QA_PREBUILT="opt/${PN}/hashcat-cli*.bin
                opt/${PN}/hashcat-cli64.app"

has_xop() {
        echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __XOP__ 1"
}

has_avx() {
        echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __AVX__ 1"
}

src_install() {
        dodoc docs/*
        rm -r *.exe docs || die
        use x86 || { rm hashcat-cli32.bin || die; }
        use amd64 || { rm hashcat-cli64.bin || die; }
        use x64-macos || { rm hashcat-cli64.app || die; }
        has_avx || { rm hashcat-cliAVX.bin || die; }
        has_xop || { rm hashcat-cliXOP.bin || die; }

        #I assume this is needed but I didn't check
        pax-mark m hashcat-cli*.bin

        insinto /opt/${PN}
        doins -r "${S}"/*

        dodir /opt/bin
        if [ -f "${ED}"/opt/${PN}/hashcat-cli32.bin ]
        then
                fperms +x /opt/${PN}/hashcat-cli32.bin
                cat <<-EOF > "${ED}"/opt/bin/hashcat-cli32.bin
                        #! /bin/sh
                        cd "${EPREFIX}"/opt/${PN}
                        echo "Warning: hashcat-cli32.bin is running from 
${EPREFIX}/opt/${PN} so be careful of relative paths."
                        exec ./hashcat-cli32.bin \$@
                EOF
                fperms +x /opt/bin/hashcat-cli32.bin
        fi
        if [ -f "${ED}"/opt/${PN}/hashcat-cli64.bin ]
        then
                fperms +x /opt/${PN}/hashcat-cli64.bin
                cat <<-EOF > "${ED}"/opt/bin/hashcat-cli64.bin
                        #! /bin/sh
                        cd "${EPREFIX}"/opt/${PN}
                        echo "Warning: hashcat-cli64.bin is running from 
${EPREFIX}/opt/${PN} so be careful of relative paths."
                        exec ./hashcat-cli64.bin \$@
                EOF
                fperms +x /opt/bin/hashcat-cli64.bin
        fi
        if [ -f "${ED}"/opt/${PN}/hashcat-cliAVX.bin ]
        then
                fperms +x /opt/${PN}/hashcat-cliAVX.bin
                cat <<-EOF > "${ED}"/opt/bin/hashcat-cliAVX.bin
                        #! /bin/sh
                        cd "${EPREFIX}"/opt/${PN}
                        echo "Warning: hashcat-cliAVX.bin is running from 
${EPREFIX}/opt/${PN} so be careful of relative paths."
                        exec ./hashcat-cliAVX.bin \$@
                EOF
                fperms +x /opt/bin/hashcat-cliAVX.bin
        fi
        if [ -f "${ED}"/opt/${PN}/hashcat-cliXOP.bin ]
        then
                fperms +x /opt/${PN}/hashcat-cliXOP.bin
                cat <<-EOF > "${ED}"/opt/bin/hashcat-cliXOP.bin
                        #! /bin/sh
                        cd "${EPREFIX}"/opt/${PN}
                        echo "Warning: hashcat-cliXOP.bin is running from 
${EPREFIX}/opt/${PN} so be careful of relative paths."
                        exec ./hashcat-cliXOP.bin \$@
                EOF
                fperms +x /opt/bin/hashcat-cliXOP.bin
        fi
        if [ -f "${ED}"/opt/${PN}/hashcat-cli64.app ]
        then
                fperms +x /opt/${PN}/hashcat-cli64.app
                cat <<-EOF > "${ED}"/opt/bin/hashcat-cli64.app
                        #! /bin/sh
                        cd "${EPREFIX}"/opt/${PN}
                        echo "Warning: hashcat-cli64.app is running from 
${EPREFIX}/opt/${PN} so be careful of relative paths."
                        exec ./hashcat-cli64.app \$@
                EOF
                fperms +x /opt/bin/hashcat-cli64.app
        fi
}




Reply via email to