summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-03-09 17:51:56 +0000
committerAnthony G. Basile <blueness@gentoo.org>2014-03-09 17:51:56 +0000
commit54838b6293729f584fcdd62efa6b6741f30df32d (patch)
tree4414376a83d2e1be9fbdb18a5b2b1efe1449cce8 /sys-fs
parentRequire bzip2 which provides specific symlink #482004 by Florian Berger. (diff)
downloadhistorical-54838b6293729f584fcdd62efa6b6741f30df32d.tar.gz
historical-54838b6293729f584fcdd62efa6b6741f30df32d.tar.bz2
historical-54838b6293729f584fcdd62efa6b6741f30df32d.zip
Version bump: add <linux/fcntl.h> for uclibc
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/eudev/ChangeLog8
-rw-r--r--sys-fs/eudev/Manifest34
-rw-r--r--sys-fs/eudev/eudev-1.5.2.ebuild (renamed from sys-fs/eudev/eudev-1.5.1.ebuild)2
-rw-r--r--sys-fs/eudev/eudev-1.5.ebuild280
4 files changed, 24 insertions, 300 deletions
diff --git a/sys-fs/eudev/ChangeLog b/sys-fs/eudev/ChangeLog
index b7ae88b6b133..929ae83dcc69 100644
--- a/sys-fs/eudev/ChangeLog
+++ b/sys-fs/eudev/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/eudev
# Copyright 1999- Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/eudev/ChangeLog,v 1.92 2014/03/04 14:36:58 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/eudev/ChangeLog,v 1.93 2014/03/09 17:51:45 blueness Exp $
+
+*eudev-1.5.2 (09 Mar 2014)
+
+ 09 Mar 2014; Anthony G. Basile <blueness@gentoo.org> +eudev-1.5.2.ebuild,
+ -eudev-1.5.1.ebuild, -eudev-1.5.ebuild:
+ Version bump: add <linux/fcntl.h> for uclibc
*eudev-1.5.1 (04 Mar 2014)
diff --git a/sys-fs/eudev/Manifest b/sys-fs/eudev/Manifest
index eec2eab415f9..7e488b6e7e18 100644
--- a/sys-fs/eudev/Manifest
+++ b/sys-fs/eudev/Manifest
@@ -9,31 +9,29 @@ AUX udev-postmount 1207 SHA256 0220e949b1f31832a205021c0a8615e77b27b73b7c9b16ef4
DIST eudev-1.2.tar.gz 1677976 SHA256 f9f78c2154eb174a6aab08afde9f5705a9072fc4069031a9f686cabc20beaa22 SHA512 673cd53339d62b23db615e1f67def71ed8d313dcf18edda37498db5fd507a2556073c798f81d16525594b0176fa5f0c9567bea6e4715cc0732b7651d24af4be5 WHIRLPOOL 3329ed127f0fa9696ce4fec406a2e6ff8e9d616ee4fbc6fac0a14a8b80909b6def983dd16c40e7c6abdc93f4da96805fbbb855460daddb1b1352815077b2e009
DIST eudev-1.3.tar.gz 1679385 SHA256 6f1f0b15971a53c7070a44c902c7c1303f952927aa6370dbdf4d84d8bc09fac2 SHA512 5e0016fbe15eebfa68bb04fa7b5aedd7edc7a508afdc030adb7cbec4e9eca84fe16119ca73f5724ec290ad4bba179b42d2d0bc56f3aaf2a07e3c48b18374b3b3 WHIRLPOOL db748742f9149b7a232b0d630a8734e81fb1077ed581fcde88f57f299b6746bcadec0bdd9e7ad914dae848ace9199c7d664006003dc4999af3bfa1e14099f366
DIST eudev-1.4.tar.gz 1712371 SHA256 66da90fdd228444b7ac1868d36f1c0fe52476b966e766398bac7448e105c9f53 SHA512 5be490b3c29ae26c22f9dcf60df26e599ab4dd2841cccadd8bf204f6e6d8103e689708ab0ad484c30ba656c3a693f594fb38cd2eef3b4ece8727bdbeaf8dd4d4 WHIRLPOOL 3f448d1b87253f17c35c9268739fa3d01660192956d70d23c5ed3bbb983ecefb39cf193f8658019ecefce81706667022eaa0170cc6ba3a624fbeca9e148ac839
-DIST eudev-1.5.1.tar.gz 1713433 SHA256 a70bbd30a096d2ce5b7e26db79df8dd3dd106e768c87792f17b9c849c61d5643 SHA512 c2f06acaa330197c1c6cea7f86ff1c697e31631cd0265447658290c32582bc27562ce03a494f50fa77631398edc21ab527f1c8dccfe940bf5b13b02b83ca997d WHIRLPOOL a2aa166d7f24c8036ee8c13741a1fa8d12a3ea95340bc96bb5ab3d92bd10c95de40f6893639403c8bd61a34aeddf5cf619e19963a0284854bbfd5d39aacf256d
-DIST eudev-1.5.tar.gz 1713415 SHA256 1064c1be7ccb57766defe1e8afe004b972d65b3dba236e393c68e6f3f463858b SHA512 e169512a75f714ca0bb44ad4c7ab5a6244f76c059dcde89684c4285222deb50a6058c20ecb3cefdba9850e7663fc4afa97a8b9e51bf32a0e84682be2e0e45649 WHIRLPOOL 818fd69821cb98b85ec5ce3984c496cd3e73db754d68a3b7ee98951d16312a3fcfd6d47671710436c62058ddeaebb6ae653c7ebf2338643e9a6a404a1e522c2a
+DIST eudev-1.5.2.tar.gz 1713463 SHA256 5ddbb5d73de38298665924bfc33dfd0e1f4fa0a758f26459effb6e78b757a94a SHA512 292103f7056f3249dd282300d9ee9c7a3aa1ef0941d991c278e891265132a988a8a9393b8c225abe147dff87d7e91e33e8ea5835e9119517615c6f59bf8cdca5 WHIRLPOOL dec6fb3517528a0a77c5eebfaccb15c4ecaa72c8a1583b79355d23c0328fa1396d06ed51a461c35de2b2690931696ab3322b14e709bd7e62a901ccd4de9e045a
EBUILD eudev-1.2-r1.ebuild 7831 SHA256 64e04905164c2563caec4ab0bd3534f11250e6698b4e747838ef9fa0806556d8 SHA512 33d48b5d5cc724a43a6f196347d575e00a385a676793830a195d81014a5aa6392bb7ed74409d601e4b5505fa17ff2a14060e77be2bc4088a4ea6096cdf6fd9bb WHIRLPOOL 09c53f350519345c9059eafab46a75ea41dac34621f3ce1cbad200d97b5218d3ebfbb7ba94f62b3c41d78e1ddd64a1465ea9996eba465252448e5d269c08f4d1
EBUILD eudev-1.2.ebuild 6875 SHA256 0b1f3e857e95748cccba297fb54199af85f2644d0feb6d50a94774498a170dee SHA512 63ac1c3303ee3b754bff194b3c653642ae7f338c5201e8777040c2f6debcfdd8470a048e825f0b43e49439e0e4082e8041aa13c1dba777248a3bd22f2bc44d6a WHIRLPOOL 896d28327c5780a3fb3597e03902bf5aa19bb8a654dab5e0c1d4ea12d043c22e8d1a0b6e77324370db2ae3b9380aed8abadff8ceef72f19ab300eeed951d1cf7
EBUILD eudev-1.3.ebuild 7934 SHA256 8e5b74693deaab4c4951e53052f9f13d66373dff7096887c9b7e3fd7ae171bd1 SHA512 339118158dddac94ec550ff82c4bc402f7820e9d74e8ac0bc0ccb665095537e8d533872196998fc1b4412d4bef75651825749b7077783612fe30c5e238100f3d WHIRLPOOL fb2b7a7121e0fa31403d061ee3c7c39119daf960a5ad10ea115cca38e5b2f187d4c3de9ff1e764d15c50f00a3e9919f2deff6aeb7da940a78b13b7dd94115755
EBUILD eudev-1.4-r1.ebuild 7951 SHA256 8c3534cc148093f506f403a2d148de4b2218d70e177816a4052a35f09b3231e5 SHA512 f76bd152ea192c954448631a8d2f48cfc01d47b80893e5686271da7910cec1cba8669fec149aa5d7366702e77dab9df2fd19c6d403f4690b4eecfd7c067d9827 WHIRLPOOL 6a6f751ada95d1be23f4cef16acb793c2d1d16e0556cfb8fba0c0c4a142c6dc540c08d40e51c32c191709a156bc13bbb9540a73b0738c1417e4fba85689e8107
-EBUILD eudev-1.5.1.ebuild 7950 SHA256 76b2139d4c85473502861f224f67840b17cac3f3fd4a73f68be01128b4073296 SHA512 d13b7494f0e8a53b15cd5aa26bdd0021703cb57c5d2722b012ef2caa1a6b977342548b28ca4410b3672c691f34c6b2392df5da749784b891bbd9b998815c815b WHIRLPOOL 0f4901988cec6a15a416955d6c6c6e040508eade759ce8d955596233781c117df7834df78a95fdd14c0a67859d31711a6265f9f243c2602f5f1278a92bb4d2a1
-EBUILD eudev-1.5.ebuild 7948 SHA256 cf42ab1062c004bd51b265a82a0ffcf059a4e6bc8d6ff5056cf8f16236c79da1 SHA512 b80930819fe03b6d3910f0489cb6b422cee5d1fcc22ba3b88e0471d869a1febd5c8f6e8fbb1b93c693ff539f2075b71bd6781a8ba24048d87e0dc79c6c4abe9b WHIRLPOOL 5150e0bc5f66db1a4e96f43896ee666573ebaef8b7387573addb6a024fff52689144560899a574e059d247732bf2447b037443db7440a89e71ecf80afcf5cd3b
+EBUILD eudev-1.5.2.ebuild 7950 SHA256 6677a6ee8c532bd6a1d33341e0a58d9b864fdb7597e4d523e8e24e7f0c83eb5a SHA512 f383ddabe3837358d34688bc3114d6df525ee41c4339d5fa66c85e7e866f1add17c251e0b8f025e234af9c9aa1537b472c84aa6549ac9c7534226f88c6baa6a5 WHIRLPOOL b5ed5b6542c8da693f337e464b8279926563e7a4165271419c4f8af0959e9c3b82990590bde4ec948faf42ed43d21a0f8106a49ef1aaa68eaff28be0f4a9113b
EBUILD eudev-9999.ebuild 7950 SHA256 27876275702b6ddf3af6b68dd7df50fc093c553deb7d51715e095271c12c0cc2 SHA512 492eaa88f95b31c8d2c5d7b018960d4a06256358afd64b32f232eac418109c89241cf8f73bac8763918b5369455ae68d70f95ae778db6763e77fc4943efa5109 WHIRLPOOL 20b58257342c4c3b1cacd951b2fe4dd54d6011ec48c569238de96bbb84b22771a6e0d6eb4075dab41d9c4686da25ee8d67e85540e08a214f791d09dbac1428e2
-MISC ChangeLog 13931 SHA256 b0e82d7f2b22968440e7f701f01ab43010d96a43e70bb4044b2a9778bf803e90 SHA512 f4f4ab536a5c93388ca6b8d82e13b698cd0bdbf6eb9387ecd2be7e97b9379b986f7f1a7cc38d4dfa4b0352ffc2e14fc030a832c47468fe6f5e1bc42e44e9f4cd WHIRLPOOL 4eaaf4e0677503017bee66119075ba2a26a51b1c88cc3d70d76b12830700ecdedbfda3236a22b628ed8e40edbde75e2501a5e4d201dd6c4aa59fe7e85d44c8cd
+MISC ChangeLog 14125 SHA256 3a22787802791bd5f1fb8e71cc45f6b98a688974d45182f53d49572bcadca2ee SHA512 68e447722605439300140a1db99ebf578ccbcbc32a3c65fc9a48c60225e05dfc2e78dc647454b73c8551030fad01fc0cdb5428638eb5b471222aa3d1b0035973 WHIRLPOOL 5b0363e5ed910bb7c19b80aab4878c1c7754742825fe58bc73e6ff64db19b2ad7cef3020a7662e15edd2b2a68565b609e6f6d5588da583ed1040c4d74d140273
MISC metadata.xml 978 SHA256 273446e57cfba7f612e72c3dcc2e1b93ac0003f878c504aa72daa762f2cdbba5 SHA512 244dc230cf7123afef2c4c0f0caa418bbc621f3da0e6303f7cecfb4f3cc53290fcf0adddf2d176ff208991a5bb27801c5c9f6ad5ea3bada513f7ebb22d02d06a WHIRLPOOL e39a5caec32bcd404eb2fdb54e3abff5631f7115786d039a6f2f04a8503e445f971a993dedd0564022e148133e2f15c4579b3cc664ffd393003a858ac77166c5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJTFeWGAAoJEJOE+m71LUu6TrAQAK0DXzPQZo/IvI+0q9H3uyJG
-c1mCbWcvamkFeL0CQDK3W1Ijaf9T+aA0I6ME14crGIndCliOSs9VKEQScZZQ1nk3
-e/eUTDIF3yYvWkH523l14tkrQ4ByJ37ZlhnuuPTT5YqwdJy4/iFK34pBvLkhZLj4
-4fIYpZ9gsny6CunozWDvzVKJQ0PJXqc0OTVOd9J2SX4aTtn/NMQ4B0B7jH70bjhB
-75hHQtDWL+lWa0G1w2WGHGON/+VzZDaWYu3L/7Z44VSPRShGDp+IzETWNwejOAv+
-+qzkq2YHjO6SB2dQwDDhaEtCwCw0XQIItH0ffYbcTF6sLsrnpd6eJcZNp0Q8aotB
-WruTQbh1FXORKUa0VRAdycrtuOglLHWr+sv1g4rOho2ua6vtuUsepAxWlbu/Y6J/
-vy1LEgEmxFG7mg8vJ1oNUsYUvSEuptH/cjbY2/Ya2Blz1CWvoceNjtDeLS11EVCM
-80VKUPY5DfFf4gjXfQiLnjMtsB+1eqxgN8T94zxy+Ot6FihY6Z+ygg/boRql8Pb6
-ye9Dz1l2Crwc10DSAd+pqT2gk0M/lY7bN0Q2n9T380z8MlVNYOBQWtB4dvhUvN/X
-Iya/Qj/tdaJ2QriqfDIMjI7qIvq1UOF2cV8GQHH0So33990lI0jZhulmoavLJnHl
-2o5z/EFE22ZxyQ+4rc7m
-=p9hO
+iQIcBAEBCAAGBQJTHKq7AAoJEJOE+m71LUu6v90P/ikHF2NZB4t+5dJyTgbPP1oU
+cBrVMK3gS54bKeJVczwhyxg74C2/HgllduwXHekOgXvS2HsOGqdrhVECuaEz6jvt
+EGDtupoXtngyizsXl8vKMXHymTSDlhwxNGbE/F4UoX5UTANvrCyvwV1DAI0cg7ut
+ga0FfKoFb5xE64gnIytcmOZs7ZpJXXhO1f+m3pS7WVB5lEWKzii+JPmr1crx4vCt
+w/t59xruBXCvzAGNPaY7No0pzbD87P37KCXV7Vzmld0ufCTxt/0UvM0YhL2/wbcu
+rK84quAbRfoZlIbuyvHIsYjdI7kFqduQH7KQTmn1Lp0e2tpDNXd4Y8ITPtT+05/y
+Fr6l2ug97I+XEyxYzpGu0VgXUH0OkeiXsPt/vzayF1ucDvSX1ivzteEd+Bja2OuT
+Wst36JpYzwXpX6Vjq2EqxUbriyabu2d2FCbGkkvztWQkYFTYGDFlFtyoqxaYqdqb
+WqpNtExbGFk5azkqlUL6DRIclFigkTVLKyN2QzpTpFtOLe5uhG+uVx5jf8JAI9rV
+1+bE/+j952sA2/hmKsXXVPhFxLsnMw7B6C7WX/ZawWL1ls9FocdfhizdU36eXsHG
+czXU+OOQV5s07j3TmvloPcRgnMfSKGpd0ZahEK4cOLHwCBzGbRfbI9JXr+DXVWsm
+5E+ARNS8N5OuvJVYgn0p
+=e5vA
-----END PGP SIGNATURE-----
diff --git a/sys-fs/eudev/eudev-1.5.1.ebuild b/sys-fs/eudev/eudev-1.5.2.ebuild
index da4fc18902b1..564cc6078d96 100644
--- a/sys-fs/eudev/eudev-1.5.1.ebuild
+++ b/sys-fs/eudev/eudev-1.5.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/eudev/eudev-1.5.1.ebuild,v 1.1 2014/03/04 14:36:58 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/eudev/eudev-1.5.2.ebuild,v 1.1 2014/03/09 17:51:45 blueness Exp $
EAPI="5"
diff --git a/sys-fs/eudev/eudev-1.5.ebuild b/sys-fs/eudev/eudev-1.5.ebuild
deleted file mode 100644
index 684c2574a65f..000000000000
--- a/sys-fs/eudev/eudev-1.5.ebuild
+++ /dev/null
@@ -1,280 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/eudev/eudev-1.5.ebuild,v 1.1 2014/02/28 22:51:06 blueness Exp $
-
-EAPI="5"
-
-KV_min=2.6.31
-
-inherit autotools eutils multilib linux-info multilib-minimal
-
-if [[ ${PV} = 9999* ]]
-then
- EGIT_REPO_URI="git://github.com/gentoo/eudev.git"
- inherit git-2
-else
- SRC_URI="http://dev.gentoo.org/~blueness/${PN}/${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
-fi
-
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
-HOMEPAGE="https://github.com/gentoo/eudev"
-
-LICENSE="LGPL-2.1 MIT GPL-2"
-SLOT="0"
-IUSE="doc gudev +hwdb kmod introspection +keymap +modutils +openrc +rule-generator selinux static-libs test"
-
-COMMON_DEPEND="gudev? ( dev-libs/glib:2 )
- kmod? ( sys-apps/kmod )
- introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
- selinux? ( sys-libs/libselinux )
- >=sys-apps/util-linux-2.20
- !<sys-libs/glibc-2.11
- abi_x86_32? (
- !<=app-emulation/emul-linux-x86-baselibs-20130224-r7
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
- )"
-
-DEPEND="${COMMON_DEPEND}
- keymap? ( dev-util/gperf )
- >=dev-util/intltool-0.40.0
- virtual/pkgconfig
- virtual/os-headers
- !<sys-kernel/linux-headers-${KV_min}
- doc? ( dev-util/gtk-doc )
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt
- test? ( app-text/tree dev-lang/perl )"
-
-RDEPEND="${COMMON_DEPEND}
- !sys-fs/udev
- !sys-apps/coldplug
- !sys-apps/systemd
- !<sys-fs/lvm2-2.02.97
- !sys-fs/device-mapper
- !<sys-fs/udev-init-scripts-18"
-
-PDEPEND="hwdb? ( >=sys-apps/hwids-20130717-r1[udev] )
- keymap? ( >=sys-apps/hwids-20130717-r1[udev] )
- >=virtual/udev-206-r2
- openrc? ( >=sys-fs/udev-init-scripts-18 )"
-
-REQUIRED_USE="keymap? ( hwdb )"
-
-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
-}
-
-pkg_setup()
-{
- linux-info_pkg_setup
- get_running_version
-
- # These are required kernel options, but we don't error out on them
- # because you can build under one kernel and run under another.
- CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~!IDE ~INOTIFY_USER ~SIGNALFD ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2"
-
- if kernel_is lt ${KV_min//./ }; then
- ewarn
- ewarn "Your current running kernel version ${KV_FULL} is too old to run ${P}."
- ewarn "Make sure to run udev under kernel version ${KV_min} or above."
- ewarn
- fi
-}
-
-src_prepare()
-{
- # change rules back to group uucp instead of dialout for now
- sed -e 's/GROUP="dialout"/GROUP="uucp"/' -i rules/*.rules \
- || die "failed to change group dialout to uucp"
-
- epatch_user
-
- if [[ ! -e configure ]]
- then
- if use doc
- then
- gtkdocize --docdir docs || die "gtkdocize failed"
- else
- echo 'EXTRA_DIST =' > docs/gtk-doc.make
- fi
- eautoreconf
- else
- elibtoolize
- fi
-}
-
-multilib_src_configure()
-{
- local econf_args
-
- econf_args=(
- ac_cv_search_cap_init=
- ac_cv_header_sys_capability_h=yes
- DBUS_CFLAGS=' '
- DBUS_LIBS=' '
- --with-rootprefix=
- --docdir=/usr/share/doc/${PF}
- --libdir=/usr/$(get_libdir)
- --with-firmware-path="${EPREFIX}usr/lib/firmware/updates:${EPREFIX}usr/lib/firmware:${EPREFIX}lib/firmware/updates:${EPREFIX}lib/firmware"
- --with-html-dir="/usr/share/doc/${PF}/html"
- --enable-split-usr
- --exec-prefix=/
- )
-
- # Only build libudev for non-native_abi, and only install it to libdir,
- # that means all options only apply to native_abi
- if multilib_build_binaries; then econf_args+=(
- --with-rootlibdir=/$(get_libdir)
- $(use_enable doc gtk-doc)
- $(use_enable gudev)
- $(use_enable introspection)
- $(use_enable keymap)
- $(use_enable kmod libkmod)
- $(usex kmod --enable-modules $(use_enable modutils modules))
- $(use_enable static-libs static)
- $(use_enable selinux)
- $(use_enable rule-generator)
- )
- else econf_args+=(
- $(echo --disable-{gtk-doc,gudev,introspection,keymap,libkmod,modules,static,selinux,rule-generator})
- )
- fi
- ECONF_SOURCE="${S}" econf "${econf_args[@]}"
-}
-
-multilib_src_compile()
-{
- if ! multilib_build_binaries; then
- cd src/libudev || die "Could not change directory"
- fi
- emake
-}
-
-multilib_src_install()
-{
- if ! multilib_build_binaries; then
- cd src/libudev || die "Could not change directory"
- fi
- emake DESTDIR="${D}" install
-}
-
-multilib_src_test()
-{
- # make sandbox get out of the way
- # these are safe because there is a fake root filesystem put in place,
- # but sandbox seems to evaluate the paths of the test i/o instead of the
- # paths of the actual i/o that results.
- # also only test for native abi
- if multilib_build_binaries; then
- addread /sys
- addwrite /dev
- addwrite /run
- default_src_test
- fi
-}
-
-# disable header checks because we only install libudev headers for non-native abi
-multilib_check_headers()
-{
- :
-}
-
-multilib_src_install_all()
-{
- prune_libtool_files --all
- rm -rf "${ED}"/usr/share/doc/${PF}/LICENSE.*
-
- use rule-generator && use openrc && doinitd "${FILESDIR}"/udev-postmount
-
- # drop distributed hwdb files, they override sys-apps/hwids
- rm -f "${ED}"/etc/udev/hwdb.d/*.hwdb
-
- insinto /lib/udev/rules.d
- doins "${FILESDIR}"/40-gentoo.rules
-}
-
-pkg_preinst()
-{
- local htmldir
- for htmldir in gudev libudev; do
- if [[ -d ${EROOT}usr/share/gtk-doc/html/${htmldir} ]]
- then
- rm -rf "${EROOT}"usr/share/gtk-doc/html/${htmldir}
- fi
- if [[ -d ${ED}/usr/share/doc/${PF}/html/${htmldir} ]]
- then
- dosym ../../doc/${PF}/html/${htmldir} \
- /usr/share/gtk-doc/html/${htmldir}
- fi
- done
-}
-
-pkg_postinst()
-{
- mkdir -p "${EROOT}"run
-
- # "losetup -f" is confused if there is an empty /dev/loop/, Bug #338766
- # So try to remove it here (will only work if empty).
- rmdir "${EROOT}"dev/loop 2>/dev/null
- if [[ -d ${EROOT}dev/loop ]]
- then
- ewarn "Please make sure you remove /dev/loop, else losetup"
- ewarn "may be confused when looking for unused devices."
- fi
-
- # 64-device-mapper.rules now gets installed by sys-fs/device-mapper
- # remove it if user don't has sys-fs/device-mapper installed, 27 Jun 2007
- if [[ -f ${EROOT}etc/udev/rules.d/64-device-mapper.rules ]] &&
- ! has_version sys-fs/device-mapper
- then
- rm -f "${EROOT}"etc/udev/rules.d/64-device-mapper.rules
- einfo "Removed unneeded file 64-device-mapper.rules"
- fi
-
- if use hwdb && has_version 'sys-apps/hwids[udev]'; then
- udevadm hwdb --update --root="${ROOT%/}"
-
- # http://cgit.freedesktop.org/systemd/systemd/commit/?id=1fab57c209035f7e66198343074e9cee06718bda
- # reload database after it has be rebuilt, but only if we are not upgrading
- # also pass if we are -9999 since who knows what hwdb related changes there might be
- if [[ ${REPLACING_VERSIONS%-r*} == ${PV} || -z ${REPLACING_VERSIONS} ]] && \
- [[ ${ROOT%/} == "" ]] && [[ ${PV} != "9999" ]]; then
- udevadm control --reload
- fi
- fi
-
- ewarn
- ewarn "You need to restart eudev as soon as possible to make the"
- ewarn "upgrade go into effect:"
- ewarn "\t/etc/init.d/udev --nodeps restart"
-
- if use rule-generator && use openrc; 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:"
- elog " http://www.gentoo.org/doc/en/udev-guide.xml"
- elog
-}