util-linux: Remove (moving to coreos-overlay)

This commit is contained in:
Alex Crawford 2014-07-14 11:56:10 -07:00
parent f6108e116a
commit 443ec51ca2
27 changed files with 0 additions and 4222 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,58 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
AUX crypto-loop.confd 412 SHA256 188c945e5e6c54cb14874057c625ff30b72fb33d3d5648e53de2f231a3375600 SHA512 fdcb4e3a267afd1bbc836e368918da7edc709fc8a61e45b53ec3694a79722ebfda0f3bcbeb053c665a6552241c5a915b76f142bff07757a7c018446000dd7bd0 WHIRLPOOL 7e0c95f46bc7c5474f950a0da93d9eefda7962385e1f425f2ae3dd931f7119fb5efa5ca0a470706bdbde661a001bb3797cf6e5f2735f346efb69aed5d66146e7
AUX crypto-loop.initd 1729 SHA256 b8329250c865e79a1e761d713c2270c99d5fe96e0d5a7ca646946fab65c4b810 SHA512 89983743c2277c2c88e7f77cd38ce0e2cc56255f7f314dcce74c5cbffe607323f888d00ef115a660ec6c52802b347d8e0d8cc0a411644f20118d776c88f9725b WHIRLPOOL 3f3256788ba61e2ce147b38144b739c4f7d0ed7bc1b8936b1bf4f33d4a0bce4cd17a49d81a573009601a597fff081170845b5cdf400dc8b7160022943538c7d9
AUX util-linux-2.19.1-mount-a-segv.patch 2610 SHA256 c24dc0ed811e6c0ebc69f15c818cf89aeb1dc12b5f2f62163402ad4479d7aec9 SHA512 933c86f1a0ace4d64c3e5deb20a381c53ba78b4e21b92dcea9caa02a25c281204160e17475c7e2ee37f5c9947fbd8de7c6db2a38b4dae1af74de905a1e1ea6dc WHIRLPOOL be88944c9d77fc6985bdbd06abc25a9bc60b1f3f3ec840b61f3dbb4fc2b5e94f82c9911d39aa543bfad12d1b93486bb78b6fa79af9954f97bce959af8365b125
AUX util-linux-2.19.1-umount-l-nfs.patch 2721 SHA256 f889de8dba4cb412ec0afcd2605c4f97e0870c6325dd0200e8c8c06794b4bf64 SHA512 b031116e9d5f99aac972c7552a9b28bf64ce269ba9c77fa4e3ca94ed3980d047b84a83c6d213595d5304e2b4fb9e7364b69537f6a3a2f997c0422ee613547db9 WHIRLPOOL 24eea4c4f5796c446394c8f41a5f8a7da0fba5996e74f8b22fe193b0b9e99ba5bb6bd1fd9be8d5e956ed6e3b71805a51276dd5cbff935fa97b21769e8e96196c
AUX util-linux-2.20-dmesg-newline.patch 2629 SHA256 818c0a9fba08fe927f3af286bbae1d66dd3b1f32a0fa27722da7def019b3be0a SHA512 dfed0b960b4748c1ab7081487f585c30c370ea753c592693ab3ae00e27f637eb7aa7f2ace06d6c03a0cbea618853eda92e2c260f0a9d3e07f2fefc39b68ec7d3 WHIRLPOOL 8e3332c8ab1371fbb27fc861ee4c2d7722ca64528b20fff7b08c3c1dc06d2ce8b58a58cbdfff96673394ab43b55053808d5135f1cdba0653b07a8e082277d4c5
AUX util-linux-2.20-sysfs-init.patch 1019 SHA256 44b9c38794d73db5c5fd0f0ede8055c77668ddd4df916bc52cc36f8c7c02f108 SHA512 5bc56f3e32c1d19fa54b44564bcf5af5a3cac250a9696ad89265d8ae595885e0be09948de83c82248a6d42280ba8a83690f7b1722b607910400844e1f7605b23 WHIRLPOOL a6f5ecfa03e8bd55fa36b829c316efae4680bd3fb651b7758ca38d48fe752333804bc73a67b7b5f23f748000e6ddc4960c020d4a49ec8c88d0ae57790e3dea87
AUX util-linux-2.20.1-libmount-c++.patch 1017 SHA256 5d72ed4f31917d452df527ae04a0a588cedf54a34f0f73679dfa65ff4770fba6 SHA512 96780084de2f3b3542cea23cf4d97ab3a9f1ab1b08f1e6c6f9ba062d7039331637dd8758dcc315576a79909dbe3c498f1c5cd187fb38b23995d14b3d73c2a783 WHIRLPOOL a01778fe767d4366245a57a899bd6802b1f9a3a8fb3e21e8f9ed2a0ecf4bd7fbaaa6b3cc9ee7035f6f63db2a7d2c895040f5e3337fe29cd140678580c0175de5
AUX util-linux-2.20.1-no-printf-alloc.patch 2496 SHA256 f5017b80eec55076df0e9175012d8687a9a38493e266e89c8c6a79008971de32 SHA512 1625d5bb7ebfb1603fff1fd197c82a4a7ee121a9623aca087e01e3af1b8be99e5deaa609e49a9e313fd5109bbc714e50d9f79091493f8906b7c79e11d60e52dc WHIRLPOOL 16bed59b592f532ace269083233d2e001d3541a354cf44fe7aab9ba89951e2887182b151e772e7a50f78941e002e85cb2101045c4d37c9bee37cfe9cc7cacf56
AUX util-linux-2.20.1-umount-fs-search.patch 1479 SHA256 8b8ceb858e451386f55f19d8049c42ffad84fed02ba88f5585f7c870c166ee0b SHA512 ebe205f47002e3434aecd4e68f104dd9dba5e6e6b8d9c5b38cdecf37d30a7f6235837afb9c292aabfb6d688a1cb7bd5982b49c5a3a1443ec7f6dc978cf10cc81 WHIRLPOOL f299a835c5280836f1dafd206e7f857c1f1684181e885628d45b6bae03bbd7ccd598f7141a516689a35d96bf3b2c27bd2806584adc7e515b50d8362f3298abd0
AUX util-linux-2.21.1-cal-nl.patch 994 SHA256 1e2a263c9d602ed07795697fd4182dc3d1960936662fde9b0debd379413d7436 SHA512 ac0b8c349e8d3b0df2c98c96dc6e772ce2c4eee7efe63f61ae03762a2f90fa12f654e7a8664af6fc6a8db65c8976df38b1c6fd31bf776621a82b0052cce8b12e WHIRLPOOL 19dba492132fa3a56991c26689f53d282059236e286caa6a24c2d1a30647f456e63291298a8522d08056394934c64709b5b21007fdfc8a28ab1a1965a83ca258
AUX util-linux-2.21.1-no-printf-alloc.patch 2549 SHA256 2a2429b59151a63a75d2ff46f60732c6a3fbe9b52e472802edcf4eedbe3e22f2 SHA512 5f199511d3c6919c1a23248f2fd1d15343ee330e169b8440ca48bbbbc1aae243d8bd652ab504520c5d12dd0875e5e94a704d727d4b71bcd940d4ff51115b3981 WHIRLPOOL 0da24907d2599637c6fde3d287e3e7d432bdcecece8aaebf9358228657c116675b020efd4f583bfbc250b6505f8ead081f7c8c25fc6a1454a426d0856262bb1e
DIST util-linux-2.19.1-20110510.diff.bz2 47865 SHA256 e04f541ca48951284331e71cbf142d777750dbc9baa051ed9e9913c7dab32b7f SHA512 093d615b9dafdc9552530c8e45151e680043090d91eb94544ca824084ae577a0afbd9af944f5e7fdeb258d076f550c21e737324671be4ef7c98969432cc9a0d4 WHIRLPOOL d3e25bccabfe83d3b4bedf4a4b21f9de396a0f84715f8f2a77b7dda01d51ed5e3f73f43658c1645f5f08adba815f8402752b97095d78df73212453c379044f56
DIST util-linux-2.19.1.tar.bz2 4396543 SHA256 d3eac4afcc687b3ae1ffedcab2dc12df84c7ba7045cce31386d2b7040a011c7d SHA512 affc12e42a53cef18d06498d44dc0adc9f9f40500e8b1439c206d46362033d341dda3a110b586b14d451440921744c386f480314df3d6902e6254021672b14b0 WHIRLPOOL 5b29c0677d2e24144df70e790ed907a3346d3432b6fc1497e4bed97fec38d47a55a8c6fca2b8a66f4cbbb31501bad72658db3d6a2787f8a6894cdb62a9d796d6
DIST util-linux-2.20-20110905.diff.bz2 47914 SHA256 7d8f78cda817c745f88fb951fa0e9ab852f215cdb931e97dedb87a623fc042b6 SHA512 010ad4ce3e3ec353cf541e19b8de8cf53add2d071d1a323300081e14d644fef41d8a8a6083072291bd584121e8657e34571f98598d3e2e3f7d3e4e1a679d8e48 WHIRLPOOL 49da020f8b14b83340781135dce2b1ad475d1f27bfa7946fd6f870a915e0b6c4a7b1e9efe3770e770a7375a679dde947617d8bd4ebedf785a2b86c64199eb614
DIST util-linux-2.20.1.tar.bz2 4614302 SHA256 d16ebcda3e64ab88ed363d9c1242cdb7ccfd5e1f56c83d0c3b0638c23793bbe0 SHA512 380c3c9546939886b683bd142ec1c1e5d3565ee7bd2455e8f7f7f65b7d7756cadaeadf04bac3005ab4993a933064d08268ae03b14e3f354e8cf85b1bb68ffafb WHIRLPOOL f4ff940fe2a8e1f830ed6720263686553e00f1ba16a1379a988d13639c2da74f4b3bbed1f21b1706928f7fc56ad4f1ce5370de4d8ebd4489efe89e7958207f21
DIST util-linux-2.20.tar.bz2 4615091 SHA256 c1cffbf5a1a7a32965f2e8e9ce76336310031e10b87c418d0679075724271d4c SHA512 d7ccd88410380a6226772bd7cecc9b04158db8813bee7216acb6d8861f7c2a1f2cddb552f0b4c0ca8dafcac3e11ae95ff4438d19aefa503d909ccfca04b5fa27 WHIRLPOOL e1877bf946042135c46ad6c6f7f37d4ed8bea01445d87500839ea9a31e32ceb204ba1f9b1856df8e149673bc688277b3e9194f05789b01d4f25c13ed19637927
DIST util-linux-2.21.1.tar.xz 2975120 SHA256 6ffaffb46bfb1aa403f83f0c8d2700e5ec35ffcb35a0573adb10404ed16c9004 SHA512 05093418fa29d31dddbf30ef4beadfd383bcb78af7d4fdeaf3fc9e127ea8d7cccb68a6e9f320567ca48fa6646a520d90d53380d054da91abc3e656c0590aeff7 WHIRLPOOL 4462f32f2e2251f872c4790d0a56a5e71596a3451c275e8f4468b3a90480533239d487eaf2206d4acd4634e3cee8a90f13e6fa5b87986c1deaf8bf220d2b9716
DIST util-linux-2.21.2.tar.xz 2985668 SHA256 39b25765a02385dc73580ab5edc3c5a2cecd03c92b42e41b03fd037b1c7cefe6 SHA512 f9632c1383eff9f875fa7e29063d2c053d0e3af1680644ce84afd72890a50b037a4a3ed80519d496248f7703ad920806b6420a340ff37747adeb233c675c0822 WHIRLPOOL 5477fd107c877c88fa2b07919b650a6f1a901479025d8da1be548cc771a73c2190a8b43e069486d4b7b3b4180c8f6bfa152d67626d1cb145155113c211efe0e3
DIST util-linux-2.21.tar.xz 2954504 SHA256 5192e8ba7dcf3cf0dc447f07b3d177f6cb3fb49dfae54ac45d6c8c7d86eeab0f SHA512 aab384db2d1a3e08fd560a3e4d7ed7d6b2ceac61386db94eecae65bd540200a8549e141b99d8dad5c6f96587940b574d0544984acef6a35d1f24870e0072c552 WHIRLPOOL 1968ddd63fd21ef9542bb8afc77292ed2bad6f83e1cd67aa4159db8b320abd80ee0d20a062df35ae2ad91e0bc9068168b9f9e44aa39eaf4861d436dd855bea5d
DIST util-linux-2.22.1.tar.xz 3194800 SHA256 c6de9f59882d7adedc2d2e7fdb940e8cdb256080491f632cabe7edde5764d82f SHA512 c19a71a0a3e1edb6e8bba86b3393dd0ce88c001f5c725e8fe99ae227895dfda627bd81ca5cb74e2ed1e1b33e0e7029a8955e1b0f32602d05564ccbf49829501f WHIRLPOOL 8cff22c01d0dfe23e37c265bf03f1ade95d151179dc35ee1a0b9bb0a59e45b7d87bdfd12ce71580b90e548757262e2f70ab13beecb23f42e2d8a32ed53e4d4ee
DIST util-linux-2.22.2.tar.xz 3100832 SHA256 929b517fa39b16a61ec536514e08940a381b92befc629d0348e3097920dd2f12 SHA512 4b6ae8e6091f4f3c21c1b1d361660767380c4965e40e2222724122b60cc1be1b10149b86f2559b3b72f42675fb790bc3ea86e159233d00c44ee39ec9373317c1 WHIRLPOOL 2e784e92abf4a055c6f0bf55914b0a17d21ac370eb30df2b6d68c0521743ec5306603d9ec60ac0bee75c51f20b2ca8cd76cdccf6256e5098ec42f16359a8b5d7
DIST util-linux-2.22.tar.xz 3183868 SHA256 32b329aa72c2ea546378bf81f08e30cf30440196c2edf7777b4f509a3fdbe5a2 SHA512 575905498edba18475e71d93613ba3579f69e61d18038c6b677eecb0ab7ce1e1cc4f1a2b16783d92239a626187ccb6723e8508a2e8a61dc7b50f2be66e5fd543 WHIRLPOOL 11eda802e1b9c459826bb5cb2509ad4d81a4278480f62edb31c2f47ea804138c67066d27be76fedcac7f14b82721f92961eb5a9496b9c969776a1de2aa81f8bd
DIST util-linux-2.23.tar.xz 3320020 SHA256 b19b25b7cdb16ed3decc2228788193629e5bc912f042e66d0308616c44671531 SHA512 442b300dbccd0035b211af3b5105951d6361efea506e3170677d76089a17767e33d114ba43de8227d6b9ccfe2cb54224ea0291cb7f782fa0709e89c6895b3892 WHIRLPOOL 54f28488dceae59e498ead767e8ddf5d122688e0427b35bc4fd0a90e3ad6c2ba90da86f9606ea476cc9419621b3dcc37e3c282be6d74c283cf10e97f7235267e
EBUILD util-linux-2.19.1-r1.ebuild 3585 SHA256 1620da88a7e8bf090f2356d3d43ac6f280d9cedd165e144a4ba0ecee14872859 SHA512 1587c57f414eeb15d547e60e32b35e0411882dcac42ae0ed824349cc178eb73778721c6fbf803c1affe23328373ff46d7ced4dffdd1de8db974d00da43cd6bb7 WHIRLPOOL 836330940023d74355754fc064c47b90728e5a2530e33554abae2d0eaad3c7afd7d942d233f4e38ed6e661d06c762075c91e56005355ab4f33ff80ea936c9e9b
EBUILD util-linux-2.20-r1.ebuild 3669 SHA256 c932592dbcd7e3b6e493bba111f6d76ad75d28ed3532e6bd1eb57c921fc8622d SHA512 83cf20e566b959fa7edabddc6a3731e00ace7ee8ff0553f2085e3363c5e9bea5beaa10f0ced2706a4aa65257beaea0ea49508542788327ae2418f1348c5fcb8a WHIRLPOOL f4eeda0ff1a0aa2729edbc84243221fec50cb9eba26d349f4aa32454f2931267425d57e6c47195d85f456656ba0ac149ab6180bb19a4346117835a3b320b1306
EBUILD util-linux-2.20.1-r1.ebuild 3647 SHA256 35c3fc0d2632e4c3d7e691b80e95cd74a7b90fca89c3d682f104070401ad29ac SHA512 0647de9a36b03b966f561cde67d754d666d0a2ec1f4a99e4baec808710421bf25d4c3057a89cbc5c4e27eb0f94ff2db236c63a24f8b179ce84b44a6ca8eec2f7 WHIRLPOOL f4dce4d04ee44c7c4aaf38be8ca32f51d22053635233a0db60543efbb47f82d492eccabbbbd21cb73599bf06bfce83e736d91679449c8fc39d9c18023f4f1625
EBUILD util-linux-2.20.1-r2.ebuild 3768 SHA256 2e2c4a00b1a1ef79d905f0e87b243698a23f58e81f62b13cdc0c63e6e0bf2a06 SHA512 fceba07fe0653f627a6c84a5b0785d9b3b7904354d96c79e1ed0fa2feb02023e85a2a747ea652071a7a5bcdcce472a28c1f90ece0f2a6dfc46ef08a732425c93 WHIRLPOOL 43482f1ba000bc6ce35e2f4a0f9d7f419f4c9f8a4e08b1771e3d2c3a0b67c74a1d3ef554b1216e2c0a2b1e0fea6ad319ac9a90228c7bf3f3cd1dbb619f54acba
EBUILD util-linux-2.20.1.ebuild 3577 SHA256 28469f50dc9b46fe2731a754d6f0f093eb5899bd08d8a77c0fb7a980ef2377bf SHA512 30da053350bde207d58db7ab9fc7a72ef5d3a5c7b786f7037ababef10928bb08fc2772b7fa5875261ce2c8a5d194db4f972024b6c7b362a74a988a09b8a2c5f1 WHIRLPOOL a7ca6f4abf37f04034d47433022beffe2fe77e352b3d22f4f967d1df4b1f390648fc486609b007019b5fdee4f155f407baa8a297e00bea8378869b7f27e18d3e
EBUILD util-linux-2.21.1.ebuild 3393 SHA256 ac3ff2988134b64e173e7ec8ab5285b3219a9aa391ee7bc80366a3b326f54f1b SHA512 ef616c02da23a73f2521956ec8fe7174bcc3e4b056aced1eedbdb3415c3c523a2c177c7d671beeaaed62b8af19bbe33d1a11fce0db37f5110462ded9ae303c49 WHIRLPOOL ed3594a72a8926927e9ac62b0007d701bdd02f6eedaa37d3cbe38c7a2b51d7cee91c621cd72f0b37db8a1f1fe5f6a333de573410dfaa184236d1e66d7eba82e2
EBUILD util-linux-2.21.2.ebuild 3383 SHA256 582de865f50ae07c12a934a495acce66a18af94e4f88a5964551d4490fc62f63 SHA512 1afa7d8939e192f27bf02256061e8a8b3dfb0e97817b72a56b2360300f9fd9bd825588b09b7aedf9b097b962526949071fc4af66f3cb72262cada0825cba0033 WHIRLPOOL f34bd1207d3d578c1ba6183a7418d919729e64e731367243e54a932a2db4f24fb31eafe08c7d7872694ed5f5c88c48105419fce95810a7f2f52185e7989ddb98
EBUILD util-linux-2.21.ebuild 3463 SHA256 10524af8156aa643a6f7525914c96971cbb640b73d9bd99bec6d31a650b8ec98 SHA512 7f113eb6d2b0619368a62761f252e032a088591a3aad8a9385bc332c0e8e6957943357641bbd52eb26a61df275fe3a3a2c1776f4a6e5d05d4d766d61ac42e77b WHIRLPOOL c2fecd53e65008ec91a43afd03630133da38f415e4d150e6dc5e2ac96ce520fcbda9f503c73ad4b2b8219378b7cb96c2f8821e90a1849a6c2f9009c8c6dc08f8
EBUILD util-linux-2.22.1.ebuild 3163 SHA256 e142c265d715fe8d33dce299ed31dde0906e29c3a4da8232e6df27b36bcb480b SHA512 03befb5575bc40afbff8fa5a9fe7ef67d69a80616b94307716bcf4836c55c498cd2a5e7570a2de939cc4ce095d032bb57a1dbfd1309cce446d081702c4c5318d WHIRLPOOL 16e330454b32f01b1391e59c2e140cea464d137826c79c52073c5df5a031db87f2ee25d1c8b37ac450deacd96d035896be7889dd19e7f4c23efe702836d8b294
EBUILD util-linux-2.22.2.ebuild 3289 SHA256 5447c9aec9f4a281a0829e3d34f57e48f13eb21e8b3ca2dbd51c302e12416743 SHA512 5dbc3b3a4eb118b21d99b9a2d0d0868a54d70fe6c9b450783b072e765f24240215aa73f4aae9d431796d693efa52d3f8d87e2823505917efaeb50af67d7f57ab WHIRLPOOL d16ce5aeb4d8f693c2aa5c14ae48d9fd70d0aed3dbdfd08426c45cea6b39666654d4dd016ecaf5f8ff5f9d502ac777f606e499b229e5a487f46e8c55cd84594e
EBUILD util-linux-2.22.ebuild 3147 SHA256 67fa123550783ffe22964256ddbdb927fce64b320a0f67fe0c5ed945cfff3668 SHA512 93ed7ff470dcddf4a15c22b22d7e9bbb716492939fcef6b5e16299f604ce39b3c44154082246f91541fff8f1e375b5015744fc2789d84afad95175317b28bd0b WHIRLPOOL b1ac0d2ddfbe7bdd24c718cfaa735f3703586c38b06d5d0e1885031625e4aaa5842f66f232d70c35a0aec9ce7b4ed6f393c293029a06143e18f389e142cd3238
EBUILD util-linux-2.23.ebuild 3393 SHA256 b4a256fb297c657c06b7708848f887a7cc6238ac87b6f1afea990bfc993c3de7 SHA512 9e6081da539ee17ed8f47b5913b22b5cfbbe6689893f2fcc8dc3f69a2e3c19c145ac54227db43b5e56bb5374f63cf625b910f71df953bc974eee3a4439056dbd WHIRLPOOL 0e2b2223c56b278a1d62189e5325171d5846d0b4ce916544600551808ffd9071e12af8ed4d8a2ef412c49f46fcaaabd7a8f19f3b1e705dfee01b5269a2bad4cd
EBUILD util-linux-9999.ebuild 3394 SHA256 73527a7477126b8742c4ca619c349e5f50ebedfd009cce050f9c172f9050f247 SHA512 bf4715eba8b576b70e1fc20e0df0f302149221a0ec19adb71796871e1a94a612f50e629ef6e61c74335a0fbed12386e9ba8dab04c858889fcd73c7b50912b538 WHIRLPOOL 4533a268dc5e524bca868bb96b59b0d6021e66eb2bb6bc5d0db115cabb8a4899f5b57e0f13b6af6a1193f125e345e6f3b6e0f7f5ffdaef430dc089a4f24b87af
MISC ChangeLog 66003 SHA256 880c0425c25b058ff276b94942bcb96bb7df5b49ecacb3411db0fd683510ce25 SHA512 d7170baaacc4c1e2a49c0d83f90f45e7586c21031aa79038dfdee08f667be2f25bfd493f34924119c6214432758a84b6434da8f9a70a305cc7e9bed10b2e9817 WHIRLPOOL cba8b5042452e08a7bfa7ddf8d1af1c35edab269cb31ecdca550e7986e3f7a736a457a17a5a311ed93e0e4f32e0c10230025d4cb5684de4c2b71ab4a63c7a5c5
MISC metadata.xml 1079 SHA256 68e6c0bc2a127e5f7595d93a1f83abde357e911d4e92b61272e20fb38491bd18 SHA512 16ebf2ea38d79d21a94328d7d415e9751d9e1a56249a32ed6bab1b85c9b177f7d78ed9d9d937a8d8249d3d3cd51f39355b16d929049d214bb9e54656db91df30 WHIRLPOOL 4af098ee9a00f9c564f48dad2313f2e5bb41ac3fe5c6b097639584cf7109dda17460a1fed537c49c626d5fe24a9161a0fc9530b8849fc41d939e3f59921067c3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iQIcBAEBCAAGBQJRitJvAAoJELEHsLL7fEFWaAcQAMB6LFxqZzclvpB9dVqidiw3
2V7pB2Ms55hlr5Qq0zRs9JDA/8HqnqFluDSVdAAam50gzzZ5ZV55XgxgZcCkCRVv
ZgjExt0JpJdp6XnqmfM8FJTFx5w2JiKEX7ocw7fxSGG50sfTaNTKL5XJyYbUlvRi
CawWJk+8f04nqNnrqF539XL9xRYrDpfGI9kqWcQsVoz/7km0iKoCQYa04g32CaNS
FN2Iijq7FsyaK11H+TBiqiwvzyctM3V3+VBMvBS4USiM1fwzlXOLKRvMfdPCILWf
Cwni7MOvvY7HGvK3ueqA4LBU2uN5E8bItOLdnKn1z6ufWJfPmxg8FdlHP3UbeSc0
ECB47OBp3yoCIPPKLlNLUsqEVykA4DYl6dvKM25hWvBY4QOrAJQqW/z1UExFmIUG
356J84MKDcISXct/ngOpR4XWM1x313PvIzLTL0m0eshZH8mdFJh0/QuOT5uv2Bix
Xpfasr1bBK9OMaD9O8Z57izR5nWRmXMgNfwG6FKrHqUdefrEAlvC+YJtbFr1C3wm
4zTWdmvNliQJZ8e/+dhVe8vIoIY7jJZukQat0Mz52dTjfjTaZkTIjtyqvAcykTh8
sIWc1CI1BYrwEjcPb/vo6D2PG1Kkx0ee4hm0TDnf2NBMeEqEVXhWG9TFnP4omSx1
izGmeJ1EeB21gViRPoGw
=8q39
-----END PGP SIGNATURE-----

View File

@ -1,9 +0,0 @@
# /etc/conf.d/crypto-loop: Configuration file for /etc/init.d/crypto-loop
# More info can be found in the init.d script
# Specify loopback configurations here. The format of this file is
# shown in the following commented-out example. One line per loopback
# configuration. For possible hash values, see `man hashalot`.
# loop=/dev/loop0 hash='' cipher=serpent keysize=256 device=/dev/system/test other=''

View File

@ -1,70 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/files/crypto-loop.initd,v 1.4 2008/10/26 03:16:48 vapier Exp $
depend() {
if [ -x /etc/init.d/root ]; then
need root
else
need checkroot
fi
need modules
before localmount
}
start() {
local status="0"
ebegin "Starting crypto loop devices"
if [ -e /etc/conf.d/crypto-loop ] ; then
egrep "^loop" /etc/conf.d/crypto-loop | \
while read loopline ; do
eval ${loopline}
local configured=$(awk -v MOUNT="${device}" \
'($2 == MOUNT) { print "yes" }' /proc/mounts)
if [ "${configured}" != "yes" ] ; then
einfo " Loop ${loop} on device ${device} (cipher ${cipher}, key size ${keysize}): "
if [ -n "${hash}" ] ; then
/usr/sbin/hashalot -n ${keysize} ${hash} </dev/tty|\
/sbin/losetup -p 0 -e ${cipher}-${keysize} ${loop} ${device} ${other}
else
/sbin/losetup -e ${cipher}-${keysize} ${loop} ${device} ${other}
fi
if [ $? -ne 0 ] ; then
ewarn "Failure configuring ${loop}. Skipping."
status=1
fi
else
ewarn " Loop ${loop} on device ${device} are already configured"
fi
done
fi
ewend ${status} "Failed to start some loop devices."
# We do not fail if some loop devices did not start ...
return 0
}
stop() {
local status="0"
for loop in $(ls /dev/loop[0-9] 2>/dev/null) ; do
losetup ${loop} > /dev/null 2>&1
if [ $? -eq 0 ] ; then
( umount ${loop} || swapoff "${loop}" ) >/dev/null 2>&1
if ! /sbin/losetup -d ${loop} > /dev/null 2>&1; then
ewarn "Failure deconfiguring ${loop}."
status=1
fi
fi
done
ewend ${status}
}
# vim:ts=4

View File

@ -1,86 +0,0 @@
https://bugs.gentoo.org/366213
From f53edda83ebcfd7015c3f35196d6cbd7bc2d8369 Mon Sep 17 00:00:00 2001
From: Karel Zak <kzak@redhat.com>
Date: Wed, 11 May 2011 16:57:27 +0200
Subject: [PATCH] mount: -a segfaults when 4th field is omitted (mount
options)
# echo 'tmpd /tmp/x tmpfs' >> /etc/fstab
# mkdir /tmp/x
# mount -a
segfault
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
---
mount/mount.c | 8 +++++---
mount/mount_mntent.c | 5 +++--
mount/sundries.c | 2 ++
3 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/mount/mount.c b/mount/mount.c
index ba71149..29963c2 100644
--- a/mount/mount.c
+++ b/mount/mount.c
@@ -1163,7 +1163,9 @@ is_mounted_same_loopfile(const char *node0, const char *loopfile, unsigned long
res = loopfile_used_with((char *) mnt->m.mnt_fsname,
loopfile, offset);
- else if ((p = strstr(mnt->m.mnt_opts, "loop="))) {
+ else if (mnt->m.mnt_opts &&
+ (p = strstr(mnt->m.mnt_opts, "loop=")))
+ {
char *dev = xstrdup(p+5);
if ((p = strchr(dev, ',')))
*p = '\0';
@@ -2052,8 +2054,8 @@ is_fstab_entry_mounted(struct mntentchn *mc, int verbose)
goto yes;
/* extra care for loop devices */
- if ((strstr(mc->m.mnt_opts, "loop=") ||
- (stat(mc->m.mnt_fsname, &st) == 0 && S_ISREG(st.st_mode)))) {
+ if ((mc->m.mnt_opts && strstr(mc->m.mnt_opts, "loop=")) ||
+ (stat(mc->m.mnt_fsname, &st) == 0 && S_ISREG(st.st_mode))) {
char *p = get_option_value(mc->m.mnt_opts, "offset=");
uintmax_t offset = 0;
diff --git a/mount/mount_mntent.c b/mount/mount_mntent.c
index d90def3..f42c0ad 100644
--- a/mount/mount_mntent.c
+++ b/mount/mount_mntent.c
@@ -70,7 +70,7 @@ my_addmntent (mntFILE *mfp, struct my_mntent *mnt) {
m1 = mangle(mnt->mnt_fsname);
m2 = mangle(mnt->mnt_dir);
m3 = mangle(mnt->mnt_type);
- m4 = mangle(mnt->mnt_opts);
+ m4 = mnt->mnt_opts ? mangle(mnt->mnt_opts) : "rw";
res = fprintf (mfp->mntent_fp, "%s %s %s %s %d %d\n",
m1, m2, m3, m4, mnt->mnt_freq, mnt->mnt_passno);
@@ -78,7 +78,8 @@ my_addmntent (mntFILE *mfp, struct my_mntent *mnt) {
free(m1);
free(m2);
free(m3);
- free(m4);
+ if (mnt->mnt_opts)
+ free(m4);
return (res < 0) ? 1 : 0;
}
diff --git a/mount/sundries.c b/mount/sundries.c
index ae4501a..2dec37f 100644
--- a/mount/sundries.c
+++ b/mount/sundries.c
@@ -217,6 +217,8 @@ matching_opts (const char *options, const char *test_opts) {
if (test_opts == NULL)
return 1;
+ if (options == NULL)
+ options = "";
len = strlen(test_opts);
q = alloca(len+1);
--
1.7.6

View File

@ -1,92 +0,0 @@
https://bugs.gentoo.org/370051
From b3b0c657818aa6191e6494f88d671601dd9d837d Mon Sep 17 00:00:00 2001
From: Petr Uzel <petr.uzel@suse.cz>
Date: Wed, 29 Jun 2011 10:24:09 +0200
Subject: [PATCH] umount: do not hang with disconnected NFS mounts
Since util-linux commit f4612577c942a3683b97632ad0b49671897c2070,
umount stat(2)s its argument to check whether it can be associated
with some loop device. This could hang with broken NFS mounts.
Fix by first checking mtab if umount's argument is mounted and only if
we fail, check if there is a loop device associated.
http://marc.info/?l=util-linux-ng&m=130924963804836&w=2
Reported-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
---
mount/umount.c | 42 ++++++++++++++++++++++--------------------
1 files changed, 22 insertions(+), 20 deletions(-)
diff --git a/mount/umount.c b/mount/umount.c
index 0349cb3..96c940e 100644
--- a/mount/umount.c
+++ b/mount/umount.c
@@ -600,6 +600,7 @@ umount_file (char *arg) {
int fstab_has_user, fstab_has_users, fstab_has_owner, fstab_has_group;
int ok, status = 0;
struct stat statbuf;
+ char *loopdev = NULL;
if (!*arg) { /* "" would be expanded to `pwd` */
die(2, _("Cannot unmount \"\"\n"));
@@ -608,26 +609,7 @@ umount_file (char *arg) {
file = canonicalize(arg); /* mtab paths are canonicalized */
- /* if file is a regular file, check if it is associated
- * with some loop device
- */
- if (!stat(file, &statbuf) && S_ISREG(statbuf.st_mode)) {
- char *loopdev = NULL;
- switch (find_loopdev_by_backing_file(file, &loopdev)) {
- case 0:
- if (verbose)
- printf(_("%s is associated with %s, trying to unmount it\n"),
- arg, loopdev);
- file = loopdev;
- break;
- case 2:
- if (verbose)
- printf(_("%s is associated with more than one loop device: not unmounting\n"),
- arg);
- break;
- }
- }
-
+try_loopdev:
if (verbose > 1)
printf(_("Trying to unmount %s\n"), file);
@@ -659,6 +641,26 @@ umount_file (char *arg) {
if (!mc && verbose)
printf(_("Could not find %s in mtab\n"), file);
+ /* not found in mtab - check if it is associated with some loop device
+ * (only if it is a regular file)
+ */
+ if (!mc && !loopdev && !stat(file, &statbuf) && S_ISREG(statbuf.st_mode)) {
+ switch (find_loopdev_by_backing_file(file, &loopdev)) {
+ case 0:
+ if (verbose)
+ printf(_("%s is associated with %s\n"),
+ arg, loopdev);
+ file = loopdev;
+ goto try_loopdev;
+ break;
+ case 2:
+ if (verbose)
+ printf(_("%s is associated with more than one loop device: not unmounting\n"),
+ arg);
+ break;
+ }
+ }
+
if (restricted) {
char *mtab_user = NULL;
--
1.7.6

View File

@ -1,102 +0,0 @@
https://bugs.gentoo.org/385305
From 22f69825778f992ff98ed100252bf5e00a15d9d1 Mon Sep 17 00:00:00 2001
From: Karel Zak <kzak@redhat.com>
Date: Wed, 31 Aug 2011 12:28:39 +0200
Subject: [PATCH] dmesg: fix for non-CONFIG_PRINTK_TIME kernels
* dmesg(1) incorrectly assumes that lines like "<6>\n"
are broken.
* it's more robust to assume the end of the record is "\n<"
* print \n for empty lines
Reported-by: "Gabor Z. Papp" <gzp@papp.hu>
Signed-off-by: Karel Zak <kzak@redhat.com>
---
sys-utils/dmesg.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/sys-utils/dmesg.c b/sys-utils/dmesg.c
index 6090f4e..8e7bb4b 100644
--- a/sys-utils/dmesg.c
+++ b/sys-utils/dmesg.c
@@ -442,12 +442,12 @@ static int get_next_record(struct dmesg_control *ctl, struct dmesg_record *rec)
if (!begin)
begin = p;
- if (*p == '\n')
- end = p;
if (i + 1 == rec->next_size) {
end = p + 1;
i++;
- }
+ } else if (*p == '\n' && *(p + 1) == '<')
+ end = p;
+
if (begin && !*begin)
begin = NULL; /* zero(s) at the end of the buffer? */
if (!begin || !end)
@@ -469,9 +469,6 @@ static int get_next_record(struct dmesg_control *ctl, struct dmesg_record *rec)
}
}
- if (end <= begin)
- return -1; /* error */
-
if (*begin == '[' && (*(begin + 1) == ' ' ||
isdigit(*(begin + 1)))) {
if (ctl->delta || ctl->ctime) {
@@ -534,12 +531,15 @@ static void print_buffer(const char *buf, size_t size,
}
while (get_next_record(ctl, &rec) == 0) {
- if (!rec.mesg_size)
- continue;
if (!accept_record(ctl, &rec))
continue;
+ if (!rec.mesg_size) {
+ putchar('\n');
+ continue;
+ }
+
if (ctl->decode && rec.level >= 0 && rec.facility >= 0)
printf("%-6s:%-6s: ", facility_names[rec.facility].name,
level_names[rec.level].name);
--
1.7.6.1
From 31c9099a81d3a9c70fdceb198eebed678173d954 Mon Sep 17 00:00:00 2001
From: Karel Zak <kzak@redhat.com>
Date: Fri, 2 Sep 2011 14:42:04 +0200
Subject: [PATCH] dmesg: remove extra space only after time stamp
Signed-off-by: Karel Zak <kzak@redhat.com>
---
sys-utils/dmesg.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/sys-utils/dmesg.c b/sys-utils/dmesg.c
index 8e7bb4b..b3713a0 100644
--- a/sys-utils/dmesg.c
+++ b/sys-utils/dmesg.c
@@ -480,11 +480,10 @@ static int get_next_record(struct dmesg_control *ctl, struct dmesg_record *rec)
break;
}
}
+ if (begin < end && *begin == ' ')
+ begin++;
}
- if (begin < end && *begin == ' ')
- begin++;
-
rec->mesg = begin;
rec->mesg_size = end - begin;
--
1.7.6.1

View File

@ -1,32 +0,0 @@
From 3a18db62e661fbb307ad3a53c18afabc92d3c63e Mon Sep 17 00:00:00 2001
From: Petr Uzel <petr.uzel@suse.cz>
Date: Tue, 13 Sep 2011 11:08:46 +0200
Subject: [PATCH] lib: do not attempt to close(0) in sysfs_deinit()
If the 'open' fails we 'goto err' which runs 'sysfs_deinit()' on a 'cxt'
which hasn't been fully initialised. The 'dir_fd' is still 0, so
sysfs_deinit calls "close(0)".
Addresses: https://bugzilla.novell.com/show_bug.cgi?id=714151
Reported-by: Diego Ercolani <diego.ercolani@gmail.com>
Analysed-by: Neil Brown <nfbrown@suse.com>
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
---
lib/sysfs.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/sysfs.c b/lib/sysfs.c
index eec1f24..ebb3bb5 100644
--- a/lib/sysfs.c
+++ b/lib/sysfs.c
@@ -140,6 +140,7 @@ int sysfs_init(struct sysfs_cxt *cxt, dev_t devno, struct sysfs_cxt *parent)
int fd, rc = 0;
memset(cxt, 0, sizeof(*cxt));
+ cxt->dir_fd = -1;
if (!sysfs_devno_path(devno, path, sizeof(path)))
goto err;
--
1.7.6.1

View File

@ -1,31 +0,0 @@
https://bugs.gentoo.org/401057
From 937266598f21747d7bd84fdd332ee66c8452ba3e Mon Sep 17 00:00:00 2001
From: Karel Zak <kzak@redhat.com>
Date: Mon, 19 Dec 2011 22:51:38 +0100
Subject: [PATCH] libmount: don't use "new" in header file
Reported-by: ben <benscott@nwlink.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
---
libmount/src/libmount.h.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libmount/src/libmount.h.in b/libmount/src/libmount.h.in
index 95a710e..7cc6cb6 100644
--- a/libmount/src/libmount.h.in
+++ b/libmount/src/libmount.h.in
@@ -341,8 +341,8 @@ extern struct libmnt_tabdiff *mnt_new_tabdiff(void);
extern void mnt_free_tabdiff(struct libmnt_tabdiff *df);
extern int mnt_diff_tables(struct libmnt_tabdiff *df,
- struct libmnt_table *old,
- struct libmnt_table *new);
+ struct libmnt_table *old_tab,
+ struct libmnt_table *new_tab);
extern int mnt_tabdiff_next_change(struct libmnt_tabdiff *df,
struct libmnt_iter *itr,
--
1.7.8.4

View File

@ -1,111 +0,0 @@
for systems that don't support latest POSIX standard: %as
https://bugs.gentoo.org/406303
--- a/configure.ac
+++ b/configure.ac
@@ -489,10 +489,6 @@ as)
AC_DEFINE([HAVE_SCANF_AS_MODIFIER], [1], [scanf %as modifier]) ;;
*)
AC_MSG_RESULT([no])
- if "x$build_libmount" = xyes; then
- AC_MSG_WARN([%as or %ms for sscanf() not found; do not build libmount])
- build_libmount=no
- fi
esac
--- a/libmount/src/tab_parse.c
+++ b/libmount/src/tab_parse.c
@@ -22,6 +22,10 @@
#include "pathnames.h"
#include "strutils.h"
+#ifndef HAVE_SCANF_MS_MODIFIER
+# define UL_SCNsA "%s"
+#endif
+
static inline char *skip_spaces(char *s)
{
assert(s);
@@ -61,16 +65,31 @@ static int mnt_parse_table_line(struct libmnt_fs *fs, char *s)
int rc, n = 0, xrc;
char *src = NULL, *fstype = NULL, *optstr = NULL;
+#ifndef HAVE_SCANF_MS_MODIFIER
+ size_t len = strlen(s) + 1;
+ src = malloc(len);
+ fstype = malloc(len);
+ fs->target = malloc(len);
+ optstr = malloc(len);
+#endif
+
rc = sscanf(s, UL_SCNsA" " /* (1) source */
UL_SCNsA" " /* (2) target */
UL_SCNsA" " /* (3) FS type */
UL_SCNsA" " /* (4) options */
"%n", /* byte count */
+#ifdef HAVE_SCANF_MS_MODIFIER
&src,
&fs->target,
&fstype,
&optstr,
+#else
+ src,
+ fs->target,
+ fstype,
+ optstr,
+#endif
&n);
xrc = rc;
@@ -136,6 +155,16 @@ static int mnt_parse_mountinfo_line(struct libmnt_fs *fs, char *s)
unsigned int maj, min;
char *fstype = NULL, *src = NULL, *p;
+#ifndef HAVE_SCANF_MS_MODIFIER
+ size_t len = strlen(s) + 1;
+ fs->root = malloc(len);
+ fs->target = malloc(len);
+ fs->vfs_optstr = malloc(len);
+ fs->fs_optstr = malloc(len);
+ fstype = malloc(len);
+ src = malloc(len);
+#endif
+
rc = sscanf(s, "%u " /* (1) id */
"%u " /* (2) parent */
"%u:%u " /* (3) maj:min */
@@ -147,9 +175,15 @@ static int mnt_parse_mountinfo_line(struct libmnt_fs *fs, char *s)
&fs->id,
&fs->parent,
&maj, &min,
+#ifdef HAVE_SCANF_MS_MODIFIER
&fs->root,
&fs->target,
&fs->vfs_optstr,
+#else
+ fs->root,
+ fs->target,
+ fs->vfs_optstr,
+#endif
&end);
if (rc >= 7 && end > 0)
@@ -167,9 +201,15 @@ static int mnt_parse_mountinfo_line(struct libmnt_fs *fs, char *s)
UL_SCNsA" " /* (9) source */
UL_SCNsA, /* (10) fs options (fs specific) */
+#ifdef HAVE_SCANF_MS_MODIFIER
&fstype,
&src,
&fs->fs_optstr);
+#else
+ fstype,
+ src,
+ fs->fs_optstr);
+#endif
if (rc >= 10) {
fs->flags |= MNT_FS_KERNEL;

View File

@ -1,51 +0,0 @@
https://bugs.gentoo.org/403073
From 1653dd95c3babbf7011d9732069af919e493bac4 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Thu, 16 Feb 2012 14:56:38 -0500
Subject: [PATCH] umount: respect fs search path
This brings search path support to umount to match existing behavior
in fsck and mount.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
mount/umount.c | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/mount/umount.c b/mount/umount.c
index ad93e75..a6fcd33 100644
--- a/mount/umount.c
+++ b/mount/umount.c
@@ -100,7 +100,8 @@ static int fake = 0;
static int
check_special_umountprog(const char *node,
const char *type, int *status) {
- char umountprog[120];
+ char search_path[] = FS_SEARCH_PATH;
+ char *path, umountprog[150];
struct stat statbuf;
int res;
@@ -110,10 +111,16 @@ check_special_umountprog(const char *node,
if (type == NULL || strcmp(type, "none") == 0)
return 0;
- if (strlen(type) < 100) {
+ path = strtok(search_path, ":");
+ while (path) {
int type_opt = 0;
- sprintf(umountprog, "/sbin/umount.%s", type);
+ res = snprintf(umountprog, sizeof(umountprog), "%s/umount.%s",
+ path, type);
+ path = strtok(NULL, ":");
+ if (res < 0 || (size_t) res >= sizeof(umountprog))
+ continue;
+
res = stat(umountprog, &statbuf);
if (res == -1 && errno == ENOENT && strchr(type, '.')) {
/* If type ends with ".subtype" try without it */
--
1.7.8.4

View File

@ -1,28 +0,0 @@
From 69cabd7204e39c5e6055b6a53cf882b9f48f3c60 Mon Sep 17 00:00:00 2001
From: James Le Cuirot <chewi@aura-online.co.uk>
Date: Mon, 16 Apr 2012 11:05:27 +0100
Subject: [PATCH] cal: Fix building under uClibc.
Commit fbc333fec09394bf4e47707de08a65e8c0e9c288 broke building under uClibc because HAVE_DECL macros are set to 0, not undefined.
Signed-off-by: James Le Cuirot <chewi@aura-online.co.uk>
---
misc-utils/cal.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/misc-utils/cal.c b/misc-utils/cal.c
index 918cbab..2de7164 100644
--- a/misc-utils/cal.c
+++ b/misc-utils/cal.c
@@ -299,7 +299,7 @@ main(int argc, char **argv) {
* the locale database, which can be overridden with the
* -s (Sunday) or -m (Monday) options.
*/
-#ifdef HAVE_DECL__NL_TIME_WEEK_1STDAY
+#if HAVE_DECL__NL_TIME_WEEK_1STDAY
/*
* You need to use 2 locale variables to get the first day of the week.
* This is needed to support first_weekday=2 and first_workday=1 for
--
1.7.8.5

View File

@ -1,108 +0,0 @@
for systems that don't support latest POSIX standard: %as
https://bugs.gentoo.org/406303
--- a/configure.ac
+++ b/configure.ac
@@ -688,7 +688,6 @@ AC_ARG_ENABLE([libmount],
UL_BUILD_INIT([libmount])
UL_REQUIRES_LINUX([libmount])
UL_REQUIRES_BUILD([libmount], [libblkid])
-UL_REQUIRES_HAVE([libmount], [scanf_alloc_modifier], [scanf string alloc modifier])
AM_CONDITIONAL(BUILD_LIBMOUNT, test "x$build_libmount" = xyes)
AC_SUBST([LIBMOUNT_VERSION])
--- a/libmount/src/tab_parse.c
+++ b/libmount/src/tab_parse.c
@@ -22,6 +22,10 @@
#include "pathnames.h"
#include "strutils.h"
+#ifndef HAVE_SCANF_MS_MODIFIER
+# define UL_SCNsA "%s"
+#endif
+
static inline char *skip_spaces(char *s)
{
assert(s);
@@ -61,16 +65,31 @@ static int mnt_parse_table_line(struct libmnt_fs *fs, char *s)
int rc, n = 0, xrc;
char *src = NULL, *fstype = NULL, *optstr = NULL;
+#ifndef HAVE_SCANF_MS_MODIFIER
+ size_t len = strlen(s) + 1;
+ src = malloc(len);
+ fstype = malloc(len);
+ fs->target = malloc(len);
+ optstr = malloc(len);
+#endif
+
rc = sscanf(s, UL_SCNsA" " /* (1) source */
UL_SCNsA" " /* (2) target */
UL_SCNsA" " /* (3) FS type */
UL_SCNsA" " /* (4) options */
"%n", /* byte count */
+#ifdef HAVE_SCANF_MS_MODIFIER
&src,
&fs->target,
&fstype,
&optstr,
+#else
+ src,
+ fs->target,
+ fstype,
+ optstr,
+#endif
&n);
xrc = rc;
@@ -136,6 +155,16 @@ static int mnt_parse_mountinfo_line(struct libmnt_fs *fs, char *s)
unsigned int maj, min;
char *fstype = NULL, *src = NULL, *p;
+#ifndef HAVE_SCANF_MS_MODIFIER
+ size_t len = strlen(s) + 1;
+ fs->root = malloc(len);
+ fs->target = malloc(len);
+ fs->vfs_optstr = malloc(len);
+ fs->fs_optstr = malloc(len);
+ fstype = malloc(len);
+ src = malloc(len);
+#endif
+
rc = sscanf(s, "%u " /* (1) id */
"%u " /* (2) parent */
"%u:%u " /* (3) maj:min */
@@ -147,9 +175,15 @@ static int mnt_parse_mountinfo_line(struct libmnt_fs *fs, char *s)
&fs->id,
&fs->parent,
&maj, &min,
+#ifdef HAVE_SCANF_MS_MODIFIER
&fs->root,
&fs->target,
&fs->vfs_optstr,
+#else
+ fs->root,
+ fs->target,
+ fs->vfs_optstr,
+#endif
&end);
if (rc >= 7 && end > 0)
@@ -167,9 +201,15 @@ static int mnt_parse_mountinfo_line(struct libmnt_fs *fs, char *s)
UL_SCNsA" " /* (9) source */
UL_SCNsA, /* (10) fs options (fs specific) */
+#ifdef HAVE_SCANF_MS_MODIFIER
&fstype,
&src,
&fs->fs_optstr);
+#else
+ fstype,
+ src,
+ fs->fs_optstr);
+#endif
if (rc >= 10) {
fs->flags |= MNT_FS_KERNEL;

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>base-system</herd>
<maintainer restrict="sys-apps/util-linux[loop-aes]">
<email>c1pher@gentoo.org</email>
<name>Dane Smith</name>
</maintainer>
<use>
<flag name='caps'>build setpriv helper (run programs with diff capabilities)</flag>
<flag name='cramfs'>build mkfs/fsck helpers for cramfs filesystems</flag>
<flag name='cytune'>build cytune for Cyclades-Z multiport serial cards</flag>
<flag name='ddate'>build ddate helper (Discordian dates)</flag>
<flag name='fdformat'>build fdformat (floppy disk format)</flag>
<flag name='loop-aes'>include support for Loop AES encryption</flag>
<flag name='perl'>install the chkdupexe helper script</flag>
<flag name='suid'>
install mount/umount as setuid so non-root users may mount/umount devices,
and wall/write as setgid so non-root users can notify other users
</flag>
<flag name='tty-helpers'>install the mesg/wall/write tools for talking to local users</flag>
</use>
</pkgmetadata>

View File

@ -1,124 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.19.1-r1.ebuild,v 1.14 2012/05/25 16:14:22 vapier Exp $
EAPI="3"
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
inherit eutils toolchain-funcs libtool flag-o-matic multilib
if [[ ${PV} == "9999" ]] ; then
inherit git-2 autotools
#KEYWORDS=""
else
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-linux"
fi
MY_PV=${PV/_/-}
MY_P=${PN}-${MY_PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Various useful Linux utilities"
HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
else
SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.bz2
loop-aes? ( http://loop-aes.sourceforge.net/updates/util-linux-2.19.1-20110510.diff.bz2 )"
fi
LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
SLOT="0"
IUSE="+cramfs crypt loop-aes ncurses nls old-linux perl selinux slang uclibc unicode"
RDEPEND="!sys-process/schedutils
!sys-apps/setarch
!<sys-libs/e2fsprogs-libs-1.41.8
!<sys-fs/e2fsprogs-1.41.8
cramfs? ( sys-libs/zlib )
ncurses? ( >=sys-libs/ncurses-5.2-r2 )
perl? ( dev-lang/perl )
selinux? ( sys-libs/libselinux )
slang? ( sys-libs/slang )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
virtual/os-headers"
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
autopoint --force
eautoreconf
else
use loop-aes && epatch "${WORKDIR}"/util-linux-*.diff
fi
epatch "${FILESDIR}"/${P}-mount-a-segv.patch #366213
if ! use loop-aes ; then
epatch "${FILESDIR}"/${P}-umount-l-nfs.patch #370051
else
ewarn "loop-aes is incompatible with current solution of #370051 bug!"
ewarn "Therefore you're vulnerable to that bug now!"
ewarn "Look at https://bugs.gentoo.org/show_bug.cgi?id=370051."
fi
use uclibc && sed -i -e s/versionsort/alphasort/g -e s/strverscmp.h/dirent.h/g mount/lomount.c
elibtoolize
}
lfs_fallocate_test() {
# Make sure we can use fallocate with LFS #300307
cat <<-EOF > "${T}"/fallocate.c
#define _GNU_SOURCE
#include <fcntl.h>
main() { return fallocate(0, 0, 0, 0); }
EOF
append-lfs-flags
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.c -o /dev/null >/dev/null 2>&1 \
|| export ac_cv_func_fallocate=no
rm -f "${T}"/fallocate.c
}
usex() { use $1 && echo ${2:-yes} || echo ${3:-no} ; }
src_configure() {
lfs_fallocate_test
econf \
--enable-fs-paths-extra=/usr/sbin \
$(use_enable nls) \
--enable-agetty \
$(use_enable cramfs) \
$(use_enable old-linux elvtune) \
--with-ncurses=$(usex ncurses $(usex unicode auto yes) no) \
--disable-init \
--disable-kill \
--disable-last \
--disable-mesg \
--enable-partx \
--enable-raw \
--enable-rename \
--disable-reset \
--disable-login-utils \
--enable-schedutils \
--disable-wall \
--enable-write \
--without-pam \
$(use_with selinux) \
$(use_with slang) \
$(tc-has-tls || echo --disable-tls)
}
src_install() {
emake install DESTDIR="${D}" || die "install failed"
dodoc AUTHORS NEWS README* TODO docs/*
if ! use perl ; then #284093
rm "${ED}"/usr/bin/chkdupexe || die
rm "${ED}"/usr/share/man/man1/chkdupexe.1 || die
fi
# need the libs in /
gen_usr_ldscript -a blkid uuid
# e2fsprogs-libs didnt install .la files, and .pc work fine
rm -f "${ED}"/usr/$(get_libdir)/*.la
if use crypt ; then
newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die
newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die
fi
}

View File

@ -1,127 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.20-r1.ebuild,v 1.5 2012/05/25 16:14:22 vapier Exp $
EAPI="3"
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
inherit eutils toolchain-funcs libtool flag-o-matic multilib
if [[ ${PV} == "9999" ]] ; then
inherit git-2 autotools
#KEYWORDS=""
else
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux"
fi
MY_PV=${PV/_/-}
MY_P=${PN}-${MY_PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Various useful Linux utilities"
HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
else
SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.bz2
loop-aes? ( http://loop-aes.sourceforge.net/updates/util-linux-2.20-20110905.diff.bz2 )"
fi
LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
SLOT="0"
IUSE="+cramfs crypt ddate loop-aes ncurses nls old-linux perl selinux slang static-libs uclibc unicode"
RDEPEND="!sys-process/schedutils
!sys-apps/setarch
!<sys-apps/sysvinit-2.88-r3
!<sys-libs/e2fsprogs-libs-1.41.8
!<sys-fs/e2fsprogs-1.41.8
cramfs? ( sys-libs/zlib )
ncurses? ( >=sys-libs/ncurses-5.2-r2 )
perl? ( dev-lang/perl )
selinux? ( sys-libs/libselinux )
slang? ( sys-libs/slang )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
virtual/os-headers"
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
po/update-potfiles
autopoint --force
eautoreconf
else
use loop-aes && epatch "${WORKDIR}"/util-linux-*.diff
fi
epatch "${FILESDIR}"/${P}-dmesg-newline.patch
epatch "${FILESDIR}"/${P}-sysfs-init.patch
use uclibc && sed -i -e s/versionsort/alphasort/g -e s/strverscmp.h/dirent.h/g mount/lomount.c
elibtoolize
}
lfs_fallocate_test() {
# Make sure we can use fallocate with LFS #300307
cat <<-EOF > "${T}"/fallocate.c
#define _GNU_SOURCE
#include <fcntl.h>
main() { return fallocate(0, 0, 0, 0); }
EOF
append-lfs-flags
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.c -o /dev/null >/dev/null 2>&1 \
|| export ac_cv_func_fallocate=no
rm -f "${T}"/fallocate.c
}
usex() { use $1 && echo ${2:-yes} || echo ${3:-no} ; }
src_configure() {
lfs_fallocate_test
econf \
--enable-fs-paths-extra=/usr/sbin \
$(use_enable nls) \
--enable-agetty \
$(use_enable cramfs) \
$(use_enable ddate) \
$(use_enable old-linux elvtune) \
--with-ncurses=$(usex ncurses $(usex unicode auto yes) no) \
--disable-kill \
--disable-last \
--disable-mesg \
--enable-partx \
--enable-raw \
--enable-rename \
--disable-reset \
--disable-login-utils \
--enable-schedutils \
--disable-wall \
--enable-write \
--without-pam \
$(use_with selinux) \
$(use_with slang) \
$(use_enable static-libs static) \
$(tc-has-tls || echo --disable-tls)
}
src_install() {
emake install DESTDIR="${D}" || die "install failed"
dodoc AUTHORS NEWS README* TODO docs/*
use ddate || find "${ED}"/usr/share/man -name 'ddate.1*' -delete
if ! use perl ; then #284093
rm "${ED}"/usr/bin/chkdupexe || die
rm "${ED}"/usr/share/man/man1/chkdupexe.1 || die
fi
# need the libs in /
gen_usr_ldscript -a blkid uuid
# e2fsprogs-libs didnt install .la files, and .pc work fine
rm -f "${ED}"/usr/$(get_libdir)/*.la
if use crypt ; then
newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die
newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die
fi
}
pkg_postinst() {
elog "The agetty util now clears the terminal by default. You"
elog "might want to add --noclear to your /etc/inittab lines."
}

View File

@ -1,130 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.20.1-r1.ebuild,v 1.11 2012/05/25 16:14:22 vapier Exp $
EAPI="3"
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
AUTOTOOLS_AUTO_DEPEND="no"
inherit eutils toolchain-funcs libtool flag-o-matic autotools multilib
if [[ ${PV} == "9999" ]] ; then
inherit git-2 autotools
#KEYWORDS=""
else
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-linux"
fi
MY_PV=${PV/_/-}
MY_P=${PN}-${MY_PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Various useful Linux utilities"
HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
else
SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.bz2
loop-aes? ( http://loop-aes.sourceforge.net/updates/util-linux-2.20-20110905.diff.bz2 )"
fi
LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
SLOT="0"
IUSE="+cramfs crypt ddate loop-aes ncurses nls old-linux perl selinux slang static-libs uclibc unicode"
RDEPEND="!sys-process/schedutils
!sys-apps/setarch
!<sys-apps/sysvinit-2.88-r3
!<sys-libs/e2fsprogs-libs-1.41.8
!<sys-fs/e2fsprogs-1.41.8
cramfs? ( sys-libs/zlib )
ncurses? ( >=sys-libs/ncurses-5.2-r2 )
perl? ( dev-lang/perl )
selinux? ( sys-libs/libselinux )
slang? ( sys-libs/slang )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
virtual/os-headers
uclibc? ( ${AUTOTOOLS_DEPEND} )"
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
po/update-potfiles
autopoint --force
eautoreconf
else
use loop-aes && epatch "${WORKDIR}"/util-linux-*.diff
fi
if use uclibc ; then
epatch "${FILESDIR}"/${P}-no-printf-alloc.patch #406303
eautoreconf
fi
elibtoolize
}
lfs_fallocate_test() {
# Make sure we can use fallocate with LFS #300307
cat <<-EOF > "${T}"/fallocate.c
#define _GNU_SOURCE
#include <fcntl.h>
main() { return fallocate(0, 0, 0, 0); }
EOF
append-lfs-flags
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.c -o /dev/null >/dev/null 2>&1 \
|| export ac_cv_func_fallocate=no
rm -f "${T}"/fallocate.c
}
usex() { use $1 && echo ${2:-yes} || echo ${3:-no} ; }
src_configure() {
lfs_fallocate_test
econf \
--enable-fs-paths-extra=/usr/sbin \
$(use_enable nls) \
--enable-agetty \
$(use_enable cramfs) \
$(use_enable ddate) \
$(use_enable old-linux elvtune) \
--with-ncurses=$(usex ncurses $(usex unicode auto yes) no) \
--disable-kill \
--disable-last \
--disable-mesg \
--enable-partx \
--enable-raw \
--enable-rename \
--disable-reset \
--disable-login-utils \
--enable-schedutils \
--disable-wall \
--enable-write \
--without-pam \
$(use_with selinux) \
$(use_with slang) \
$(use_enable static-libs static) \
$(tc-has-tls || echo --disable-tls)
}
src_install() {
emake install DESTDIR="${D}" || die "install failed"
dodoc AUTHORS NEWS README* TODO docs/*
use ddate || find "${ED}"/usr/share/man -name 'ddate.1*' -delete
if ! use perl ; then #284093
rm "${ED}"/usr/bin/chkdupexe || die
rm "${ED}"/usr/share/man/man1/chkdupexe.1 || die
fi
# need the libs in /
gen_usr_ldscript -a blkid mount uuid
# e2fsprogs-libs didnt install .la files, and .pc work fine
rm -f "${ED}"/usr/$(get_libdir)/*.la
if use crypt ; then
newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die
newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die
fi
}
pkg_postinst() {
elog "The agetty util now clears the terminal by default. You"
elog "might want to add --noclear to your /etc/inittab lines."
}

View File

@ -1,132 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.20.1-r2.ebuild,v 1.10 2012/07/08 17:32:29 armin76 Exp $
EAPI="3"
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
AUTOTOOLS_AUTO_DEPEND="no"
inherit eutils toolchain-funcs libtool flag-o-matic autotools multilib
if [[ ${PV} == "9999" ]] ; then
inherit git-2 autotools
#KEYWORDS=""
else
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-linux"
fi
MY_PV=${PV/_/-}
MY_P=${PN}-${MY_PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Various useful Linux utilities"
HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
else
SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.bz2
loop-aes? ( http://loop-aes.sourceforge.net/updates/util-linux-2.20-20110905.diff.bz2 )"
fi
LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
SLOT="0"
IUSE="+cramfs crypt ddate loop-aes ncurses nls old-linux perl selinux slang static-libs uclibc unicode"
RDEPEND="!sys-process/schedutils
!sys-apps/setarch
!<sys-apps/sysvinit-2.88-r3
!<sys-libs/e2fsprogs-libs-1.41.8
!<sys-fs/e2fsprogs-1.41.8
cramfs? ( sys-libs/zlib )
ncurses? ( >=sys-libs/ncurses-5.2-r2 )
perl? ( dev-lang/perl )
selinux? ( sys-libs/libselinux )
slang? ( sys-libs/slang )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
virtual/os-headers
uclibc? ( ${AUTOTOOLS_DEPEND} )"
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
po/update-potfiles
autopoint --force
eautoreconf
else
use loop-aes && epatch "${WORKDIR}"/util-linux-*.diff
fi
epatch "${FILESDIR}"/${P}-libmount-c++.patch #401057
epatch "${FILESDIR}"/${PN}-2.20.1-umount-fs-search.patch #403073
if use uclibc ; then
epatch "${FILESDIR}"/${P}-no-printf-alloc.patch #406303
eautoreconf
fi
elibtoolize
}
lfs_fallocate_test() {
# Make sure we can use fallocate with LFS #300307
cat <<-EOF > "${T}"/fallocate.c
#define _GNU_SOURCE
#include <fcntl.h>
main() { return fallocate(0, 0, 0, 0); }
EOF
append-lfs-flags
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.c -o /dev/null >/dev/null 2>&1 \
|| export ac_cv_func_fallocate=no
rm -f "${T}"/fallocate.c
}
usex() { use $1 && echo ${2:-yes} || echo ${3:-no} ; }
src_configure() {
lfs_fallocate_test
econf \
--enable-fs-paths-extra=/usr/sbin \
$(use_enable nls) \
--enable-agetty \
$(use_enable cramfs) \
$(use_enable ddate) \
$(use_enable old-linux elvtune) \
--with-ncurses=$(usex ncurses $(usex unicode auto yes) no) \
--disable-kill \
--disable-last \
--disable-mesg \
--enable-partx \
--enable-raw \
--enable-rename \
--disable-reset \
--disable-login-utils \
--enable-schedutils \
--disable-wall \
--enable-write \
--without-pam \
$(use_with selinux) \
$(use_with slang) \
$(use_enable static-libs static) \
$(tc-has-tls || echo --disable-tls)
}
src_install() {
emake install DESTDIR="${D}" || die "install failed"
dodoc AUTHORS NEWS README* TODO docs/*
use ddate || find "${ED}"/usr/share/man -name 'ddate.1*' -delete
if ! use perl ; then #284093
rm "${ED}"/usr/bin/chkdupexe || die
rm "${ED}"/usr/share/man/man1/chkdupexe.1 || die
fi
# need the libs in /
gen_usr_ldscript -a blkid mount uuid
# e2fsprogs-libs didnt install .la files, and .pc work fine
rm -f "${ED}"/usr/$(get_libdir)/*.la
if use crypt ; then
newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die
newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die
fi
}
pkg_postinst() {
elog "The agetty util now clears the terminal by default. You"
elog "might want to add --noclear to your /etc/inittab lines."
}

View File

@ -1,125 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.20.1.ebuild,v 1.4 2012/05/25 16:14:22 vapier Exp $
EAPI="3"
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
inherit eutils toolchain-funcs libtool flag-o-matic multilib
if [[ ${PV} == "9999" ]] ; then
inherit git-2 autotools
#KEYWORDS=""
else
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux"
fi
MY_PV=${PV/_/-}
MY_P=${PN}-${MY_PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Various useful Linux utilities"
HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
else
SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.bz2
loop-aes? ( http://loop-aes.sourceforge.net/updates/util-linux-2.20-20110905.diff.bz2 )"
fi
LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
SLOT="0"
IUSE="+cramfs crypt ddate loop-aes ncurses nls old-linux perl selinux slang static-libs uclibc unicode"
RDEPEND="!sys-process/schedutils
!sys-apps/setarch
!<sys-apps/sysvinit-2.88-r3
!<sys-libs/e2fsprogs-libs-1.41.8
!<sys-fs/e2fsprogs-1.41.8
cramfs? ( sys-libs/zlib )
ncurses? ( >=sys-libs/ncurses-5.2-r2 )
perl? ( dev-lang/perl )
selinux? ( sys-libs/libselinux )
slang? ( sys-libs/slang )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
virtual/os-headers"
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
po/update-potfiles
autopoint --force
eautoreconf
else
use loop-aes && epatch "${WORKDIR}"/util-linux-*.diff
fi
use uclibc && sed -i -e s/versionsort/alphasort/g -e s/strverscmp.h/dirent.h/g mount/lomount.c
elibtoolize
}
lfs_fallocate_test() {
# Make sure we can use fallocate with LFS #300307
cat <<-EOF > "${T}"/fallocate.c
#define _GNU_SOURCE
#include <fcntl.h>
main() { return fallocate(0, 0, 0, 0); }
EOF
append-lfs-flags
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.c -o /dev/null >/dev/null 2>&1 \
|| export ac_cv_func_fallocate=no
rm -f "${T}"/fallocate.c
}
usex() { use $1 && echo ${2:-yes} || echo ${3:-no} ; }
src_configure() {
lfs_fallocate_test
econf \
--enable-fs-paths-extra=/usr/sbin \
$(use_enable nls) \
--enable-agetty \
$(use_enable cramfs) \
$(use_enable ddate) \
$(use_enable old-linux elvtune) \
--with-ncurses=$(usex ncurses $(usex unicode auto yes) no) \
--disable-kill \
--disable-last \
--disable-mesg \
--enable-partx \
--enable-raw \
--enable-rename \
--disable-reset \
--disable-login-utils \
--enable-schedutils \
--disable-wall \
--enable-write \
--without-pam \
$(use_with selinux) \
$(use_with slang) \
$(use_enable static-libs static) \
$(tc-has-tls || echo --disable-tls)
}
src_install() {
emake install DESTDIR="${D}" || die "install failed"
dodoc AUTHORS NEWS README* TODO docs/*
use ddate || find "${ED}"/usr/share/man -name 'ddate.1*' -delete
if ! use perl ; then #284093
rm "${ED}"/usr/bin/chkdupexe || die
rm "${ED}"/usr/share/man/man1/chkdupexe.1 || die
fi
# need the libs in /
gen_usr_ldscript -a blkid uuid
# e2fsprogs-libs didnt install .la files, and .pc work fine
rm -f "${ED}"/usr/$(get_libdir)/*.la
if use crypt ; then
newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die
newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die
fi
}
pkg_postinst() {
elog "The agetty util now clears the terminal by default. You"
elog "might want to add --noclear to your /etc/inittab lines."
}

View File

@ -1,125 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.21.1.ebuild,v 1.9 2012/08/22 02:39:06 vapier Exp $
EAPI="3"
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
AUTOTOOLS_AUTO_DEPEND="no"
inherit eutils toolchain-funcs libtool flag-o-matic autotools
if [[ ${PV} == "9999" ]] ; then
inherit git-2 autotools
#KEYWORDS=""
else
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
fi
MY_PV=${PV/_/-}
MY_P=${PN}-${MY_PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Various useful Linux utilities"
HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
else
SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz"
fi
LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
SLOT="0"
IUSE="+cramfs crypt ddate ncurses nls old-linux perl selinux slang static-libs uclibc unicode"
RDEPEND="!sys-process/schedutils
!sys-apps/setarch
!<sys-apps/sysvinit-2.88-r3
!<sys-libs/e2fsprogs-libs-1.41.8
!<sys-fs/e2fsprogs-1.41.8
cramfs? ( sys-libs/zlib )
ncurses? ( >=sys-libs/ncurses-5.2-r2 )
perl? ( dev-lang/perl )
selinux? ( sys-libs/libselinux )
slang? ( sys-libs/slang )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
virtual/os-headers
uclibc? ( ${AUTOTOOLS_DEPEND} )"
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
po/update-potfiles
autopoint --force
eautoreconf
fi
epatch "${FILESDIR}"/${P}-cal-nl.patch
if use uclibc ; then
epatch "${FILESDIR}"/${P}-no-printf-alloc.patch #406303
eautoreconf
fi
elibtoolize
}
lfs_fallocate_test() {
# Make sure we can use fallocate with LFS #300307
cat <<-EOF > "${T}"/fallocate.c
#define _GNU_SOURCE
#include <fcntl.h>
main() { return fallocate(0, 0, 0, 0); }
EOF
append-lfs-flags
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.c -o /dev/null >/dev/null 2>&1 \
|| export ac_cv_func_fallocate=no
rm -f "${T}"/fallocate.c
}
src_configure() {
lfs_fallocate_test
econf \
--enable-fs-paths-extra=/usr/sbin \
$(use_enable nls) \
--enable-agetty \
$(use_enable cramfs) \
$(use_enable ddate) \
$(use_enable old-linux elvtune) \
--with-ncurses=$(usex ncurses $(usex unicode auto yes) no) \
--disable-kill \
--disable-last \
--disable-mesg \
--enable-partx \
--enable-raw \
--enable-rename \
--disable-reset \
--disable-login-utils \
--enable-schedutils \
--disable-wall \
--enable-write \
$(use_with selinux) \
$(use_with slang) \
$(use_enable static-libs static) \
$(tc-has-tls || echo --disable-tls)
}
src_install() {
emake install DESTDIR="${D}" || die
dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt}
if ! use perl ; then #284093
rm "${ED}"/usr/bin/chkdupexe || die
rm "${ED}"/usr/share/man/man1/chkdupexe.1 || die
fi
# need the libs in /
gen_usr_ldscript -a blkid mount uuid
# e2fsprogs-libs didnt install .la files, and .pc work fine
find "${ED}" -name '*.la' -delete
if use crypt ; then
newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die
newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die
fi
}
pkg_postinst() {
elog "The agetty util now clears the terminal by default. You"
elog "might want to add --noclear to your /etc/inittab lines."
}

View File

@ -1,125 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.21.2.ebuild,v 1.11 2012/11/28 23:03:40 ssuominen Exp $
EAPI="3"
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
AUTOTOOLS_AUTO_DEPEND="no"
inherit eutils toolchain-funcs libtool flag-o-matic autotools
if [[ ${PV} == "9999" ]] ; then
inherit git-2 autotools
#KEYWORDS=""
else
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux"
fi
MY_PV=${PV/_/-}
MY_P=${PN}-${MY_PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Various useful Linux utilities"
HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
else
SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz"
fi
LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
SLOT="0"
IUSE="+cramfs crypt ddate ncurses nls old-linux perl selinux slang static-libs uclibc udev unicode"
RDEPEND="!sys-process/schedutils
!sys-apps/setarch
!<sys-apps/sysvinit-2.88-r3
!<sys-libs/e2fsprogs-libs-1.41.8
!<sys-fs/e2fsprogs-1.41.8
cramfs? ( sys-libs/zlib )
ncurses? ( >=sys-libs/ncurses-5.2-r2 )
perl? ( dev-lang/perl )
selinux? ( sys-libs/libselinux )
slang? ( sys-libs/slang )
udev? ( virtual/udev )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
virtual/os-headers
uclibc? ( ${AUTOTOOLS_DEPEND} )"
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
po/update-potfiles
eautoreconf
fi
if use uclibc ; then
epatch "${FILESDIR}"/${PN}-2.21.1-no-printf-alloc.patch #406303
eautoreconf
fi
elibtoolize
}
lfs_fallocate_test() {
# Make sure we can use fallocate with LFS #300307
cat <<-EOF > "${T}"/fallocate.c
#define _GNU_SOURCE
#include <fcntl.h>
main() { return fallocate(0, 0, 0, 0); }
EOF
append-lfs-flags
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.c -o /dev/null >/dev/null 2>&1 \
|| export ac_cv_func_fallocate=no
rm -f "${T}"/fallocate.c
}
src_configure() {
lfs_fallocate_test
econf \
--enable-fs-paths-extra=/usr/sbin \
$(use_enable nls) \
--enable-agetty \
$(use_enable cramfs) \
$(use_enable ddate) \
$(use_enable old-linux elvtune) \
--with-ncurses=$(usex ncurses $(usex unicode auto yes) no) \
--disable-kill \
--disable-last \
--disable-mesg \
--enable-partx \
--enable-raw \
--enable-rename \
--disable-reset \
--disable-login-utils \
--enable-schedutils \
--disable-wall \
--enable-write \
$(use_with selinux) \
$(use_with slang) \
$(use_enable static-libs static) \
$(use_with udev) \
$(tc-has-tls || echo --disable-tls)
}
src_install() {
emake install DESTDIR="${D}" || die
dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt}
if ! use perl ; then #284093
rm "${ED}"/usr/bin/chkdupexe || die
rm "${ED}"/usr/share/man/man1/chkdupexe.1 || die
fi
# need the libs in /
gen_usr_ldscript -a blkid mount uuid
# e2fsprogs-libs didnt install .la files, and .pc work fine
find "${ED}" -name '*.la' -delete
if use crypt ; then
newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die
newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die
fi
}
pkg_postinst() {
elog "The agetty util now clears the terminal by default. You"
elog "might want to add --noclear to your /etc/inittab lines."
}

View File

@ -1,124 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.21.ebuild,v 1.5 2012/08/22 02:39:06 vapier Exp $
EAPI="3"
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
inherit eutils toolchain-funcs libtool flag-o-matic
if [[ ${PV} == "9999" ]] ; then
inherit git-2 autotools
#KEYWORDS=""
else
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux"
fi
MY_PV=${PV/_/-}
MY_P=${PN}-${MY_PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Various useful Linux utilities"
HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
else
SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz"
fi
LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
SLOT="0"
IUSE="+cramfs crypt ddate ncurses nls old-linux perl selinux slang static-libs uclibc unicode"
RDEPEND="!sys-process/schedutils
!sys-apps/setarch
!<sys-apps/sysvinit-2.88-r3
!<sys-libs/e2fsprogs-libs-1.41.8
!<sys-fs/e2fsprogs-1.41.8
cramfs? ( sys-libs/zlib )
ncurses? ( >=sys-libs/ncurses-5.2-r2 )
perl? ( dev-lang/perl )
selinux? ( sys-libs/libselinux )
slang? ( sys-libs/slang )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
virtual/os-headers"
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
po/update-potfiles
autopoint --force
eautoreconf
fi
use uclibc && sed -i -e s/versionsort/alphasort/g -e s/strverscmp.h/dirent.h/g mount/lomount.c
elibtoolize
}
lfs_fallocate_test() {
# Make sure we can use fallocate with LFS #300307
cat <<-EOF > "${T}"/fallocate.c
#define _GNU_SOURCE
#include <fcntl.h>
main() { return fallocate(0, 0, 0, 0); }
EOF
append-lfs-flags
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.c -o /dev/null >/dev/null 2>&1 \
|| export ac_cv_func_fallocate=no
rm -f "${T}"/fallocate.c
}
src_configure() {
lfs_fallocate_test
if tc-is-cross-compiler ; then
# newer util-linux has this fixed in the configure script already
export scanf_cv_alloc_modifier=no
[[ ${CHOST} == *-gnu* ]] && scanf_cv_alloc_modifier=ms
fi
econf \
--enable-fs-paths-extra=/usr/sbin \
$(use_enable nls) \
--enable-agetty \
$(use_enable cramfs) \
$(use_enable ddate) \
$(use_enable old-linux elvtune) \
--with-ncurses=$(usex ncurses $(usex unicode auto yes) no) \
--disable-kill \
--disable-last \
--disable-mesg \
--enable-partx \
--enable-raw \
--enable-rename \
--disable-reset \
--disable-login-utils \
--enable-schedutils \
--disable-wall \
--enable-write \
$(use_with selinux) \
$(use_with slang) \
$(use_enable static-libs static) \
$(tc-has-tls || echo --disable-tls)
}
src_install() {
emake install DESTDIR="${D}" || die
dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt}
if ! use perl ; then #284093
rm "${ED}"/usr/bin/chkdupexe || die
rm "${ED}"/usr/share/man/man1/chkdupexe.1 || die
fi
# need the libs in /
gen_usr_ldscript -a blkid mount uuid
# e2fsprogs-libs didnt install .la files, and .pc work fine
find "${ED}" -name '*.la' -delete
if use crypt ; then
newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die
newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die
fi
}
pkg_postinst() {
elog "The agetty util now clears the terminal by default. You"
elog "might want to add --noclear to your /etc/inittab lines."
}

View File

@ -1,117 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.22.1.ebuild,v 1.3 2012/11/28 23:03:40 ssuominen Exp $
EAPI="3"
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
inherit eutils toolchain-funcs libtool flag-o-matic
if [[ ${PV} == "9999" ]] ; then
inherit git-2 autotools
#KEYWORDS=""
else
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
fi
MY_PV=${PV/_/-}
MY_P=${PN}-${MY_PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Various useful Linux utilities"
HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
else
SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz"
fi
LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
SLOT="0"
IUSE="+cramfs crypt ddate ncurses nls old-linux perl selinux slang static-libs udev unicode"
RDEPEND="!sys-process/schedutils
!sys-apps/setarch
!<sys-apps/sysvinit-2.88-r4
!sys-block/eject
!<sys-libs/e2fsprogs-libs-1.41.8
!<sys-fs/e2fsprogs-1.41.8
cramfs? ( sys-libs/zlib )
ncurses? ( >=sys-libs/ncurses-5.2-r2 )
perl? ( dev-lang/perl )
selinux? ( sys-libs/libselinux )
slang? ( sys-libs/slang )
udev? ( virtual/udev )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
virtual/os-headers"
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
po/update-potfiles
eautoreconf
fi
elibtoolize
}
lfs_fallocate_test() {
# Make sure we can use fallocate with LFS #300307
cat <<-EOF > "${T}"/fallocate.c
#define _GNU_SOURCE
#include <fcntl.h>
main() { return fallocate(0, 0, 0, 0); }
EOF
append-lfs-flags
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.c -o /dev/null >/dev/null 2>&1 \
|| export ac_cv_func_fallocate=no
rm -f "${T}"/fallocate.c
}
src_configure() {
lfs_fallocate_test
econf \
--enable-fs-paths-extra=/usr/sbin:/bin:/usr/bin \
$(use_enable nls) \
--enable-agetty \
$(use_enable perl chkdupexe) \
$(use_enable cramfs) \
$(use_enable ddate) \
$(use_enable old-linux elvtune) \
--with-ncurses=$(usex ncurses $(usex unicode auto yes) no) \
--disable-kill \
--disable-last \
--disable-login \
--disable-mesg \
--enable-partx \
--enable-raw \
--enable-rename \
--disable-reset \
--enable-schedutils \
--disable-su \
--disable-wall \
--enable-write \
$(use_with selinux) \
$(use_with slang) \
$(use_enable static-libs static) \
$(use_with udev) \
$(tc-has-tls || echo --disable-tls)
}
src_install() {
emake install DESTDIR="${D}" || die
dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt}
# need the libs in /
gen_usr_ldscript -a blkid mount uuid
# e2fsprogs-libs didnt install .la files, and .pc work fine
find "${ED}" -name '*.la' -delete
if use crypt ; then
newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die
newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die
fi
}
pkg_postinst() {
elog "The agetty util now clears the terminal by default. You"
elog "might want to add --noclear to your /etc/inittab lines."
}

View File

@ -1,120 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.22.2.ebuild,v 1.18 2013/03/28 17:49:23 vapier Exp $
EAPI="3"
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
inherit eutils toolchain-funcs libtool flag-o-matic
if [[ ${PV} == "9999" ]] ; then
inherit git-2 autotools
#KEYWORDS=""
else
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux"
fi
MY_PV=${PV/_/-}
MY_P=${PN}-${MY_PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Various useful Linux utilities"
HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
else
SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz"
fi
LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
SLOT="0"
IUSE="+cramfs crypt ddate ncurses nls old-linux perl selinux slang static-libs +suid test udev unicode"
RDEPEND="!sys-process/schedutils
!sys-apps/setarch
!<sys-apps/sysvinit-2.88-r4
!sys-block/eject
!<sys-libs/e2fsprogs-libs-1.41.8
!<sys-fs/e2fsprogs-1.41.8
cramfs? ( sys-libs/zlib )
ncurses? ( >=sys-libs/ncurses-5.2-r2 )
perl? ( dev-lang/perl )
selinux? ( sys-libs/libselinux )
slang? ( sys-libs/slang )
udev? ( virtual/udev )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
test? ( sys-devel/bc )
virtual/os-headers"
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
po/update-potfiles
eautoreconf
fi
elibtoolize
}
lfs_fallocate_test() {
# Make sure we can use fallocate with LFS #300307
cat <<-EOF > "${T}"/fallocate.c
#define _GNU_SOURCE
#include <fcntl.h>
main() { return fallocate(0, 0, 0, 0); }
EOF
append-lfs-flags
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.c -o /dev/null >/dev/null 2>&1 \
|| export ac_cv_func_fallocate=no
rm -f "${T}"/fallocate.c
}
src_configure() {
lfs_fallocate_test
econf \
--enable-fs-paths-extra=/usr/sbin:/bin:/usr/bin \
$(use_enable nls) \
--enable-agetty \
$(use_enable perl chkdupexe) \
$(use_enable cramfs) \
$(use_enable ddate) \
$(use_enable old-linux elvtune) \
--with-ncurses=$(usex ncurses $(usex unicode auto yes) no) \
--disable-kill \
--disable-last \
--disable-login \
--disable-mesg \
--enable-partx \
--enable-raw \
--enable-rename \
--disable-reset \
--enable-schedutils \
--disable-su \
--disable-wall \
--enable-write \
$(use_enable suid makeinstall-chown) \
$(use_enable suid makeinstall-setuid) \
$(use_with selinux) \
$(use_with slang) \
$(use_enable static-libs static) \
$(use_with udev) \
$(tc-has-tls || echo --disable-tls)
}
src_install() {
emake install DESTDIR="${D}" || die
dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt,releases/*}
# need the libs in /
gen_usr_ldscript -a blkid mount uuid
# e2fsprogs-libs didnt install .la files, and .pc work fine
find "${ED}" -name '*.la' -delete
if use crypt ; then
newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die
newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die
fi
}
pkg_postinst() {
elog "The agetty util now clears the terminal by default. You"
elog "might want to add --noclear to your /etc/inittab lines."
}

View File

@ -1,117 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.22.ebuild,v 1.3 2012/11/28 23:03:40 ssuominen Exp $
EAPI="3"
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
inherit eutils toolchain-funcs libtool flag-o-matic
if [[ ${PV} == "9999" ]] ; then
inherit git-2 autotools
#KEYWORDS=""
else
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
fi
MY_PV=${PV/_/-}
MY_P=${PN}-${MY_PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Various useful Linux utilities"
HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
else
SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz"
fi
LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
SLOT="0"
IUSE="+cramfs crypt ddate ncurses nls old-linux perl selinux slang static-libs udev unicode"
RDEPEND="!sys-process/schedutils
!sys-apps/setarch
!<sys-apps/sysvinit-2.88-r4
!sys-block/eject
!<sys-libs/e2fsprogs-libs-1.41.8
!<sys-fs/e2fsprogs-1.41.8
cramfs? ( sys-libs/zlib )
ncurses? ( >=sys-libs/ncurses-5.2-r2 )
perl? ( dev-lang/perl )
selinux? ( sys-libs/libselinux )
slang? ( sys-libs/slang )
udev? ( virtual/udev )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
virtual/os-headers"
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
po/update-potfiles
eautoreconf
fi
elibtoolize
}
lfs_fallocate_test() {
# Make sure we can use fallocate with LFS #300307
cat <<-EOF > "${T}"/fallocate.c
#define _GNU_SOURCE
#include <fcntl.h>
main() { return fallocate(0, 0, 0, 0); }
EOF
append-lfs-flags
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.c -o /dev/null >/dev/null 2>&1 \
|| export ac_cv_func_fallocate=no
rm -f "${T}"/fallocate.c
}
src_configure() {
lfs_fallocate_test
econf \
--enable-fs-paths-extra=/usr/sbin \
$(use_enable nls) \
--enable-agetty \
$(use_enable perl chkdupexe) \
$(use_enable cramfs) \
$(use_enable ddate) \
$(use_enable old-linux elvtune) \
--with-ncurses=$(usex ncurses $(usex unicode auto yes) no) \
--disable-kill \
--disable-last \
--disable-login \
--disable-mesg \
--enable-partx \
--enable-raw \
--enable-rename \
--disable-reset \
--enable-schedutils \
--disable-su \
--disable-wall \
--enable-write \
$(use_with selinux) \
$(use_with slang) \
$(use_enable static-libs static) \
$(use_with udev) \
$(tc-has-tls || echo --disable-tls)
}
src_install() {
emake install DESTDIR="${D}" || die
dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt}
# need the libs in /
gen_usr_ldscript -a blkid mount uuid
# e2fsprogs-libs didnt install .la files, and .pc work fine
find "${ED}" -name '*.la' -delete
if use crypt ; then
newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die
newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die
fi
}
pkg_postinst() {
elog "The agetty util now clears the terminal by default. You"
elog "might want to add --noclear to your /etc/inittab lines."
}

View File

@ -1,119 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.23.ebuild,v 1.3 2013/05/08 22:32:07 vapier Exp $
EAPI="3"
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
inherit eutils toolchain-funcs libtool flag-o-matic
if [[ ${PV} == "9999" ]] ; then
inherit git-2 autotools
#KEYWORDS=""
else
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
fi
MY_PV=${PV/_/-}
MY_P=${PN}-${MY_PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Various useful Linux utilities"
HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
else
SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz"
fi
LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
SLOT="0"
IUSE="bash-completion caps +cramfs cytune fdformat ncurses nls old-linux selinux slang static-libs +suid test tty-helpers udev unicode"
RDEPEND="!sys-process/schedutils
!sys-apps/setarch
!<sys-apps/sysvinit-2.88-r5
!sys-block/eject
!<sys-libs/e2fsprogs-libs-1.41.8
!<sys-fs/e2fsprogs-1.41.8
!<app-shells/bash-completion-1.3-r2
caps? ( sys-libs/libcap-ng )
cramfs? ( sys-libs/zlib )
ncurses? ( >=sys-libs/ncurses-5.2-r2 )
selinux? ( sys-libs/libselinux )
slang? ( sys-libs/slang )
udev? ( virtual/udev )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
test? ( sys-devel/bc )
virtual/os-headers"
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
po/update-potfiles
eautoreconf
fi
elibtoolize
}
lfs_fallocate_test() {
# Make sure we can use fallocate with LFS #300307
cat <<-EOF > "${T}"/fallocate.c
#define _GNU_SOURCE
#include <fcntl.h>
main() { return fallocate(0, 0, 0, 0); }
EOF
append-lfs-flags
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.c -o /dev/null >/dev/null 2>&1 \
|| export ac_cv_func_fallocate=no
rm -f "${T}"/fallocate.c
}
src_configure() {
lfs_fallocate_test
econf \
--enable-fs-paths-extra=/usr/sbin:/bin:/usr/bin \
$(use_enable nls) \
--enable-agetty \
--with-bashcompletiondir='${datarootdir}/bash-completion' \
$(use_enable bash-completion) \
$(use_enable caps setpriv) \
$(use_enable cramfs) \
$(use_enable cytune) \
$(use_enable fdformat) \
$(use_enable old-linux elvtune) \
--with-ncurses=$(usex ncurses $(usex unicode auto yes) no) \
--disable-kill \
--disable-last \
--disable-login \
$(use_enable tty-helpers mesg) \
--enable-partx \
--enable-raw \
--enable-rename \
--disable-reset \
--enable-schedutils \
--disable-su \
$(use_enable tty-helpers wall) \
$(use_enable tty-helpers write) \
$(use_enable suid makeinstall-chown) \
$(use_enable suid makeinstall-setuid) \
$(use_with selinux) \
$(use_with slang) \
$(use_enable static-libs static) \
$(use_with udev) \
$(tc-has-tls || echo --disable-tls)
}
src_install() {
emake install DESTDIR="${D}" || die
dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt,releases/*}
# need the libs in /
gen_usr_ldscript -a blkid mount uuid
# e2fsprogs-libs didnt install .la files, and .pc work fine
find "${ED}" -name '*.la' -delete
}
pkg_postinst() {
elog "The agetty util now clears the terminal by default. You"
elog "might want to add --noclear to your /etc/inittab lines."
}

View File

@ -1,119 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-9999.ebuild,v 1.44 2013/05/08 22:32:07 vapier Exp $
EAPI="3"
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
inherit eutils toolchain-funcs libtool flag-o-matic
if [[ ${PV} == "9999" ]] ; then
inherit git-2 autotools
#KEYWORDS=""
else
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
fi
MY_PV=${PV/_/-}
MY_P=${PN}-${MY_PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Various useful Linux utilities"
HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
else
SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz"
fi
LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
SLOT="0"
IUSE="bash-completion caps +cramfs cytune fdformat ncurses nls old-linux selinux slang static-libs +suid test tty-helpers udev unicode"
RDEPEND="!sys-process/schedutils
!sys-apps/setarch
!<sys-apps/sysvinit-2.88-r5
!sys-block/eject
!<sys-libs/e2fsprogs-libs-1.41.8
!<sys-fs/e2fsprogs-1.41.8
!<app-shells/bash-completion-1.3-r2
caps? ( sys-libs/libcap-ng )
cramfs? ( sys-libs/zlib )
ncurses? ( >=sys-libs/ncurses-5.2-r2 )
selinux? ( sys-libs/libselinux )
slang? ( sys-libs/slang )
udev? ( virtual/udev )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
test? ( sys-devel/bc )
virtual/os-headers"
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
po/update-potfiles
eautoreconf
fi
elibtoolize
}
lfs_fallocate_test() {
# Make sure we can use fallocate with LFS #300307
cat <<-EOF > "${T}"/fallocate.c
#define _GNU_SOURCE
#include <fcntl.h>
main() { return fallocate(0, 0, 0, 0); }
EOF
append-lfs-flags
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.c -o /dev/null >/dev/null 2>&1 \
|| export ac_cv_func_fallocate=no
rm -f "${T}"/fallocate.c
}
src_configure() {
lfs_fallocate_test
econf \
--enable-fs-paths-extra=/usr/sbin:/bin:/usr/bin \
$(use_enable nls) \
--enable-agetty \
--with-bashcompletiondir='${datarootdir}/bash-completion' \
$(use_enable bash-completion) \
$(use_enable caps setpriv) \
$(use_enable cramfs) \
$(use_enable cytune) \
$(use_enable fdformat) \
$(use_enable old-linux elvtune) \
--with-ncurses=$(usex ncurses $(usex unicode auto yes) no) \
--disable-kill \
--disable-last \
--disable-login \
$(use_enable tty-helpers mesg) \
--enable-partx \
--enable-raw \
--enable-rename \
--disable-reset \
--enable-schedutils \
--disable-su \
$(use_enable tty-helpers wall) \
$(use_enable tty-helpers write) \
$(use_enable suid makeinstall-chown) \
$(use_enable suid makeinstall-setuid) \
$(use_with selinux) \
$(use_with slang) \
$(use_enable static-libs static) \
$(use_with udev) \
$(tc-has-tls || echo --disable-tls)
}
src_install() {
emake install DESTDIR="${D}" || die
dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt,releases/*}
# need the libs in /
gen_usr_ldscript -a blkid mount uuid
# e2fsprogs-libs didnt install .la files, and .pc work fine
find "${ED}" -name '*.la' -delete
}
pkg_postinst() {
elog "The agetty util now clears the terminal by default. You"
elog "might want to add --noclear to your /etc/inittab lines."
}