summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2005-01-12 08:13:29 +0000
committerDaniel Black <dragonheart@gentoo.org>2005-01-12 08:13:29 +0000
commite0b5e6cfebab035cc0f420e36e390284ec2c3163 (patch)
treeb36166bce62213ed75b563607f6cbed5078b2f02 /app-crypt/scsign
parentRevision bump to get the patchset out there (Manifest recommit) (diff)
downloadgentoo-2-e0b5e6cfebab035cc0f420e36e390284ec2c3163.tar.gz
gentoo-2-e0b5e6cfebab035cc0f420e36e390284ec2c3163.tar.bz2
gentoo-2-e0b5e6cfebab035cc0f420e36e390284ec2c3163.zip
version bumpversion bump
Diffstat (limited to 'app-crypt/scsign')
-rw-r--r--app-crypt/scsign/ChangeLog8
-rw-r--r--app-crypt/scsign/Manifest15
-rw-r--r--app-crypt/scsign/files/digest-scsign-0.0.51
-rw-r--r--app-crypt/scsign/files/scsign-0.0.5-printid.patch16
-rw-r--r--app-crypt/scsign/scsign-0.0.5.ebuild31
5 files changed, 59 insertions, 12 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..a1d0aa82fe7e 100644
--- a/app-crypt/scsign/Manifest
+++ b/app-crypt/scsign/Manifest
@@ -1,15 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 a577cbb2fd710dd1e3eee0a4e14efb38 scsign-0.0.4.ebuild 799
MD5 9979c4e501313f0e6346ec660ba7e698 metadata.xml 373
-MD5 114e30620984928c73a5b5527ef46bee ChangeLog 432
+MD5 7693a46149c04eaa4947f3186acb60e6 ChangeLog 589
+MD5 542ab4835da734010e20c4c90b8b3c54 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
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFB18RSmdTrptrqvGERArAQAKCSoYLAY3oWwxQISQvpUxQthzItygCfQhV9
-m0Qb78I58OEobYQ76yMjfdE=
-=rs2b
------END PGP SIGNATURE-----
+MD5 9fcabefb1789c950571b1ddc667dd65f files/digest-scsign-0.0.5 63
+MD5 84fe8e26c60b6919c0c5ca93262f5f79 files/scsign-0.0.5-printid.patch 570
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
+}