app-crypt/bcwipe: eapi bump
authorAlon Bar-Lev <alonbl@gentoo.org>
Sat, 4 Feb 2017 00:17:25 +0000 (02:17 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sat, 4 Feb 2017 01:30:51 +0000 (03:30 +0200)
Package-Manager: portage-2.3.3

app-crypt/bcwipe/bcwipe-1.9.13.ebuild
app-crypt/bcwipe/files/bcwipe-1.9.7-fix_warnings.patch
app-crypt/bcwipe/files/bcwipe-1.9.8-fix-flags.patch

index fb4be6d4c74e4e3ab78220a12774418525f15e12..fc56e2c790bca90aada91aec721f9f4ecab0b026 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="5"
+EAPI="6"
 
 inherit eutils versionator
 
@@ -21,12 +21,12 @@ KEYWORDS="~amd64 ~arm ~ppc ~x86"
 DEPEND=""
 RDEPEND=""
 
-S="${WORKDIR}/${PN}-${MY_PV}"
+PATCHES=(
+       "${FILESDIR}/${PN}-1.9.7-fix_warnings.patch"
+       "${FILESDIR}/${PN}-1.9.8-fix-flags.patch"
+)
 
-src_prepare() {
-       epatch "${FILESDIR}"/${PN}-1.9.7-fix_warnings.patch \
-                       "${FILESDIR}"/${PN}-1.9.8-fix-flags.patch
-}
+S="${WORKDIR}/${PN}-${MY_PV}"
 
 src_test() {
        echo "abc123" >> testfile
@@ -37,13 +37,11 @@ src_test() {
 src_install() {
        default
 
-       if use doc ; then
-               dohtml -r ../bcwipe-help
-       fi
+       use doc && dodoc -r ../bcwipe-help
 }
 
 pkg_postinst() {
        ewarn "The BestCrypt drivers are not free - Please purchace a license from "
        ewarn "http://www.jetico.com/"
-       ewarn "full details /usr/share/doc/${PF}/html/bcwipe-help/wu_licen.htm"
+       ewarn "full details /usr/share/doc/${PF}/bcwipe-help/wu_licen.htm"
 }
index f24a6acdb6008abafe208523ff6b71908637a070..e2b9eed3b3eb2ecdfa582a04fa588193691ede5a 100644 (file)
@@ -1,5 +1,5 @@
---- schemes.c
-+++ schemes.c
+--- a/schemes.c
++++ b/schemes.c
 @@ -15,6 +15,7 @@
   *
   *******************************************************************/
@@ -8,8 +8,8 @@
  #include <stdlib.h>
  #include <stdio.h>
  #include <errno.h>
---- wipe.c
-+++ wipe.c
+--- a/wipe.c
++++ b/wipe.c
 @@ -42,6 +42,7 @@
  #include <sys/ioctl.h>
  #include <signal.h>
index ac91518e02705d6d6e4a7d060b2f3777b6df8c13..e4c5cff39ed1419370fecbd8f46b42fb59b8d3f2 100644 (file)
@@ -1,5 +1,5 @@
---- Makefile.in        2011-02-23 01:07:29.841894634 +0100
-+++ Makefile.in        2011-02-23 01:07:46.626793943 +0100
+--- a/Makefile.in      2011-02-23 01:07:29.841894634 +0100
++++ b/Makefile.in      2011-02-23 01:07:46.626793943 +0100
 @@ -174,7 +174,7 @@
  bcwipe_SOURCES = wipe.c wipe.h options.c options.h schemes.c schemes.h sha1.c sha1.h sha1random.c sha1random.h log.c log.h standard.h rand.h rand.c prng.c
  man_MANS = bcwipe.1