initial commit

Package-Manager: portage-2.2.0_alpha142
RepoMan-Options: --force
This commit is contained in:
Mario Fetka 2012-12-02 22:47:51 +01:00
parent ec6286c340
commit f6f4275a3f
16 changed files with 41177 additions and 0 deletions

View File

@ -0,0 +1,36 @@
AUX readline/6.2/001_all_readline62.patch 1388 SHA256 38a86c417437692db01069c8ab40a9a8f548e67ad9af0390221b024b1c39b4e3 SHA512 e505161a9ab28f6c1086a6a4ecc5a82da9001d79e4c2b7c44cd82e86dca90bc726ee2387a31e8b4c6893b240877a766fdd913ee7294389722214e6281c518478 WHIRLPOOL 28c63b09a62fa1b64902b04a3c5607da742f7f308648262736240138fa7c957f21856556c8dd2dc08749acf143c271907c69124a978191a5ddb21a6dcf9ee70a
AUX readline/6.2/002_all_readline62.patch 1714 SHA256 1e6349128cb573172063ea007c67af79256889c809973002ca66c5dfc503c7d4 SHA512 e86cb15b4df7b2a4cf68148a3e2414b48f70ad23d9685764627906164a74f31967ba8247510229aa19dfb7f6e8e92ff89164896e79b2d7320d3a62187a9173f5 WHIRLPOOL 444fa6eaa6b3e13728224f49a012f969f736d9b448d4c7da6cf0fdd3cfb33d24ca7566801d0ffa5a642fa581571c485e3c913b4a057a096a665735a84d9fbfe8
AUX readline/6.2/003_all_readline62.patch 1911 SHA256 cb2131ff352d6e5f82edc09755191f74220b15f026bdb6c52624931c79622374 SHA512 863a4f0725df357fdd4a2ea738a8b81d850f36652705a45a415762a643fcf32f71ecb29f9faf9acd84d0b4b67580329adc491ab3562f0ad6f4b808768539301e WHIRLPOOL 86d10b4c23eef4c64ece0a4537f13cf68198888cfdd83eb38124da8610b971e87dfcdbd64c52fd21ca6d3753298b6582ce15378112d575944ff7d9b68baea3a6
AUX readline/6.2/004_all_readline62.patch 3335 SHA256 09bd342479ea5bb8b6411bfdf7d302fab2e521d1d241bcb8344d3bad5d9f5476 SHA512 d5c80fb49748b586867a4df0900a73257a2973653c00e1403b9ba4eb5b265cdf6b32b6432f10c23482051f173fe63c18f2b569940b9a609ee29da60ce0ae38b2 WHIRLPOOL 471ace4d86d241d11fb494e885b6e6f78a5938bcbd7f438250e0410849ed2c94ae6743162576412d7d2b7125c2151b009d97295578a716327d8a9cd003543884
AUX readline/6.2/005_all_readline-5.0-no_rpath.patch 363 SHA256 59df6107772d1a93550bacc267a2c00f9dfd6d5380b8497d8fd756a7191b9e4b SHA512 c0344c5b831433ad3a8499a91d36615e849a9b520f8ca35cd9cae6d5bc55729adbf97d003e335d210cb3806b2f39af273b4b5f98380dac371dc184053e245bb2 WHIRLPOOL c0d2fe9d1d1f36cf89279f315c373a7385d255ebbeab8ebf1ede7b99196660611499c7db85554b036ad3df4f0b4375558b1d1ce7cbae5f5731172181f7d167ac
AUX readline/6.2/006_all_readline-5.2-no-ignore-shlib-errors.patch 688 SHA256 2c585c4e2d69d6b91157f378a3dd11cb49beefab808eef3350cf1b8357b2efc6 SHA512 23f88aee11a9ebe15406293695f3de2a7a6c52b8b138c199c64f9dbb9b59d9063f12f8693656e61611e72f6298f7d919016cd240434e78ea2232876690a8b738 WHIRLPOOL ae87d544fa32dbd2b6f27f164dd4e6d0e8a3f399d4a9bde81bcb631985c6e69db11705dc372c21a4f9d3a26cf4279023aeae97fd0d243ca8e1c0e547b59084a4
AUX termcap/1.3.1/001_all_termcap-1.3.1-shared.patch 1279527 SHA256 29bc2fce6845999160db1d751bef4e4ab099980d6436497c55f8142992e062b4 SHA512 78835b45e2cf42bfe31d36b48dc7aeedc2a5cc9119c14bc8f42495f47e9eb9ba6291f4c8766a8d29a4ea2c18cf62fc0d449457a8561721858dd758482d5b3f17 WHIRLPOOL 13b76c460caff590bf9a343aaf170b5f669b136b1baf5486efa446664e974a71dc7e298fa9667881c2cb77d8fc9a4b2cc951546fdd1a84a2aacff77dee02ce92
AUX termcap/1.3.1/002_all_strcmp_NULL.patch 860 SHA256 de3cde3ae2d57692294fb10e9fc15d1619ac14e9e9baf541f248075ad9c9aeaf SHA512 c8ad606a96df36b6fe2402b258adb9662fa8c3fdd3493306af67959738f92946b4dcebc1cf02cead0942c3e9bff614bab73d176dde3373fce4461226eeeae4d4 WHIRLPOOL c0dfc23927d39faca3e50134872ca8991590b4d4d8788b536fa42a3b9fb0b19300837ef901ef76c593bfe19521a341ee83490501442d78f1acdc17fcf6c0f133
AUX termcap/1.3.1/README.Gentoo.patches 2734 SHA256 0922eaac619c82b5b599d3a3bd64c24d91ee21e55b701630e53f2663cb692b8f SHA512 ed7ad8a4b27d33b5007694bec4738af729ed0b2fe1209c80d67084eb4f0e656ea7b66be4e8a155b3f691a3816d0aa69429d9050a1c528e66bbb3129c5416225f WHIRLPOOL 07d40dba51893481f16328b9100192acedf3ef60426ead970daec4ea0772e3261087973a0da912346c0f3d73f06b7fff257ba974beda48590f934cd7b11250b4
AUX termcap/1.3.1/tc.file/001_all_termcap-linuxlat.patch 1125 SHA256 bf3c8cf7337f8ce2851787cc26b85cf86b56a2bc3c357e5e5a30ed4a6ebaa148 SHA512 698baf41d67adf8a2df3d29c10faeddf07c6f6ec6e150042b7c6a8d62c6789f3d2c8016e5f63645840eac25e3a5be80f11f4ea72c4bdda6f8764ac2f1780ea80 WHIRLPOOL 1be5423397df9719576bbd56034e217a59fbf172075b8c7e695e1fcdc4e188688fef9ccd42d66ec4d45d4c924f98277f54be1bd06af1352b6ce76171c537591a
AUX termcap/1.3.1/tc.file/002_all_termcap-xtermchanges.patch 15398 SHA256 7d588f721e6aaffe4aa1248142ceba37c7fef85be31a0ad1da0164f714cd3f5b SHA512 e7d9c6bc0e3b09460030b6fbee24ad8786565e4e8a2df2c593e5baf922985eb3c55c63ac98c3fb3ce1ee9f6a9d235659c2d9f5a03f3c536e29c111ce65b7a4e0 WHIRLPOOL 83ed4f4bee9dc402b3078afd6de9cb6bddad51e0ec614ee5e7ddd526e74e56e833d4176e1942dc3aaddc5f6011f45db37237d79ff092b27b7f76935521001a0a
AUX termcap/1.3.1/tc.file/003_all_termcap-utf8.patch 2308 SHA256 5011ff476da0744c4822b67cae8fa8d11bc1335f6a18e4758927fec802d4fac1 SHA512 4bcf4af9f453e12d58dd216cd335b634ba4df11b0239daf4a7dd89aa6046e31c052101885f44ccd941931b8f346525aa184b467b79d46cfe7fad6c04a54d6445 WHIRLPOOL d26b9dfd745bab71a6fff3c69483c31472fff4ddb1ec40857cea7124eabfe4423c7af93d5927b724b8127d2d46a02b4f5c0b2bc0572ab73f4cb8f049e3477587
AUX termcap/1.3.1/tc.file/004_all_termcap-xterm-X11R6.patch 370 SHA256 de18850455439d43fc26a6c9c2c034ce4b6e806823ac94eadfd5fe64cdda9046 SHA512 383542c3dde009222ad6045ce1d597180f4dd53b03fcc5a677e6146115093f64b5f68440bcd15fde9c3085eb5f51ad5df3f85f2b94bffb54effce13b44cc67ee WHIRLPOOL b01b171d42701d240445003f8ddd40c08ebbe8436815fe0327357477353e0a69051797fa17ccd67d10f5cc25aa2ad2d3337e40f65d1f4a12f7135d5634cdf893
AUX termcap/1.3.1/tc.file/005_all_termcap-Eterm.patch 1257 SHA256 1e6a52e4d398350ff12dfffe92d089b0e6ee2b589e4af82adab0ed10d0145291 SHA512 5e8d483c7644af6b0fdc56a73edd39e9ddcd06adb8073ef2f2bbfc54c7953a05a9324bd62ef7c3f8653ed558b76ac256fcad286280dbfa22ffd2fde4ae5aed61 WHIRLPOOL 1081a77a04bb37feda7ca7216dd99f572e5a675c54787f06f66b83f359f55efb842dc47a2d07d5d7abd142d54daa5ed5755c17b2ecb460946b152592a3b391b9
DIST 843d4b7e9187.zip 87651 SHA256 23437c7106d974a4d2c85c2068ddf68cea44a9d5dc5f610032cc0a1400b39ffb SHA512 3c8338c60f89b645ba73576cb5199b2e4263f591a618633f9dd2ab57e7e70a0629d16c8a50bf1747c713ce350173b6a3f5e1e8b514e9af8fd271e822f26d6350 WHIRLPOOL fe20f83d3827519fa972b474463042d984659a63a2efae8fd9ed1bbbc6f07fef9aafc5d3409ded7a5e36856d7a7dd6e8999a09968ce903c2ffd416fee6fb5b81
DIST binutils-2.22.tar.bz2 19973532 SHA256 6c7af8ed1c8cf9b4b9d6e6fe09a3e1d3d479fe63984ba8b9b26bf356b6313ca9 SHA512 ffe8ef263ef99183e8cc823fe8487ff7d0f7bf9a8efd2853b5f4636aca0023850d13de4eac7d77a5f69413d8a50e6f95bb14569be53df86c0bce38034525ab74 WHIRLPOOL 8bea2f2082600587649a5f9fffada9c6cf14f42ebddd1e6a4b4d7be25446d7ad76e1335cf8cefe30c812ced408c9dacb55d0033e4b0eaff83efbbfb5ea5f60dc
DIST btrfs-progs-0.19.11.tar.bz2 171425 SHA256 b4b510c4106a5b6159f2e51ac685ca700d53693140137e45f67e3767db18b662 SHA512 3704f240f7128bff8c5fc1ce7fd44b4eb985c1cddd7139fa96da0536849bdbbe9b08bbd928c3a20e91c5a0ccd07f60020f6dacb91a6887c2fc73de668477fa99 WHIRLPOOL 7fa6e7fb5566a17bb147ec847f6c1a3a55814a5676b1bf413f9b310de503c5cfef62b3e4b86a4ce28f7ae905416fad44fa802fc75c6cecd51265a9f69cc6175a
DIST busybox-1.20.2.tar.bz2 2186738 SHA256 eb13ff01dae5618ead2ef6f92ba879e9e0390f9583bd545d8789d27cf39b6882 SHA512 089b67cd920f332daf910711739b1e55ba4c76cfa2122dfe5464432e0d76d3af8327837ebc3cc9954deef3e8f766d16a1928aecb2c169fe3de5a722eea7ea3dd WHIRLPOOL aa8fec92d0ac8bb246dea7353537d425a5fecfa0bb807d0e291c7351e8289b84aab83303c45b75f9b7a98cd10177e210511064f0709425c2f84b069fe6a06420
DIST dropbear-2012.55.tar.gz 1774927 SHA256 808df243c61bb60f2f18fa64bca628cbba0918b2a14139f10e6d59d4ac5a17ce SHA512 fc15c56cbcd4ec61d87e9a95c1f35f060c6a8e77fd846bc305a246d09a0569dc3c74e0ca32716e28932d4568defb10a025d9bdd942cb67e12007a5016ae3ab43 WHIRLPOOL 3a69f22a25fc71e3f6e91f99aad4559f1a1821f5484fae4a301ed0aa8f846901684e4a667df1cc6dd2e32d8273d24e90c01133ec0c7897036735b05ea42ca716
DIST e2fsprogs-1.42.6.tar.gz 5920183 SHA256 726b5919edeaee5b077d7a5b602284f1453ea31cf499efa433af26c679b667a5 SHA512 365178e2fc7cbb0e85da23dcfdc33c43c225640573e3d44c135193391985fe0c1263bac1f074ddba9668859d4522dbff1c6584bc8d380d2879c1e3d8c6f04acb WHIRLPOOL 0c2a775104b1accc1ee7d501d402411bcb7fffd96f1bdd8323dcee404c9fdcfee1d4e70525fcd86e2b1b48ca2d085dc1e9b85e0d99aa9478c4c5adad67a661c8
DIST e2fsprogs-libs-1.42.6.tar.gz 516143 SHA256 1f63dc7e64296c7dc32f3af7073c79e0dde85cdd201208128c19fad65f0d3887 SHA512 6e515397fee57aaa9ebbdccf21e05aa68a63bc680a93f2ed3cb135fb56e34a5f80e6b16d5f1c7e78d357de03cc173c2c3c4cfa969c925e6ad15781ff370c46e7 WHIRLPOOL 12a84fb274920f1d855c6b79a1b9acbabde60e925d8f3167dfcb7d6b484a6f3a78b5f74bf28a1c570804f15ba2a1ecb0f9ac02b2118be2383814fa15b1a12c1a
DIST gcc-4.7.2.tar.bz2 82884636 SHA256 8a9283d7010fb9fe5ece3ca507e0af5c19412626384f8a5e9434251ae100b084 SHA512 689ce92d0c93e5ca5268d9757acffc6e5a7931fc7ad99ee9beefa6ce02d201ed9dade08240cb5623525e19362f90a245792e95d4e90b067fee61013a03288e32 WHIRLPOOL 730d32f9e9d19683ea169992ee82a3016c806dab16577facbb6e5eab4707706f139cf6b15b8aae44f85c88d71c308ddb1c110dca99dd46692d5bad66e05ad657
DIST jfsutils-1.1.15.tar.gz 539148 SHA256 244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d SHA512 fa8ba7f4997471da3e6ea7239564f3395046222cfbb2b10e37b24ad0bd107b7eadbb51ce328d89d193034360b4035ca5e0e5b0b416a74483d7a2c0a2b9c65858 WHIRLPOOL 8a62c037601999f616041250e06adc10fceb48fc80b319003383ac08b2e1fbb2aaaca781848be2845d6e99f05d1d7a884f9af89e2a6236d64cc4387be02222e8
DIST libaal-1.0.5.tar.gz 336052 SHA256 ff1adb7aa7b917010d827f2e451fad8cb65ce981877d762b48baf20e89212e81 SHA512 1e4076ce4228a7947074ce2764da63f48cbeb4086cf6ab75b882ecd4ff07d4de3a6f5411c5c0b9cdd1c279b3bb98f92f5da3892e5479b7112b67703fddc102be WHIRLPOOL 805ffefdf22b6df05e57d0f836940c4f5748dba8fa5d6933bf07f410ae85f3914353d0697eb33dbc7a927e6d367bd9ab1e85caa1c1be94f710d0395f52854432
DIST libiconv-1.14.tar.gz 4984397 SHA256 72b24ded17d687193c3366d0ebe7cde1e6b18f0df8c55438ac95be39e8a30613 SHA512 b96774fefc4fa1d07948fcc667027701373c34ebf9c4101000428e048addd85a5bb5e05e59f80eb783a3054a3a8a3c0da909450053275bbbf3ffde511eb3f387 WHIRLPOOL e96337209a4f86eccb112e94c3cd6b668b2a8fc4b05ed7becaa2f6fbc9279f7b32ec1fa4b086e61520bfffea5d4f7a1cad58bdb266b5f0aa7d02b89aeed9759a
DIST linux-3.2.32.tar.bz2 78149679 SHA256 9b628bdbb7078a8ce07a243c32d6082d8946e6eab4f4b9847f5bbc184875d5df SHA512 0b2b0745997266df35b46b70e4558fc7a2cbbc7b04b57cf114b15f328d85c16185247075c423d108d80190f59415e2d6535424c24d9b4d74961a1ca5ff10eb36 WHIRLPOOL 6104cf2215bfe0af75e77f2d083d97c724ad8bf6d0edb7c67074b55162c1cbe8834e1a55206af86f13e562ea315ffaad9e979cf6f6f022a968920bd21eac2385
DIST musl-0.9.8.tar.gz 731480 SHA256 f4d3b85639b8ab23065dde9173e7e151e735943d2d2d6deb39b2dfc9bd05a6ed SHA512 be7cb360caafee374dbc96a8423eda2172680a5ae78e176a0ac76f027a5424d2d428ac9e39f698bf1a3b23ca5acd6bcbb8f6345c62321512a27096ddba536d14 WHIRLPOOL f3032721d405e04817e4c45fff3993dcb4c4a4357f558db0946603fa7986e719259ab10ee9b50da97f849c046e87f9aba37d833be55dc99625dcff9b1f5c173f
DIST readline-6.2.tar.gz 2277926 SHA256 79a696070a058c233c72dd6ac697021cc64abd5ed51e59db867d66d196a89381 SHA512 fa5b4f1b6f81bc0b3be0739adb06dab0668603ff256fe62b59ebfe21d5a9e340a758a8eef569df8c4c4ecb86cdd9698a6dabc2ee8c70a769de2bd5930c32ff59 WHIRLPOOL 5d92645085f253206c16533e3cb35bb382d6fe616bf2144feb06f9ffb9b4d7cc25ceaa846b98f17aa442552a0e80642a62d57fe20982e0ed8fdefb75c2f9bbf0
DIST reiser4progs-1.0.7.tar.gz 844126 SHA256 1211996ad3efebc0ca543aea2f67527d33e50fce1b827ad341e207f171d94d96 SHA512 afc88dc2cb7a2e9c8e8c4bc93012b41a19cecaf96a0dc7d75f20c535ebfbb8eac79688529d42ba5cbe067395a1a13cd997246e5bc57181c6dfaced6e6fec4a05 WHIRLPOOL 6c17458cd68dc3ea02fcfc221b03f860206fcd205d7887cffb84b1f712e305b6097be29ae44a4a098d188ffdaf8cf44f06cadbf24dc25bcaabe059e12f21ae0a
DIST reiserfsprogs-3.6.22.tar.bz2 348806 SHA256 878f2a8a567bb0515b9990a5aefbe988c114294394da9e195abc35650d52bce9 SHA512 139dc7222a98e79a16f8fdf8ce0d89081b16d97514f14720912ecbd2cb8e9fef8280019998e116470553b7d0d660ad7976cab9b78fbfea27825e3d996d78bd5d WHIRLPOOL d81b00ab71010914a400e83525d8da3517aa29cfa9e5d3d6317684219ba5ae3cd5d39278605edda553a72ca2ed9e523b53e6e5e9565a604b073958e928efd24f
DIST sftpserver-0.1.tar.gz 220578 SHA256 1db183e2d4cca5cc3ef10526f417ddef28e0402d0119030a06227bf925e63872 SHA512 e0addd24fd8f416340f4c7b10b7654e6498d862e3fc2bb7b938ae3292f6f1bc77be0f142a6b0b6347da06812bd641c1b64121388e507481dc9886ce81530ce47 WHIRLPOOL dd3b7a0c3b847ec226f7ffef8ad73d5a3678079ccabc3d0dbadc826ab37dbb7ac59bb3df7a100eb0a65f66f6b8c116a8d2e46162cacc17a3ddb24ee187ea0f40
DIST termcap-1.3.1.tar.gz 439416 SHA256 91a0e22e5387ca4467b5bcb18edf1c51b930262fd466d5fda396dd9d26719100 SHA512 2bc2829af05a942e6041e9f2de7c9c50e466cd525f056c58c4f664b0e39012d901276737b7c2576450613694f16ae6b195e22913d8835aa345b5d88faddb0b69 WHIRLPOOL 42f719ee4f00743448e99ea6a1d4e4ce79a1cc80264e74f22915ac77f19c8e59eb87069e40a3caa5d4869a83f4bda1494178be84bf625e2f140ad9e4c807a46e
DIST termtypes.tc.gz 228329 SHA256 c4fa04257fea6e968d4caa28cc18dbbf9eea4769a463296eaca21ceea757a728 SHA512 13a2ee2cd0bc349d69af7efb8e8122f655b67f4bcbe0dc5cbf8a9ba22649548086a097de8bc148fb71ceba1640434a6b94763410beb3b915e03c3a6b46e8a678 WHIRLPOOL ee07db90257172a651e067e5313b2c9240b6a4cb60f376fd699f70ae95d20c1c7ed36cdb954259b21ecd48b7f997fe67f1be6ab5555ce8bdc3f65f7f3d6fa18f
DIST xfsprogs-3.1.8.tar.gz 1399333 SHA256 74409e2e3748074999df25c00f722621659a0bd3607e677f0bcc4373b8c93eab SHA512 55f325e2284a88f21f05b8a836b654de16109e509315b9f443888331e7f63bdf4bbd749643d7879c8007b95b98c7ff0a6574bb1e8cf809abe481b7584466524a WHIRLPOOL d637b01c68e3673a2b70f271068c63ad83bb18cd47252ee190204fcb94b103c513612f7111346c8eb6194d4043a236cc6ab5c1b94e4d4175ed7f34231e759601
DIST zlib-1.2.7.tar.gz 560351 SHA256 fa9c9c8638efb8cb8ef5e4dd5453e455751e1c530b1595eed466e1be9b7e26c5 SHA512 b1c073ad26684e354f7c522c14655840592e03872bc0a94690f89cae2ff88f146fce1dad252ff27a889dac4a32ff9f8ab63ba940671f9da89e9ba3e19f1bf58d WHIRLPOOL 2f0bc05a9c14033adc33cdd14d1dce72a57c650304692141a89af26274b62ffa67d09afbc68562d07279f80e214e396b357f20094ecf4b9576bc200cafa01a6d
EBUILD recoveryinitramfs-2012.12.01.ebuild 7261 SHA256 44c958191d6a922a7255bdd2242bfef006f3819a4450052280486a28d5b1ffae SHA512 609dbd25bae6f174bf773a3dd77618815c699e17552d2946632cbff5ab97073fcb0dfc476da3b337aaea99284ff3ad096ac85b0e1bb1667585b8a05e4ba47560 WHIRLPOOL 6e1d3af4306ceb77372924ce0abe41115a87e5fbc47d84cac24561fe7da22d3303c21a3ada34fce5f2bf44fe47fb21468cf5c7d807a107da6febd35cd3718547

View File

@ -0,0 +1,46 @@
READLINE PATCH REPORT
=====================
Readline-Release: 6.2
Patch-ID: readline62-001
Bug-Reported-by: Clark J. Wang <dearvoid@gmail.com>
Bug-Reference-ID: <AANLkTimGbW7aC4E5infXP6ku5WPci4t=xVc+L1SyHqrD@mail.gmail.com>
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00157.html
Bug-Description:
The readline vi-mode `cc', `dd', and `yy' commands failed to modify the
entire line.
[This patch intentionally does not modify patchlevel]
Patch (apply with `patch -p0'):
*** ../readline-6.2-patched/vi_mode.c 2010-11-20 19:51:39.000000000 -0500
--- vi_mode.c 2011-02-17 20:24:25.000000000 -0500
***************
*** 1115,1119 ****
_rl_vi_last_motion = c;
RL_UNSETSTATE (RL_STATE_VIMOTION);
! return (0);
}
#if defined (READLINE_CALLBACKS)
--- 1115,1119 ----
_rl_vi_last_motion = c;
RL_UNSETSTATE (RL_STATE_VIMOTION);
! return (vidomove_dispatch (m));
}
#if defined (READLINE_CALLBACKS)
*** ../readline-6.2-patched/callback.c 2010-06-06 12:18:58.000000000 -0400
--- callback.c 2011-02-17 20:43:28.000000000 -0500
***************
*** 149,152 ****
--- 149,155 ----
/* Should handle everything, including cleanup, numeric arguments,
and turning off RL_STATE_VIMOTION */
+ if (RL_ISSTATE (RL_STATE_NUMERICARG) == 0)
+ _rl_internal_char_cleanup ();
+
return;
}

View File

@ -0,0 +1,57 @@
READLINE PATCH REPORT
=====================
Readline-Release: 6.2
Patch-ID: readline62-002
Bug-Reported-by: Vincent Sheffer <vince.sheffer@apisphere.com>
Bug-Reference-ID: <F13C1C4F-C44C-4071-BFED-4BB6D13CF92F@apisphere.com>
Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-readline/2011-08/msg00000.html
Bug-Description:
The readline shared library helper script needs to be updated for Mac OS X
10.7 (Lion, darwin11).
Patch (apply with `patch -p0'):
*** ../readline-6.2-patched/support/shobj-conf 2009-10-28 09:20:21.000000000 -0400
--- support/shobj-conf 2011-08-27 13:25:23.000000000 -0400
***************
*** 158,162 ****
# Darwin/MacOS X
! darwin[89]*|darwin10*)
SHOBJ_STATUS=supported
SHLIB_STATUS=supported
--- 172,176 ----
# Darwin/MacOS X
! darwin[89]*|darwin1[012]*)
SHOBJ_STATUS=supported
SHLIB_STATUS=supported
***************
*** 187,191 ****
case "${host_os}" in
! darwin[789]*|darwin10*) SHOBJ_LDFLAGS=''
SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
;;
--- 201,205 ----
case "${host_os}" in
! darwin[789]*|darwin1[012]*) SHOBJ_LDFLAGS=''
SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
;;
*** ../readline-6.2-patched/patchlevel 2010-01-14 10:15:52.000000000 -0500
--- patchlevel 2011-11-17 11:09:35.000000000 -0500
***************
*** 1,3 ****
# Do not edit -- exists only for use by patch
! 1
--- 1,3 ----
# Do not edit -- exists only for use by patch
! 2

View File

@ -0,0 +1,76 @@
READLINE PATCH REPORT
=====================
Readline-Release: 6.2
Patch-ID: readline62-003
Bug-Reported-by: Max Horn <max@quendi.de>
Bug-Reference-ID: <20CC5C60-07C3-4E41-9817-741E48D407C5@quendi.de>
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-readline/2012-06/msg00005.html
Bug-Description:
A change between readline-6.1 and readline-6.2 to prevent the readline input
hook from being called too frequently had the side effect of causing delays
when reading pasted input on systems such as Mac OS X. This patch fixes
those delays while retaining the readline-6.2 behavior.
Patch (apply with `patch -p0'):
*** ../readline-6.2-patched/input.c 2010-05-30 18:33:01.000000000 -0400
--- input.c 2012-06-25 21:08:42.000000000 -0400
***************
*** 410,414 ****
rl_read_key ()
{
! int c;
rl_key_sequence_length++;
--- 412,416 ----
rl_read_key ()
{
! int c, r;
rl_key_sequence_length++;
***************
*** 430,441 ****
while (rl_event_hook)
{
! if (rl_gather_tyi () < 0) /* XXX - EIO */
{
rl_done = 1;
return ('\n');
}
RL_CHECK_SIGNALS ();
- if (rl_get_char (&c) != 0)
- break;
if (rl_done) /* XXX - experimental */
return ('\n');
--- 432,447 ----
while (rl_event_hook)
{
! if (rl_get_char (&c) != 0)
! break;
!
! if ((r = rl_gather_tyi ()) < 0) /* XXX - EIO */
{
rl_done = 1;
return ('\n');
}
+ else if (r == 1) /* read something */
+ continue;
+
RL_CHECK_SIGNALS ();
if (rl_done) /* XXX - experimental */
return ('\n');
*** ../readline-6.2-patched/patchlevel 2010-01-14 10:15:52.000000000 -0500
--- patchlevel 2011-11-17 11:09:35.000000000 -0500
***************
*** 1,3 ****
# Do not edit -- exists only for use by patch
! 2
--- 1,3 ----
# Do not edit -- exists only for use by patch
! 3

View File

@ -0,0 +1,108 @@
READLINE PATCH REPORT
=====================
Readline-Release: 6.2
Patch-ID: readline62-004
Bug-Reported-by: Jakub Filak
Bug-Reference-ID:
Bug-Reference-URL: https://bugzilla.redhat.com/show_bug.cgi?id=813289
Bug-Description:
Attempting to redo (using `.') the vi editing mode `cc', `dd', or `yy'
commands leads to an infinite loop.
Patch (apply with `patch -p0'):
*** ../readline-6.2-patched/vi_mode.c 2011-02-25 11:17:02.000000000 -0500
--- vi_mode.c 2012-06-02 12:24:47.000000000 -0400
***************
*** 1235,1243 ****
r = rl_domove_motion_callback (_rl_vimvcxt);
}
! else if (vi_redoing)
{
_rl_vimvcxt->motion = _rl_vi_last_motion;
r = rl_domove_motion_callback (_rl_vimvcxt);
}
#if defined (READLINE_CALLBACKS)
else if (RL_ISSTATE (RL_STATE_CALLBACK))
--- 1297,1313 ----
r = rl_domove_motion_callback (_rl_vimvcxt);
}
! else if (vi_redoing && _rl_vi_last_motion != 'd') /* `dd' is special */
{
_rl_vimvcxt->motion = _rl_vi_last_motion;
r = rl_domove_motion_callback (_rl_vimvcxt);
}
+ else if (vi_redoing) /* handle redoing `dd' here */
+ {
+ _rl_vimvcxt->motion = _rl_vi_last_motion;
+ rl_mark = rl_end;
+ rl_beg_of_line (1, key);
+ RL_UNSETSTATE (RL_STATE_VIMOTION);
+ r = vidomove_dispatch (_rl_vimvcxt);
+ }
#if defined (READLINE_CALLBACKS)
else if (RL_ISSTATE (RL_STATE_CALLBACK))
***************
*** 1317,1325 ****
r = rl_domove_motion_callback (_rl_vimvcxt);
}
! else if (vi_redoing)
{
_rl_vimvcxt->motion = _rl_vi_last_motion;
r = rl_domove_motion_callback (_rl_vimvcxt);
}
#if defined (READLINE_CALLBACKS)
else if (RL_ISSTATE (RL_STATE_CALLBACK))
--- 1387,1403 ----
r = rl_domove_motion_callback (_rl_vimvcxt);
}
! else if (vi_redoing && _rl_vi_last_motion != 'c') /* `cc' is special */
{
_rl_vimvcxt->motion = _rl_vi_last_motion;
r = rl_domove_motion_callback (_rl_vimvcxt);
}
+ else if (vi_redoing) /* handle redoing `cc' here */
+ {
+ _rl_vimvcxt->motion = _rl_vi_last_motion;
+ rl_mark = rl_end;
+ rl_beg_of_line (1, key);
+ RL_UNSETSTATE (RL_STATE_VIMOTION);
+ r = vidomove_dispatch (_rl_vimvcxt);
+ }
#if defined (READLINE_CALLBACKS)
else if (RL_ISSTATE (RL_STATE_CALLBACK))
***************
*** 1378,1381 ****
--- 1456,1472 ----
r = rl_domove_motion_callback (_rl_vimvcxt);
}
+ else if (vi_redoing && _rl_vi_last_motion != 'y') /* `yy' is special */
+ {
+ _rl_vimvcxt->motion = _rl_vi_last_motion;
+ r = rl_domove_motion_callback (_rl_vimvcxt);
+ }
+ else if (vi_redoing) /* handle redoing `yy' here */
+ {
+ _rl_vimvcxt->motion = _rl_vi_last_motion;
+ rl_mark = rl_end;
+ rl_beg_of_line (1, key);
+ RL_UNSETSTATE (RL_STATE_VIMOTION);
+ r = vidomove_dispatch (_rl_vimvcxt);
+ }
#if defined (READLINE_CALLBACKS)
else if (RL_ISSTATE (RL_STATE_CALLBACK))
*** ../readline-6.2-patched/patchlevel 2010-01-14 10:15:52.000000000 -0500
--- patchlevel 2011-11-17 11:09:35.000000000 -0500
***************
*** 1,3 ****
# Do not edit -- exists only for use by patch
! 3
--- 1,3 ----
# Do not edit -- exists only for use by patch
! 4

View File

@ -0,0 +1,13 @@
ripped from Fedora
--- support/shobj-conf
+++ support/shobj-conf
@@ -102,7 +102,7 @@
SHOBJ_LD='${CC}'
SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'
- SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir) -Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
+ SHLIB_XLDFLAGS='-Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)'
;;

View File

@ -0,0 +1,24 @@
dont ignore errors in the shlib subdir
http://bugs.gentoo.org/216952
--- Makefile.in
+++ Makefile.in
@@ -194,7 +194,7 @@
shared: force
-test -d shlib || mkdir shlib
- -( cd shlib ; ${MAKE} ${MFLAGS} all )
+ ( cd shlib ; ${MAKE} ${MFLAGS} all )
documentation: force
-test -d doc || mkdir doc
@@ -238,7 +238,7 @@
-( cd shlib; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} uninstall )
install-shared: installdirs install-headers shared install-doc
- -( cd shlib ; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} install )
+ ( cd shlib ; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} install )
uninstall-shared: maybe-uninstall-headers
-( cd shlib; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} uninstall )

View File

@ -0,0 +1,21 @@
diff -ru src/termcap.c src.fixed/termcap.c
--- src/termcap.c 2002-02-25 18:59:21.000000000 +0100
+++ src.fixed/termcap.c 2012-01-09 11:04:54.000000000 +0100
@@ -460,6 +460,7 @@
char *tcenv = NULL; /* TERMCAP value, if it contains :tc=. */
char *indirect = NULL; /* Terminal type in :tc= in TERMCAP value. */
int filep;
+ char *term_name;
#ifdef INTERNAL_TERMINAL
/* For the internal terminal we don't want to read any termcap file,
@@ -500,7 +501,8 @@
it is the entry itself, but only if
the name the caller requested matches the TERM variable. */
- if (termcap_name && !filep && !strcmp (name, getenv ("TERM")))
+ term_name = getenv("TERM");
+ if (termcap_name && !filep && term_name && !strcmp (name, term_name))
{
indirect = tgetst1 (find_capability (termcap_name, "tc"), (char **) 0);
if (!indirect)

View File

@ -0,0 +1,59 @@
================
=== W[hat]TF ===
================
Gentoo patchsets that have grown too large to keep on the rsync mirrors have
been moved to our cvs tree. From there, we bundle up all the whee little
patches into a tarball and distribute it via our public mirroring system.
If you want specific info about a patch (like wtf it does or whose great idea
it was to change the code), read the patch ! We try to fill out the top of
them with useful info such as what it does, why it's needed, bug reports,
original creators, etc... For simple patches, we reserve the right to assume
your IQ is greater than absolute 0 and figure out what it does w/out an
explanation. If, by some miracle of science, it falls below the absolute 0
mark, you should help mankind by finding some scientists and letting them
probe you with their ... erm ... probes.
=================
=== W[here]TF ===
=================
For those with CVS access, you want the 'src/patchsets' dir inside of the
'gentoo' cvs module.
For those w/out CVS access, this URL should help you:
http://sources.gentoo.org/gentoo/src/patchsets/
(you can also find anon cvs access there too)
It should be pretty easy to find your way around, you're a big boy after all.
===============
=== H[ow]TF ===
===============
The patch naming/applying convention might be a little confusing to the Gentoo
outsider, so here's a quick rundown. Patch tarballs are applied in Gentoo via
a helper command called "epatch". This command is pretty forgiving when it
comes to applying patches.
For example, it will autodetect the required -p# by starting at 0 and counting
up until things apply. So do not expect a patch series to all be at the same -p
level even if they all apply from the same source directory. Typically however,
people will use -p0 or -p1.
The epatch command will also use the -E option by default as the `patch` command
can be pretty picky about removing files. We just force the issue. If you
really need to empty out a file but leave it behind, people can use `touch` in
the ebuild.
The patch naming convention is part rigorous and part open ended. By default,
the patch should follow:
#_<arch>_<desc>.patch
The number field is to provide strict numerical ordering and has no limit (well,
except for your IMAGINATION). The <arch> field corresponds to the Gentoo arch
naming convention (so expect to see "amd64" instead of "x86_64"). If you see
"all" (which is how we strongly encourage people to manage things), then the
patch should be applied for all arches, and any arch-specific issues can then
be handled at build time (configure detection or something). The <desc> is a
free form field where people can stick whatever they want.

View File

@ -0,0 +1,24 @@
--- ./termcap.linuxlat Mon Mar 6 09:47:25 2000
+++ ./termcap Mon Mar 6 09:48:21 2000
@@ -495,7 +495,10 @@
# (untranslatable capabilities removed to fit entry within 1023 bytes)
# (sgr removed to fit entry within 1023 bytes)
# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
-linux|linux console:\
+#
+# added linux-lat as an alias -- the line drawing characters aren't right, but
+# I think everything which uses line-drawing chars uses terminfo anyway -- ewt
+linux|linux-lat|linux console:\
:am:eo:mi:ms:xn:xo:\
:it#8:\
:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:K2=\E[G:al=\E[L:\
@@ -504,7 +507,8 @@
:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[[A:k2=\E[[B:\
:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:\
- :kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mh=\E[2m:\
+ :kd=\E[B:kh=\E[1~:kH=\E[4~:@7=\E[4~:*6=\E[4~:\
+ :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mh=\E[2m:\
:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:sc=\E7:se=\E[27m:sf=^J:\
:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
:vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\

View File

@ -0,0 +1,351 @@
--- termcap.xtermchanges Mon Mar 20 02:21:17 2000
+++ termcap Mon Mar 20 02:28:12 2000
@@ -1723,178 +1723,123 @@
:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:\
:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
:ue=\E[m:up=\E[A:us=\E[4m:
-# Compatible with the R5 xterm
-# (from the XFree86 3.2 distribution, <blink=@> removed)
-# added khome/kend, rmir/smir, rmul/smul based on the R5 xterm code - TD
-# corrected typos in rs2 string - TD
-xterm-r5|xterm R5 version:\
- :am:bs:km:ms:xn:\
- :co#80:it#8:li#24:\
- :@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
- :F1=\E[23~:F2=\E[24~:IC=\E[%d@:Km=\E[M:LE=\E[%dD:\
- :RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
- :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
- :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:\
- :im=\E[4h:k0=\EOq:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
+xf|xterm-xfree86|XFree86 xterm:\
+ :is=\E[!p\E[?3;4l\E[4l\E>:\
+ :rs=\E[!p\E[?3;4l\E[4l\E>:\
+ :AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:DO=\E[%dB:UP=\E[%dA:\
+ :LE=\E[%dD:RI=\E[%dC:\
+ :al=\E[L:am:bl=^G:\
+ :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:co#80:\
+ :cs=\E[%i%d;%dr:ct=\E[3g:\
+ :dc=\E[P:dl=\E[M:ho=\E[H:\
+ :im=\E[4h:ei=\E[4l:mi:\
+ :ks=\E[?1h\E=:ke=\E[?1l\E>:\
+ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
- :k;=\E[21~:kA=\E[30~:kD=\E[3~:kE=\E[8~:kI=\E[2~:kL=\E[31~:\
- :kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
- :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
- :me=\E[m:mr=\E[7m:nd=\E[C:\
- :r2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H:\
- :rc=\E8:\
- :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
- :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
- :up=\E[A:us=\E[4m:
+ :k;=\E[21~:F1=\E[23~:F2=\E[24~:\
+ :kn#12:\
+ :kH=\E[4~::@7=\E[4~:kh=\E[1~:\
+ :@0=\E[1~:kI=\E[2~:kD=\177:\
+ :*6=\E[4~:kP=\E[5~:kN=\E[6~:\
+ :km:\
+ :kb=^H:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
+ :li#24:md=\E[1m:me=\E[m^O:mr=\E[7m:ms:nd=\E[C:\
+ :eA=\E)0:as=^N:ae=^O:ml=\El:mu=\Em:\
+ :sc=\E7:rc=\E8:sf=\n:so=\E[7m:se=\E[27m:sr=\EM:st=\EH:\
+ :ti=\E7\E[?47h:te=\E[2J\E[?47l\E8:\
+ :vi=\E[?25l:ve=\E[?25h:\
+ :up=\E[A:us=\E[4m:ue=\E[24m:xn:\
+ :ut:Co#8:op=\E[39;49m:AB=\E[4%dm:AF=\E[3%dm:\
+ :pa#64:Sf=\E[3%dm:Sb=\E[4%dm:
+v1|xterm-24|xterms|vs100|24x80 xterm:\
+ :li#24:\
+ :tc=xterm:
+v2|xterm-65|65x80 xterm:\
+ :li#65:tc=xterm:
+vb|xterm-bold|xterm with bold for underline:\
+ :us=\E[1m:tc=xterm:
+vb|xterm-boldso|xterm with bold for standout:\
+ :se=\E[m:so=\E[1m:tc=xterm:
+vm|xtermm|monochrome xterm:\
+ :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
+ :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
+ :kn#20:\
+ :st@:ut@:Co@:NC@:op@:AB@:AF@:pa@:Sf@:Sb@:tc=xterm:
+#
+# This should work for the commonly used "color xterm" variations (XFree86
+# xterm, color_xterm, nxterm, rxvt). You may have trouble with this using
+# conventional termcap because ncurses reports it is longer than 1023
+# characters. That is because resolving it adds the alternate character-set
+# (you can suppress it with "ac@").
+vc|xterm-color|generic "ANSI" color xterm:\
+ :Co#8:NC@:pa#64:op=\E[m:AB=\E[4%dm:AF=\E[3%dm:tc=xterm-r6:
+xterm-redhat|xterm with modifications to follow Debian keyboard policy:\
+ :kb=\177:kD=\E[3~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
+ :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
+ :tc=xterm-xfree86:
+vt|xterm-vt220|xterm emulating vt220:\
+ :tc=xterm-xfree86:
+#
+# vi may work better with this entry, because vi doesn't use insert mode much.+ # |xterm-ic|xterm-vi|xterm with insert character instead of insert mode:\
+vi|xterm-ic|xterm-vi|xterm with insert char:\
+ :im@:ei@:mi@:ic=\E[@:IC=\E[%d@:tc=xterm:
+#
# Compatible with the R6 xterm
-# (from XFree86 3.2 distribution, <acsc> and :it: added, <blink@> removed)
-# added khome/kend - TD
-# (untranslatable capabilities removed to fit entry within 1023 bytes)
-# (sgr removed to fit entry within 1023 bytes)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
-xterm-r6|xterm-old|xterm X11R6 version:\
- :am:bs:km:mi:ms:xn:\
- :co#80:it#8:li#24:\
- :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
- :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
- :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
- :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
- :ho=\E[H:im=\E[4h:\
- :is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:\
- :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
- :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
- :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
- :ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:\
- :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
- :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:\
- :us=\E[4m:
-# This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
-# The name has been changed and some aliases have been removed.
-# (untranslatable capabilities removed to fit entry within 1023 bytes)
-# (sgr removed to fit entry within 1023 bytes)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
-xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System):\
- :am:bs:km:mi:ms:xn:\
- :co#80:it#8:li#24:\
- :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
- :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
- :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
- :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
- :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
- :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
+r6|xterm-r6|xterm-old|X11R6 xterm:\
:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
- :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
- :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\177:kI=\E[2~:\
- :kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:\
- :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
- :me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
- :sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[2J\E[?47l\E8:\
- :ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:\
- :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
-
-# This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
-# codes for F1-F4 except while in VT220 mode.
-xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System):\
+ :rs=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
+ :AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:DO=\E[%dB:UP=\E[%dA:\
+ :LE=\E[%dD:RI=\E[%dC:\
+ :al=\E[L:am:bl=^G:\
+ :bs:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:co#80:\
+ :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:ho=\E[H:\
+ :im=\E[4h:ei=\E[4l:mi:\
+ :ks=\E[?1h\E=:ke=\E[?1l\E>:\
+ :@7=\E[4~:kh=\E[1~:\
:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
- :tc=xterm-xf86-v32:
-
-# This version was released in XFree86 3.3.3 (November 1998).
-# Besides providing printer support, it exploits a new feature that allows
-# xterm to use terminfo-based descriptions with the titeInhibit resource.
-xterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System):\
- :5i:\
- :*6@:@0@:@7=\E[4~:ei=:ic@:im=:is=\E[\041p\E[?3;4l\E[4l\E>:\
- :kD=\E[3~:kh=\E[1~:mb=\E[5m:mk=\E[8m:pf=\E[4i:po=\E[5i:\
- :ps=\E[i:r1=\Ec:r2=\E[\041p\E[?3;4l\E[4l\E>:\
- :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;:\
- :te=\E[?1047l\E[?1048l:ti=\E[?1048h\E[?1047h:\
- :tc=xterm-xf86-v33:
-
-# This beta version will probably be released in XFree86 4.0.
-xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System):\
- :@7=\EOF:K1=\EOH:K2=\EOE:K3=\E[5~:K4=\EOF:K5=\E[6~:kD=\177:\
- :kh=\EOH:te=\E[?1049l:ti=\E[?1049h:\
- :tc=xterm-xf86-v333:
-
-xterm-xfree86|xterm-new|xterm terminal emulator (XFree86 4.0 Window System):\
- :tc=xterm-xf86-v40:
-
-# From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
-xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1:\
- :se=\E[m:ue=\E[m:\
- :tc=xterm-xf86-v33:
-
-# This is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
-xterm-16color|xterm with 16 colors like aixterm:\
- :Co#16:NC#32:pa#256:\
- :AB=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm:\
- :AF=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm:\
- :..Sb=%p1%{8}%/%{6}%*%{4}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m:\
- :..Sf=%p1%{8}%/%{6}%*%{3}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m:\
- :tc=xterm-xf86-v40:
-
-# This is another variant, for XFree86 4.0 xterm (T.Dickey)
-# This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
-# To use it, your decTerminalID resource must be set to 200 or above.
-#
-# HTS \E H \210
-# RI \E M \215
-# SS3 \E O \217
-# CSI \E [ \233
-#
-# (untranslatable capabilities removed to fit entry within 1023 bytes)
-# (sgr removed to fit entry within 1023 bytes)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
-xterm-8bit|xterm terminal emulator 8-bit controls (X Window System):\
- :am:bs:km:mi:ms:xn:\
- :co#80:it#8:li#24:\
- :AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
- :K1=\217w:K2=\217y:K3=\217u:K4=\217q:K5=\217s:LE=\233%dD:\
- :RI=\233%dC:UP=\233%dA:ae=^O:al=\233L:as=^N:bl=^G:bt=\233Z:\
- :cd=\233J:ce=\233K:cl=\233H\2332J:cm=\233%i%d;%dH:cr=^M:\
- :cs=\233%i%d;%dr:ct=\2333g:dc=\233P:dl=\233M:do=^J:\
- :ec=\233%dX:ei=\2334l:ho=\233H:im=\2334h:\
- :is=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>:\
- :k1=\23311~:k2=\23312~:k3=\23313~:k4=\23314~:k5=\23315~:\
- :k6=\23317~:k7=\23318~:k8=\23319~:k9=\23320~:kD=\2333~:\
- :kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\217B:\
- :ke=\233?1l\E>:kh=\2331~:kl=\217D:kr=\217C:ks=\233?1h\E=:\
- :ku=\217A:le=^H:mb=\2335m:md=\2331m:me=\233m^O:mr=\2337m:\
- :nd=\233C:rc=\E8:sc=\E7:se=\23327m:sf=^J:so=\2337m:sr=\215:\
- :st=\210:ta=^I:te=\233?1049l:ti=\233?1049h:ue=\23324m:\
- :up=\233A:us=\2334m:vb=\233?5h\233?5l:ve=\233?25h:\
- :vi=\233?25l:vs=\233?25h:
-
-xterm-24|vs100|xterms|xterm terminal emulator (X Window System):\
- :li#24:tc=xterm:
-
-# This is xterm for ncurses.
-xterm|xterm terminal emulator (X Window System):\
- :Km=\E[M:\
- :ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
- :u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:\
- :tc=xterm-r6:
-
-# These entries allow access to the X titlebar and icon name as a status line.
-# Note that twm (and possibly window managers descended from it such as tvtwm,
-# ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
-# with it.
-xterm+sl|access X title line and icon name:\
- :hs:\
- :ws#40:\
- :ds=\E]0;\007:fs=^G:ts=\E]0;:tc=xterm:
-xterm+sl-twm|access X title line (pacify twm-descended window managers):\
- :hs:\
- :ws#40:\
- :ds=\E]2;\007:fs=^G:ts=\E]2;:tc=xterm:
+ :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
+ :k;=\E[21~:\
+ :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
+ :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
+ :kn#20:\
+ :@0=\E[1~:kI=\E[2~:kD=\E[3~:\
+ :*6=\E[4~:kP=\E[5~:kN=\E[6~:\
+ :km:\
+ :kb=^H:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
+ :li#24:md=\E[1m:me=\E[m:mr=\E[7m:ms:nd=\E[C:pt:\
+ :eA=\E)0:as=^N:ae=^O:\
+ :ml=\El:mu=\Em:\
+ :sc=\E7:rc=\E8:sf=\n:so=\E[7m:se=\E[m:sr=\EM:\
+ :ti=\E7\E[?47h:te=\E[2J\E[?47l\E8:\
+ :up=\E[A:us=\E[4m:ue=\E[m:xn:
+#
+# Compatible with the R5 xterm
+r5|xterm-r5|X11R5 xterm X11R5:\
+ :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:UP=\E[%dA:\
+ :al=\E[L:am:\
+ :bs:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:co#80:\
+ :cs=\E[%i%d;%dr:ct=\E[3g:\
+ :dc=\E[P:dl=\E[M:\
+ :im=\E[4h:ei=\E[4l:mi:\
+ :ho=\E[H:\
+ :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
+ :rs=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H:\
+ :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
+ :kl=\EOD:km:kn#4:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:\
+ :@7=\E[4~:kh=\E[1~:\
+ :li#24:md=\E[1m:me=\E[m:mr=\E[7m:ms:nd=\E[C:pt:\
+ :sc=\E7:rc=\E8:sf=\n:so=\E[7m:se=\E[m:sr=\EM:\
+ :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
+ :up=\E[A:us=\E[4m:ue=\E[m:xn:
+#
+# This is the only entry which you should have to customize, since "xterm"
+# is widely used for a variety of incompatible terminal emulations including
+# color_xterm and rxvt.
+v0|xterm|X11 terminal emulator:\
+ :tc=xterm-redhat:
+# :tc=xterm-xfree86:
+# :tc=xterm-r6:
-#
-# The following xterm variants don't depend on your base version
-#
-# xterm with bold instead of underline
-xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold:\
- :so=\E[7m:us=\E[1m:\
- :tc=xterm:
# (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
# (kterm should not invoke DEC Graphics as the alternate character set
# -- Kenji Rikitake)
@@ -1912,40 +1857,6 @@
:te@:ti@:\
:tc=xterm:
-# This describes the capabilities of color_xterm, an xterm variant from
-# before ECMA-64 color support was folded into the main-line xterm release.
-# This entry is straight from color_xterm's maintainer.
-# From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
-# The README's with the distribution also say that it supports SGR 21, 24, 25
-# and 27, but they are not present in the terminfo or termcap.
-# (untranslatable capabilities removed to fit entry within 1023 bytes)
-# (sgr removed to fit entry within 1023 bytes)
-# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
-color_xterm|cx|cx100|color_xterm color terminal emulator for X:\
- :am:bs:km:mi:ms:xn:\
- :co#80:it#8:li#65:\
- :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
- :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
- :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
- :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
- :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
- :i1=\E[r\E[m\E[?7h\E[?4;6l\E[4l:im=\E[4h:k1=\E[11~:\
- :k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:\
- :k7=\E[18~:k8=\E[19~:k9=\E[20~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
- :kb=^H:kd=\EOB:kh=\E[7~:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:\
- :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
- :sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E>\E[?41;1r:\
- :ti=\E[?1;41s\E[?1;41h\E=:ue=\E[24m:up=\E[A:us=\E[4m:
-
-# The 'nxterm' distributed with Redhat Linux is a slight rehack of
-# xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
-# SGR 39 or 49. SGR 0 does reset colors (along with everything else). This
-# description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
-# that each of those implements the home, end, delete keys differently.
-nxterm|xterm-color|generic color xterm:\
- :NC@:\
- :op=\E[m:tc=xterm-r6:tc=klone+color:
-
# From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
# Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
# Notes:
@@ -2023,16 +1934,6 @@
:..Sf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m:\
:op=\E[100m:\
:tc=xtermm:
-
-# From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
-# Here's a termcap entry I've been using for xterm_color, which comes
-# with BSD/OS 2.0, and the X11R6 contrib tape too I think. Besides the
-# color stuff, I also have a status line defined as the window manager
-# title bar. [I have translated it to terminfo -- ESR]
-xterm-pcolor|xterm with color used for highlights and status line:\
- :md=\E[1m\E[43m:mr=\E[7m\E[34m:so=\E[7m\E[31m:\
- :us=\E[4m\E[42m:\
- :tc=xterm+sl:tc=xterm-r6:
# HP ships this, except for the pb#9600 which was merged in from BSD termcap.
# (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)

View File

@ -0,0 +1,52 @@
--- termcap.old Wed May 24 22:37:06 2000
+++ termcap Wed May 24 22:38:57 2000
@@ -616,6 +616,22 @@
:vb=200\E[?5h\E[?5l:ve=\E[?25h\E[?0c:vi=\E[?25l\E[?1c:\
:vs=\E[?25h\E[?8c:\
:tc=klone+sgr:tc=ecma+color:
+# From Unicode-HOWTO
+linux-utf8|linux in Unicode (UTF-8) mode:\
+ :am:eo:mi:ms:xn:xo:\
+ :it#8:\
+ :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:K2=\E[G:\
+ :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\
+ :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
+ :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:\
+ :ic=\E[@:im=\E[4h:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:\
+ :k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
+ :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:\
+ :kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
+ :me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:sc=\E7:\
+ :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:\
+ :up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:ve=\E[?25h:\
+ :vi=\E[?25l:vs=\E[?25h:
linux-m|Linux console no color:\
:Co@:pa@:\
:AB@:AF@:Sb@:Sf@:tc=linux:
@@ -1779,6 +1795,26 @@
:tc=xterm-xfree86:
vt|xterm-vt220|xterm emulating vt220:\
:tc=xterm-xfree86:
+
+xterm-utf8|xterm in Unicode (UTF-8) mode:\
+ :am:km:mi:ms:xn:\
+ :co#80:it#8:li#24:\
+ :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+ :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
+ :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
+ :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
+ :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
+ :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
+ :is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
+ :k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
+ :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
+ :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:\
+ :ke=\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
+ :ku=\EOA:le=^H:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:\
+ :rc=\E8:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
+ :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
+ :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
+ :vs=\E[?25h:
#
# vi may work better with this entry, because vi doesn't use insert mode much.+ # |xterm-ic|xterm-vi|xterm with insert character instead of insert mode:\
vi|xterm-ic|xterm-vi|xterm with insert char:\

View File

@ -0,0 +1,12 @@
--- termcap.orig Thu Mar 22 17:19:03 2001
+++ termcap Thu Mar 22 17:17:41 2001
@@ -1872,7 +1872,8 @@
# is widely used for a variety of incompatible terminal emulations including
# color_xterm and rxvt.
v0|xterm|X11 terminal emulator:\
- :tc=xterm-redhat:
+ :tc=xterm-redhat:\
+ :kh=\EOH:ho=\E[1~:@7=\EOF:kH=\E[4~:
# :tc=xterm-xfree86:
# :tc=xterm-r6:

View File

@ -0,0 +1,29 @@
--- termcap.Eterm 2002-08-23 13:30:46.000000000 -0600
+++ termcap 2002-08-23 13:40:54.000000000 -0600
@@ -1894,6 +1894,26 @@
:te@:ti@:\
:tc=xterm:
+# support for Eterm
+Eterm|Eterm-color|Eterm with xterm-style color support (X Window System):\
+ :am:bw:eo:km:mi:ms:xn:xo:\
+ :co#80:it#8:li#24:lm#0:\
+ :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+ :K1=\E[7~:K2=\EOu:K3=\E[5~:K4=\E[8~:K5=\E[6~:LE=\E[%dD:\
+ :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
+ :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
+ :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
+ :ec=\E[%dX:ei=\E[4l:ho=\E[H:i1=\E[?47l\E>\E[?1l:ic=\E[@:\
+ :im=\E[4h:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
+ :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
+ :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
+ :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=:kh=\E[7~:\
+ :kl=\E[D:kr=\E[C:ks=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
+ :me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:\
+ :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
+ :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
+ :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
+
# From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
# Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
# Notes:

View File

@ -0,0 +1,217 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit eutils
VERSION_MUSL_CROSS="843d4b7e9187"
VERSION_BINUTILS="2.22"
VERSION_GCC="4.7.2"
VERSION_LINUX="3.2.32"
VERSION_MUSL="0.9.8"
VERSION_ZLIB="1.2.7"
VERSION_TERMCAP="1.3.1"
VERSION_READLINE="6.2"
VERSION_ICONV="1.14"
VERSION_SFTPSERVER="0.1"
VERSION_DROPBEAR="2012.55"
VERSION_BUSYBOX="1.20.2"
DESCRIPTION="Recovery Initramfs Overlay"
HOMEPAGE="http://sablink.disconnected-by-peer.at"
SRC_URI="https://bitbucket.org/GregorR/musl-cross/get/${VERSION_MUSL_CROSS}.zip
mirror://gnu/binutils/binutils-${VERSION_BINUTILS}.tar.bz2
mirror://gnu/gcc/gcc-4.7.2/gcc-${VERSION_GCC}.tar.bz2
mirror://kernel/linux/kernel/v3.0/linux-${VERSION_LINUX}.tar.bz2
http://www.musl-libc.org/releases/musl-${VERSION_MUSL}.tar.gz
http://prdownloads.sourceforge.net/libpng/zlib-${VERSION_ZLIB}.tar.gz
http://www.catb.org/~esr/terminfo/termtypes.tc.gz
mirror://gnu/termcap/termcap-${VERSION_TERMCAP}.tar.gz
mirror://gnu/libiconv/libiconv-${VERSION_ICONV}.tar.gz
mirror://gnu/readline/readline-${VERSION_READLINE}.tar.gz
http://www.greenend.org.uk/rjk/sftpserver/sftpserver-${VERSION_SFTPSERVER}.tar.gz
https://matt.ucc.asn.au/dropbear/dropbear-${VERSION_DROPBEAR}.tar.gz
http://busybox.net/downloads/busybox-${VERSION_BUSYBOX}.tar.bz2
ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs-3.1.8.tar.gz
http://jfs.sourceforge.net/project/pub/jfsutils-1.1.15.tar.gz
mirror://gentoo/btrfs-progs-0.19.11.tar.bz2
http://sourceforge.net/projects/e2fsprogs/files/e2fsprogs/v1.42.6/e2fsprogs-libs-1.42.6.tar.gz
http://sourceforge.net/projects/e2fsprogs/files/e2fsprogs/v1.42.6/e2fsprogs-1.42.6.tar.gz
http://ftp.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v3.6.22/reiserfsprogs-3.6.22.tar.bz2
http://sourceforge.net/projects/reiser4/files/reiser4-utils/libaal/libaal-1.0.5.tar.gz
http://sourceforge.net/projects/reiser4/files/reiser4-utils/reiser4progs/reiser4progs-1.0.7.tar.gz
"
LICENSE="GPL-2 BSD"
SLOT="0"
KEYWORDS=""
IUSE=""
RESTRICT=""
DEPEND=""
RDEPEND="${DEPEND}"
S=${WORKDIR}
DDIR=${WORKDIR}/${PN}
IDIR=/usr/share/${PN}
src_prepare() {
# prepare croos toolchain
pushd ${WORKDIR}/GregorR-musl-cross-${VERSION_MUSL_CROSS}
cd tarballs
ln -sf ${DISTDIR}/binutils-${VERSION_BINUTILS}.tar.bz2 .
ln -sf ${DISTDIR}/gcc-${VERSION_GCC}.tar.bz2 .
ln -sf ${DISTDIR}/linux-${VERSION_LINUX}.tar.bz2 .
ln -sf ${DISTDIR}/musl-${VERSION_MUSL}.tar.gz .
popd
# nothing to prepare in zlib
#pushd ${WORKDIR}/zlib-${VERSION_ZLIB}
#popd
# prepare in termcap
pushd ${WORKDIR}/termcap-${VERSION_TERMCAP}
EPATCH_SOURCE="${FILESDIR}/termcap/${VERSION_TERMCAP}"
EPATCH_SUFFIX="patch"
epatch "${EPATCH_SOURCE}"
cp ../GregorR-musl-cross-${VERSION_MUSL_CROSS}/extra/config.sub .
popd
mv termtypes.tc termcap || die
epatch "${EPATCH_SOURCE}"/tc.file
# add redline patches
pushd ${WORKDIR}/readline-${VERSION_READLINE}
EPATCH_SOURCE="${FILESDIR}/readline/${VERSION_READLINE}"
EPATCH_SUFFIX="patch"
epatch "${EPATCH_SOURCE}"
cp ../GregorR-musl-cross-${VERSION_MUSL_CROSS}/extra/config.sub support/
popd
# prepare in iconv
pushd ${WORKDIR}/libiconv-${VERSION_ICONV}
cp ../GregorR-musl-cross-${VERSION_MUSL_CROSS}/extra/config.sub build-aux/
cp ../GregorR-musl-cross-${VERSION_MUSL_CROSS}/extra/config.sub libcharset/build-aux/
popd
# prepare in sftpserver
pushd ${WORKDIR}/sftpserver-${VERSION_SFTPSERVER}
cp ../GregorR-musl-cross-${VERSION_MUSL_CROSS}/extra/config.sub config.aux/
popd
# prepare in dropbear
pushd ${WORKDIR}/dropbear-${VERSION_DROPBEAR}
cp ../GregorR-musl-cross-${VERSION_MUSL_CROSS}/extra/config.sub .
popd
# pushd ${WORKDIR}/
# popd
}
src_compile() {
# configure compile install musl for later use
pushd ${WORKDIR}/GregorR-musl-cross-${VERSION_MUSL_CROSS}
echo "CC_BASE_PREFIX=${DDIR}" > config.sh
echo "MAKEFLAGS=${MAKEFLAGS}" >> config.sh
echo "ARCH=${CHOST/-*/}" >> config.sh
# echo "GCC_BUILTIN_PREREQS=yes" >> config.sh
./build.sh
# export all the overwrites for the followd compiles
export PATH="${DDIR}/bin:${DDIR}/${CHOST/-*/}-linux-musl/bin:$PATH"
export CC=${CHOST/-*/}-linux-musl-gcc
export CXX=${CHOST/-*/}-linux-musl-g++
export LD_LIBRARY_PATH="${DDIR}/lib:${DDIR}/${CHOST/-*/}-linux-musl/${CHOST/-*/}-linux-musl/lib64:${DDIR}/${CHOST/-*/}-linux-musl/${CHOST/-*/}-linux-musl/lib"
export LDFLAGS="-L${DDIR}/lib"
popd
# configure compile install musl libc for later use
pushd ${WORKDIR}/musl-${VERSION_MUSL}
./configure --prefix=${DDIR} --syslibdir=${DDIR}/lib --host=${CHOST/-*/}-linux-musl --build=${CHOST/-*/}-linux-musl
emake
emake install
popd
# configure compile install zlib for later use
pushd ${WORKDIR}/zlib-${VERSION_ZLIB}
CC=${CHOST/-*/}-linux-musl-gcc ./configure --prefix=${DDIR} --shared
emake
emake install
popd
# configure compile install termcap for later use
pushd ${WORKDIR}/termcap-${VERSION_TERMCAP}
./configure --prefix=${DDIR} --host="${CHOST/-*/}-linux-musl" --build="${CHOST/-*/}-linux-musl"
emake
emake install
popd
# configure compile install readline for later use
pushd ${WORKDIR}/readline-${VERSION_READLINE}
./configure --prefix="${DDIR}" --host="${CHOST/-*/}-linux-musl" --build="${CHOST/-*/}-linux-musl"
emake
emake install
popd
# configure compile install libiconv for later use
pushd ${WORKDIR}/libiconv-${VERSION_ICONV}
./configure --prefix="${DDIR}" --host="${CHOST/-*/}-linux-musl" --build="${CHOST/-*/}-linux-musl"
emake
emake install
popd
# configure compile install sftpserver
pushd ${WORKDIR}/sftpserver-${VERSION_SFTPSERVER}
LIBS="-lreadline -liconv" ./configure --prefix="${DDIR}" --enable-reversed-symlink --host="${CHOST/-*/}-linux-musl" --build="${CHOST/-*/}-linux-musl"
emake
emake install
# is not installed automatically
cp sftpclient "${DDIR}"/bin
popd
# configure compile install dropbear wit all supported programms
pushd ${WORKDIR}/dropbear-${VERSION_DROPBEAR}
./configure --prefix="${DDIR}" --with-zlib="${DDIR}" --host="${CHOST/-*/}-linux-musl" --build="${CHOST/-*/}-linux-musl"
emake PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"
emake PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" install
popd
}
src_install() {
into "${IDIR}"
# install libc and dependencies
dolib.so "${DDIR}"/lib/libc.so
dolib.so "${DDIR}"/${CHOST/-*/}-linux-musl/${CHOST/-*/}-linux-musl/$(get_libdir)/*.so*
ln -sf libc.so"${IDIR}"/lib/ld-musl-${CHOST/-*/}.so.1
# install zlib
dolib.so "${DDIR}"/lib/libz.so*
# install termcap
dolib.so "${DDIR}"/lib/libtermcap.so*
insinto "${IDIR}"/etc
doins "${WORKDIR}"/termcap || die
# install readline
dolib.so "${DDIR}"/lib/libcharset.so*
dolib.so "${DDIR}"/lib/libhistory.so*
dolib.so "${DDIR}"/lib/libreadline.so*
insinto "${IDIR}"/lib
doins "${DDIR}"/lib/charset.alias
# install iconv
dolib.so "${DDIR}"/lib/libiconv.so*
dobin "${DDIR}"/bin/iconv
# install sftpserver and client
dobin "${DDIR}"/bin/sftpclient
exeinto "${IDIR}"/libexec
# dropbear expects sftp to be specialy named
newexe "${DDIR}"/libexec/gesftpserver sftp-server
ln -sf ./ "${DDIR}"/usr
# insatll dropbear
dobin "${DDIR}"/bin/{dbclient,dropbearconvert,dropbearkey,scp}
dosbin "${DDIR}"/sbin/dropbear
}