summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-08-11 00:03:16 +0200
committerDavid Seifert <soap@gentoo.org>2021-08-11 00:03:16 +0200
commit902cb54e953fbc7586f4a43fd5d1d564d51c3771 (patch)
treeb72757f7bc80f5fdd7ed79b63165e7de50695f18 /app-crypt/ophcrack-tables
parentnet-analyzer/nipper: update EAPI 6 -> 7 (diff)
downloadgentoo-902cb54e953fbc7586f4a43fd5d1d564d51c3771.tar.gz
gentoo-902cb54e953fbc7586f4a43fd5d1d564d51c3771.tar.bz2
gentoo-902cb54e953fbc7586f4a43fd5d1d564d51c3771.zip
app-crypt/ophcrack-tables: update EAPI 5 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-crypt/ophcrack-tables')
-rw-r--r--app-crypt/ophcrack-tables/ophcrack-tables-1.0-r2.ebuild28
1 files changed, 13 insertions, 15 deletions
diff --git a/app-crypt/ophcrack-tables/ophcrack-tables-1.0-r2.ebuild b/app-crypt/ophcrack-tables/ophcrack-tables-1.0-r2.ebuild
index f350b7c57fac..aa17736fffbf 100644
--- a/app-crypt/ophcrack-tables/ophcrack-tables-1.0-r2.ebuild
+++ b/app-crypt/ophcrack-tables/ophcrack-tables-1.0-r2.ebuild
@@ -1,38 +1,36 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI=8
DESCRIPTION="Tables available for ophcrack"
HOMEPAGE="http://ophcrack.sourceforge.net/"
-SRC_URI="xpfast? ( mirror://sourceforge/ophcrack/tables_xp_free_fast.zip )
- xpsmall? ( mirror://sourceforge/ophcrack/tables_xp_free_small.zip )
- vistafree? ( mirror://sourceforge/ophcrack/tables_vista_free.zip )"
+SRC_URI="
+ xpfast? ( mirror://sourceforge/ophcrack/tables_xp_free_fast.zip )
+ xpsmall? ( mirror://sourceforge/ophcrack/tables_xp_free_small.zip )
+ vistafree? ( mirror://sourceforge/ophcrack/tables_vista_free.zip )"
+S="${WORKDIR}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="+xpfast xpsmall +vistafree"
-
REQUIRED_USE="|| ( xpfast xpsmall vistafree )"
-DEPEND="app-arch/unzip"
-RDEPEND=""
-
-S=${WORKDIR}
+BDEPEND="app-arch/unzip"
src_unpack() {
- for i in ${A};
- do
+ local i table
+ for i in ${A}; do
table=${i#tables_}
table=${table%.zip}
- mkdir "${S}/${table}"
+ mkdir "${S}"/${table} || die
cd $_ || die
unpack "${i}"
done
}
src_install() {
- dodir /usr/share/ophcrack/
- cp -r "${S}"/* "${ED}"/usr/share/ophcrack/ || die
+ insinto /usr/share/ophcrack
+ doins -r .
}