diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-04-17 00:12:26 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-04-17 00:12:26 +0000 |
commit | 615ebf6d4eac406b03034b3f88a4fb8ae60cc0ed (patch) | |
tree | 55ec22c80d8c8131e998f15dc2f7d7d8dfbfd41e /app-crypt | |
parent | Revision bump: patch gpgsm-gencert.sh to actually work; remove openct and pcs... (diff) | |
download | historical-615ebf6d4eac406b03034b3f88a4fb8ae60cc0ed.tar.gz historical-615ebf6d4eac406b03034b3f88a4fb8ae60cc0ed.tar.bz2 historical-615ebf6d4eac406b03034b3f88a4fb8ae60cc0ed.zip |
Initial import of scute (PKCS#11 provider for OpenPGP cards); ebuild thanks to Lucas Yamanishi in bug #363801.
Package-Manager: portage-2.2.0_alpha30/cvs/Linux x86_64
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/scute/ChangeLog | 12 | ||||
-rw-r--r-- | app-crypt/scute/Manifest | 16 | ||||
-rw-r--r-- | app-crypt/scute/files/scute-1.2.0-noversion.patch | 14 | ||||
-rw-r--r-- | app-crypt/scute/files/scute-1.4.0-tests.patch | 13 | ||||
-rw-r--r-- | app-crypt/scute/metadata.xml | 27 | ||||
-rw-r--r-- | app-crypt/scute/scute-1.4.0.ebuild | 51 |
6 files changed, 133 insertions, 0 deletions
diff --git a/app-crypt/scute/ChangeLog b/app-crypt/scute/ChangeLog new file mode 100644 index 000000000000..c88bcf1c060e --- /dev/null +++ b/app-crypt/scute/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for app-crypt/scute +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/scute/ChangeLog,v 1.1 2011/04/17 00:12:26 flameeyes Exp $ + +*scute-1.4.0 (17 Apr 2011) + + 17 Apr 2011; Diego E. Pettenò <flameeyes@gentoo.org> + +files/scute-1.2.0-noversion.patch, +scute-1.4.0.ebuild, + +files/scute-1.4.0-tests.patch, +metadata.xml: + Initial import of scute (PKCS#11 provider for OpenPGP cards); ebuild thanks + to Lucas Yamanishi in bug #363801. + diff --git a/app-crypt/scute/Manifest b/app-crypt/scute/Manifest new file mode 100644 index 000000000000..49f8726e0c87 --- /dev/null +++ b/app-crypt/scute/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX scute-1.2.0-noversion.patch 597 RMD160 7f0088448cf38b5442930a302b753a88abc33d04 SHA1 9db95d89a5ade82750b9e2c0162342dae3f88a30 SHA256 3a0047c7b5fab182bb1eca460671e4209c89dd84418f1252a9ece7db9b245f3c +AUX scute-1.4.0-tests.patch 472 RMD160 0b4ca547ec2b907efaa7940dcec390267d691d7f SHA1 3f6917c7a06edda0fde3909dad98fa1a90bda09e SHA256 82e01d265fae09d8693b78bca7dc66540e6c0b6e67b6f45b4789d2a342bd29ad +DIST scute-1.4.0.tar.bz2 772986 RMD160 e7ebdb8a1412b09423f545061e820e9725abacc7 SHA1 e28141d2b03612c09512651795976c58ed3f8035 SHA256 bd698a853375324c4ff590899c1994be83d8d0a1400fcaf489529646965fb745 +EBUILD scute-1.4.0.ebuild 1459 RMD160 3734d4bf27b0d8e4fe5eb3ff74ed6c20cbdfae1b SHA1 2afc984359a8794656636401744b1f1343d2e990 SHA256 4991a4c81a563eff789943a4d40e817fd0ca91de42d1e277c895964244ad4f9d +MISC ChangeLog 514 RMD160 126757eeb7585658490534a1ea8c40445192d4ac SHA1 0aacb96ce633c4fcfb078cacddc615a0f8534c8c SHA256 c645e8a9d053fe145e8af9e8aee41c6a86ec1a9cb5d7595ecc568345eac77496 +MISC metadata.xml 976 RMD160 0699bccd45dff118fff3bcb81cc17f09217d3313 SHA1 0fd068adaaf1661fcb600e8aeb831dc57b716045 SHA256 286581027c62db89c3b3c2249d999522235a5ac2e72839a6eb6329aab6a6bf18 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iEYEARECAAYFAk2qMFUACgkQAiZjviIA2XjPJACfUvTS/IloWMNFbfgws4MvlrH9 +TfUAnArTc2aDu/HYcNmRussIr9eyLTD4 +=RzWB +-----END PGP SIGNATURE----- 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..63ffc80126c3 --- /dev/null +++ b/app-crypt/scute/metadata.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>crypto</herd> + <maintainer> + <email>lamawithonel@aim.com</email> + <name>Lucas Yamanishi</name> + <description>Proxy maintainer.</description> + </maintainer> + <maintainer> + <email>flameeyes@gentoo.org</email> + <description>Proxying maintainer.</description> + </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..9fbc5ffdb9f3 --- /dev/null +++ b/app-crypt/scute/scute-1.4.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/scute/scute-1.4.0.ebuild,v 1.1 2011/04/17 00:12:26 flameeyes Exp $ + +EAPI=4 + +inherit autotools eutils libtool multilib + +DESCRIPTION="A PKCS #11 module for OpenPGP smartcards" +HOMEPAGE="http://www.scute.org/" +SRC_URI="ftp://ftp.gnupg.org/gcrypt/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_prepare() { + # We need no ABI versioning, reduce the number of symlinks installed + epatch "${FILESDIR}"/scute-1.2.0-noversion.patch + # Don't build tests during src_compile. + epatch "${FILESDIR}"/scute-1.4.0-tests.patch + + eautoreconf + elibtoolize +} + +src_configure() { + econf \ + --libdir=/usr/$(get_libdir)/pkcs11 \ + --with-gpgsm=/usr/bin/gpgsm \ + --with-gpg-agent=/usr/bin/gpg-agent +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + find "${D}" -name '*.la' -delete + dodoc AUTHORS ChangeLog NEWS README TODO +} + |