diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2013-02-01 08:10:54 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2013-02-01 08:10:54 +0000 |
commit | 84b979c83e1d4026c5172010c1ce57dd21a90d78 (patch) | |
tree | 1ded6299fe73316c177dc6e97d3077bce7c167d6 /sys-fs | |
parent | Fix for #402895 (diff) | |
download | historical-84b979c83e1d4026c5172010c1ce57dd21a90d78.tar.gz historical-84b979c83e1d4026c5172010c1ce57dd21a90d78.tar.bz2 historical-84b979c83e1d4026c5172010c1ce57dd21a90d78.zip |
old
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64
Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/udev-init-scripts/ChangeLog | 7 | ||||
-rw-r--r-- | sys-fs/udev-init-scripts/Manifest | 19 | ||||
-rw-r--r-- | sys-fs/udev-init-scripts/files/udev-init-scripts-19-start-only-regular-file.patch | 11 | ||||
-rw-r--r-- | sys-fs/udev-init-scripts/udev-init-scripts-19-r1.ebuild | 85 | ||||
-rw-r--r-- | sys-fs/udev/ChangeLog | 5 | ||||
-rw-r--r-- | sys-fs/udev/Manifest | 17 | ||||
-rw-r--r-- | sys-fs/udev/udev-197-r3.ebuild | 494 |
7 files changed, 40 insertions, 598 deletions
diff --git a/sys-fs/udev-init-scripts/ChangeLog b/sys-fs/udev-init-scripts/ChangeLog index f3c1286e295e..8b6c2b005d4c 100644 --- a/sys-fs/udev-init-scripts/ChangeLog +++ b/sys-fs/udev-init-scripts/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-fs/udev-init-scripts # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev-init-scripts/ChangeLog,v 1.40 2013/01/31 23:08:27 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev-init-scripts/ChangeLog,v 1.41 2013/02/01 08:09:29 ssuominen Exp $ + + 01 Feb 2013; Samuli Suominen <ssuominen@gentoo.org> + -udev-init-scripts-19-r1.ebuild, + -files/udev-init-scripts-19-start-only-regular-file.patch: + old 31 Jan 2013; Agostino Sarubbo <ago@gentoo.org> udev-init-scripts-22.ebuild: Stable for ppc, wrt bug #452556 diff --git a/sys-fs/udev-init-scripts/Manifest b/sys-fs/udev-init-scripts/Manifest index 5182a1580d55..73e44d36e5ab 100644 --- a/sys-fs/udev-init-scripts/Manifest +++ b/sys-fs/udev-init-scripts/Manifest @@ -1,8 +1,19 @@ -AUX udev-init-scripts-19-start-only-regular-file.patch 249 SHA256 367a3fd5282bca9846b515165d40ea072ea0390248f080832b650d6439d68f5e SHA512 aa10ba463e3aee6eb878eb13de5ea35b34f98996d35437999b333a8e717dc9e03b6fedeadd2a84815e64f5ffbeded53a849b838e8a700a14b86f7ef8b9e2bb32 WHIRLPOOL f1246fbee309968d6a25f5f11b3aad33120c369ef4c0367c47fd0c596b7b72e0340848c087616bab3a9d826f0ee88799269c510cb075f823b7a5404094970cda -DIST udev-init-scripts-19.tar.bz2 4792 SHA256 6917206ed2804c044352061c6acb1ca9a86df4a963735660df8e2dce86037916 SHA512 79a3e94b3bf4fc3af4e3bad48fdf6a0124c94efb4ddc346eae360cef8b73040d433d27f55c0d480b6e7ded661b7d899e443213a7083ff6e4758e0125186876dc WHIRLPOOL 48bec0466226e3455213e5f70f0a48ae18ab3ace6606050ccfa0c30ceb422361334fc6056278454c9908e99839f99e8dcce75b2c7ba414616758760f98aa577b +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST udev-init-scripts-22.tar.bz2 4877 SHA256 1cb74fe6f418e5ace297efb72682a92e0a81e387afefae3f8e4b619ee2129d51 SHA512 5b11b639d98a1e2edc932887ed51b45119c14f26217e8fe44bdbb9dd4605230e2f83f2ad582eb00d88912c643ba604e38b2a3d52b3573706e861596cca1335ea WHIRLPOOL 7af3709f1824016fd3d7efd319efcaff4a109282ad75d4c43fe981308a641712a17df2f55e2ec7c6a714ad134eacb48b84abf3fe65c0443b94a632ce3113ee51 -EBUILD udev-init-scripts-19-r1.ebuild 2362 SHA256 f11c05b33d1dcc496d895e41f15653a704ebb6132e09b0527503f001c9c73508 SHA512 87647acf144a6b615e7f7cb68fbbeff5df8f8bf57cc5a8223587556feddccfb1cfaaf0957b8b47a8a135af6652e74d20a91cc16205284344db7148671072762a WHIRLPOOL a9add47872aaacca671379479e72c77155234ff1c25b0bbe5702e8b71b57bab8ee13a99c4e5941a78f207021a40361e1b8b276d7ea30f5a433b63c12f0e05578 EBUILD udev-init-scripts-22.ebuild 2352 SHA256 0014bd80609dfe01bec7778345e3dca71d5f16c919268ff4cce6605fc125f0a7 SHA512 0d3c7217a15a5c8f4d7f9e096374fd8c9c3719f6603fe053c521833df2ec447e2f602dbbf62b1882099d748d69d87dfc753429294d0b91dfba3c42a56498aabc WHIRLPOOL c51ab64fd402fe570e8d3f34a6f7e03cf55259d22f8032c4487cc81f27a7462c6aa6ffa979d716ac41e37dd5041ae2db0beffe05d0ea22cad52d8079dcae5cee EBUILD udev-init-scripts-9999.ebuild 2363 SHA256 9f95d58712dc6415256d14ccb577a5eafb5fb170435f8e85f3db77a4b31976fc SHA512 11b811e2c5cb72976dd0531a3911af126dae5805c55d491f0724e02fbf0cfe5f6318bd8cb34e0a9c6cbe50846d7f4a342f567d93a186f2c0be936628372893cb WHIRLPOOL 41fddcf76a9e2ee661d637c4d588e09a554a757a18eb582ed1a290fde2e3a5a1412a3399953c603fa9368bd94e5db5815e4bd1043eda8c3382b59d853fdcbff0 -MISC ChangeLog 7279 SHA256 8f0e43c07a01dad9c7e73995b4483ec23f775c16561615345ac1502695c21848 SHA512 e296cbb5625229a256b59fa7bc9a5745db017babbbbf37cb284f76c9d192edfb5a3d1dcfd8d3bfc35d5b7f9e3f68824cc96fc72a9cbada6fee48df50a56620d7 WHIRLPOOL e7e7e27cc8fd63b5de7359b98d9e2b9d54141d4789e7c309100f4cdcaec97c1c03ee22b9bd78bcc7112dee3d17744439d55304e2aa649139186fd0a71522b497 +MISC ChangeLog 7442 SHA256 1dfa4b8c2a3f61d166bc2c7245f9c28a19782da9a845f28b6cd700ae642967b5 SHA512 e49b961b65c4e6276b190a601c3f672d1f5caefb8d7885402a20d8b56af9a5392fa51b6252bc42772ef46e1b470d5f68ae03eb5650270869e425cf9550b6e2b7 WHIRLPOOL 2cffe16e9f8d4e77e27f25c04661cbb91c9f90348dd7babeb054bf5abf8741506300fe136ec096ad8108ef221f83dc9425ae6f10d05a55799c13a83befefab06 MISC metadata.xml 206 SHA256 e8bae0ea2f16b0ad92858b68718c01ab85b5e6995a35b88c74e4ad9772b9f813 SHA512 f6558663be8014488111639a4eeadc9e691f57f2eb4f3c97d6022a50ab2659fac2df458cefed5e29a6661d59221b15332aefa00c027552a8f4bbefc3988e2a90 WHIRLPOOL b515e201c4f614326c4ee0ef0e13fd9d277e913d96265ecce11b41c9628fa38d1e34f90fab1073527e153a9e2e8929c5fee748a8e5eaf98b58fe15928c8ad457 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJRC3grAAoJEEdUh39IaPFN4BcH+QHWu33RwRMGpZhMxt5pjxj4 +MzhCdK3vJLxIgzGqCHKykiSZxDVx1/onMuJ52TU3tAGCGNru/sIlqwtgx1LSOYiS +RskVfq7PgIMqVA3phYbuU+6iIDIsHXGpc+32rEaLQpM1pxCUB4+fRwH3DVQE4/Wa +CqovT0NT4KEBuP3fYOcXzBLVmIIgA4cbBxdahyteKmvUb47g6pc80nRTqgZ4DGcA +5bjdlvfvRXWSCAmfdZKlTwJsAb2dW6SWZ0KMDfBIjduF/x8I9PP26+TKdls4jOb+ +JbQ0ikyjnOqdzPFspdH+NVXT0xbM45g7rHuxNjvw3NL4TCR8sBWqJe0kb1Ltg6Q= +=MFHs +-----END PGP SIGNATURE----- diff --git a/sys-fs/udev-init-scripts/files/udev-init-scripts-19-start-only-regular-file.patch b/sys-fs/udev-init-scripts/files/udev-init-scripts-19-start-only-regular-file.patch deleted file mode 100644 index 36d194c4b802..000000000000 --- a/sys-fs/udev-init-scripts/files/udev-init-scripts-19-start-only-regular-file.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- init.d/udev -+++ init.d/udev -@@ -92,7 +92,7 @@ - - bins="/sbin/udevd /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd" - for f in ${bins}; do -- if [ -x "$f" ]; then -+ if [ -x "$f" ] && ! [ -L "$f" ]; then - command="$f" - fi - done diff --git a/sys-fs/udev-init-scripts/udev-init-scripts-19-r1.ebuild b/sys-fs/udev-init-scripts/udev-init-scripts-19-r1.ebuild deleted file mode 100644 index a60ba7c4b62a..000000000000 --- a/sys-fs/udev-init-scripts/udev-init-scripts-19-r1.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev-init-scripts/udev-init-scripts-19-r1.ebuild,v 1.5 2013/01/28 05:14:15 williamh Exp $ - -EAPI=4 - -inherit eutils - -if [ "${PV}" = "9999" ]; then - EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/udev-gentoo-scripts.git" - inherit git-2 -fi - -DESCRIPTION="udev startup scripts for openrc" -HOMEPAGE="http://www.gentoo.org" - -LICENSE="GPL-2" -SLOT="0" -IUSE="build" - -if [ "${PV}" != "9999" ]; then - SRC_URI="http://dev.gentoo.org/~williamh/dist/${P}.tar.bz2" - KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86" -fi - -RESTRICT="test" - -DEPEND="virtual/pkgconfig" -RDEPEND=">=virtual/udev-180 - sys-apps/openrc - !<sys-fs/udev-186" - -src_prepare() -{ - epatch "${FILESDIR}"/${P}-start-only-regular-file.patch -} - -pkg_postinst() -{ - # If we are building stages, add udev and udev-mount to the sysinit runlevel - # automatically. - if use build - then - if [[ -x "${ROOT}"/etc/init.d/udev \ - && -d "${ROOT}"/etc/runlevels/sysinit ]] - then - ln -s /etc/init.d/udev "${ROOT}"/etc/runlevels/sysinit/udev - fi - if [[ -x "${ROOT}"/etc/init.d/udev-mount \ - && -d "${ROOT}"/etc/runlevels/sysinit ]] - then - ln -s /etc/init.d/udev-mount \ - "${ROOT}"/etc/runlevels/sysinit/udev-mount - fi - fi - - # Warn the user about adding the scripts to their sysinit runlevel - if [[ -e "${ROOT}"/etc/runlevels/sysinit ]] - then - if [[ ! -e "${ROOT}"/etc/runlevels/sysinit/udev ]] - then - ewarn - ewarn "You need to add udev to the sysinit runlevel." - ewarn "If you do not do this," - ewarn "your system will not be able to boot!" - ewarn "Run this command:" - ewarn "\trc-update add udev sysinit" - fi - if [[ ! -e "${ROOT}"/etc/runlevels/sysinit/udev-mount ]] - then - ewarn - ewarn "You need to add udev-mount to the sysinit runlevel." - ewarn "If you do not do this," - ewarn "your system will not be able to boot!" - ewarn "Run this command:" - ewarn "\trc-update add udev-mount sysinit" - fi - fi - - if [[ -x $(type -P rc-update) ]] && rc-update show | grep udev-postmount | grep -qs 'boot\|default\|sysinit'; then - ewarn "The udev-postmount service has been removed because the reasons for" - ewarn "its existance have been removed upstream." - ewarn "Please remove it from your runlevels." - fi -} diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog index 5651606d7870..0c16e280941e 100644 --- a/sys-fs/udev/ChangeLog +++ b/sys-fs/udev/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-fs/udev # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.813 2013/01/31 23:08:05 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.814 2013/02/01 08:10:47 ssuominen Exp $ + + 01 Feb 2013; Samuli Suominen <ssuominen@gentoo.org> -udev-197-r3.ebuild: + old 31 Jan 2013; Agostino Sarubbo <ago@gentoo.org> udev-197-r4.ebuild: Stable for ppc, wrt bug #452556 diff --git a/sys-fs/udev/Manifest b/sys-fs/udev/Manifest index 7007d7c679f7..bcbf9b42cc9b 100644 --- a/sys-fs/udev/Manifest +++ b/sys-fs/udev/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX 40-gentoo.rules 349 SHA256 5d618b899475925ceccc330b6a738644aedd582d039f0cc404502637351347ea SHA512 b8d90037c08f30c9fb9e22a43c59a3627c218313b0421d4b70feba1731cda76ddc4ee6bdb99dca8df61e11f8d656a8769e172f0a584d7620213973dacfbbb4aa WHIRLPOOL a4086cd5f0e8849369389aa29ec42f5d906b00e3d650724d38ff8b4df4e36de7d3a37393b14f2f30a7102d6f2859b6847b5f4b7813be12d945ce1515494ce120 AUX 80-net-name-slot.rules 1666 SHA256 d30e0e10fa2858e72d96917faf0239bc851fa4be845367ff8f17a992b8b6319a SHA512 af2f3d12c249ce23463a36e708db5177447c4257823a38c7891fd487a970f679166f3b38ff88f1570b811eea45a12f5c86e73704d9196914cfe5f2d270845d0d WHIRLPOOL 4440cda7fd8fe00bb31664a37b08e22df372dd6afe0a388d32bca15ede339bf0f5fda2a8b760bb50897e047c49234f88904f819351ef1421e6aea86172f8671a DIST systemd-197.tar.xz 2054644 SHA256 e6857ea21ae24d7056e7b0f4c2aaaba73b8bf57025b8949c0a8af0c1bc9774b5 SHA512 df158f85dee4c38dc2ff305bc03eee3b71d77eb683ab2739549282f7d552af4d2a247f52241f68e1b7c88c668bce93531986a39937a99cac401791ec95916769 WHIRLPOOL 027fc6aa5972988173721b120b8c1f371bc02d3066e04ea0923d6cc70778a3381f600a865aa136b5789755fbd5358e97304da265f8937d789a28b33cc778df46 @@ -8,10 +11,20 @@ DIST udev-197-patches-1.tar.bz2 1344 SHA256 563479e8860ba6d67366f40d9e58b85e31f9 DIST udev-gentoo-legacy-patchset-2.tar.bz2 14282 SHA256 bb2aefa50c3cc6df8cc88903b0e05a8cc9f44a612a8038abd05f37b342f7e235 SHA512 b18ccdbb4373021ee9f32b4e10dc1b846b64a1222d4a556370ee78efac530d7a868c8924d449a2d503ee12667e603c50514e3f3c4fc08b608a9676574587f073 WHIRLPOOL 765c6f411a793bcdd9d452c7f36719b1d0dd741b3d6da0446fa459d2a0207220d609a0a3ef500411faf7e308ddf315f27a19e179cb7f54bee52ef3f033773a3a DIST udev-gentoo-scripts-7.1.tar.bz2 16257 SHA256 1923768a98b7f00ffdc9bdf5a2c9982c494b978903ec891184d6fa0d10090fb4 SHA512 663fdd750b3f1e52a4c7639d0692290cdda9d202d4408e8aba9bfd38aaccfaa0acb79e303e98872b721cf109c62ac46921785cb5a373cc6ad8b428d0f5192836 WHIRLPOOL 49b600b034f8a6ad5e0ae6ca769971f1bb517fa0b9e31a0a7d0430ae67cf21bf4ab1db981d3eaaf78819d1e75a24a1f101eeb737448763b2990e38da912636be EBUILD udev-171-r10.ebuild 16106 SHA256 c9e107c27107cfe9c9e3cba319d7280b4510f0b466222354f45c6c8664b48371 SHA512 79a62ae8e519a7cf2e0e78f5d87d7d046ef14ea0571bf20e51b1121927e40b67069291ed050610541422c47535c1d85b6f2f3001078fe2f73d89878fdd3782a3 WHIRLPOOL 770759c3c24ed66d0ebda92517a096f91f4d644af276116f21c4acb9625644e33f9441927fe75167786df2e6400635622670e7a5cb6056f5311222537982f065 -EBUILD udev-197-r3.ebuild 13884 SHA256 bc543b8164b5130814a3093ce794193a8f612e1c2e7982316a15b5817695e729 SHA512 372533adb0380d5c762c6bbad50b21ecc8797e4b95d8498fe3fc1f14d27a5d96441c904c1823260b26d8d20d8800f54f1df089d92272c73b0f53e3af2faca357 WHIRLPOOL 6a415f920c09f4ad798cc8170e757e29925ac02cb21a75cd0182956ef8b8a066ca16db8c2abd053b2ff90900be9e8f9e5363c940625f264bc2cc12c472fb7faa EBUILD udev-197-r4.ebuild 14448 SHA256 db1f94eab7821939de667d0a601af7d82bf3a11dd185c2879ee67bfa2855b083 SHA512 59bd518c98071d523b75a21525fba39c9505bd32034979569358d75a37c2c2275c3a6e362722e019df05f095d11f1dcc50127d72656da75519767dfac1fbf3b0 WHIRLPOOL 43ad2b5bac5b9910b882bf2cb85f2fa2d3a3174cca7374db829397ad43ede756cef38a73bc724b095a73fe4b11ff0cd3650c332eae2222262aee3628689e551a EBUILD udev-197-r5.ebuild 14855 SHA256 83aa3f193fffeb6c1b7f3093aa124c5778cd8224a23c61a7a2c8d0ad3a1a4f6e SHA512 76552e819b6c11eb349927d2a30530dd23f1284c278089a66326578cf46ea2ac4d7395aeb605c65b7f4a259ca0b367b7b56b7ab430bf19cad09c353d3fa894bc WHIRLPOOL 5373a40d00dffffe2acfdef13c13b0170912d0611593ff34ebffde489135ca4c250cac62177167ea829db11bfcf5d90c94e17d99bcfeb869660e809b22ff0352 EBUILD udev-9999.ebuild 14854 SHA256 c49932370724c0e41c5a9291a6ae7079f64085b582680554710719a6f883aa9b SHA512 ea2657245ca4a8fcfd26dbddd2bf323d93f71815be0d10956185ecb18b7f36408ddd8a384be74b7d9ced717c797c6484411575cd0981b2cf58f8f3d7ccfdba09 WHIRLPOOL 50bd65f6a31f5a279b1042806b6cddee9fb5dfba8ab8b78171fdd636b8dde2c932db15fcfd6f54a0b2d84f74b82d99dcdf3aaa440053534bcb652e4ec6a08181 -MISC ChangeLog 55061 SHA256 c59247584215ab56f3ced378ccb168a316a6c934395fc4cb8c3a3fb46a702386 SHA512 45dcd8a1b85d5a61c676bbd6198035f694df92193056a3102fb6a124af316569bc492c78c85df72af7e0e6747fa1444978bfdd055a7c96fa636c087bc4ef448f WHIRLPOOL 55f860cdcf090a149f26fa27ee9ebb68350f56358a749140a3be56b05e1dfa453e8fff423708e15484e7d6069d88bd3124b9597dfac31bd53563a1e239945983 +MISC ChangeLog 55149 SHA256 b8a5574617df8cbc1fe90c2b3e57c25460c19710f61e141997feace9a12068be SHA512 0f18cf2e4467671fbb259616503208de1a5b61dcd61a7d15c002eeb0535ee02f9ee9847bc8c9db0ca2263de3ba93b01f8606b68c45ee8d5b4031a24fb36f35b3 WHIRLPOOL b7d65f70192b3c4c4575382d910dcdcfafb736cf9946086220d211b65eb827ea60f0f34bf9215f5a2c11318927c64596c0a43dcb50bc7559a7fc2b6bda3bc718 MISC ChangeLog-2009 105929 SHA256 7a8d7123b7395dc5bbde09a8c0cee1c5110d24faf87a68a8210b0c6bdf862c1c SHA512 3b577c97224e7f85ae5fb0a0ead538f8aa83c738e6014fadaf5247f34d3863df4bc10f9d15a5e117813d081a8af1913ea41a5e60d00ed521ea0c1e5b71a91a2b WHIRLPOOL c9f527ba19e787f9973a26ed535dbf7af760c3a519f4b062cf2a8069e134a803ebe669450deace804be70619995b389529febf03e8aeb7183c3ea984c0dfdaa5 MISC metadata.xml 1098 SHA256 69d8c28e0c2439c252068ae2e0141a9bad7b05e65b9dec27aa2dd3feb4f2393c SHA512 87354f467c3f2ed005a10652a2f80ffda010fbc0c6fb88436b906c92f4cf1543ed1a6cf4a49c93f15c6fea3ba0dcd108e1e120954f7b0860e7ac90072d2b3d67 WHIRLPOOL 9c01df67041d2093e5a2ee4a9ad65df613cdcb163bc366c8592e8e2be84b176da13198261a012687188918c906291d765856665806efe03b8dfb22a5b4eb6834 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJRC3h4AAoJEEdUh39IaPFNkasH/R36wghNuKeY9XfCnHxAeA0W +AHZEKlCVV0DaJvSHCv2Io3tRtcksgZ2TNnpVF6Mvw88UKpY4cD9fVSWjQMNBhnKN +QTGCsQI0nTjMttw/wu1NdL/MaPYGWqCfrUX4g5gilhnPIKKhjvCX+VjKtvwZ9/fT +jCs2g+YZORtYhxEA9KIc7QcPAYQqe/+ltpRjhdTYhBfcF8il4vvamU6qZQi7pIkU +4uRi6DYqOkudEhpW7bdDHts7o0SgK0m+7eMJhmK6J/WHTAxZrVbFn/E5v5sBPrtE +3pC+3ul+YXvfBAqzsAazdWfElutfc8B+CkEMyRCo8EVt8UzcgbTudo9/GU4dq9A= +=sYMA +-----END PGP SIGNATURE----- diff --git a/sys-fs/udev/udev-197-r3.ebuild b/sys-fs/udev/udev-197-r3.ebuild deleted file mode 100644 index 423644ab708e..000000000000 --- a/sys-fs/udev/udev-197-r3.ebuild +++ /dev/null @@ -1,494 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-197-r3.ebuild,v 1.33 2013/01/28 13:18:55 ssuominen Exp $ - -EAPI=4 - -KV_min=2.6.39 - -inherit autotools eutils linux-info multilib systemd toolchain-funcs versionator - -if [[ ${PV} = 9999* ]] -then - EGIT_REPO_URI="git://anongit.freedesktop.org/systemd/systemd" - inherit git-2 -else - patchset=1 - SRC_URI="http://www.freedesktop.org/software/systemd/systemd-${PV}.tar.xz" - if [[ -n "${patchset}" ]] - then - SRC_URI="${SRC_URI} - http://dev.gentoo.org/~williamh/dist/${P}-patches-${patchset}.tar.bz2" - fi - KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86" -fi - -DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)" -HOMEPAGE="http://www.freedesktop.org/wiki/Software/systemd" - -LICENSE="LGPL-2.1 MIT GPL-2" -SLOT="0" -IUSE="acl doc gudev hwdb introspection keymap +kmod +openrc selinux static-libs" - -RESTRICT="test" - -COMMON_DEPEND=">=sys-apps/util-linux-2.20 - acl? ( sys-apps/acl ) - gudev? ( >=dev-libs/glib-2 ) - introspection? ( >=dev-libs/gobject-introspection-1.31.1 ) - kmod? ( >=sys-apps/kmod-12 ) - selinux? ( sys-libs/libselinux ) - !<sys-libs/glibc-2.11 - !<sys-apps/systemd-${PV}" - -DEPEND="${COMMON_DEPEND} - dev-util/gperf - virtual/os-headers - virtual/pkgconfig - !<sys-kernel/linux-headers-${KV_min} - doc? ( >=dev-util/gtk-doc-1.18 ) - hwdb? ( >=sys-apps/hwids-20121202.2[udev] )" - -if [[ ${PV} = 9999* ]] -then - DEPEND="${DEPEND} - app-text/docbook-xsl-stylesheets - dev-libs/libxslt - >=dev-util/intltool-0.50" -fi - -RDEPEND="${COMMON_DEPEND} - openrc? ( !<sys-apps/openrc-0.9.9 ) - !sys-apps/coldplug - !<sys-fs/lvm2-2.02.97-r1 - !sys-fs/device-mapper - !<sys-fs/udev-init-scripts-19 - !<sys-kernel/dracut-017-r1 - !<sys-kernel/genkernel-3.4.25 - !<sec-policy/selinux-base-2.20120725-r10" - -PDEPEND=">=virtual/udev-197 - openrc? ( >=sys-fs/udev-init-scripts-19-r1 )" - -S=${WORKDIR}/systemd-${PV} - -QA_MULTILIB_PATHS="lib/systemd/systemd-udevd" - -udev_check_KV() -{ - # accept4 came late for ia64 (thanks, ryao) - use ia64 && KV_min=3.3 - if kernel_is lt ${KV_min//./ } - then - return 1 - fi - return 0 -} - -check_default_rules() -{ - # Make sure there are no sudden changes to upstream rules file - # (more for my own needs than anything else ...) - local udev_rules_md5=66bb698deeae64ab444b710baf54a412 - MD5=$(md5sum < "${S}"/rules/50-udev-default.rules) - MD5=${MD5/ -/} - if [[ ${MD5} != ${udev_rules_md5} ]] - then - eerror "50-udev-default.rules has been updated, please validate!" - eerror "md5sum: ${MD5}" - die "50-udev-default.rules has been updated, please validate!" - fi -} - -pkg_setup() -{ - # required kernel options - CONFIG_CHECK="~DEVTMPFS" - ERROR_DEVTMPFS="DEVTMPFS is not set in this kernel. Udev will not run." - - linux-info_pkg_setup - - if ! udev_check_KV - then - eerror "Your kernel version (${KV_FULL}) is too old to run ${P}" - eerror "It must be at least ${KV_min}!" - fi - - KV_FULL_SRC=${KV_FULL} - get_running_version - if ! udev_check_KV - then - eerror - eerror "Your running kernel version (${KV_FULL}) is too old" - eerror "for this version of udev." - eerror "You must upgrade your kernel or downgrade udev." - fi -} - -src_prepare() -{ - # backport some patches - if [[ -n "${patchset}" ]] - then - EPATCH_SUFFIX=patch EPATCH_FORCE=yes epatch - fi - - # Remove requirements for gettext and intltool wrt bug #443028 - if ! has_version dev-util/intltool && ! [[ ${PV} = 9999* ]]; then - sed -i \ - -e '/INTLTOOL_APPLIED_VERSION=/s:=.*:=0.40.0:' \ - -e '/XML::Parser perl module is required for intltool/s|^|:|' \ - configure || die - eval export INTLTOOL_{EXTRACT,MERGE,UPDATE}=/bin/true - eval export {MSG{FMT,MERGE},XGETTEXT}=/bin/true - fi - - # apply user patches - epatch_user - - # compile with older versions of gcc #451110 - version_is_at_least 4.6 $(gcc-version) || \ - sed -i 's:static_assert:alsdjflkasjdfa:' src/shared/macro.h - - # 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" - - 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 - check_default_rules - elibtoolize - fi - - # This is the actual fix for bug #443030 if the check earlier doesn't fail. - if ! use elibc_glibc; then - echo '#define secure_getenv(x) NULL' >> config.h.in - sed -i -e '/error.*secure_getenv/s:.*:#define secure_getenv(x) NULL:' src/shared/missing.h || die - fi -} - -src_configure() -{ - local econf_args - - econf_args=( - ac_cv_search_cap_init= - ac_cv_header_sys_capability_h=yes - DBUS_CFLAGS=' ' - DBUS_LIBS=' ' - --bindir=/bin - --docdir=/usr/share/doc/${PF} - --libdir=/usr/$(get_libdir) - --with-html-dir=/usr/share/doc/${PF}/html - --with-rootprefix= - --with-rootlibdir=/$(get_libdir) - --disable-audit - --disable-coredump - --disable-hostnamed - --disable-ima - --disable-libcryptsetup - --disable-localed - --disable-logind - --disable-myhostname - --disable-nls - --disable-pam - --disable-quotacheck - --disable-readahead - --enable-split-usr - --disable-tcpwrap - --disable-timedated - --disable-xz - --disable-silent-rules - $(use_enable acl) - $(use_enable doc gtk-doc) - $(use_enable gudev) - $(use_enable keymap) - $(use_enable kmod) - $(use_enable selinux) - $(use_enable static-libs static) - ) - if use introspection; then - econf_args+=( - --enable-introspection=$(usex introspection) - ) - fi - econf "${econf_args[@]}" -} - -src_compile() -{ - echo 'BUILT_SOURCES: $(BUILT_SOURCES)' > "${T}"/Makefile.extra - emake -f Makefile -f "${T}"/Makefile.extra BUILT_SOURCES - local targets=( - systemd-udevd - udevadm - libudev.la - libsystemd-daemon.la - ata_id - cdrom_id - collect - scsi_id - v4l_id - accelerometer - mtd_probe - man/sd_is_fifo.3 - man/sd_notify.3 - man/sd_listen_fds.3 - man/sd-daemon.3 - man/udev.7 - man/udevadm.8 - man/systemd-udevd.8 - man/systemd-udevd.service.8 - ) - use keymap && targets+=( keymap ) - use gudev && targets+=( libgudev-1.0.la ) - - emake "${targets[@]}" - if use doc - then - emake -C docs/libudev - use gudev && emake -C docs/gudev - fi -} - -src_install() -{ - local lib_LTLIBRARIES="libsystemd-daemon.la libudev.la" \ - pkgconfiglib_DATA="src/libsystemd-daemon/libsystemd-daemon.pc src/libudev/libudev.pc" - - local targets=( - install-libLTLIBRARIES - install-includeHEADERS - install-libgudev_includeHEADERS - install-binPROGRAMS - install-rootlibexecPROGRAMS - install-udevlibexecPROGRAMS - install-dist_systemunitDATA - install-dist_udevconfDATA - install-dist_udevhomeSCRIPTS - install-dist_udevkeymapDATA - install-dist_udevkeymapforcerelDATA - install-dist_udevrulesDATA - install-girDATA - install-man3 - install-man7 - install-man8 - install-nodist_systemunitDATA - install-pkgconfiglibDATA - install-sharepkgconfigDATA - install-typelibsDATA - install-dist_docDATA - udev-confdirs - systemd-install-hook - libudev-install-hook - libsystemd-daemon-install-hook - install-pkgincludeHEADERS - ) - - if use gudev - then - lib_LTLIBRARIES+=" libgudev-1.0.la" - pkgconfiglib_DATA+=" src/gudev/gudev-1.0.pc" - fi - - # add final values of variables: - targets+=( - rootlibexec_PROGRAMS=systemd-udevd - bin_PROGRAMS=udevadm - lib_LTLIBRARIES="${lib_LTLIBRARIES}" - MANPAGES="man/sd-daemon.3 man/sd_notify.3 man/sd_listen_fds.3 \ - man/sd_is_fifo.3 man/sd_booted.3 man/udev.7 man/udevadm.8 \ - man/systemd-udevd.service.8" - MANPAGES_ALIAS="man/sd_is_socket.3 man/sd_is_socket_unix.3 \ - man/sd_is_socket_inet.3 man/sd_is_mq.3 man/sd_notifyf.3 \ - man/SD_LISTEN_FDS_START.3 man/SD_EMERG.3 man/SD_ALERT.3 \ - man/SD_CRIT.3 man/SD_ERR.3 man/SD_WARNING.3 man/SD_NOTICE.3 \ - man/SD_INFO.3 man/SD_DEBUG.3 man/systemd-udevd.8" - dist_systemunit_DATA="units/systemd-udevd-control.socket \ - units/systemd-udevd-kernel.socket" - nodist_systemunit_DATA="units/systemd-udevd.service \ - units/systemd-udev-trigger.service \ - units/systemd-udev-settle.service" - pkgconfiglib_DATA="${pkgconfiglib_DATA}" - systemunitdir="$(systemd_get_unitdir)" - pkginclude_HEADERS="src/systemd/sd-daemon.h" - ) - emake -j1 DESTDIR="${D}" "${targets[@]}" - if use doc - then - emake -C docs/libudev DESTDIR="${D}" install - use gudev && emake -C docs/gudev DESTDIR="${D}" install - fi - dodoc TODO - - prune_libtool_files --all - rm -f "${D}"/lib/udev/rules.d/99-systemd.rules - rm -rf "${D}"/usr/share/doc/${PF}/LICENSE.* - - # install gentoo-specific rules - insinto /lib/udev/rules.d - doins "${FILESDIR}"/40-gentoo.rules - - # install udevadm symlink - dosym ../bin/udevadm /sbin/udevadm - - # move udevd where it should be and remove unlogical /lib/systemd - mv "${ED}"/lib/systemd/systemd-udevd "${ED}"/sbin/udevd || die - rm -r "${ED}"/lib/systemd - - # install compability symlink for systemd and initramfs tools - dosym /sbin/udevd "$(systemd_get_utildir)"/systemd-udevd - find "${ED}/$(systemd_get_unitdir)" -name '*.service' -exec \ - sed -i -e "/ExecStart/s:/lib/systemd:$(systemd_get_utildir):" {} + - - docinto gentoo - dodoc "${FILESDIR}"/80-net-name-slot.rules - docompress -x /usr/share/doc/${PF}/gentoo/80-net-name-slot.rules -} - -pkg_preinst() -{ - local htmldir - for htmldir in gudev libudev; do - if [[ -d ${ROOT}usr/share/gtk-doc/html/${htmldir} ]] - then - rm -rf "${ROOT}"usr/share/gtk-doc/html/${htmldir} - fi - if [[ -d ${D}/usr/share/doc/${PF}/html/${htmldir} ]] - then - dosym ../../doc/${PF}/html/${htmldir} \ - /usr/share/gtk-doc/html/${htmldir} - fi - done - preserve_old_lib /{,usr/}$(get_libdir)/libudev$(get_libname 0) -} - -# This function determines if a directory is a mount point. -# It was lifted from dracut. -ismounted() -{ - while read a m a; do - [[ $m = $1 ]] && return 0 - done < "${ROOT}"/proc/mounts - return 1 -} - -pkg_postinst() -{ - mkdir -p "${ROOT}"/run - - net_rules="${ROOT}"etc/udev/rules.d/80-net-name-slot.rules - [[ -f ${net_rules} ]] || cp "${ROOT}"usr/share/doc/${PF}/gentoo/80-net-name-slot.rules "${net_rules}" - - # "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 "${ROOT}"/dev/loop 2>/dev/null - if [[ -d ${ROOT}/dev/loop ]] - then - ewarn "Please make sure your remove /dev/loop," - ewarn "else losetup may be confused when looking for unused devices." - fi - - # people want reminders, I'll give them reminders. Odds are they will - # just ignore them anyway... - - # 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 ${ROOT}/etc/udev/rules.d/64-device-mapper.rules ]] && - ! has_version sys-fs/device-mapper - then - rm -f "${ROOT}"/etc/udev/rules.d/64-device-mapper.rules - einfo "Removed unneeded file 64-device-mapper.rules" - fi - - if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 189 ]]; then - ewarn - ewarn "Upstream has removed the persistent-cd rules" - ewarn "generator. If you need persistent names for these devices," - ewarn "place udev rules for them in ${ROOT}etc/udev/rules.d." - fi - - if ismounted /usr - then - ewarn - ewarn "Your system has /usr on a separate partition. This means" - ewarn "you will need to use an initramfs to pre-mount /usr before" - ewarn "udev runs." - ewarn - ewarn "If this is not set up before your next reboot, udev may work;" - ewarn "However, you also may experience failures which are very" - ewarn "difficult to troubleshoot." - ewarn - ewarn "For a more detailed explanation, see the following URL:" - ewarn "http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken" - ewarn - ewarn "For more information on setting up an initramfs, see the" - ewarn "following URL:" - ewarn "http://www.gentoo.org/doc/en/initramfs-guide.xml" - fi - - if [ -n "${net_rules}" ]; then - ewarn - ewarn "udev-197 and newer introduces a new method of naming network" - ewarn "interfaces. The new names are a very significant change, so" - ewarn "they are disabled by default on live systems." - ewarn "Please see the contents of ${net_rules} for more" - ewarn "information on this feature." - fi - - local fstab="${ROOT}"etc/fstab dev path fstype rest - while read -r dev path fstype rest; do - if [[ ${path} == /dev && ${fstype} != devtmpfs ]]; then - ewarn "You need to edit your /dev line in ${fstab} to have devtmpfs" - ewarn "filesystem. Otherwise udev won't be able to boot." - ewarn "See, http://bugs.gentoo.org/453186" - fi - done < "${fstab}" - - if [[ -d ${ROOT}usr/lib/udev ]] - then - ewarn - ewarn "Please re-emerge all packages on your system which install" - ewarn "rules and helpers in /usr/lib/udev. They should now be in" - ewarn "/lib/udev." - ewarn - ewarn "One way to do this is to run the following command:" - ewarn "emerge -av1 \$(qfile -q -S -C /usr/lib/udev)" - ewarn "Note that qfile can be found in app-portage/portage-utils" - fi - - old_net_rules=${ROOT}etc/udev/rules.d/70-persistent-net.rules - if [[ -f ${old_net_rules} ]]; then - ewarn "You still have ${old_net_rules} in place from previous udev release." - ewarn "Upstream has removed the possibility of renaming to existing" - ewarn "network interfaces. For example, it's not possible to assign based" - ewarn "on MAC address to existing interface eth0." - ewarn "See http://bugs.gentoo.org/453494 for more information." - ewarn "Rename your file to something else starting with 70- to silence" - ewarn "this warning." - fi - - ewarn - ewarn "You need to restart udev as soon as possible to make the upgrade go" - ewarn "into effect." - ewarn "The method you use to do this depends on your init system." - ewarn - - preserve_old_lib_notify /{,usr/}$(get_libdir)/libudev$(get_libname 0) - - elog - elog "For more information on udev on Gentoo, writing udev rules, and" - elog " fixing known issues visit:" - elog " http://www.gentoo.org/doc/en/udev-guide.xml" - - use hwdb && udevadm hwdb --update -} |