summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2017-01-14 01:20:01 +0200
committerAlon Bar-Lev <alonbl@gentoo.org>2017-01-14 01:32:37 +0200
commit47fd579cdf5b02134c7a7465b3ea2004203a380d (patch)
tree42a19a4fecfd9749409bd381cc5f15f3f21ed82f /app-crypt
parentapp-crypt/mcrypt: eapi bump (diff)
downloadgentoo-47fd579cdf5b02134c7a7465b3ea2004203a380d.tar.gz
gentoo-47fd579cdf5b02134c7a7465b3ea2004203a380d.tar.bz2
gentoo-47fd579cdf5b02134c7a7465b3ea2004203a380d.zip
app-crypt/nasty: eapi bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/nasty/files/nasty-0.6-flags.patch4
-rw-r--r--app-crypt/nasty/nasty-0.6-r1.ebuild16
2 files changed, 10 insertions, 10 deletions
diff --git a/app-crypt/nasty/files/nasty-0.6-flags.patch b/app-crypt/nasty/files/nasty-0.6-flags.patch
index 271bbaab498..522e570a94a 100644
--- a/app-crypt/nasty/files/nasty-0.6-flags.patch
+++ b/app-crypt/nasty/files/nasty-0.6-flags.patch
@@ -1,5 +1,5 @@
---- Makefile
-+++ Makefile
+--- a/Makefile
++++ b/Makefile
@@ -1,15 +1,16 @@
VERSION=0.6
diff --git a/app-crypt/nasty/nasty-0.6-r1.ebuild b/app-crypt/nasty/nasty-0.6-r1.ebuild
index 35c3375ccb5..8cea59381f4 100644
--- a/app-crypt/nasty/nasty-0.6-r1.ebuild
+++ b/app-crypt/nasty/nasty-0.6-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="2"
+EAPI="6"
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="Proof-of-concept GPG passphrase recovery tool"
HOMEPAGE="http://www.vanheusden.com/nasty/"
@@ -16,15 +16,15 @@ IUSE=""
RDEPEND="app-crypt/gpgme"
DEPEND="${RDEPEND}"
-src_prepare() {
- epatch "${FILESDIR}/${P}-flags.patch"
-}
+PATCHES=(
+ "${FILESDIR}/${P}-flags.patch"
+)
src_compile() {
- emake CC="$(tc-getCC)" DEBUG= || die "emake failed"
+ emake CC="$(tc-getCC)" DEBUG=
}
src_install() {
- dobin nasty || die "dobin nasty failed"
+ dobin nasty
dodoc readme.txt
}