diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-08-12 07:54:14 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-08-12 07:54:14 +0000 |
commit | afb3df9d844a4d89d532e766cdc61561237f2925 (patch) | |
tree | 260f95441d65f00c62b373eaa2aee973798cae60 /sys-apps/pcsc-lite | |
parent | Query udev.pc pkg-config file for correct udevdir value. (diff) | |
download | historical-afb3df9d844a4d89d532e766cdc61561237f2925.tar.gz historical-afb3df9d844a4d89d532e766cdc61561237f2925.tar.bz2 historical-afb3df9d844a4d89d532e766cdc61561237f2925.zip |
Query udev.pc pkg-config file for correct udevdir value.
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/pcsc-lite')
-rw-r--r-- | sys-apps/pcsc-lite/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/pcsc-lite/Manifest | 17 | ||||
-rw-r--r-- | sys-apps/pcsc-lite/pcsc-lite-1.8.5-r1.ebuild | 88 |
3 files changed, 104 insertions, 9 deletions
diff --git a/sys-apps/pcsc-lite/ChangeLog b/sys-apps/pcsc-lite/ChangeLog index 68e05ec3c09f..29998e322060 100644 --- a/sys-apps/pcsc-lite/ChangeLog +++ b/sys-apps/pcsc-lite/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/pcsc-lite # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.137 2012/08/04 14:22:42 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.138 2012/08/12 07:54:14 ssuominen Exp $ + +*pcsc-lite-1.8.5-r1 (12 Aug 2012) + + 12 Aug 2012; Samuli Suominen <ssuominen@gentoo.org> + +pcsc-lite-1.8.5-r1.ebuild: + Query udev.pc pkg-config file for correct udevdir value. *pcsc-lite-1.8.5 (04 Aug 2012) diff --git a/sys-apps/pcsc-lite/Manifest b/sys-apps/pcsc-lite/Manifest index 307794a723ec..94bea5f09d5a 100644 --- a/sys-apps/pcsc-lite/Manifest +++ b/sys-apps/pcsc-lite/Manifest @@ -9,17 +9,18 @@ DIST pcsc-lite-1.8.2.tar.bz2 548706 SHA256 5525c7fff09e855ca75203256a1c5acc518da DIST pcsc-lite-1.8.5.tar.bz2 560995 SHA256 917f6c24d2a766cc7b20ad78b70f29613f134dea997d60613826a9ce68eee6a6 SHA512 d53f6ce9741da00a5a4c721ad86039dad448bad3f48ce468f558e266b366fe9cec598c5b47ee2427449c3da5c2bc8c74e4a321fc11b40ec4f19bdfd7fe23c0e8 WHIRLPOOL cbed992f78c625c2bb7fea04560c058c683c4ff8da842b417984d60662b9b82355e1d7c179d96c1b19a44b0e7e996265360d7a509dc4545e9af0e85edecf31e4 EBUILD pcsc-lite-1.6.6-r2.ebuild 2279 SHA256 1a4deb13e02c6985ee9d3189ced78b8bc04fb3095d3ac2ab39adc7cfedcd9daf SHA512 58b95c60d605cb75ea5fef84a7956d0e61be85a5e4ba75e809ac5e38be44e91d3b699233cc80ed57efc80112569dbdac021052cc5ab96ef4ed22ded1bf93175e WHIRLPOOL 270a4180275d373693efa03f3b148a1326865141e86b585bb1ed2f6ea89d278f9fa32b745fe50a0eb77191995553a0277138076fd5ec79d9234634337b33ffb3 EBUILD pcsc-lite-1.8.2.ebuild 2503 SHA256 201e353cfe8a2455ea05c739a1361e87878709a0d9be51cfbce7780101cf9b02 SHA512 7d2148be2a7d6a269867fdcfe3f451b7d46ac8d4ac851ce4378f5c418b9469eb53c4a70b532c3abb4384c5e99b5d754d30cf31bf1b768d9c4cfd37080be2e278 WHIRLPOOL a7776931a9b30a9adf8852e03e32d2ac46ad0b1f7c84beb0a9b64460f8b445f07103ee3261afea9b6968f57bcf7dcec6ca99faac4e3ac6a44f09360ddb10e251 +EBUILD pcsc-lite-1.8.5-r1.ebuild 2616 SHA256 049a2fcba86409cd29ea859c631edc4e5f1cc937e659e4706976ebbf5999261b SHA512 37618376ae7dd56ff7b0b15f986a45982dc04a08d7b23d850f85ae6b4a1e915f8f4e8478e1fe4554f705ef958c1437dee7c20a027bfad99ad819fe032bb9dbf1 WHIRLPOOL a34981f5d89fb9f1b91bd24bbf00fdb490601be43d8ec57f05c6b796449130ec5eaee0af13b431ec2ff76533d09dd7f54aa153405b592bd628c44caf6e688151 EBUILD pcsc-lite-1.8.5.ebuild 2542 SHA256 802062b02feaf318870a5396d0d5e621400ca2b9d6a5311ebe1c656c9c7d4467 SHA512 edc22ba2c8c7e13a730554fb4673e4ff0e83162dc8aebf7c1a247aabe5d8e9e8917183dcc136ad65e979309f150e4ee0092ecf72ace461bbb41da5d5449c2432 WHIRLPOOL f6f56a82fea986daa9f5095f091b1e20f97fdfd8dac4dbcc5b9878cacbee66a69c502c3447469a961237f76eb29b3a415be570eb48f8c030dab820ede922c19f -MISC ChangeLog 20211 SHA256 2976fd217089bb93a9959c2eb07ea39220e949e26500f6abbf682542297b1c37 SHA512 7cd06605cfa9d4ce481be7764809560e5461995102bcaad17e6ca9c2fb38f51d0834c6c0d0f0b0c7ca3368ad12ab69b196cb5f805134174a51722ad9a636a048 WHIRLPOOL d3906640143dcc2b3d1106023436af4d8c697cf7d8ffda962618bcfecc8446eed1830e12565e98be93b5d296bd9b83b7c91f68cb87ca6e79074e28e00e888262 +MISC ChangeLog 20390 SHA256 53cf8041a78a267380963e37fcc5d8d1bd8064742a2217e4f54a453acc751e59 SHA512 1dc155c9747a838985900255931f6bddbe813307095ab4d16bd2437b064bfe880fe2e93a26cf4d6a6bf265914418d9332e4f0d25a65a9a37c03ab3fc43981066 WHIRLPOOL c898669faba35a371dc8f352be7ce6cadffaf1ef5905ff0de0ab15448515db1b2425b5f83e6ee1be7af517454db3d412f69010c9db8d353535e834c2431dded9 MISC metadata.xml 1271 SHA256 81b3fbf2719be0adcbce8b6a2ed091af496773ea839eee95fcf768706c185690 SHA512 fba5bbdc048491a298b0869a5351ab253029853a8c847fd409e1c4914005d1dc19f35651c9e3d821d924dbfaa277c5cb8d50a0afa8214f29809027ffa63a2d16 WHIRLPOOL a37736ccc477096163ca6b2a2805605a8e0cf6648a0b009396612253f2972c9c1034a875d6fae172863f2297db62b97f0b471d9854a637882a8fd2ff197dcf66 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBCAAGBQJQHTA/AAoJEBzRPIrUMBNCMZcIAKZvsJMRt4XqJsGzp/F+zfnI -bSEC0+0zUslya0bkkLxPdotA9dvzNJYhnmiaN1qCWuZKqJV+6C7/TPFnTjqjtjXz -6h/CO+0OLbzYDBYyKWS3deIoHMgSrBXc9jZ2uOG//0Fv5my7SxWBRrs9XKhNlSdK -f1N24mdaR1UZUZqPTbFVhhUTUbvcohB7Ny5ooJUHmutgdWlqRzF8WqOyBI/xX1oJ -m1YMmeOYBSjYOjOnzNWl4NcRuPeRwHjA5XcXUqXjASzRLkE/a/wiUiEn3Z5q6MUD -haioAsrQ9cgS0+v09i4Dhdnapx/Ka1wAYDQTIEsxPtQ8KS99RCFF4nPEqoKo3vo= -=Gut8 +iQEcBAEBCAAGBQJQJ2EFAAoJEEdUh39IaPFNCu8IAIp1t6X9ibw1p8kJomad1sn4 +QawoeAZfzd4lwpPrsvkUUInG/n2/xbZe/0QL9MAJarwYv/B43d9rsCyONA5km/Zt +R3IyiLoGiszW6GyqFEh8naJt7kc+fFT6CoH2rt/5pm5X9wB0ZBvynQrip8Vl/jt1 +cUgljMjzqv5zElIRjUPh8nOWSLqtI9dPHSZnq9uEYnnNhQyafRuEyOGuCnMDjkpk +TVomlXNCAkalVUCoADoNwmlrgg0Dv9GQRqJ+64ATL33OCnlhFCyFwaART3I+Jo9b +C3ZrLKDmFWFcPl1I7P8x8bWc0Ye9/AB8YUOhY2lBYIJJ0TTXTzvujYtyE/qswOY= +=xzgZ -----END PGP SIGNATURE----- diff --git a/sys-apps/pcsc-lite/pcsc-lite-1.8.5-r1.ebuild b/sys-apps/pcsc-lite/pcsc-lite-1.8.5-r1.ebuild new file mode 100644 index 000000000000..1e502e63afca --- /dev/null +++ b/sys-apps/pcsc-lite/pcsc-lite-1.8.5-r1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.8.5-r1.ebuild,v 1.1 2012/08/12 07:54:14 ssuominen Exp $ + +EAPI="4" + +inherit multilib eutils user toolchain-funcs + +DESCRIPTION="PC/SC Architecture smartcard middleware library" +HOMEPAGE="http://pcsclite.alioth.debian.org/" + +STUPID_NUM="3741" +MY_P="${PN}-${PV/_/-}" +SRC_URI="http://alioth.debian.org/download.php/${STUPID_NUM}/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_P}" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" + +# This is called libusb so that it doesn't fool people in thinking that +# it is _required_ for USB support. Otherwise they'll disable udev and +# that's going to be worse. +IUSE="libusb +udev" + +REQUIRED_USE="^^ ( udev libusb )" + +CDEPEND="libusb? ( virtual/libusb:1 ) + udev? ( sys-fs/udev )" +DEPEND="${CDEPEND} + virtual/pkgconfig" +RDEPEND="${CDEPEND} + !<app-crypt/ccid-1.4.1-r1" + +pkg_setup() { + enewgroup openct # make sure it exists + enewgroup pcscd + enewuser pcscd -1 -1 /var/run/pcscd pcscd,openct +} + +src_configure() { + econf \ + --disable-maintainer-mode \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --enable-usbdropdir="${EPREFIX}/usr/$(get_libdir)/readers/usb" \ + --without-systemdsystemunitdir \ + $(use_enable udev libudev) \ + $(use_enable libusb) \ + ${myconf} +} + +DOCS=( AUTHORS DRIVERS HELP README SECURITY ChangeLog ) + +src_install() { + default + prune_libtool_files + + newinitd "${FILESDIR}/pcscd-init.5" pcscd + + if use udev; then + local udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" + insinto "${udevdir}"/rules.d + doins "${FILESDIR}"/99-pcscd-hotplug.rules + fi +} + +pkg_postinst() { + elog "Starting from version 1.6.5, pcsc-lite will start as user nobody in" + elog "the pcscd group, to avoid running as root." + elog "" + elog "This also means you need the newest drivers available so that the" + elog "devices get the proper owner." + elog "" + elog "Furthermore, a conf.d file is no longer installed by default, as" + elog "the default configuration does not require one. If you need to" + elog "pass further options to pcscd, create a file and set the" + elog "EXTRA_OPTS variable." + elog "" + if use udev; then + elog "Hotplug support is provided by udev rules; you only need to tell" + elog "the init system to hotplug it, by setting this variable in" + elog "/etc/rc.conf:" + elog "" + elog " rc_hotplug=\"pcscd\"" + fi +} |