diff options
Diffstat (limited to 'app-crypt/scsign')
-rw-r--r-- | app-crypt/scsign/ChangeLog | 8 | ||||
-rw-r--r-- | app-crypt/scsign/Manifest | 11 | ||||
-rw-r--r-- | app-crypt/scsign/files/digest-scsign-0.0.5 | 1 | ||||
-rw-r--r-- | app-crypt/scsign/files/scsign-0.0.5-printid.patch | 16 | ||||
-rw-r--r-- | app-crypt/scsign/scsign-0.0.5.ebuild | 31 |
5 files changed, 62 insertions, 5 deletions
diff --git a/app-crypt/scsign/ChangeLog b/app-crypt/scsign/ChangeLog index d151174ede84..1ac9a5eb0e47 100644 --- a/app-crypt/scsign/ChangeLog +++ b/app-crypt/scsign/ChangeLog @@ -1,6 +1,12 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/scsign/ChangeLog,v 1.2 2005/01/12 08:13:29 dragonheart Exp $ + +*scsign-0.0.5 (12 Jan 2005) + + 12 Jan 2005; Daniel Black <dragonheart@gentoo.org> + +files/scsign-0.0.5-printid.patch, +scsign-0.0.5.ebuild: + version bump *scsign-0.0.4 (02 Jan 2005) diff --git a/app-crypt/scsign/Manifest b/app-crypt/scsign/Manifest index 41c180bcd43d..5335fffa0852 100644 --- a/app-crypt/scsign/Manifest +++ b/app-crypt/scsign/Manifest @@ -3,13 +3,16 @@ Hash: SHA1 MD5 a577cbb2fd710dd1e3eee0a4e14efb38 scsign-0.0.4.ebuild 799 MD5 9979c4e501313f0e6346ec660ba7e698 metadata.xml 373 -MD5 114e30620984928c73a5b5527ef46bee ChangeLog 432 +MD5 b1dc50810e67d1d845bb851e218c9918 ChangeLog 589 +MD5 29f0b8e11704568760773fbbb76b5083 scsign-0.0.5.ebuild 810 MD5 217fea83a8ef8ad72f02e1c2acfbbab4 files/digest-scsign-0.0.4 63 MD5 b414df7baf1e76821f5f09d4777e6420 files/scsign-0.0.4-printid.patch 555 +MD5 9fcabefb1789c950571b1ddc667dd65f files/digest-scsign-0.0.5 63 +MD5 84fe8e26c60b6919c0c5ca93262f5f79 files/scsign-0.0.5-printid.patch 570 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) -iD8DBQFB18RSmdTrptrqvGERArAQAKCSoYLAY3oWwxQISQvpUxQthzItygCfQhV9 -m0Qb78I58OEobYQ76yMjfdE= -=rs2b +iD8DBQFB5NwvmdTrptrqvGERAtrQAJ9A1I0NJRvxaapRC9tlIj8jZYwZoQCgizdi +vE3GHPs+lmJptQRuoePwto4= +=3T+n -----END PGP SIGNATURE----- diff --git a/app-crypt/scsign/files/digest-scsign-0.0.5 b/app-crypt/scsign/files/digest-scsign-0.0.5 new file mode 100644 index 000000000000..fb894a617b5b --- /dev/null +++ b/app-crypt/scsign/files/digest-scsign-0.0.5 @@ -0,0 +1 @@ +MD5 060a009896bdf749604684018f313e2f scsign-0.0.5.tar.gz 13132 diff --git a/app-crypt/scsign/files/scsign-0.0.5-printid.patch b/app-crypt/scsign/files/scsign-0.0.5-printid.patch new file mode 100644 index 000000000000..2ab632e8fd3f --- /dev/null +++ b/app-crypt/scsign/files/scsign-0.0.5-printid.patch @@ -0,0 +1,16 @@ +--- libscsign.c.orig 2005-01-06 01:53:16.000000000 +0930 ++++ libscsign.c 2005-01-12 17:31:58.134696696 +0930 +@@ -537,9 +537,11 @@ + unsigned 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/scsign-0.0.5.ebuild b/app-crypt/scsign/scsign-0.0.5.ebuild new file mode 100644 index 000000000000..ab3de8fe8074 --- /dev/null +++ b/app-crypt/scsign/scsign-0.0.5.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.5.ebuild,v 1.1 2005/01/12 08:13:29 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 main.c libscsign.c -o scsign || die +} + +src_install() { + dobin scsign +} |