diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-06-26 21:35:46 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-06-26 21:35:46 +0000 |
commit | 966efa1c9822ccc9e483dc2d584721aa98ab991b (patch) | |
tree | 4015fc29600156d8d129183075740f3520e734e9 /sys-apps/pcsc-lite | |
parent | keyword amd64-linux and x86-linux. removed old (diff) | |
download | gentoo-2-966efa1c9822ccc9e483dc2d584721aa98ab991b.tar.gz gentoo-2-966efa1c9822ccc9e483dc2d584721aa98ab991b.tar.bz2 gentoo-2-966efa1c9822ccc9e483dc2d584721aa98ab991b.zip |
Version bump and remove old.
(Portage version: 2.2.0_alpha113/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/files/pcscd-init.4 | 33 | ||||
-rw-r--r-- | sys-apps/pcsc-lite/pcsc-lite-1.8.4.ebuild (renamed from sys-apps/pcsc-lite/pcsc-lite-1.7.2-r2.ebuild) | 50 |
3 files changed, 32 insertions, 59 deletions
diff --git a/sys-apps/pcsc-lite/ChangeLog b/sys-apps/pcsc-lite/ChangeLog index 46681e9c9790..8eeab5df4b35 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.135 2012/05/24 04:12:01 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.136 2012/06/26 21:35:46 flameeyes Exp $ + +*pcsc-lite-1.8.4 (26 Jun 2012) + + 26 Jun 2012; Diego E. Pettenò <flameeyes@gentoo.org> +pcsc-lite-1.8.4.ebuild, + -files/pcscd-init.4, -pcsc-lite-1.7.2-r2.ebuild: + Version bump and remove old. 24 May 2012; Mike Frysinger <vapier@gentoo.org> pcsc-lite-1.6.6-r2.ebuild, pcsc-lite-1.7.2-r2.ebuild, pcsc-lite-1.8.2.ebuild, pcsc-lite-1.8.3.ebuild: diff --git a/sys-apps/pcsc-lite/files/pcscd-init.4 b/sys-apps/pcsc-lite/files/pcscd-init.4 deleted file mode 100644 index 635a43a286b3..000000000000 --- a/sys-apps/pcsc-lite/files/pcscd-init.4 +++ /dev/null @@ -1,33 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/files/pcscd-init.4,v 1.2 2011/08/01 08:49:05 flameeyes Exp $ - -depend() { - need localmount - - after udev openct -} - -start() { - [ -d /var/run/pcscd ] || mkdir -p /var/run/pcscd - - chown pcscd:pcscd /var/run/pcscd - chmod 0755 /var/run/pcscd - - ebegin "Starting pcscd" - start-stop-daemon --start \ - --exec /usr/sbin/pcscd \ - --pidfile /var/run/pcscd/pcscd.pid \ - --user pcscd:pcscd \ - -- ${EXTRA_OPTS} - eend $? -} - -stop() { - ebegin "Stopping pcscd" - start-stop-daemon --stop \ - --exec /usr/sbin/pcscd \ - --pidfile /var/run/pcscd/pcscd.pid - eend $? -} diff --git a/sys-apps/pcsc-lite/pcsc-lite-1.7.2-r2.ebuild b/sys-apps/pcsc-lite/pcsc-lite-1.8.4.ebuild index 27f12ff83597..bb396b196a41 100644 --- a/sys-apps/pcsc-lite/pcsc-lite-1.7.2-r2.ebuild +++ b/sys-apps/pcsc-lite/pcsc-lite-1.8.4.ebuild @@ -1,6 +1,6 @@ # 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.7.2-r2.ebuild,v 1.9 2012/05/24 04:12:01 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.8.4.ebuild,v 1.1 2012/06/26 21:35:46 flameeyes Exp $ EAPI="4" @@ -9,21 +9,27 @@ inherit multilib eutils user DESCRIPTION="PC/SC Architecture smartcard middleware library" HOMEPAGE="http://pcsclite.alioth.debian.org/" -STUPID_NUM="3533" +STUPID_NUM="3734" 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" -IUSE="usb kernel_linux" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -RDEPEND="!kernel_linux? ( usb? ( virtual/libusb:1 ) ) - kernel_linux? ( sys-fs/udev )" -DEPEND="${RDEPEND} +# 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="${RDEPEND} +RDEPEND="${CDEPEND} !<app-crypt/ccid-1.4.1-r1" pkg_setup() { @@ -33,31 +39,26 @@ pkg_setup() { } src_configure() { - local myconf= - - if use kernel_linux; then - myconf="${myconf} --enable-libudev --disable-libusb" - else - myconf="${myconf} --disable-libudev $(use_enable usb libusb)" - fi - econf \ --disable-maintainer-mode \ --disable-dependency-tracking \ --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() { - emake DESTDIR="${D}" install || die "emake install failed" + default find "${D}" -name '*.la' -delete - dodoc AUTHORS DRIVERS HELP README SECURITY ChangeLog - - newinitd "${FILESDIR}/pcscd-init.4" pcscd + newinitd "${FILESDIR}/pcscd-init.5" pcscd - if use kernel_linux; then + if use udev; then insinto /lib/udev/rules.d doins "${FILESDIR}"/99-pcscd-hotplug.rules fi @@ -75,10 +76,9 @@ pkg_postinst() { elog "pass further options to pcscd, create a file and set the" elog "EXTRA_OPTS variable." elog "" - if use kernel_linux; then - elog "HAL support has been dropped by the ebuild; if you want hotplug" - elog "support, that's provided already by UDEV rules; you only need to" - elog "tell the init system to hotplug it, by setting this variable in" + 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\"" |