summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/trousers')
-rw-r--r--app-crypt/trousers/ChangeLog6
-rw-r--r--app-crypt/trousers/trousers-0.3.10.ebuild5
-rw-r--r--app-crypt/trousers/trousers-0.3.6-r1.ebuild10
3 files changed, 10 insertions, 11 deletions
diff --git a/app-crypt/trousers/ChangeLog b/app-crypt/trousers/ChangeLog
index 8ceb87f7a1c3..c58e61e0b762 100644
--- a/app-crypt/trousers/ChangeLog
+++ b/app-crypt/trousers/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-crypt/trousers
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/ChangeLog,v 1.39 2012/12/11 14:05:08 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/ChangeLog,v 1.40 2012/12/11 15:57:04 axs Exp $
+
+ 11 Dec 2012; Ian Stakenvicius <axs@gentoo.org> trousers-0.3.6-r1.ebuild,
+ trousers-0.3.10.ebuild:
+ converted rules installations to use udev.eclass for recent ebuilds
11 Dec 2012; Ian Stakenvicius <axs@gentoo.org> trousers-0.3.6-r1.ebuild:
virtualized references to sys-fs/udev
diff --git a/app-crypt/trousers/trousers-0.3.10.ebuild b/app-crypt/trousers/trousers-0.3.10.ebuild
index 38e67900fe65..054bdeff2c94 100644
--- a/app-crypt/trousers/trousers-0.3.10.ebuild
+++ b/app-crypt/trousers/trousers-0.3.10.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/app-crypt/trousers/trousers-0.3.10.ebuild,v 1.3 2012/11/16 14:51:49 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/trousers-0.3.10.ebuild,v 1.4 2012/12/11 15:57:04 axs Exp $
EAPI=4
@@ -89,8 +89,7 @@ src_install() {
use doc && dodoc doc/*
newinitd "${FILESDIR}"/tcsd.initd tcsd
newconfd "${FILESDIR}"/tcsd.confd tcsd
- insinto "$(udev_get_udevdir)"/rules.d
- doins "${FILESDIR}"/61-trousers.rules
+ udev_dorules "${FILESDIR}"/61-trousers.rules
fowners tss:tss /var/lib/tpm
rm -f "${ED}"/usr/lib*/libtspi.la
}
diff --git a/app-crypt/trousers/trousers-0.3.6-r1.ebuild b/app-crypt/trousers/trousers-0.3.6-r1.ebuild
index d2617bfd69f4..45597b789846 100644
--- a/app-crypt/trousers/trousers-0.3.6-r1.ebuild
+++ b/app-crypt/trousers/trousers-0.3.6-r1.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/app-crypt/trousers/trousers-0.3.6-r1.ebuild,v 1.3 2012/12/11 14:05:08 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/trousers-0.3.6-r1.ebuild,v 1.4 2012/12/11 15:57:04 axs Exp $
EAPI="3"
-inherit autotools eutils linux-info user toolchain-funcs
+inherit autotools eutils linux-info user udev toolchain-funcs
#MY_P="${PN}-${PV%.*}-${PV##*.}"
@@ -89,11 +89,7 @@ src_install() {
use doc && dodoc doc/*
newinitd "${FILESDIR}/tcsd.initd" tcsd
newconfd "${FILESDIR}/tcsd.confd" tcsd
- # note: if package needs /usr mounted for rules processing then rules need to always be installed in /usr
- local udevdir=/lib/udev
- has_version virtual/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
- insinto "${udevdir}"/rules.d
- doins "${FILESDIR}"/61-trousers.rules
+ udev_dorules "${FILESDIR}"/61-trousers.rules
fowners tss:tss /var/lib/tpm
}