diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2012-12-22 00:55:28 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2012-12-22 00:55:28 +0000 |
commit | 115a232c2da816d8e5906eb7be24a8ab8df89574 (patch) | |
tree | 9976fbbe5d0052ba7dde86e9c5fa8d92eb309bd1 /app-crypt | |
parent | Version bump, drop old (diff) | |
download | gentoo-2-115a232c2da816d8e5906eb7be24a8ab8df89574.tar.gz gentoo-2-115a232c2da816d8e5906eb7be24a8ab8df89574.tar.bz2 gentoo-2-115a232c2da816d8e5906eb7be24a8ab8df89574.zip |
Rename extract utility, per bug#247394
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/pkcrack/ChangeLog | 8 | ||||
-rw-r--r-- | app-crypt/pkcrack/pkcrack-1.2.2-r1.ebuild | 59 |
2 files changed, 65 insertions, 2 deletions
diff --git a/app-crypt/pkcrack/ChangeLog b/app-crypt/pkcrack/ChangeLog index aa05c07f3bde..cac59b22b188 100644 --- a/app-crypt/pkcrack/ChangeLog +++ b/app-crypt/pkcrack/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-crypt/pkcrack # 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 $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/pkcrack/ChangeLog,v 1.9 2012/12/22 00:55:28 alonbl Exp $ + +*pkcrack-1.2.2-r1 (22 Dec 2012) + + 22 Dec 2012; Alon Bar-Lev <alonbl@gentoo.org> +pkcrack-1.2.2-r1.ebuild: + Rename extract utility, per bug#247394 25 Jan 2012; Dane Smith <c1pher@gentoo.org> pkcrack-1.2.2.ebuild: EAPI bump. @@ -31,4 +36,3 @@ 15 Jul 2005; Daniel Black <dragonheart@gentoo.org> +metadata.xml, +pkcrack-1.2.2.ebuild: initial import - diff --git a/app-crypt/pkcrack/pkcrack-1.2.2-r1.ebuild b/app-crypt/pkcrack/pkcrack-1.2.2-r1.ebuild new file mode 100644 index 000000000000..3b5702355df4 --- /dev/null +++ b/app-crypt/pkcrack/pkcrack-1.2.2-r1.ebuild @@ -0,0 +1,59 @@ +# 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-r1.ebuild,v 1.1 2012/12/22 00:55:28 alonbl 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[crypt] )" +RDEPEND="!<app-text/html-xml-utils-5.3" + +src_prepare() { + cd "${S}/src" + sed -i -e "s/^CC=.*/CC=$(tc-getCC)/" \ + -e "/^CFLAGS=.*/d" \ + -e "s/CFLAGS/LDFLAGS/" \ + Makefile + sed -i -e "s:void main:int main:" *.c +} + +src_compile() { + cd "${S}/src" + emake +} + +src_test() { + cd "${S}/test" + make CC="$(tc-getCC)" all +} + +src_install() { + cd "${S}/src" + 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" +} |