summaryrefslogtreecommitdiff
path: root/app-crypt/scute
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-crypt/scute
reinit the tree, so we can have metadata
Diffstat (limited to 'app-crypt/scute')
-rw-r--r--app-crypt/scute/Manifest9
-rw-r--r--app-crypt/scute/files/scute-1.2.0-noversion.patch14
-rw-r--r--app-crypt/scute/files/scute-1.4.0-tests.patch13
-rw-r--r--app-crypt/scute/metadata.xml30
-rw-r--r--app-crypt/scute/scute-1.4.0.ebuild51
-rw-r--r--app-crypt/scute/scute-1.5.0.ebuild37
6 files changed, 154 insertions, 0 deletions
diff --git a/app-crypt/scute/Manifest b/app-crypt/scute/Manifest
new file mode 100644
index 000000000000..dbb19e1b7f08
--- /dev/null
+++ b/app-crypt/scute/Manifest
@@ -0,0 +1,9 @@
+AUX scute-1.2.0-noversion.patch 597 SHA256 3a0047c7b5fab182bb1eca460671e4209c89dd84418f1252a9ece7db9b245f3c SHA512 22c167ffe951c58bf53a7d7badc71bbb1daa6995fda60efd35f1d6f85d0be79970f062c2d467a5997a97c957df5fc57f6d5beb827b8e4c5c30edaaddd9299ebe WHIRLPOOL c51ab0a355bda1c37cf100767559120bb7de56cb61e6505a9578f7f060b5a827c5f67b6fe110dc1cb35a6c649f60bf24716d58ad9e56fc986f76173f1ce0445e
+AUX scute-1.4.0-tests.patch 472 SHA256 82e01d265fae09d8693b78bca7dc66540e6c0b6e67b6f45b4789d2a342bd29ad SHA512 8b2a161a3067bd6da284df3372aa0a0d0f92689bfc1ad136985e0b5150f6441e2458e5f5579495e64cc1e54ca1c34459358195add7fd66aaabb0a3787aeb7818 WHIRLPOOL dae6bb4a8650c19007d41216239da910b81cd6cd580736dc0b88c244712ea3549ed9abca8d6728363e7fc013d759bc88657da35890afb576f6c327ccbaea735a
+DIST scute-1.4.0.tar.bz2 772986 SHA256 bd698a853375324c4ff590899c1994be83d8d0a1400fcaf489529646965fb745 SHA512 7961679ce3195aeb3ed1508557c767b59970cd221b569c0fa00cd419e4017b84a851f1fbe46323a4ffb6256c6b91bb037f93edb4f4f7f9f6e0add672b9cc2015 WHIRLPOOL 6e4bc0852d389ac2103edb5bb0c0c260642dcc596862fec55db3ffd51a5fc6cd0752a81d864b36db4544c5b1efbf944f76672806bcaa8305ccf07bb9f817459e
+DIST scute-1.5.0.tar.bz2 991598 SHA256 6199d28d8ce17f979f67059b461ab55a2276fc390eaa45e5ce6ff615bf81ab96 SHA512 ad1dbdba5681a92696c851eca7e2bfb61f7bf84f5e02728efc1f72cd25c4ee2dc18fe975e2903d1a85c635d16be1e2085ff2305827b48d80e18c9354e555b39a WHIRLPOOL 008d0f6d306898fe64ae7c9a689178f246b3380f07f6d1e1b2f423552eff74d6133cbe71a5337ec90cacd0c91525219d1ba1d2fb20c80891b921b1de5b06fe3e
+EBUILD scute-1.4.0.ebuild 1217 SHA256 c84ef3ef44757be116cb8e6cf702d5b236303f307a82d94c3a656a1201e385a3 SHA512 428315b9f117a07e058662c286aa3a5f95a142ffc3973b43567910af6bbf8b89bc4bf211e7adc72f900bd9ce5d730c0676ae45f947be726a967b695c1c78a5fd WHIRLPOOL 4b53bac41b775f54f771d16b4c94c2801a88ac5774d9f9ad7f7af7fb930a0195403d40c6d4672425dd1141bf4619252bc581bf773bb7f79e8bcdb198d4f47bb2
+EBUILD scute-1.5.0.ebuild 919 SHA256 a3e6486b34ec7857afd1d46849a71732588cc1f5bd4326f0d92d7f625adecfff SHA512 2a3ada5f2e21995fcd4920b460c578d37421c3916193b4a499c95c51aec5984fd57579300ea5dddac299e6c740501ab26a00aa3969abdf7b4149443100c86940 WHIRLPOOL a7efcf3e560b0d4b38f84a69d16b89fb5c8acd0d131ae176da46bb0c904484debf4b450b31d2d1d2e485f989b9d190a2ec9fb4f4c33fec3d9953ec146fdaff72
+MISC ChangeLog 2612 SHA256 9b1d236052a97b7acee6bb680e1bb696427ea9ff1b6a6a5e9118b52136408b4c SHA512 0b22bacbeff0ba34586edbe2dc2f05e47a669976ac6fb8127cedb47ecfbc589bf0f8b98fe4384b55ecec629fd9306c2944579067efbfb1adfd1027863ae3be36 WHIRLPOOL 33138d71aa2b5e8ce1b0701755b3d4a575b109c17dd47a88523cbd6e66c8d9d007fcb4e052396a24d2d7e021b6544b401b29cc376dd87ac438bedbcc1cc9c394
+MISC ChangeLog-2015 807 SHA256 019f4161d0fbdb6c11b24db5c0e07a1f4e07d823b7a5e1f6b4e767cca41e7105 SHA512 1a1c95077b8dbb9adbf66037cb5fd1392f9a8b9daa62ea602680ad239d8f34eb671a1e5320808e3ca4dbdc1ea2e39e6c3196ee3a3dea45379d0cdbe41d8bedc3 WHIRLPOOL 6393a2151aebd652c448ae0f4d6609f5632d6ab8938cb400fc8fb1a908e57e5b8064bdbbae6a77612e08ebc228869bebdf81799b564507ddcea045ab37a6d092
+MISC metadata.xml 1080 SHA256 015619dd5b105724cdec28cf247603b961080fab35a094319064248c622e7d13 SHA512 067f8352727d945e9b6b748f297aa91e07e3f52573f5315346f7369829cd45fef9819288fae86f60a475cd470bf423c89d52869b503b1dc434bd2decccf1dd35 WHIRLPOOL a963b3b3add27b79014d0bdfd4b4c652f4477f0ffb5bf9dfff61a5c441913b105ebc564da498640fa98c633ccfa9810d591378b3a6fe9df5c2a95f9cba777895
diff --git a/app-crypt/scute/files/scute-1.2.0-noversion.patch b/app-crypt/scute/files/scute-1.2.0-noversion.patch
new file mode 100644
index 000000000000..41d188b5926a
--- /dev/null
+++ b/app-crypt/scute/files/scute-1.2.0-noversion.patch
@@ -0,0 +1,14 @@
+Index: scute-1.2.0/src/Makefile.am
+===================================================================
+--- scute-1.2.0.orig/src/Makefile.am
++++ scute-1.2.0/src/Makefile.am
+@@ -109,8 +109,7 @@ scute_deps =
+ endif
+
+ libscute_la_LDFLAGS = $(scute_res_ldflag) $(no_undefined) $(export_symbols) \
+- $(scute_version_script_cmd) -version-info \
+- @LIBSCUTE_LT_CURRENT@:@LIBSCUTE_LT_REVISION@:@LIBSCUTE_LT_AGE@
++ $(scute_version_script_cmd) -avoid-version
+ libscute_la_DEPENDENCIES = @LTLIBOBJS@ $(srcdir)/libscute.vers $(scute_deps)
+ libscute_la_LIBADD = @LTLIBOBJS@ @LIBASSUAN_LIBS@ @GPG_ERROR_LIBS@
+
diff --git a/app-crypt/scute/files/scute-1.4.0-tests.patch b/app-crypt/scute/files/scute-1.4.0-tests.patch
new file mode 100644
index 000000000000..f06591f77e4a
--- /dev/null
+++ b/app-crypt/scute/files/scute-1.4.0-tests.patch
@@ -0,0 +1,13 @@
+Index: scute-1.4.0/tests/Makefile.am
+===================================================================
+--- scute-1.4.0.orig/tests/Makefile.am
++++ scute-1.4.0/tests/Makefile.am
+@@ -35,7 +35,7 @@ TESTS = t-link t-getfunctionlist t-initi
+ t-opensession t-closeallsessions t-getsessioninfo \
+ t-findobjects t-getattribute t-auth
+
+-noinst_PROGRAMS = $(TESTS)
++check_PROGRAMS = $(TESTS)
+
+ INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src
+ LDADD = ../src/libscute.la
diff --git a/app-crypt/scute/metadata.xml b/app-crypt/scute/metadata.xml
new file mode 100644
index 000000000000..e64af5b8aed2
--- /dev/null
+++ b/app-crypt/scute/metadata.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lucas.yamanishi@gmail.com</email>
+ <name>Lucas Yamanishi</name>
+ <description>Proxy maintainer.</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>crypto@gentoo.org</email>
+ <name>Crypto</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ Scute is a PKCS #11 module that adds support for the OpenPGP
+ smartcard card to the Mozilla Network Security Services (NSS).
+ </longdescription>
+ <upstream>
+ <maintainer>
+ <email>mb@g10code.de</email>
+ <name>Marcus Brinkmann</name>
+ </maintainer>
+ <changelog>http://git.gnupg.org/cgi-bin/gitweb.cgi?p=scute.git;a=blob_plain;f=ChangeLog;hb=HEAD</changelog>
+ <doc lang="en">http://www.scute.org/documentation.xhtml</doc>
+ <bugs-to>https://bugs.g10code.com/gnupg/</bugs-to>
+ </upstream>
+</pkgmetadata>
diff --git a/app-crypt/scute/scute-1.4.0.ebuild b/app-crypt/scute/scute-1.4.0.ebuild
new file mode 100644
index 000000000000..3f47609ca571
--- /dev/null
+++ b/app-crypt/scute/scute-1.4.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools ltprune
+
+DESCRIPTION="A PKCS #11 module for OpenPGP smartcards"
+HOMEPAGE="http://www.scute.org/"
+SRC_URI="mirror://gnupg/scute/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+# configure script try to check the version of gpgsm and gpg-agent when
+# non-crosscompiling so we need to have them as build-time dependency as
+# well as runtime. Require a version of gnupg that is patched to have
+# gpgsm-gencert.sh working (as that's what the documentation describe).
+DEPEND="
+ >=dev-libs/libgpg-error-1.4
+ >=dev-libs/libassuan-2.0.0
+ >=app-crypt/pinentry-0.7.0
+ >=app-crypt/gnupg-2.0.17-r1[smartcard]"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ # We need no ABI versioning, reduce the number of symlinks installed
+ "${FILESDIR}/scute-1.2.0-noversion.patch"
+
+ # Don't build tests during src_compile.
+ "${FILESDIR}/scute-1.4.0-tests.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --libdir=/usr/$(get_libdir)/pkcs11 \
+ --with-gpgsm=/usr/bin/gpgsm \
+ --with-gpg-agent=/usr/bin/gpg-agent
+}
+
+src_install() {
+ default
+ prune_libtool_files --modules
+}
diff --git a/app-crypt/scute/scute-1.5.0.ebuild b/app-crypt/scute/scute-1.5.0.ebuild
new file mode 100644
index 000000000000..85adede2192a
--- /dev/null
+++ b/app-crypt/scute/scute-1.5.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit ltprune
+
+DESCRIPTION="A PKCS #11 module for OpenPGP smartcards"
+HOMEPAGE="http://www.scute.org/"
+SRC_URI="mirror://gnupg/scute/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+# configure script try to check the version of gpgsm and gpg-agent when
+# non-crosscompiling so we need to have them as build-time dependency as
+# well as runtime. Require a version of gnupg that is patched to have
+# gpgsm-gencert.sh working (as that's what the documentation describe).
+DEPEND="
+ >=dev-libs/libgpg-error-1.4
+ >=dev-libs/libassuan-2.0.0
+ >=app-crypt/pinentry-0.7.0
+ >=app-crypt/gnupg-2.0.17-r1[smartcard]"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf \
+ --libdir=/usr/$(get_libdir)/pkcs11 \
+ --with-gpgsm=/usr/bin/gpgsm
+}
+
+src_install() {
+ default
+ prune_libtool_files --modules
+}