summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-12-01 16:01:37 +0000
committerWilliam Hubbs <williamh@gentoo.org>2012-12-01 16:01:37 +0000
commitfc901e20a41894586282b45cf5420788d46a6f22 (patch)
treee7cb6ec7635b46ad6221eb4ae849053459293c73 /sys-fs
parentAdded myself as maintainer (diff)
downloadhistorical-fc901e20a41894586282b45cf5420788d46a6f22.tar.gz
historical-fc901e20a41894586282b45cf5420788d46a6f22.tar.bz2
historical-fc901e20a41894586282b45cf5420788d46a6f22.zip
after speaking with the systemd maintainer, older versions of udev are being removed.
Package-Manager: portage-2.2.0_alpha143/cvs/Linux i686 Manifest-Sign-Key: 0x30C46538
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/udev/ChangeLog8
-rw-r--r--sys-fs/udev/Manifest26
-rw-r--r--sys-fs/udev/udev-189.ebuild417
-rw-r--r--sys-fs/udev/udev-190.ebuild417
-rw-r--r--sys-fs/udev/udev-191.ebuild417
-rw-r--r--sys-fs/udev/udev-192.ebuild417
-rw-r--r--sys-fs/udev/udev-193.ebuild417
-rw-r--r--sys-fs/udev/udev-194.ebuild419
8 files changed, 11 insertions, 2527 deletions
diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog
index 08ed3a5a4a27..3a1c2f03b58b 100644
--- a/sys-fs/udev/ChangeLog
+++ b/sys-fs/udev/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/udev
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.745 2012/12/01 14:46:46 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.746 2012/12/01 15:59:53 williamh Exp $
+
+ 01 Dec 2012; William Hubbs <williamh@gentoo.org> -udev-189.ebuild,
+ -udev-190.ebuild, -udev-191.ebuild, -udev-192.ebuild, -udev-193.ebuild,
+ -udev-194.ebuild:
+ after speaking with the systemd maintainer, older versions of udev are being
+ removed.
01 Dec 2012; William Hubbs <williamh@gentoo.org> +udev-189.ebuild,
+udev-190.ebuild, +udev-191.ebuild, +udev-192.ebuild, +udev-193.ebuild,
diff --git a/sys-fs/udev/Manifest b/sys-fs/udev/Manifest
index 04909ea13952..85f105f709e0 100644
--- a/sys-fs/udev/Manifest
+++ b/sys-fs/udev/Manifest
@@ -2,12 +2,6 @@
Hash: SHA256
AUX 40-gentoo.rules 349 SHA256 5d618b899475925ceccc330b6a738644aedd582d039f0cc404502637351347ea SHA512 b8d90037c08f30c9fb9e22a43c59a3627c218313b0421d4b70feba1731cda76ddc4ee6bdb99dca8df61e11f8d656a8769e172f0a584d7620213973dacfbbb4aa WHIRLPOOL a4086cd5f0e8849369389aa29ec42f5d906b00e3d650724d38ff8b4df4e36de7d3a37393b14f2f30a7102d6f2859b6847b5f4b7813be12d945ce1515494ce120
-DIST systemd-189.tar.xz 1371872 SHA256 fec0efd82c9f1bdff6cb9d9811c00830ed890dbe915e79c90ae306cdbd8c4529 SHA512 a275dc93ad68a95f6695cd4d5472d15c3a3a0439944ce54b5dc6bd14500755d769e708510877e5681b4906ef2b8eb0d67c3d77a161db717e6e9a43888c3b50af WHIRLPOOL cd3377da687f12e0a07cbf6fe74b362bbd4118905a7b2e3488170b9b0ca88238a0379df9b18e9cd506e6544311ae83cd26f493568d85b457a1a2469e06083713
-DIST systemd-190.tar.xz 1404812 SHA256 2fb2f894b8cd4aa87420517b55d938837111aa47b4a09ea8306f90be1f7277dc SHA512 e2ecca0c47a26a7a38368cea0fc7f835086fb2f73154185c6b5627cf72c75dfcfcbe3ccfb77fed5f2ce3da781be0d32d7b561f1d00a521bc3af42bb9d572159c WHIRLPOOL 710f08f10f8861bde548575604258abd3bae8b08822f99180e21089c61f3dff4e55bd61e9c1b8e2d24dc2955c20735d8b89b574ec9e0f69656b9ad2260653b5d
-DIST systemd-191.tar.xz 1401640 SHA256 2fa0a2b4a1eb855f4e1d7f4f1a1883cd43d68dc3534d130a1095293d1bfa1d64 SHA512 9d0636df307d37f95a77368a7392d40e15a16354c838c9415af700fbd86f0da6474f5750fe2d93018984169107943be2cb87bff4b5f432afba6956ee1bd4a2bd WHIRLPOOL eea13b258cb8762a7c650333974011c6319cf3c1664363fc027c64d67199f83f597729b22a130b0c0058a6b31eafcb363baa2c66f864b3a8dc3a0175de043c26
-DIST systemd-192.tar.xz 1405792 SHA256 55c449554ab68c7b237e86584a69b6e60538b4853ef7b6e5317d9d3e78f0c30f SHA512 d2c6179b250b4e1a3c019199fb46a4115f850cfb6d39c8b2232bc3ff0f87b1eb662d0aa4c13a5a554fd0103a8fe52c6e538150df4abac5815516f65ade130828 WHIRLPOOL db15a1458a2d02a548a5f1b5a0e10dab2913a807396e0b734f8e4834103f77c6d6e45379d4d10263cdf3154b0c3fe4562a7fe79236f8eff120198947bddeed42
-DIST systemd-193.tar.xz 1413652 SHA256 b9db6be1fa4a9c89c088ceec39f0d24de63ab76831b12916f147841262ac0ecd SHA512 6eefb9adb62b0190298b1f3de0c6e4e91e5d58780cc563924a5445b6482ed2cf53213167e01b28695c84f385bead571c50eb5e3097c901278520de4c37fd7f0a WHIRLPOOL 3376e7a94dd75cd59c02ee8a30a7ae61367948560289c4c3f4ece384f234fab0db814802db3c330f96066a0197671c5f23b6bb1988f7235316d8cdbdc283a2e6
-DIST systemd-194.tar.xz 1409672 SHA256 a275ce044f66f28c5ed0846e7019438ce8b5f596e8255f3455e32b3c0db5f631 SHA512 af42e1a6fb10d278aa9e0b429ee7ad31587e7e55b0b261ed164b191b882317ec54274d54ec1fa70b466a69f10388db4d6ad5e21568c9cbc1112e8f39312edc5f WHIRLPOOL 99971f466fbd58de6ee17412cdd017c24a4af69a0841ea67e9ef39a6f8c3cb1c92543e99a3d67be710645f4e3bc327d5ea47e3050093557c043ac755cac15b05
DIST systemd-195.tar.xz 1441308 SHA256 e9041a8b84ed971d08df2b96f1b7dbb1d49b788e275c7cc39912f656bd826303 SHA512 2ccd6ad065cd70aad7e666c1beba9fb31bff4dca7d54d00bfa54976e91795c1e19d5f595e88660ea3797699001613ae9204cf538fe8b0c321ba42bd7a4c402f5 WHIRLPOOL 24bd54fe3b0ddf523b9d1d30e64052ec96ac56644efce272f87d5d2cf65ec5660da404dc6c61b7ee8d66a97660fd11ce71abad0a4e7b61c6d991a07c7bfcd592
DIST udev-141.tar.bz2 448373 SHA256 51e0128c3fc29971d978050839fd59f103fddae4a47c8fd2b36f2836cfb59d35 SHA512 d039792eb19c639636c221857f8901dd1fc24ead8da2927d10ce48e3acd22a883d55c48cf66f3a0ab396dd89e46bd7d96a8f345e6d1b9f6592711fd254ffad05 WHIRLPOOL 3806087eb04e54dfc51bca96621eaab56aee4244bf60d1bf4eec9731e4e648e1602ba98f67b7e2b9d34ee91cf33a554a545f9dfdb1df8f187b11cb100d9a3a5c
DIST udev-146-gentoo-patchset-v1.tar.bz2 8370 SHA256 d89845257847c34c9e617c5c64c686902833343dd617401d1ac196cd0589c95c SHA512 ff0573dc171a1c2073f866a6e7cd125d6796919e2c026a2aea869ebe4bbff8cd866980118a8b2ef28c4a1326ff2913ee245d75a852b76908d63d6444bb69251c WHIRLPOOL 175bb3440e5ffcef0b4d3fd2b703aaf3788d0b50c6769a27a72b26cfb4f094418ff884c819946e808d3f3b5a85bd3bf5c3be5a38ca3b4823963e7f772d6bf740
@@ -21,12 +15,6 @@ DIST udev-164.tar.bz2 557126 SHA256 81db1a089e4c13fd73fbb5ace7974ab84e2d92d8a39f
DIST udev-171-gentoo-patchset-v1.tar.bz2 796 SHA256 9524e64068d67bb55ddad16dd36a27c3ef87323421254a5bfe2431693b1bc983 SHA512 d2eef776c3cc331b5df339e865838b67b70da01e10fa75c5cb0d45cff388adfa6af4dd36677eb05cee9936331445afadcd4158ed7d96f3499ce93d6ee1e3feb6 WHIRLPOOL d1451d2002263db7bd30baa2d126fcb3ffff6a4b310f8ebfea755760b3afbd3a76ab2aa0d16e1a88cff13567a153155720c4c16c1d4624dd2a4405b29dbb3997
DIST udev-171-testsys.tar.bz2 155001 SHA256 7383701b64701f58f16e0ddb19fe33b4eb53fac6fc6068bdcbff7e6325b79dcc SHA512 f3f537d771e36b87c71004f5576f7672ffeb815d0b5337bb6bbb6e842c32a28d1d92b4eb0ee2edc60c0b8bd576fc2f36e8b0ed16ec9c0cff9c216e04fb1438ad WHIRLPOOL 0ee66df2f52496d592d0dd3de7c628f6deee7f41c2d21e745f22d74e61c276e01cc6ba584c65b05d36c8a4fb14bc54e3e1a89b975751929b19e91458e3550253
DIST udev-171.tar.bz2 597937 SHA256 fed1e46074c1a16c828193ebd73b3940b7905cc7dcaeb0b3c720d4615210695e SHA512 dea189d79b195f8c10740507b11de2c2074442301ee52a0b2c62efa8663e1793c1a78b03b95510ba19bc93d4dcc497120fbf6bb5784878aa903973f76b92d42f WHIRLPOOL a93241b0f0645696e6a88ddb152c3ef8f2c73b5bf3591892384f180fc7abeb580c59642013480546eac00ad5028b1900ad35b88f6a27ad2d07792e9f34e59743
-DIST udev-189-patches-1.tar.bz2 1266 SHA256 1a3cfe84fb27d303a6844f2e56e6d114ffb331c34c18be4f7d3de3266c35ae41 SHA512 91556355df022ed3f5cb65ffa2a6c3367be033f7262c084a5f10b33ec9a1b75ff922f675714e9cf98f097ebcecde70d3bba074e0a4cbacb2bf5aedda1d7a5b50 WHIRLPOOL 285cf99f141568ee48a401d73688fc231d83ec8c2c7cb4e40f769d3505cb39c4e66efd95bf8010fc5294b11744bdd7805fd89403c32b0d7c82119718932f895b
-DIST udev-190-patches-1.tar.bz2 1278 SHA256 20abeea1bb80548e4c666128ffcc31b7f88347fed79b7aca25b84d0ef6edec47 SHA512 be92dc99278063b185aca657147ff89eb278db754b0816aedb72d1f69b131a5eeda72fed926737936e97dc5fafd76e22d82b0a3db783018321e08c324779a2cc WHIRLPOOL 4c45651606b5c7d4b116cd0bf34b385bf31b89c24af7a6fd73f5ad114b7eb687c7fa4e2e46da5f88e12e5c40b438553134d88c93546fb3f0987119eac681c3b1
-DIST udev-191-patches-1.tar.bz2 1269 SHA256 666f05e1721c15caaff16a2a91da67007b2fb4f8966a54a36c859e020a5d2913 SHA512 e3de33d64ff1b00c9646a1dd6cf33634137f76976f92c0ad66349874d7180c6b796f304d3f1010e999d5da599e5e22f12b8df4429b1658ef801d74f048a2850f WHIRLPOOL 6bf898dfecac3553fa7a23f2207f727e2d937bbe21716f2b3ec0ae85516106f1d27e64e87f8c59894fde2ae22377c15e69e40f07f0657968ffb6da74506a5742
-DIST udev-192-patches-1.tar.bz2 1270 SHA256 69496df58cdcda11bd8826d3f4e19ff65baad8e4fa4f33366d71dd681b1942a2 SHA512 3ef4b50e2b59c5f71d87fa4074e5074d22c122da4a320a7984aac05e8313d25488643bb73784fdfea83763337e80fedace83f0f7ef883ec78d142d978a7cc088 WHIRLPOOL a2c822354f3c34f9ea77c0d71d1293a78583184fe183400a5620c8241f9e643e7b392d9f9385cb541ac7b4899ba34f01141b3e1c4fd53370adf4b44625dc634a
-DIST udev-193-patches-1.tar.bz2 1265 SHA256 03345f12afaa571ea40a234eeebbb89f065f979524852aca6079585f969e1c1b SHA512 ecfe652c2cfbe469ead463eac9f6dc21b9160d145c5411f34fb7e6dd074b9cbf95c8921ec9fd0cc5be3b49b6ca193ecb846a814c782622ed12c2f486a2d94bdf WHIRLPOOL 329ea183ffcc3027b51d8a12b4d3b33ebffdae315cb4d802810ef28725b503c61f493f7e70e652561bbfb700ca98d879d3764a797a2e4d981a84bd3264fa9497
-DIST udev-194-patches-1.tar.bz2 1276 SHA256 ebb0d8ebc70fd23f48412f085ae2455f155a45a290853442e843635a9292eef2 SHA512 0a7a472da118513576b95cdaf6c41c2c3d938dfeef518ab5ce8af6734e0d220dd24eab3d02389849602edcee5af5536f523c22220627cd1762d828c5ccaf447a WHIRLPOOL 13f8e981a18227eea3e94464c52b569f10631e6eabc2ce0713939c9a5d58f1be9e5b382c6fad3605f4ab3310a907cf1660a9e4586a0cf5d0288559e78f197b5c
DIST udev-195-patches-1.tar.bz2 1288 SHA256 d0995c6dea2c62d234f25b24ebb6e45ea7860f2036d4356ff0c727442cb8643a SHA512 760443b298ab0acb0a0c3cf7c1ff85ae0c2cbbf2c50e335fb14910b362c60abf2de1471abe5e14522f0524bca6f3e2390593c2a94ab336c175ab5df2ef98ea6b WHIRLPOOL a4645389fb302659804f2687830e0e288cbc0dad7c6f9a53de8810568d2ff10f91b5b20bb4fce6852097a41835225229b0e95092ce0ea14ba75955c94d440a8d
DIST udev-gentoo-legacy-patchset-1.tar.bz2 14039 SHA256 0a82fd7a6ed4212dc26d7b562d91e9bb7174581717683d447902f308110b635a SHA512 4a64d972ab361c781ebde7f9360d7842f8be2c945fbcf526019a49194197af9f2575e5ba399d7494c84b12489fe09333bf225f697b786fb6ccef7b287e58c9cc WHIRLPOOL 70e84987aa3c5ef93d624014bd13156a95d456ade17389b2a89261f57dee32d1dd7f416dd2397c4e6e2bbc09d0fee7acde8325bdf203021f45c49adf7c6e72ba
DIST udev-gentoo-legacy-patchset-2.tar.bz2 14282 SHA256 bb2aefa50c3cc6df8cc88903b0e05a8cc9f44a612a8038abd05f37b342f7e235 SHA512 b18ccdbb4373021ee9f32b4e10dc1b846b64a1222d4a556370ee78efac530d7a868c8924d449a2d503ee12667e603c50514e3f3c4fc08b608a9676574587f073 WHIRLPOOL 765c6f411a793bcdd9d452c7f36719b1d0dd741b3d6da0446fa459d2a0207220d609a0a3ef500411faf7e308ddf315f27a19e179cb7f54bee52ef3f033773a3a
@@ -38,21 +26,15 @@ EBUILD udev-149.ebuild 16485 SHA256 65c3b0fba6c00c8399777879a7a8d354c5cced74cd2a
EBUILD udev-151-r4.ebuild 16804 SHA256 7315f6e89edd97ef057259e64465aa669b53fe020ac9781928aebd4980767ebc SHA512 51254d2164d63a36d5616dd92d9d3b0a03f88fe78ab98c55541372ed691bbcb86b2e449b275aa2f0f8351f6c8e0425da82d9f079271e1cad237abc6bdd70e382 WHIRLPOOL d513c9145b466619f288925c8fa9d598767e78e5f0a502f62a9ecda4fc667d2fd5e298e4cfb6026879c84aedcf4be02671115107688efab93c7283927afc4d83
EBUILD udev-164-r2.ebuild 15179 SHA256 e957e7d9bb99f29a20de5f5666c19db0e645fdf70751741926819cf85dfe8365 SHA512 8c9143207389a70ff3919753d250ef1d68bbdae6b4ca224d43a3f3314a5f80e2617d4b0af4678bf1d08afb7ada6984459d1bc10ec502bf278f093e058c6fde8e WHIRLPOOL e778db14702ae5e9559afef46b70315829f7c0d0f4c40a1e85c8af5a6ef9be7ab2e8e15274f2f82b363f75123dfee631ced2aa56c7c0997babb4d25ba702c064
EBUILD udev-171-r9.ebuild 16105 SHA256 1b21d6b2fd4af6382ab5cf3c255cb6c2b2f026ffbfbd808db8662b958de30f1b SHA512 efce00bbb87120a476fc2bfd497a460b3656024389fc2ac999dcaac8e95e2450d101038b0838d0a9f8dbc948c4b1f42e6cc3819df2857839564806f7293e5af9 WHIRLPOOL 7e73e343a7778bffdb5002fa0994a3d4e55972d230877d6501afc777717244eb81b16a50e9a28ed698b8842c8b5c44b182825ac9c551217a2401009eb31b1761
-EBUILD udev-189.ebuild 11032 SHA256 32eaa01e4fdb802ee182de2059ef54769b63796d5a7dc39098332b5604cc3bc7 SHA512 3acc2d14b97771ce9c1ba2be59f3952fae91c0a0e038b39228f1b5a66be012e4620ffccf1fcdb4aaf3ab462b00789e850dce8919a6cd1d111ff87fa9189ccd1f WHIRLPOOL 1c5e4281557f7073ef781b21e50cef8dc7055d56e1c098ae578d112093a83c5ff01b14f804fd80d485410c4c8f75f59a5591c42c50ae87384e72383dd0c1f076
-EBUILD udev-190.ebuild 11032 SHA256 c1a8c52501a715e9943a0f20293fd25f4758011d25eb27ba71e1853e7507f43b SHA512 de1ec4796c9e9ab3a859c36baef75be8c65441380d7d16d2428bc6b4d878175a1182423c5e875b1eaf9da9194c5ad531eff91d1e51e90673095500a2e2c64a81 WHIRLPOOL 34c9fe06a926edca8c215fadd6ffb8992148ec793b78f2676afe377cde31aced245707f64e98c73934872281fc0691285882e49cea670af1db1806b3d2780ecb
-EBUILD udev-191.ebuild 11032 SHA256 7c6436a06f096ab7399530148fb51265ce45dc8158639952cd183ffe438a9d5f SHA512 1b69d06cb0caac1090cf32729feccd7ade888e196227e246653707eabe16590a9f2b7ffd6b847b73e84b23d44feb556fa609940cf50b36f046bbbe4e93017a23 WHIRLPOOL 4105ddf065047d3b7be979bc4fc9dda84521af384f865c193d0f926a9a300b246e3f515af54c71d3d2ed2748a0d2418de74f0f70619c41d70dbb1c0a7b9a79df
-EBUILD udev-192.ebuild 11032 SHA256 f1d6b82f4564c05c5995b959c280346541133fb65f8c16b45d0da644e185729c SHA512 4bda5a48dd409c8724c810883a91cb8096443d95fdae52d74fc6c261e99b57b9a2a0a310901e710097fc4f13c780dc32a6ecfd7a11ab55b7c8d26646fc50cd34 WHIRLPOOL 2418f23af953d23b682d1deeba7819707615103bb3a70f2e2fb81d5b7c1e644f2daf99501fb537ba207a1495e760954f494418c6f0664f31b241beb185717d61
-EBUILD udev-193.ebuild 11032 SHA256 5a55d22c0a9e135302347c4484863765c7fa658bc98a0d7c036f09b6164b12af SHA512 cd9af0935e875af22576de8e0f4d7c28b6602395ef40287f0f5f18da8bb990c2e8621ec676b66543f098daa92a0d8b5d8ade878b05b7b12fab652b3d94aa6c56 WHIRLPOOL 84cde48900c5999efd0c0f5e25422a7f86477fd7656014d441e097ebf632cacde29e8a4e740c46ecb2c36262784caad1b0a629a0f43af85f395f22cedfbd3c75
-EBUILD udev-194.ebuild 11083 SHA256 528c4cf40e4d2e1303e9f93f491f3b777d3e986db9d77c80af76a5c223537128 SHA512 96b4df4740c37e9d0e7c91d8d173cb1e2d202696204fbd8e60dd4c9920dad10d166edfe384b5529952b6914f09559ced866d7ad2ae543d05261320ce58c4bb6e WHIRLPOOL 51125ffaf9de104eab5b73d12fb6f52e7a3d6d7ce5def2f4012c110cfae3c296fadec24092ac33f9cc159e24396970bb485a4dcb4657e2dbc29acc6ea5a3167e
EBUILD udev-195.ebuild 11412 SHA256 f653139c9ea79bc7c743c9991febf1e74fc38e04aa487698492e0e34c2b278f7 SHA512 88d74d73158f3a7d4d2f24935abbfd60afae80c9778493d30558555852762b0356625e67ed2327baf1d0c9bb4ade41911b19ffc702ae4153e1f0a17d1b683f51 WHIRLPOOL 113a3d56da645744dbfc8c8278dd429807dae42f2179c502725412dec155681c0e70fe4d36d0420c3506a69bedc6523c344a258e4510d0349439108484394314
EBUILD udev-9999.ebuild 11414 SHA256 bdc230209a53ef0bf775afb282ecd8920d6162e3fa97d1088a6393293e8b7ede SHA512 9849f5317d9869a1a9510f6ce12f371647043477412651de4215b24fb0374e9390720cc0bd581311cf80e778da0d485f2e4cec448e4c6d236705d6284ead471a WHIRLPOOL c166e9b534e78d792805fa9ed9bc0f91d12be6e23c66c13f1391b2bfac5b5b3456a3a08cb1f904943e88c48ce34687d7e1010525cca6d4ba212d625c981d44e8
-MISC ChangeLog 44272 SHA256 8f301bba9d6cbd241fb5a8771f9344d9cac02797dd0cda73e9df1980d981c931 SHA512 ef82cf9882c254d0cc85d1dd0aca30f1f795b4a3fdb7ec14a5e0164210e1486bd5974a9888d4dbecb8f489cdcc236fa3ff1cff66f29515be14e86a7385c5cff8 WHIRLPOOL 494414a0d39bf02129348e1cd8e58708783ceecd00fe2c150f521281769f77191c94e1e1cdc07323c5be380988ae3e262af51b32edfafc9085fc7dd45cf8e045
+MISC ChangeLog 44526 SHA256 53d6c365acf184b6aa1e4b34d164ccdbd1f74d76b0461626a174ce8898c15b49 SHA512 54edb41607025667c26559f5703c1707377589498ae24daab37823690c1bad42ee7c3852b77ddf96a3ea207ac8582d6a7860ca2fd289f3b0dbf3ed4346e22f82 WHIRLPOOL f9710e292e1074821121039afc6bd29f04104686f58d7a40f64cf043f1ec42515ac5aaf7c3f21cbdea8fd0960664b8bcffc2910ae67bc7c3c313a6f16cbd2db7
MISC ChangeLog-2009 105929 SHA256 7a8d7123b7395dc5bbde09a8c0cee1c5110d24faf87a68a8210b0c6bdf862c1c SHA512 3b577c97224e7f85ae5fb0a0ead538f8aa83c738e6014fadaf5247f34d3863df4bc10f9d15a5e117813d081a8af1913ea41a5e60d00ed521ea0c1e5b71a91a2b WHIRLPOOL c9f527ba19e787f9973a26ed535dbf7af760c3a519f4b062cf2a8069e134a803ebe669450deace804be70619995b389529febf03e8aeb7183c3ea984c0dfdaa5
MISC metadata.xml 1219 SHA256 0ae3dd9577e914a82f647c359681a278220520270fe4ae1a4dbd7ea0c0071945 SHA512 bab691cd1183391798ef4bb1997c995573a30213afdd2565fbf3f33c9dd7953a915e40a9a8a2963b47f8950e97707e0204f41847f891e99cac8ec0db067d7b57 WHIRLPOOL fb116da30e0c1fbd84ec8eda60d2677ed9972a2144138f4b3e6bddb11d2a38b117522417f3c7c445801bfe9461cb870560a4019df1c7fd36b646ee0ebf9a06a9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlC6GGMACgkQblQW9DDEZTjzAgCeMdeheKl36eHhTg6Qb90IdhtA
-7nsAn1fBjQijbbOWGhQBlI5iyzUdn8Jh
-=E7zA
+iEYEAREIAAYFAlC6KeAACgkQblQW9DDEZTjoTwCgl6/goCqEtgCFIuu60jEVI/ZK
+82kAnR7mZCoVhvo/5a8OajkPUqUUd9BI
+=uo4+
-----END PGP SIGNATURE-----
diff --git a/sys-fs/udev/udev-189.ebuild b/sys-fs/udev/udev-189.ebuild
deleted file mode 100644
index ca9b30d0c03c..000000000000
--- a/sys-fs/udev/udev-189.ebuild
+++ /dev/null
@@ -1,417 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-189.ebuild,v 1.6 2012/12/01 14:46:46 williamh Exp $
-
-EAPI=4
-
-KV_min=2.6.39
-
-inherit autotools eutils linux-info
-
-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 +openrc selinux static-libs"
-
-RESTRICT="test"
-
-COMMON_DEPEND="acl? ( sys-apps/acl )
- gudev? ( dev-libs/glib:2 )
- introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
- selinux? ( sys-libs/libselinux )
- >=sys-apps/kmod-5
- >=sys-apps/util-linux-2.20
- !<sys-libs/glibc-2.11"
-
-DEPEND="${COMMON_DEPEND}
- 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 )"
-
-if [[ ${PV} = 9999* ]]
-then
- DEPEND="${DEPEND}
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt"
-fi
-
-RDEPEND="${COMMON_DEPEND}
- hwdb? ( sys-apps/hwids )
- openrc? ( >=sys-fs/udev-init-scripts-16
- !<sys-apps/openrc-0.9.9 )
- !sys-apps/coldplug
- !=sys-apps/systemd-188
- !<sys-fs/lvm2-2.02.45
- !sys-fs/device-mapper
- !<sys-fs/udev-init-scripts-16
- !<sys-kernel/dracut-017-r1
- !<sys-kernel/genkernel-3.4.25"
-
-S="${WORKDIR}/systemd-${PV}"
-
-udev_check_KV()
-{
- 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=18843fc4a8dd1d8074b98a583454cb9e
- 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
-
- # 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
-}
-
-src_configure()
-{
- local econf_args
-
- econf_args=(
- ac_cv_search_cap_init=
- ac_cv_header_sys_capability_h=yes
- DBUS_CFLAGS=' '
- DBUS_LIBS=' '
- --docdir=/usr/share/doc/${PF}
- --libdir=/usr/$(get_libdir)
- --with-distro=gentoo
- --with-firmware-path=/usr/lib/firmware/updates:/usr/lib/firmware:/lib/firmware/updates:/lib/firmware
- --with-html-dir=/usr/share/doc/${PF}/html
- --with-pci-ids-path=/usr/share/misc/pci.ids
- --with-rootlibdir=/usr/$(get_libdir)
- --with-rootprefix=/usr
- --with-usb-ids-path=/usr/share/misc/usb.ids
- --disable-audit
- --disable-coredump
- --disable-hostnamed
- --disable-ima
- --disable-libcryptsetup
- --disable-localed
- --disable-logind
- --disable-nls
- --disable-pam
- --disable-quotacheck
- --disable-readahead
- --enable-split-usr
- --disable-tcpwrap
- --disable-timedated
- --disable-xz
- $(use_enable acl)
- $(use_enable doc gtk-doc)
- $(use_enable gudev)
- $(use_enable introspection)
- $(use_enable keymap)
- $(use_enable selinux)
- $(use_enable static-libs static)
- )
- 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
- ata_id
- cdrom_id
- collect
- scsi_id
- v4l_id
- accelerometer
- mtd_probe
- 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=libudev.la \
- pkgconfiglib_DATA=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-man7
- install-man8
- install-nodist_systemunitDATA
- install-pkgconfiglibDATA
- install-sharepkgconfigDATA
- install-typelibsDATA
- install-dist_docDATA
- udev-confdirs
- systemd-install-hook
- )
-
- 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/udev.7 man/udevadm.8 man/systemd-udevd.service.8"
- MANPAGES_ALIAS="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}"
- )
- emake 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}"/usr/lib/udev/rules.d/99-systemd.rules
- rm -rf "${D}"/usr/share/doc/${PF}/LICENSE.*
-
- # install gentoo-specific rules
- insinto /usr/lib/udev/rules.d
- doins "${FILESDIR}"/40-gentoo.rules
-
- # install udevadm symlink
- dosym ../usr/bin/udevadm /sbin/udevadm
-}
-
-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 /$(get_libdir)/libudev.so.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
-
- # "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
-
- ewarn
- ewarn "If you build an initramfs including udev, please make sure the"
- ewarn "/usr/bin/udevadm binary gets included, Also, change your scripts to"
- ewarn "use it,as it replaces the old udevinfo and udevtrigger helpers."
-
- ewarn
- ewarn "mount options for /dev are no longer set in /etc/udev/udev.conf."
- ewarn "Instead, /etc/fstab should be used. This matches other mount points."
-
- ewarn
- ewarn "Rules for /dev/hd* devices have been removed."
- ewarn "Please migrate to libata."
-
- ewarn
- ewarn "action_modeswitch has been removed by upstream."
- ewarn "Please use sys-apps/usb_modeswitch."
-
- 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 "This must be set up before your next reboot, or you may"
- ewarn "experience failures which are very difficult to troubleshoot."
- 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 use acl; then
- ewarn
- ewarn "The udev-acl functionality has been moved."
- ewarn "If you are not using systemd, this is handled by consolekit."
- ewarn "Otherwise, you need to make sure that systemd is emerged with"
- ewarn "the acl use flag active."
- fi
-
- if [[ -d ${ROOT}lib/udev ]]
- then
- ewarn
- ewarn "This version of udev moves the files which were installed in"
- ewarn "/lib/udev to /usr/lib/udev. We include a backward compatibility"
- ewarn "patch for gentoo to allow the rules in /lib/udev/rules.d to be"
- ewarn "read; however, bugs should be filed against packages which are"
- ewarn "installing things in /lib/udev so they can be fixed."
- fi
-
- ewarn
- ewarn "You need to restart udev as soon as possible to make the upgrade go"
- ewarn "into affect."
- ewarn "The method you use to do this depends on your init system."
-
- ewarn
- ewarn "Upstream has removed the persistent-net and 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."
- ewarn "Be aware that you cannot directly swap device names, so persistent"
- ewarn "rules for network devices should be like the ones at the following"
- ewarn "URL:"
- ewarn "http://bugs.gentoo.org/show_bug.cgi?id=433746#C1"
-
- preserve_old_lib_notify /$(get_libdir)/libudev.so.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"
-}
diff --git a/sys-fs/udev/udev-190.ebuild b/sys-fs/udev/udev-190.ebuild
deleted file mode 100644
index 0436fbbd5993..000000000000
--- a/sys-fs/udev/udev-190.ebuild
+++ /dev/null
@@ -1,417 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-190.ebuild,v 1.3 2012/12/01 14:46:46 williamh Exp $
-
-EAPI=4
-
-KV_min=2.6.39
-
-inherit autotools eutils linux-info
-
-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 +openrc selinux static-libs"
-
-RESTRICT="test"
-
-COMMON_DEPEND="acl? ( sys-apps/acl )
- gudev? ( dev-libs/glib:2 )
- introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
- selinux? ( sys-libs/libselinux )
- >=sys-apps/kmod-5
- >=sys-apps/util-linux-2.20
- !<sys-libs/glibc-2.11"
-
-DEPEND="${COMMON_DEPEND}
- 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 )"
-
-if [[ ${PV} = 9999* ]]
-then
- DEPEND="${DEPEND}
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt"
-fi
-
-RDEPEND="${COMMON_DEPEND}
- hwdb? ( sys-apps/hwids )
- openrc? ( >=sys-fs/udev-init-scripts-16
- !<sys-apps/openrc-0.9.9 )
- !sys-apps/coldplug
- !=sys-apps/systemd-188
- !<sys-fs/lvm2-2.02.45
- !sys-fs/device-mapper
- !<sys-fs/udev-init-scripts-16
- !<sys-kernel/dracut-017-r1
- !<sys-kernel/genkernel-3.4.25"
-
-S="${WORKDIR}/systemd-${PV}"
-
-udev_check_KV()
-{
- 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=18843fc4a8dd1d8074b98a583454cb9e
- 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
-
- # 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
-}
-
-src_configure()
-{
- local econf_args
-
- econf_args=(
- ac_cv_search_cap_init=
- ac_cv_header_sys_capability_h=yes
- DBUS_CFLAGS=' '
- DBUS_LIBS=' '
- --docdir=/usr/share/doc/${PF}
- --libdir=/usr/$(get_libdir)
- --with-distro=gentoo
- --with-firmware-path=/usr/lib/firmware/updates:/usr/lib/firmware:/lib/firmware/updates:/lib/firmware
- --with-html-dir=/usr/share/doc/${PF}/html
- --with-pci-ids-path=/usr/share/misc/pci.ids
- --with-rootlibdir=/usr/$(get_libdir)
- --with-rootprefix=/usr
- --with-usb-ids-path=/usr/share/misc/usb.ids
- --disable-audit
- --disable-coredump
- --disable-hostnamed
- --disable-ima
- --disable-libcryptsetup
- --disable-localed
- --disable-logind
- --disable-nls
- --disable-pam
- --disable-quotacheck
- --disable-readahead
- --enable-split-usr
- --disable-tcpwrap
- --disable-timedated
- --disable-xz
- $(use_enable acl)
- $(use_enable doc gtk-doc)
- $(use_enable gudev)
- $(use_enable introspection)
- $(use_enable keymap)
- $(use_enable selinux)
- $(use_enable static-libs static)
- )
- 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
- ata_id
- cdrom_id
- collect
- scsi_id
- v4l_id
- accelerometer
- mtd_probe
- 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=libudev.la \
- pkgconfiglib_DATA=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-man7
- install-man8
- install-nodist_systemunitDATA
- install-pkgconfiglibDATA
- install-sharepkgconfigDATA
- install-typelibsDATA
- install-dist_docDATA
- udev-confdirs
- systemd-install-hook
- )
-
- 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/udev.7 man/udevadm.8 man/systemd-udevd.service.8"
- MANPAGES_ALIAS="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}"
- )
- emake 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}"/usr/lib/udev/rules.d/99-systemd.rules
- rm -rf "${D}"/usr/share/doc/${PF}/LICENSE.*
-
- # install gentoo-specific rules
- insinto /usr/lib/udev/rules.d
- doins "${FILESDIR}"/40-gentoo.rules
-
- # install udevadm symlink
- dosym ../usr/bin/udevadm /sbin/udevadm
-}
-
-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 /$(get_libdir)/libudev.so.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
-
- # "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
-
- ewarn
- ewarn "If you build an initramfs including udev, please make sure the"
- ewarn "/usr/bin/udevadm binary gets included, Also, change your scripts to"
- ewarn "use it,as it replaces the old udevinfo and udevtrigger helpers."
-
- ewarn
- ewarn "mount options for /dev are no longer set in /etc/udev/udev.conf."
- ewarn "Instead, /etc/fstab should be used. This matches other mount points."
-
- ewarn
- ewarn "Rules for /dev/hd* devices have been removed."
- ewarn "Please migrate to libata."
-
- ewarn
- ewarn "action_modeswitch has been removed by upstream."
- ewarn "Please use sys-apps/usb_modeswitch."
-
- 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 "This must be set up before your next reboot, or you may"
- ewarn "experience failures which are very difficult to troubleshoot."
- 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 use acl; then
- ewarn
- ewarn "The udev-acl functionality has been moved."
- ewarn "If you are not using systemd, this is handled by consolekit."
- ewarn "Otherwise, you need to make sure that systemd is emerged with"
- ewarn "the acl use flag active."
- fi
-
- if [[ -d ${ROOT}lib/udev ]]
- then
- ewarn
- ewarn "This version of udev moves the files which were installed in"
- ewarn "/lib/udev to /usr/lib/udev. We include a backward compatibility"
- ewarn "patch for gentoo to allow the rules in /lib/udev/rules.d to be"
- ewarn "read; however, bugs should be filed against packages which are"
- ewarn "installing things in /lib/udev so they can be fixed."
- fi
-
- ewarn
- ewarn "You need to restart udev as soon as possible to make the upgrade go"
- ewarn "into affect."
- ewarn "The method you use to do this depends on your init system."
-
- ewarn
- ewarn "Upstream has removed the persistent-net and 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."
- ewarn "Be aware that you cannot directly swap device names, so persistent"
- ewarn "rules for network devices should be like the ones at the following"
- ewarn "URL:"
- ewarn "http://bugs.gentoo.org/show_bug.cgi?id=433746#C1"
-
- preserve_old_lib_notify /$(get_libdir)/libudev.so.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"
-}
diff --git a/sys-fs/udev/udev-191.ebuild b/sys-fs/udev/udev-191.ebuild
deleted file mode 100644
index 45e38271da52..000000000000
--- a/sys-fs/udev/udev-191.ebuild
+++ /dev/null
@@ -1,417 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-191.ebuild,v 1.3 2012/12/01 14:46:46 williamh Exp $
-
-EAPI=4
-
-KV_min=2.6.39
-
-inherit autotools eutils linux-info
-
-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 +openrc selinux static-libs"
-
-RESTRICT="test"
-
-COMMON_DEPEND="acl? ( sys-apps/acl )
- gudev? ( dev-libs/glib:2 )
- introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
- selinux? ( sys-libs/libselinux )
- >=sys-apps/kmod-5
- >=sys-apps/util-linux-2.20
- !<sys-libs/glibc-2.11"
-
-DEPEND="${COMMON_DEPEND}
- 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 )"
-
-if [[ ${PV} = 9999* ]]
-then
- DEPEND="${DEPEND}
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt"
-fi
-
-RDEPEND="${COMMON_DEPEND}
- hwdb? ( sys-apps/hwids )
- openrc? ( >=sys-fs/udev-init-scripts-16
- !<sys-apps/openrc-0.9.9 )
- !sys-apps/coldplug
- !=sys-apps/systemd-188
- !<sys-fs/lvm2-2.02.45
- !sys-fs/device-mapper
- !<sys-fs/udev-init-scripts-16
- !<sys-kernel/dracut-017-r1
- !<sys-kernel/genkernel-3.4.25"
-
-S="${WORKDIR}/systemd-${PV}"
-
-udev_check_KV()
-{
- 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=18843fc4a8dd1d8074b98a583454cb9e
- 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
-
- # 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
-}
-
-src_configure()
-{
- local econf_args
-
- econf_args=(
- ac_cv_search_cap_init=
- ac_cv_header_sys_capability_h=yes
- DBUS_CFLAGS=' '
- DBUS_LIBS=' '
- --docdir=/usr/share/doc/${PF}
- --libdir=/usr/$(get_libdir)
- --with-distro=gentoo
- --with-firmware-path=/usr/lib/firmware/updates:/usr/lib/firmware:/lib/firmware/updates:/lib/firmware
- --with-html-dir=/usr/share/doc/${PF}/html
- --with-pci-ids-path=/usr/share/misc/pci.ids
- --with-rootlibdir=/usr/$(get_libdir)
- --with-rootprefix=/usr
- --with-usb-ids-path=/usr/share/misc/usb.ids
- --disable-audit
- --disable-coredump
- --disable-hostnamed
- --disable-ima
- --disable-libcryptsetup
- --disable-localed
- --disable-logind
- --disable-nls
- --disable-pam
- --disable-quotacheck
- --disable-readahead
- --enable-split-usr
- --disable-tcpwrap
- --disable-timedated
- --disable-xz
- $(use_enable acl)
- $(use_enable doc gtk-doc)
- $(use_enable gudev)
- $(use_enable introspection)
- $(use_enable keymap)
- $(use_enable selinux)
- $(use_enable static-libs static)
- )
- 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
- ata_id
- cdrom_id
- collect
- scsi_id
- v4l_id
- accelerometer
- mtd_probe
- 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=libudev.la \
- pkgconfiglib_DATA=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-man7
- install-man8
- install-nodist_systemunitDATA
- install-pkgconfiglibDATA
- install-sharepkgconfigDATA
- install-typelibsDATA
- install-dist_docDATA
- udev-confdirs
- systemd-install-hook
- )
-
- 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/udev.7 man/udevadm.8 man/systemd-udevd.service.8"
- MANPAGES_ALIAS="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}"
- )
- emake 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}"/usr/lib/udev/rules.d/99-systemd.rules
- rm -rf "${D}"/usr/share/doc/${PF}/LICENSE.*
-
- # install gentoo-specific rules
- insinto /usr/lib/udev/rules.d
- doins "${FILESDIR}"/40-gentoo.rules
-
- # install udevadm symlink
- dosym ../usr/bin/udevadm /sbin/udevadm
-}
-
-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 /$(get_libdir)/libudev.so.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
-
- # "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
-
- ewarn
- ewarn "If you build an initramfs including udev, please make sure the"
- ewarn "/usr/bin/udevadm binary gets included, Also, change your scripts to"
- ewarn "use it,as it replaces the old udevinfo and udevtrigger helpers."
-
- ewarn
- ewarn "mount options for /dev are no longer set in /etc/udev/udev.conf."
- ewarn "Instead, /etc/fstab should be used. This matches other mount points."
-
- ewarn
- ewarn "Rules for /dev/hd* devices have been removed."
- ewarn "Please migrate to libata."
-
- ewarn
- ewarn "action_modeswitch has been removed by upstream."
- ewarn "Please use sys-apps/usb_modeswitch."
-
- 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 "This must be set up before your next reboot, or you may"
- ewarn "experience failures which are very difficult to troubleshoot."
- 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 use acl; then
- ewarn
- ewarn "The udev-acl functionality has been moved."
- ewarn "If you are not using systemd, this is handled by consolekit."
- ewarn "Otherwise, you need to make sure that systemd is emerged with"
- ewarn "the acl use flag active."
- fi
-
- if [[ -d ${ROOT}lib/udev ]]
- then
- ewarn
- ewarn "This version of udev moves the files which were installed in"
- ewarn "/lib/udev to /usr/lib/udev. We include a backward compatibility"
- ewarn "patch for gentoo to allow the rules in /lib/udev/rules.d to be"
- ewarn "read; however, bugs should be filed against packages which are"
- ewarn "installing things in /lib/udev so they can be fixed."
- fi
-
- ewarn
- ewarn "You need to restart udev as soon as possible to make the upgrade go"
- ewarn "into affect."
- ewarn "The method you use to do this depends on your init system."
-
- ewarn
- ewarn "Upstream has removed the persistent-net and 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."
- ewarn "Be aware that you cannot directly swap device names, so persistent"
- ewarn "rules for network devices should be like the ones at the following"
- ewarn "URL:"
- ewarn "http://bugs.gentoo.org/show_bug.cgi?id=433746#C1"
-
- preserve_old_lib_notify /$(get_libdir)/libudev.so.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"
-}
diff --git a/sys-fs/udev/udev-192.ebuild b/sys-fs/udev/udev-192.ebuild
deleted file mode 100644
index e35d7a3a113f..000000000000
--- a/sys-fs/udev/udev-192.ebuild
+++ /dev/null
@@ -1,417 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-192.ebuild,v 1.3 2012/12/01 14:46:46 williamh Exp $
-
-EAPI=4
-
-KV_min=2.6.39
-
-inherit autotools eutils linux-info
-
-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 +openrc selinux static-libs"
-
-RESTRICT="test"
-
-COMMON_DEPEND="acl? ( sys-apps/acl )
- gudev? ( dev-libs/glib:2 )
- introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
- selinux? ( sys-libs/libselinux )
- >=sys-apps/kmod-5
- >=sys-apps/util-linux-2.20
- !<sys-libs/glibc-2.11"
-
-DEPEND="${COMMON_DEPEND}
- 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 )"
-
-if [[ ${PV} = 9999* ]]
-then
- DEPEND="${DEPEND}
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt"
-fi
-
-RDEPEND="${COMMON_DEPEND}
- hwdb? ( sys-apps/hwids )
- openrc? ( >=sys-fs/udev-init-scripts-16
- !<sys-apps/openrc-0.9.9 )
- !sys-apps/coldplug
- !=sys-apps/systemd-188
- !<sys-fs/lvm2-2.02.45
- !sys-fs/device-mapper
- !<sys-fs/udev-init-scripts-16
- !<sys-kernel/dracut-017-r1
- !<sys-kernel/genkernel-3.4.25"
-
-S="${WORKDIR}/systemd-${PV}"
-
-udev_check_KV()
-{
- 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=18843fc4a8dd1d8074b98a583454cb9e
- 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
-
- # 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
-}
-
-src_configure()
-{
- local econf_args
-
- econf_args=(
- ac_cv_search_cap_init=
- ac_cv_header_sys_capability_h=yes
- DBUS_CFLAGS=' '
- DBUS_LIBS=' '
- --docdir=/usr/share/doc/${PF}
- --libdir=/usr/$(get_libdir)
- --with-distro=gentoo
- --with-firmware-path=/usr/lib/firmware/updates:/usr/lib/firmware:/lib/firmware/updates:/lib/firmware
- --with-html-dir=/usr/share/doc/${PF}/html
- --with-pci-ids-path=/usr/share/misc/pci.ids
- --with-rootlibdir=/usr/$(get_libdir)
- --with-rootprefix=/usr
- --with-usb-ids-path=/usr/share/misc/usb.ids
- --disable-audit
- --disable-coredump
- --disable-hostnamed
- --disable-ima
- --disable-libcryptsetup
- --disable-localed
- --disable-logind
- --disable-nls
- --disable-pam
- --disable-quotacheck
- --disable-readahead
- --enable-split-usr
- --disable-tcpwrap
- --disable-timedated
- --disable-xz
- $(use_enable acl)
- $(use_enable doc gtk-doc)
- $(use_enable gudev)
- $(use_enable introspection)
- $(use_enable keymap)
- $(use_enable selinux)
- $(use_enable static-libs static)
- )
- 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
- ata_id
- cdrom_id
- collect
- scsi_id
- v4l_id
- accelerometer
- mtd_probe
- 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=libudev.la \
- pkgconfiglib_DATA=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-man7
- install-man8
- install-nodist_systemunitDATA
- install-pkgconfiglibDATA
- install-sharepkgconfigDATA
- install-typelibsDATA
- install-dist_docDATA
- udev-confdirs
- systemd-install-hook
- )
-
- 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/udev.7 man/udevadm.8 man/systemd-udevd.service.8"
- MANPAGES_ALIAS="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}"
- )
- emake 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}"/usr/lib/udev/rules.d/99-systemd.rules
- rm -rf "${D}"/usr/share/doc/${PF}/LICENSE.*
-
- # install gentoo-specific rules
- insinto /usr/lib/udev/rules.d
- doins "${FILESDIR}"/40-gentoo.rules
-
- # install udevadm symlink
- dosym ../usr/bin/udevadm /sbin/udevadm
-}
-
-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 /$(get_libdir)/libudev.so.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
-
- # "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
-
- ewarn
- ewarn "If you build an initramfs including udev, please make sure the"
- ewarn "/usr/bin/udevadm binary gets included, Also, change your scripts to"
- ewarn "use it,as it replaces the old udevinfo and udevtrigger helpers."
-
- ewarn
- ewarn "mount options for /dev are no longer set in /etc/udev/udev.conf."
- ewarn "Instead, /etc/fstab should be used. This matches other mount points."
-
- ewarn
- ewarn "Rules for /dev/hd* devices have been removed."
- ewarn "Please migrate to libata."
-
- ewarn
- ewarn "action_modeswitch has been removed by upstream."
- ewarn "Please use sys-apps/usb_modeswitch."
-
- 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 "This must be set up before your next reboot, or you may"
- ewarn "experience failures which are very difficult to troubleshoot."
- 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 use acl; then
- ewarn
- ewarn "The udev-acl functionality has been moved."
- ewarn "If you are not using systemd, this is handled by consolekit."
- ewarn "Otherwise, you need to make sure that systemd is emerged with"
- ewarn "the acl use flag active."
- fi
-
- if [[ -d ${ROOT}lib/udev ]]
- then
- ewarn
- ewarn "This version of udev moves the files which were installed in"
- ewarn "/lib/udev to /usr/lib/udev. We include a backward compatibility"
- ewarn "patch for gentoo to allow the rules in /lib/udev/rules.d to be"
- ewarn "read; however, bugs should be filed against packages which are"
- ewarn "installing things in /lib/udev so they can be fixed."
- fi
-
- ewarn
- ewarn "You need to restart udev as soon as possible to make the upgrade go"
- ewarn "into affect."
- ewarn "The method you use to do this depends on your init system."
-
- ewarn
- ewarn "Upstream has removed the persistent-net and 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."
- ewarn "Be aware that you cannot directly swap device names, so persistent"
- ewarn "rules for network devices should be like the ones at the following"
- ewarn "URL:"
- ewarn "http://bugs.gentoo.org/show_bug.cgi?id=433746#C1"
-
- preserve_old_lib_notify /$(get_libdir)/libudev.so.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"
-}
diff --git a/sys-fs/udev/udev-193.ebuild b/sys-fs/udev/udev-193.ebuild
deleted file mode 100644
index 316001e19fe3..000000000000
--- a/sys-fs/udev/udev-193.ebuild
+++ /dev/null
@@ -1,417 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-193.ebuild,v 1.4 2012/12/01 14:46:46 williamh Exp $
-
-EAPI=4
-
-KV_min=2.6.39
-
-inherit autotools eutils linux-info
-
-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 +openrc selinux static-libs"
-
-RESTRICT="test"
-
-COMMON_DEPEND="acl? ( sys-apps/acl )
- gudev? ( dev-libs/glib:2 )
- introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
- selinux? ( sys-libs/libselinux )
- >=sys-apps/kmod-5
- >=sys-apps/util-linux-2.20
- !<sys-libs/glibc-2.11"
-
-DEPEND="${COMMON_DEPEND}
- 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 )"
-
-if [[ ${PV} = 9999* ]]
-then
- DEPEND="${DEPEND}
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt"
-fi
-
-RDEPEND="${COMMON_DEPEND}
- hwdb? ( sys-apps/hwids )
- openrc? ( >=sys-fs/udev-init-scripts-16
- !<sys-apps/openrc-0.9.9 )
- !sys-apps/coldplug
- !=sys-apps/systemd-188
- !<sys-fs/lvm2-2.02.45
- !sys-fs/device-mapper
- !<sys-fs/udev-init-scripts-16
- !<sys-kernel/dracut-017-r1
- !<sys-kernel/genkernel-3.4.25"
-
-S="${WORKDIR}/systemd-${PV}"
-
-udev_check_KV()
-{
- 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=18843fc4a8dd1d8074b98a583454cb9e
- 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
-
- # 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
-}
-
-src_configure()
-{
- local econf_args
-
- econf_args=(
- ac_cv_search_cap_init=
- ac_cv_header_sys_capability_h=yes
- DBUS_CFLAGS=' '
- DBUS_LIBS=' '
- --docdir=/usr/share/doc/${PF}
- --libdir=/usr/$(get_libdir)
- --with-distro=gentoo
- --with-firmware-path=/usr/lib/firmware/updates:/usr/lib/firmware:/lib/firmware/updates:/lib/firmware
- --with-html-dir=/usr/share/doc/${PF}/html
- --with-pci-ids-path=/usr/share/misc/pci.ids
- --with-rootlibdir=/usr/$(get_libdir)
- --with-rootprefix=/usr
- --with-usb-ids-path=/usr/share/misc/usb.ids
- --disable-audit
- --disable-coredump
- --disable-hostnamed
- --disable-ima
- --disable-libcryptsetup
- --disable-localed
- --disable-logind
- --disable-nls
- --disable-pam
- --disable-quotacheck
- --disable-readahead
- --enable-split-usr
- --disable-tcpwrap
- --disable-timedated
- --disable-xz
- $(use_enable acl)
- $(use_enable doc gtk-doc)
- $(use_enable gudev)
- $(use_enable introspection)
- $(use_enable keymap)
- $(use_enable selinux)
- $(use_enable static-libs static)
- )
- 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
- ata_id
- cdrom_id
- collect
- scsi_id
- v4l_id
- accelerometer
- mtd_probe
- 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=libudev.la \
- pkgconfiglib_DATA=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-man7
- install-man8
- install-nodist_systemunitDATA
- install-pkgconfiglibDATA
- install-sharepkgconfigDATA
- install-typelibsDATA
- install-dist_docDATA
- udev-confdirs
- systemd-install-hook
- )
-
- 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/udev.7 man/udevadm.8 man/systemd-udevd.service.8"
- MANPAGES_ALIAS="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}"
- )
- emake 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}"/usr/lib/udev/rules.d/99-systemd.rules
- rm -rf "${D}"/usr/share/doc/${PF}/LICENSE.*
-
- # install gentoo-specific rules
- insinto /usr/lib/udev/rules.d
- doins "${FILESDIR}"/40-gentoo.rules
-
- # install udevadm symlink
- dosym ../usr/bin/udevadm /sbin/udevadm
-}
-
-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 /$(get_libdir)/libudev.so.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
-
- # "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
-
- ewarn
- ewarn "If you build an initramfs including udev, please make sure the"
- ewarn "/usr/bin/udevadm binary gets included, Also, change your scripts to"
- ewarn "use it,as it replaces the old udevinfo and udevtrigger helpers."
-
- ewarn
- ewarn "mount options for /dev are no longer set in /etc/udev/udev.conf."
- ewarn "Instead, /etc/fstab should be used. This matches other mount points."
-
- ewarn
- ewarn "Rules for /dev/hd* devices have been removed."
- ewarn "Please migrate to libata."
-
- ewarn
- ewarn "action_modeswitch has been removed by upstream."
- ewarn "Please use sys-apps/usb_modeswitch."
-
- 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 "This must be set up before your next reboot, or you may"
- ewarn "experience failures which are very difficult to troubleshoot."
- 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 use acl; then
- ewarn
- ewarn "The udev-acl functionality has been moved."
- ewarn "If you are not using systemd, this is handled by consolekit."
- ewarn "Otherwise, you need to make sure that systemd is emerged with"
- ewarn "the acl use flag active."
- fi
-
- if [[ -d ${ROOT}lib/udev ]]
- then
- ewarn
- ewarn "This version of udev moves the files which were installed in"
- ewarn "/lib/udev to /usr/lib/udev. We include a backward compatibility"
- ewarn "patch for gentoo to allow the rules in /lib/udev/rules.d to be"
- ewarn "read; however, bugs should be filed against packages which are"
- ewarn "installing things in /lib/udev so they can be fixed."
- 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
- ewarn "Upstream has removed the persistent-net and 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."
- ewarn "Be aware that you cannot directly swap device names, so persistent"
- ewarn "rules for network devices should be like the ones at the following"
- ewarn "URL:"
- ewarn "http://bugs.gentoo.org/show_bug.cgi?id=433746#C1"
-
- preserve_old_lib_notify /$(get_libdir)/libudev.so.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"
-}
diff --git a/sys-fs/udev/udev-194.ebuild b/sys-fs/udev/udev-194.ebuild
deleted file mode 100644
index db528266b43a..000000000000
--- a/sys-fs/udev/udev-194.ebuild
+++ /dev/null
@@ -1,419 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-194.ebuild,v 1.4 2012/12/01 14:46:46 williamh Exp $
-
-EAPI=4
-
-KV_min=2.6.39
-
-inherit autotools eutils linux-info
-
-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 +openrc selinux static-libs"
-
-RESTRICT="test"
-
-COMMON_DEPEND="acl? ( sys-apps/acl )
- gudev? ( dev-libs/glib:2 )
- introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
- selinux? ( sys-libs/libselinux )
- >=sys-apps/kmod-5
- >=sys-apps/util-linux-2.20
- !<sys-libs/glibc-2.11"
-
-DEPEND="${COMMON_DEPEND}
- 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 )"
-
-if [[ ${PV} = 9999* ]]
-then
- DEPEND="${DEPEND}
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt"
-fi
-
-RDEPEND="${COMMON_DEPEND}
- hwdb? ( sys-apps/hwids )
- openrc? ( >=sys-fs/udev-init-scripts-16
- !<sys-apps/openrc-0.9.9 )
- !sys-apps/coldplug
- !=sys-apps/systemd-188
- !<sys-fs/lvm2-2.02.45
- !sys-fs/device-mapper
- !<sys-fs/udev-init-scripts-16
- !<sys-kernel/dracut-017-r1
- !<sys-kernel/genkernel-3.4.25"
-
-S="${WORKDIR}/systemd-${PV}"
-
-QA_MULTILIB_PATHS="usr/lib/systemd/systemd-udevd"
-
-udev_check_KV()
-{
- 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=18843fc4a8dd1d8074b98a583454cb9e
- 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
-
- # 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
-}
-
-src_configure()
-{
- local econf_args
-
- econf_args=(
- ac_cv_search_cap_init=
- ac_cv_header_sys_capability_h=yes
- DBUS_CFLAGS=' '
- DBUS_LIBS=' '
- --docdir=/usr/share/doc/${PF}
- --libdir=/usr/$(get_libdir)
- --with-distro=gentoo
- --with-firmware-path=/usr/lib/firmware/updates:/usr/lib/firmware:/lib/firmware/updates:/lib/firmware
- --with-html-dir=/usr/share/doc/${PF}/html
- --with-pci-ids-path=/usr/share/misc/pci.ids
- --with-rootlibdir=/usr/$(get_libdir)
- --with-rootprefix=/usr
- --with-usb-ids-path=/usr/share/misc/usb.ids
- --disable-audit
- --disable-coredump
- --disable-hostnamed
- --disable-ima
- --disable-libcryptsetup
- --disable-localed
- --disable-logind
- --disable-nls
- --disable-pam
- --disable-quotacheck
- --disable-readahead
- --enable-split-usr
- --disable-tcpwrap
- --disable-timedated
- --disable-xz
- $(use_enable acl)
- $(use_enable doc gtk-doc)
- $(use_enable gudev)
- $(use_enable introspection)
- $(use_enable keymap)
- $(use_enable selinux)
- $(use_enable static-libs static)
- )
- 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
- ata_id
- cdrom_id
- collect
- scsi_id
- v4l_id
- accelerometer
- mtd_probe
- 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=libudev.la \
- pkgconfiglib_DATA=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-man7
- install-man8
- install-nodist_systemunitDATA
- install-pkgconfiglibDATA
- install-sharepkgconfigDATA
- install-typelibsDATA
- install-dist_docDATA
- udev-confdirs
- systemd-install-hook
- )
-
- 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/udev.7 man/udevadm.8 man/systemd-udevd.service.8"
- MANPAGES_ALIAS="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}"
- )
- emake 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}"/usr/lib/udev/rules.d/99-systemd.rules
- rm -rf "${D}"/usr/share/doc/${PF}/LICENSE.*
-
- # install gentoo-specific rules
- insinto /usr/lib/udev/rules.d
- doins "${FILESDIR}"/40-gentoo.rules
-
- # install udevadm symlink
- dosym ../usr/bin/udevadm /sbin/udevadm
-}
-
-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 /$(get_libdir)/libudev.so.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
-
- # "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
-
- ewarn
- ewarn "If you build an initramfs including udev, please make sure the"
- ewarn "/usr/bin/udevadm binary gets included, Also, change your scripts to"
- ewarn "use it,as it replaces the old udevinfo and udevtrigger helpers."
-
- ewarn
- ewarn "mount options for /dev are no longer set in /etc/udev/udev.conf."
- ewarn "Instead, /etc/fstab should be used. This matches other mount points."
-
- ewarn
- ewarn "Rules for /dev/hd* devices have been removed."
- ewarn "Please migrate to libata."
-
- ewarn
- ewarn "action_modeswitch has been removed by upstream."
- ewarn "Please use sys-apps/usb_modeswitch."
-
- 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 "This must be set up before your next reboot, or you may"
- ewarn "experience failures which are very difficult to troubleshoot."
- 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 use acl; then
- ewarn
- ewarn "The udev-acl functionality has been moved."
- ewarn "If you are not using systemd, this is handled by consolekit."
- ewarn "Otherwise, you need to make sure that systemd is emerged with"
- ewarn "the acl use flag active."
- fi
-
- if [[ -d ${ROOT}lib/udev ]]
- then
- ewarn
- ewarn "This version of udev moves the files which were installed in"
- ewarn "/lib/udev to /usr/lib/udev. We include a backward compatibility"
- ewarn "patch for gentoo to allow the rules in /lib/udev/rules.d to be"
- ewarn "read; however, bugs should be filed against packages which are"
- ewarn "installing things in /lib/udev so they can be fixed."
- 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
- ewarn "Upstream has removed the persistent-net and 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."
- ewarn "Be aware that you cannot directly swap device names, so persistent"
- ewarn "rules for network devices should be like the ones at the following"
- ewarn "URL:"
- ewarn "http://bugs.gentoo.org/show_bug.cgi?id=433746#C1"
-
- preserve_old_lib_notify /$(get_libdir)/libudev.so.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"
-}