summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-05-04 03:52:14 +0000
committerMike Frysinger <vapier@gentoo.org>2015-05-04 03:52:14 +0000
commitd50e4f5961aac819cebd3e347118b8bb0dd9094e (patch)
tree67659ddfa9c0730afd484fe1293628029ad85518 /sys-apps
parentFix parallel building w/setarch man page links #511812 by Thomas D. (diff)
downloadhistorical-d50e4f5961aac819cebd3e347118b8bb0dd9094e.tar.gz
historical-d50e4f5961aac819cebd3e347118b8bb0dd9094e.tar.bz2
historical-d50e4f5961aac819cebd3e347118b8bb0dd9094e.zip
Version bump.
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0xD2E96200
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/util-linux/ChangeLog7
-rw-r--r--sys-apps/util-linux/Manifest23
-rw-r--r--sys-apps/util-linux/util-linux-2.26.2.ebuild179
3 files changed, 203 insertions, 6 deletions
diff --git a/sys-apps/util-linux/ChangeLog b/sys-apps/util-linux/ChangeLog
index 86f83c5a8913..6eed8519dfb0 100644
--- a/sys-apps/util-linux/ChangeLog
+++ b/sys-apps/util-linux/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/util-linux
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.506 2015/05/04 03:51:15 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.507 2015/05/04 03:52:12 vapier Exp $
+
+*util-linux-2.26.2 (04 May 2015)
+
+ 04 May 2015; Mike Frysinger <vapier@gentoo.org> +util-linux-2.26.2.ebuild:
+ Version bump.
04 May 2015; Mike Frysinger <vapier@gentoo.org> util-linux-2.25.2-r2.ebuild,
+files/util-linux-2.25-parallel-setarch.patch:
diff --git a/sys-apps/util-linux/Manifest b/sys-apps/util-linux/Manifest
index a352ca9831ca..170b538104a0 100644
--- a/sys-apps/util-linux/Manifest
+++ b/sys-apps/util-linux/Manifest
@@ -6,6 +6,7 @@ AUX crypto-loop.initd 1729 SHA256 b8329250c865e79a1e761d713c2270c99d5fe96e0d5a7c
AUX util-linux-2.24-fix-fdisk-on-alpha.patch 416 SHA256 9979cc2136d5d321c4dec08b8c42c419bc8e8a63299fa83a1174e9aaac5a3fb7 SHA512 69f77774dfe58ae56d21c20cb45ae494a8948426d33275cd790de1e290a3592f5bf0645c3ceaf64f344422de7259e6edf6ca5ff744ce9a9030b59c30d9637126 WHIRLPOOL f1b02433071c32aa815c9e6daa19c25d543126fe8a794024efbdf6732ec7b1963310d792174a630f7acd0583ca9e18df8ef86a40d495104023aca2fe14e9e41e
AUX util-linux-2.24-last-tests.patch 4513 SHA256 61be31970f0aced6a8423e1f0ab35751f0dcd9e24265eb3221a8e0e14cae731f SHA512 f9be688b0a074ca3e93139fcd78c4a28b892b9cafedc70d92b08f695131631349044d1eb42b4534db9c09f656e503d400dc59b220234668cba206888ad43cd1a WHIRLPOOL fa1057d0b9d99a92f53975c468e7488d47b2a801d42141233c88b01a9bde66ae489cf862505f3eadfb6c7e99172d202e37ec4bc5cd7d97e2fdc6e043df3335f9
AUX util-linux-2.24-skip-last-tests.patch 1003 SHA256 5ccbab17e26cc9b592b534b9b3e72b6a23dbdd04718f6360cb7d8886221ffa4d SHA512 9d89530f203c8a50e1def8164669b93ce1c1509d4da112c9db56cea9e29288c32964978e06ababa8e6c00222813d7a99bc35e0a7cfc17d8cd63804b629c9165c WHIRLPOOL 0e7c1cd6a4bdc94fdad3582f1855992d375238438d165627d60cddda8d1314c759b6e34171c5d00890956acdf9641ad5bf955f980fd142545b1ef468caa90be6
+AUX util-linux-2.25-parallel-setarch.patch 1166 SHA256 8ed3ab3a9e55b33b4a8d4bb28196e6d81bf65587893b70c9b47393f64f918bb6 SHA512 2dfe200b16c38463d6790cae129cb328bdc5408c8fe8cf3aafb357091ae2cb11e13918bf5e2d5b8ac4c8661a79ad3b01f36ab4b688bd2667fdd64fe3c1e1456c WHIRLPOOL 5a675aad394ac83ed56e22bdc9bc1d24add8734beec2dc8feaaa7c756f01ca9a505072a8060dff01d4a886b0e21492d95ea4b693825a1b58dbc8a854bb09acbe
AUX util-linux-2.25.1-blkid-probe-fix.patch 1277 SHA256 8f93b1309244b1793ad72c3942e71b09c7df711476144356bcc6fa03cbce5ad8 SHA512 73c1ce24a45a11962c847bf8e7448e57752ac078a6e898fd7458b1a7c55f13aabb7510a633b0d2a78916419bdbaa97c0b0bb771f3a2c92ee197868e9a8925c14 WHIRLPOOL f5f6b23311a4574899e586f2d67bb2b315d40dd7d04933d4b5e3e2d7ac87545c89dd36446b41aa7d8617ffbaa915db65eaafcc891d32ec3aef26ab436368da5a
AUX util-linux-2.25.2-runuser-bash-completion.patch 1372 SHA256 a3eebac8c53b3bf6e29e15e161ba460fdafed840647f49de93cf8e20856f10ed SHA512 d7a90f709480065eceddc9c0ca2186a12b941c08130d3bee69286e1cd13ef228bff6991373ce30eacbb29f4ddad8a1afdf6551652d5ca21063e0ab7211aa44da WHIRLPOOL ef5446ecee7ae1d932fe62a0a321cab55df0ed24d7ab98abf2d8cba9fbd47bd2524fac22c0a0d4ebdcacb642ece273ce97e76f763ed816eaa3df95a76579caba
DIST util-linux-2.24.1.tar.xz 3543692 SHA256 835eb6232cfab0118ef2e4fd649de0ba9f5bd1b8cbf9a7d4d84594541dec8410 SHA512 5636e1c57bd57954518e90ff0f079810cc2927f52bb925dde556ce2744a088577f8adbc19c19b2bd079efd253406767faa44d1de5f557e024762522e647f044b WHIRLPOOL 25862a85788eb1c275c7e06f3d2be8e6a9605811665e06a4b21d1e274fc4a5e19dd03e5c52061ee5d98ce8c86ba757a7f8076683edb603ad0c43c05ab5e52a51
@@ -13,6 +14,7 @@ DIST util-linux-2.24.2.tar.xz 3586580 SHA256 1243d6c07f1c5b38aa4c3814c81a71c24cb
DIST util-linux-2.25.1.tar.xz 3695172 SHA256 4701305ae22790c3a92ce48e50794fa05b7ee01f4227f419a171c100d08986e8 SHA512 a670cb4318beed0a455efb339ebea6ec7c5d672e15877e7e25cae2ec9c0795fbe4275b6c85a590467c3de92ab2f64cdcd0427c9a2a6e4c6b76f563592fb7be8d WHIRLPOOL 44c17bd3ad0b05c47bb955b934011b460c3992ea5d5b43977d2001b245820b775e16bedbaa10ff9c223d59b0809674884c76f0dc34d707864d17b49b4deaab9d
DIST util-linux-2.25.2.tar.xz 3703644 SHA256 e0457f715b73f4a349e1acb08cb410bf0edc9a74a3f75c357070f31f70e33cd6 SHA512 cf8c5bde78f844425150c2a81bdecb87aa57bcd5cebd177a78160835627f58037fa2cfe4db26fd8f35eedb3beb499a91492a297a27d065465e2ea0c6218dc387 WHIRLPOOL dd1685f2e694bf3de95acc3ba3170d231426c18c3395a867c815bbd3ab5ee0f07567b49d0ae083ce669c89db711e39fd2b990bc7321985ec2279d78816ec5258
DIST util-linux-2.26.1.tar.xz 3859740 SHA256 22dc1c957262e2cbdfb4d524a63d5cd4f219d3ac9b5eab570fc771076799bb6e SHA512 9321793b3fa219ffc46e10639b9e45094c3cae6c48be4b80e652d9768f40dcedbd49342e17345b61c85f46540a7bd93d118a8e226c315e112bb2e959e2855ad9 WHIRLPOOL 1bcd5c3c14c278ec3b10535546706b6830a283fd72e7d1933101bf1ab6ec5b03d9ff7a53745d34a97cbb4d7d1b0e35852bb841be4b53a55c2aca07624bf06fbd
+DIST util-linux-2.26.2.tar.xz 3863868 SHA256 0e29bda142528a48a0a953c39ff63093651a4809042e1790fbd6aa8663fd9666 SHA512 1cb8e2f32882b3f496d31c250a45cfb61bedb79f7a2802b358c23134d4257fa9bc9cde8888cfa1aaba12109f82b93345c6dc0bec2d11629ffa084f2a4476a91b WHIRLPOOL 699ff057f9930fe53f44090817c64ffe089345e7aba4c836e18cd3d2088881add805640b0e41b8d60bc08e3632be919025417feb9c2ddda454c87821a59122ed
DIST util-linux-2.26.tar.xz 3847960 SHA256 a23c6f39dea0ed215ccd589509ffc7bb6f706f6e1a04760f493fb0fd7e93c489 SHA512 af07d49a433fce683da7bdf9aea5693ad108aa16166e0147716175bd779fe5090029617dd7db153bc0f5efcf7bdd377761a616efd4cca90a87bf317132ede88c WHIRLPOOL 4f7c9463bfe1523819671824de26e051c496c86884ca34b25208762179345c799fe61e566228ebfcbca2f2b63163539e37b06e438a58f562cf7b53f954564150
EBUILD util-linux-2.24.1-r2.ebuild 4122 SHA256 30fcae572dfeec6710cbf204f1ae16304b68ae7b2dc5ac4aa323e96bc19d219d SHA512 0c2a73fc3337b9934715d764fed85e17d70550ea16d5719906a9bc20b21070bc2b50a588609ac19d6f0bb76fadeb607b8054eedf69bdcd896e67b276403729c7 WHIRLPOOL 196e3c3b352f4779ab106c00d406920852631656b438aaddf5e457ec2d349725d0dcc805b038242c4249e919fde149067b416360173ddb1e7f048a14f624ed34
EBUILD util-linux-2.24.1-r3.ebuild 5144 SHA256 8bd4b66df26c67bdc8b9bbcb8437129a2bb6becebbf11f2ac1b9a7ade825190b SHA512 e6e4d51129be43b46bc8b135860cf90078f3c8d1ff006a9cb3880fa935642926e6d1e7a95fae506138b8f9733c3e3e796d591fdb7f50a092806b663291034b99 WHIRLPOOL a3f0079b0997d651ebf7e76e7ec2fcc59b02e9573ae2925ad19565a8d67472778052d763a9bb6e2215c765e97e82ca72ad919368c4797b935c8782c494d9341d
@@ -20,18 +22,29 @@ EBUILD util-linux-2.24.2.ebuild 5373 SHA256 fe0f569c3ab79db6621cded71dfb8ec574db
EBUILD util-linux-2.25.1-r1.ebuild 5178 SHA256 d418a52d268d76cf96a8a6ead139ec3e0ad296498b3907aa7e2e14ff3916757e SHA512 30026dda9c8297c130bbf5ed7b03337e88d952df56bda417d07e0a2396657341a947ab0e6cb9d3c7e8425ef15f5fe20f82ff0dad148a42456fd695d09a40b854 WHIRLPOOL e37b783644de2c30913294c222ba6cdda35897439dd87ed96a177a0fee2339d4e94d1b2cffaf7cda3a472db567cda6f8c0f465ed3356e582333b615364c6f54c
EBUILD util-linux-2.25.1.ebuild 5126 SHA256 4d61e681fc893df9bf3b70d1d62968da9b4af8a1ccbcdea9c0cb6c32137aa050 SHA512 c9b1832c6d4b8d9a5575184dd2724f2bcef16df96336c2f9b8d2ddeeaf43071634588628b1f717c0e6c32833eaca3c2ae2367c6f330d4fb879408a35c453d144 WHIRLPOOL 1df72dd81f4448d41deca302baf0880b37a8ca213338c58cb6fc6a4005420eb08c942c855cf1e0a9177d3f0c1461985b0955f0391b8be610ae86ad4eed82ba34
EBUILD util-linux-2.25.2-r1.ebuild 5375 SHA256 6175b878549d0c4392c77704d47c41a15dc977609f1b33afdcfcacafbad9294c SHA512 6b37fa577b02153647f9ff8737af4d7f4539f07b4743595907656c30497991941788d12dd10035c07d23394aba81f1d629e329f60c60dd28f54cd47bc0369d15 WHIRLPOOL 29137890e5b316aeca4421b9cc090becf010ccf57615b669760933f48dcb2e1227710c4701cab6f7878a5253515c687bde46078a2865e4ee85d76e46d13a923a
-EBUILD util-linux-2.25.2-r2.ebuild 5403 SHA256 263d9b0b71145ddb6fbdaaf361fe795befcbdb392b5314fea1dc81152bb73498 SHA512 a20f9390c9fcd19ea68ce8821f8149bfd15f1430df689e076ad295b6ddf3184fadc4dc651f1bf417e43c67eade7d568006bdb0c04bbf360d2e5275a137ffcf9b WHIRLPOOL 635380851f91780302be30bb37aae811f9208fb441e15c21e2dba744b5cc76f22746f88c9400af82579e24835bdff4f157869af8ce955d28ac373f40be618e72
+EBUILD util-linux-2.25.2-r2.ebuild 5470 SHA256 e9b0c17882bcb7ccc158e61b69307468acd03812b8c855b7ac33c21c69f3b0f6 SHA512 f16525c4d2431f0ede3c70f7289ceb4c92498222466cba1de973b37199cd72979266ff5478d6c7170a883d2a55a8dc1149986dac628481ea2858aafd3c96aa9e WHIRLPOOL 86548f98dc7791f354dabd682edec63b99bb32a05020858bfa31414baa092d75a7d4bb5c32c298d4e0293b5158345fbef8a50cc5a4b7e6c9e62332ed8e30c88f
EBUILD util-linux-2.25.2.ebuild 5191 SHA256 da5a1563f5b2a0b025d5615b56052d131e592805c46635a0cb163c3966df7eeb SHA512 f255faf393126f31e8c3a5f5766c3af684c5a038287d40a599beb2f1acdbede6972fc2697fc7a7ce2ecd42822b470c8d3573040df42f92d511098936958d6ac3 WHIRLPOOL 620fcc53b9a434f069489868ebcde9b9cd6531b840d76392112f4f8e7daef7ae3fddcbf63ee4ba90442536a7a227e9faa366ec76539febdff1618346ce12f609
EBUILD util-linux-2.26.1-r1.ebuild 5461 SHA256 30c217ee4d90a2ad8c4f611b2d49198aa51d85782bbe83a0f128450c4478f444 SHA512 2bdb64ce71f6cda9f3187c6e22e0a63643b94d6f63f3a9e938819a3c9f4c72261abe1ee3ed9cade0f8f1f2c939c3740f501ca07e6191cd0869bcfbd907d2c291 WHIRLPOOL 28011e28bd98d11299fe8b520d6387129980ab6fac9d53722ad190bffde2b0e1e660ef9d166145fefb1f9ebb4b71280522fe64fe600c01be5a64bd6f46478441
EBUILD util-linux-2.26.1.ebuild 5381 SHA256 5225ed00df67e3d2e9193e8c3148792643869f991a7855b539a316e44acdbeb9 SHA512 59570e334cdb08b8c092b82f109cf7d0829b2506a3d2112c80ac66d7ee20b7cffd03f84a7ed83039deba1bb534d1023ca2e5ea6f090c1b4797b729598cc94c11 WHIRLPOOL 6bdd39807e868192053ce10901d2099ee81049b1f88df324504ba32e0fab7896360a1e4aafde0f8ea51667edc5b82c62fe2ab81ee807aba7d4836f37e59dcf51
+EBUILD util-linux-2.26.2.ebuild 5522 SHA256 ee7f127017f2e50a4d3bb1bd8b75a0be8b93ea695a5d5577136f6eddfb9d7134 SHA512 34434ea9ede1237bc480a8679f143f1d0d8970dbe7b1bc53bbd2f82fbf2f985378886e4e12fef0804c5fdd44ca0ad58b2369bf4ab1a4619792ef355810689002 WHIRLPOOL d487ed62ad4d7c437fbd269d0cced9b1faa54bfd5050e91bf6070aa2b428f7df97983113fb7d4b6647ea82ffd6d7cf9cbe686368e98d64197c0d764c40f469ad
EBUILD util-linux-2.26.ebuild 5379 SHA256 302b17d6c0bdd294784b0aca338ba7c5fb08e4ea741bc53da30c3471e129ace6 SHA512 7a2b3fe6a044ba45439c4092c99034704bbc980d71e88816c6e8c1e896ecc0f595d9d5f0d330e3653715a70abf8872554e9475d4f7c08c8160e70c92f1ef5296 WHIRLPOOL 4057b3728c1f3a4d15efd2299000ebc0ce9ef06d161785ef994ccc6f6a824b1b6489966bf7ddca5eb4e86f905d052e5705a914d71d578f5a52406d52e427ff77
EBUILD util-linux-9999.ebuild 5457 SHA256 bc81004c210105730b39caffdfec03f1d3ba16b5a0b8c65e082e64958b6d5ae5 SHA512 d761a1832246a9c4619d4977e18501fd8391016eca779ab7e6bb1bbc4baef7d7089f6ede892f971cff1183573815af32d9fe9e0e55589e71240344970214e935 WHIRLPOOL c3fa95811b4acd6b6be94a0c6cd33214cd249991bc9078d864b77f4b5b59986d95d4a01b69e18be819bdc51a0ac0b595c7855805de65165e6c8b99d7f0cef888
-MISC ChangeLog 78484 SHA256 60fae46904b035b4c16958582c39790b20e240abfe08deead8103100ae775b31 SHA512 fe714d293b65c4fab9149d4b8dc9d40c4220d7497aef03050ac3246c2e740c7aa2b4eb3aaff6cbde3c94034f6aa6c461fcb4394deddeae0d89f98fb510589b2d WHIRLPOOL bd2fd5172f99298d4f382d3029a62db4b2b693a1caef6efa2857de058b9486d485ba5bf72e5c4033031a0506d6bc8903f4234d25250e83dcb484e48dd9dbe1f4
+MISC ChangeLog 78814 SHA256 b17010583ab24073c6da6ff250136d4e2f80341d74b4b1d5ec161b501522aec5 SHA512 eb71b03e075dacf3203e515407c620019a3372a011c3063e8bf57b93252e8a26e42495d047c256dde2fc3575d923311514268199cc4907eae7454fa5d8d47d9d WHIRLPOOL ec621b5ff8fe757fcfe3e98f20cb2715be521a9d74420e04d416eb5d7ab8ffa5fb7c626a3a02c9db2d7d2bb8916139042c91f203ff3d1caf98c2597a64961b7c
MISC metadata.xml 892 SHA256 c7f34ab09b97ea7896c5923c219b1431f9488cf15b27c245d4be880ccce87d65 SHA512 33ad8d44583605e115fd9866ff71324c70b71f1937273cc64c89221d8499b9ad620e272dbe37cd28098ffe2d19c9b414448d8979fd7b216ac5c9bba7a1a4d5f6 WHIRLPOOL cb6496cf00c218a0581a8114d82df6e5fdf90293d634d6c1eb12513d25cb9652d1c55bb035d5c48d58901fdcd67b3e23ece8681cefbe5a8015ab4c91bf299b4b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iEYEAREIAAYFAlU4f5YACgkQVWmRsqeSphMvkQCffwn73z2UhkkK/eRQzKWtl5YT
-VO4Ani2ZBhi7ZHeHecyKKta3kxX+LHes
-=i+gv
+iQIcBAEBCAAGBQJVRuztAAoJEPGu1DbS6WIAqIMP/jB8dJem8JoCsOKkAiIwEJN/
+bOC0j7sp/fllwwmpdFRG3XprgMGJMeG/ciG/BV593hKS73p6Z5ZtHSAON2bQilg0
+PQmphfJAeX0ArGxU+CxeM0rchohtwUk46ubZvw43dITiD5EMNngmPe8EG9P9I5Is
+N0gIb1OaRnP5P21qSHyEVn/5w0JMv72azX5wgFWY1+TeNMzOfIeb8WnKyAjw5tYn
+04uYBT6oamG5gXJG6k/nuk1bBv5W87Rn4rnVyY7tzd6ZctGNFR/2wEKzMEr5NbMx
+FJFWdKxFdToJjxKnEt19BCFru2pkY7Ly+Y1vIop8QHzI1neXw3bAxX4y994Mnc6V
+ZNeEXKptZI7i5caOkwdYm2D9hWS/n5Lbh2o92G3gvl3TBQdIfW6Ietf1PgRLWZXK
+0h4dnMsMhcSoXoXY5TmV1r4XXLawpyjY8FLddGy8G6+9LOC3dPL52Q0/ltDrvpS5
+cyrCd50DsGVFlXploWLg7HcUU7i3hHhEf5mAtwPtz3UjNdjF8rbDvB+qdfaHN5Fg
+Q0fzbdHcNknrmrtBFopLRSPGoUGBv4GcL3VFgjRO9mMUiaZNF6LUm8qKwnZsE0HX
++Oj+Z+86Zemy6FYlnDIjgK6cptuYvbswDGFkINcHRF27NqpFnPNYBjzqNgp+mG0Z
+LkNfNJ2VJflaQQYICQm6
+=g27+
-----END PGP SIGNATURE-----
diff --git a/sys-apps/util-linux/util-linux-2.26.2.ebuild b/sys-apps/util-linux/util-linux-2.26.2.ebuild
new file mode 100644
index 000000000000..6fea753903ff
--- /dev/null
+++ b/sys-apps/util-linux/util-linux-2.26.2.ebuild
@@ -0,0 +1,179 @@
+# Copyright 1999-2015 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.26.2.ebuild,v 1.1 2015/05/04 03:52:12 vapier Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 python3_{3,4} )
+
+inherit eutils toolchain-funcs libtool flag-o-matic bash-completion-r1 \
+ python-single-r1 multilib-minimal systemd
+
+MY_PV=${PV/_/-}
+MY_P=${PN}-${MY_PV}
+
+if [[ ${PV} == 9999 ]] ; then
+ inherit git-2 autotools
+ EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
+else
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+ SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz"
+fi
+
+DESCRIPTION="Various useful Linux utilities"
+HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
+
+LICENSE="GPL-2 LGPL-2.1 BSD-4 MIT public-domain"
+SLOT="0"
+IUSE="caps +cramfs fdformat ncurses nls pam python selinux slang static-libs +suid systemd test tty-helpers udev unicode"
+
+RDEPEND="!sys-process/schedutils
+ !sys-apps/setarch
+ !<sys-apps/sysvinit-2.88-r7
+ !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 )
+ pam? ( sys-libs/pam )
+ python? ( ${PYTHON_DEPS} )
+ selinux? ( >=sys-libs/libselinux-2.2.2-r4[${MULTILIB_USEDEP}] )
+ slang? ( sys-libs/slang )
+ systemd? ( sys-apps/systemd )
+ udev? ( virtual/libudev )
+ abi_x86_32? (
+ !<=app-emulation/emul-linux-x86-baselibs-20140406-r2
+ !app-emulation/emul-linux-x86-baselibs[-abi_x86_32]
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+ test? ( sys-devel/bc )
+ virtual/os-headers"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.25-parallel-setarch.patch #511812
+ 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.${ABI}.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.${ABI}.c -o /dev/null >/dev/null 2>&1 \
+ || export ac_cv_func_fallocate=no
+ rm -f "${T}"/fallocate.${ABI}.c
+}
+
+multilib_src_configure() {
+ lfs_fallocate_test
+ export ac_cv_header_security_pam_misc_h=$(multilib_native_usex pam) #485486
+ export ac_cv_header_security_pam_appl_h=$(multilib_native_usex pam) #545042
+ # We manually set --libdir to the default since on prefix, econf will set it to
+ # a value which the configure script does not recognize. This makes it set the
+ # usrlib_execdir to a bad value. bug #518898#c2, fixed upstream for >2.25
+ ECONF_SOURCE=${S} \
+ econf \
+ --enable-fs-paths-extra="${EPREFIX}/usr/sbin:${EPREFIX}/bin:${EPREFIX}/usr/bin" \
+ --libdir='${prefix}/'"$(get_libdir)" \
+ --docdir='${datarootdir}'/doc/${PF} \
+ $(multilib_native_use_enable nls) \
+ --enable-agetty \
+ --with-bashcompletiondir="$(get_bashcompdir)" \
+ --enable-bash-completion \
+ $(multilib_native_use_enable caps setpriv) \
+ --disable-chfn-chsh \
+ $(multilib_native_use_enable cramfs) \
+ $(multilib_native_use_enable fdformat) \
+ --with-ncurses=$(multilib_native_usex ncurses $(usex unicode auto yes) no) \
+ --disable-kill \
+ --disable-login \
+ $(multilib_native_use_enable tty-helpers mesg) \
+ --disable-nologin \
+ --enable-partx \
+ $(multilib_native_use_with python) \
+ --enable-raw \
+ --enable-rename \
+ --disable-reset \
+ --enable-schedutils \
+ --disable-su \
+ $(multilib_native_use_enable tty-helpers wall) \
+ $(multilib_native_use_enable tty-helpers write) \
+ $(multilib_native_use_enable suid makeinstall-chown) \
+ $(multilib_native_use_enable suid makeinstall-setuid) \
+ $(use_with selinux) \
+ $(multilib_native_use_with slang) \
+ $(use_enable static-libs static) \
+ $(multilib_native_use_with systemd) \
+ --with-systemdsystemunitdir=$(multilib_native_usex systemd "$(systemd_get_unitdir)" "no") \
+ $(multilib_native_use_with udev) \
+ $(tc-has-tls || echo --disable-tls)
+}
+
+multilib_src_compile() {
+ if multilib_is_native_abi; then
+ default
+ else
+ # build libraries only
+ emake -f Makefile -f - mylibs \
+ <<< 'mylibs: $(usrlib_exec_LTLIBRARIES) $(pkgconfig_DATA)'
+ fi
+}
+
+multilib_src_test() {
+ multilib_is_native_abi && emake check
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi; then
+ default
+ else
+ emake DESTDIR="${D}" install-usrlib_execLTLIBRARIES \
+ install-pkgconfigDATA install-uuidincHEADERS \
+ install-nodist_blkidincHEADERS install-nodist_mountincHEADERS \
+ install-nodist_smartcolsincHEADERS install-nodist_fdiskincHEADERS
+ fi
+
+ if multilib_is_native_abi; then
+ # need the libs in /
+ gen_usr_ldscript -a blkid mount smartcols uuid
+
+ use python && python_optimize
+ fi
+}
+
+multilib_src_install_all() {
+ dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt,releases/*}
+
+ # e2fsprogs-libs didnt install .la files, and .pc work fine
+ prune_libtool_files
+}
+
+pkg_postinst() {
+ if ! use tty-helpers; then
+ elog "The mesg/wall/write tools have been disabled due to USE=-tty-helpers."
+ fi
+
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ elog "The agetty util now clears the terminal by default. You"
+ elog "might want to add --noclear to your /etc/inittab lines."
+ fi
+}