diff options
-rw-r--r-- | app-crypt/scute/Manifest | 3 | ||||
-rw-r--r-- | app-crypt/scute/files/scute-1.4.0-tests.patch | 13 | ||||
-rw-r--r-- | app-crypt/scute/metadata.xml | 34 | ||||
-rw-r--r-- | app-crypt/scute/scute-9999.ebuild | 49 | ||||
-rw-r--r-- | metadata/md5-cache/app-crypt/scute-9999 | 11 |
5 files changed, 110 insertions, 0 deletions
diff --git a/app-crypt/scute/Manifest b/app-crypt/scute/Manifest new file mode 100644 index 00000000..1cd7c59e --- /dev/null +++ b/app-crypt/scute/Manifest @@ -0,0 +1,3 @@ +AUX scute-1.4.0-tests.patch 472 SHA256 82e01d265fae09d8693b78bca7dc66540e6c0b6e67b6f45b4789d2a342bd29ad WHIRLPOOL dae6bb4a8650c19007d41216239da910b81cd6cd580736dc0b88c244712ea3549ed9abca8d6728363e7fc013d759bc88657da35890afb576f6c327ccbaea735a +EBUILD scute-9999.ebuild 1232 SHA256 71d5df5065741ca90e95b8661e21b00283e3c571f0aa5dc530f3635a56031a0c WHIRLPOOL a20d850d0f9f3fda4bb69967a4d5f53dfedaad5dd0e649da22a57d4becdad600712543cfbffc2aba934cb5387edd352839e9102ff1896310cefe48c7f0fd003f +MISC metadata.xml 1217 SHA256 87f3310ed4e15aa1293474f47876d8003a8d5470197a5b8b45dc8d1bab7e4088 WHIRLPOOL 16afc15d73580a4f02af63ba1214fb5ed750c1f66cffd694a7e4021940ff71289ed8fd64e98f35df766be84fa413666edcfc54d7be5e70d2bce588000d9b8cde 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 00000000..f06591f7 --- /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 00000000..a5c9d6eb --- /dev/null +++ b/app-crypt/scute/metadata.xml @@ -0,0 +1,34 @@ +<?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="person"> + <email>flameeyes@gentoo.org</email> + <description>Proxying 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-9999.ebuild b/app-crypt/scute/scute-9999.ebuild new file mode 100644 index 00000000..0869c8e9 --- /dev/null +++ b/app-crypt/scute/scute-9999.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils libtool multilib git-r3 + +DESCRIPTION="A PKCS #11 module for OpenPGP smartcards" +HOMEPAGE="http://www.scute.org/" +EGIT_REPO_URI="git://git.gnupg.org/scute.git" + +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.14 + >=dev-libs/libassuan-2.0.0 + >=app-crypt/pinentry-0.7.0 + >=app-crypt/gnupg-2.0.17-r1[smartcard]" +RDEPEND="${DEPEND}" + +src_prepare() { + # Don't build tests during src_compile. + epatch "${FILESDIR}"/scute-1.4.0-tests.patch + + eautoreconf + elibtoolize +} + +src_configure() { + econf \ + --enable-maintainer-mode \ + --libdir=/usr/$(get_libdir)/pkcs11 \ + --with-gpgsm=/usr/bin/gpgsm \ + --with-gpg-agent=/usr/bin/gpg-agent +} + +src_install() { + emake DESTDIR="${ED}" install + find "${ED}" -name '*.la' -delete + dodoc AUTHORS ChangeLog NEWS README TODO +} diff --git a/metadata/md5-cache/app-crypt/scute-9999 b/metadata/md5-cache/app-crypt/scute-9999 new file mode 100644 index 00000000..fed0c9d8 --- /dev/null +++ b/metadata/md5-cache/app-crypt/scute-9999 @@ -0,0 +1,11 @@ +DEFINED_PHASES=configure install prepare unpack +DEPEND=>=dev-libs/libgpg-error-1.14 >=dev-libs/libassuan-2.0.0 >=app-crypt/pinentry-0.7.0 >=app-crypt/gnupg-2.0.17-r1[smartcard] !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 >=dev-vcs/git-1.8.2.1 +DESCRIPTION=A PKCS #11 module for OpenPGP smartcards +EAPI=5 +HOMEPAGE=http://www.scute.org/ +KEYWORDS=~amd64 +LICENSE=GPL-2 +RDEPEND=>=dev-libs/libgpg-error-1.14 >=dev-libs/libassuan-2.0.0 >=app-crypt/pinentry-0.7.0 >=app-crypt/gnupg-2.0.17-r1[smartcard] +SLOT=0 +_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 792f83d5ec9536cb5ccef375469d8bde git-r3 00f60a84fc7b499c99edfe99caea9f95 libtool 4890219c51da247200223277f993e054 multilib d062ae4ba2fc40a19c11de2ad89b6616 toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1 +_md5_=f7ce01cfbe3761611a62115f55d394b3 |