diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2006-10-07 02:15:01 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2006-10-07 02:15:01 +0000 |
commit | aa8c479a0142e97943378eece8aee09a9b49516f (patch) | |
tree | ece6a833b6d12c6d7e6cc34863359d4ae09992d5 /sys-apps/ifd-gempc | |
parent | Remove >=app-text/kbibtex-0.1.4_beta4 from package.mask. (diff) | |
download | gentoo-2-aa8c479a0142e97943378eece8aee09a9b49516f.tar.gz gentoo-2-aa8c479a0142e97943378eece8aee09a9b49516f.tar.bz2 gentoo-2-aa8c479a0142e97943378eece8aee09a9b49516f.zip |
Moving to crypto herd, version bump and add reader to /etc/reader.conf.d
(Portage version: 2.1.1)
Diffstat (limited to 'sys-apps/ifd-gempc')
-rw-r--r-- | sys-apps/ifd-gempc/ChangeLog | 11 | ||||
-rw-r--r-- | sys-apps/ifd-gempc/files/digest-ifd-gempc-0.9.1 | 2 | ||||
-rw-r--r-- | sys-apps/ifd-gempc/files/digest-ifd-gempc-0.9.3 | 2 | ||||
-rw-r--r-- | sys-apps/ifd-gempc/files/digest-ifd-gempc-1.0.0 | 2 | ||||
-rw-r--r-- | sys-apps/ifd-gempc/files/digest-ifd-gempc-1.0.1 | 3 | ||||
-rw-r--r-- | sys-apps/ifd-gempc/files/ifd-gempc-1.0.1-strip.patch | 24 | ||||
-rw-r--r-- | sys-apps/ifd-gempc/files/reader.conf | 11 | ||||
-rw-r--r-- | sys-apps/ifd-gempc/ifd-gempc-1.0.1.ebuild | 53 | ||||
-rw-r--r-- | sys-apps/ifd-gempc/metadata.xml | 12 |
9 files changed, 110 insertions, 10 deletions
diff --git a/sys-apps/ifd-gempc/ChangeLog b/sys-apps/ifd-gempc/ChangeLog index eebe36516711..b9284987eaf6 100644 --- a/sys-apps/ifd-gempc/ChangeLog +++ b/sys-apps/ifd-gempc/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-apps/ifd-gempc -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifd-gempc/ChangeLog,v 1.8 2005/07/29 08:09:07 dragonheart Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifd-gempc/ChangeLog,v 1.9 2006/10/07 02:15:01 alonbl Exp $ + +*ifd-gempc-1.0.1 (07 Oct 2006) + + 07 Oct 2006; Alon Bar-Lev <alonbl@gentoo.org> + +files/ifd-gempc-1.0.1-strip.patch, +files/reader.conf, metadata.xml, + +ifd-gempc-1.0.1.ebuild: + Moving to crypto herd, version bump and add reader to /etc/reader.conf.d *ifd-gempc-1.0.0 (29 Jul 2005) diff --git a/sys-apps/ifd-gempc/files/digest-ifd-gempc-0.9.1 b/sys-apps/ifd-gempc/files/digest-ifd-gempc-0.9.1 index d90c3368bea0..c48c7ee6acfd 100644 --- a/sys-apps/ifd-gempc/files/digest-ifd-gempc-0.9.1 +++ b/sys-apps/ifd-gempc/files/digest-ifd-gempc-0.9.1 @@ -1 +1,3 @@ MD5 6282d1fc95a1832159c6491835c337de ifd-gempc-0.9.1.tar.gz 304104 +RMD160 3b7da8ef9294674213f40731661347f4d83f4996 ifd-gempc-0.9.1.tar.gz 304104 +SHA256 e369668a4626d2c18d34b49380c5658037f05413ab3e3ac57fd883feea962774 ifd-gempc-0.9.1.tar.gz 304104 diff --git a/sys-apps/ifd-gempc/files/digest-ifd-gempc-0.9.3 b/sys-apps/ifd-gempc/files/digest-ifd-gempc-0.9.3 index 1d627372dc54..ae047a28e44d 100644 --- a/sys-apps/ifd-gempc/files/digest-ifd-gempc-0.9.3 +++ b/sys-apps/ifd-gempc/files/digest-ifd-gempc-0.9.3 @@ -1 +1,3 @@ MD5 4ec32085972f365b1a115e653b04bcf6 ifd-gempc-0.9.3.tar.gz 301817 +RMD160 98a75e41f2fc22f79c796ca0bc363e1b205d0acc ifd-gempc-0.9.3.tar.gz 301817 +SHA256 f2781ca0b8a49b36cf3e7435289cc7281f77e9ee9f43d423e84683fc5d335a39 ifd-gempc-0.9.3.tar.gz 301817 diff --git a/sys-apps/ifd-gempc/files/digest-ifd-gempc-1.0.0 b/sys-apps/ifd-gempc/files/digest-ifd-gempc-1.0.0 index 4d9ec59f72e9..e899482182c7 100644 --- a/sys-apps/ifd-gempc/files/digest-ifd-gempc-1.0.0 +++ b/sys-apps/ifd-gempc/files/digest-ifd-gempc-1.0.0 @@ -1 +1,3 @@ MD5 ed46cd75d10a39ae0e7ba51217aed47a ifd-gempc-1.0.0.tar.gz 302128 +RMD160 9af294243e3d679bc4c728491bd5a7d577ca8f77 ifd-gempc-1.0.0.tar.gz 302128 +SHA256 4514d9f2a8eb2773e4429bdb49ddae3dd4fb4391445e6a4196cd15dbd2b2940d ifd-gempc-1.0.0.tar.gz 302128 diff --git a/sys-apps/ifd-gempc/files/digest-ifd-gempc-1.0.1 b/sys-apps/ifd-gempc/files/digest-ifd-gempc-1.0.1 new file mode 100644 index 000000000000..200fc052b140 --- /dev/null +++ b/sys-apps/ifd-gempc/files/digest-ifd-gempc-1.0.1 @@ -0,0 +1,3 @@ +MD5 d587385331fe1bcf0275255bc947c538 ifd-gempc-1.0.1.tar.gz 302385 +RMD160 8bb1a795e5d76099046be0b5b9f0ac882bcbe5d4 ifd-gempc-1.0.1.tar.gz 302385 +SHA256 69658a09a3f665c4f696dfad469997a73f79bd038c517135b3405dfc6c8f1f99 ifd-gempc-1.0.1.tar.gz 302385 diff --git a/sys-apps/ifd-gempc/files/ifd-gempc-1.0.1-strip.patch b/sys-apps/ifd-gempc/files/ifd-gempc-1.0.1-strip.patch new file mode 100644 index 000000000000..f344214fbf2e --- /dev/null +++ b/sys-apps/ifd-gempc/files/ifd-gempc-1.0.1-strip.patch @@ -0,0 +1,24 @@ +diff -urNp ifd-gempc-1.0.1.org/GemPC410/Makefile ifd-gempc-1.0.1/GemPC410/Makefile +--- ifd-gempc-1.0.1.org/GemPC410/Makefile 2005-06-17 13:58:23.000000000 +0300 ++++ ifd-gempc-1.0.1/GemPC410/Makefile 2006-10-07 02:38:25.000000000 +0200 +@@ -47,7 +47,7 @@ libGemPC410.so: common $(targets) + rm -f $@ + $(CC) -shared $(targets) $(common_targets) -o $@ + chmod -x $@ +- strip --strip-unneeded $@ ++# strip --strip-unneeded $@ + mv $@ $@.$(version) + + clean: +diff -urNp ifd-gempc-1.0.1.org/GemPC430/Makefile ifd-gempc-1.0.1/GemPC430/Makefile +--- ifd-gempc-1.0.1.org/GemPC430/Makefile 2006-02-08 21:43:47.000000000 +0200 ++++ ifd-gempc-1.0.1/GemPC430/Makefile 2006-10-07 02:38:31.000000000 +0200 +@@ -45,7 +45,7 @@ ifd-GemPC430: common $(targets) main.o . + + libGemPC430.so: common $(targets) + $(CC) -shared $(LDFLAGS) -o $@ $(targets) $(common_targets) +- strip $@ ++# strip $@ + + main.o: ../GemPC410/main.c + $(CC) $(CFLAGS) -c -o $@ $^ diff --git a/sys-apps/ifd-gempc/files/reader.conf b/sys-apps/ifd-gempc/files/reader.conf new file mode 100644 index 000000000000..86e99bbab795 --- /dev/null +++ b/sys-apps/ifd-gempc/files/reader.conf @@ -0,0 +1,11 @@ +# Configuration file for pcsc-lite +# + +# GemPC410 reader +FRIENDLYNAME "GemPC410" +# Update the following to the right COM port +DEVICENAME /dev/null +LIBPATH %PCSC_DRIVERS_DIR%/serial/libGemPC410.so.1.0.1 +CHANNELID 1 + +# End of file diff --git a/sys-apps/ifd-gempc/ifd-gempc-1.0.1.ebuild b/sys-apps/ifd-gempc/ifd-gempc-1.0.1.ebuild new file mode 100644 index 000000000000..96846e31918b --- /dev/null +++ b/sys-apps/ifd-gempc/ifd-gempc-1.0.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifd-gempc/ifd-gempc-1.0.1.ebuild,v 1.1 2006/10/07 02:15:01 alonbl Exp $ + +inherit eutils + +DESCRIPTION="GemCore based PC/SC reader drivers for pcsc-lite" +HOMEPAGE="http://ludovic.rousseau.free.fr/softwares/ifd-GemPC" +LICENSE="GPL-2 BSD" +KEYWORDS="~ppc ~x86" +SLOT="0" +SRC_URI="http://ludovic.rousseau.free.fr/softwares/ifd-GemPC/${P}.tar.gz" +IUSE="" +RDEPEND=">=sys-apps/pcsc-lite-1.2.9_beta5 + >=dev-libs/libusb-0.1.10a" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-strip.patch" +} + +src_install () { + local pcscdir="$(pkg-config --variable=usbdropdir libpcsclite)" + local conf="/etc/reader.conf.d/${PN}.conf" + emake "DESTDIR=${D}" install || die + dodoc README* + dodir "$(dirname "${conf}")" + insinto "$(dirname "${conf}")" + newins "${FILESDIR}/reader.conf" "$(basename "${conf}")" + sed -i "s#%PCSC_DRIVERS_DIR%#${pcscdir}#g" "${D}/${conf}" + + einfo "NOTICE:" + einfo "1. if you are using GemPC410 modify ${conf}" + einfo "2. run update-reader.conf, yes this is a command..." + einfo "3. restart pcscd" +} + +pkg_postrm() { + # + # Without this, pcscd will not start next time. + # + local conf="/etc/reader.conf.d/${PN}.conf" + if ! [ -f "$(grep LIBPATH "${conf}" | sed 's/LIBPATH *//' | sed 's/ *$//g')" ]; then + rm "${conf}" + update-reader.conf + einfo "NOTICE:" + einfo "You need to restart pcscd" + fi +} + diff --git a/sys-apps/ifd-gempc/metadata.xml b/sys-apps/ifd-gempc/metadata.xml index 898ed2c249f3..555d15559b19 100644 --- a/sys-apps/ifd-gempc/metadata.xml +++ b/sys-apps/ifd-gempc/metadata.xml @@ -1,13 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>no-herd</herd> -<maintainer><email>dragonheart@gentoo.org</email> -<description>embedded got assigned to a pcsc-lite bug and this is a driver for it. base-system is assigned to -pcsc-lite so if those wonderful people want to take over they want. -</description> -</maintainer> -<longdescription>This library provides PC/SC IFD handler implementation for Gemplus GemCore based serial and USB -smart cards readers. +<herd>crypto</herd> +<longdescription> + This library provides PC/SC IFD handler implementation for Gemplus GemCore based + serial and USB smart cards readers. </longdescription> </pkgmetadata> |