summaryrefslogtreecommitdiff
path: root/app-crypt/gpgstats
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/gpgstats')
-rw-r--r--app-crypt/gpgstats/Manifest6
-rw-r--r--app-crypt/gpgstats/files/gpgstats-0.5-flags.patch25
-rw-r--r--app-crypt/gpgstats/gpgstats-0.5-r1.ebuild29
-rw-r--r--app-crypt/gpgstats/metadata.xml11
4 files changed, 71 insertions, 0 deletions
diff --git a/app-crypt/gpgstats/Manifest b/app-crypt/gpgstats/Manifest
new file mode 100644
index 000000000000..7b11934a54b8
--- /dev/null
+++ b/app-crypt/gpgstats/Manifest
@@ -0,0 +1,6 @@
+AUX gpgstats-0.5-flags.patch 668 SHA256 d840597717c14959ea6a30e53ce08758838c36673b1e519fdcf4efa472973cbc SHA512 8f54993f957d8d93da495530dea25734f9e5fedc1d5dc17aa4b517daabc88f8162ab2565159a51daa203ef2b039e80122e009bd23dab862be87ad5a75e072546 WHIRLPOOL 16173559238a05bf0f2ba42a3ee940d571847a370987e785bcf123683689dec54c4e7288073f096a7b798c2a3dcc7145ab24f30f0b4b512754dc747e61a04cb4
+DIST gpgstats-0.5.tgz 6691 SHA256 beb3c5037b27e1edf10c47ceefaebb39c7f75b42b376a03ba3d43d2e219676d8 SHA512 273f08af37089eb43cee65fa06ff8023e1951fa4649bf208e01d6bc453e4131c11128b511c6cbd8396a7bd93722904e8930168656994e3d4d055024c3d5fb649 WHIRLPOOL be8d7a3d905ecf18a52e528d9c450c95900d1175b62ea2c6c708829f6fe230b1f67e75160049a3419c6c8933e14dfd3b33372d8913b9fa71a3f9150e7db4a63b
+EBUILD gpgstats-0.5-r1.ebuild 583 SHA256 a24758c39284aff7d2b583e2d49f8c282190510f27a58398239d18f7d3d1afe4 SHA512 810bee4395d77df0d3cc70fce767a4c04e42c57eeaf0cf9e47e404dd861798cb9e1b5f0e04bff281b9c516f96846f8c063416386a8aaa28613b19b9647ed17e0 WHIRLPOOL a4440e8cf4001fb81b92b55f7673fb3bc579816dc644d9af1061639cc9c71ee4fba9b29cd677deeb02c24c08f86ce372bab9e5ebee53e6f4f9bb395a719055a3
+MISC ChangeLog 2466 SHA256 544d63d822af1b4d6a0f89cea5dd7ade51e18d019f149c236b7ec8a9fb02d588 SHA512 2b51ec67e6aae0ffdaa8ec7a503f9dfce0bada4bdbbd65d4c68d0b4da2af9370708324230e2d62b8552e660496570bdbbbaeba5ba824925a7b268630296a7ffa WHIRLPOOL 21afaa74e06b67c23941c0dc1a4e6b7c026819c1ee561e103b32fb4ff9620da93b209b34c2fb15adf4bbff918c49c6204ac9421b890f458ef8854acc6fb1b734
+MISC ChangeLog-2015 1215 SHA256 495c48c95b5417e1ef7596a43927d39a887126792eacd44c77b4867409c2e48f SHA512 eb7fc81729f3fa22d79952e864abb72d4784acf6b4eb05c275a726b0160062d88da5b219efa4dbdf481d66a79a21af24cebc4cc86b4dd6e31a7f5ceda3484241 WHIRLPOOL d420a89202610e74988ba5c7f58713d22ed7009105cab36938bd7bdc14d21d228359f523c90f846d5d2ed20cee7fcd1ad13bbb0d7420065b288decb140b3d1d7
+MISC metadata.xml 315 SHA256 3a46cb25a0895c22304f0c5cda9fe8ec0e64107180db41da6864dd7403a509f2 SHA512 2b356b01e98ef77d3f356dbc758f08c0ea5438a0df80b2b2dc16c90cec34c437ec51b6f3b7f81ea321d9e42ac4016e7c9e83417e476c0ecb1b3741f709a469be WHIRLPOOL 24914ee9f38d640d05cec00a7208b835af06e13698c61b9e2f35e20cda2f686663f87c7cc1629e5bec0053a61a13bb2e4406a3a7c9a473999f888beb557f1a83
diff --git a/app-crypt/gpgstats/files/gpgstats-0.5-flags.patch b/app-crypt/gpgstats/files/gpgstats-0.5-flags.patch
new file mode 100644
index 000000000000..9a058ec48dbc
--- /dev/null
+++ b/app-crypt/gpgstats/files/gpgstats-0.5-flags.patch
@@ -0,0 +1,25 @@
+--- a/Makefile
++++ b/Makefile
+@@ -1,16 +1,18 @@
+ VERSION=0.5
+
+ DEBUG=-g # -fprofile-arcs -ftest-coverage # -pg -g
+-CXXFLAGS+=-Wall -O2 -DVERSION=\"${VERSION}\" $(DEBUG) `gpgme-config --cflags`
+-CFLAGS+=${CXXFLAGS}
+-LDFLAGS=-lstdc++ `gpgme-config --libs` $(DEBUG)
++CPPFLAGS+=-DVERSION=\"${VERSION}\" -D_FILE_OFFSET_BITS=64
++FLAGS+=-Wall $(DEBUG) `gpgme-config --cflags`
++CFLAGS+=${FLAGS}
++CXXFLAGS+=${FLAGS}
++LIBS=`gpgme-config --libs`
+
+ OBJS=error.o utils.o array.o iarray.o s.o
+
+ all: gpgstats
+
+ gpgstats: $(OBJS)
+- $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o gpgstats
++ $(CXX) $(LDFLAGS) -Wall -W $(OBJS) -o gpgstats $(LIBS)
+
+ install: gpgstats
+ cp gpgstats /usr/bin
diff --git a/app-crypt/gpgstats/gpgstats-0.5-r1.ebuild b/app-crypt/gpgstats/gpgstats-0.5-r1.ebuild
new file mode 100644
index 000000000000..3c528ef3e7a2
--- /dev/null
+++ b/app-crypt/gpgstats/gpgstats-0.5-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit toolchain-funcs
+
+DESCRIPTION="GPGstats calculates statistics on the keys in your key-ring"
+HOMEPAGE="http://www.vanheusden.com/gpgstats/"
+SRC_URI="http://www.vanheusden.com/gpgstats/${P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RDEPEND="app-crypt/gpgme"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-flags.patch"
+)
+
+src_compile() {
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" DEBUG=
+}
+
+src_install() {
+ einstalldocs
+ dobin gpgstats
+}
diff --git a/app-crypt/gpgstats/metadata.xml b/app-crypt/gpgstats/metadata.xml
new file mode 100644
index 000000000000..0106d597ab3c
--- /dev/null
+++ b/app-crypt/gpgstats/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 type="person">
+ <email>robbat2@gentoo.org</email>
+</maintainer>
+<maintainer type="project">
+ <email>crypto@gentoo.org</email>
+ <name>Crypto</name>
+</maintainer>
+</pkgmetadata>