summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-02-12 00:57:47 +0000
committerAnthony G. Basile <blueness@gentoo.org>2015-02-12 00:57:47 +0000
commit006cedea02cd0f2f174adb9c54cd140547956109 (patch)
tree27eb2ad9e5696805f0e9bd23fd43acdef9d38afa /sys-fs
parentInitial commit. (diff)
downloadgentoo-2-006cedea02cd0f2f174adb9c54cd140547956109.tar.gz
gentoo-2-006cedea02cd0f2f174adb9c54cd140547956109.tar.bz2
gentoo-2-006cedea02cd0f2f174adb9c54cd140547956109.zip
Update 9999 version for eudev 3.0 branch.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/eudev/ChangeLog7
-rw-r--r--sys-fs/eudev/eudev-9999.ebuild70
2 files changed, 28 insertions, 49 deletions
diff --git a/sys-fs/eudev/ChangeLog b/sys-fs/eudev/ChangeLog
index 018a0f3313d9..7f9ec388355b 100644
--- a/sys-fs/eudev/ChangeLog
+++ b/sys-fs/eudev/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-fs/eudev
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/eudev/ChangeLog,v 1.154 2014/11/29 12:33:24 blueness Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/eudev/ChangeLog,v 1.155 2015/02/12 00:57:47 blueness Exp $
+
+ 12 Feb 2015; Anthony G. Basile <blueness@gentoo.org> eudev-9999.ebuild:
+ Update 9999 version for eudev 3.0 branch.
29 Nov 2014; Anthony G. Basile <blueness@gentoo.org> ChangeLog:
Fix gpg signature
diff --git a/sys-fs/eudev/eudev-9999.ebuild b/sys-fs/eudev/eudev-9999.ebuild
index a30d41e706c5..b658420d3992 100644
--- a/sys-fs/eudev/eudev-9999.ebuild
+++ b/sys-fs/eudev/eudev-9999.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/eudev/eudev-9999.ebuild,v 1.64 2014/11/29 12:32:23 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/eudev/eudev-9999.ebuild,v 1.65 2015/02/12 00:57:47 blueness Exp $
EAPI="5"
@@ -21,7 +21,7 @@ HOMEPAGE="https://github.com/gentoo/eudev"
LICENSE="LGPL-2.1 MIT GPL-2"
SLOT="0"
-IUSE="doc gudev +hwdb +kmod introspection +keymap +modutils +rule-generator selinux static-libs test"
+IUSE="doc gudev +hwdb +kmod introspection selinux static-libs test"
COMMON_DEPEND=">=sys-apps/util-linux-2.20
gudev? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] )
@@ -36,16 +36,17 @@ COMMON_DEPEND=">=sys-apps/util-linux-2.20
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
)"
DEPEND="${COMMON_DEPEND}
- keymap? ( dev-util/gperf )
+ dev-util/gperf
virtual/os-headers
virtual/pkgconfig
>=sys-devel/make-3.82-r4
>=sys-kernel/linux-headers-${KV_min}
- doc? ( >=dev-util/gtk-doc-1.18 )
- app-text/docbook-xml-dtd:4.2
- app-text/docbook-xml-dtd:4.5
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt
+ doc? ( >=dev-util/gtk-doc-1.18
+ app-text/docbook-xml-dtd:4.2
+ app-text/docbook-xml-dtd:4.5
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ )
>=dev-util/intltool-0.50
test? ( app-text/tree dev-lang/perl )"
@@ -56,10 +57,7 @@ RDEPEND="${COMMON_DEPEND}
!sys-apps/systemd"
PDEPEND=">=sys-fs/udev-init-scripts-26
- hwdb? ( >=sys-apps/hwids-20140304[udev] )
- keymap? ( >=sys-apps/hwids-20140304[udev] )"
-
-REQUIRED_USE="keymap? ( hwdb )"
+ hwdb? ( >=sys-apps/hwids-20140304[udev] )"
# The multilib-build.eclass doesn't handle situation where the installed headers
# are different in ABIs. In this case, we install libgudev headers in native
@@ -67,21 +65,16 @@ REQUIRED_USE="keymap? ( hwdb )"
multilib_check_headers() { :; }
pkg_pretend() {
- if ! use rule-generator; then
- ewarn
- ewarn "As of 2013-01-29, ${P} provides the new interface renaming functionality,"
- ewarn "as described in the URL below:"
- ewarn "http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames"
- ewarn
- ewarn "This functionality is enabled BY DEFAULT because eudev has no means of synchronizing"
- ewarn "between the default or user-modified choice of sys-fs/udev. If you wish to disable"
- ewarn "this new iface naming, please be sure that /etc/udev/rules.d/80-net-name-slot.rules"
- ewarn "exists:"
- ewarn "\ttouch /etc/udev/rules.d/80-net-name-slot.rules"
- ewarn
- ewarn "We are working on a better solution for the next beta release."
- ewarn
- fi
+ ewarn
+ ewarn "As of 2013-01-29, ${P} provides the new interface renaming functionality,"
+ ewarn "as described in the URL below:"
+ ewarn "http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames"
+ ewarn
+ ewarn "This functionality is enabled BY DEFAULT because eudev has no means of synchronizing"
+ ewarn "between the default or user-modified choice of sys-fs/udev. If you wish to disable"
+ ewarn "this new iface naming, please be sure that /etc/udev/rules.d/80-net-name-slot.rules"
+ ewarn "exists: touch /etc/udev/rules.d/80-net-name-slot.rules"
+ ewarn
}
pkg_setup() {
@@ -146,23 +139,17 @@ multilib_src_configure() {
--with-rootlibdir=/$(get_libdir)
$(use_enable doc gtk-doc)
$(use_enable introspection)
- $(use_enable keymap)
- $(use_enable kmod libkmod)
- $(usex kmod --enable-modules $(use_enable modutils modules))
+ $(use_enable kmod)
$(use_enable static-libs static)
$(use_enable selinux)
- $(use_enable rule-generator)
)
else
econf_args+=(
--disable-static
--disable-gtk-doc
--disable-introspection
- --disable-keymap
- --disable-libkmod
- --disable-modules
+ --disable-kmod
--disable-selinux
- --disable-rule-generator
)
fi
ECONF_SOURCE="${S}" econf "${econf_args[@]}"
@@ -205,8 +192,6 @@ multilib_src_install_all() {
prune_libtool_files --all
rm -rf "${ED}"/usr/share/doc/${PF}/LICENSE.*
- use rule-generator && doinitd "${FILESDIR}"/udev-postmount
-
# drop distributed hwdb files, they override sys-apps/hwids
rm -f "${ED}"/etc/udev/hwdb.d/*.hwdb
@@ -263,15 +248,6 @@ pkg_postinst() {
ewarn "upgrade go into effect:"
ewarn "\t/etc/init.d/udev --nodeps restart"
- if use rule-generator && \
- [[ -x $(type -P rc-update) ]] && rc-update show | grep udev-postmount | grep -qsv 'boot\|default\|sysinit'; then
- ewarn
- ewarn "Please add the udev-postmount init script to your default runlevel"
- ewarn "to ensure the legacy rule-generator functionality works as reliably"
- ewarn "as possible."
- ewarn "\trc-update add udev-postmount default"
- fi
-
elog
elog "For more information on eudev on Gentoo, writing udev rules, and"
elog "fixing known issues visit:"