diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-10-30 14:12:50 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-10-30 14:12:50 +0000 |
commit | bcbc456d5cc96a03702561c2040e045b463c7094 (patch) | |
tree | 2f2e16c5e2d6f1eb6555fb69c0dd8a1e8f05d96a /dev-libs/cyberjack | |
parent | Package move icedtea6-bin to icedtea-bin. (diff) | |
download | historical-bcbc456d5cc96a03702561c2040e045b463c7094.tar.gz historical-bcbc456d5cc96a03702561c2040e045b463c7094.tar.bz2 historical-bcbc456d5cc96a03702561c2040e045b463c7094.zip |
Install 92-cyberjack.rules (keeping numbering scheme consistent with ccid) for udev wrt #388329, thanks to Christoph Brill and Diego Elio Pettenò.
Package-Manager: portage-2.2.0_alpha71_p73/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/cyberjack')
-rw-r--r-- | dev-libs/cyberjack/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/cyberjack/Manifest | 17 | ||||
-rw-r--r-- | dev-libs/cyberjack/cyberjack-3.99.5_p02-r1.ebuild | 70 |
3 files changed, 85 insertions, 11 deletions
diff --git a/dev-libs/cyberjack/ChangeLog b/dev-libs/cyberjack/ChangeLog index 310f844ff96f..5c17fd585e9a 100644 --- a/dev-libs/cyberjack/ChangeLog +++ b/dev-libs/cyberjack/ChangeLog @@ -1,10 +1,13 @@ # ChangeLog for dev-libs/cyberjack # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyberjack/ChangeLog,v 1.20 2011/10/30 14:05:00 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyberjack/ChangeLog,v 1.21 2011/10/30 14:12:50 ssuominen Exp $ + +*cyberjack-3.99.5_p02-r1 (30 Oct 2011) 30 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> - cyberjack-3.99.5_p02.ebuild, +files/cyberjack.rules: - Install udev rules file wrt #388329 by Christoph Brill + +cyberjack-3.99.5_p02-r1.ebuild, +files/cyberjack.rules: + Install 92-cyberjack.rules (keeping numbering scheme consistent with ccid) + for udev wrt #388329, thanks to Christoph Brill and Diego Elio Pettenò. 13 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> cyberjack-3.99.5_p02.ebuild: diff --git a/dev-libs/cyberjack/Manifest b/dev-libs/cyberjack/Manifest index 16f9bbb379d1..6158dd4cbf13 100644 --- a/dev-libs/cyberjack/Manifest +++ b/dev-libs/cyberjack/Manifest @@ -8,17 +8,18 @@ AUX cyberjack.sh 533 RMD160 91b567c025ec250720352aaeb1b736ea9fd4ab85 SHA1 94f79d DIST ctapi-cyberjack-3.3.5.tar.gz 1215789 RMD160 de7a5452cf876cd553fb4567b67a2f4bcf2e8ed4 SHA1 089ca17b3fe1c06f705ec3910d6a0cc82288656f SHA256 eba8788fb3de44d9184c6bc0ebdbaa0e348dfa29c285ba544c048dc926ec205b DIST pcsc-cyberjack_3.99.5final.SP02.tar.gz 1166940 RMD160 df4ded861f7fd965ff9d18bed5208d105996e38e SHA1 d291f78e6804c81eaa0a91cc9c2ae87b23f2cb2f SHA256 e4e8e93cc44111c1ea2b70e95a0c9f3e978d463d250c39f73cf364d9f50e4b82 EBUILD cyberjack-3.3.5-r2.ebuild 2211 RMD160 da47a8e81888898f86126490a419ac93236f4519 SHA1 b80d51482f3e02e483a933e724ec7ce40d6c470d SHA256 3d600a49e0f4d0ec5d864b2b89aa8a21514a1a90c1b7b392c3d3deb34ee137fb +EBUILD cyberjack-3.99.5_p02-r1.ebuild 1828 RMD160 170792ea56236bcd01147483454f7aedaadc497d SHA1 d3a76376a6274eedd523da8d8b5d88d89a7619a6 SHA256 048d8cca7dbfbe88d784ca8d06395a3882f77402c6c03a54c56f699c977b8a58 EBUILD cyberjack-3.99.5_p02.ebuild 1825 RMD160 f20eb5727873f0a18bf1f322711e571efd19328e SHA1 994c5ce667047fc8b7a3c652eb0b750d5074f65b SHA256 5468739b4d24f9ccd330eff98ce7b2838d9f7d2754cd09b87d5de5a31f714187 -MISC ChangeLog 3985 RMD160 7f7d4464a0af3bf2ce1f271480fe8766f9bf150e SHA1 2361c00b0554d0fe2da231e925d1939a995d6f4f SHA256 85d52e2a1f42534f405f961472c65b6eb75de6fb0d7dd2225795e3f809b73d00 +MISC ChangeLog 4124 RMD160 afdfd99e916d67d3de16239b419b0b36a38fd97f SHA1 6bef8214d7058f4ac0bed1d3d0aabf6c5b06831b SHA256 318f7595e8d9241acde89945e191d0127c28c4dd8e9dca0816121c2ba0ff0e46 MISC metadata.xml 491 RMD160 f335218a7b97693494027360df10940415caa5de SHA1 7cf9dfc3775415632a2a2fd65445ac203c71a8ff SHA256 ebe2ae5d276501ceb701e01c3195fb8f96aa0ad149c4a65fb622dd725abb054d -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQEcBAEBAgAGBQJOrVmOAAoJEEdUh39IaPFNsngH/2d9Y3mHyhHcpSX77yuhbBdk -ahbQiB9c8noWis1HtcTXt7WTnDgVZn5a9j6mxaIkUf+nS0wZc8b5yLFQnKDrwnjU -j8+vHDtjFvzmVjz5v5FpHKrmaC15w/WLHk7P3bhZpnltNSIkQMNSpAcrLpI6C1jr -OtiwxcXPiqvVz6JyNzuvCKuFLuDDQkuWaYPZfsJdAF/Yy3LZTbuFzAhVgZVRfdxc -EiMURaDRoJe/pLPJJtdZ0KJRSYMPWho0/oyEFOsIynQbU2GtvuVnG62Xr3Ja89fB -Ktt1ppQ6onTXNZrH8ZZW8rrCQWis8g7Gj28yAlWP9A9oFEse8kWhSSLZ+b0MCTY= -=va7/ +iQEcBAEBAgAGBQJOrVtkAAoJEEdUh39IaPFNpncIAJ+i9cUR4dKr+60M+VMWn3xU +KDwZPuh9HLixrf0Nv9cj98iBJXMq1yZIIQo2O1vI73RC5HpNHDJHZImAXUx5JI9Y +QQQtU5NdzGutQwLs8JhizCuguuQp/WtdN3q7ngzN+FGQeMvjrosm5oeAqKDS/5Vu +E74Wy3Sb/Oij8OlmArGXLE1drftGcRll2t4CFddyWlSbuGdU639ulJLlopZ2T2Gb +oX+FNG+5ExN0dMOEBJ/r20zqXDUufeQKBLat1jBThE42Ub/ih2wkUDnSFn75RtOK +b+jqK7uoZWP8QduwjQico/1oYp2DIzHgI9/iis0jYk9/dGDG/knGGYsG5OKMbQo= +=dSDJ -----END PGP SIGNATURE----- diff --git a/dev-libs/cyberjack/cyberjack-3.99.5_p02-r1.ebuild b/dev-libs/cyberjack/cyberjack-3.99.5_p02-r1.ebuild new file mode 100644 index 000000000000..cf5e80d10c8e --- /dev/null +++ b/dev-libs/cyberjack/cyberjack-3.99.5_p02-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyberjack/cyberjack-3.99.5_p02-r1.ebuild,v 1.1 2011/10/30 14:12:50 ssuominen Exp $ + +EAPI=4 +inherit toolchain-funcs + +MY_P=pcsc-${PN}_${PV/_p/final.SP} + +DESCRIPTION="REINER SCT cyberJack pinpad/e-com USB user space driver library" +HOMEPAGE="http://www.reiner-sct.de/ http://www.libchipcard.de/" +SRC_URI="http://support.reiner-sct.de/downloads/LINUX/V${PV/_p/_SP}/${MY_P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="fox kernel_linux xml" + +COMMON_DEPEND="sys-apps/pcsc-lite + virtual/libusb:1 + fox? ( >=x11-libs/fox-1.6 ) + xml? ( dev-libs/libxml2 )" +RDEPEND="${COMMON_DEPEND} + kernel_linux? ( sys-fs/udev )" +DEPEND="${COMMON_DEPEND} + dev-util/pkgconfig" + +S=${WORKDIR}/${MY_P/_/-} + +DOCS=( ChangeLog NEWS doc/README.txt ) + +src_prepare() { + # Fix building with recent pcsc-lite + has_version '>=sys-apps/pcsc-lite-1.7.3' && \ + sed -i -e 's:FEATURE_MCT_READERDIRECT:FEATURE_MCT_READER_DIRECT:' ifd/ifd.cpp +} + +src_configure() { + econf \ + --mandir=/usr/share/man/man8 \ + --sysconfdir=/etc/${PN} \ + --disable-hal \ + --enable-pcsc \ + $(use_enable xml xml2) \ + $(use_enable fox) \ + --with-usbdropdir="$($(tc-getPKG_CONFIG) libpcsclite --variable=usbdropdir)" +} + +src_install() { + default + + rm -f "${D}"usr/lib*/cyberjack/pcscd_init.diff + find "${D}"usr -name '*.la' -exec rm -f {} + + + # http://bugs.gentoo.org/388329 + if use kernel_linux; then + insinto /lib/udev/rules.d + newins "${FILESDIR}"/${PN}.rules 92-${PN}.rules + fi +} + +pkg_postinst() { + local conf="${ROOT}etc/${PN}/${PN}.conf" + elog + elog "To configure logging, key beep behaviour etc. you need to" + elog "copy ${conf}.default" + elog "to ${conf}" + elog "and modify the latter as needed." + elog +} |