Merge pull request #265 from oremj/fix_usr_symlinks

Fix ebuilds which conflict with symlink-usr.
This commit is contained in:
Michael Marineau 2013-11-27 10:43:07 -08:00
commit 156bf9d560
43 changed files with 5286 additions and 6 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,53 @@
DIST coreutils-8.10-patches-2.tar.xz 5436 SHA256 91e49b864042a644900cf9373d7a762679bd188daf28d4a1edb0a332ac2af4f7 SHA512 a8faa75ccf42291407aa0e47f77eccc546d408b930fff81e4892f46d618e7a8ceba3a8e588a475e47487f20b90bd7cd8993d068a825a06dc7f1fddeeaf9f1f28 WHIRLPOOL b77a6bd595f6262b9dacc17ad973e987eaed5b9723cddc4b70aceb13d88db7068c7d7f80ad3c608fe59f9530e41846f38dea37121df6df4c68a3f5d3acd2ed24
DIST coreutils-8.10.tar.xz 4753304 SHA256 8258785cbab6580f2e0376769a7b98ab3e1ddfca2d6f48e5490a51688d0bee83 SHA512 7d1c6253d56d2f11a8d87b422ecd51adc5cc87c5540c504d5699e91b7559726b4b17da167b378b62ef1db12d0f2b763b0fe1a24ae242b08b8ef5c23ab7061f70 WHIRLPOOL 6da303d275a0361c3dac052c3f2368670d904af4b16c11982d291b53e4333a65f5af5acb947bf1ad882a82b0ad1512bccb04bb662647bacdda10e9ac4cb7b266
DIST coreutils-8.11-patches-1.tar.xz 4492 SHA256 f9f8708830e235dcb748bf01e975a928d6ce7b4f82b51aa88c44ce9f93517332 SHA512 13add1505049631130c68e31258489482a21290cb0fc6801800ca6781c1d0de4a58d8e58c143c44526a4093dcd04596770f96a17d087097b050458c375e7de65 WHIRLPOOL e79080eb34602142b2064fade79a2b1d79b41a7fd09f9467786af7baef8395859106f7fb2bd3a4d26a101da6f47412bd767679f8c80c01bea894d80d77300f90
DIST coreutils-8.11.tar.xz 4841952 SHA256 9c03e0de95ac6ec65129eaf0b3605982a77d8fedaeca5b665ad44fe901695b3b SHA512 039984d196621c0022ee95e5d7f0239dacee634addf15f2557eab4d9c596387c225f34aa57322b5e44064b0a9733f79316cb0ad3133fdd6f3e28d48006ff36d9 WHIRLPOOL 13588c602e7474ac2f4f69c9edf22a545d77fc5547be6b415cc30b82bb180e48599de63a8e4a158a902ea8a55558fd62bd2b6f81d441b292787dbdd22faf99e8
DIST coreutils-8.12-patches-1.tar.xz 4496 SHA256 c3b9ba86277d46505c1d01734f00728725173af0ff87ecb746830cbf5691a964 SHA512 ff8b7b550f1239237605d1c5c6dbd651affdbb9d56c02902128bc7aea3434c3d8956621e50d0a48432bd2ebbf25a7d7c53dbb826078b8081407a667b7d70598b WHIRLPOOL 7c1f271c3533b114dab61e058e747aaee1d6a58541f8c5dd25a8a9e9b9930c235969825bd59060a366bb6b8ca85479ac35ca510e4a563456690625e202e16c15
DIST coreutils-8.12.tar.xz 4842776 SHA256 1e3c0182cdd0042871741d694ae1166dd90eb9f03a16c0aac0a9072a7aa92faf SHA512 0f8771546d1f109a2328d7573897fbc27579155542ad67cf4a0c35ee98036629f9c8dfbc71b2c7f9b87210d2a1b52e406fca4873d3f5fb788b928efcc4410ef1 WHIRLPOOL 88bb90870c8514340f367c911694de1e352555e553913e7fd57789400ad7c318283b221a26619050b6d37bf02512574a5572e388d57cdb83b9149307b7dac309
DIST coreutils-8.13-patches-1.tar.xz 4500 SHA256 1848233e87f24de18c85908409c4deccebf61acc91b72a5eba1e424801dcebfd SHA512 9458c992189b2d1f7c595f0104b286ba187fac92b30d8cf21438c5d2b7fc125595d85cdb980d1de79c973194c8d91e63ab5fb877cc12183fb30b4f9b1c2ec945 WHIRLPOOL 049303f042c7293acb6233f02546ef8946e642e11d4567b8737e52ec2c7557a4b5f9b86510264f6210b83b9cf3a7176476a84403d85f3c1e1aa15e93a25f4442
DIST coreutils-8.13.tar.xz 4913572 SHA256 0bfdbe3ae0cf06bf26bf5bb2bd3983acb8ab60649604cc0dbb08963c9d24ac1b SHA512 0474fbb390ec7b2a5c6fa2d6824b3acd2c21ee540b377c771acb4c80f5ca80a2899a7ad48e0937b10eafbe98e26ab5100a3ff2fe947fe8eac0a5e7c6909b1e8b WHIRLPOOL 82dd76a61f405617581196a77cc12d829a3dd01dd3dd3bb7a85e5708271abcfe58a8aca48b434d2065e3235a120f05217ad972bbece3fb19529583fc2af4a26b
DIST coreutils-8.14-patches-1.tar.xz 4496 SHA256 26407cd1ab0e6e36196986d394014a8c9532246bdceaca99ee95b147dc7ab2a5 SHA512 a9c25f130c0a39a3b4bd693b0d39baa4bc4b5be99435e7526683e4c75bf3b1deaf3984de421d8ebdc202cce77c9467bf89ebeae3a80438f39398f19be01c4b5e WHIRLPOOL 58fb5423e02d6e932bcfec5a70d6d84af0727987786e087eeaaeb45c19b6239079505465ddae54746f5e67f262e48b6af42e4d1dc83d6bc18fc1a4492abc726d
DIST coreutils-8.14.tar.xz 4957464 SHA256 0d120817c19292edb19e92ae6b8eac9020e03d51e0af9cb116cf82b65d18b02d SHA512 fb9e76829e1e9a336e34302b5bfc9275b525dce617ded9ec851b9bc29b24454e47012aa58b651a04f50187a7b91f20471378164663908309513cbefa0b38b489 WHIRLPOOL 96e05abc1ea012874ee1378a7fe0fd992cecba9691e969104301897cedce3a7f9e9771ff8ca334a92ca16c6c147ca78180375b0801d29c773e753a22c4de1aff
DIST coreutils-8.15-patches-1.tar.xz 4496 SHA256 b5902f6e4f27c263bb5686f68e5b05ed9c671a72e47d2f68bd27def2a356a4d1 SHA512 3116a69bd455e0f4db145b1a510cca3aef8e0d0f216c1f9b4ba01d3eadb8d1e6383ae94d9084937c053de04882a54d340f0e0d0f8ddeb7024727bc59d0d58a7d WHIRLPOOL 8d4500f4678858a9e0675bf409a5ae0350addd6a70ac3b7ccaf145bd47d6a3f08ca079ad980adb1c016a69f641253f22cc4b005db1536104058db68962a8fb3f
DIST coreutils-8.15.tar.xz 4943172 SHA256 837eb377414eae463fee17d0f77e6d76bed79b87bc97ef0c23887710107fd49c SHA512 5f146910ac96bdccea51cb019e45597fb8c9981ceaf1c3727f86600b436637009e25e87c4bcbf4f02f3236ffe56087ffe204749af6bb7b6b399bd3aa04c3b683 WHIRLPOOL 1c03cd2c69297b55146f2274c1f67f45ffb6d54f96bab4874251338f2c68b068847bc5d24d2adf77eb5e2d036180074ed638e6fc3e25f3390893672b4f0dc428
DIST coreutils-8.16-patches-1.tar.xz 4496 SHA256 2912855202866b0ee8fd30063859f50a8ee6bcbb5b8f252f8f994f78b80099b2 SHA512 dbe10ffd771170faeeb67d7ac0629601679a6af4a5b921a13b821a68c7b9c81e97eb89af07c90c2b371d02a5e92363a8158e5407db3e3f0d79be5d0e27ac0788 WHIRLPOOL 1a60e5da1bab7ff98cfa70c57911615253873c99f744889d20ba175315ee3d13f3f1dfe4884c9f371dea671aa41f6cdee2c9a8d61352fd3308a14ca80f7290cc
DIST coreutils-8.16.tar.xz 5042844 SHA256 2a458fead15d9336f46bb4304cc3eaa6ed9407b9130e7ee2ec533909881d2067 SHA512 f659032d84c6a873ee5a4be1a7ebdf20fd2b5e5a71fdbc77f320319966f8cbc723d591e03dd28ef2d92747bbae31971447c567a085ae84407a41b99e9a8a3ac1 WHIRLPOOL 9543d9d9984cdbb9aa16b9e067d484cd93f36fbb6f2eca8926bd974a03bb3bdfefbce52c8d221eb943b39a2a3a81991f542831dab432dc475914b79a793be442
DIST coreutils-8.17-patches-1.1.tar.xz 5244 SHA256 1cfa92fd968f31b2ff3f723294efa2cd25ebe96f775a83b464c00928d0fb17dd SHA512 fd3f74c701c2b70cb38d9683f377f6aaac84efca30bb11fcf3ccc41ac31336482177ae4e77409de048014ab679f5addfba34bcdcbc14fc6798912ece1528d2b9 WHIRLPOOL c95bd0754092812f27ad002ef6efa774c2eccb062923cc400ab65dd84d1b0ff6f5c8c4e603ef1e5f106009998654e19ae2f7358343493530d9ce05a14ec2112f
DIST coreutils-8.17.tar.xz 5077388 SHA256 4e075a0d238072a5bd079046e1f024dc5e0d9133d43a39c73d0b86b0d1e2c5e5 SHA512 1b8b8b8cc8641dbbea2fa922ed34af4c05a2fad657b7ac15f9b4493190ed21297639f9f25fd446126131f5b4dbd4ed7b5351880fda9079a5bd779186512be843 WHIRLPOOL c4a4c375091c401f9f19adb7fd68a9d1038602d67f925e5e089ad5b113b7aef4195e1970d1995d2ba440068f9cdd0205f23f69e14ad25ed0faf90f67e6613577
DIST coreutils-8.18-patches-1.2.tar.xz 4984 SHA256 4f6718e4d119818b96ae67de356e85500096f261cb98a4ae3236f34e5f74fab3 SHA512 1ad68966d9959c6987cec01fd7e6247ef156a1a540439395ec968ff3ec2f5558fcac1dc67e67420f613f3cd81e73d962d4e81289a4782729fa1ac6f43d994d65 WHIRLPOOL 8fd907ca1244b7b51375355ac6f2f47a52e8808a0ecb8e7863bf07907a307773576a4641197992680c8e12b99cd01f8721862aa7329d4ed1730ec837c39048cb
DIST coreutils-8.18.tar.xz 5184936 SHA256 11dc114374100ac6f56d4b66f588e51d3fe972855466a35a27de7ec67eb2143f SHA512 2bbea708141be4d6485b2a67806a7a1d2b819c71b8d2a0264af76fe43eb6588a858e16b790649d143c5bd3b7ce6c264d8bd05369052de74b62ff23f957fbb7f1 WHIRLPOOL 4cf61877d435523015f1c9e613593caff8d281d80fb7515893737afac3dee458984532805011d6f3527bea37c14dd2d1c65cf21af33c0f72680b4af6f79a0ce3
DIST coreutils-8.19-patches-1.1.tar.xz 4972 SHA256 05d8f750d2116ee34614fb1b35369d4c80bd78099a608c22e822461d3e47fce2 SHA512 d7ebde053591279eb6fdf8db04e98413c045d343f55974670f1f0e1d045073a7ce4ed9b2e3736727de487c37162635576ebbf99196db2358e48119e8a1a8a33e WHIRLPOOL f649fcdeccca1b6c0cff97dec7d993182898c3914f16605ac9fdcd0ec754c19e6dd427fb50ce06d4af26dfe89affa4ece69b3e8b4f3c3a292af79a07125af440
DIST coreutils-8.19.tar.xz 5097392 SHA256 ad3873183fd8cfc7672b3ba54644672e59352f9b2dc7e3ad251c1174dde8a9e7 SHA512 3b8fd55c707f840534eba6dfdffe76d2169b6c6747027a30a6e7600bb031a9ec5792b53f961611b8189409811d2f1f906f7e5e4bc25525fca8791b893eb67fe6 WHIRLPOOL c3e7117871459b9f2d03638c622d5025a3f7afe3be7f9082f8968f4ae226883e12c4bab7c9d126e64282fcd05c1c2e0d205719661c840deee95d32542d8f5386
DIST coreutils-8.20-patches-1.1.tar.xz 19504 SHA256 0a1a3cc578e8872ebc93113edd76d1f1d88fb4d6596a047cfbb6c5fd4e82c22d SHA512 258116ff52d1d28acbedd2383c8d0f488c272b297c4f146231ea45fb76902bb56c9fad2d74d50c22371e67a4178dcff7b65950fcc034f56fc02c3c2ff290224f WHIRLPOOL ae4436a6ae655affbc02ee2d3d6a87345dc7b63b67aaecf01e034d2e40237c6e76b00a909d852f6ea96e348ef43e8e3f6f4c5bdb01aaf6d30a1b51036cbfe31b
DIST coreutils-8.20-patches-1.2.tar.xz 20864 SHA256 a969b9178b12a9e4e82529d8e1d056b2e3eb1dd299e29e36f43961aa204c208c SHA512 e851eb79028aa6cd52f033df1a9897f053bfe860f5bd710e93f5b4e38026a717bcf85c4ccb8f7a1fd5898733cd4d16ae8180eff3359c886c901b2c65e2975a9e WHIRLPOOL 3369f67cc15d332605af1cc74919495a076c3563653d3c085e5df5aac4142920d8e956ae93abf05b1ee012b76fec843a0841924ad4580ddd79889a01ca76846b
DIST coreutils-8.20-patches-1.4.tar.xz 23776 SHA256 ae41d878c9b1e7be54cd9f707294584010d671bfbec4274d7e2b014c8be5f16a SHA512 4031c9cffd2cbc64c96379e849999f0e6c2dc3401f8aa121a736a55c9cf0986ec6a54b7610e5e429edcb208dfe5d74000d06761ad9742dd833b8530dcf603ab2 WHIRLPOOL b746ec6a37a50cbd3910aa6f32a492dd389547871cb9f5afb49f1560d74368fd705e0866d49801ed7c14426bcfcdd6679d67264de387f846acfdb29082cfb4cc
DIST coreutils-8.20.tar.xz 5273788 SHA256 dbcb798764827a0f74be738662ecb516705cf520330cd3d7b2640fdffa499eb2 SHA512 adbeab5af780ae70d2a98a81e96ad2cdfbcbc20153372b0085f6ac75ae9fadff82bd09b460400820057692b4145d7f2d276630b76b0ed509303587972ed175cd WHIRLPOOL 3cf911cf785c6e6acab4f37bc75805687f91fe74d5727782903d242669ee6b7ad444b18395d6808b1f2569703cca1992983d3bfef41f65ea461f6d0aa25908e2
DIST coreutils-8.5-patches-1.tar.lzma 4456 SHA256 5c805201cd08a3a9f8989c77239606d5266a037aeb7c00ec1d2224219af9a1a7 SHA512 b86564ab74a89d4a46553bbf43636cf5a896a7f9b32319d180758ae598a6bb92a2f78ae4d3604bed1789c16f73a1cee2046e9d5446484f1e96224f5542805853 WHIRLPOOL f81c343d0ebed82ea8d1e9bc0826842898eba5e839e6e4a3ffcc19a226dcba17e1a58704358ebbef364682b68f2ea0ba91b3ff9648c5c28e2f7727be8d8806df
DIST coreutils-8.5-patches-2.tar.lzma 25979 SHA256 3fe98017886f0c97e15552caf4b38ba6085f15209c30ea9e5a2b65bee324f105 SHA512 a07f3e5c2d9abbcb639b9bfa928213ca84dddbdeee8f84a4ec127adce6290319fde584e3bb264c224278fb158d37799cc0833b3cf71fc60391232b8de57da7d6 WHIRLPOOL 5e8fbb4136460817a32c011724b2a72655e1917aa151ab18592c2cddee156d7276934ec7b2e49620b970aec9d20a0df315b6e45974baa4fb957fae50055d8079
DIST coreutils-8.5.tar.gz 10740866 SHA256 dd243e2ac7d0ed203b170ecfb8299643779e7501fec2b45ae1cea8a450fa8ca0 SHA512 9b982ffd4f241e9c0159fb477dcd18214b3b14da3a06ff06ca43233474f3204a0753149692b53cf5f2b8a23aace2867bbbd9351cd12b3941460d386037c4617e WHIRLPOOL cb1e1b71f93bff019d8fe7849f3bdd0bbadf488439ddbc285dbca51810c9ce85f9c8d5f1a7db7369e8632ecc3141e50d76e2665f9cf0ca6b1d15d4c31c15ba63
DIST coreutils-8.7-patches-1.tar.xz 4496 SHA256 4d428712bf911ec01d12a64c65335b30a4a60cabeb24ece503c2ff8208129277 SHA512 32f13cbcd0b07ccd05fff2a2ab7d29fc08318b0620763f4fa946a71ab338c962f5e760666d1064fd01090c1fd11dcb3e9e8ddf556afacf62c94a6b3ef338d6f9 WHIRLPOOL 1542cc9af1ce18ca60d39dc5d142781bb76c415b311da3c9de13fadf6e8fa9395f766ca5d5a803c87be0fc38207efd623504e78b7753ccf183ca50c41a4da4e9
DIST coreutils-8.7.tar.xz 4709556 SHA256 6701979aeccbca0b197718c00754aaf4a801f9ee7419edf14b829d20b9f8076b SHA512 382ed8c6bb13f25d06ce830f90810c032a1e3eea7d05752db8603b591f05db316d14d4ffd2d5aa54f0227072adc97b0b22a828d95cd7a9de3539e942d697d7c4 WHIRLPOOL f0641996089017dbbe84dd2ccdadc1aa10be0555bfc89e7133ce1bfbc7fb555b27310a8f392bad60da8ea84e3d4ded68c5522fc063e42345402be1b18319babf
DIST coreutils-8.8-patches-1.tar.xz 4500 SHA256 6969f31ce6eb3d76516def06f59b9efbd791f045d55ad375abccc72a8624bf11 SHA512 2f3e73b800ef3bfb2489227ebc966c0cebdb267d410b86215e0205f9b5c0d60f8435f1e41e97f4d5a9f6159999b1fe7892677c3ec852a6d21de66b3282c4edc6 WHIRLPOOL 712a0040eeac86077ab4ed0f83f3dd39ffe63ccc9082c1eb9262d278778cae0cec736dac49ae573d9636808ea9cf5f6e215d34aa5e8798069eb7019905be89a1
DIST coreutils-8.8.tar.xz 4729080 SHA256 a92ed61ae68408a7f5eaa09db54333014a87295d05ab5a96ce2d55e3144b6336 SHA512 3e04d45c1fe57749b4e41318f1c0256d105f48df14837425fcc802bec5f5ef68bc58cc26a1d037ad041ed6399852d7dd0051254123993e9546939f430fb0c37d WHIRLPOOL 664753406665a66a6dd1a81b086d943f4374e92baaef94c658772125c4a5fc2f1e95e6b854e26cba1ccd4ca8771abb870dbdbcd83503782c4e8e4ef0f61378b1
DIST coreutils-8.9-patches-1.tar.xz 4496 SHA256 d4949932ee5b582d3802d11afaccdea7a6f29c97f0204c1b66b7b54b72509ae4 SHA512 018e819106cce22ae30c7b08060b0ae28b41fcb5007bb000a726847f3d8107f46b6e8e90b9d16cd2826b22d1c48af44aea49cf6a3989bd2abf0bba6b83b0f088 WHIRLPOOL 3a7e637e581f19fecdc9e57f956fd0f0461079b0548a7125fc2a7593acfa39f6e5dde1ab4117b0ae5ed27bc531e7974de164823ea0db3ad212b023077d8ffe6e
DIST coreutils-8.9.tar.xz 4726864 SHA256 ca22d06effd0c8bc506a7c57932d0ed08d7dbc75629a92264d67d34982f2b5b7 SHA512 444e197cb546aa101300b18347ec92fffddd0bedf1926eb1b810dfc1b33a8865c07ee37334e13016e3f12faa152401699bbc8b6d9f6135205f272eab40f7d98f WHIRLPOOL a879548203354fe87360bb4fe91499b8afaeb16a86f6e8ce4e037866deb96f4e77a1474b6176d7fa28cd48ce0a46ed51e7ce3d789582e4ed293b5519bf77a1d0
EBUILD coreutils-8.10.ebuild 5467 SHA256 e07a28ddc97b65f827e918a8be4eda0041faf24a0701bf857f663a9771b3b67a SHA512 44ffafbbe00538fc308a8493724ae60c642c4fc443aa1552a8681e5c15850173d1ea019fadd813c267dde53da1d6554559d06ee0ebed2f797bfcc3ab7b610f2e WHIRLPOOL 44586eebe50d89b8ecff7c24822474b7871ecbcb827ba29c607e492bec5d3d5987cf2a451631c2bb1bf8cdf0b872dd7fe19f08f17487b4a03b78c5f9e1820882
EBUILD coreutils-8.11.ebuild 5467 SHA256 eaa720d752549485f494f0f2f5c0c4b4b2e7d46336b141d79f733bec9cffff05 SHA512 bd66cb264b43b4c85a254cb5e1e99eb07457f36f3213bab7fbe4ab2f44c1b7124e128f8dbf45065e2698d149c64bb67901b646fab3b106597788d182c83a3825 WHIRLPOOL 66a8aa47374763a1a4131a33f9cbefa8b686ac21c55115699739db096702b742d65c5d3ffc5ac102ccbf1788db563cba2e6abc6b0d63b782926a6afc0fa8c9ee
EBUILD coreutils-8.12.ebuild 5467 SHA256 e59a5c43e95a5e7bd1210c865f45f0afff6586d5ac46f333009ba13c9d4f7b60 SHA512 3281598cb7ebf691334c06d4a2fadaf7f5dd50900f88dac899e8ba37e11afe4c8848612b70f8298022d0460c238555205adcf9c37bcdfe7102ffda97d7daf889 WHIRLPOOL 424fd081bde9ced7e00facbb45027aaa2cc03573f7776439efa1d02b5688c5ebbd99c9d533ec12197e8b71f5b5363a7254cd05d3860d8835b5f5f5aa9004d943
EBUILD coreutils-8.13.ebuild 5467 SHA256 5dcba81395b639faa29887b1e7b5e21a9c293e4aa611bda1e83fd4901bdf37be SHA512 d14ce6db5731102a16f088f59489733e58df8b08b8803dcfcf000070c9a3f5fb85be0d2cf57038f9d6232cf1b06bd0380642a3b31d9df2c886888f3ac089fbe6 WHIRLPOOL d40186f732406201506480d5c36686ab58e793d7b617362c14912e6330cfb0b95454aab5a7fd0cabb9989aacd864a8bd4638d9187e828a2dd4c860196070e96a
EBUILD coreutils-8.14.ebuild 5489 SHA256 43a7d0e57e1719f0e29c4f53826b1262c709429614420deffadd5ec3d1dfaeba SHA512 7ba6288f9a45c0d400f9fc5da8e87062685b34ea01884910b4e15d85ba4fc39efcd5e22914e0755efeba14b3a7034d118885f5fd1b7f484b61dfd447090b4782 WHIRLPOOL 277db64661612eb890120977b5519c57a74d0f88cd9bf16992b45d58156d5164ab2ffd0555c478c17785ec613c0e479e2c4e6dd061d972b32ccda5e5637b51f7
EBUILD coreutils-8.15.ebuild 5520 SHA256 a7e8f2ab975bbd87d2c5d5179ed406a5a2e327dd9a556288c53ab330d5dbb255 SHA512 645604aeaedd73d33561ec1eacf843c823c67b412ad888e775b30214163d126f613fb943b91cbd95634efe1d6a007dc13dee35a7e0d38986ab10d9e24ae32331 WHIRLPOOL 3edebd56fd45ab8d0341dc3d9067c1b4edbe69cda1499ef6a001daeef7ba1664ea2fb70505f5e7d798ccce1704cc842d880c9000b27fbd4983bfaa43429f7c9d
EBUILD coreutils-8.16.ebuild 5677 SHA256 7c68ac8b459af6b0b8c8ad564016cea2c1e537c3973121b52ae187ca214a1e61 SHA512 22f129bceccbfb6fd8d54c90f639d42e2d11c513d7fe1936d74ef591081f6deec7c642bb9494a134f37753b6bae9e41827942add9db0991981c78adb71e3a409 WHIRLPOOL 7329a48316a91e591fe89f90b78e670bdabd179eaba2573757a4beb4785592918ea1b4401d77cb8c176252af3b7fcf83964c26e3bd1c243238dab60de11fc7c0
EBUILD coreutils-8.17.ebuild 5794 SHA256 defa9e0128abe52213d47becf108dad9a9ae6beebc231b63bfcba3dda1fb1f9a SHA512 3de1dce7447f311324eef09dcf2406100213f86736b52b79937b9f24af0f048c4cbe91354a884746f5903a30cd22a74b4d9d0084b92b778f4106229eb903d27b WHIRLPOOL 4486d05a56b22a44cee12f2014373d880d1dfaecdf8264543ef1a0c8cb08ccb2f3b4ab1e65318fcd4d976a593600ac2f5ea09fb5585da447d5de2e754a9e40cc
EBUILD coreutils-8.18.ebuild 5918 SHA256 de55dd817de93a78ac465addf6dc6708a95fc8343ad9104cec682543ba77e44f SHA512 ec18fda8c5b5b0ce2bd2c663306105d5b26666056793b0b82a694a71f384274b5d597b7ebfb4a79b5321c567886c04ee26929ec96f73d8d77267ea13ca9c92d8 WHIRLPOOL 07434157b6ef42cced7581db2ebdea50f019685cdeb57dbbd3db1b259fbd115fe81372f344de9e5385e3a121a86860029864784b3a83da3da4ce8db2137167f3
EBUILD coreutils-8.19.ebuild 5918 SHA256 083a3ea51ecaa34cfa1c5a8fd993816f9d75d0087c8a149ae692bfb521200a88 SHA512 06bdfa2bed6fec721d1e50c3f26787f74957a03840f01e0652b91d87a1fcb5bddca57c02a52fc1b6c9c6c29ee9ffafee7ddc7d851775b43ba7fa367febf8bcd6 WHIRLPOOL e977bb83e82b62f36aae85522d842baae2c069895101ec0675d8be516ef4cc76e078ff8d01b28d5cec51f3cfebd596e7398b4b7063617d98280cfbc6b0df6365
EBUILD coreutils-8.20-r1.ebuild 5897 SHA256 d0572def430a0b9043092140bee811a13c5b401441292be638b6cf225279505e SHA512 8f3293a2e5243c5be9e4001594376aa0c0c28aefa6009c0d93e81f8e42cff8fdc074f07af6a77ef74872e41dcf269999504b2221d82cd6a9b2bff8f176b904c7 WHIRLPOOL 65626c11373d257d84370f2cbb96a7ed1c0e38578bd92940124074491a3c39c9d2ce6dc56829c07e309bf0b5fcd16fb76b06b49eb95b24ef6c8cc01f6136567e
EBUILD coreutils-8.20-r2.ebuild 5898 SHA256 06b6b7bf2e8b43af7a693fccfb36167f3a3019d90b72afd23982f08bf6148150 SHA512 775fb9e79fe0b66fa7d321d3d38b0936098f5758f6af206b3a107df4eebb9f794a5aa780a0762d35f434f00fd7859759261d5a61b0b1ca98595730e8ad87431c WHIRLPOOL e42378dac5da99e6d09e1325e9325d519b90f18b5bd854e4799f02311ff5bb4310d1729bb767c4b7ad1390bdaa2af8a50af39b62cff4d8780ae3e30a0fed2777
EBUILD coreutils-8.20.ebuild 5884 SHA256 b4513676d9e4479a80b891d5586a66200c845e1be0537f5a3e554cebc4efc780 SHA512 889a107a2ceb85877749ed911e33e5ab47b31a7d2a952493b1e2a44395e18758f8f7d4e59708b7b5168957a89f5da3a2887125ffb6a61a8fb0c1c6326ecb819e WHIRLPOOL 65b636b8fe4f3d35cb26698d6f9e468ceea538f197ed08b3b27ef049037291f7d786c2a161b7a53bbc0828f75fdd43d40bd3461bcd5f6a23786cd901d4a1c0b9
EBUILD coreutils-8.5-r1.ebuild 5087 SHA256 7a99ca3814451fbb86457c279ecf3f5aa54b603756a9f58745a7b33b988f9f8f SHA512 89b35cbe9eb72e248b875dc3a1c397b3253f337d7415a60ae352981a2a493521ba19a788da261ab33b2d1129de04ed84b59a3394cda2e5f09309e935d36f8698 WHIRLPOOL 595905b181dec822cdfc358fc9ca2f0aebc3a406d0778aab42c68d9bcb34b7a9fb7a4c5ff038a003b8a01d2644e409b25c8e3ba6be22333c84852cae378e93e0
EBUILD coreutils-8.5.ebuild 5073 SHA256 99940239d3f2efe17ce491bf23ba811598c955952cd60f1d2b4e2d157400d3e3 SHA512 ad6d1bf4adfc60a37623ecb03b7925bda99680d2c369d4000bf95b7d1d01dee5cac96d933c86b951a5697df1c580e2dec873df5b7d4ac3ea0ccf39edca5cb4f9 WHIRLPOOL 6d700af9e9800893c4714974cb1d83f08b15521e5efce7fc32214b5e53705ed0af3030d116ec2e8129121475e990377e22a7edf536d8905b14794497250cc052
EBUILD coreutils-8.7.ebuild 5102 SHA256 8d2f466643f82ec762b6f46c266eba2b0bc37f51e17764704b4893322ddba68f SHA512 7c34cba2ba0b768ebac34d13a2e169f1bce43776d8aecfab4cd8ee3db0ca82ed7cc035a4887adf19b7e67dc3cbb28ed71f026842037d03e4adff1ae4e07a7b39 WHIRLPOOL cc337e855dd92e0a51f30596b531cee38b0c5ca8805854532789d69c3f3abc3c8a0fc9e494aff201a27dc66d83fe391308c5abf7a7372662286ef3a640702a43
EBUILD coreutils-8.8.ebuild 5113 SHA256 98dba1fcb86b41d1753bc305db5344d02075909314d1d4275ccbf5f31cbf59ab SHA512 d6a30a3bc92a1a45f4118dbae1df6aa563b8445a257b56e728dd9241d22eb357de8216716306e9ac1adbbb5f459b7678a595e2d9534be3f827692d0427cf2040 WHIRLPOOL c67fd65731cb297d8309cc39b98667c06ca22e2295d61f23daaf52b3a2fa87ea0e5be3269e7afa132241d752a1b84fe7e3b7803561a7425798194beef47f343f
EBUILD coreutils-8.9.ebuild 5113 SHA256 94a3521bc5493f9ae4487a6190fab0c699eea9870fa91d7ca30917833b59e7e8 SHA512 2ab782551af8174a9f5cd70e17e65af5c04e0bbf582b17fd72403c039bf8771ee97ca40daac3aa5c562e48582e5a343545bd91e3d290e9697b96284599dfacd7 WHIRLPOOL 9ffa1243a4fdd9fe3ee508fa517a2c2fc61f84ae9362787b3e7aced799ae1a05d4ae22a18115d888c5bc41640047c8b7a3b62de0d9a0743632e819fb7fbfff6e
MISC ChangeLog 52496 SHA256 68795f5a80bfb4678587a0ea96fda725e102e322ac5856a4898496e7279c28b0 SHA512 606e8c79679a49d9beee19123ad896584dbf9ab1f786dd472148be6818d66a50e239709c483e1da8905c9a87c2cb63302275c5669721d3ba75605ede3bd6dfc4 WHIRLPOOL 3c5e6fd10825fdf350a20fe3195a56e36d0a1f40acf2f0ed80df8b00f102d76ef84ea68efcb6a05ab9ff243c2e7398374715c7f1b7b3ddee379f383b579b80a5
MISC metadata.xml 164 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 SHA512 8eb0d5153d388f6ea069c64b93882244816a0a09aecc0d73cb872121ce0eb24c5ccafa96aad0b620b2300f319e1af101fa7fa6c5d0d561719d49bb07da0a2eca WHIRLPOOL 11a1441bddb7a6c69653c663902b7da5767ae6ad515ac2aabfc42fe37927a1ccc21472deeee454009ff720201a41c3e4a912df42661a0a87150fb46126da2d52

View File

@ -0,0 +1,179 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.20.ebuild,v 1.12 2013/01/01 18:55:02 armin76 Exp $
EAPI="3"
inherit eutils flag-o-matic toolchain-funcs
PATCH_VER="1.1"
DESCRIPTION="Standard GNU file utilities (chmod, cp, dd, dir, ls...), text utilities (sort, tr, head, wc..), and shell utilities (whoami, who,...)"
HOMEPAGE="http://www.gnu.org/software/coreutils/"
SRC_URI="mirror://gnu-alpha/coreutils/${P}.tar.xz
mirror://gnu/${PN}/${P}.tar.xz
mirror://gentoo/${P}.tar.xz
mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz
http://dev.gentoo.org/~ryao/dist/${P}-patches-${PATCH_VER}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd"
IUSE="acl caps gmp nls selinux static symlink-usr userland_BSD vanilla xattr"
LIB_DEPEND="acl? ( sys-apps/acl[static-libs] )
caps? ( sys-libs/libcap )
gmp? ( dev-libs/gmp[static-libs] )
xattr? ( !userland_BSD? ( sys-apps/attr[static-libs] ) )"
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} )
selinux? ( sys-libs/libselinux )
nls? ( >=sys-devel/gettext-0.15 )
!app-misc/realpath
!<sys-apps/util-linux-2.13
!sys-apps/stat
!net-mail/base64
!sys-apps/mktemp
!<app-forensics/tct-1.18-r1
!<net-fs/netatalk-2.0.3-r4
!<sci-chemistry/ccp4-6.1.1"
DEPEND="${RDEPEND}
static? ( ${LIB_DEPEND} )
app-arch/xz-utils"
src_prepare() {
if ! use vanilla ; then
use_if_iuse unicode || rm -f "${WORKDIR}"/patch/000_all_coreutils-i18n.patch
EPATCH_SUFFIX="patch" \
PATCHDIR="${WORKDIR}/patch" \
EPATCH_EXCLUDE="001_all_coreutils-gen-progress-bar.patch" \
epatch
fi
# Since we've patched many .c files, the make process will try to
# re-build the manpages by running `./bin --help`. When doing a
# cross-compile, we can't do that since 'bin' isn't a native bin.
# Also, it's not like we changed the usage on any of these things,
# so let's just update the timestamps and skip the help2man step.
set -- man/*.x
touch ${@/%x/1}
# Avoid perl dep for compiled in dircolors default #348642
if ! has_version dev-lang/perl ; then
touch src/dircolors.h
touch ${@/%x/1}
fi
}
src_configure() {
local myconf=''
if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then
export fu_cv_sys_stat_statfs2_bsize=yes #311569
export gl_cv_func_realpath_works=yes #416629
fi
export gl_cv_func_mknod_works=yes #409919
use static && append-ldflags -static && sed -i '/elf_sys=yes/s:yes:no:' configure #321821
use selinux || export ac_cv_{header_selinux_{context,flash,selinux}_h,search_setfilecon}=no #301782
use userland_BSD && myconf="${myconf} -program-prefix=g --program-transform-name=s/stat/nustat/"
# kill/uptime - procps
# groups/su - shadow
# hostname - net-tools
econf \
--with-packager="Gentoo" \
--with-packager-version="${PVR} (p${PATCH_VER:-0})" \
--with-packager-bug-reports="http://bugs.gentoo.org/" \
--enable-install-program="arch" \
--enable-no-install-program="groups,hostname,kill,su,uptime" \
--enable-largefile \
$(use caps || echo --disable-libcap) \
$(use_enable nls) \
$(use_enable acl) \
$(use_enable xattr) \
$(use_with gmp) \
${myconf}
}
src_test() {
# Non-root tests will fail if the full path isnt
# accessible to non-root users
chmod -R go-w "${WORKDIR}"
chmod a+rx "${WORKDIR}"
# coreutils tests like to do `mount` and such with temp dirs
# so make sure /etc/mtab is writable #265725
# make sure /dev/loop* can be mounted #269758
mkdir -p "${T}"/mount-wrappers
mkwrap() {
local w ww
for w in "$@" ; do
ww="${T}/mount-wrappers/${w}"
cat <<-EOF > "${ww}"
#!/bin/sh
exec env SANDBOX_WRITE="\${SANDBOX_WRITE}:/etc/mtab:/dev/loop" $(type -P $w) "\$@"
EOF
chmod a+rx "${ww}"
done
}
mkwrap mount umount
addwrite /dev/full
#export RUN_EXPENSIVE_TESTS="yes"
#export FETISH_GROUPS="portage wheel"
env PATH="${T}/mount-wrappers:${PATH}" \
emake -j1 -k check || die "make check failed"
}
src_install() {
emake install DESTDIR="${D}" || die
dodoc AUTHORS ChangeLog* NEWS README* THANKS TODO
insinto /etc
newins src/dircolors.hin DIR_COLORS || die
if [[ ${USERLAND} == "GNU" ]] ; then
cd "${D}"/usr/bin
dodir /bin
# move critical binaries into /bin (required by FHS)
local fhs="cat chgrp chmod chown cp date dd df echo false ln ls
mkdir mknod mv pwd rm rmdir stty sync true uname"
mv ${fhs} ../../bin/ || die "could not move fhs bins"
# move critical binaries into /bin (common scripts)
local com="basename chroot cut dir dirname du env expr head mkfifo
mktemp readlink seq sleep sort tail touch tr tty vdir wc yes"
mv ${com} ../../bin/ || die "could not move common bins"
if ! use symlink-usr ; then
# create a symlink for uname in /usr/bin/ since autotools require it
local x
for x in ${com} uname ; do
dosym /bin/${x} /usr/bin/${x} || die
done
fi
else
# For now, drop the man pages, collides with the ones of the system.
rm -rf "${D}"/usr/share/man
fi
}
pkg_postinst() {
ewarn "Make sure you run 'hash -r' in your active shells."
ewarn "You should also re-source your shell settings for LS_COLORS"
ewarn " changes, such as: source /etc/profile"
# /bin/dircolors sometimes sticks around #224823
if [ -e "${ROOT}/usr/bin/dircolors" ] && [ -e "${ROOT}/bin/dircolors" ] ; then
if strings "${ROOT}/bin/dircolors" | grep -qs "GNU coreutils" ; then
einfo "Deleting orphaned GNU /bin/dircolors for you"
rm -f "${ROOT}/bin/dircolors"
fi
fi
# Help out users using experimental filesystems
if grep -qs btrfs "${ROOT}"/etc/fstab /proc/mounts ; then
case $(uname -r) in
2.6.[12][0-9]|2.6.3[0-7]*)
ewarn "You are running a system with a buggy btrfs driver."
ewarn "Please upgrade your kernel to avoid silent corruption."
ewarn "See: https://bugs.gentoo.org/353907"
;;
esac
fi
}

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>base-system</herd>
</pkgmetadata>

View File

@ -0,0 +1,625 @@
# ChangeLog for sys-apps/gawk
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/ChangeLog,v 1.161 2013/05/13 22:13:19 vapier Exp $
*gawk-4.1.0 (13 May 2013)
13 May 2013; Mike Frysinger <vapier@gentoo.org> +gawk-4.1.0.ebuild:
Version bump.
19 Feb 2013; Zac Medico <zmedico@gentoo.org> gawk-4.0.2.ebuild:
Add ~arm-linux keyword.
*gawk-4.0.2 (06 Jan 2013)
06 Jan 2013; Mike Frysinger <vapier@gentoo.org> +gawk-4.0.2.ebuild:
Version bump #450568 by Agostino Sarubbo.
16 Oct 2012; Christoph Junghans <ottxor@gentoo.org> gawk-4.0.1-r1.ebuild:
re-added keywords (bug #426628)
*gawk-4.0.1-r1 (06 Oct 2012)
06 Oct 2012; Christoph Junghans <ottxor@gentoo.org> +gawk-4.0.1-r1.ebuild:
virtual/awk support and move to /usr/bin (bug #426628)
03 Oct 2012; Brent Baude <ranger@gentoo.org> gawk-4.0.1.ebuild:
Marking gawk-4.0.1 ppc for bug 431954
27 Sep 2012; Anthony G. Basile <blueness@gentoo.org> gawk-4.0.1.ebuild:
stable ppc ppc64, bug #431954
24 Sep 2012; Raúl Porcel <armin76@gentoo.org> gawk-4.0.1.ebuild:
alpha/ia64/m68k/s390/sh/sparc stable wrt #431954
01 Sep 2012; Markus Meier <maekke@gentoo.org> gawk-4.0.1.ebuild:
arm stable, bug #431954
21 Aug 2012; Jeroen Roovers <jer@gentoo.org> gawk-4.0.1.ebuild:
Stable for HPPA (bug #431954).
20 Aug 2012; Johannes Huber <johu@gentoo.org> gawk-4.0.1.ebuild:
Stable for x86, wrt bug #431954
20 Aug 2012; Mike Frysinger <vapier@gentoo.org> gawk-4.0.1.ebuild:
Disable test failing under sandbox for now #413327 by Patrick Lauer.
20 Aug 2012; Agostino Sarubbo <ago@gentoo.org> gawk-4.0.1.ebuild:
Stable for amd64, wrt bug #431954
19 Aug 2012; Christoph Junghans <ottxor@gentoo.org> gawk-4.0.1.ebuild:
added prefix keywords
01 Jul 2012; Raúl Porcel <armin76@gentoo.org> gawk-4.0.0.ebuild:
alpha/ia64/m68k/s390/sh/sparc stable wrt #413117
28 Apr 2012; <nixnut@gentoo.org> gawk-4.0.0.ebuild:
ppc stable #413117
26 Apr 2012; Jeroen Roovers <jer@gentoo.org> gawk-4.0.0.ebuild:
Stable for HPPA (bug #413117).
26 Apr 2012; Alexis Ballier <aballier@gentoo.org> gawk-4.0.1.ebuild:
keyword ~amd64-fbsd
25 Apr 2012; Markus Meier <maekke@gentoo.org> gawk-4.0.0.ebuild:
arm stable, bug #413117
24 Apr 2012; Jeff Horelick <jdhore@gentoo.org> gawk-4.0.0.ebuild:
marked x86 per bug 413117
23 Apr 2012; Brent Baude <ranger@gentoo.org> gawk-4.0.0.ebuild:
Marking gawk-4.0.0 ppc64 for bug 413117
23 Apr 2012; Agostino Sarubbo <ago@gentoo.org> gawk-4.0.0.ebuild:
Stable for amd64, wrt bug #413117
*gawk-4.0.1 (22 Apr 2012)
22 Apr 2012; Mike Frysinger <vapier@gentoo.org> +gawk-4.0.1.ebuild:
Version bump #413017 by teidakankan.
30 Nov 2011; Mike Frysinger <vapier@gentoo.org> gawk-4.0.0.ebuild:
Control readline support via USE=readline.
05 Aug 2011; Jeroen Roovers <jer@gentoo.org> gawk-3.1.8.ebuild:
Stable for HPPA (bug #373939).
25 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> gawk-3.1.8.ebuild:
ppc/ppc64 stable wrt #373939
23 Jul 2011; Raúl Porcel <armin76@gentoo.org> gawk-3.1.8.ebuild:
alpha/ia64/m68k/s390/sh/sparc stable wrt #373939
17 Jul 2011; Markus Meier <maekke@gentoo.org> gawk-3.1.8.ebuild:
arm/x86 stable, bug #373939
05 Jul 2011; Markos Chandras <hwoarang@gentoo.org> gawk-3.1.8.ebuild:
Stable on amd64 wrt bug #373939
*gawk-4.0.0 (03 Jul 2011)
03 Jul 2011; Mike Frysinger <vapier@gentoo.org> +gawk-4.0.0.ebuild:
Version bump #373937 by Lars Wendler.
15 Aug 2010; Harald van Dijk <truedfx@gentoo.org> gawk-3.1.8.ebuild:
Fix quoting
*gawk-3.1.8 (20 May 2010)
20 May 2010; Mike Frysinger <vapier@gentoo.org> +gawk-3.1.8.ebuild:
Version bump #319763 by Samuli Suominen.
25 Apr 2010; Diego E. Pettenò <flameeyes@gentoo.org> gawk-3.1.7.ebuild:
Remove libsigsegv USE flag: the dependency, at a minimum, was off (it
never uses system copy); nothing in the tree require this enabled, the
bundled copy does not work properly with gcc-4.5, and upstream is clueless
about autotools so it's impossible to properly patch this to make it
right.
*gawk-3.1.7 (15 Aug 2009)
15 Aug 2009; Mike Frysinger <vapier@gentoo.org> +gawk-3.1.7.ebuild,
metadata.xml:
Version bump #280701 by Jeremy Olexa.
16 May 2009; Mike Frysinger <vapier@gentoo.org> files/filefuncs/Makefile:
Respect CPPFLAGS when building filefuncs #209129 by Stuart Shelton.
16 Jan 2009; Harald van Dijk <truedfx@gentoo.org>
files/filefuncs/Makefile:
Fix typo, to use CFLAGS when compiling
28 Nov 2008; Ulrich Mueller <ulm@gentoo.org>
+files/gawk-3.1.6-gnuinfo.patch, gawk-3.1.6.ebuild:
Fix GNU Info files, bug 249130.
28 Oct 2008; Raúl Porcel <armin76@gentoo.org> gawk-3.1.6.ebuild:
alpha/ia64 stable #244384
27 Oct 2008; Brent Baude <ranger@gentoo.org> gawk-3.1.6.ebuild:
stable ppc64, bug 244384
26 Oct 2008; Markus Meier <maekke@gentoo.org> gawk-3.1.6.ebuild:
amd64 stable, bug #244384
26 Oct 2008; nixnut <nixnut@gentoo.org> gawk-3.1.6.ebuild:
Stable on ppc wrt bug 244384
26 Oct 2008; Torsten Veller <tove@gentoo.org> gawk-3.1.6.ebuild:
Stable on x86 (#244384)
26 Oct 2008; Jeroen Roovers <jer@gentoo.org> gawk-3.1.6.ebuild:
Stable for HPPA (bug #244384).
26 Oct 2008; Ferris McCormick <fmccor@gentoo.org> gawk-3.1.6.ebuild:
Sparc stable, Bug #244384 and required for Bug #244246. Looks fine.
05 May 2008; Mike Frysinger <vapier@gentoo.org>
+files/autoconf-mktime-2.61.patch, gawk-3.1.6.ebuild:
Update mktime test #220040.
*gawk-3.1.6 (05 May 2008)
05 May 2008; Mike Frysinger <vapier@gentoo.org> +gawk-3.1.6.ebuild:
Version bump #219476 by Conrad Kostecki.
19 Nov 2007; Joshua Kinard <kumba@gentoo.org> gawk-3.1.5-r5.ebuild:
Stable on mips, per #195212.
11 Oct 2007; Tom Gall <tgall@gentoo.org> gawk-3.1.5-r5.ebuild:
stable on ppc64, bug #195212
10 Oct 2007; Lars Weiler <pylon@gentoo.org> gawk-3.1.5-r5.ebuild:
stable ppc, bug #195212
09 Oct 2007; Raúl Porcel <armin76@gentoo.org> gawk-3.1.5-r5.ebuild:
alpha/ia64/sparc stable wrt #195212
09 Oct 2007; Christian Faulhammer <opfer@gentoo.org> gawk-3.1.5-r5.ebuild:
stable x86, bug 195212
09 Oct 2007; Jeroen Roovers <jer@gentoo.org> gawk-3.1.5-r5.ebuild:
Stable for HPPA (bug #195212).
09 Oct 2007; Christoph Mende <angelos@gentoo.org> gawk-3.1.5-r5.ebuild:
Stable on amd64 wrt bug #195212
*gawk-3.1.5-r5 (25 Aug 2007)
25 Aug 2007; Mike Frysinger <vapier@gentoo.org>
+files/gawk-3.1.5-freewstr2.patch, +files/gawk-3.1.5-ipv6.patch,
+files/gawk-3.1.5-mbread.patch, +gawk-3.1.5-r5.ebuild:
Snipe some fixes from Fedora.
*gawk-3.1.5-r4 (12 Jul 2007)
12 Jul 2007; Roy Marples <uberlord@gentoo.org> +gawk-3.1.5-r4.ebuild:
Move gawk to /usr/bin for non GNU userlands.
09 Jul 2007; Jeroen Roovers <jer@gentoo.org> gawk-3.1.5-r3.ebuild:
Stable for HPPA (bug #184465).
08 Jul 2007; Christoph Mende <angelos@gentoo.org> gawk-3.1.5-r3.ebuild:
Stable on amd64 wrt bug #184465
13 Jun 2007; Raúl Porcel <armin76@gentoo.org> gawk-3.1.5-r3.ebuild:
alpha stable
24 Apr 2007; Alexander Færøy <eroyf@gentoo.org> gawk-3.1.5-r3.ebuild:
Stable on MIPS.
23 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org> gawk-3.1.5-r3.ebuild:
Stable on sparc
16 Apr 2007; Markus Rothe <corsair@gentoo.org> gawk-3.1.5-r3.ebuild:
Stable on ppc64
01 Apr 2007; Michael Hanselmann <hansmi@gentoo.org> gawk-3.1.5-r3.ebuild:
Stable on ppc.
21 Mar 2007; Raúl Porcel <armin76@gentoo.org> gawk-3.1.5-r3.ebuild:
x86 stable
*gawk-3.1.5-r3 (12 Jan 2007)
12 Jan 2007; Mike Frysinger <vapier@gentoo.org>
+files/gawk-3.1.5-freewstr.patch, +files/gawk-3.1.5-wconcat.patch,
+gawk-3.1.5-r3.ebuild:
Grab some patches from Fedora to fixup double free #135931 by Georgi Georgiev.
05 Nov 2006; Fabian Groffen <grobian@gentoo.org> gawk-3.1.5-r1.ebuild,
gawk-3.1.5-r2.ebuild:
Dropped ppc-macos keyword, see you in prefix.
17 Oct 2006; Roy Marples <uberlord@gentoo.org> gawk-3.1.5-r2.ebuild:
Added ~sparc-fbsd keyword.
14 Oct 2006; Aron Griffis <agriffis@gentoo.org> gawk-3.1.5-r2.ebuild:
Mark 3.1.5-r2 stable on ia64
04 Sep 2006; Joshua Kinard <kumba@gentoo.org> gawk-3.1.5-r2.ebuild:
Marked stable on mips.
22 Aug 2006; Thomas Cort <tcort@gentoo.org> gawk-3.1.5-r2.ebuild:
Stable on alpha wrt Bug #142936.
10 Aug 2006; Yuta SATOH <nigoro@gentoo.org> gawk-3.1.5-r2.ebuild:
Stable on ppc64, bug #142936
07 Aug 2006; Scott Stoddard <deltacow@gentoo.org> gawk-3.1.5-r2.ebuild:
Stable on amd64 re bug 142936.
07 Aug 2006; Luca Barbato <lu_zero@gentoo.org> gawk-3.1.5-r2.ebuild:
Marked ppc
07 Aug 2006; Jeroen Roovers <jer@gentoo.org> gawk-3.1.5-r2.ebuild:
Stable for HPPA (bug #142936).
06 Aug 2006; Andrej Kacian <ticho@gentoo.org> gawk-3.1.5-r2.ebuild:
Stable on x86, bug #142936.
06 Aug 2006; Jason Wever <weeve@gentoo.org> gawk-3.1.5-r2.ebuild:
Stable on SPARC wrt bug #142936.
*gawk-3.1.5-r2 (17 Jul 2006)
17 Jul 2006; Mike Frysinger <vapier@gentoo.org>
+files/gawk-3.1.5-autotools-crap.patch, +files/gawk-3.1.5-internal.patch,
+files/gawk-3.1.5-numflags.patch, +files/gawk-3.1.5-syntaxerror.patch,
+files/gawk-3.1.5-utf-8-strcat.patch, +gawk-3.1.5-r2.ebuild:
Grab some patches from Fedora/Debian and hack around broken autotool code
#139397 by Brant Gurganus.
09 Jul 2006; Joshua Kinard <kumba@gentoo.org> gawk-3.1.5-r1.ebuild:
Marked stable on mips.
28 Jun 2006; Thomas Cort <tcort@gentoo.org> gawk-3.1.5-r1.ebuild:
Stable on alpha wrt Bug #138147.
28 Jun 2006; Luis Medinas <metalgod@gentoo.org> gawk-3.1.5-r1.ebuild:
Stable on amd64. Bug #138147.
27 Jun 2006; Gustavo Zacarias <gustavoz@gentoo.org> gawk-3.1.5-r1.ebuild:
Stable on sparc wrt #138147
27 Jun 2006; Tobias Scherbaum <dertobi123@gentoo.org>
gawk-3.1.5-r1.ebuild:
ppc stable, #138147
27 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org> gawk-3.1.5-r1.ebuild:
Stable on x86 wrt bug #138147.
27 Jun 2006; Fabian Groffen <grobian@gentoo.org> gawk-3.1.5-r1.ebuild:
Marked ppc-macos stable for progressive users (bug #138147)
27 Jun 2006; Markus Rothe <corsair@gentoo.org> gawk-3.1.5-r1.ebuild:
Stable on ppc64; bug #138147
*gawk-3.1.5-r1 (12 Apr 2006)
12 Apr 2006; Mike Frysinger <vapier@gentoo.org>
+files/gawk-3.1.5-binmode.patch, +files/gawk-3.1.5-fieldwidths.patch,
+files/gawk-3.1.5-num2str.patch, +gawk-3.1.5-r1.ebuild:
Fix bug in FIELDWIDTHS and grab some other patches from Fedora.
30 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> gawk-3.1.5.ebuild:
Add ~x86-fbsd keyword.
19 Mar 2006; Fernando J. Pereda <ferdy@gentoo.org> gawk-3.1.5.ebuild:
Stable on alpha as per bug #126362
16 Mar 2006; Emanuele Giaquinta <exg@gentoo.org> gawk-3.1.5.ebuild:
Stable on ppc; bug #126362
16 Mar 2006; Torsten Veller <tove@gentoo.org> gawk-3.1.5.ebuild:
Stable on x86 (#126362)
16 Mar 2006; Gustavo Zacarias <gustavoz@gentoo.org> gawk-3.1.5.ebuild:
Stable on sparc wrt #126362
16 Mar 2006; Patrick McLean <chutzpah@gentoo.org> gawk-3.1.5.ebuild:
Stable on amd64 (bug #126362).
16 Mar 2006; Markus Rothe <corsair@gentoo.org> gawk-3.1.5.ebuild:
Stable on ppc64; bug #126362
07 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> gawk-3.1.5.ebuild:
Don't use /usr/lib/misc, use the right libdir for the current ABI. Fix
multlib-strict.
13 Oct 2005; Kito <kito@gentoo.org> gawk-3.1.5.ebuild:
~ppc-macos keyword
03 Oct 2005; Hardave Riar <hardave@gentoo.org> gawk-3.1.4-r4.ebuild:
Stable on mips.
01 Oct 2005; Luis Medinas <metalgod@gentoo.org> gawk-3.1.4-r4.ebuild:
Marked Stable on amd64.
21 Sep 2005; Mike Frysinger <vapier@gentoo.org> gawk-3.1.5.ebuild:
Move libexec dir from /usr/libexec to /usr/lib/misc.
17 Sep 2005; Ciaran McCreesh <ciaranm@gentoo.org> ChangeLog:
Converted to UTF-8, fixed encoding screwups
16 Sep 2005; Aron Griffis <agriffis@gentoo.org> gawk-3.1.4-r4.ebuild:
Mark 3.1.4-r4 stable on alpha
03 Sep 2005; Markus Rothe <corsair@gentoo.org> gawk-3.1.4-r4.ebuild:
Stable on ppc64
03 Sep 2005; Mike Frysinger <vapier@gentoo.org>
+files/gawk-3.1.5-gcc4.patch, files/filefuncs/Makefile, gawk-3.1.5.ebuild:
Fix by Kito for building with gcc4 #104740 and move a bunch of ugly filefunc
details out of the ebuild and into the filefunc Makefile.
02 Sep 2005; Michael Hanselmann <hansmi@gentoo.org> gawk-3.1.4-r4.ebuild:
Stable on ppc.
02 Sep 2005; Gustavo Zacarias <gustavoz@gentoo.org> gawk-3.1.4-r4.ebuild:
Stable on sparc
*gawk-3.1.5 (01 Sep 2005)
01 Sep 2005; Mike Frysinger <vapier@gentoo.org>
+files/gawk-3.1.5-core.patch, +gawk-3.1.5.ebuild:
Version bump.
29 May 2005; <solar@gentoo.org> gawk-3.1.3-r2.ebuild:
echangelog - update package to use libc expanded variable elibc_uclibc vs
uclibc so USE=-* works
06 May 2005; Mike Frysinger <vapier@gentoo.org>
files/filefuncs/filefuncs.c, gawk-3.1.4-r4.ebuild:
Add switch capabilities #91182 by Ekatalog and BSD support #90847 by Diego
Pettenò.
*gawk-3.1.4-r4 (19 Feb 2005)
19 Feb 2005; Mike Frysinger <vapier@gentoo.org> -gawk-3.1.4-r3.ebuild,
+gawk-3.1.4-r4.ebuild:
Update the xml patch to the current version.
*gawk-3.1.4-r3 (14 Feb 2005)
14 Feb 2005; Mike Frysinger <vapier@gentoo.org> -gawk-3.1.4-r2.ebuild,
+gawk-3.1.4-r3.ebuild:
Build xmlgawk separately from the normal gawk so we dont link against
libexpat (which is in /usr/lib) #81793.
*gawk-3.1.4-r2 (11 Feb 2005)
11 Feb 2005; Mike Frysinger <vapier@gentoo.org>
+files/gawk-3.1.3-getpgrp_void.patch, +files/gawk-3.1.4-flonum.patch,
+files/gawk-3.1.4-nextc.patch, +files/gawk-3.1.4-uplow.patch,
-gawk-3.1.4-r1.ebuild, +gawk-3.1.4-r2.ebuild:
Add some patches from Fedora and xmlgawk support #57857 by Alcino Dall Igna
Junior.
*gawk-3.1.4-r1 (29 Jan 2005)
29 Jan 2005; Mike Frysinger <vapier@gentoo.org>
+files/gawk-3.1.4-disable-DFA.patch, +gawk-3.1.4-r1.ebuild,
-gawk-3.1.4.ebuild:
Version bump with patch from Fedora to fix random LOCALE bugs #78227.
14 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org>
files/filefuncs/Makefile, gawk-3.1.3-r2.ebuild, gawk-3.1.4.ebuild:
multilib fixes for filefuncs.
*gawk-3.1.4 (12 Jan 2005)
12 Jan 2005; Mike Frysinger <vapier@gentoo.org> gawk-3.1.3-r2.ebuild,
+gawk-3.1.4.ebuild:
Version bump.
*gawk-3.1.3-r2 (22 Nov 2004)
22 Nov 2004; Mike Frysinger <vapier@gentoo.org> +gawk-3.1.3-r2.ebuild:
Use econf/install with DESTDIR.
14 Nov 2004; Tony Vroon <chainsaw@gentoo.org> gawk-3.1.3-r1.ebuild:
Portability update to cp command, change -d to -P, which works on more OS's.
Suggested by Chris L. Mason <clmason@mac.com> in bug #66911.
28 Sep 2004; Sven Wegener <swegener@gentoo.org>
files/filefuncs/filefuncs.c:
Gentoo Technologies, Inc. -> Gentoo Foundation
01 Sep 2004; Travis Tilley <lv@gentoo.org> gawk-3.1.3-r1.ebuild:
made gawk use $(get_libdir)
24 Aug 2004; Sven Wegener <swegener@gentoo.org> gawk-3.1.3-r1.ebuild:
Changed SRC_URI to use mirror:// syntax.
16 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org> -gawk-3.1.1-r2.ebuild,
-gawk-3.1.2-r3.ebuild, gawk-3.1.3-r1.ebuild, -gawk-3.1.3.ebuild:
gnuconfig_update in src_unpack; use emake; tidy; clean older ebuilds
27 Jun 2004; Aron Griffis <agriffis@gentoo.org> gawk-3.1.1-r2.ebuild,
gawk-3.1.2-r3.ebuild, gawk-3.1.3.ebuild:
QA - fix use invocation
15 Jun 2004; <solar@gentoo.org> gawk-3.1.3-r1.ebuild:
run gnuconfig_update when using uclibc
25 Apr 2004; Tom Gall <tgall@gentoo.org> gawk-3.1.3-r1.ebuild:
fix bug 48990 -- affects all 64 bit architectures
07 Mar 2004; Joshua Kinard <kumba@gentoo.org> gawk-3.1.1-r2.ebuild,
gawk-3.1.2-r3.ebuild, gawk-3.1.3-r1.ebuild, gawk-3.1.3.ebuild:
Marked stable on mips, copyright header fixes.
09 Jan 2004; Aron Griffis <agriffis@gentoo.org> gawk-3.1.3-r1.ebuild:
stable on alpha
28 Dec 2003; Joshua Kinard <kumba@gentoo.org> gawk-3.1.3.ebuild:
Move to mips stable (~mips -> mips)
28 Dec 2003; Martin Schlemmer <azarah@gentoo.org> gawk-3.1.3-r1.ebuild:
Move pgawk and igawk to /usr/bin, bug #36453.
*gawk-3.1.3-r1 (28 Dec 2003)
28 Dec 2003; Martin Schlemmer <azarah@gentoo.org> gawk-3.1.3-r1.ebuild:
Make sure /bin/pgawk is a symlink as to not have two binaries taking space.
21 Jul 2003; Christian Birchinger <joker@gentoo.org> gawk-3.1.3.ebuild:
Added sparc stable keyword
20 Jul 2003; Brandon Low <lostlogic@gentoo.org> gawk-3.1.3.ebuild:
Mark stable for x86 and amd64
*gawk-3.1.3 (10 Jul 2003)
23 Jul 2003; Guy Martin <gmsoft@gentoo.org> gawk-3.1.1-r2.ebuild :
Marked stable on hppa.
22 Jul 2003; Martin Schlemmer <azarah@gentoo.org> gawk-3.1.1-r2.ebuild,
gawk-3.1.2-r3.ebuild, gawk-3.1.3.ebuild:
Do not copy the filefuncs files with original permissions in tackt, thanks to
Tobias Sager <moixa@gmx.ch>, bug #24989.
10 Jul 2003; Brandon Low <lostlogic@gentoo.org> gawk-3.1.3.ebuild:
Bump
24 Jun 2003; Aron Griffis <agriffis@gentoo.org> gawk-3.1.2-r3.ebuild:
Mark stable on alpha
*gawk-3.1.2-r3 (27 Mar 2003)
06 Jul 2003; Guy Martin <gmsoft@gentoo.org> gawk-3.1.2-r3.ebuild :
Marked stable on hppa.
22 Jun 2003; Joshua Kinard <kumba@gentoo.org> gawk-3.1.2-r3.ebuild:
Changed ~sparc to sparc in KEYWORDS
Changed ~mips to mips in KEYWORDS
08 Jun 2003; Brandon Low <lostlogic@gentoo.org> gawk-3.1.2-r3.ebuild:
Mark unstable, see bug 21713 for reasons, will wait for 3.1.3 to have a new
stable gawk
23 May 2003; Tavis Ormandy <taviso@gentoo.org> gawk-3.1.2-r3.ebuild:
support for ccc (alpha).
20 May 2003; Martin Schlemmer <azarah@gentoo.org> gawk-3.1.2-r3.ebuild :
Mark stable for all, as all issues are fixed, and 3.1.1-r2 with filefuncs
did not seem to propagate properly.
11 May 2003; Martin Schlemmer <azarah@gentoo.org> gawk-3.1.1-r2.ebuild :
Mark stable for all, as next baselayout will need a gawk with filefuncs.
26 Apr 2003; Christian Birchinger <joker@gentoo.org> gawk-3.1.2-r3.ebuild :
Added stable sparc keyword
17 Apr 2003; Brandon Low <lostlogic@gentoo.org> gawk-3.1.2-r3.ebuild :
Changed x86 keywords
27 Mar 2003; Martin Schlemmer <azarah@gentoo.org> gawk-3.1.2-r3.ebuild :
Special files like those in /proc, report themselves as regular files
of length 0, when in fact they have data in them if you try to read them.
The new record-reading code wasn't quite smart enough to deal with such
a bizarre case. The following patch fixes the problem, thanks to
Arnold D. Robbins (Maintainer of gawk).
*gawk-3.1.1-r2 (26 Mar 2003)
26 Mar 2003; Martin Schlemmer <azarah@gentoo.org> gawk-3.1.1-r2.ebuild :
For some reason gawk-3.1.2 is more pain than worth. Seems this release
also borks the ability to specify input files as arguments:
# gawk '/devfs/ { print }' /proc/filesystems
#
should have been the same as:
# cat /proc/filesystems | gawk '/devfs/ { print }'
nodev devfs
nodev usbdevfs
#
Thus all this release does, is get the filefuncs module into 3.1.1 as well,
so that we can totally mask gawk-3.1.2.
*gawk-3.1.2-r2 (25 Mar 2003)
25 Mar 2003; Martin Schlemmer <azarah@gentoo.org> gawk-3.1.2-r2.ebuild :
Add filefuncs module from baselayout, as it is very closly tied to the gawk
version running. While we are at it, version the module (filefuncs.so.0.0.1,
with soname of filefuncs.so.0 for now). Do not install acconfig.h into
/usr/include/awk, as it is redundant. This should fix bug #18127.
*gawk-3.1.2-r1 (25 Mar 2003)
25 Mar 2003; Martin Schlemmer <azarah@gentoo.org> gawk-3.1.2-r1.ebuild :
Version that should not really have hit portage, but I was busy at work
and closing time caught me.
*gawk-3.1.2 (24 Mar 2003)
24 Mar 2003; Brandon Low <lostlogic@gentoo.org> gawk-3.1.2.ebuild :
-* keyword, and get the -r1 ebuild stuff that I somehow ignored into it, a -r1
which will be ~ rather than - will be forthcoming
24 Mar 2003; Brandon Low <lostlogic@gentoo.org> gawk-3.1.2.ebuild :
Bump
20 Feb 2003; Zach Welch <zwelch@gentoo.org> gawk-3.1.1-r1.ebuild :
Added arm to keywords.
08 Feb 2003; Guy Martin <gmsoft@gentoo.org> gawk-3.1.1-r1.ebuild :
Added hppa to keywords.
*gawk-3.1.1-r1 (20 Dec 2002)
20 Dec 2002; Jan Seidel <tuxus@gentoo.org> gawk-3.1.1-r1.ebuild :
Added mips to keywords
16 Dec 2002; Martin Schlemmmer <azarah@gentoo.org> gawk-3.1.1-r1.ebuild :
Fix rare case where gawk do not get installed as /bin/gawk-$PV, but
rather /bin/gawk-. Fix missing docs.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
*gawk-3.1.1-r1 (14 Nov 2002)
14 Nov 2002; Martin Schlemmmer <azarah@gentoo.org> :
Install gawk headers into /usr/include/awk.
*gawk-3.1.1 (21 Jul 2002)
21 Jul 2002; Martin Schlemmmer <azarah@gentoo.org> :
Update version.
*gawk-3.1.0-r3 (21 Jul 2002)
21 Jul 2002; Martin Schlemmer <azarah@gentoo.org> :
Move /usr/bin/awk to /bin/awk for upcomming baselayout.
*gawk-3.1.0-r2 (26 Jun 2002)
14 Jul 2002; phoen][x <phoenix@gentoo.org> gawk-3.1.0-r2.ebuild :
Added KEYWORDS, SLOT.
26 Jun 2002; Martin Schlemmer <azarah@gentoo.org> :
Add /bin/awk compat symlink, closing bug #3288.
*gawk-3.1.0-r1 (12 Mar 2002)
14 Jul 2002; phoen][x <phoenix@gentoo.org> gawk-3.1.0-r1.ebuild :
Added KEYWORDS, SLOT.
12 Mar 2002; Seemant Kulleen <seemant@gentoo.org> ChangeLog :
Added USE dependent nls compilation
*gawk-3.1.0 (1 Feb 2002)
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

View File

@ -0,0 +1,42 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
AUX autoconf-mktime-2.61.patch 1116 SHA256 e62bc5c6d3fa056be28d6928186998eba7e1850f29f089f707a6dbdb195dee33 SHA512 4ee6214dbe2d179d5ecbb6f40acf5adffdb5668a41bde8d01382ddc823315aa76542ad17aab1d0414bc249ea4c715fc5d008b5adc84b82801dc71dc10f0badda WHIRLPOOL 7708fe7ba361c271ee64a9755c4884cc03f4e38f03398b5ada74acb883b611d3f6a3bd71a49186e13bbebff1444a9a4013bcabbf6d7c736b8a5f9201802692bb
AUX filefuncs/Makefile 1226 SHA256 a3b91ceefd4d659d9ffdc0c8502c7de10e7d4f9daee4e297cb2d8da11257c77e SHA512 7238b64971d6345d99d24b75363f9d842befa140c3373709c0ddfceb566666fbf75dfa10aea032028b1a7ffe94180d389fb922b23f79ccf8f319a76d23b2c96d WHIRLPOOL 3557762a538e26484a3203fac09b6094e4eef306dfa6fa414a5722bf738accadd0f893787d102cefd5b1132db7d12511ec0378c958ef51370ee618f25aaf3698
AUX filefuncs/filefuncs.c 10992 SHA256 c647aa27170ef8e001d47bdf86c47809afd7f6d5a89be2f9769ce05b55ed8309 SHA512 07caa4dfe83716de8218f9035b893778461a8c709a538a0a3f45dc6a08f99387a9bf15967b849cdad8ccfe1fb94fc4c3de790457f6460998275afe20f8c16a94 WHIRLPOOL 6b2078a9538691871c6441a5d828d17246a97640ad8c3d080e9b24f324488500e2da4058bdb387ee857d849ec9f4a0be36f77fc335357c4a48f24ca9bb5271bf
AUX gawk-3.1.3-getpgrp_void.patch 1225 SHA256 2e43682e4c86e6f50eeca42b3fc333c1c9c080838b29f3020c88f1d95dc02767 SHA512 92540e4a304c75b753f4a5c1faef1fb5ecde321f1802eecf0ee6ef9b11249178bc2aa608223a55735ac521adc02c7e1a0ce6ee3ddfbfd23ef23b3c1ea5b6ab2b WHIRLPOOL bad6c7bd2b2683cac03133f5322c671844c9ec380f6a847f2b6a7489f490ebceab9b56c6368db73950da8791d5aefafa2ddb2802850d395d16593699973ca999
AUX gawk-3.1.6-gnuinfo.patch 895 SHA256 e0e94e01bc061bdf41160fafc406e2c05bc6d27f3e26847899f020a01f46c98a SHA512 ad0e7c7e0e37ebc4c2225882070c5f9d9aa9f5f4e71cfd5a3676d61a1c8bfcbe94bcb39b2b9b6a72c89a278180ce22f24a551eab6548e0f02887e6d887b61f4a WHIRLPOOL 61d23acaa22befae4e4255624b484f120d784740435326d53b2e3c123fc7ac9a2d82364ff439888225b3efc8f59233f86686cd40701eeff43ca93db3f7963ad9
DIST gawk-3.1.6.tar.bz2 1861630 SHA256 513fdd5a0bd1b467bd4993eb3adb4690f65fff6857c9e2ed1a3e46d72151cb6c SHA512 cf2040a41eade41c0d08f6ae9fffdb23345d76973d5ba5607278e28c2812ce4612bbb93ec925bb56573cc021517d813ec73c1c97e24196cd11c497603d233da4 WHIRLPOOL a7d08eb243eb5d0166867efcb218b0772292c64d3fd46adc531a4864b48a2f9d03f339d4c3cf3e53b42ae22ecbbcd769d8407a0430ef6d7d03650b328b8ddd76
DIST gawk-3.1.7.tar.bz2 2365837 SHA256 f12b76b8963c5a438a56a73223ad29aeb900c7f004deb6242fab3324188ede71 SHA512 709b9749f267e9e9ecddf1bb9eb68ea8a10151eb5b390efa04c0f421e464083e8bf1d08834f6764a06a11f0df91fd18e1fa1474075535fbe98999e7fb52aa6aa WHIRLPOOL 0bce548391624bbe68f857d7e13fdd44c74d25b404bb9d9f94ddc73b8d9ad719f05927a9d086a0534b13e29300b53b43bf3702e15cf3fb538495901c126afa53
DIST gawk-3.1.8.tar.bz2 1984129 SHA256 5dbc7b2c4c328711337c2aacd09a122c7313122262e3ff034590f014067412b4 SHA512 a8046c1a5a6ffc8bd90cc6062d97ba6301b7a707f4a34a06355a83aaaea2ccdf4c4476563fc6f444b529a2d8d3a2de2126b53434ba50aad8bd898fb3299904dd WHIRLPOOL e24079d7c2aee57e48db2ef76df4c217ea0fa435304a563c6df8d0442f8a5e5e4cff2141809f68430939d66a3a6eda981edefa94b2b8c85e5f0a3ee7ba8a7649
DIST gawk-4.0.0.tar.bz2 2063647 SHA256 60ade732b46c6318acd183cfee843e00167e22d8f119889012f1c77d613e5a6b SHA512 9a337673725d3190c76da7e61f9b5e6df348eb4e08a3f7a7a1b5869d0bec6514d97782dffbb56ec5c4897e8f2ec9994b401c00fe0b47e0510e11eb963c9c2efb WHIRLPOOL 830c88e97fda24b28be070b148663a7473338614d0b3499d514781242786ba5ae56c5b6861d83a7640a185aa93c4ebb597ebd6c73953a0fcae869d633dc5a577
DIST gawk-4.0.1.tar.xz 1612448 SHA256 ae0cb9a0ac80686df316fcd126d0da7d1fb6a0acfe043320511c1f212f2ecb47 SHA512 45b4265ca09e281f003ba5d6e489f6c7c2885b2ad1eaf70f23aefb43f442631d1d81b01342c71e9f83b9b371da9f79a102f53dad3e0e776cac817b3d32a721e6 WHIRLPOOL c60567f305f3c73af52109d7d82b6f296642a24943ca3dcf97d4edcbea62f6b4ba4925bf1f08de18ccc2a91536e785efb7bc731a7d398fc6ee45b5c72436c522
DIST gawk-4.0.2.tar.xz 1626808 SHA256 21e1f28c51b5160f0a4bf1a735c6109b46a3bd6a43de808eabc21c17bb026d13 SHA512 069f68b6792521d94d4003764006ad8fbe9a17c60a88212629204d9a5eb3f662903fff6d91dd3c1834597b76c18f9d3231c93a033f456c59c0571ac13eb77b27 WHIRLPOOL 8b2916d964c5fa67a46c0a5fc39d424b03e6b39a3335ad796a224feb760528631199c1ec6ee2b6719bdc014ab190ddf38092211685020c92851d617e6ca08690
DIST gawk-4.1.0.tar.xz 2049080 SHA256 1804d0c7f74fe1e2d127a268d1905aaed0cb237bfb7f124d9ba6adc535143642 SHA512 59364fb82640c0a3d0832ad291d18c82525f400786d1609094bad343992b626eae4609a9830c77d06aa1ef2cbbf1f627a44620ebb7cafa6e945c80f4faaef65e WHIRLPOOL be809ab505a93758bcb0d37403810d9fe93b744c4bcd3c4f878f22393a75657848c8ba71eb2874d7e685513c46ac45961833ca381455f77090a026b2159fe60b
EBUILD gawk-3.1.6.ebuild 3177 SHA256 a681935f280641537d5e83a8b70240b5884e4fbd75faaca3eb44e609acf4552a SHA512 fbbe2d05b766c147cc5e061e0e1a3469096bfa9cc67c9dcaf31bad4f001a1ac1bf607393642c3a7f3fb38e3dca7f0ec1c42d57e99a9b2c15767ba5b2d3db59e4 WHIRLPOOL b54833a30fdf34721d369f2fffa52b42e92c10b5f253d2da87980ac809094478f0e0d605e4255ca3d197bd9965f7768715d5086f2d026d14e088cdb7abce4fb3
EBUILD gawk-3.1.7.ebuild 3116 SHA256 f8c2578b9aeffe062fa48a2474d6cee8b0e5d318173b95cf217ae427008bcf80 SHA512 eec15594664f568e72010f8a6697e40ed4e7805de769d0c32278b9308518651d72aa26b3eed0c36c6e96ba91fbe475a7eeedbc57560a0fbc882bf1ba5e0a92c1 WHIRLPOOL 51cda9b306bee1b824951dd8508d71f8e11fb5bb9117f31752db00d95f260aa29ccfff59bfabc29ab5cce4e060c6d89974854a87ca53f3d7fa95e885c43a353e
EBUILD gawk-3.1.8.ebuild 1880 SHA256 cec219b0a07704d92b9f1c8a6afdade7cd8c38cb58cc563581a103284ec2231b SHA512 a2c3a6df5d61d82a049095792cc6a561ee30ac96b04c04ccbde389638a005cc3bdbad4813140c674b50b52f017beb6fb4e9440fd973b5135c88dbd640abf474d WHIRLPOOL b6a3e7a1aec3b0aa2e1fede6df340e0b8aa3bc49e6ad16a4038e2ef059b10e02a08ddd59d1763dfb5479ca08eab7903b66c04d91a30156999280419d7ba476da
EBUILD gawk-4.0.0.ebuild 1646 SHA256 38b209567247de1a6018d14ac1209c58565fa434c842ab4dca37cbd6ad77bac3 SHA512 a271949e049b3e19bcc372ba15f722cf0bbb1cfe8646e00b79dda22d076f2fb9dec5a61bea6fcac9c148d23a219d560807a66a48b0dee24c33339409698dd6c8 WHIRLPOOL b4627aaf31156e16dc1d53d34053cf4637ca1f974ff90ef4409a0dd3ac09f8472f36863e4f93ba2d01bd4253e56b3ea5975cf887e512c564b926f3dcca405b62
EBUILD gawk-4.0.1-r1.ebuild 2250 SHA256 d44a7e3d7ec0bcab96716cbe0edec950219cdf25e9dd9277aa3b15737753f65b SHA512 972f0b9c18b81f41a33db0767879d25173517e0ebb808667addf5ca786428e8e2de63ea9cf271010c55bec8ef8b7190d4003c437e6a95d2504f247f60bc51fa8 WHIRLPOOL abc20bcb99dc05b115e7cc4e571acb583a34332961dbae035de9d6a0b3505b20cdfd827d9fd44a5349eb86bdce235144b2a3a6dbb1070df22f67c14eb4834d10
EBUILD gawk-4.0.1.ebuild 1928 SHA256 6b61949dcf4c4d9beaf5111e9450e895ca963cb312c1083456bf0f7241ef3ed5 SHA512 6343596920e4f3e84835b315c7f007c702ce5eaf891f1f727f1f4e0919d405d6160dda1acfce9f950eb54b9914915a6ddcb68138eb4ca61984bf70f83d0bb1fb WHIRLPOOL bec75ad5f4094997637a1d7a4872431479aaff51ef39cd41316aaf65a07b5c95c69d7cd3272264cacecc2a79675cf174be51914d1df87e2609cc1ee50172873f
EBUILD gawk-4.0.2.ebuild 2259 SHA256 8a97f5026c2aefbe6afa00dc772986d6f41e4e48b4c1ccd6158f157e42909b0f SHA512 f150ef040ad0b0972ce70de8d2af5ff7fa305838caeb17308cf721c5061a69b3a059c5cbcdfe33582ec22851ce3193ea09143a654472da66b7b0b85be8b6ccb9 WHIRLPOOL 98267c8a267d2884a03b114f7c1bc65b4cfd8ca3016dd704ec43f4872302bd8b8263d8f94b1afcccb9d7736559ec91b7ba1c64e45b6f96944612093a84de76d1
EBUILD gawk-4.1.0.ebuild 2117 SHA256 59a06e035a816fbda0f99eb547789c4ca66b3ed43815844a11eba0f9cd2c0ee6 SHA512 16c2a393da0e252d3e7720c7d861c3180f7dda7ad197f0e00e21602cea00d6d60d6cec918a121c48b08843e0acf225cc53b1bb2e701332a13de24b82250b7cfe WHIRLPOOL 607cd47c2ab3c281ba78322c6b5b68cf2715d6118dc0962478162b70b038140d0f48a559e5b6deaa2de5b2470ee8e3cf9d5389ffa83ec4de399a52f3b114b40b
MISC ChangeLog 21856 SHA256 a55d207ff87dfdbe1c63808a6ed0265182918b1b2265373c5685e367b4283e03 SHA512 9ada79d35d7e435ae4600f49375f841e61d428df65a64ec9d4fbb60839f223b49b7821b40825e6dbe1ac1e9be3c2c3182126921cf7f27ee050d3a59cd8af6b5c WHIRLPOOL 66a6c90ba2322888aef6d7e7ac8bae6028adcef424166ed9ac3c2431dc4031cf57d2f0c30fca7c4c5fce37fd31105a289991c2b983c378676c82d07fd7462ee6
MISC metadata.xml 164 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 SHA512 8eb0d5153d388f6ea069c64b93882244816a0a09aecc0d73cb872121ce0eb24c5ccafa96aad0b620b2300f319e1af101fa7fa6c5d0d561719d49bb07da0a2eca WHIRLPOOL 11a1441bddb7a6c69653c663902b7da5767ae6ad515ac2aabfc42fe37927a1ccc21472deeee454009ff720201a41c3e4a912df42661a0a87150fb46126da2d52
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iQIcBAEBCAAGBQJRkWWFAAoJELEHsLL7fEFWfWEP/RbfwBkhbSaHx7L9QOJ70TDb
W3ph9Vyg6PDZPG8h8Lft16GTWqZL8XO4jRGdahiTDKdtAFGINhs+xy9h8K+jKoDx
NcRKLiGcWd07eLR29sD84thQdHZMa1w2kxuM8HGt+0JjRtTjZVDOHm3+HaTXtXx6
Yq+h/LnsPfK6TUjA51eREGGPBqaDxLQu7qCy5spg8SCefTLUWrvW1p33CI0T2itu
jHEn9XrvUOIj7YRLKjhmkjM2aey8rzScmqb+iwUuUpEWhydPpYGyaOxZaB9WwMg1
FcH5+F160i/s1VBy7plv3QDELtjXBhl/146wNRIK7CyGbNbTp/5b4W5qr0aBDSp6
GS2QtCoyiPlth8xi1n1TxXVMBAbRFbqu0snH4TQGb+B9ySxs24K/0S2bszupp+7C
8hPJKosOA+bzJLr26PTo1JliMnkT/IPx6mKE4ugwBpKBncb0qfnBQHSu/wmX/2RG
iafL1ZcnBCKkaf235mWWWfT2g6clUCQg0v1MlCjMllnxN9FfQJVya8OTCNA70J1B
LS5LzI5ZFpL/ycXKtE6XTMW61eLpy1+nqUDvcQ9BpVTW/1zWFShRYHP4WSJqO+W2
MP319DGD/5dPR5Gau+0FHzePG5tG6aWAGmz7EkQKj4jQDfAiRQogQFWELjok14/X
xqPkWqTnQP9I1Zov/rDD
=20R1
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,47 @@
--- configure
+++ configure
@@ -10518,6 +10791,7 @@
# endif
#endif
+#include <limits.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
@@ -10666,12 +10940,15 @@
isn't worth using anyway. */
alarm (60);
- for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
- continue;
- time_t_max--;
- if ((time_t) -1 < 0)
- for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
- continue;
+ for (;;)
+ {
+ t = (time_t_max << 1) + 1;
+ if (t <= time_t_max)
+ break;
+ time_t_max = t;
+ }
+ time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
+
delta = time_t_max / 997; /* a suitable prime number */
for (i = 0; i < N_STRINGS; i++)
{
@@ -10686,10 +10963,12 @@
&& mktime_test ((time_t) (60 * 60 * 24))))
return 1;
- for (j = 1; 0 < j; j *= 2)
+ for (j = 1; ; j <<= 1)
if (! bigtime_test (j))
return 1;
- if (! bigtime_test (j - 1))
+ else if (INT_MAX / 2 < j)
+ break;
+ if (! bigtime_test (INT_MAX))
return 1;
}
return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());

View File

@ -0,0 +1,57 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Author: Martin Schlemmer <azarah@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/files/filefuncs/Makefile,v 1.10 2009/05/16 22:02:25 vapier Exp $
CC ?= gcc
LD = $(CC)
MAJORVER = 0
MINORVER = 0.1
AWKINCDIR = /usr/include/awk
DESTDIR =
TARGET = filefuncs
TARGET_LIB = $(TARGET).so.$(MAJORVER).$(MINORVER)
LIBDIR = lib
# Gentoo specific cruft, you like it dont ya idiot
ifdef D
DESTDIR = $(D)
endif
ifdef S
AWKINCDIR = $(S)
endif
DOIT = yes
ifeq ($(USERLAND),Darwin)
DOIT = no
endif
ifeq ($(DOIT),yes)
all: $(TARGET_LIB)
$(TARGET).o: $(TARGET).c
$(CC) $(CFLAGS) $(CPPFLAGS) -shared -Wall -DHAVE_CONFIG_H -c -O2 -fPIC -I$(AWKINCDIR) $^
$(TARGET_LIB): $(TARGET).o
$(LD) $(LDFLAGS) -o $@ -shared -Wl,-soname -Wl,$(TARGET).so.$(MAJORVER) $^
install: $(TARGET_LIB)
install -m 0755 -d $(DESTDIR)/$(LIBDIR)/rcscripts
install -m 0755 $(TARGET_LIB) $(DESTDIR)/$(LIBDIR)/rcscripts
ln -s $(TARGET_LIB) $(DESTDIR)/$(LIBDIR)/rcscripts/$(TARGET).so.$(MAJORVER)
ln -s $(TARGET_LIB) $(DESTDIR)/$(LIBDIR)/rcscripts/$(TARGET).so
clean:
rm -f $(TARGET)
rm -f *.o *~ core
else
all install clean:
endif

View File

@ -0,0 +1,485 @@
/*
* filefuncs.c - Builtin functions that provide initial minimal iterface
* to the file system.
*
* Arnold Robbins, update for 3.1, Mon Nov 23 12:53:39 EST 1998
*/
/*
* Copyright (C) 2001 the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
*
* GAWK is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GAWK is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
/*
* Copyright 1999-2004 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
* Author: Martin Schlemmer <azarah@gentoo.org>, Nov 2002
* $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/files/filefuncs/filefuncs.c,v 1.3 2005/05/06 01:35:53 vapier Exp $
*
* Extended with: do_symlink()
* do_unlink()
* do_mkdir()
* do_rmdir()
*
* for use in the Gentoo rcscripts
*
*/
#include "awk.h"
#include <unistd.h>
/* do_chdir --- provide dynamically loaded chdir() builtin for gawk */
static NODE *
do_chdir(tree)
NODE *tree;
{
NODE *newdir;
int ret = -1;
if (do_lint && tree->param_cnt > 1)
lintwarn("chdir: called with too many arguments");
newdir = get_argument(tree, 0);
if (newdir != NULL) {
(void) force_string(newdir);
ret = chdir(newdir->stptr);
if (ret < 0)
update_ERRNO();
free_temp(newdir);
} else if (do_lint)
lintwarn("chdir: called with no arguments");
/* Set the return value */
set_value(tmp_number((AWKNUM) ret));
/* Just to make the interpreter happy */
return tmp_number((AWKNUM) 0);
}
/* do_symlink --- provide dynamically loaded symlink() builtin for gawk */
static NODE *
do_symlink(tree)
NODE *tree;
{
NODE *oldpath, *newpath;
int ret = -1;
if (do_lint && tree->param_cnt > 2)
lintwarn("symlink: called with too many arguments");
oldpath = get_argument(tree, 0);
newpath = get_argument(tree, 1);
if ((oldpath != NULL) && (newpath)) {
(void) force_string(oldpath);
(void) force_string(newpath);
ret = symlink(oldpath->stptr, newpath->stptr);
if (ret < 0)
update_ERRNO();
free_temp(oldpath);
free_temp(newpath);
} else if (do_lint)
lintwarn("symlink: called with not enough arguments");
/* Set the return value */
set_value(tmp_number((AWKNUM) ret));
/* Just to make the interpreter happy */
return tmp_number((AWKNUM) 0);
}
/* do_unlink --- provide dynamically loaded unlink() builtin for gawk */
static NODE *
do_unlink(tree)
NODE *tree;
{
NODE *pathname;
int ret = -1;
if (do_lint && tree->param_cnt > 1)
lintwarn("unlink: called with too many arguments");
pathname = get_argument(tree, 0);
if (pathname != NULL) {
(void) force_string(pathname);
ret = unlink(pathname->stptr);
if (ret < 0)
update_ERRNO();
free_temp(pathname);
} else if (do_lint)
lintwarn("unlink: called with no arguments");
/* Set the return value */
set_value(tmp_number((AWKNUM) ret));
/* Just to make the interpreter happy */
return tmp_number((AWKNUM) 0);
}
/* do_mkdir --- provide dynamically loaded mkdir() builtin for gawk */
static NODE *
do_mkdir(tree)
NODE *tree;
{
NODE *pathname, *mode;
int ret = -1;
if (do_lint && tree->param_cnt > 2)
lintwarn("mkdir: called with too many arguments");
pathname = get_argument(tree, 0);
mode = get_argument(tree, 1);
if ((pathname != NULL) && (mode != NULL)) {
(void) force_string(pathname);
(void) force_number(mode);
ret = mkdir(pathname->stptr, mode->numbr);
if (ret < 0)
update_ERRNO();
free_temp(pathname);
free_temp(mode);
} else if (do_lint)
lintwarn("mkdir: called with not enough arguments");
/* Set the return value */
set_value(tmp_number((AWKNUM) ret));
/* Just to make the interpreter happy */
return tmp_number((AWKNUM) 0);
}
/* do_rmdir --- provide dynamically loaded rmdir() builtin for gawk */
static NODE *
do_rmdir(tree)
NODE *tree;
{
NODE *pathname;
int ret = -1;
if (do_lint && tree->param_cnt > 1)
lintwarn("rmdir: called with too many arguments");
pathname = get_argument(tree, 0);
if (pathname != NULL) {
(void) force_string(pathname);
ret = rmdir(pathname->stptr);
if (ret < 0)
update_ERRNO();
free_temp(pathname);
} else if (do_lint)
lintwarn("rmdir: called with no arguments");
/* Set the return value */
set_value(tmp_number((AWKNUM) ret));
/* Just to make the interpreter happy */
return tmp_number((AWKNUM) 0);
}
/* format_mode --- turn a stat mode field into something readable */
static char *
format_mode(fmode)
unsigned long fmode;
{
static char outbuf[12];
int i;
strcpy(outbuf, "----------");
/* first, get the file type */
i = 0;
switch (fmode & S_IFMT) {
#ifdef S_IFSOCK
case S_IFSOCK:
outbuf[i] = 's';
break;
#endif
#ifdef S_IFLNK
case S_IFLNK:
outbuf[i] = 'l';
break;
#endif
case S_IFREG:
outbuf[i] = '-'; /* redundant */
break;
case S_IFBLK:
outbuf[i] = 'b';
break;
case S_IFDIR:
outbuf[i] = 'd';
break;
#ifdef S_IFDOOR /* Solaris weirdness */
case S_IFDOOR:
outbuf[i] = 'D';
break;
#endif /* S_IFDOOR */
case S_IFCHR:
outbuf[i] = 'c';
break;
#ifdef S_IFIFO
case S_IFIFO:
outbuf[i] = 'p';
break;
#endif
}
i++;
if ((fmode & S_IRUSR) != 0)
outbuf[i] = 'r';
i++;
if ((fmode & S_IWUSR) != 0)
outbuf[i] = 'w';
i++;
if ((fmode & S_IXUSR) != 0)
outbuf[i] = 'x';
i++;
if ((fmode & S_IRGRP) != 0)
outbuf[i] = 'r';
i++;
if ((fmode & S_IWGRP) != 0)
outbuf[i] = 'w';
i++;
if ((fmode & S_IXGRP) != 0)
outbuf[i] = 'x';
i++;
if ((fmode & S_IROTH) != 0)
outbuf[i] = 'r';
i++;
if ((fmode & S_IWOTH) != 0)
outbuf[i] = 'w';
i++;
if ((fmode & S_IXOTH) != 0)
outbuf[i] = 'x';
i++;
outbuf[i] = '\0';
if ((fmode & S_ISUID) != 0) {
if (outbuf[3] == 'x')
outbuf[3] = 's';
else
outbuf[3] = 'S';
}
/* setgid without execute == locking */
if ((fmode & S_ISGID) != 0) {
if (outbuf[6] == 'x')
outbuf[6] = 's';
else
outbuf[6] = 'l';
}
if ((fmode & S_ISVTX) != 0) {
if (outbuf[9] == 'x')
outbuf[9] = 't';
else
outbuf[9] = 'T';
}
return outbuf;
}
/* do_stat --- provide a stat() function for gawk */
static NODE *
do_stat(tree)
NODE *tree;
{
NODE *file, *array;
struct stat sbuf;
int ret;
NODE **aptr;
char *pmode; /* printable mode */
char *type = "unknown";
/* check arg count */
if (tree->param_cnt != 2)
fatal(
"stat: called with incorrect number of arguments (%d), should be 2",
tree->param_cnt);
/* directory is first arg, array to hold results is second */
file = get_argument(tree, 0);
array = get_argument(tree, 1);
/* empty out the array */
assoc_clear(array);
/* lstat the file, if error, set ERRNO and return */
(void) force_string(file);
ret = lstat(file->stptr, & sbuf);
if (ret < 0) {
update_ERRNO();
set_value(tmp_number((AWKNUM) ret));
free_temp(file);
return tmp_number((AWKNUM) 0);
}
/* fill in the array */
aptr = assoc_lookup(array, tmp_string("name", 4), FALSE);
*aptr = dupnode(file);
aptr = assoc_lookup(array, tmp_string("dev", 3), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_dev);
aptr = assoc_lookup(array, tmp_string("ino", 3), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_ino);
aptr = assoc_lookup(array, tmp_string("mode", 4), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_mode);
aptr = assoc_lookup(array, tmp_string("nlink", 5), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_nlink);
aptr = assoc_lookup(array, tmp_string("uid", 3), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_uid);
aptr = assoc_lookup(array, tmp_string("gid", 3), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_gid);
aptr = assoc_lookup(array, tmp_string("size", 4), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_size);
aptr = assoc_lookup(array, tmp_string("blocks", 6), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_blocks);
aptr = assoc_lookup(array, tmp_string("atime", 5), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_atime);
aptr = assoc_lookup(array, tmp_string("mtime", 5), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_mtime);
aptr = assoc_lookup(array, tmp_string("ctime", 5), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_ctime);
/* for block and character devices, add rdev, major and minor numbers */
if (S_ISBLK(sbuf.st_mode) || S_ISCHR(sbuf.st_mode)) {
aptr = assoc_lookup(array, tmp_string("rdev", 4), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_rdev);
aptr = assoc_lookup(array, tmp_string("major", 5), FALSE);
*aptr = make_number((AWKNUM) major(sbuf.st_rdev));
aptr = assoc_lookup(array, tmp_string("minor", 5), FALSE);
*aptr = make_number((AWKNUM) minor(sbuf.st_rdev));
}
#ifdef HAVE_ST_BLKSIZE
aptr = assoc_lookup(array, tmp_string("blksize", 7), FALSE);
*aptr = make_number((AWKNUM) sbuf.st_blksize);
#endif /* HAVE_ST_BLKSIZE */
aptr = assoc_lookup(array, tmp_string("pmode", 5), FALSE);
pmode = format_mode(sbuf.st_mode);
*aptr = make_string(pmode, strlen(pmode));
/* for symbolic links, add a linkval field */
if (S_ISLNK(sbuf.st_mode)) {
char buf[BUFSIZ*2];
int linksize;
linksize = readlink(file->stptr, buf, sizeof buf);
/* should make this smarter */
if (linksize == sizeof(buf))
fatal("size of symbolic link too big");
buf[linksize] = '\0';
aptr = assoc_lookup(array, tmp_string("linkval", 7), FALSE);
*aptr = make_string(buf, linksize);
}
/* add a type field */
switch (sbuf.st_mode & S_IFMT) {
#ifdef S_IFSOCK
case S_IFSOCK:
type = "socket";
break;
#endif
#ifdef S_IFLNK
case S_IFLNK:
type = "symlink";
break;
#endif
case S_IFREG:
type = "file";
break;
case S_IFBLK:
type = "blockdev";
break;
case S_IFDIR:
type = "directory";
break;
#ifdef S_IFDOOR
case S_IFDOOR:
type = "door";
break;
#endif
case S_IFCHR:
type = "chardev";
break;
#ifdef S_IFIFO
case S_IFIFO:
type = "fifo";
break;
#endif
}
aptr = assoc_lookup(array, tmp_string("type", 4), FALSE);
*aptr = make_string(type, strlen(type));
free_temp(file);
/* Set the return value */
set_value(tmp_number((AWKNUM) ret));
/* Just to make the interpreter happy */
return tmp_number((AWKNUM) 0);
}
/* dlload --- load new builtins in this library */
NODE *
dlload(tree, dl)
NODE *tree;
void *dl;
{
make_builtin("chdir", do_chdir, 1);
make_builtin("symlink", do_symlink, 2);
make_builtin("unlink", do_unlink, 1);
make_builtin("mkdir", do_mkdir, 2);
make_builtin("rmdir", do_rmdir, 1);
make_builtin("stat", do_stat, 2);
return tmp_number((AWKNUM) 0);
}

View File

@ -0,0 +1,47 @@
Ripped from Fedora.
--- gawk-3.1.3/main.c.getpgrp_void 2004-01-26 12:08:26.000000000 +0100
+++ gawk-3.1.3/main.c 2004-01-26 12:15:22.000000000 +0100
@@ -874,14 +874,11 @@
PROCINFO_node = install("PROCINFO",
node((NODE *) NULL, Node_var_array, (NODE *) NULL));
-
#ifdef GETPGRP_VOID
-#define getpgrp_arg() /* nothing */
+ value = getpgrp();
#else
-#define getpgrp_arg() getpid()
+ value = getpgrp(getpid());
#endif
-
- value = getpgrp(getpgrp_arg());
aptr = assoc_lookup(PROCINFO_node, tmp_string("pgrpid", 6), FALSE);
*aptr = make_number(value);
--- gawk-3.1.3/io.c.getpgrp_void 2004-01-26 12:08:36.000000000 +0100
+++ gawk-3.1.3/io.c 2004-01-26 12:16:04.000000000 +0100
@@ -1422,11 +1422,6 @@
return 0;
}
-#ifdef GETPGRP_VOID
-#define getpgrp_arg() /* nothing */
-#else
-#define getpgrp_arg() getpid()
-#endif
/* pidopen --- "open" /dev/pid, /dev/ppid, and /dev/pgrpid */
@@ -1440,7 +1435,11 @@
warning(_("use `PROCINFO[\"%s\"]' instead of `%s'"), cp, name);
if (name[6] == 'g')
+#ifdef GETPGRP_VOID
+ sprintf(tbuf, "%d\n", (int) getpgrp());
+#else
sprintf(tbuf, "%d\n", (int) getpgrp(getpgrp_arg()));
+#endif
else if (name[6] == 'i')
sprintf(tbuf, "%d\n", (int) getpid());
else

View File

@ -0,0 +1,28 @@
Fix broken Info files produced by texinfo 4.11
http://bugs.gentoo.org/249130
--- gawk-3.1.6/doc/gawkinet.info
+++ gawk-3.1.6/doc/gawkinet.info
@@ -1,7 +1,8 @@
+This is gawkinet.info, produced by makeinfo version 4.13 from
+gawkinet.texi.
+
INFO-DIR-SECTION Network applications
START-INFO-DIR-ENTRY
-This is gawkinet.info, produced by makeinfo version 4.11 from gawkinet.texi.
-
* Gawkinet: (gawkinet). TCP/IP Internetworking With `gawk'.
END-INFO-DIR-ENTRY
--- gawk-3.1.6/doc/gawk.info
+++ gawk-3.1.6/doc/gawk.info
@@ -1,7 +1,7 @@
+This is gawk.info, produced by makeinfo version 4.13 from gawk.texi.
+
INFO-DIR-SECTION Text creation and manipulation
START-INFO-DIR-ENTRY
-This is gawk.info, produced by makeinfo version 4.11 from gawk.texi.
-
* Gawk: (gawk). A text scanning and processing language.
END-INFO-DIR-ENTRY
INFO-DIR-SECTION Individual utilities

View File

@ -0,0 +1,67 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/gawk-4.0.1.ebuild,v 1.10 2012/09/27 02:02:47 blueness Exp $
EAPI="4"
inherit eutils toolchain-funcs multilib
DESCRIPTION="GNU awk pattern-matching language"
HOMEPAGE="http://www.gnu.org/software/gawk/gawk.html"
SRC_URI="mirror://gnu/gawk/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="nls readline symlink-usr"
# older gawk's provided shared lib for baselayout-1
RDEPEND="!<sys-apps/baselayout-2.0.1
readline? ( sys-libs/readline )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
src_prepare() {
# use symlinks rather than hardlinks, and disable version links
sed -i \
-e '/^LN =/s:=.*:= $(LN_S):' \
-e '/install-exec-hook:/s|$|\nfoo:|' \
Makefile.in doc/Makefile.in
sed -i '/^pty1:$/s|$|\n_pty1:|' test/Makefile.in #413327
}
src_configure() {
export ac_cv_libsigsegv=no
econf \
--libexec='$(libdir)/misc' \
$(use_enable nls) \
$(use_with readline)
}
src_install() {
emake install DESTDIR="${D}" || die
# Keep important gawk in /bin
if use userland_GNU ; then
if ! use symlink-usr ; then
dodir /bin
mv "${ED}"/usr/bin/gawk "${ED}"/bin/ || die
dosym /bin/gawk /usr/bin/gawk
# Provide canonical `awk`
dosym gawk /bin/awk
fi
dosym gawk /usr/bin/awk
dosym gawk.1 /usr/share/man/man1/awk.1
fi
# Install headers
insinto /usr/include/awk
doins *.h || die
rm "${ED}"/usr/include/awk/config.h || die
dodoc AUTHORS ChangeLog FUTURES LIMITATIONS NEWS PROBLEMS POSIX.STD README README_d/*.*
for x in */ChangeLog ; do
newdoc ${x} ${x##*/}.${x%%/*}
done
}

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>base-system</herd>
</pkgmetadata>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,52 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
AUX default/useradd 96 SHA256 31aa2cbe4a34a9f7d4d134c1fecd007c9bbf4d40e19d0dcddbcd396f1853b490 SHA512 87b01ac88c2065392fa988871489d8403ef93341b4cfbadb4504f39a2a3396ddef756efc6378868d00627a58a1feb9612eb52a8135558a211a09c6a9ccf3404f WHIRLPOOL 9022a371e34e96a4c3193f24752979da27cdcd60aec1c8db1d2b427ab880b16917578ddcb4d8af02fd1d0eedc6b346cf43d7ae892e8580321e32e50f5498980b
AUX login.defs 6254 SHA256 b7bfd7b1c34ce3d35865b572abc69d278dea4eef4f349c26b238735547c4ac22 SHA512 7d21d6f72693e5485bde8bbf18a66b3aefef58fae057825fa84beeb548b78d7e12c00149d9c63a5fbdc32daaf1ee5bfa57f63b523b391562d4d2e81a6c06cf27 WHIRLPOOL 756549cd21f0101c861ece9194405a13a1fc4e7c3b9bae080103a3e1bb94b5073d90904d63c7c25fd2f02ef1c4a0d43b9eac4879adc0e1ad4ade4d2ee4532ab9
AUX login.pamd.3 190 SHA256 1009e196b630dae5d1f40b1cc6ee42a38ecdb7c2cd4bfa40fb7114ee74e0bfd0 SHA512 7181fcdf5dc798230f482cd52827680839f054f79d67498bbdbc20d9926752d34858af37d0b5afc28be9ef5247ad884e027d6ccf29ea0f69ba75a6cdd80918f1 WHIRLPOOL 63012c9e4899f644e2f91fa31348d76718811035e42e5a94425a1e9689b8a67f92e11228b629ce70b9114a44ce4bdf54770fb6805aaacbc4beba4ab302589b24
AUX login_defs.awk 738 SHA256 6ceb9e03c2f7df817f3162de48886c9c66a596cb2af98fbf523c93e26840113b SHA512 06a19785c55dd7b389342535c3dd9f56114eba54e27c415d921b8598f9862bad4c8d1b251bd0eb036ecefdf4124c444f30c504d7921d93dab3a0eaea03625f72 WHIRLPOOL 047cc78b7faf93b4508efa3f6238d2c013af4cffc920a7ffc0f0197d69cb301189f32ae2d74a9dceafea4999a33e0656dfd43aa4f791b5855e12a553e770ccde
AUX login_defs_pam.sed 479 SHA256 587239d5b1425c5766f10cea5352b325699fb35829d9375bda68bbfd74f1d839 SHA512 c4bda7776b5a0bdaa8e7e36c09fb005699cf8b1ef5b474021f7e95d98e62a39aebd354dcc8ad0c49316e8e5d0123429b893c3ff9e4024c18ac0e25b4ab4b45ed WHIRLPOOL a6c5ce16824dde56b4ae899cb9b8effc9b7d61133e88e262a22a5e0db080c85ead15d6d9a13c5583b6e55b368ffd890bf037a3957ce6071b370dd7fb50d63bf4
AUX pam.d-include/login 245 SHA256 39bbe2ed696a22c7549a39a7cfd47c16e347e5af4fd71b8c01ec87fce59ba0a0 SHA512 87a503ed5df2c522cbf97dcb7f6c252fe9e6e4a4fd34e6641b5cbbaebd2ff4a4d861eeadb0196c7cb30717db8fa2194072500af2336f4b81d4bd87b106699c35 WHIRLPOOL 85a34f81ad9337d06c3162c4c897d8e20f26e9ad9eb399adf11e5eea4538d274ecd9498da37a4e374521d480eadcbcdf98b1991a79580af6e8bb1890f6e02f2f
AUX pam.d-include/other 142 SHA256 5e05df2743ec0021364b05f4bbe2e5a3a670abb5af845c3fa760731e5b7272ca SHA512 639db65a3f573e5d800790931ddac0f378a2d678338ff45068b9f5dda8aa9ebd858fed86c0c1e4f45c2ce3d04e3d8d4ec4ced57837a54e3c18e209711cfe2522 WHIRLPOOL ea34f5db2897fc506c63d0e0a2efc20d5f8c7b1f7353d1ab98c5becf8d0e73c1299a357114412376f17b42f43e0f1685810afe5dc86f42a400b86d7f9a314936
AUX pam.d-include/passwd 144 SHA256 8c54d2e3aab50b2a8d3d36aa37f7d7bb32c15d9a3af9a10b7ec5b5ffcff9a5fb SHA512 31611a08d97cd2c129f18d451a555ff6c781f91603c77fc0c66ff406b5fa4a97db19ae4ce104816a6324529d10e131de0d5329646bdab2abc8dc3ee5b82b057f WHIRLPOOL 879370adfb6a78c0acdeebf2c10a503d94925c34dceadb8677693f6c34e4e973f2584b221a9a81fdf23f084c430bbafa23a03440c1a95c798b58faedf4d412bd
AUX pam.d-include/shadow 152 SHA256 7fc1ccca85d2b1ac4dad9909792453c8d26e9aeab48c620d861a92b9355ac69f SHA512 d07611c350d0d6f3386db5080c80a84e4135cf33e44fd3a390cb1092e034f9bd2a69495fadd4bda6ede9962e9658e77f2c8e12d3189cdcda6c7b3c607336f0c3 WHIRLPOOL 2b5282f983b5bf52c0311c2153dba2d12f6c07ae803d1723010bf4bbf4962d120aea026d32b1f3b062778da5222e7cb16dc39660e53b72173fba723a57b616de
AUX pam.d-include/su 1059 SHA256 63a6a6fb6194f4dff8fdd16214a563242a4ea6cb682f49af337378dfddaf2962 SHA512 c9535434437221fad058b9fad878da13f3a3d4fc9290e4a7366e6d4dab7e320ac40de297bcc874fbe83e50b5ea29c5aac39d7d250632f045d964150604381550 WHIRLPOOL 33283dee1e71ae36112c72d36852680291bab919158e8faab478f7fd32035732b2cf62d83df373fa06869d3c84f05b34477598e776f8e65a39dbc0ef8a2c3724
AUX pam.d-include/su-openpam 249 SHA256 8d26b735b1b5aa598fc29a88a2d52eeed587210dd1dbd3180ef9bb440a3375b7 SHA512 242328ac89744a5178fdf904b4068d358e07a3ab69035ed586de05ae31a59a4d9929ae6e5f3aa0c60b61b22d8df8584aca47e3f682416979e89d4c7dbc76bdcd WHIRLPOOL 3f7e52c38abc07d9d289edc0b6b31ea8d5d84520e737f4e289e75c5df965eda424f0a4706bb3e5fd6e556b274a6472dc5ca90ba23d17f609ae1311b013b0aef7
AUX pam.d-include/system-auth 380 SHA256 704c07b9bab8201d55d80970e5a086ea35d93d62969aeb27ee9ebef85a029ed9 SHA512 4a359425064711a4194cff517175f708c829e6f1ca24a77ce38eb10482a8ca5a7ac1f9e25ce301d1f0278963768483344d6caf0548685eb33019f8d4a7d4f847 WHIRLPOOL 8607d4d2a12ac3252902c5a5c592b07903e843a8ada2ed87bf589ab9ab358eef9734a5294862baa5558eef1381c5a77c4fd3e62b1bb9898232aab78f60fbe5d3
AUX pam.d-include/system-auth-1.1 365 SHA256 e073f573c88515cf38fb22faa26ccf87d55d34e6d460d28ad25682958de4c13e SHA512 3633aff2be598a108d75bd5c2b92b399f0b244327be54ff29d498ef8f95107d0c39a62ffe983e19198d54540c36c028316b628081abf5e8f85cb946db41055c2 WHIRLPOOL 1cb61620c3fbc8ada4676b04d9e38da345f300e1115a13f81790decaa57d56d6d8ada8d1fa12c1857b0ea3591583cb9fa6f195237ebfa1e0ba48e667defa2c5f
AUX securetty 262 SHA256 9bc3c187d5535ebe83cf22129b7189a9d8e4c05520af187bff6cff4d8f083c67 SHA512 d841f00a4c83e9672ec3620cdff73f2cd02a1a9e883115b329720b5f6ffbf6faa0ff8ac975f1494f7ad07f0ffa91f6eb983a617e604af67dd46062069b09f7f2 WHIRLPOOL 4b7ee107532d1a2e528745c5e3dcb770fc54f7f2a7dcc0f706613e5623f9a5521ee808900a5ffeb68073d9787ebe08606e6eaf95cdb400c9490b0da3614deaa8
AUX shadow-4.1.3-dots-in-usernames.patch 302 SHA256 2299ffaec204d20e00d791bf5b982571c9261a74c7a7b865a9f7cad1cdcb43ba SHA512 ad20fb3f4f0292f39b5da796e41df71e9e8b1b81dd11a99b2d988440c1b435b0061333a0a5a37a909598d5a840a75946e8c59c74426bae7452de88cf673a5f7d WHIRLPOOL f0258b24f7731ab7b15a1fca391593c8bbd6bdf2ddad57af1d7960d05af49bc5b706039caa576646cb3d817d2d4ad8e89526b12fe046301c63c1518d01dcf173
AUX shadow-4.1.4.2-env-reset-keep-locale.patch 436 SHA256 5dd113c5cc0ea77dc8d8903b8c327b3b5e2cc9a529306ca85651631f06652e8f SHA512 aea56eae416d4f7d415486dd8c897130ff364fc6e227af7099998718d50e8d306862d17c1038fdce73ca4409bda6b269dc6592a3e74c4cff3fb623d82b0a35f9 WHIRLPOOL 4e306521cb13933da3eec1f93cbddeeede36c69eab680d7a2dd664552b6072f2784d00ac4920868f6e01d8ebbcf505ae2ea54283610afa307a2e6fd3a1429aad
AUX shadow-4.1.4.2-fix-etc-gshadow-reading.patch 570 SHA256 091effa9c0336ffdc269d60a26af707b21ce849bdec7128baa21ce2bb5cba6b2 SHA512 6ac87a999188471413b124739228663712289aab929a883dc1e9153040886dc411fbf61080f84fea6ee0d56c8fc715a2a316bdc2260900856917c3b328a7b5e9 WHIRLPOOL c9f4210efdf8da9cf8bd92f58533a6575a12e5f6571e24888bd87ee11066c57ba6ae719f0471df5d3d659d6e78a05babc5345bb23506370054c4a0d6925266d2
AUX shadow-4.1.4.2-groupmod-pam-check.patch 689 SHA256 ad60c0c26b70007750da034223eca38f1a98512fc80ce2fe40440e31a7585c52 SHA512 964bcc8ae71e66d121a270b204588446eaa87b21355e6c029818fe29b7b24b9dc1849ca6dfd9d4c1f661cb49b93df13c522ff3092b645d188849323f6c848c17 WHIRLPOOL 16cbf1e1dee1a4577867b71ec4c847d9005455cc562f047b20c7aa750b7cee1ea4a2e024a3369b64950455c03b600156bd865f64692953f2fb1c7f8ba12b77c7
AUX shadow-4.1.4.2-su_no_sanitize_env.patch 315 SHA256 675098bb3dca4d8ac78e6c1c4ae7f513cb4017583b34b6b4d67611578bff8723 SHA512 91fb6a6ba77fb069e12785bd88394c737fc04d9cded50c3851e031506a9021384e975a95775ac1c381ab026b5e06aae9687dda5e163fa45e69221096519679f8 WHIRLPOOL 16831cc3e9f062e790cde8c78a919e64c6be15b5c28e060e5ea866c4a4f24329b53d2a20b577ec328ff4dd910c23c81cda1dfe71d7414ed925826d8415a1f73b
AUX shadow-4.1.4.3-dup-install-targets.patch 695 SHA256 8d8cebd032acb9f20a1ff99d8db2b95952ebb8a3592a7b1088364ed88cf70d11 SHA512 4ec5a936b315c8d556ede610ed47be599ae34207f4360014a66d149d542966d23e2af5b1a8255c5c63529317e8428af5979a62d1a2a2261b14a6333159b53607 WHIRLPOOL 0ed0e3bd457c2538389cfb5b3d36d646ff11443a5c72c2db74dc212e4140aa414d35d62fc989155aaee69ffd3047f3850d7b2f29daccd43bbe5f53459d38cf9a
AUX shadow-4.1.5-grremove.patch 1664 SHA256 626536837e0cdc6903200de0d63b23c5a0d4a88f8d9b668e830a7035ab5f7e01 SHA512 a9d5bb16307fe40f50ee2e921bcf833220382d108f68ca1f973955bd77820e4987b435420bb0dbf8d9da5f6d7f52a1973bd566bf1868e5dacaa6635f69b3b934 WHIRLPOOL 8c20548471577ed5e1b6fe894af4b7dc4fac15c0dcb3cc02972343556d5113e8d9e8d97d1a91701df352f2dbd48c8a2416e1c70221e7cc5f9d913e85d41bd57e
AUX shadow-4.1.5-nscd-ignore-exit-1.patch 988 SHA256 b44d1706553f084b9949467c10be17661d8a01dda308f323ea14e406caf84347 SHA512 19c604b48c3a78086248f01307c425fc1265d3ed5ee13ac783ff885f6ea019d28918df6d570c927c5ce5a5f5e003ff089553db1964661f3fd0b70812f57bb324 WHIRLPOOL 2970ded35b1ceda3b103bb8b30b6bdff5741e325a935919c3178bf378e04f5e279b2c65b1096698843ca56320f80742c3713624abea19cb35b0232a089aa673e
AUX shadow-4.1.5-nscd-newline-msg.patch 1332 SHA256 37142316d0c06584801d65e902798108995d59f52eda8c76d322479a31c9cff1 SHA512 d1e155fcb82b5ce5531fa76385576feced1c9d520cd18a62d9af418a4403c72a7e47155e5535d3182a8f68f960188eadc211d1017e1df6637f0217398d8b7774 WHIRLPOOL 36b1550b3b41597bf302236f1bc8bda675e51c11797d03210ff1c8a61d1b4a27486cfb614997688ffd8f384a1d76a746d50c50ed17a1f4348d040093b402e961
AUX shadow-4.1.5-selinux-groupadd.patch 703 SHA256 62cce19aa1c702bc099948e694166f19d057849a6fdde99ffea52a4e3e2dab99 SHA512 a9c258b3b316abe57e85c556edcd37a1cea18f9125273ca7c79c136fb256f6847d0d4c5a78155882900ce280c83aac6ba1f428c9b3aaa020d7cf35a13409ffb0 WHIRLPOOL 1c301b32f6bb5927fac5626a724446ac1a865234dda5021dbdb908607b2887a534c2499246ef355888b5d0c6fcf8111faa2fa5bb6c5b33eebb3132c916e6120a
AUX shadow-4.1.5-stdarg.patch 1137 SHA256 9280f8337651dc25f22f52acd8f4467b592d1f664bd35ce1f2f431335b1aef5b SHA512 aeda218afa859c9b121f54500be4bdf3676386448c04cffda3ec4aefc4b7fdd8b7e2b5e24545dad2d64fc7748cc68bdce337931d7313d608df0b153330f9912a WHIRLPOOL 42dd1686196f503950905d40728f8e74a75b64014e39cb5d3ed8aa379718a7c00893a1ef8834e8aa887807a4a08556464e0d2b65b79e2e7a0512d89e79e358db
DIST shadow-4.1.4.2.tar.bz2 1790400 SHA256 97987f6a7967a85e6aa0dba2a1d52db8bd69af5a717391de5693db768fb78990 SHA512 d18f60b892e9a1e7599090e8b8f65537b03258b6124b3dc0333ad0a21c78e1e1331435e08b391d6ea559d04e45319a19d18da6837af9d1ba7f423ca08cc06d3f WHIRLPOOL 8faa9ccc438c86e734c1a8fefd89a27a043beebd87018fed0e1bf82181c52568a75c003c9aa9ea28fc2c0137f2130d101b1221be55aabe7cfaf3248e3ccd06b6
DIST shadow-4.1.4.3.tar.bz2 1804034 SHA256 633f5bb4ea0c88c55f3642c97f9d25cbef74f82e0b4cf8d54e7ad6f9f9caa778 SHA512 b9707d8bd4a934461898a2474bda8e66a3ec92b450236f0f4a6a13a7337600e816e972de51beed7833f16ba056b90e56af9cd971f90172e440daabce2cc53859 WHIRLPOOL 723c22933d256556b84c91e72eaa6f2ed1caf66a85b53b224176e84389be0d89ba7e8c84c3d3a31157a339aa3a302604bd965af69ad3d675f281caf96d6b1e22
DIST shadow-4.1.5.1.tar.bz2 2193325 SHA256 aa32333748d68b58ed3a83625f0165e0f6b9dc4639e6377c9300c6bf4fe978fb SHA512 c3bc605de1ca5b774b80d0d92cef5d4c0d5b4a206acadcf5a819f195453093bfe7990d7e32b98799180847ae4fadecfc7876c8ee7297f343acce2230d805d02c WHIRLPOOL 08751597b5b57057f0a3141be97204df49fada25adf0a9f43106a4099ce1b06fec6e90592e43ff1d789bf0a7e16a40b45f29830879ea5c71e9f5a1a81e7a7357
DIST shadow-4.1.5.tar.bz2 2155227 SHA256 e3c1ac70fa08d932777639c861155dc61024c2d4961e76f0d07fd239ba10cd87 SHA512 c830958bf25f633ac41273acac62a62d755ab8fa4e9d01b9498fe4701890797bf81fef6a8bd5cabbd052ca33a9b8fb20072f40f97dcb9efbbf8ae0e1cccf8df8 WHIRLPOOL 2e0c3bdedd3c898f3b87ee10224d81e544636e2e5190685ce7e045f35cbf63e77b59f8d5657a923156ee927a4e705ec1b73bf6fc1bc556848bb0fbd0c0cfe916
EBUILD shadow-4.1.4.2-r6.ebuild 5321 SHA256 4a77c13904a42a146ce4c6becb1d98c692491947b45e249cf615c2bed88278a6 SHA512 48d55fa1bd570adee8e0a79d6b68bf7126d36c6c7ca5758e1debf4a17c97fc300f5bf17e556353965c4c789ecdf7634b46c7396278d26002729657849b688b22 WHIRLPOOL b9dbf818cec4f2b897ae977f126a10d6e428233724afdba70730372e29e4e3692cbec245a7cd4524982c94afd2e1715a7bb537149aeb338d504cce1915406a97
EBUILD shadow-4.1.4.3.ebuild 5444 SHA256 88ed1044474e017ec791096b5960b8d98874c3209261c5eae813c121a5601d84 SHA512 55fca2f5c627ce81bebc7f526f0027873ed961a89bbc79c458565d4d4e2d209e22db3aa0a3cc774d1730613468ddf7752ae7db4a1877dcb361d8c06eb1d5a594 WHIRLPOOL c6a439b7a96dd5797106ff7068ef2266b8966b2a478a51ea876b374116cd22a26b765d6fd068efb1219ff5f0cb0ef121bc9e904c39e1850036e45d987e694d40
EBUILD shadow-4.1.5-r1.ebuild 5360 SHA256 ec2a2254e09045e849659033998c1a088a6461efd48d8ca3ad055a831684ccf5 SHA512 91c9c9c71d6d78e862ffde4536bbd9c35e88f409041fe35c817cf29f7276681d85be233789d918e053e89960a8c77e4c2a3327f7d8ab63c6958e9bd0c27c62bc WHIRLPOOL 60b1a0b8b9a1099f66d83eb275eeba01b72d5d205cf61592006886a248f7dcaf19eccec6023cbcba229425f8e784d3ae21bd10f936ed0fcfbdf27d7f48b034f6
EBUILD shadow-4.1.5-r2.ebuild 5508 SHA256 8b2b1760a10f254493042805971e4e3a2933e2c56e04b00351b982a87bdd232d SHA512 1efcab09419e228ac0f10d292a54412535abe3ba05296fc11734c1e6f0b5264c71511bcceebc38c6f3c4198dc433b46db421575676aaec96cee1a464455c2e69 WHIRLPOOL 551e965d7e5552fa7cf6dcefb233a851afa5f66bed1e944ca915aa46bf51c2fba43694b33e1c58774c018a7124eec46d11c0a23650da0b0f89213962ced79883
EBUILD shadow-4.1.5.1-r1.ebuild 5292 SHA256 d013ff5e638784185a2451484fdf07c396f87fd6a563b2a982ca125a686e25c1 SHA512 45e8e9b1fbc669b831a47ce9d8fb56ad1a32e232596e9f8d2f57deb732ef782c88584f8172f4f1edb490da649c85746211d2b964e27d12979fe3bc107fa52d37 WHIRLPOOL 2133aa74e9b6c9dcebd5e07cf491779badb853cb48f5db0667243c1abeea82865b9ab8a5e20efce77a398033238a24dc022a6957347526223b479aace4a6151e
EBUILD shadow-4.1.5.1.ebuild 5286 SHA256 0da36c171e0162b095d0a878368c4f4653752800ae404372ace676c79013b4de SHA512 67279b2c87d3dc7d7058696b365e3fe499a6e56c461972a3b94fa0ca5989a30ef63e74946156408275af2fdf88ff75410e4cf0c62bd8b22b26d362bea01ecfd6 WHIRLPOOL 86663847683e2724247105537a496be93310aa8e58e09fc3cbcec718f63eff5a4c51f6d81f2906dfc3271a6a7cd6d9ef0f94ccf1e463e1cfcd94e7c88816e5b9
EBUILD shadow-4.1.5.ebuild 5316 SHA256 3d721e963aebfde2d9c74be7eed0cae750eec4f2957e88c41920de7279bcc390 SHA512 646ceb6e2bb06925c9c87c4e94d7883c24138cfe2209c4e5967a6d9746b8b07b403315de3e5703052b41a73d4eb750f8a73aac0c98e54caee283ac5e30351a58 WHIRLPOOL a8471ffd7138b4feab5b0d6c7dc30425feee10b2c2ac5d5657f85061b089d432a988d4f3bdcaeb31e3f43e37d893ac24f9ab7bdbffd91c78a47dcb3c6edcd751
MISC ChangeLog 46966 SHA256 3203527e52234c7e21c940969e34b5c85ccba3d22e3ede48b735272a46b7069c SHA512 73f2131ecf125d054443b0391f36995c3ffaa2a64313d58df05d771450e2f8c2cd83f2a90d9b87bce0669c06d4db4919cdf416720d6af586750e4e09beb45a9d WHIRLPOOL c182c4070f43ea9950e7f20e4a50e92bda4bc75acfa3aeeff814bc447697f3d0b1a11298706990a6ff2d7aca1f273fdfe403bb0957ab24fa83438b7508ca6452
MISC metadata.xml 295 SHA256 70669ae3eafc9eb73e2f493b1286a85c11d3d11b6cd565413eaf929dacff57e7 SHA512 a949e632dbd07e1fe5c045b2bf8628a1423b1981d16b46546a8e024ee35137e02ccf82013c082bdfa59d57af8de45e64f6c90101d863345a6a93b73cf61b9c97 WHIRLPOOL c9856f6a219ae62fee0ac98aa0eaf13ce48e06f864dc0648bad3da640a52c3942e1787a0da9842ca4f1984ecd163e93d724cfb489d3059f8cb73701435cabb9f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iQEcBAEBCAAGBQJQ2I2WAAoJEBzRPIrUMBNCVj8H/0BXoG6j9K3uVMemPOBD7d7L
4bidToyY5BG5MDonkpJq0g4lYUijAta6vj6wNzKtXlBBWBTGYLlbM8uWIfYysG7D
K8W221tjBDMCUhc3p7vJQ6GjbOcSwOAifb7k3Dy+piOlaihQxzQcfaRJ/kzIXOaI
4kyfUVOCixeF3tlQq/lNVpTPgttPiT4L0rKoYxOlyYXz9yyXg3HvrVhMMpnwuqgi
DtQBEBZ63cEP5so7xECnzT/ciKwN09s0EsdJq7HLRtKH9RFjX+tEI3N6w9vPs3E6
8MhhGsuc+rEiD7capaaaFKKJo3KBgqiMvJzi6T9BHcMV8p4ypipHukLnZ/8f420=
=zCcN
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,7 @@
# useradd defaults file
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/bash
SKEL=/etc/skel

View File

@ -0,0 +1,212 @@
#
# /etc/login.defs - Configuration control definitions for the login package.
#
# $Id: login.defs,v 1.6 2006/03/12 23:47:08 flameeyes Exp $
#
# Three items must be defined: MAIL_DIR, ENV_SUPATH, and ENV_PATH.
# If unspecified, some arbitrary (and possibly incorrect) value will
# be assumed. All other items are optional - if not specified then
# the described action or option will be inhibited.
#
# Comment lines (lines beginning with "#") and blank lines are ignored.
#
# Modified for Linux. --marekm
#
# Delay in seconds before being allowed another attempt after a login failure
#
FAIL_DELAY 3
#
# Enable display of unknown usernames when login failures are recorded.
#
LOG_UNKFAIL_ENAB no
#
# Enable logging of successful logins
#
LOG_OK_LOGINS no
#
# Enable "syslog" logging of su activity - in addition to sulog file logging.
# SYSLOG_SG_ENAB does the same for newgrp and sg.
#
SYSLOG_SU_ENAB yes
SYSLOG_SG_ENAB yes
#
# If defined, either full pathname of a file containing device names or
# a ":" delimited list of device names. Root logins will be allowed only
# upon these devices.
#
CONSOLE /etc/securetty
#CONSOLE console:tty01:tty02:tty03:tty04
#
# If defined, all su activity is logged to this file.
#
#SULOG_FILE /var/log/sulog
#
# If defined, file which maps tty line to TERM environment parameter.
# Each line of the file is in a format something like "vt100 tty01".
#
#TTYTYPE_FILE /etc/ttytype
#
# If defined, the command name to display when running "su -". For
# example, if this is defined as "su" then a "ps" will display the
# command is "-su". If not defined, then "ps" would display the
# name of the shell actually being run, e.g. something like "-sh".
#
SU_NAME su
#
# *REQUIRED*
# Directory where mailboxes reside, _or_ name of file, relative to the
# home directory. If you _do_ define both, MAIL_DIR takes precedence.
#
MAIL_DIR /var/spool/mail
#
# If defined, file which inhibits all the usual chatter during the login
# sequence. If a full pathname, then hushed mode will be enabled if the
# user's name or shell are found in the file. If not a full pathname, then
# hushed mode will be enabled if the file exists in the user's home directory.
#
HUSHLOGIN_FILE .hushlogin
#HUSHLOGIN_FILE /etc/hushlogins
#
# *REQUIRED* The default PATH settings, for superuser and normal users.
#
# (they are minimal, add the rest in the shell startup files)
ENV_SUPATH PATH=/sbin:/bin:/usr/sbin:/usr/bin
ENV_PATH PATH=/bin:/usr/bin
#
# Terminal permissions
#
# TTYGROUP Login tty will be assigned this group ownership.
# TTYPERM Login tty will be set to this permission.
#
# If you have a "write" program which is "setgid" to a special group
# which owns the terminals, define TTYGROUP to the group number and
# TTYPERM to 0620. Otherwise leave TTYGROUP commented out and assign
# TTYPERM to either 622 or 600.
#
TTYGROUP tty
TTYPERM 0600
#
# Login configuration initializations:
#
# ERASECHAR Terminal ERASE character ('\010' = backspace).
# KILLCHAR Terminal KILL character ('\025' = CTRL/U).
# UMASK Default "umask" value.
#
# The ERASECHAR and KILLCHAR are used only on System V machines.
# The ULIMIT is used only if the system supports it.
# (now it works with setrlimit too; ulimit is in 512-byte units)
#
# Prefix these values with "0" to get octal, "0x" to get hexadecimal.
#
ERASECHAR 0177
KILLCHAR 025
UMASK 022
#
# Password aging controls:
#
# PASS_MAX_DAYS Maximum number of days a password may be used.
# PASS_MIN_DAYS Minimum number of days allowed between password changes.
# PASS_WARN_AGE Number of days warning given before a password expires.
#
PASS_MAX_DAYS 99999
PASS_MIN_DAYS 0
PASS_WARN_AGE 7
#
# Min/max values for automatic uid selection in useradd
#
UID_MIN 1000
UID_MAX 60000
#
# Min/max values for automatic gid selection in groupadd
#
GID_MIN 100
GID_MAX 60000
#
# Max number of login retries if password is bad
#
LOGIN_RETRIES 3
#
# Max time in seconds for login
#
LOGIN_TIMEOUT 60
#
# Which fields may be changed by regular users using chfn - use
# any combination of letters "frwh" (full name, room number, work
# phone, home phone). If not defined, no changes are allowed.
# For backward compatibility, "yes" = "rwh" and "no" = "frwh".
#
CHFN_RESTRICT rwh
#
# List of groups to add to the user's supplementary group set
# when logging in on the console (as determined by the CONSOLE
# setting). Default is none.
#
# Use with caution - it is possible for users to gain permanent
# access to these groups, even when not logged in on the console.
# How to do it is left as an exercise for the reader...
#
#CONSOLE_GROUPS floppy:audio:cdrom
#
# Should login be allowed if we can't cd to the home directory?
# Default in no.
#
DEFAULT_HOME yes
#
# If defined, this command is run when removing a user.
# It should remove any at/cron/print jobs etc. owned by
# the user to be removed (passed as the first argument).
#
#USERDEL_CMD /usr/sbin/userdel_local
#
# When prompting for password without echo, getpass() can optionally
# display a random number (in the range 1 to GETPASS_ASTERISKS) of '*'
# characters for each character typed. This feature is designed to
# confuse people looking over your shoulder when you enter a password :-).
# Also, the new getpass() accepts both Backspace (8) and Delete (127)
# keys to delete previous character (to cope with different terminal
# types), Control-U to delete all characters, and beeps when there are
# no more characters to delete, or too many characters entered.
#
# Setting GETPASS_ASTERISKS to 1 results in more traditional behaviour -
# exactly one '*' displayed for each character typed.
#
# Setting GETPASS_ASTERISKS to 0 disables the '*' characters (Backspace,
# Delete, Control-U and beep continue to work as described above).
#
# Setting GETPASS_ASTERISKS to -1 reverts to the traditional getpass()
# without any new features. This is the default.
#
GETPASS_ASTERISKS 0
#
# Enable setting of the umask group bits to be the same as owner bits
# (examples: 022 -> 002, 077 -> 007) for non-root users, if the uid is
# the same as gid, and username is the same as the primary group name.
#
# This also enables userdel to remove user groups if no members exist.
#
USERGROUPS_ENAB yes

View File

@ -0,0 +1,6 @@
auth required pam_securetty.so
auth include system-local-login
account include system-local-login
password include system-local-login
session include system-local-login

View File

@ -0,0 +1,32 @@
# Fixes up login defs for PAM by commenting all non-PAM options and adding a
# comment that it is not supported with PAM.
#
# Call with lib/getdef.c and etc/login.defs as args in the root source directory
# of shadow, ie:
#
# gawk -f login_defs.awk lib/getdef.c etc/login.defs > login.defs.new
#
(FILENAME == "lib/getdef.c") {
if ($2 == "USE_PAM")
start_printing = 1
else if ($1 == "#endif")
nextfile
else if (start_printing == 1)
VARS[count++] = substr($1, 3, length($1) - 4)
}
(FILENAME != "lib/getdef.c") {
print_line = 1
for (x in VARS) {
regex = "(^|#)" VARS[x]
if ($0 ~ regex) {
print_line = 0
printf("%s%s\t(NOT SUPPORTED WITH PAM)\n",
($0 ~ /^#/) ? "" : "#", $0)
}
}
if (print_line)
print $0
}

View File

@ -0,0 +1,24 @@
/^FAILLOG_ENAB/b comment
/^LASTLOG_ENAB/b comment
/^MAIL_CHECK_ENAB/b comment
/^OBSCURE_CHECKS_ENAB/b comment
/^PORTTIME_CHECKS_ENAB/b comment
/^QUOTAS_ENAB/b comment
/^MOTD_FILE/b comment
/^FTMP_FILE/b comment
/^NOLOGINS_FILE/b comment
/^ENV_HZ/b comment
/^PASS_MIN_LEN/b comment
/^SU_WHEEL_ONLY/b comment
/^CRACKLIB_DICTPATH/b comment
/^PASS_CHANGE_TRIES/b comment
/^PASS_ALWAYS_WARN/b comment
/^CHFN_AUTH/b comment
/^ENVIRON_FILE/b comment
b exit
: comment
s:^:#:
: exit

View File

@ -0,0 +1,12 @@
#%PAM-1.0
auth required pam_securetty.so
auth include system-auth
auth required pam_nologin.so
account include system-auth
password include system-auth
session include system-auth
session optional pam_console.so

View File

@ -0,0 +1,9 @@
#%PAM-1.0
auth required pam_deny.so
account required pam_deny.so
password required pam_deny.so
session required pam_deny.so

View File

@ -0,0 +1,8 @@
#%PAM-1.0
auth sufficient pam_rootok.so
auth include system-auth
account include system-auth
password include system-auth

View File

@ -0,0 +1,8 @@
#%PAM-1.0
auth sufficient pam_rootok.so
auth required pam_permit.so
account include system-auth
password required pam_permit.so

View File

@ -0,0 +1,32 @@
#%PAM-1.0
auth sufficient pam_rootok.so
# If you want to restrict users begin allowed to su even more,
# create /etc/security/suauth.allow (or to that matter) that is only
# writable by root, and add users that are allowed to su to that
# file, one per line.
#auth required pam_listfile.so item=ruser sense=allow onerr=fail file=/etc/security/suauth.allow
# Uncomment this to allow users in the wheel group to su without
# entering a passwd.
#auth sufficient pam_wheel.so use_uid trust
# Alternatively to above, you can implement a list of users that do
# not need to supply a passwd with a list.
#auth sufficient pam_listfile.so item=ruser sense=allow onerr=fail file=/etc/security/suauth.nopass
# Comment this to allow any user, even those not in the 'wheel'
# group to su
auth required pam_wheel.so use_uid
auth include system-auth
account include system-auth
password include system-auth
session include system-auth
session required pam_env.so
session optional pam_xauth.so

View File

@ -0,0 +1,14 @@
#%PAM-1.0
auth sufficient pam_rootok.so
auth include system-auth
account include system-auth
password include system-auth
session include system-auth
session required pam_env.so
session optional pam_xauth.so

View File

@ -0,0 +1,14 @@
#%PAM-1.0
auth required pam_env.so
auth sufficient pam_unix.so likeauth nullok nodelay
auth required pam_deny.so
account required pam_unix.so
password required pam_cracklib.so retry=3
password sufficient pam_unix.so nullok md5 shadow use_authtok
password required pam_deny.so
session required pam_limits.so
session required pam_unix.so

View File

@ -0,0 +1,14 @@
#%PAM-1.0
auth required pam_env.so
auth sufficient pam_unix.so likeauth nullok
auth required pam_deny.so
account required pam_unix.so
password required pam_cracklib.so retry=3
password sufficient pam_unix.so nullok md5 shadow use_authtok
password required pam_deny.so
session required pam_limits.so
session required pam_unix.so

View File

@ -0,0 +1,33 @@
# /etc/securetty: list of terminals on which root is allowed to login.
# See securetty(5) and login(1).
console
vc/0
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
vc/12
tty0
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11
tty12
tts/0
ttyS0

View File

@ -0,0 +1,10 @@
--- shadow-4.1.3/libmisc/chkname.c
+++ shadow-4.1.3/libmisc/chkname.c
@@ -66,6 +66,7 @@
( ('0' <= *name) && ('9' >= *name) ) ||
('_' == *name) ||
('-' == *name) ||
+ ('.' == *name) ||
( ('$' == *name) && ('\0' == *(name + 1)) )
)) {
return false;

View File

@ -0,0 +1,14 @@
http://bugs.gentoo.org/283725
https://alioth.debian.org/tracker/index.php?func=detail&aid=311740&group_id=30580&atid=411480
--- shadow-4.1.4.2/libmisc/env.c
+++ shadow-4.1.4.2/libmisc/env.c
@@ -251,7 +251,7 @@
if (strncmp (*cur, *bad, strlen (*bad)) != 0) {
continue;
}
- if (strchr (*cur, '/') != NULL) {
+ if (strchr (*cur, '/') == NULL) {
continue; /* OK */
}
for (move = cur; NULL != *move; move++) {

View File

@ -0,0 +1,27 @@
http://bugs.debian.org/569899
http://bugs.gentoo.org/327605
buf is not an array, it's a static pointer, so we have to use buflen
--- lib/gshadow.c
+++ lib/gshadow.c
@@ -222,6 +222,7 @@
if (NULL == buf) {
return NULL;
}
+ buflen = BUFSIZ;
}
if (NULL == fp) {
@@ -229,9 +230,9 @@
}
#ifdef USE_NIS
- while (fgetsx (buf, (int) sizeof buf, fp) == buf)
+ while (fgetsx (buf, buflen, fp) == buf)
#else
- if (fgetsx (buf, (int) sizeof buf, fp) == buf)
+ if (fgetsx (buf, buflen, fp) == buf)
#endif
{
while ( ((cp = strrchr (buf, '\n')) == NULL)

View File

@ -0,0 +1,21 @@
http://bugs.gentoo.org/300790
http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/2009-November/007850.html
2009-11-05 Nicolas François <nicolas.francois@centraliens.net>
* NEWS, src/groupmod.c: Fixed groupmod when configured with
--enable-account-tools-setuid.
diff --git a/src/groupmod.c b/src/groupmod.c
index 4205df2..da6d77f 100644
--- a/src/groupmod.c
+++ b/src/groupmod.c
@@ -724,7 +724,7 @@ int main (int argc, char **argv)
{
struct passwd *pampw;
pampw = getpwuid (getuid ()); /* local, no need for xgetpwuid */
- if (NULL == pamh) {
+ if (NULL == pampw) {
fprintf (stderr,
_("%s: Cannot determine your user name.\n"),
Prog);

View File

@ -0,0 +1,14 @@
http://bugs.gentoo.org/show_bug.cgi?id=301957
https://alioth.debian.org/scm/browser.php?group_id=30580
--- a/src/su.c
+++ b/src/su.c
@@ -342,7 +342,7 @@
#endif
#endif /* !USE_PAM */
- sanitize_env ();
+ /* sanitize_env (); */
(void) setlocale (LC_ALL, "");
(void) bindtextdomain (PACKAGE, LOCALEDIR);

View File

@ -0,0 +1,15 @@
the Makefile.am manualy adds man_nopam to the install list, and then also
optionally appends it which leads to the `install` error:
... will not overwrite just-created ...
--- shadow-4.1.4.3/man/ru/Makefile.in
+++ shadow-4.1.4.3/man/ru/Makefile.in
@@ -222,7 +222,7 @@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-man_MANS = $(man_nopam) chage.1 chfn.1 chgpasswd.8 chpasswd.8 chsh.1 \
+man_MANS = chage.1 chfn.1 chgpasswd.8 chpasswd.8 chsh.1 \
expiry.1 faillog.5 faillog.8 getspnam.3 gpasswd.1 groupadd.8 \
groupdel.8 groupmems.8 groupmod.8 groups.1 grpck.8 grpconv.8 \
grpunconv.8 gshadow.5 lastlog.8 login.1 login.defs.5 logoutd.8 \

View File

@ -0,0 +1,49 @@
https://bugs.gentoo.org/405409
http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/2012-February/009159.html
http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/2012-March/009196.html
--- shadow-4.1.5/src/userdel.c
+++ shadow-4.1.5/src/userdel.c
@@ -333,22 +333,22 @@ static void remove_usergroup (void)
* We can remove this group, it is not the primary
* group of any remaining user.
*/
- if (gr_remove (grp->gr_name) == 0) {
+ if (gr_remove (user_name) == 0) {
fprintf (stderr,
_("%s: cannot remove entry '%s' from %s\n"),
- Prog, grp->gr_name, gr_dbname ());
+ Prog, user_name, gr_dbname ());
fail_exit (E_GRP_UPDATE);
}
#ifdef WITH_AUDIT
audit_logger (AUDIT_DEL_GROUP, Prog,
"deleting group",
- grp->gr_name, AUDIT_NO_ID,
+ user_name, AUDIT_NO_ID,
SHADOW_AUDIT_SUCCESS);
#endif /* WITH_AUDIT */
SYSLOG ((LOG_INFO,
"removed group '%s' owned by '%s'\n",
- grp->gr_name, user_name));
+ user_name, user_name));
#ifdef SHADOWGRP
if (sgr_locate (user_name) != NULL) {
@@ -361,12 +361,12 @@ static void remove_usergroup (void)
#ifdef WITH_AUDIT
audit_logger (AUDIT_DEL_GROUP, Prog,
"deleting shadow group",
- grp->gr_name, AUDIT_NO_ID,
+ user_name, AUDIT_NO_ID,
SHADOW_AUDIT_SUCCESS);
#endif /* WITH_AUDIT */
SYSLOG ((LOG_INFO,
"removed shadow group '%s' owned by '%s'\n",
- grp->gr_name, user_name));
+ user_name, user_name));
}
#endif /* SHADOWGRP */

View File

@ -0,0 +1,30 @@
From 357ff92218a68f2ea74b9d08867c662571012bbe Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Sun, 12 Feb 2012 23:37:04 -0500
Subject: [PATCH 3/3] nscd: ignore exit 1 code
If nscd is installed but not in use, then running `nscd -i` will exit(1).
We shouldn't warn in this case since this is not abnormal behavior.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
lib/nscd.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/nscd.c b/lib/nscd.c
index ea1dc55..7adb58f 100644
--- a/lib/nscd.c
+++ b/lib/nscd.c
@@ -39,6 +39,9 @@ int nscd_flush_cache (const char *service)
/* nscd is not installed, or it is installed but uses an
interpreter that is missing. Probably the former. */
return 0;
+ } else if (code == 1) {
+ /* nscd is installed, but it isn't active. */
+ return 0;
} else if (code != 0) {
(void) fprintf (stderr, _("%s: nscd exited with status %d\n"),
Prog, code);
--
1.7.8.4

View File

@ -0,0 +1,38 @@
From 360351b9b99bba0a278923c4237d158cbd726df5 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Sun, 12 Feb 2012 23:08:42 -0500
Subject: [PATCH 1/3] nscd: add missing newline to warning msg
Trying to run `passwd` without nscd running shows the messages:
...
Re-enter new password:
passwd: nscd exited with status 1passwd: Failed to flush the nscd cache.
passwd: nscd exited with status 1passwd: Failed to flush the nscd cache.
passwd: nscd exited with status 1passwd: Failed to flush the nscd cache.
passwd: nscd exited with status 1passwd: Failed to flush the nscd cache.
passwd: password changed.
...
You can see the status message missing a newline, so add it.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
lib/nscd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/nscd.c b/lib/nscd.c
index 227c205..ea1dc55 100644
--- a/lib/nscd.c
+++ b/lib/nscd.c
@@ -40,7 +40,7 @@ int nscd_flush_cache (const char *service)
interpreter that is missing. Probably the former. */
return 0;
} else if (code != 0) {
- (void) fprintf (stderr, _("%s: nscd exited with status %d"),
+ (void) fprintf (stderr, _("%s: nscd exited with status %d\n"),
Prog, code);
(void) fprintf (stderr, _(MSG_NSCD_FLUSH_CACHE_FAILED), Prog);
return -1;
--
1.7.8.4

View File

@ -0,0 +1,32 @@
http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/2012-March/009205.html
https://bugs.gentoo.org/406819
--- shadow-4.1.5/lib/commonio.c
+++ shadow-4.1.5/lib/commonio.c
@@ -977,6 +977,12 @@ int commonio_close (struct commonio_db *
snprintf (buf, sizeof buf, "%s+", db->filename);
+#ifdef WITH_SELINUX
+ if (set_selinux_file_context (buf) != 0) {
+ errors++;
+ }
+#endif
+
db->fp = fopen_set_perms (buf, "w", &sb);
if (NULL == db->fp) {
goto fail;
@@ -1011,6 +1017,12 @@ int commonio_close (struct commonio_db *
goto fail;
}
+#ifdef WITH_SELINUX
+ if (reset_selinux_file_context () != 0) {
+ goto fail;
+ }
+#endif
+
nscd_need_reload = true;
goto success;
fail:

View File

@ -0,0 +1,37 @@
From 04d19a920ea0cf74f977006e3f8241bf77cbc16b Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Sun, 12 Feb 2012 22:41:05 -0500
Subject: [PATCH] copydir: include stdarg.h for va_* funcs
Building on newer systems fails due to using stdargs but not including
the header file:
copydir.c: In function 'error_acl':
copydir.c:126:2: warning: implicit declaration of function 'va_start' [-Wimplicit-function-declaration]
copydir.c:132:2: warning: implicit declaration of function 'va_end' [-Wimplicit-function-declaration]
...
libmisc/copydir.c:126: undefined reference to 'va_start'
libmisc/copydir.c:132: undefined reference to 'va_end'
...
make[2]: *** [useradd] Error 1
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
libmisc/copydir.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libmisc/copydir.c b/libmisc/copydir.c
index 7cb5f56..c6cbe6b 100644
--- a/libmisc/copydir.c
+++ b/libmisc/copydir.c
@@ -40,6 +40,7 @@
#include <sys/time.h>
#include <fcntl.h>
#include <stdio.h>
+#include <stdarg.h>
#include "prototypes.h"
#include "defines.h"
#ifdef WITH_SELINUX
--
1.7.8.4

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>base-system</herd>
<herd>pam</herd> <!-- only for USE=pam -->
<use>
<flag name='audit'>Enable support for <pkg>sys-process/audit</pkg></flag>
</use>
</pkgmetadata>

View File

@ -0,0 +1,196 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.1.4.3.ebuild,v 1.14 2012/08/18 21:28:14 vapier Exp $
inherit eutils libtool toolchain-funcs pam multilib
DESCRIPTION="Utilities to deal with user accounts"
HOMEPAGE="http://shadow.pld.org.pl/ http://pkg-shadow.alioth.debian.org/"
SRC_URI="http://pkg-shadow.alioth.debian.org/releases/${P}.tar.bz2"
LICENSE="BSD GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
IUSE="audit cracklib nls pam selinux skey symlink-usr"
RDEPEND="audit? ( sys-process/audit )
cracklib? ( >=sys-libs/cracklib-2.7-r3 )
pam? ( virtual/pam )
skey? ( sys-auth/skey )
selinux? ( >=sys-libs/libselinux-1.28 )
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
RDEPEND="${RDEPEND}
pam? ( >=sys-auth/pambase-20080219.1 )"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-4.1.4.3-dup-install-targets.patch
epatch "${FILESDIR}"/${PN}-4.1.4.2-env-reset-keep-locale.patch #283725
epatch "${FILESDIR}"/${PN}-4.1.3-dots-in-usernames.patch #22920
epatch "${FILESDIR}"/${PN}-4.1.4.2-groupmod-pam-check.patch #300790
epatch "${FILESDIR}"/${PN}-4.1.4.2-su_no_sanitize_env.patch #301957
epatch "${FILESDIR}"/${PN}-4.1.4.2-fix-etc-gshadow-reading.patch #327605
elibtoolize
epunt_cxx
}
src_compile() {
tc-is-cross-compiler && export ac_cv_func_setpgrp_void=yes
econf \
--without-group-name-max-length \
--enable-shared=no \
--enable-static=yes \
$(use_with audit) \
$(use_with cracklib libcrack) \
$(use_with pam libpam) \
$(use_with skey) \
$(use_with selinux) \
$(use_enable nls) \
$(use_with elibc_glibc nscd)
emake || die "compile problem"
}
set_login_opt() {
local comment="" opt=$1 val=$2
[[ -z ${val} ]] && comment="#"
sed -i -r \
-e "/^#?${opt}/s:.*:${comment}${opt} ${val}:" \
"${D}"/etc/login.defs
local res=$(grep "^${comment}${opt}" "${D}"/etc/login.defs)
einfo ${res:-Unable to find ${opt} in /etc/login.defs}
}
src_install() {
emake DESTDIR="${D}" suidperms=4711 install || die "install problem"
# Remove libshadow and libmisc; see bug 37725 and the following
# comment from shadow's README.linux:
# Currently, libshadow.a is for internal use only, so if you see
# -lshadow in a Makefile of some other package, it is safe to
# remove it.
rm -f "${D}"/{,usr/}$(get_libdir)/lib{misc,shadow}.{a,la}
insinto /etc
# Using a securetty with devfs device names added
# (compat names kept for non-devfs compatibility)
insopts -m0600 ; doins "${FILESDIR}"/securetty
if ! use pam ; then
insopts -m0600
doins etc/login.access etc/limits
fi
# Output arch-specific cruft
local devs
case $(tc-arch) in
ppc*) devs="hvc0 hvsi0 ttyPSC0";;
hppa) devs="ttyB0";;
arm) devs="ttyFB0 ttySAC0 ttySAC1 ttySAC2 ttySAC3 ttymxc0 ttymxc1 ttyO0 ttyO1 ttyO2";;
sh) devs="ttySC0 ttySC1";;
esac
[[ -n ${devs} ]] && printf '%s\n' ${devs} >> "${D}"/etc/securetty
# needed for 'useradd -D'
insinto /etc/default
insopts -m0600
doins "${FILESDIR}"/default/useradd
# move passwd to / to help recover broke systems #64441
mv "${D}"/usr/bin/passwd "${D}"/bin/
if ! use symlink-usr ; then
dosym /bin/passwd /usr/bin/passwd
fi
cd "${S}"
insinto /etc
insopts -m0644
newins etc/login.defs login.defs
if ! use pam ; then
set_login_opt MAIL_CHECK_ENAB no
set_login_opt SU_WHEEL_ONLY yes
set_login_opt CRACKLIB_DICTPATH /usr/$(get_libdir)/cracklib_dict
set_login_opt LOGIN_RETRIES 3
set_login_opt ENCRYPT_METHOD SHA512
else
dopamd "${FILESDIR}/pam.d-include/"{su,shadow}
newpamd "${FILESDIR}/login.pamd.3" login
for x in passwd chpasswd chgpasswd; do
newpamd "${FILESDIR}"/pam.d-include/passwd ${x} || die
done
for x in chage chsh chfn newusers \
user{add,del,mod} group{add,del,mod} ; do
newpamd "${FILESDIR}"/pam.d-include/shadow ${x} || die
done
# comment out login.defs options that pam hates
local opt
for opt in \
CHFN_AUTH \
CRACKLIB_DICTPATH \
ENV_HZ \
ENVIRON_FILE \
FAILLOG_ENAB \
FTMP_FILE \
LASTLOG_ENAB \
MAIL_CHECK_ENAB \
MOTD_FILE \
NOLOGINS_FILE \
OBSCURE_CHECKS_ENAB \
PASS_ALWAYS_WARN \
PASS_CHANGE_TRIES \
PASS_MIN_LEN \
PORTTIME_CHECKS_ENAB \
QUOTAS_ENAB \
SU_WHEEL_ONLY
do
set_login_opt ${opt}
done
sed -i -f "${FILESDIR}"/login_defs_pam.sed \
"${D}"/etc/login.defs
# remove manpages that pam will install for us
# and/or don't apply when using pam
find "${D}"/usr/share/man \
'(' -name 'limits.5*' -o -name 'suauth.5*' ')' \
-exec rm {} +
fi
# Remove manpages that are handled by other packages
find "${D}"/usr/share/man \
'(' -name id.1 -o -name passwd.5 -o -name getspnam.3 ')' \
-exec rm {} +
cd "${S}"
dodoc ChangeLog NEWS TODO
newdoc README README.download
cd doc
dodoc HOWTO README* WISHLIST *.txt
}
pkg_preinst() {
rm -f "${ROOT}"/etc/pam.d/system-auth.new \
"${ROOT}/etc/login.defs.new"
use pam && pam_epam_expand "${D}"/etc/pam.d/login
}
pkg_postinst() {
# Enable shadow groups (we need ROOT=/ here, as grpconv only
# operate on / ...).
if [[ ${ROOT} == / && ! -f /etc/gshadow ]] ; then
if grpck -r 2>/dev/null ; then
grpconv
else
ewarn "Running 'grpck' returned errors. Please run it by hand, and then"
ewarn "run 'grpconv' afterwards!"
fi
fi
einfo "The 'adduser' symlink to 'useradd' has been dropped."
}

View File

@ -21,17 +21,15 @@ RDEPEND="!sys-apps/sysvinit
S=${WORKDIR}/${MY_P}/man
src_install() {
local sym_prefix
local prefix=""
if use symlink-usr ; then
sym_prefix=".."
else
sym_prefix="../usr"
prefix="/usr"
fi
for app in halt poweroff reboot runlevel shutdown telinit; do
doman ${app}.8
dosym ${sym_prefix}/bin/systemctl /sbin/${app}
dosym /usr/bin/systemctl ${prefix}/sbin/${app}
done
newman init.1 init.8
dosym ${sym_prefix}/lib/systemd/systemd /sbin/init
dosym /usr/lib/systemd/systemd ${prefix}/sbin/init
}