diff options
author | Daniel Black <dragonheart@gentoo.org> | 2005-01-02 09:52:12 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2005-01-02 09:52:12 +0000 |
commit | a3eb617ba787975ff312e8f3d93b6090d37943b1 (patch) | |
tree | d9eb53f9069ba7a58fb7b95e2d5754513b3b818f /app-crypt/scsign | |
parent | Version bump (diff) | |
download | historical-a3eb617ba787975ff312e8f3d93b6090d37943b1.tar.gz historical-a3eb617ba787975ff312e8f3d93b6090d37943b1.tar.bz2 historical-a3eb617ba787975ff312e8f3d93b6090d37943b1.zip |
Initial ebuild in bug #65418
Diffstat (limited to 'app-crypt/scsign')
-rw-r--r-- | app-crypt/scsign/ChangeLog | 10 | ||||
-rw-r--r-- | app-crypt/scsign/Manifest | 15 | ||||
-rw-r--r-- | app-crypt/scsign/files/digest-scsign-0.0.4 | 1 | ||||
-rw-r--r-- | app-crypt/scsign/files/scsign-0.0.4-printid.patch | 16 | ||||
-rw-r--r-- | app-crypt/scsign/metadata.xml | 11 | ||||
-rw-r--r-- | app-crypt/scsign/scsign-0.0.4.ebuild | 31 |
6 files changed, 84 insertions, 0 deletions
diff --git a/app-crypt/scsign/ChangeLog b/app-crypt/scsign/ChangeLog new file mode 100644 index 000000000000..d151174ede84 --- /dev/null +++ b/app-crypt/scsign/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-crypt/scsign +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/scsign/ChangeLog,v 1.1 2005/01/02 09:52:12 dragonheart Exp $ + +*scsign-0.0.4 (02 Jan 2005) + + 02 Jan 2005; Daniel Black <dragonheart@gentoo.org> +metadata.xml, + +scsign-0.0.4.ebuild, +files/scsign-0.0.4-printid.patch: + Initial ebuild in bug #65418 by Emilio Pavia <emix@solira.org> + diff --git a/app-crypt/scsign/Manifest b/app-crypt/scsign/Manifest new file mode 100644 index 000000000000..41c180bcd43d --- /dev/null +++ b/app-crypt/scsign/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 a577cbb2fd710dd1e3eee0a4e14efb38 scsign-0.0.4.ebuild 799 +MD5 9979c4e501313f0e6346ec660ba7e698 metadata.xml 373 +MD5 114e30620984928c73a5b5527ef46bee ChangeLog 432 +MD5 217fea83a8ef8ad72f02e1c2acfbbab4 files/digest-scsign-0.0.4 63 +MD5 b414df7baf1e76821f5f09d4777e6420 files/scsign-0.0.4-printid.patch 555 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.0 (GNU/Linux) + +iD8DBQFB18RSmdTrptrqvGERArAQAKCSoYLAY3oWwxQISQvpUxQthzItygCfQhV9 +m0Qb78I58OEobYQ76yMjfdE= +=rs2b +-----END PGP SIGNATURE----- diff --git a/app-crypt/scsign/files/digest-scsign-0.0.4 b/app-crypt/scsign/files/digest-scsign-0.0.4 new file mode 100644 index 000000000000..c54e3160ef7b --- /dev/null +++ b/app-crypt/scsign/files/digest-scsign-0.0.4 @@ -0,0 +1 @@ +MD5 77d2028780e8755f321e87f73c1d4855 scsign-0.0.4.tar.gz 36556 diff --git a/app-crypt/scsign/files/scsign-0.0.4-printid.patch b/app-crypt/scsign/files/scsign-0.0.4-printid.patch new file mode 100644 index 000000000000..ee11b4ce0541 --- /dev/null +++ b/app-crypt/scsign/files/scsign-0.0.4-printid.patch @@ -0,0 +1,16 @@ +--- scsign.c.orig 2005-01-02 18:55:24.492531880 +0930 ++++ scsign.c 2005-01-02 18:59:27.489590712 +0930 +@@ -642,9 +642,11 @@ + int ii; + struct sc_pkcs15_cert_info *cert = (struct sc_pkcs15_cert_info *) objs[i]->data; + +- printf("ID: %s - ", sc_pkcs15_print_id(&cert->id)); ++ printf("ID: "); + +- printf("%s - Path: ", objs[i]->label); ++ sc_pkcs15_print_id(&cert->id); ++ ++ printf(" - %s - Path: ", objs[i]->label); + + for (ii = 0; ii < cert->path.len; ii++) + printf("%02X", cert->path.value[ii]); diff --git a/app-crypt/scsign/metadata.xml b/app-crypt/scsign/metadata.xml new file mode 100644 index 000000000000..636c789b9514 --- /dev/null +++ b/app-crypt/scsign/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>crypto</herd> +<maintainer> + <email>dragonheart@gentoo.org</email> + <name>Daniel Black</name> +</maintainer> +<longdescription>Scsign is a small command-line utility to digitally sign a file +using smartcards.</longdescription> +</pkgmetadata> diff --git a/app-crypt/scsign/scsign-0.0.4.ebuild b/app-crypt/scsign/scsign-0.0.4.ebuild new file mode 100644 index 000000000000..a6d95714d743 --- /dev/null +++ b/app-crypt/scsign/scsign-0.0.4.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/scsign/scsign-0.0.4.ebuild,v 1.1 2005/01/02 09:52:12 dragonheart Exp $ + +inherit toolchain-funcs eutils + +DESCRIPTION="Scsign - a command-line utility to digitally sign a file" +HOMEPAGE="http://opensignature.sourceforge.net/" +SRC_URI="mirror://sourceforge/opensignature/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" +S=${WORKDIR} + +DEPEND=">=dev-libs/opensc-0.8.1 + dev-libs/openssl + sys-apps/pcsc-lite" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-printid.patch || die "patch failed" +} + +src_compile() { + $(tc-getCC) ${CFLAGS} -lcrypto -lpcsclite -lpthread -lopensc scsign.c -o scsign || die +} + +src_install() { + dobin scsign +} |