diff options
-rw-r--r-- | app-misc/crunch/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/crunch/Manifest | 19 | ||||
-rw-r--r-- | app-misc/crunch/crunch-3.4.ebuild | 28 | ||||
-rw-r--r-- | app-misc/crunch/files/crunch-3.4-gentoo.patch | 34 | ||||
-rw-r--r-- | app-misc/crunch/metadata.xml | 11 |
5 files changed, 102 insertions, 0 deletions
diff --git a/app-misc/crunch/ChangeLog b/app-misc/crunch/ChangeLog new file mode 100644 index 000000000000..c9e635491fe8 --- /dev/null +++ b/app-misc/crunch/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-misc/crunch +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/crunch/ChangeLog,v 1.1 2013/11/24 12:39:18 pinkbyte Exp $ + +*crunch-3.4 (24 Nov 2013) + + 24 Nov 2013; Sergey Popov <pinkbyte@gentoo.org> +crunch-3.4.ebuild, + +files/crunch-3.4-gentoo.patch, +metadata.xml: + Initial commit, wrt bug #458122 + diff --git a/app-misc/crunch/Manifest b/app-misc/crunch/Manifest new file mode 100644 index 000000000000..8685b9c3923f --- /dev/null +++ b/app-misc/crunch/Manifest @@ -0,0 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX crunch-3.4-gentoo.patch 1099 SHA256 27e6bad7e634e15207f37e88bc92a2b053d4193e61a9406d4bcc32d1e6440217 SHA512 4cf090778c339bf5bfb4f7b1683ee10f9ac50e890d33a98537ccadf1c9769fcff1d63b8591bdcae50f25001a11b5001a5f0ac39cd81aad0699cfdd0be428256d WHIRLPOOL b504a304ee35fc326c5212b1b30d1fe41d59c79db2c3a192addac41e76c130d78e7d44a26f80ef12fd287796085f623150a2d8b629e0e9130a3988332cbe1814 +DIST crunch-3.4.tgz 38388 SHA256 cd3b46409a1d8a3adeac68b1b618b2773c7dd4085d61e37f9d02a2060f261922 SHA512 b433c4cb0eb42ce4e76bb8c77d26f3738bd73f925d69c1e4220ac186daf6b8afe20665dfb87e0e869b0a3bb91fb76f1b341a438cd219afa0629ca961c13a71a8 WHIRLPOOL b089c2306f7a4fbf5412f7667bdb521b24748f4786c2b80ae0dea78efb3e1144b53507a66a242842b73499e01ced3f7ff867b562eed6a20ee1bced2731e9d39d +EBUILD crunch-3.4.ebuild 665 SHA256 d6da5bb5cdbfc66bb0e60f2d93f304ff5993ab575f3bc62f8fc03de172749a8e SHA512 6b901da3014a4ae32b9078d6c6b015ade44fb79bbd3452ccf7c9c5578f50a4cb98e72f57f71b8dd6008a5063cc4a25dd22feb8fdf9318d5d625253229db67397 WHIRLPOOL 507383f9bbcc66ad6977d7aad6fd990aecdbd86829c66e95a4cfde03539f6e1f2f33eeb1f60aa98f35229b5f39a7be29201dc9911ee7b09f2b7bc52389111b7c +MISC ChangeLog 386 SHA256 514123f7d634726c6d209acff5926082a6a0b365cdc7fc822eab395e75a0105c SHA512 54b2d6ef7a389b2c2149671441fcfcc201e7c1045fd4fb7998d0e1299114c237071f37f332e58d861033175dc1690ff70adac01b18606f58b7595a3193a997e1 WHIRLPOOL d988f065e64f9b21c18cc650e7e9114754c4e9dc5620196ba0d67c17685ed1939a383d118636d849772bb12c1dc5108f6cb00ac8ed1ec8ac70ab3ad9f6627b90 +MISC metadata.xml 318 SHA256 ef9214f9c1b51993ba0eb731aebee3e2692aab0a5b01d690c14bfaf4294a7fc5 SHA512 d5d7ca899ae790ccf8665d94242a23d6514ad09c9b8f9d83296293baf76a0952f6659fea89363404f0f88005c602de593af7ab29fd301ad5d06d4dc1cc8d4c04 WHIRLPOOL cb96525e79f1ca6c641c3e2d4b35b62257ff4f0ed87a663f0b452585b49e2a22e0c6a509c505f4ca40362f1ddac960c541f5a78f9273b874ba034449726ace6e +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iQEcBAEBCAAGBQJSkfN3AAoJECo/aRed9267JPoH/0P/g8CzCLGXApKXbNzL/q6M +fGVdi5NE5+MmM807VijTNHOtbyFc/ieWT1C7HUbER6vzEOMu0fcmnFPMWxqlxpq9 +ORJn+t1LrC+HhhxuxiNKL+uGXE64DgzuHeX5fEYTFknnTu93Zcp4LpKcByni6XWB +QtmtjvmKfJu72At/1TKnRfr5HyQvl4mKWUXRG7By1InfxnP2k3fiVINeSLzfCwVX +z5y9fAexV2GYhUumaU38Da7OW7+3AfXwzDzyYeBYo6DiS+ZpeRbtrP1UFBNAhoav +9ZNJ2LrJL5j19QSIMyQ2Ak8mHf4+EvQnS7fab0f5QwigQBPB1gyI1xPkgV1sBGk= +=OaNy +-----END PGP SIGNATURE----- diff --git a/app-misc/crunch/crunch-3.4.ebuild b/app-misc/crunch/crunch-3.4.ebuild new file mode 100644 index 000000000000..a6de4866009c --- /dev/null +++ b/app-misc/crunch/crunch-3.4.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/crunch/crunch-3.4.ebuild,v 1.1 2013/11/24 12:39:18 pinkbyte Exp $ + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="A wordlist generator" +HOMEPAGE="http://sourceforge.net/projects/crunch-wordlist/" +SRC_URI="mirror://sourceforge/crunch-wordlist/crunch-wordlist/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~mips ~x86" + +src_prepare() { + tc-export CC + epatch "${FILESDIR}/${P}-gentoo.patch" + epatch_user +} + +src_install(){ + dobin crunch + doman crunch.1 + insinto /usr/share/crunch + doins charset.lst +} diff --git a/app-misc/crunch/files/crunch-3.4-gentoo.patch b/app-misc/crunch/files/crunch-3.4-gentoo.patch new file mode 100644 index 000000000000..acdc757ef61d --- /dev/null +++ b/app-misc/crunch/files/crunch-3.4-gentoo.patch @@ -0,0 +1,34 @@ +--- Makefile.orig 2013-11-21 11:53:21.835712927 +0400 ++++ Makefile 2013-11-21 11:53:42.557713372 +0400 +@@ -16,19 +16,19 @@ + # General variables
+ PACKAGE = crunch
+ VERSION = 3.4
+-PREFIX = /usr
++PREFIX ?= /usr
+ DISTDIR = $(PACKAGE)-$(VERSION)
+ DISTFILES = crunch.c crunch.1 charset.lst
+ BINDIR = $(PREFIX)/bin
+ BTBINDIR = /pentest/passwords/$(PACKAGE)
+ MANDIR = $(PREFIX)/share/man/man1
+ INSTALL = $(shell which install)
+-CC = $(shell which gcc)
++CC ?= $(shell which gcc)
+ LIBFLAGS = -lm
+ THREADFLAGS = -pthread
+ OPTFLAGS = -g -o0
+ LINTFLAGS = -Wall -pedantic
+-CFLAGS = $(THREADFLAGS) $(LINTFLAGS) -std=c99
++CFLAGS += $(THREADFLAGS) $(LINTFLAGS) -std=c99
+ VCFLAGS = $(THREADFLAGS) $(LINTFLAGS) -std=c99 $(OPTFLAGS)
+ LFS = $(shell getconf POSIX_V6_ILP32_OFFBIG_CFLAGS)
+ INSTALL_OPTIONS = -o root -g root
+@@ -46,7 +46,7 @@ +
+ crunch: crunch.c
+ @echo "Building binary..."
+- $(CC) $(CFLAGS) $(LFS) $? $(LIBFLAGS) -o $@
++ $(CC) $(CFLAGS) $(LDFLAGS) $(LFS) $? $(LIBFLAGS) -o $@
+ @echo ""
+
+ # Clean target
diff --git a/app-misc/crunch/metadata.xml b/app-misc/crunch/metadata.xml new file mode 100644 index 000000000000..92eb07b23869 --- /dev/null +++ b/app-misc/crunch/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>pinkbyte@gentoo.org</email> + <name>Sergey Popov</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">crunch-wordlist</remote-id> + </upstream> +</pkgmetadata> |