public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-crypt/hashcat-bin: metadata.xml hashcat-bin-0.39.ebuild ChangeLog
@ 2012-07-01 22:41 Richard Farina (zerochaos)
  0 siblings, 0 replies; only message in thread
From: Richard Farina (zerochaos) @ 2012-07-01 22:41 UTC (permalink / raw
  To: gentoo-commits

zerochaos    12/07/01 22:41:56

  Added:                metadata.xml hashcat-bin-0.39.ebuild ChangeLog
  Log:
  initial
  
  (Portage version: 2.1.11.3/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-crypt/hashcat-bin/metadata.xml

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

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>crypto</herd>
<maintainer>
<email>zerochaos@gentoo.org</email>
<name>Rick Farina</name>
</maintainer>
</pkgmetadata>




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

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

Index: hashcat-bin-0.39.ebuild
===================================================================
# Copyright 1999-2012 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.39.ebuild,v 1.1 2012/07/01 22:41:56 zerochaos Exp $

EAPI=4

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 ~x86"

IUSE=""

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

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

RESTRICT="strip binchecks"

src_install() {
	dodoc docs/*
	rm -rf *.exe docs
	use x86 && rm hashcat-cli64.bin
	use amd64 && rm hashcat-cli32.bin

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

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

	dodir /usr/bin
	if [ -f "${ED}"/opt/${PN}/hashcat-cli32.bin ]
	then
		fperms +x /opt/${PN}/hashcat-cli32.bin
		echo '#! /bin/sh' > "${ED}"/usr/bin/hashcat-cli32.bin
		echo 'cd /opt/hashcat-bin' >> "${ED}"/usr/bin/hashcat-cli32.bin
		echo 'echo "Warning: hashcat-cli32.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/hashcat-cli32.bin
		echo './hashcat-cli32.bin $@' >> "${ED}"/usr/bin/hashcat-cli32.bin
		fperms +x /usr/bin/hashcat-cli32.bin
	fi
	if [ -f "${ED}"/opt/${PN}/hashcat-cli64.bin ]
	then
		fperms +x /opt/${PN}/hashcat-cli64.bin
		echo '#! /bin/sh' > "${ED}"/usr/bin/hashcat-cli64.bin
		echo 'cd /opt/hashcat-bin' >> "${ED}"/usr/bin/hashcat-cli64.bin
		echo 'echo "Warning: hashcat-cli64.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/hashcat-cli64.bin
		echo './hashcat-cli64.bin $@' >> "${ED}"/usr/bin/hashcat-cli64.bin
		fperms +x /usr/bin/hashcat-cli64.bin
	fi
}



1.1                  app-crypt/hashcat-bin/ChangeLog

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

Index: ChangeLog
===================================================================
# ChangeLog for app-crypt/hashcat-bin
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-bin/ChangeLog,v 1.1 2012/07/01 22:41:56 zerochaos Exp $

*hashcat-bin-0.39 (01 Jul 2012)

  01 Jul 2012; Rick Farina <zerochaos@gentoo.org> +hashcat-bin-0.39.ebuild,
  +metadata.xml:
  initial






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-07-01 22:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-01 22:41 [gentoo-commits] gentoo-x86 commit in app-crypt/hashcat-bin: metadata.xml hashcat-bin-0.39.ebuild ChangeLog Richard Farina (zerochaos)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox