diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-08-18 05:52:58 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-08-18 05:52:58 +0000 |
commit | 42a0ae808faa08b64c9fce38fc7cf3665803afe8 (patch) | |
tree | f44e29092efe27d7e06fdb0b4beaf606ad405b13 /sys-libs/uclibc | |
parent | Fix network connect bug (as seen with .tel domains) #276751 by DEMAINE Benoî... (diff) | |
download | historical-42a0ae808faa08b64c9fce38fc7cf3665803afe8.tar.gz historical-42a0ae808faa08b64c9fce38fc7cf3665803afe8.tar.bz2 historical-42a0ae808faa08b64c9fce38fc7cf3665803afe8.zip |
Add posix_madvise support from upstream #427798 by James Le Cuirot.
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'sys-libs/uclibc')
-rw-r--r-- | sys-libs/uclibc/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/uclibc/Manifest | 78 | ||||
-rw-r--r-- | sys-libs/uclibc/uclibc-0.9.33.2-r2.ebuild | 372 |
3 files changed, 418 insertions, 39 deletions
diff --git a/sys-libs/uclibc/ChangeLog b/sys-libs/uclibc/ChangeLog index 6d993283162c..b8974a631a96 100644 --- a/sys-libs/uclibc/ChangeLog +++ b/sys-libs/uclibc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/uclibc # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/ChangeLog,v 1.68 2012/07/05 04:13:20 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/ChangeLog,v 1.69 2012/08/18 05:52:58 vapier Exp $ + +*uclibc-0.9.33.2-r2 (18 Aug 2012) + + 18 Aug 2012; Mike Frysinger <vapier@gentoo.org> +uclibc-0.9.33.2-r2.ebuild: + Add posix_madvise support from upstream #427798 by James Le Cuirot. *uclibc-0.9.33.2-r1 (05 Jul 2012) diff --git a/sys-libs/uclibc/Manifest b/sys-libs/uclibc/Manifest index 040cef0ff83b..8439121e411a 100644 --- a/sys-libs/uclibc/Manifest +++ b/sys-libs/uclibc/Manifest @@ -1,44 +1,46 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA256 -DIST uClibc-0.9.28.3-patches-1.9.tar.bz2 37861 RMD160 c53f7cbca1170d2522875e99f5135aee8c4fba63 SHA1 b29c580b6a09425e07354e4d637f2df9901dc6fb SHA256 855542aa752b4c6413af33ece03816f70214bf7fdbe36f2f043d057bb2635d68 -DIST uClibc-0.9.28.3.tar.bz2 1795383 RMD160 61591281f4193d4dcd0fa3252fb3286028d4cb63 SHA1 77c5220697a1772d0d9da4bda0d866e4f4b68540 SHA256 1d86d5dad6060e7057cfe023ffc7b7661bdc7fe95112b37447851c0a75b547a1 -DIST uClibc-0.9.30-patches-1.0.tar.bz2 7017 RMD160 548b43fc8f3d3637eccef5c5df13b84380ec8631 SHA1 bfb64d3bdc0d067e78b050fe899021849a47f091 SHA256 e8f36766c8b6cb37bab69af09e7ff2c5108719c74b83fc145893198b87f8e73e -DIST uClibc-0.9.30.1-patches-1.0.tar.bz2 5501 RMD160 d2c48023fb25af45512c65ce3c5e936b5b24efe1 SHA1 bd34516c1bc71c45c5f1d078b91f323469760228 SHA256 022637d107fedd52bdd8187566e6e6378813a19f4ef8bf723a713e8d9cd8cd05 -DIST uClibc-0.9.30.1.tar.bz2 2285137 RMD160 bff9a232b1f1c73efd71247e7b91aa31d41af0ee SHA1 4b36fec9a0dacbd6fe0fd2cdb7836aaf8b7f4992 SHA256 2d9769a02c46cff73f56a076268192da1ce91c913e2e4e31c120be098f704c8c -DIST uClibc-0.9.30.tar.bz2 2291882 RMD160 08270ef742a2167ae660c5440bc5f78775a10ab0 SHA1 e96665237968fb2e4aa027bde9d56c4fe599eb1b SHA256 67e7e6b983cd2caa163f177d5196282434ae1e18b7270495cd6c65f5c1549555 -DIST uClibc-0.9.33.1-patches-1.tar.bz2 2406 RMD160 1bc437f26786ef622ce6463ee38823486d02b6fb SHA1 19041d0c7f78206080d6a3c23b3811c497949d79 SHA256 2258cb1a52299d08af33de391003e5fc36f035c8b00a746b9fdfe8c0ca02c2bc -DIST uClibc-0.9.33.1-patches-2.tar.bz2 5640 RMD160 6bc26fbb57ae71e71e4c31463a31ce6fa9a13f1a SHA1 9f048c40b2256098f006f2858d18f02b4d016a9c SHA256 a441d40de4ee4a763e39c7ec39633241f880295a19b1b20e0b22b887b3efb228 -DIST uClibc-0.9.33.1.tar.bz2 2830006 RMD160 ab51fa11c1a1eece7dc70d307d63b9e0bf5c601c SHA1 8360891d368726a8c6d9ac3e1431c73bb8e99b0b SHA256 33df86ec088ec19784e10fb954950677ddee63c06f0edccd4ade1a7971a9d137 -DIST uClibc-0.9.33.2-patches-1.tar.bz2 2351 RMD160 a069c2f917615674388476947cfbe822ba444edb SHA1 263e93d8f82a60ba071e274200dd1ee4e932f10e SHA256 f85756b12ce5f20747f7900b30016bc4c391e0b6977cf6ecfe35891da0f851d8 -DIST uClibc-0.9.33.2-patches-2.tar.bz2 2854 RMD160 833d2f4d1424704d92259ef2da5d1d77cafa8624 SHA1 386ddbc08ef0f066dcb4383c4db83f8460acefa8 SHA256 a43192a582ad5428daaceec23aaf096ac037a723eb79724aa716f3850674fecd -DIST uClibc-0.9.33.2.tar.bz2 2834029 RMD160 842e5eba2790603a6e241bbd4a5859e35fb602b8 SHA1 4d8d67d6754409bd10015d67d1ce7a04c0b001ba SHA256 988d2c777e0605fe253d12157f71ec68f25d1bb8428725d2b7460bf9977e1662 -DIST uClibc-locale-030818.tgz 236073 RMD160 8e3f4b20b94e07e535cbbbe81287186014c5f151 SHA1 78f901e6ed228ed84106bd034c1b97eee1eecb50 SHA256 c4362be318a38f18d98dccf462d22d95bab92f05548bb93f65298fe9afaebd57 -EBUILD uclibc-0.9.28.3-r8.ebuild 14630 RMD160 f09d2247239cee060af6185e8ecffca82efec3dd SHA1 1fb9de93e3a59875fe3bf61788641fd00b30b0f8 SHA256 27a5827a295d4b02c34136abcc8a41793d33c9dba849d5050a416760eb9cc8b0 -EBUILD uclibc-0.9.30.1-r1.ebuild 11524 RMD160 8890d56bac3eb7a552bcfbe4719c3999bafd969d SHA1 c3ef51ba960581eb5c0213baa9ec3bc41f215d6c SHA256 f798e14bac03f42cd867df18c76b6430bd64f1d9c38265de2145a451899da793 -EBUILD uclibc-0.9.30.1.ebuild 11352 RMD160 23df522f9fb1b22a136a81e966168cf993d12b3d SHA1 d7dd19f8801a4dfd0ea98e3bac55ffda976ac23d SHA256 cde3cb7dbe676f8724e072611496e6a02cda86d641f926a30d2a89afa5dd3190 -EBUILD uclibc-0.9.30.ebuild 13759 RMD160 285b4924ccecf62170b3d679b2e4be31a1225be4 SHA1 3c0e9eb2f44b1f6129c5056328de93397b818bcf SHA256 878f2b1a77e3de34f05949ad9d605b39971011e032010fddf68a8c06a7e1f3ea -EBUILD uclibc-0.9.33.1-r1.ebuild 10638 RMD160 4421ee4794536f1db1f7f05badbec4262b58a8da SHA1 e45218ccbb71f74bee401ea9542e697aa542420d SHA256 3dd5ada253e15765973bafc55b9af445e985f9abf5315210ca9ef960c979edd8 -EBUILD uclibc-0.9.33.1.ebuild 10612 RMD160 c24371364b6be330dce159c81e026af1d325b68e SHA1 2b47f4962b5278f57fc271507155a0d9f741f442 SHA256 f175807254cff8e8e91fb0173d3d965f3eee27458e3917c042b085cf7ef7c236 -EBUILD uclibc-0.9.33.2-r1.ebuild 10638 RMD160 bbefb30822becca88a83c6b3f484caa61fc373c5 SHA1 e102f060ea6bb5625952051ad8749d38b678539a SHA256 b3c450389a1c396563382e8061fa206baef9acece2cc709a9acc73a03c090217 -EBUILD uclibc-0.9.33.2.ebuild 10630 RMD160 0f9a864a6e23c856b003ce74ce8f18d7257f24c9 SHA1 49d4a3ef777735301754e9c89c91eeaeb28d89fe SHA256 db49c741a424d2433ec3978184c979b2a9fcb903f83eeb110adcec76940b342e -EBUILD uclibc-9999.ebuild 10630 RMD160 71e355a49727b807c39d8c002c21bd63fbb662be SHA1 9c04d623ae9a084dd5f7f4f282d7cdf713d9a381 SHA256 1cec3d6d45c9f727a958f4d8216b8b82897f9a3af6bc5ce3d32cc7aa7947c6b0 -MISC ChangeLog 20226 RMD160 00e96c1e554da8e2037a6ddeb1a1e0e14dbe4dd8 SHA1 4bfdaa573d6a25a5b76fffbc8c597289e4fbcd4f SHA256 85fc7bb8532ed113af9dc6fbe7d52ec09420f9cedb80d7e839b4948241d5734f -MISC metadata.xml 1435 RMD160 c1c094bb21b394fcbe9700d82a0c53b6fbfecb7b SHA1 cd0fb903aff700a6c15c685c7457429025e6d08d SHA256 cd15ca4d65ec270c128fb37bd2c489b6e83c566203028cc8ecf9a90bea9c071d +DIST uClibc-0.9.28.3-patches-1.9.tar.bz2 37861 SHA256 855542aa752b4c6413af33ece03816f70214bf7fdbe36f2f043d057bb2635d68 +DIST uClibc-0.9.28.3.tar.bz2 1795383 SHA256 1d86d5dad6060e7057cfe023ffc7b7661bdc7fe95112b37447851c0a75b547a1 +DIST uClibc-0.9.30-patches-1.0.tar.bz2 7017 SHA256 e8f36766c8b6cb37bab69af09e7ff2c5108719c74b83fc145893198b87f8e73e +DIST uClibc-0.9.30.1-patches-1.0.tar.bz2 5501 SHA256 022637d107fedd52bdd8187566e6e6378813a19f4ef8bf723a713e8d9cd8cd05 +DIST uClibc-0.9.30.1.tar.bz2 2285137 SHA256 2d9769a02c46cff73f56a076268192da1ce91c913e2e4e31c120be098f704c8c +DIST uClibc-0.9.30.tar.bz2 2291882 SHA256 67e7e6b983cd2caa163f177d5196282434ae1e18b7270495cd6c65f5c1549555 +DIST uClibc-0.9.33.1-patches-1.tar.bz2 2406 SHA256 2258cb1a52299d08af33de391003e5fc36f035c8b00a746b9fdfe8c0ca02c2bc SHA512 57973841fc9576d884f9cffc0e613023eb402af86005e35c06df10749881313600c9f8683dcce2bfc3ebd202029360dbfc2757ac951a34055d04bdbaf9822972 WHIRLPOOL 5ec22d176739b73dc828eda663a86edff1deb76eda973453c4868c270ded9e3a3340d3732923e45cb445a5288ffea72c016a1a4897d7bff720dd2bd6453da94b +DIST uClibc-0.9.33.1-patches-2.tar.bz2 5640 SHA256 a441d40de4ee4a763e39c7ec39633241f880295a19b1b20e0b22b887b3efb228 SHA512 87890d701421245af19d606fcfdadf374455c56ef82f6062856e9cd98300e170e202235744d91e9cba4b62379b2684d7309ba1fb78b71495412c77155ec9ad6e WHIRLPOOL efab33aa24a27f120ee6aeab1b3c5ef467983976ca00e869fd005406fafbcfe900dc422d769ba50c715bb01195740bf8d8e9ec3939b1d483b377b0b89113c16c +DIST uClibc-0.9.33.1.tar.bz2 2830006 SHA256 33df86ec088ec19784e10fb954950677ddee63c06f0edccd4ade1a7971a9d137 SHA512 4c11215e644ed5e6238792c9e2c38aa4fd59c6009846e0e5f849cf14e1b058393e476e3367b6860ccb693c0060be6e4a42f9e91ed08e83878a0094c5b7e006f8 WHIRLPOOL 9943d139c5b9169c6c4a54d646eea910a488db49bb42e912952e07b8ef54fb13de718388c54e7e8176100820df3654859481b287bda8f9ef6871e8119ec18913 +DIST uClibc-0.9.33.2-patches-1.tar.bz2 2351 SHA256 f85756b12ce5f20747f7900b30016bc4c391e0b6977cf6ecfe35891da0f851d8 SHA512 a3f49eb0732c96ab241bd7cbca281418760f78d19e98ccc94a9cf7a54428e12884e90f1240cd0368e9d2f1f74ea9f332a4987496395176503d667abfa59b221a WHIRLPOOL de7ce039d8710b32ae5a189b173e339abdf1636868f021fc26ce77e2db984864813072eb6f033de4d1b41d0df075d426a242299edad62a2ca02045cc587ded69 +DIST uClibc-0.9.33.2-patches-2.tar.bz2 2854 SHA256 a43192a582ad5428daaceec23aaf096ac037a723eb79724aa716f3850674fecd SHA512 f7ef2bc1a2498e2215828c52003a4ddc4ebe79dd43def367398fad7895c5e5ce9ae4ce68e51141193ef7d47d0727ed477c7b00fbb95b47cd6f251aacbd15048c WHIRLPOOL 80bd9de5b4c5eb671a462a094cd016d0931885ca4604a489017cc36ae5d960a5f08cb72185011d796d5bf9c4809ed2331416ca9b0dae00991ac1e998fc31f7c9 +DIST uClibc-0.9.33.2-patches-3.tar.bz2 4002 SHA256 2c06d1f80c8b7e5b0ef60571720273e2ccc55551a3dacc9ed5f7c04e9eda7018 SHA512 935dded858fbd4ce7317bdd1c097f26d8752bd241c12c9b1420e621bb80e59d8f74f84a8ae4df86bb07a03b2354e6c8ce4ba980aaa6d9be63c5e518da393db52 WHIRLPOOL d72989fbc7c700191b5703591bff4ff39ba6a3bb9c230cefb11c21cb2cd5f3f25bd52e8f6783bc651bd273d15146246491923bb1c357ce117da496910acefe6e +DIST uClibc-0.9.33.2.tar.bz2 2834029 SHA256 988d2c777e0605fe253d12157f71ec68f25d1bb8428725d2b7460bf9977e1662 SHA512 1cf18fe5418e12ae12ce995d7455d465bc4737f225afc49512ec69858771e099bead7b18408b01c7e6f845dcc80c3b4f875332eeffdcc04ae4b48474fb29a8dd WHIRLPOOL e2ca16c179893a58228e701ddf8b5614cb6b3fe2eaa6e2a9b909a27f78a348723fa7ec99f7b437ce35d9ac0870e3e2ec4e4d46834ca6b3cbc3d8fa5306b57fb4 +DIST uClibc-locale-030818.tgz 236073 SHA256 c4362be318a38f18d98dccf462d22d95bab92f05548bb93f65298fe9afaebd57 +EBUILD uclibc-0.9.28.3-r8.ebuild 14630 SHA256 27a5827a295d4b02c34136abcc8a41793d33c9dba849d5050a416760eb9cc8b0 SHA512 bdd97456ff19eb03f47245f8a971deebefb11d3808f15382422d39a437cc7f2881bf799f04baffe5a302ec35b406030bc4c5d79d7e6a5c68de38ebe12dd47f20 WHIRLPOOL 18e5a59ddb7e980affb2e3b84c23109a9744072b5ec525d86bc71ceea057aa19a2340ff23314ccfd56e63fde25d83d0acada8649431b417aaf62851187fa4eb0 +EBUILD uclibc-0.9.30.1-r1.ebuild 11524 SHA256 f798e14bac03f42cd867df18c76b6430bd64f1d9c38265de2145a451899da793 SHA512 83bf88ccd141659e3862fdb8e0e7672622619b8a07cec0d006a9e32b65d8db38ac37810758fd7f4ed10dc33921c0c353dd385e933c3806efc729f3caaba23087 WHIRLPOOL 8138b219e4a7ba60d31fd7a60f40f3700bbcbff983436f9ec424cdd7e22352d64c7f281674877eea1f03867bf4a3e642a56f1da02058b62e02d7d9fcbc40006e +EBUILD uclibc-0.9.30.1.ebuild 11352 SHA256 cde3cb7dbe676f8724e072611496e6a02cda86d641f926a30d2a89afa5dd3190 SHA512 c9488ad510138d33f06ce35f21b540c9ba450d46e94f407f80c94ade106928e6c4e28a69d49d9fe0edfde5a735e7c55e2126ff221291803950c2fb104b891efb WHIRLPOOL 3c633ffcc2bd956f22a619dd8ae6cc96d865e2a654e025b00ea0852f3f9ef4baa0e69fa8899d22f054fb98409308e95a8953f74a70de50b29fc5fbbf5d751c90 +EBUILD uclibc-0.9.30.ebuild 13759 SHA256 878f2b1a77e3de34f05949ad9d605b39971011e032010fddf68a8c06a7e1f3ea SHA512 f91756a1833064fe6f278a7a91f1dffd3f4a4f962827750eef3299f7412c0825dc36a01a1506a2eada4ddb81d5fc231f83d5bc1199b2ea13b998a837562900ca WHIRLPOOL 8246b6ac91323c7273aba14227efd3ed72088786878453705f40e0100ede9a56a737b217262e5ed387d5a815afeced251f4cd5f82026a249173d2234c4b50ade +EBUILD uclibc-0.9.33.1-r1.ebuild 10638 SHA256 3dd5ada253e15765973bafc55b9af445e985f9abf5315210ca9ef960c979edd8 SHA512 d1e35aa06f9ce30007cc51a66bc37b6a017bd6e63fbec5fe8f6ff5bb337c3aa91960bdfcc58d451532c66baed57cf2e0b48ba1eef320e75a098940ae6bbe403d WHIRLPOOL 0b98a4b793f080a33594fa67106f33136e22f4a1dfdda1e411d7a62f6b3dbcc34d12a9a8a643f7874551553047647202472aa632c6b8ab902914facc820b2b28 +EBUILD uclibc-0.9.33.1.ebuild 10612 SHA256 f175807254cff8e8e91fb0173d3d965f3eee27458e3917c042b085cf7ef7c236 SHA512 92af9117e0aee925ccc61ecb61d0c77aff60eb4a818c7e98ee96801ab7dfcf212d60c6e77ec8716dc9e24564ee1bab9534bb02a0b4c3d3746745cca4b3dd8ca2 WHIRLPOOL d469013f04cff6cf6ec54813ae7825f3f1fc5c12a427dd1d496c567820cabf525771dd1b60a1f5e070d7884b63066303486727ef00212bd1bba484310cb28343 +EBUILD uclibc-0.9.33.2-r1.ebuild 10638 SHA256 b3c450389a1c396563382e8061fa206baef9acece2cc709a9acc73a03c090217 SHA512 915b875e34f14af9be8a6f682d9d502f99c9fcd6fcec21bbb01089aa8df9c974b7bd833a3f80ac413bf79c231658692cf9a04dcdced4ef1f5d47475e2716c8ff WHIRLPOOL 63cc2fd711fe328d447aead14cf404345ca9ffed306ef474b363d7bd59dcb8f44d31fb1d95964b220c1f082e4a60aba9e3bc87c349856a9833966b4182145fa8 +EBUILD uclibc-0.9.33.2-r2.ebuild 10638 SHA256 fc166ab3fc653f5eaadf7c665c595c8aaa09bd39270300e54fda6abd83745d3a SHA512 c52d15a3fb79a1bde6c158fcbd658064dea2a7e201e880f5936d999496e2dee1e6a0175803246606e1ddaae0c3ebcc50d75a0baf82283a947c51ded69e728d4a WHIRLPOOL 177ec0c1e64505673feac8b5655ddbc6e901529bd223bad1c6275b785935eee324a3779bcee72d56844697234aedf30cdaeaf2181a86ff65bc20c580fe2bfe31 +EBUILD uclibc-0.9.33.2.ebuild 10630 SHA256 db49c741a424d2433ec3978184c979b2a9fcb903f83eeb110adcec76940b342e SHA512 75e974586c57662f2f39d6a80a1162ec611b31b4dfa881a2ab2094f6b35c6b9375c98a53c957580395b4754cc8c27b4a53737b6d9a0f099ab4a3c45ae1169125 WHIRLPOOL 9f8f01465c556c372d926e701abef49770c1772b40ad83325439343d22561a4b1f4cf6c9bcdba78815f2e8af11d3455deee3dd81225c54b83de3dd132e2462c9 +EBUILD uclibc-9999.ebuild 10630 SHA256 1cec3d6d45c9f727a958f4d8216b8b82897f9a3af6bc5ce3d32cc7aa7947c6b0 SHA512 f9f11a885676b93afa93bdc1d90ddf393a5ed6f107422a5d32a483bbd4730edfa15e4e6dcd2218a30319b6fdad2c4018389415077022d217b759b83a4f251a40 WHIRLPOOL 2ad36293a2ed90f35f42511d0cd768c2e8859aea650a6fe947098ee3787be7aa4fdb231c967cbdcc735ff6bf5d03a9983eb29f03ece70c9bf01de26544c894da +MISC ChangeLog 20410 SHA256 053c34b974c4da6d81855db7bce5db389a39da94fe70877db0ea3dcecf66ee86 SHA512 ec7efc419d24dee6c22dba93a897f5e0c93675d0ab26e216abc7295dc0928f0cbc155e55cfa2ca8d110982ef3191711764ad7248ed33af63c686aafd5916b367 WHIRLPOOL fede5fad022df70d4acc1432653977e96b0884a30526b70057fd32a09d14aac5f6e45cd4e2910ea76a90eb6aba8809b344e2a2e0552e64b5496086031641da5b +MISC metadata.xml 1435 SHA256 cd15ca4d65ec270c128fb37bd2c489b6e83c566203028cc8ecf9a90bea9c071d SHA512 84b5c8b1afe189587178d7736c3fca20b8079cf5ab666d524962e104a0a531de3fe39bdb2d3b69e4a77c322b8392fe7df292ea50ff89d80f99201aef1a12bc2b WHIRLPOOL 1e93f7bf529709eea2a8dfa81737bff41d22bd8af35ed562f06479f337b53ddc7aedd362c91f8361016c462edb5e8007586a7fde7f960fd4b7b88eff02c42e81 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBAgAGBQJP9RRxAAoJELEHsLL7fEFWBvAP/RbDUagiVKmA8O1tzh5sSon4 -6LhIdiVGFkFzGkIbsG3icyGoRwFaQ0Y2OsZRBlIjZJpSdC5G08HmB5lSK/+YDNi4 -tb/VfQ27JSlVXIUBmGSjzcPhn91ZJXglR7orWD52aus75h+pzTJtyMgc0JM9xwhc -PfhDOBp72fDgUQGgogBuOIR9/OJ5TfZVvRq/Xq0pg1soD3qJjddlLACz2VuPW7+h -FTy1Mz02A2+2g/pAlPI96SxyzGR+am+BAco/puPqJApZ/yrfcELC9B1Dx/MNUjZ3 -7vWNyCkmJMdEd6EtZPwKtK7DWc7TKoyRivqq8qAXTcrYjhQCUhUfD338X1C/qX57 -JTi7yHh9/YXtYmu07ToU3+teUt2eU2q4TaCXkkSN3EJasO9B43wobemlglbgx+tL -UKLA3c1UM3AE3GVv35p7w3PWPdbAIHeKDKE0ogtpCRaI6heIhCYFLDDUAI8Vevlh -iTZvLhBdDprw+HpQ+x88/a66j2lLzalbWc1HD0Y2M7ug8BRmgVS3l/2M8hE/DATt -6II1tefmvHrHkBAzM+Qzds9sD8mvt8q4PXTyWWkKJ29ED0000UNM1IXSBSK3yR21 -wS32xhiiRlONeWn7KlEpOsl3VLA6OSzytLWN7AgEnA33zjgZK120kYI/PTPSXrS/ -kknzzjfzmH7licFL/Dj5 -=N/we +iQIcBAEBCAAGBQJQLy3EAAoJELEHsLL7fEFWbeMP/0Mb7VWw1tC/gu8G7v/V19Jk +oWeQhIlkuVD9cspt6Cp0YUahobqt6oDUdJJAunrr43Q1XpBSq5YLUXJSStglATCM +rs4gwIKwX7SmvnnHK5P1mYSUNWeJ5TO4jPSoY10QBTMNfrj75idXJkl4UIYQRYby +M26KfzbUr30ImPbVbf1mktNdN8P4+nSRnRIyp6SFeWnoDD5gXRu2dsPmJ0cb+pES +DIf3zG7x0Y4uo9Zp5n98jvIUCT1123xDaSOkVi6/MLKL+PQ3Xy2ZsuFu6koYZfP6 +loqgl8GlAIwwKNX0adxIqLrdB/fys1WnPcM2yPjRN/SawHkiY8z2h8YWROGBYIx3 +Ww4bAgrzOTiMKvSxRctciIjwmMLI2qyDMZUsuxyacQ//ORfVXmmL2CvwiUUTnHV2 +aE1uBLiRACW1VC1THxpdxMKTdpOqdyY41GzGySheYBUpYM+UjnWboqVgR/uTo8Cz +XGYvgG0JJxbha/3O6TXZW/r96qm7QsXjTrBrWvIWOGK4MEmwV0Mska6f4IDroM+A +o2y0hQ87Y+bC6uAoAO6fAB40p8r/boBmTTBowNcy9XdbF9G5FHWSMJ7gPQPfG659 ++SDhyfJ8U8CFsdKTpJ+Rr4157G5bQqpi9hbCnO+fQqnmM/9tVUWutqOo5EUhXYFs +EPq4ZdEfgqDXPjVi6VDa +=7Y+0 -----END PGP SIGNATURE----- diff --git a/sys-libs/uclibc/uclibc-0.9.33.2-r2.ebuild b/sys-libs/uclibc/uclibc-0.9.33.2-r2.ebuild new file mode 100644 index 000000000000..de1234dbbe67 --- /dev/null +++ b/sys-libs/uclibc/uclibc-0.9.33.2-r2.ebuild @@ -0,0 +1,372 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.33.2-r2.ebuild,v 1.1 2012/08/18 05:52:58 vapier Exp $ + +inherit eutils flag-o-matic multilib toolchain-funcs savedconfig +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://git.busybox.net/uClibc" + inherit git-2 +fi + +export CBUILD=${CBUILD:-${CHOST}} +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then + export CTARGET=${CATEGORY/cross-} + fi +fi + +MY_P=uClibc-${PV} +DESCRIPTION="C library for developing embedded Linux systems" +HOMEPAGE="http://www.uclibc.org/" +if [[ ${PV} != "9999" ]] ; then + PATCH_VER="3" + SRC_URI="http://uclibc.org/downloads/${MY_P}.tar.bz2 + ${PATCH_VER:+mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.bz2}" + KEYWORDS="-* ~amd64 ~arm ~m68k ~mips ~ppc ~sh ~sparc ~x86" +fi + +LICENSE="LGPL-2" +SLOT="0" +IUSE="debug hardened iconv ipv6 nptl rpc ssp uclibc-compat wordexp crosscompile_opts_headers-only" +RESTRICT="strip" + +S=${WORKDIR}/${MY_P} + +is_crosscompile() { + [[ ${CHOST} != ${CTARGET} ]] +} +alt_build_kprefix() { + if [[ ${CBUILD} == ${CHOST} && ${CTARGET} == ${CHOST} ]] ; then + echo /usr/include + else + echo /usr/${CTARGET}/usr/include + fi +} + +just_headers() { + use crosscompile_opts_headers-only && is_crosscompile +} + +uclibc_endian() { + # XXX: this wont work for a toolchain which is bi-endian, but we + # dont have any such thing at the moment, so not a big deal + touch "${T}"/endian.s + $(tc-getAS ${CTARGET}) "${T}"/endian.s -o "${T}"/endian.o + case $(file "${T}"/endian.o) in + *" MSB "*) echo "BIG";; + *" LSB "*) echo "LITTLE";; + *) echo "NFC";; + esac + rm -f "${T}"/endian.{s,o} +} + +pkg_setup() { + if [ ${CTARGET} == ${CHOST} ] ; then + case ${CHOST} in + *-uclinux*|*-uclibc*) ;; + *) die "Use sys-devel/crossdev to build a uclibc toolchain" ;; + esac + fi +} + +# XXX: We should kill these off. +CPU_ALPHA="" +CPU_AMD64="" +CPU_ARM="GENERIC_ARM ARM{610,710,7TDMI,720T,920T,922T,926T,10T,1136JF_S,1176JZ{_,F_}S,_{SA110,SA1100,XSCALE,IWMMXT},_CORTEX_{M3,M1}}" +CPU_IA64="" +CPU_M68K="" +CPU_MIPS="MIPS_ISA_{1,2,3,4,MIPS{32{,R2},64}} MIPS_{N64,O32,N32}_ABI" +CPU_PPC="" +CPU_SH="SH{2,2A,3,4,5}" +CPU_SPARC="SPARC_V{7,8,9,9B}" +CPU_X86="GENERIC_386 {3,4,5,6}86 586MMX PENTIUM{II,III,4} K{6,7} ELAN CRUSOE WINCHIP{C6,2} CYRIXIII NEHEMIAH" +IUSE_UCLIBC_CPU="${CPU_ARM} ${CPU_MIPS} ${CPU_PPC} ${CPU_SH} ${CPU_SPARC} ${CPU_X86}" + +check_cpu_opts() { + local cpu_var="CPU_$(echo $(tc-arch) | tr [a-z] [A-Z])" + [[ -z ${!cpu_var} ]] && return 0 + + if [[ -z ${UCLIBC_CPU} ]] ; then + ewarn "You really should consider setting UCLIBC_CPU" + ewarn "Otherwise, the build will be generic (read: slow)." + ewarn "Available CPU options:" + UCLIBC_CPU=$(eval echo ${!cpu_var}) + echo ${UCLIBC_CPU} + case ${CTARGET} in + mips[1234]*) export UCLIBC_CPU="MIPS_ISA_${CTARGET:4:1}";; + sh[2345]*) export UCLIBC_CPU="SH${CTARGET:2:1}";; + i[456]86*) export UCLIBC_CPU="${CTARGET:1:1}86";; + *) export UCLIBC_CPU=${UCLIBC_CPU%% *};; + esac + else + local cpu found=0 + for cpu in $(eval echo ${!cpu_var}) ; do + [[ ${UCLIBC_CPU} == "${cpu}" ]] && found=1 && break + done + if [[ ${found} -eq 0 ]] ; then + ewarn "UCLIBC_CPU choice '${UCLIBC_CPU}' not supported" + ewarn "Valid choices:" + eval echo ${!cpu_var} + die "pick a supported cpu type" + fi + fi +} + +kconfig_q_opt() { + local flag=$1; shift + case ${flag} in + y|n) ;; + *) flag=$(usex ${flag} y n) ;; + esac + + local var="defs_${flag}" + eval "${var}+=( $* )" +} + +get_opt() { + ( + unset ${1} + . ${2:-"${S}"/.config} + echo ${!1} + ) +} + +src_oldconfig() { + yes "" 2>/dev/null | emake -s oldconfig >/dev/null +} +src_config() { + restore_config .config + if [ -f .config ]; then + src_oldconfig + return 0 + else + ewarn "Could not locate user configfile, so we will save a default one" + fi + + emake ARCH=${target} defconfig >/dev/null || die + + local defs_{y,n} defs + + defs=( + DO{DEBUG_PT,ASSERTS} + SUPPORT_LD_DEBUG_EARLY + UCLIBC_HAS_PROFILING + ) + kconfig_q_opt n "${defs[@]}" + kconfig_q_opt debug DODEBUG SUPPORT_LD_DEBUG + + sed -i -e '/ARCH_.*_ENDIAN/d' .config + kconfig_q_opt y "ARCH_WANTS_$(uclibc_endian)_ENDIAN" + + if [[ ${CTARGET} == arm* ]] ; then + kconfig_q_opt n CONFIG_ARM_OABI + kconfig_q_opt y CONFIG_ARM_EABI + fi + + defs=( + MALLOC_GLIBC_COMPAT + DO_C99_MATH + UCLIBC_HAS_{CTYPE_CHECKED,WCHAR,HEXADECIMAL_FLOATS,GLIBC_CUSTOM_PRINTF,FOPEN_EXCLUSIVE_MODE,GLIBC_CUSTOM_STREAMS,PRINTF_M_SPEC} + UCLIBC_HAS_FENV + UCLIBC_HAS_{N,}FTW + UCLIBC_HAS_GNU_GLOB + UCLIBC_HAS_LIBUTIL + UCLIBC_HAS_PROGRAM_INVOCATION_NAME + UCLIBC_HAS_RESOLVER_SUPPORT + UCLIBC_HAS_TZ_FILE_READ_MANY + UCLIBC_HAS_UTMPX + UCLIBC_SUSV3_LEGACY + UCLIBC_SUSV3_LEGACY_MACROS + UCLIBC_SUSV4_LEGACY + PTHREADS_DEBUG_SUPPORT + ) + kconfig_q_opt y "${defs[@]}" + kconfig_q_opt n UCLIBC_HAS_CTYPE_UNSAFE + kconfig_q_opt n UCLIBC_HAS_LOCALE + kconfig_q_opt n HAS_NO_THREADS + kconfig_q_opt ipv6 UCLIBC_HAS_IPV6 + kconfig_q_opt nptl UCLIBC_HAS_THREADS_NATIVE + kconfig_q_opt !nptl LINUXTHREADS_OLD + kconfig_q_opt rpc UCLIBC_HAS_{,{FULL,REENTRANT}_}RPC + kconfig_q_opt wordexp UCLIBC_HAS_WORDEXP + kconfig_q_opt uclibc-compat UCLIBC_HAS_LIB{NSL,RESOLV}_STUB COMPAT_ATEXIT + + # we need to do it independently of hardened to get ssp.c built into libc + kconfig_q_opt y UCLIBC_HAS_SSP + kconfig_q_opt n UCLIBC_HAS_SSP_COMPAT + kconfig_q_opt y UCLIBC_HAS_ARC4RANDOM + kconfig_q_opt n PROPOLICE_BLOCK_ABRT + kconfig_q_opt y PROPOLICE_BLOCK_SEGV + + # arm/mips do not emit PT_GNU_STACK, but if we enable this here + # it will be emitted as RWE, ppc has to be checked, x86 needs it + # this option should be used independently of hardened + if has $(tc-arch) x86 || has $(tc-arch) ppc ; then + kconfig_q_opt y UCLIBC_BUILD_NOEXECSTACK + else + kconfig_q_opt n UCLIBC_BUILD_NOEXECSTACK + fi + kconfig_q_opt y UCLIBC_BUILD_RELRO + kconfig_q_opt hardened UCLIBC_BUILD_PIE + kconfig_q_opt hardened UCLIBC_BUILD_NOW + kconfig_q_opt !ssp SSP_QUICK_CANARY + kconfig_q_opt ssp UCLIBC_BUILD_SSP + + local def + for def in 1 2 ; do + # Run twice as some config opts depend on others being enabled first. + for def in ${defs_y[@]} ; do + sed -i -e "s:.*\<${def}\>.*set:${def}=y:g" .config + done + for def in ${defs_n[@]} ; do + sed -i -e "s:${def}=y:# ${def} is not set:g" .config + done + src_oldconfig + done + + einfo "Enabled options:" + for def in ${defs_y[@]} ; do + einfo " " $(grep "^${def}=y" .config || echo "could not find ${def}") + done + einfo "Disabled options:" + for def in ${defs_n[@]} ; do + einfo " " $(grep "^# ${def} is not set" .config || echo "could not find ${def}") + done + + # setup build and run paths + sed -i \ + -e "/^CROSS_COMPILER_PREFIX/s:=.*:=\"${CTARGET}-\":" \ + -e "/^KERNEL_HEADERS/s:=.*:=\"$(alt_build_kprefix)\":" \ + -e "/^SHARED_LIB_LOADER_PREFIX/s:=.*:=\"/$(get_libdir)\":" \ + -e "/^DEVEL_PREFIX/s:=.*:=\"/usr\":" \ + -e "/^RUNTIME_PREFIX/s:=.*:=\"/\":" \ + -e "/^UCLIBC_EXTRA_CFLAGS/s:=.*:=\"${UCLIBC_EXTRA_CFLAGS}\":" \ + .config || die + + src_oldconfig +} + +src_unpack() { + if [[ ${PV} == "9999" ]] ; then + git-2_src_unpack + else + unpack ${A} + fi + cd "${S}" + if [[ -n ${PATCH_VER} ]] ; then + EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch + fi + + check_cpu_opts + + echo + einfo "Runtime Prefix: /" + einfo "Devel Prefix: /usr" + einfo "Kernel Prefix: $(alt_build_kprefix)" + einfo "CBUILD: ${CBUILD}" + einfo "CHOST: ${CHOST}" + einfo "CTARGET: ${CTARGET}" + einfo "CPU: ${UCLIBC_CPU:-default}" + einfo "ENDIAN: $(uclibc_endian)" + echo + + ########## CPU SELECTION ########## + + local target config_target + case $(tc-arch) in + alpha) target="alpha"; config_target="no cpu-specific options";; + amd64) target="x86_64"; config_target="no cpu-specific options";; + arm) target="arm"; config_target="GENERIC_ARM";; + avr) target="avr32"; config_target="no cpu-specific options";; + ia64) target="ia64"; config_target="no cpu-specific options";; + m68k) target="m68k"; config_target="no cpu-specific options";; + mips) target="mips"; config_target="MIPS_ISA_1";; + ppc) target="powerpc"; config_target="no cpu-specific options";; + sh) target="sh"; config_target="SH4";; + sparc) target="sparc"; config_target="no cpu-specific options";; + x86) target="i386"; config_target="GENERIC_386";; + *) die "$(tc-arch) lists no defaults :/";; + esac + sed -i -e "s:default CONFIG_${config_target}:default CONFIG_${UCLIBC_CPU:-${config_target}}:" \ + extra/Configs/Config.${target} + sed -i -e "s:^HOSTCC.*=.*:HOSTCC=$(tc-getBUILD_CC):" Rules.mak + + src_config + + if use iconv ; then + # Run after make clean, otherwise files removed + find ./extra/locale/charmaps -name "*.pairs" > extra/locale/codesets.txt + if [[ ! -f /etc/locale.gen ]] ; then + # See ./extra/locale/LOCALES for examples + die "Please create an appropriate /etc/locale.gen for locale support" + fi + echo -e "@euro e\n@cyrillic c\n#---\nUTF-8 yes\n8-BIT yes\n#---\n\n" > ./extra/locale/locales.txt + cat /etc/locale.gen >> ./extra/locale/locales.txt + fi +} + +src_compile() { + emake headers || die + just_headers && return 0 + + emake || die + if is_crosscompile ; then + emake -C utils hostutils || die + else + emake utils || die + fi +} + +src_test() { + is_crosscompile && return 0 + + # assert test fails on pax/grsec enabled kernels - normal + # vfork test fails in sandbox (both glibc/uclibc) + emake UCLIBC_ONLY=1 check || die +} + +src_install() { + local sysroot=${D} + is_crosscompile && sysroot+="/usr/${CTARGET}" + + local target="install" + just_headers && target="install_headers" + emake DESTDIR="${sysroot}" ${target} || die + + save_config .config + + # remove files coming from kernel-headers + rm -rf "${sysroot}"/usr/include/{linux,asm*} + + # Make sure we install the sys-include symlink so that when + # we build a 2nd stage cross-compiler, gcc finds the target + # system headers correctly. See gcc/doc/gccinstall.info + if is_crosscompile ; then + dosym usr/include /usr/${CTARGET}/sys-include + if ! just_headers && [[ -n $(get_opt HAVE_SHARED) ]] ; then + newbin utils/ldconfig.host ${CTARGET}-ldconfig || die + newbin utils/ldd.host ${CTARGET}-ldd || die + fi + return 0 + fi + + emake DESTDIR="${D}" install_utils || die + dobin extra/scripts/getent + dodoc Changelog* README TODO docs/*.txt DEDICATION.mjn3 +} + +pkg_postinst() { + is_crosscompile && return 0 + + if [ ! -e "${ROOT}"/etc/TZ ] ; then + ewarn "Please remember to set your timezone in /etc/TZ" + mkdir -p "${ROOT}"/etc + echo "UTC" > "${ROOT}"/etc/TZ + fi + [ "${ROOT}" != "/" ] && return 0 + # update cache before reloading init + ldconfig + # reload init ... + /sbin/telinit U 2>/dev/null +} |