From: "Alon Bar-Lev" <alonbl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/pkcrack/
Date: Sat, 4 Feb 2017 01:31:40 +0000 (UTC) [thread overview]
Message-ID: <1486171849.3e52018ea6735a6fccd8bf9ad93bb2e91713c4f2.alonbl@gentoo> (raw)
commit: 3e52018ea6735a6fccd8bf9ad93bb2e91713c4f2
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 3 23:55:30 2017 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sat Feb 4 01:30:49 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e52018e
app-crypt/pkcrack: eapi bump
Package-Manager: portage-2.3.3
app-crypt/pkcrack/pkcrack-1.2.2-r1.ebuild | 39 ++++++++++++++-----------------
1 file changed, 18 insertions(+), 21 deletions(-)
diff --git a/app-crypt/pkcrack/pkcrack-1.2.2-r1.ebuild b/app-crypt/pkcrack/pkcrack-1.2.2-r1.ebuild
index ad00a69..eb593b1 100644
--- a/app-crypt/pkcrack/pkcrack-1.2.2-r1.ebuild
+++ b/app-crypt/pkcrack/pkcrack-1.2.2-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI="6"
inherit toolchain-funcs
DESCRIPTION="PkZip cipher breaker"
@@ -17,8 +17,21 @@ IUSE="test"
DEPEND="test? ( app-arch/zip[crypt] )"
RDEPEND="!<app-text/html-xml-utils-5.3"
+DOCS=(
+ ../doc/KNOWN_BUGS
+ ../doc/appnote.iz.txt
+ ../doc/README.W32
+ ../doc/pkzip.ps.gz
+ ../doc/CHANGES
+ ../doc/LIESMICH
+ ../doc/README.html
+ ../doc/README
+)
+
+S="${WORKDIR}/${P}/src"
+
src_prepare() {
- cd "${S}/src"
+ default
sed -i -e "s/^CC=.*/CC=$(tc-getCC)/" \
-e "/^CFLAGS=.*/d" \
-e "s/CFLAGS/LDFLAGS/" \
@@ -26,34 +39,18 @@ src_prepare() {
sed -i -e "s:void main:int main:" *.c
}
-src_compile() {
- cd "${S}/src"
- emake
-}
-
src_test() {
- cd "${S}/test"
+ cd "${S}/../test"
make CC="$(tc-getCC)" all
}
src_install() {
- cd "${S}/src"
+ einstalldocs
dobin pkcrack zipdecrypt findkey makekey
newbin extract "$PN-extract"
- dodoc "${S}/doc/"*
}
pkg_postinst() {
- elog "Author DEMANDS :-) a postcard be sent to:"
- elog
- elog " Peter Conrad"
- elog " Am Heckenberg 1"
- elog " 56727 Mayen"
- elog " Germany"
- elog
- elog "See: http://www.unix-ag.uni-kl.de/~conrad/krypto/pkcrack/pkcrack-readme.html"
-
- ewarn
ewarn "Due to file collision, extract utility was renamed to $PN-extract,"
ewarn "see bug#247394"
}
next reply other threads:[~2017-02-04 1:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-04 1:31 Alon Bar-Lev [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-01 21:14 [gentoo-commits] repo/gentoo:master commit in: app-crypt/pkcrack/ Petr Vaněk
2024-03-16 9:26 Joonas Niilola
2021-04-29 1:52 Sam James
2018-04-10 19:24 Alon Bar-Lev
2016-06-12 13:41 Alon Bar-Lev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1486171849.3e52018ea6735a6fccd8bf9ad93bb2e91713c4f2.alonbl@gentoo \
--to=alonbl@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox