summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <c1pher@gentoo.org>2012-01-25 22:23:06 +0000
committerDane Smith <c1pher@gentoo.org>2012-01-25 22:23:06 +0000
commit3fab223ccf4ba4ba0477c9e381fe48b5ae615443 (patch)
tree40a8affdfc6cfbc7b3d0e63a07847e6abc2f9ef5 /app-crypt/pkcrack
parentInitial import of stringex (needed for radiant rc4 and later). (diff)
downloadgentoo-2-3fab223ccf4ba4ba0477c9e381fe48b5ae615443.tar.gz
gentoo-2-3fab223ccf4ba4ba0477c9e381fe48b5ae615443.tar.bz2
gentoo-2-3fab223ccf4ba4ba0477c9e381fe48b5ae615443.zip
app-crypt/pkcrack: EAPI bump. Fix dependency on app-arch/zip to be app-arch/zip[crypt] wrt bug 379307.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt/pkcrack')
-rw-r--r--app-crypt/pkcrack/ChangeLog9
-rw-r--r--app-crypt/pkcrack/pkcrack-1.2.2.ebuild23
2 files changed, 19 insertions, 13 deletions
diff --git a/app-crypt/pkcrack/ChangeLog b/app-crypt/pkcrack/ChangeLog
index f9420ac04c1e..aa05c07f3bde 100644
--- a/app-crypt/pkcrack/ChangeLog
+++ b/app-crypt/pkcrack/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-crypt/pkcrack
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/pkcrack/ChangeLog,v 1.7 2009/03/22 15:58:07 arfrever Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pkcrack/ChangeLog,v 1.8 2012/01/25 22:23:06 c1pher Exp $
+
+ 25 Jan 2012; Dane Smith <c1pher@gentoo.org> pkcrack-1.2.2.ebuild:
+ EAPI bump.
+ Fix depend on app-arch/zip to depend on app-arch/zip[crypt] wrt bug 379307.
+ Drop useless epause.
22 Mar 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
pkcrack-1.2.2.ebuild:
diff --git a/app-crypt/pkcrack/pkcrack-1.2.2.ebuild b/app-crypt/pkcrack/pkcrack-1.2.2.ebuild
index f7bd3ae52571..faecf3b62966 100644
--- a/app-crypt/pkcrack/pkcrack-1.2.2.ebuild
+++ b/app-crypt/pkcrack/pkcrack-1.2.2.ebuild
@@ -1,42 +1,44 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/pkcrack/pkcrack-1.2.2.ebuild,v 1.7 2009/03/22 15:58:07 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pkcrack/pkcrack-1.2.2.ebuild,v 1.8 2012/01/25 22:23:06 c1pher Exp $
+EAPI="4"
inherit toolchain-funcs
DESCRIPTION="PkZip cipher breaker"
HOMEPAGE="http://www.unix-ag.uni-kl.de/~conrad/krypto/pkcrack.html"
SRC_URI="http://www.unix-ag.uni-kl.de/~conrad/krypto/pkcrack/${P}.tar.gz"
+
LICENSE="pkcrack"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="test"
-DEPEND="test? ( app-arch/zip )"
+
+DEPEND="test? ( app-arch/zip[crypt] )"
RDEPEND="!<app-text/html-xml-utils-5.3"
-src_unpack() {
- unpack ${A}
+src_prepare() {
cd "${S}/src"
sed -i -e "s/^CC=.*/CC=$(tc-getCC)/" \
-e "/^CFLAGS=.*/d" \
-e "s/CFLAGS/LDFLAGS/" \
- Makefile || die "sed Makefile failed"
- sed -i -e "s:void main:int main:" *.c || die "sed *.c failed"
+ Makefile
+ sed -i -e "s:void main:int main:" *.c
}
src_compile() {
cd "${S}/src"
- emake || die "emake failed"
+ emake
}
src_test() {
cd "${S}/test"
- make CC="$(tc-getCC)" all || die "self test failed"
+ make CC="$(tc-getCC)" all
}
src_install() {
cd "${S}/src"
- dobin pkcrack zipdecrypt findkey extract makekey || die "dobin failed"
+ dobin pkcrack zipdecrypt findkey extract makekey
dodoc "${S}/doc/"*
}
@@ -49,5 +51,4 @@ pkg_postinst() {
elog " Germany"
elog
elog "See: http://www.unix-ag.uni-kl.de/~conrad/krypto/pkcrack/pkcrack-readme.html"
- epause 5
}