summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-crypt/pkcrack
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-crypt/pkcrack')
-rw-r--r--app-crypt/pkcrack/Manifest1
-rw-r--r--app-crypt/pkcrack/metadata.xml8
-rw-r--r--app-crypt/pkcrack/pkcrack-1.2.2-r1.ebuild59
-rw-r--r--app-crypt/pkcrack/pkcrack-1.2.2.ebuild54
4 files changed, 122 insertions, 0 deletions
diff --git a/app-crypt/pkcrack/Manifest b/app-crypt/pkcrack/Manifest
new file mode 100644
index 000000000000..66426e85d482
--- /dev/null
+++ b/app-crypt/pkcrack/Manifest
@@ -0,0 +1 @@
+DIST pkcrack-1.2.2.tar.gz 174208 SHA256 4d2dc193ffa4342ac2ed3a6311fdf770ae6a0771226b3ef453dca8d03e43895a SHA512 5c64fb9ae09dedc70fb20cd689f432059fcd64f689072b529b4045c3241760fee273ee921da081bc08be2e0594d27101c5d89d99cb2b84e16f80c011419b7200 WHIRLPOOL 40ba854bdb81e3c04b91fa2b9c05a7b6a500a7a697c4384852b1fd5c153a4834ffabe942a249db52cdd32bd39989c97ecb206a866a3b577b7eb9f540cbfd59aa
diff --git a/app-crypt/pkcrack/metadata.xml b/app-crypt/pkcrack/metadata.xml
new file mode 100644
index 000000000000..18d7c93b8f4e
--- /dev/null
+++ b/app-crypt/pkcrack/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>crypto</herd>
+<longdescription>
+pkcrack is a password cracking program for zip files. It works using a plain text cipher attack.
+</longdescription>
+</pkgmetadata>
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..ad00a6942af4
--- /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
+# $Id$
+
+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"
+}
diff --git a/app-crypt/pkcrack/pkcrack-1.2.2.ebuild b/app-crypt/pkcrack/pkcrack-1.2.2.ebuild
new file mode 100644
index 000000000000..b5923cbf328a
--- /dev/null
+++ b/app-crypt/pkcrack/pkcrack-1.2.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 extract makekey
+ 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"
+}