diff options
Diffstat (limited to 'app-crypt/acr38u')
-rw-r--r-- | app-crypt/acr38u/ChangeLog | 8 | ||||
-rw-r--r-- | app-crypt/acr38u/Manifest | 13 | ||||
-rw-r--r-- | app-crypt/acr38u/acr38u-1.7.11.ebuild | 56 | ||||
-rw-r--r-- | app-crypt/acr38u/files/1.7.11.rules | 12 |
4 files changed, 83 insertions, 6 deletions
diff --git a/app-crypt/acr38u/ChangeLog b/app-crypt/acr38u/ChangeLog index c5df65129fab..2e6efc617f92 100644 --- a/app-crypt/acr38u/ChangeLog +++ b/app-crypt/acr38u/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-crypt/acr38u # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/acr38u/ChangeLog,v 1.1 2011/03/17 00:26:54 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/acr38u/ChangeLog,v 1.2 2011/12/20 19:30:19 flameeyes Exp $ + +*acr38u-1.7.11 (20 Dec 2011) + + 20 Dec 2011; Diego E. Pettenò <flameeyes@gentoo.org> +acr38u-1.7.11.ebuild, + +files/1.7.11.rules: + Version bump, thanks to proxy maintainer Vincent Hardy. *acr38u-1.7.10-r1 (17 Mar 2011) diff --git a/app-crypt/acr38u/Manifest b/app-crypt/acr38u/Manifest index cbf04191b4cb..7bcb702b0a75 100644 --- a/app-crypt/acr38u/Manifest +++ b/app-crypt/acr38u/Manifest @@ -1,15 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX 1.7.11.rules 490 RMD160 27254b866b14c5437f497673480a0d12f9a55441 SHA1 8cfd3f440d61da4d4a375598fd12101003bff7a6 SHA256 f6eacc386ab6d74aefecb106dd8ead0acce9c2d950b03352191ae9b71f318b05 AUX 92-pcscd-acr38u.rules 424 RMD160 aab3127c81a6fa95aa4b86731e000a8a8d796f8c SHA1 c65cad4f4ff46f3077d8d000e0623d2362cd3057 SHA256 404357743827908d988b739caa8c16a09f84271e6169bc9412522b26c96e53f3 DIST ACR38U_driver_Lnx_1710_P.tar.gz 736041 RMD160 099c30e489f175e5b20fc7868348d78495c3d29a SHA1 1a334c1113adfa76ccd70d1072cf4d661cb0712b SHA256 acb035152decfcee072fbffa8853932aa04df72c31796c18c9536eb9ba4ebad4 +DIST ACR38_LINUX_100711_P.tar.bz2 274137 RMD160 61e01d1f6c9d248da16a3cb8a03a3232aeb260b7 SHA1 e31daa21eb59498c1d5e34fcabdf44b8455dee2a SHA256 7d7e4fa97def2415f4b5c9e90cfedc2f7acbe94ca8b1653a5d8a85e24fc0ab53 EBUILD acr38u-1.7.10-r1.ebuild 1443 RMD160 ca2761157951c062b819fa41498f5ba64c3db61c SHA1 98a424d6b65b3c88ec4e796876d1bf66c9042024 SHA256 764cb3888ccfc7bf4e77880b08b9f6927f9817922a4b275407815df9394ad54c -MISC ChangeLog 489 RMD160 beaef0f970d4886ea6962c6cec0eb17a137d7f58 SHA1 5404190dd53d30829cf841eec759319e6ed8b911 SHA256 3fa2ff39ba1a49216a20f78435346505eff61339e083f6f2033a4dfb7a1000ae +EBUILD acr38u-1.7.11.ebuild 1565 RMD160 856d593d2db7caac67ad589a56aa3170935bc3bd SHA1 15bf9599bc5f723aa5c2c0eff91605d3256d01ff SHA256 a987c1e90f164c23b6cab7bc1eb232f1e86901b76ba10d042dfa23e16ed520e1 +MISC ChangeLog 680 RMD160 1980a3be3a94ff89de5c7c7504f1da154ce6f173 SHA1 a65ef360de2d6127826c69e904c1818810327894 SHA256 bb5ca518ee8d686356e90d2cec4f6cb899697e9ed306891564a4b26b23349815 MISC metadata.xml 443 RMD160 a9ee3d4dacfd7ffc0abe70ef8660fb9482f1b4c5 SHA1 d30a75a89d2809325b2194f1d4f2edb9c3cd8062 SHA256 debcc51742efc80e9ab240d23357db151602465e95283232b938a5d332ccf34b -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk2BVVEACgkQAiZjviIA2XjekwCeL9xuBUAbcOVqErBIfhkojEDY -/6wAn2iqpA6sEWbCELkvloJQAp41hWaD -=ufEh +iEYEARECAAYFAk7w4ikACgkQAiZjviIA2XigLgCeKc+SC8tLZZrUjjs+IR2jTyFe +j7YAoNGpp4AlAdSolv2JxdW0rZ9jzskK +=AYt+ -----END PGP SIGNATURE----- diff --git a/app-crypt/acr38u/acr38u-1.7.11.ebuild b/app-crypt/acr38u/acr38u-1.7.11.ebuild new file mode 100644 index 000000000000..32157d6f0207 --- /dev/null +++ b/app-crypt/acr38u/acr38u-1.7.11.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/acr38u/acr38u-1.7.11.ebuild,v 1.1 2011/12/20 19:30:19 flameeyes Exp $ + +EAPI=3 + +inherit multilib eutils versionator autotools + +MY_P=ACR38_LINUX_$(get_version_component_range 1)00$(get_version_component_range 2)$(get_version_component_range 3)_P + +SLOT="0" +LICENSE="LGPL-2.1" +KEYWORDS="~amd64 ~x86" +DESCRIPTION="Non CCID driver for ACR38 AC1038-based Smart Card Reader." + +#SRC_URI="http://www.acs.com.hk/drivers/eng/${MY_P}.tar.bz2" +# tarball release is encapsuled in a .zip file :-( +# http://www.acs.com.hk/drivers/eng/ACR38_Driver_Lnx_101_P.zip +# I'm waiting an answer from info@acs.com.hk about that ! +SRC_URI="http://www.linuxunderground.be/${MY_P}.tar.bz2" +HOMEPAGE="http://www.acs.com.hk" + +# Make this safe from collisions, require a version of pcsc-lite that +# uses libusb-1.0 and use the wrapper library instead. +RDEPEND=">=sys-apps/pcsc-lite-1.6.4 + dev-libs/libusb-compat" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +IUSE="" + +src_prepare() { + epatch_user + + sed -i -e '/pcdir/s:@prefix@/lib:$(libdir):' src/controllib/Makefile.am + + eautoreconf +} + +src_configure() { + econf \ + --enable-static=false \ + --enable-usbdropdir="${D}/usr/$(get_libdir)/readers/usb" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + # Remove useless .la files + find "${D}" -name '*.la' -delete + + insinto /lib/udev/rules.d + newins "${FILESDIR}/${PV}.rules" 92-pcscd-acr38u.rules +} diff --git a/app-crypt/acr38u/files/1.7.11.rules b/app-crypt/acr38u/files/1.7.11.rules new file mode 100644 index 000000000000..eead6bd200e3 --- /dev/null +++ b/app-crypt/acr38u/files/1.7.11.rules @@ -0,0 +1,12 @@ +# udev rules to set the access rights of non CCID ACR38u smart card readers +# so they can be used by pcscd + +ACTION!="add", GOTO="pcscd_acr38u_rules_end" +SUBSYSTEM!="usb", GOTO="pcscd_acr38u_rules_end" +ENV{DEVTYPE}!="usb_device", GOTO="pcscd_acr38u_rules_end" + +ATTRS{idVendor}=="072f", ATTRS{idProduct}=="9000", ENV{PCSCD}="1" +ATTRS{idVendor}=="072f", ATTRS{idProduct}=="9006", ENV{PCSCD}="1" +ATTRS{idVendor}=="072f", ATTRS{idProduct}=="90CF", ENV{PCSCD}="1" + +LABEL="pcscd_acr38u_rules_end" |