diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-12-11 21:57:16 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-12-11 21:57:16 +0000 |
commit | 1918fa45fa1c6f3a7f87476617773abe4d0fe167 (patch) | |
tree | 6d352c47ae861677b45bd9822bede0fcedbb2576 /dev-libs | |
parent | Fix autoloading of inferior-caml-set-font-lock. Thanks to sgbmyr@gmail.com in... (diff) | |
download | gentoo-2-1918fa45fa1c6f3a7f87476617773abe4d0fe167.tar.gz gentoo-2-1918fa45fa1c6f3a7f87476617773abe4d0fe167.tar.bz2 gentoo-2-1918fa45fa1c6f3a7f87476617773abe4d0fe167.zip |
Use the udev_newrules function from udev.eclass
(Portage version: 2.2.0_alpha147/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/openct/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/openct/openct-0.6.20-r3.ebuild | 7 | ||||
-rw-r--r-- | dev-libs/openct/openct-0.6.20.ebuild | 9 |
3 files changed, 11 insertions, 11 deletions
diff --git a/dev-libs/openct/ChangeLog b/dev-libs/openct/ChangeLog index 8495d8f28175..87e3611a0d21 100644 --- a/dev-libs/openct/ChangeLog +++ b/dev-libs/openct/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/openct # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/ChangeLog,v 1.105 2012/12/04 13:18:50 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/ChangeLog,v 1.106 2012/12/11 21:57:16 ssuominen Exp $ + + 11 Dec 2012; Samuli Suominen <ssuominen@gentoo.org> openct-0.6.20.ebuild, + openct-0.6.20-r3.ebuild: + Use the udev_newrules function from udev.eclass 04 Dec 2012; Anthony G. Basile <blueness@gentoo.org> openct-0.6.20-r3.ebuild: stable arm, bug #418765 diff --git a/dev-libs/openct/openct-0.6.20-r3.ebuild b/dev-libs/openct/openct-0.6.20-r3.ebuild index 6a76bf8d7b05..d55ae173b0c9 100644 --- a/dev-libs/openct/openct-0.6.20-r3.ebuild +++ b/dev-libs/openct/openct-0.6.20-r3.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/dev-libs/openct/openct-0.6.20-r3.ebuild,v 1.6 2012/12/04 13:18:50 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/openct-0.6.20-r3.ebuild,v 1.7 2012/12/11 21:57:16 ssuominen Exp $ EAPI=5 @@ -60,10 +60,7 @@ src_install() { prune_libtool_files --all rm "${D}"/usr/$(get_libdir)/openct-ifd.* - if use udev; then - insinto "$(udev_get_udevdir)"/rules.d - newins etc/openct.udev 70-openct.rules - fi + use udev && udev_newrules etc/openct.udev 70-openct.rules newinitd "${FILESDIR}"/openct.rc.2 openct } diff --git a/dev-libs/openct/openct-0.6.20.ebuild b/dev-libs/openct/openct-0.6.20.ebuild index e233078d3f80..10928314b178 100644 --- a/dev-libs/openct/openct-0.6.20.ebuild +++ b/dev-libs/openct/openct-0.6.20.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/openct-0.6.20.ebuild,v 1.9 2012/11/28 22:39:36 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/openct-0.6.20.ebuild,v 1.10 2012/12/11 21:57:16 ssuominen Exp $ EAPI="2" -inherit eutils multilib user +inherit eutils multilib user udev DESCRIPTION="library for accessing smart card terminals" HOMEPAGE="http://www.opensc-project.org/openct/" @@ -35,7 +35,7 @@ src_configure() { --docdir="/usr/share/doc/${PF}" \ --htmldir="/usr/share/doc/${PF}/html" \ --localstatedir=/var \ - --with-udev="/$(get_libdir)/udev" \ + --with-udev="$(udev_get_udevdir)" \ --enable-non-privileged \ --with-daemon-user=openctd \ --with-daemon-groups=usb \ @@ -48,8 +48,7 @@ src_configure() { src_install() { emake DESTDIR="${D}" install || die "emake install failed" - insinto /etc/udev/rules.d/ - newins etc/openct.udev 70-openct.rules || die "newins 70-openct.rules failed" + udev_newrules etc/openct.udev 70-openct.rules || die "newins 70-openct.rules failed" diropts -m0750 -gopenct -oopenctd keepdir /var/run/openct |