diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-crypt/nasty |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-crypt/nasty')
-rw-r--r-- | app-crypt/nasty/Manifest | 6 | ||||
-rw-r--r-- | app-crypt/nasty/files/nasty-0.6-flags.patch | 22 | ||||
-rw-r--r-- | app-crypt/nasty/metadata.xml | 8 | ||||
-rw-r--r-- | app-crypt/nasty/nasty-0.6-r1.ebuild | 33 |
4 files changed, 69 insertions, 0 deletions
diff --git a/app-crypt/nasty/Manifest b/app-crypt/nasty/Manifest new file mode 100644 index 000000000000..8925ab991b2b --- /dev/null +++ b/app-crypt/nasty/Manifest @@ -0,0 +1,6 @@ +AUX nasty-0.6-flags.patch 468 SHA256 eb36ebe8d6203642e2b7330efde9afc1088bb718a1098a8a98d8df23e8f40cf3 SHA512 56d808209a9ba1fd1fa3b77ed90398cded9adb08c271ed74c80c5dff793413f1e7270ab057bd253c8c1e951dec7e7b8ad6c92976abb7c267109f517ccb81d4a1 WHIRLPOOL 68046281c5be87a01a110d866bf01c1e6f3be688a0db039185334d8042afb566c236597aab4308061965b328a2a46b9d7f3b8f65aa404d2e55619675eabb67fc +DIST nasty-0.6.tgz 3811 SHA256 7607256d4672f1c52f2603d7b9691e7250bfe3a9b4f219fcbb61227172a7f6b7 SHA512 6803c1ccb843934ab6d2bd173c4cf154124926ee493a79072b351167f7fbbc08f90226ba63d2c591f2ae122d33d7cf1dc6b60e8684dc7ec650c8bcf3f04b3e07 WHIRLPOOL 77f03804ae4f3f8ea91f86cd70da2f63adc105cc50a985a667ec063066205fc388acb33a1464fc748901983ed6fd523b235c572906ff1fd7b7b43b7046e22bb9 +EBUILD nasty-0.6-r1.ebuild 563 SHA256 43afb4679001be46e613fb175dfafad33d15cfcaba59e69d004df73d1e7e01c5 SHA512 a71d286a93f11ae9fda832d5f475cfa7b6dcd74575517dcc7783106a4b1e62e635be70106e1a4e64e2df59880cdda36db79ea21a770768f1dfef16ba527978ea WHIRLPOOL 39c1401a0bfb0bbaaecfc023fa68ec79e95ece168d1383e69a26a5170ca8cc4c71277ae8a4fa181dee0e6f60ec7126b8c5fd3c39793dce7c2094b90a3d9ddeef +MISC ChangeLog 2454 SHA256 6b8095c9c9a7f9000f073fcbf7cee6bbf6c7516a90f9eb395329dba0ec3fb6c5 SHA512 f4b3e1282fcb94ab732732c82d866531fd8df20de241dd252af8e6a660c50ff1368813e8453c923fb54a68b43f67dcc3bbcc340c44e31da0f6e809c323b4ecf8 WHIRLPOOL 7e05fbb8af1598ddc7b8e1d06c221779f1b682b57efed5dc217ce59f09ab79b79f28909d7e35727064b242e42eac5a39b5e1d8b3d2202d10856ffcce31c84171 +MISC ChangeLog-2015 1248 SHA256 e410854a02a2349ede889514824c306abbcc2fb8d782b219b246d9fd3dda2a33 SHA512 1eb878aa2dc23ec8686f141ee39fe5b9ac83e872349356bba7746f8be55d238b4c47be358a1aeb33c34a44deb5004c55bb399e178c229bc89bfe48c78b69beea WHIRLPOOL fef38da97189ba35bf64c67851f361faf517b067ab2a5f4eecf41a8497750e05810edf6e97d257379f9e7e9eb9042705460752cd87cffcd6e78b2ad75cd5cb8e +MISC metadata.xml 246 SHA256 97a4242ddb39ec753b766e7bd7b94f9486e997be8bdcf8b86b24e2ed72417f19 SHA512 8ac20e3524a896e77d186b34b589ffe4287593c43fca1d50bcc06cd27e8cb8f5c0da2087622413a748a1738177d5939a50bda7a1e5d0ba36fbf4fb6d7b9bb015 WHIRLPOOL 1c881073f2000444080ab705b5ea51ddb4e3f62c4e952a69415e259d9fd367192e9687023e96233b3d3686528a4f8b63dd99000d11486e7a80922c93f0b1d7be diff --git a/app-crypt/nasty/files/nasty-0.6-flags.patch b/app-crypt/nasty/files/nasty-0.6-flags.patch new file mode 100644 index 000000000000..522e570a94a8 --- /dev/null +++ b/app-crypt/nasty/files/nasty-0.6-flags.patch @@ -0,0 +1,22 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,15 +1,16 @@ + VERSION=0.6 + + DEBUG=-g # -pg +-CFLAGS+=-Wall -O2 -DVERSION=\"${VERSION}\" $(DEBUG) +-LDFLAGS=-lgpgme $(DEBUG) ++CPPFLAGS+=-DVERSION=\"${VERSION}\" -D_FILE_OFFSET_BITS=64 ++CFLAGS+=-Wall $(DEBUG) `gpgme-config --cflags` ++LIBS=`gpgme-config --libs` + + OBJS=nasty.o + + all: nasty + + nasty: $(OBJS) +- $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o nasty ++ $(CC) $(LDFLAGS) $(OBJS) -o nasty $(LIBS) + + install: nasty + cp nasty /usr/bin diff --git a/app-crypt/nasty/metadata.xml b/app-crypt/nasty/metadata.xml new file mode 100644 index 000000000000..4f6e28828f65 --- /dev/null +++ b/app-crypt/nasty/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>crypto@gentoo.org</email> + <name>Crypto</name> + </maintainer> +</pkgmetadata> diff --git a/app-crypt/nasty/nasty-0.6-r1.ebuild b/app-crypt/nasty/nasty-0.6-r1.ebuild new file mode 100644 index 000000000000..8cfa34f4d007 --- /dev/null +++ b/app-crypt/nasty/nasty-0.6-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit toolchain-funcs + +DESCRIPTION="Proof-of-concept GPG passphrase recovery tool" +HOMEPAGE="http://www.vanheusden.com/nasty/" +SRC_URI="http://www.vanheusden.com/nasty/${P}.tgz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RDEPEND="app-crypt/gpgme" +DEPEND="${RDEPEND}" + +DOCS=( + readme.txt +) + +PATCHES=( + "${FILESDIR}/${P}-flags.patch" +) + +src_compile() { + emake CC="$(tc-getCC)" DEBUG= +} + +src_install() { + einstalldocs + dobin nasty +} |