diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-20 01:11:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-20 01:11:08 +0000 |
commit | cbaaf65cf307140f0ad15edf7cef174b7c350e30 (patch) | |
tree | 074c45696529ac9af51c73ea66ee19fe07ebfe9e /sys-apps/pcsc-lite | |
parent | make sure libshadow isnt installed and cleanup securetty additions based on arch (diff) | |
download | gentoo-2-cbaaf65cf307140f0ad15edf7cef174b7c350e30.tar.gz gentoo-2-cbaaf65cf307140f0ad15edf7cef174b7c350e30.tar.bz2 gentoo-2-cbaaf65cf307140f0ad15edf7cef174b7c350e30.zip |
Make sure we remove run files before trying to start or pcscd will abort #99505 by Alon Bar-Lev.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-apps/pcsc-lite')
-rw-r--r-- | sys-apps/pcsc-lite/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/pcsc-lite/files/pcscd-confd | 4 | ||||
-rw-r--r-- | sys-apps/pcsc-lite/files/pcscd-init | 8 | ||||
-rw-r--r-- | sys-apps/pcsc-lite/pcsc-lite-1.2.9_beta6.ebuild | 30 |
4 files changed, 27 insertions, 24 deletions
diff --git a/sys-apps/pcsc-lite/ChangeLog b/sys-apps/pcsc-lite/ChangeLog index 9a9f88674c05..f8faffdba28c 100644 --- a/sys-apps/pcsc-lite/ChangeLog +++ b/sys-apps/pcsc-lite/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/pcsc-lite -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.12 2005/01/23 11:10:29 corsair Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.13 2005/07/20 01:11:08 vapier Exp $ + + 20 Jul 2005; Mike Frysinger <vapier@gentoo.org> +files/pcscd-confd, + files/pcscd-init, pcsc-lite-1.2.9_beta6.ebuild: + Make sure we remove run files before trying to start or pcscd will abort + #99505 by Alon Bar-Lev. 23 Jan 2005; Markus Rothe <corsair@gentoo.org> pcsc-lite-1.2.0.ebuild, pcsc-lite-1.2.9_beta6.ebuild: diff --git a/sys-apps/pcsc-lite/files/pcscd-confd b/sys-apps/pcsc-lite/files/pcscd-confd new file mode 100644 index 000000000000..47f71289c35a --- /dev/null +++ b/sys-apps/pcsc-lite/files/pcscd-confd @@ -0,0 +1,4 @@ +# /etc/conf.d/pcscd + +# Options to pass to pcscd, see pcscd(8) manpage +PCSCD_OPTS="" diff --git a/sys-apps/pcsc-lite/files/pcscd-init b/sys-apps/pcsc-lite/files/pcscd-init index 05aec14b9163..19b3d58f081f 100644 --- a/sys-apps/pcsc-lite/files/pcscd-init +++ b/sys-apps/pcsc-lite/files/pcscd-init @@ -1,11 +1,13 @@ #!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 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,v 1.3 2004/07/15 00:47:27 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/files/pcscd-init,v 1.4 2005/07/20 01:11:08 vapier Exp $ start() { + # pcscd won't start if these exist + rm -f /var/run/pcscd.{comm,pub} ebegin "Starting pcscd" - start-stop-daemon --start --quiet --background --exec /usr/sbin/pcscd + /usr/sbin/pcscd ${PCSCD_OPTS} eend $? } diff --git a/sys-apps/pcsc-lite/pcsc-lite-1.2.9_beta6.ebuild b/sys-apps/pcsc-lite/pcsc-lite-1.2.9_beta6.ebuild index d9a6ca10d9dd..4809b4b94118 100644 --- a/sys-apps/pcsc-lite/pcsc-lite-1.2.9_beta6.ebuild +++ b/sys-apps/pcsc-lite/pcsc-lite-1.2.9_beta6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 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.2.9_beta6.ebuild,v 1.4 2005/05/14 18:02:29 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.2.9_beta6.ebuild,v 1.5 2005/07/20 01:11:08 vapier Exp $ inherit eutils @@ -12,23 +12,14 @@ SRC_URI="https://alioth.debian.org/download.php/${NUM}/${MY_P}.tar.gz" LICENSE="as-is" SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~ppc64" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" IUSE="static debug" RDEPEND="!static? ( dev-libs/libusb )" -DEPEND="sys-devel/make - sys-devel/libtool - sys-apps/sed - sys-devel/flex - sys-apps/gawk - dev-libs/libusb - dev-util/pkgconfig - sys-devel/gcc - virtual/libc - dev-libs/libusb - >=sys-apps/portage-2.0.51" - -S="${WORKDIR}/${MY_P}" +DEPEND="dev-libs/libusb + dev-util/pkgconfig" + +S=${WORKDIR}/${MY_P} src_compile() { econf \ @@ -37,20 +28,21 @@ src_compile() { --enable-muscledropdir=/usr/share/pcsc/services \ $(use_enable debug) \ $(use_enable static) \ - || die "./configure failed" + || die "configure failed" emake || die } src_install() { - emake DESTDIR=${D} install || die + make DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog DRIVERS HELP INSTALL NEWS README SECURITY dodoc doc/*.pdf doc/README.DAEMON docinto sample dodoc src/utils/README src/utils/sample.* - rm -rf ${D}/usr/doc + rm -r "${D}"/usr/doc - newinitd ${FILESDIR}/pcscd-init pcscd + newinitd "${FILESDIR}"/pcscd-init pcscd + newconfd "${FILESDIR}"/pcscd-confd pcscd } pkg_postinst() { |