Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lisp/sbcl/, dev-lisp/sbcl/files/
Date: Sat, 29 Aug 2015 11:20:45
Message-Id: 1440846964.9d693fbdaccbba115c069518a5b5853f5f099c4d.grozin@gentoo
1 commit: 9d693fbdaccbba115c069518a5b5853f5f099c4d
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 29 11:16:04 2015 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 29 11:16:04 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d693fbd
7
8 dev-lisp/sbcl: cleaning old versions
9
10 Package-Manager: portage-2.2.20.1
11
12 dev-lisp/sbcl/Manifest | 17 -
13 dev-lisp/sbcl/files/bsd-sockets-test-1.2.6.patch | 157 ----------
14 dev-lisp/sbcl/files/bsd-sockets-test-1.2.7.patch | 184 -----------
15 dev-lisp/sbcl/files/bsd-sockets-test-1.2.9.patch | 346 ---------------------
16 .../gentoo-fix_nopie_for_hardened_toolchain.patch | 24 --
17 dev-lisp/sbcl/files/gentoo_fix_waitpid_c.patch | 11 -
18 dev-lisp/sbcl/files/sbcl-1.0.55-newglibc.patch | 43 ---
19 .../sbcl/files/sbcl-1.0.55_no_doc_install.patch | 61 ----
20 dev-lisp/sbcl/files/sbcl-1.0.6-solaris.patch | 13 -
21 dev-lisp/sbcl/files/sbcl-1.2.7-verbose-build.patch | 28 --
22 dev-lisp/sbcl/sbcl-1.0.55-r1.ebuild | 203 ------------
23 dev-lisp/sbcl/sbcl-1.2.10.ebuild | 236 --------------
24 dev-lisp/sbcl/sbcl-1.2.11.ebuild | 236 --------------
25 dev-lisp/sbcl/sbcl-1.2.2.ebuild | 212 -------------
26 dev-lisp/sbcl/sbcl-1.2.4.ebuild | 212 -------------
27 dev-lisp/sbcl/sbcl-1.2.6.ebuild | 211 -------------
28 dev-lisp/sbcl/sbcl-1.2.7.ebuild | 233 --------------
29 dev-lisp/sbcl/sbcl-1.2.9.ebuild | 236 --------------
30 18 files changed, 2663 deletions(-)
31
32 diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest
33 index d344cf4..e425f7d 100644
34 --- a/dev-lisp/sbcl/Manifest
35 +++ b/dev-lisp/sbcl/Manifest
36 @@ -2,34 +2,17 @@ DIST sbcl-1.0.23-sparc-solaris-binary.tar.bz2 34342 SHA256 13c2b44c82334d51d00f6
37 DIST sbcl-1.0.28-alpha-linux-binary.tar.bz2 7573824 SHA256 0bd8125e1375a75b9dda286439dcbe9861d6df5c6fc8475fd217b8b757edf9cc SHA512 85ceb4d3bf971777f5444a63cbabd88ccfaf16ed3b3c86cc5ea6cb3fd3189c4cd5a5ebbf785c97366afb7026604ffc34a1129936291deede5993056e158125ab WHIRLPOOL 839363a0d2fcc7cf383143fc130c40bf6f03468a89eb4b5eecb39339ba376a6b3a2096938934a91cf689310bff20807d2ac24b99c0d6e3673729b26d9edb83aa
38 DIST sbcl-1.0.28-powerpc-linux-binary.tar.bz2 7621107 SHA256 b51fe8cd3a998d178fc1876d10016439cfa4ed3566d761c331cacab364acd591 SHA512 e3386d25ae44c03cac5ecf2a9ba95338348b51955dc731f0bb57a124e572601b84170b452ff0c3540af07278053f1e5d153a4f1a621b376ceb1861f84777bad3 WHIRLPOOL 1c16053a0c15b3bec892811185945df59765f4d220045e0f116234aa18f843c6a6b8ce472029603624e47751185822891ffaaeb96dfd87f714b8fddf74149f26
39 DIST sbcl-1.0.28-sparc-linux-binary.tar.bz2 8032042 SHA256 a2e848ac11b0f16bb91866bd187949d908ad94fabb958a0b56320fc0e8b8923e SHA512 cea1ba06f85169fca9fe3026813c6e7e8e8209b874e048b7bd63cb3a1c5bd7c829e8dbb2c486977e190a0390d28e4845938a9e84378f4f2f16f72bf0b6f45c80 WHIRLPOOL e7f7e9bc7b43cab7b729792a22f0f41be12d8dd97a1c45fa039a49607865b977dd336fef8c7ccda087a9e9e32f92241c83e05da442e12cf883d3dfb3c2fda169
40 -DIST sbcl-1.0.37-x86-64-linux-binary.tar.bz2 8702821 SHA256 0757a1d49d5452c9bef8d1c270dd423aa1b752e6a7ce4a3ffb546253e1bf56f3 SHA512 2175c30ce46c0b7b8fb4b2ed7aaadfa7a127cd50f2343adf1e8e0bd8b16c30803be5171fa076ca3a477df03a698f6887287bcf5e3249ba7c9e07f86f57cf8540 WHIRLPOOL 65322b7c36cf7cc23a796f4a4fd0c9f460c60cc18a0f3f167c20e892177c342f6af6ecda94e30ea32858ec3f13f0d7cb0a86955615b3fc180c62310de8bf1884
41 -DIST sbcl-1.0.37-x86-linux-binary.tar.bz2 8815040 SHA256 3d04ffc7c71afe523858799386a3175467556648b27184e39f62df8f60cf7268 SHA512 6c630ed7f5a86f1ed928e59f5258b7b7be116c23f469c814a386fd82c4a554ab02ca6819098e5703063ac6f683538779b00c3bd6757338ce2b843062d873989f WHIRLPOOL 25e575652d1c87ad6ecb8a0934c5e9b0210e566e11f6c5df09bb4048c7567732b10350c1f91e0bcc1c85907d1e2ed877e7297b7ee838b941cefd6fb6fe5da781
42 DIST sbcl-1.0.47-powerpc-darwin-binary.tar.bz2 8217590 SHA256 6971a64c0706894f217da676081874088f50f84daa66d89b653b065f83563f3b SHA512 8118de56e448bce7a72b832e661eb4e2687eed675f88f766f7043c843a432e35121d9e6f9da8d22ac690c54bda0d55ecb07728748ce2cdd57320f49b4b812b86 WHIRLPOOL f91c344a2b99a5a1c2dfe3af0172f548997b9aaf9ad5e865eb76c8311f6114275eda1e7e76af6efe5c1a346d1761f45e374f577313029fa9b83adfdec10c70ad
43 -DIST sbcl-1.0.55-source.tar.bz2 3611026 SHA256 e3216a7b9c302b6c1431d0f1ae444008de8ac465eb44f4ae841300d052d207ad SHA512 dbda1f1bcb28a4bea8bc3ab8c3d5c6c27754a1388087ae9db81b783444ac306d0c72dde3a096bc6dc716d1b174868f5e5f39402f69b0604fc8023b9227eea38b WHIRLPOOL ead2425660e1a8812f882bb4d359471f5f70295a0196e1df70ec5b6aa2bc2ccfb0f3c23d63aba19e149b808e4b4ced26b98428745033c8197255274094ccccea
44 DIST sbcl-1.0.58-x86-linux-binary.tar.bz2 9313124 SHA256 a2195fce096fd7c64acef60ca496a29d703afc61eb39c366fdd9e56dc8982f84 SHA512 2776faa09f8a3d35ccb2745ec4a07e78bd714c47ae39032bbef3161d599d14fcc6313e65629df06b576cb973012b9c8356fac47bf7b886f9549d688fab3c4f98 WHIRLPOOL d98dda83b6ee02a777c787013ada2ca0a4548c75abe907a29215a48693bbbf787a6c6f83e07b2e8ab94afae261572dc0222570927357656d388329541301537c
45 DIST sbcl-1.1.18-source.tar.bz2 4272315 SHA256 933238392a2a3533b4088b86c4fbd0704a5573c1c66987a603eec4afa782c7d0 SHA512 48501a670c7e1ea9ab5a03514e8b49b93d1dcbdb7712da8b38496a2d51a604fe30e2785a5e5e8aa40032ede5ee11a75f63ae1919ccd7316089a74486177ad417 WHIRLPOOL a7285ee77753bc1f14755425e232e6ffcff159be883bad779585cb247ff47b904b4fcab99e8fc2e33644764c602409c6e9bbd28588d3d639431650ea9d31c5f5
46 DIST sbcl-1.1.18-x86-64-linux-binary.tar.bz2 9196684 SHA256 c945406f9421736982efc4eaaeb376b19331422f5b5a349382ed53c742d6cb0a SHA512 d63a33532ae6390c00d789c22c4a504b621e707b8aa5f72d12b497be8a590a75604a18f384fa2d27df3a4a0ef3ecd4c27e7bfc4f74fde3a014df1aad5dd8ff0c WHIRLPOOL 980726e0dd182c2b29c5ac4deab994d028e0003a3e2ac3e38a0c052f6607fc75f6b298fb60c99ff9f373c9ba1f243d6bd97de2cb765aad559867598affd510ab
47 DIST sbcl-1.1.6-x86-darwin-binary.tar.bz2 9091955 SHA256 5801c60e2a875d263fccde446308b613c0253a84a61ab63569be62eb086718b3 SHA512 5b9d58ba1a7bcf3aa5011ac5ba1c8dba65e44b2c3f8a31b15db54de6b34ea0f7482c45f1cc4e1323e154ce79fbba030112df3795cb323bca46bac50f15d2a138 WHIRLPOOL 673e84bbf685e07568530ccb2c3822dbfffd6226d3de90bfef13078466ae245f63dd2fc4ac48b4d64ca1453cc831ad6913af21540bd3b35fe51700161ca26086
48 DIST sbcl-1.1.8-x86-64-darwin-binary.tar.bz2 9045228 SHA256 729054dc27d6b53bd734eac4dffeaa9e231e97bdbe4927d7a68c8f0210cad700 SHA512 d29cf032dd52b014fcc5c48fc5dd0a1f8065838cd9078d129742302c64263b7d630232d1f9c051b56b8b2b34f1bef338aeaf81ff827799032e44ca6165483e34 WHIRLPOOL f44112707f000a46d26a6af65e651868639beddab4be9c84c8f2bc8488f198ab661cb6aa62f1d38fbcbe48f259c0c2e54d255ae45db22f648b56aaaa4f104984
49 -DIST sbcl-1.2.10-source.tar.bz2 5520417 SHA256 55243d5085278b7d0f80e5b91889f44ff66c195d801b3da26f1f4c696711f685 SHA512 3303297b6b5ad354d30019c6e20f0e79b0f50a3860b39990de5b36c93ca5b509680f8bbbf38be5d65490572ff523d422206f6fb2a06ea99a708e2d14de7fd27c WHIRLPOOL 6ed0e8a0cda5bfd96dc209a82886c8c45a5f54f65a3b66f50224693af9d5b4dbc30747835910115fb519554eb0fe4adf374ca6525fddd3a2ff63fb401c0c301b
50 -DIST sbcl-1.2.10-x86-64-linux-binary.tar.bz2 10079986 SHA256 78c7144a27569f42dad5c1481c694ada5ac8c415de84b1cb838a4ad4b9f5903d SHA512 b9e5598fe90f4b41606f23ee8233a9f53772fc303a96f054ca203076c5f84b06bb945f74d9e98963d970f83fabb0cc4002d47418eb881479f1a029cca1902b22 WHIRLPOOL 00b48d28a67e91cfba59072f91bf9750b7542f31a8982595e936b54a061f30501520a935685ef5d8ac88362260aa9271f35b9e426133e20976f8c851b22715e3
51 -DIST sbcl-1.2.11-source.tar.bz2 5535528 SHA256 88aa04dae72d011f5c22084a35201188d8a02f0cd82e5de542aa4ce6bfaa3e70 SHA512 e033b61bfd2bdad1d04b3dfb5a92577a30dc7c40c679de377abf034e17de7bab034c34819b80255d16ba11ee9ac7fc29495b38844db5c19ef146d18728968694 WHIRLPOOL 24abe33e72c9e072d66bd0e3a6f8df4485e3560636c711a3d77fa71fecadba3c6cfad758cf3aeea54b94efd8e645c91a3f8634395854fca6cafc28095f10196f
52 -DIST sbcl-1.2.11-x86-64-linux-binary.tar.bz2 10238022 SHA256 bb5b5315ad120a57041891988900f560fd0467a28e8dee939d5b1472c8ad111e SHA512 4bdc2dab4bca3d7656288e7d5b56a89bde5de61ff190186a6bf09e00f62bd1e72c62d433818b84478b2eabe0712dd652418affed8a0bd4afd99e376c750955f1 WHIRLPOOL 21d66afdbf2456e43fad7f6178e161a3f6f856eba4c0fe56b7bd33a09343e105f14eb28b49373c56197443b6de27391946eb93993773d903430c59742e8bb041
53 DIST sbcl-1.2.13-source.tar.bz2 5567609 SHA256 e6d93a94cbf821b2c500a9440ca640588e9ac6914dba2f6b5445a5e14eeb1205 SHA512 f5f7bfb9e8c6a3dcf8c1bac62dba9ca1385b9689141c24951bec95ee5383f53e4279dd5c3fb382a79b06ef113d3d4aaa3b05fff69f8a819a0988ba03983c0c48 WHIRLPOOL 260de2f717544f4e9678b3e40bf59b16d83e3cdfad681c4a9e94fba9ec312a7647243a41076a9e64caa9ebfe33515561c854b939561019f14a3d07faf2425197
54 DIST sbcl-1.2.13-x86-64-linux-binary.tar.bz2 10154344 SHA256 900e58adb9a449e3b5177207908a361de71be1e3aec712aff731ba9a9903f3ab SHA512 483aafc9b38cf317ea764d66e1faf70560cca4c04355ae0a0669692c985034335ec155fc9557acab8cc5f2ee668615985950b2fa96d0acc900b74aceeeafb64c WHIRLPOOL bc9218f7a32194a19b12cd218b2ebfb1dbce01717289241ba62a1b39a424fc2d0620c80b536d1c0a605322e99c52ae0f01d943bd93b7e4c1388ae9b7ab7464bc
55 DIST sbcl-1.2.14-source.tar.bz2 5565538 SHA256 b9146dd6460c05bca508f6dda83003580911833eedd51dbc09d8eca80b0f5c06 SHA512 471b215419f9303e010cbfb99866e09a43cc68a63680b5267662a12585b145b9f520592c37c81eabfe81b102255cd82fabb74cca731d8c3eed50747df34a6e2c WHIRLPOOL e89cd4c2ff1b2716c0ba62aed6d2107f05094c053c91db8a14638a80a5b63f83102fc1c125164edf251ed2ca507e00c298a9278efe83ad5f3b27ab53ddd48131
56 -DIST sbcl-1.2.2-source.tar.bz2 4437174 SHA256 5b2c510cdd7300956428c3b9bad78bd730908f6841ff15097e078133e50a5322 SHA512 6270e561185d617f90bf1ae6ddb52c7aac723eaf1498d259a6e1bd299c49064dd2a0968e9a88f97a2f36972f67e88bb82dbf32c64932f2787a364b23d422147f WHIRLPOOL 9e9855c82eacb2a9bdc85ba979faf0a0d3437d8f53c39c93a13e6a27489aeeca9d9f6252a4320083bb4718b397f8325d92d186468d7e782b85d12332ae20e6b3
57 -DIST sbcl-1.2.2-x86-64-linux-binary.tar.bz2 9412798 SHA256 a20779fefd466ad985f530fbd3093b603779efa20f0d3045d75420b4e73d0723 SHA512 aca469a106a848920861f9254f264fe9ce6c025268f43d86a96f69d4f149b16666f33260b12407fcbcbec564126d2a17c4f1b152ce7676cff45ef0762413385b WHIRLPOOL b98aae862ce72fabf1acaefac6a7a76fbb64ed152f7113cc27f4b5be7540a96effb1c1ee65325294666d1fe24fac397b32b5f4987bc7dba88994cf892fc9b823
58 -DIST sbcl-1.2.4-source.tar.bz2 4486150 SHA256 f910059785ffcfa22eb40548e1355f0da979261fbee017baa9ef2c060d777232 SHA512 d524114bfc289e29a372b840dd4e6bbecb10f7f9e0be149b50c44a63aaa40473f62c34843472d36f98df9e63da30c163037302714020de63b2faf5d0c95f4d4c WHIRLPOOL da7ef6fdc413e30a6f594fa50b639fe00166b95adced6c605c9eb348a4444af8705ee6d553f5e5fca75a6f1ecbe477ffefae8cacb46a97526c16b7cb2b838daf
59 -DIST sbcl-1.2.4-x86-64-linux-binary.tar.bz2 9450469 SHA256 c9d1c5c309bfa1dc5440ac0c6ee358415b62f87cf092131df9e7c2f718bdb2c2 SHA512 cbcfd4e3872c07cfb1cde10fee6c548c5349f9b08dc765962ca52e32f426386fa2d7160be17c68b7bdad0a648ef4acee0bd098558d9506688d0023c8147eea79 WHIRLPOOL 12079b5f4293c21b46243ce7bd7cdeac1015da7b4a26a6f9536ef5727677ead8fcf621294a900e8548262bc186b33517a9abd8bd3646a74cd08c312f7f156e6c
60 -DIST sbcl-1.2.6-source.tar.bz2 5460124 SHA256 4108035eebdd7af3d4a21bd7cb87443b7e9a8eb31e7f855ca2d4b4be8320f389 SHA512 7d3b453f27be0f825b6fad3fd4f58afd587c14c8c8fd60551504776cb4d75706b925260499c41044da2d519baec31373abc14e0ea7a847bc7fc9a3cacca65d9e WHIRLPOOL d1e0ce7630a831d77d3ae2645a51ed86cc808c9d3f3a0c9af070139142190e60e04df84d178c92eef21238222ecc2abb149c6600b30927e5d5d4dbdbfd46864d
61 -DIST sbcl-1.2.6-x86-64-linux-binary.tar.bz2 10466349 SHA256 9c21e63cc2a023d9d785621d935f6f758dcd688d8f9f30a4753eb6a1a75e2fe2 SHA512 bb2f3f70ab4429dbc1339e17856a126d720e804eb0bd7aede9d1ebe28af5cbe2e29667d54c59101f711f4e7814cec8b0c39ef3756478a1456b1cf67763761635 WHIRLPOOL 0883c771684d92dc908edb4a60a1a9fc5de948e0fc16e019e41b454bd6d3a880dc8615f6be3beb44ed2c08d8543d7ca539d531377ecbce96194f98e39ce6c68b
62 DIST sbcl-1.2.7-armhf-linux-binary.tar.bz2 9914851 SHA256 5e75a328882b739befcf5c38e8039b830668a8ca7bafe56a9e13ef23f39eb253 SHA512 2c82bdfe4f070a43964e694f81ccdbb84f8dd3bf77c807343daadff877b518fcd52e05513691543ca076c2b6de8bcf8b2e672b31f5ed3f545bedb02bbf7cd868 WHIRLPOOL 8e0eab53a9bfe10a1ccaa5c950e9fe045aeaa23f9f66ca98badd5a0fce3ad5828c0059904c73584dd4591fb3f9b2eefb5210a19f2de9fd8d699d48b0cee3bbef
63 DIST sbcl-1.2.7-powerpc-linux-binary.tar.bz2 9884585 SHA256 d2f86db4f6fe2b6e6bbc6353ce28dead1b142ed36885080b97304db55aae2861 SHA512 7b9fef12d3d6397adec6a0c26d1431a18b8d91b5bf009034eb2501de9fd60dc04dd2e3cd2d9feb9204d4631360aea88ba07a9ad75dad0767b5dcc5e62e84e790 WHIRLPOOL 4b884ab946e8c54775970aa502054f42a92d01257449796c7d1a6bd1ff5835ddae1c94aa5d936a7a5b115183c6cee5251034646559e4435a6663896fa302c4be
64 -DIST sbcl-1.2.7-source.tar.bz2 5472699 SHA256 b27099d8c9fb5c63673e7dc4a83f82b4088dd0ed02e849a4d164aa1b12cc5283 SHA512 0d5655a5362250559a06590d6c8fac223b4461697ca826d96fa87bdf86c2d133c7ca4bde7de32a04259f061d1066d389dbb5b004d717d095e4c153ae8239b36f WHIRLPOOL 9699fe67d574a63bb6dca4c9c3321c2781a8acdfd4554676951d80f13a19ee40979d3a0df182ae452ce5476413a66d7870f0a99b3b4286e118be5cbec31b644a
65 -DIST sbcl-1.2.7-x86-64-linux-binary.tar.bz2 10528686 SHA256 92094d7a5ea19891a6245064b12d4e1125aa065634ad24b6607ab08c37e95b40 SHA512 5d925df9022584732793121a67b6d37bab4d35b999748fbd6fd8d9c8cd212b01569bf265bf1edca33ce37b400597da21e4c66685a3f93b29548d26108ff3b5df WHIRLPOOL aa631d6a06dc67031fcb60ccecec13859a2648f9d0bf39db5ea4de62129ed8dac9592ef32acd2934e3e26e2225c4d0befdf30e7733ae4a9200498926a7193a5f
66 DIST sbcl-1.2.7-x86-64-solaris-binary.tar.bz2 10438955 SHA256 a0a13e83b35dbac36284459747a03c6db20cd089864e16a6380a12a6aa138115 SHA512 9566cebf8fc29ead1f919309e3f98aeb618e97b34c80f53d1f739f1a3f4ef4cbaebd1c67f0b32172a0cdf14dc405eb75d0e916dedf3b8a758cdec2368d25f5c1 WHIRLPOOL 4946b9a4463c92517233298f898510ca57b4127da93d7d42cf28005bbd96b8d1eba7472f73029f45d6c0e75f3de5b893a34f33feee92a60cef8ae4f2b4d4fa0e
67 DIST sbcl-1.2.7-x86-linux-binary.tar.bz2 10516485 SHA256 724425fe0d28747c7d31c6655e39fa8c27f9ef4608c482ecc60089bcc85fc31d SHA512 ca09beeafeb40f21eb1a377f04a69d57feb5549fa63aadf2e39aa65f3875418bdab755e22b567b3f2c514fb94534b739a57606288912ffc5cddf370a400e9e5c WHIRLPOOL 41b3f5a9749c74f136b8bb4f519409902045cd9501b5b944e7bcbf9336dd6640388641d26f8c345d79a1028ae64bb04fb74228886f8c2ae0eb085a8586635e17
68 DIST sbcl-1.2.7-x86-solaris-binary.tar.bz2 10351529 SHA256 a198df14f45cdf302017116744c8946a8b4143291efe1799553554133c22b46a SHA512 b30d40f0095bb43719ba2e1a619f53fe5f0bccaa08a35481bc5feeb0dd5b540018a9ec9f61799de89991a85750577922cb4e56db4d7dab8f07e18bbc643bdad1 WHIRLPOOL 05ad3606b23e6196d443328f367b7351612d0f4991d71a5a04f1f45b5bb604809d6ed11c8cf62bc639d6f9dd8e5704b52a050603d4745713c5818fcbd36852bf
69 -DIST sbcl-1.2.9-source.tar.bz2 5518280 SHA256 603e15bf15b0fb644362864d3866e96a4c3328d88de1a7da09b26b4b3d089a5f SHA512 1645e83b9625c50670d13b877601de49d4210abcb94cfffe7065906055e15be442581aa13e26fbd3e2e033230f2cd772731f9cd491118769c8ff950aa54a039c WHIRLPOOL 5491a28c6e0373108359c9ab936efe5a4b1cb3b83319821a88599798dfd8af9467e75dfb718f39860149078189d13e36b394c3e492a7760709a2916a680a26d3
70 -DIST sbcl-1.2.9-x86-64-linux-binary.tar.bz2 10172369 SHA256 67753b3f84ad70a1597fa178e32f2dfaa536a6d61f46d15ab2a1477cc7f7d3db SHA512 ffd3a39128d60d6b2fa16bf1b7f5947adc761714bd4a454fa1f22b49b28dbb14527380efd7ad1b2ac2ad7e56a17e60f6255f82816ead11071a2e6831893a14aa WHIRLPOOL 47b9246297d5a498e2b58651c1c20bad15ab05cb0e5a1947463448b1a99718e25915df420aa1a3999f929aed683376a5d2d1cc70c4c743df8749e5b09b0d992b
71
72 diff --git a/dev-lisp/sbcl/files/bsd-sockets-test-1.2.6.patch b/dev-lisp/sbcl/files/bsd-sockets-test-1.2.6.patch
73 deleted file mode 100644
74 index 7852979..0000000
75 --- a/dev-lisp/sbcl/files/bsd-sockets-test-1.2.6.patch
76 +++ /dev/null
77 @@ -1,157 +0,0 @@
78 -diff -r -U1 sbcl-1.2.6.orig/contrib/sb-bsd-sockets/tests.lisp sbcl-1.2.6/contrib/sb-bsd-sockets/tests.lisp
79 ---- sbcl-1.2.6.orig/contrib/sb-bsd-sockets/tests.lisp 2014-11-30 00:56:58.000000000 +0600
80 -+++ sbcl-1.2.6/contrib/sb-bsd-sockets/tests.lisp 2014-12-20 20:02:26.863408300 +0600
81 -@@ -37,11 +37,11 @@
82 - ;;; for unknown protocols...
83 --#-(and freebsd sb-thread)
84 --#-(and dragonfly sb-thread)
85 --(deftest get-protocol-by-name/error
86 -- (handler-case (get-protocol-by-name "nonexistent-protocol")
87 -- (unknown-protocol ()
88 -- t)
89 -- (:no-error ()
90 -- nil))
91 -- t)
92 -+;#-(and freebsd sb-thread)
93 -+;#-(and dragonfly sb-thread)
94 -+;(deftest get-protocol-by-name/error
95 -+; (handler-case (get-protocol-by-name "nonexistent-protocol")
96 -+; (unknown-protocol ()
97 -+; t)
98 -+; (:no-error ()
99 -+; nil))
100 -+; t)
101 -
102 -@@ -93,13 +93,13 @@
103 -
104 --#-win32
105 --(deftest make-inet6-socket.smoke
106 -- (let ((s (make-instance 'inet6-socket :type :stream :protocol (get-protocol-by-name "tcp"))))
107 -- (and (> (socket-file-descriptor s) 1) t))
108 -- t)
109 --
110 --#-win32
111 --(deftest make-inet6-socket.keyword
112 -- (let ((s (make-instance 'inet6-socket :type :stream :protocol :tcp)))
113 -- (and (> (socket-file-descriptor s) 1) t))
114 -- t)
115 -+;#-win32
116 -+;(deftest make-inet6-socket.smoke
117 -+; (let ((s (make-instance 'inet6-socket :type :stream :protocol (get-protocol-by-name "tcp"))))
118 -+; (and (> (socket-file-descriptor s) 1) t))
119 -+; t)
120 -+
121 -+;#-win32
122 -+;(deftest make-inet6-socket.keyword
123 -+; (let ((s (make-instance 'inet6-socket :type :stream :protocol :tcp)))
124 -+; (and (> (socket-file-descriptor s) 1) t))
125 -+; t)
126 -
127 -@@ -131,22 +131,22 @@
128 -
129 --#-win32
130 --(deftest inet6-socket-bind
131 -- (let* ((tcp (get-protocol-by-name "tcp"))
132 -- (address (make-inet6-address "::1"))
133 -- (s1 (make-instance 'inet6-socket :type :stream :protocol tcp))
134 -- (s2 (make-instance 'inet6-socket :type :stream :protocol tcp)))
135 -- (unwind-protect
136 -- ;; Given the functions we've got so far, if you can think of a
137 -- ;; better way to make sure the bind succeeded than trying it
138 -- ;; twice, let me know
139 -- (progn
140 -- (socket-bind s1 address 0)
141 -- (handler-case
142 -- (let ((port (nth-value 1 (socket-name s1))))
143 -- (socket-bind s2 address port)
144 -- nil)
145 -- (address-in-use-error () t)))
146 -- (socket-close s1)
147 -- (socket-close s2)))
148 -- t)
149 -+;#-win32
150 -+;(deftest inet6-socket-bind
151 -+; (let* ((tcp (get-protocol-by-name "tcp"))
152 -+; (address (make-inet6-address "::1"))
153 -+; (s1 (make-instance 'inet6-socket :type :stream :protocol tcp))
154 -+; (s2 (make-instance 'inet6-socket :type :stream :protocol tcp)))
155 -+; (unwind-protect
156 -+; ;; Given the functions we've got so far, if you can think of a
157 -+; ;; better way to make sure the bind succeeded than trying it
158 -+; ;; twice, let me know
159 -+; (progn
160 -+; (socket-bind s1 address 0)
161 -+; (handler-case
162 -+; (let ((port (nth-value 1 (socket-name s1))))
163 -+; (socket-bind s2 address port)
164 -+; nil)
165 -+; (address-in-use-error () t)))
166 -+; (socket-close s1)
167 -+; (socket-close s2)))
168 -+; t)
169 -
170 -@@ -217,33 +217,33 @@
171 -
172 --#-win32
173 --(deftest simple-local-client
174 -- (progn
175 -- ;; SunOS (Solaris) and Darwin systems don't have a socket at
176 -- ;; /dev/log. We might also be building in a chroot or
177 -- ;; something, so don't fail this test just because the file is
178 -- ;; unavailable, or if it's a symlink to some weird character
179 -- ;; device.
180 -- (when (block nil
181 -- (handler-bind ((sb-posix:syscall-error
182 -- (lambda (e)
183 -- (declare (ignore e))
184 -- (return nil))))
185 -- (sb-posix:s-issock
186 -- (sb-posix::stat-mode (sb-posix:stat "/dev/log")))))
187 -- (let ((s (make-instance 'local-socket :type :datagram)))
188 -- (format t "Connecting ~A... " s)
189 -- (finish-output)
190 -- (handler-case
191 -- (socket-connect s "/dev/log")
192 -- (sb-bsd-sockets::socket-error ()
193 -- (setq s (make-instance 'local-socket :type :stream))
194 -- (format t "failed~%Retrying with ~A... " s)
195 -- (finish-output)
196 -- (socket-connect s "/dev/log")))
197 -- (format t "ok.~%")
198 -- (let ((stream (socket-make-stream s :input t :output t :buffering :none)))
199 -- (format stream
200 -- "<7>bsd-sockets: Don't panic. We're testing local-domain client code; this message can safely be ignored"))))
201 -- t)
202 -- t)
203 -+;#-win32
204 -+;(deftest simple-local-client
205 -+; (progn
206 -+; ;; SunOS (Solaris) and Darwin systems don't have a socket at
207 -+; ;; /dev/log. We might also be building in a chroot or
208 -+; ;; something, so don't fail this test just because the file is
209 -+; ;; unavailable, or if it's a symlink to some weird character
210 -+; ;; device.
211 -+; (when (block nil
212 -+; (handler-bind ((sb-posix:syscall-error
213 -+; (lambda (e)
214 -+; (declare (ignore e))
215 -+; (return nil))))
216 -+; (sb-posix:s-issock
217 -+; (sb-posix::stat-mode (sb-posix:stat "/dev/log")))))
218 -+; (let ((s (make-instance 'local-socket :type :datagram)))
219 -+; (format t "Connecting ~A... " s)
220 -+; (finish-output)
221 -+; (handler-case
222 -+; (socket-connect s "/dev/log")
223 -+; (sb-bsd-sockets::socket-error ()
224 -+; (setq s (make-instance 'local-socket :type :stream))
225 -+; (format t "failed~%Retrying with ~A... " s)
226 -+; (finish-output)
227 -+; (socket-connect s "/dev/log")))
228 -+; (format t "ok.~%")
229 -+; (let ((stream (socket-make-stream s :input t :output t :buffering :none)))
230 -+; (format stream
231 -+; "<7>bsd-sockets: Don't panic. We're testing local-domain client code; this message can safely be ignored"))))
232 -+; t)
233 -+; t)
234 -
235
236 diff --git a/dev-lisp/sbcl/files/bsd-sockets-test-1.2.7.patch b/dev-lisp/sbcl/files/bsd-sockets-test-1.2.7.patch
237 deleted file mode 100644
238 index 87e9bea..0000000
239 --- a/dev-lisp/sbcl/files/bsd-sockets-test-1.2.7.patch
240 +++ /dev/null
241 @@ -1,184 +0,0 @@
242 ---- sbcl-1.2.7-orig/contrib/sb-bsd-sockets/tests.lisp 2015-01-01 06:09:07.000000000 +1100
243 -+++ sbcl-1.2.7/contrib/sb-bsd-sockets/tests.lisp 2015-01-07 20:38:50.654557033 +1100
244 -@@ -35,15 +35,15 @@
245 - ;;; See https://bugs.launchpad.net/sbcl/+bug/659857
246 - ;;; Apparently getprotobyname_r on FreeBSD says -1 and EINTR
247 - ;;; for unknown protocols...
248 --#-(and freebsd sb-thread)
249 --#-(and dragonfly sb-thread)
250 --(deftest get-protocol-by-name/error
251 -- (handler-case (get-protocol-by-name "nonexistent-protocol")
252 -- (unknown-protocol ()
253 -- t)
254 -- (:no-error ()
255 -- nil))
256 -- t)
257 -+;#-(and freebsd sb-thread)
258 -+;#-(and dragonfly sb-thread)
259 -+;(deftest get-protocol-by-name/error
260 -+; (handler-case (get-protocol-by-name "nonexistent-protocol")
261 -+; (unknown-protocol ()
262 -+; t)
263 -+; (:no-error ()
264 -+; nil))
265 -+; t)
266 -
267 - (deftest make-inet-socket.smoke
268 - ;; make a socket
269 -@@ -91,17 +91,17 @@
270 - (:no-error nil))
271 - t)
272 -
273 --#-win32
274 --(deftest make-inet6-socket.smoke
275 -- (let ((s (make-instance 'inet6-socket :type :stream :protocol (get-protocol-by-name "tcp"))))
276 -- (and (> (socket-file-descriptor s) 1) t))
277 -- t)
278 --
279 --#-win32
280 --(deftest make-inet6-socket.keyword
281 -- (let ((s (make-instance 'inet6-socket :type :stream :protocol :tcp)))
282 -- (and (> (socket-file-descriptor s) 1) t))
283 -- t)
284 -+;#-win32
285 -+;(deftest make-inet6-socket.smoke
286 -+; (let ((s (make-instance 'inet6-socket :type :stream :protocol (get-protocol-by-name "tcp"))))
287 -+; (and (> (socket-file-descriptor s) 1) t))
288 -+; t)
289 -+
290 -+;#-win32
291 -+;(deftest make-inet6-socket.keyword
292 -+; (let ((s (make-instance 'inet6-socket :type :stream :protocol :tcp)))
293 -+; (and (> (socket-file-descriptor s) 1) t))
294 -+; t)
295 -
296 - (deftest* (non-block-socket)
297 - (let ((s (make-instance 'inet-socket :type :stream :protocol :tcp)))
298 -@@ -129,32 +129,32 @@
299 - (socket-close s2)))
300 - t)
301 -
302 --#-win32
303 --(deftest inet6-socket-bind
304 -- (let* ((tcp (get-protocol-by-name "tcp"))
305 -- (address (make-inet6-address "::1"))
306 -- (s1 (make-instance 'inet6-socket :type :stream :protocol tcp))
307 -- (s2 (make-instance 'inet6-socket :type :stream :protocol tcp)))
308 -- (unwind-protect
309 -- ;; Given the functions we've got so far, if you can think of a
310 -- ;; better way to make sure the bind succeeded than trying it
311 -- ;; twice, let me know
312 -- (handler-case
313 -- (socket-bind s1 address 0)
314 -- (socket-error ()
315 -- ;; This may mean no IPv6 support, can't fail a test
316 -- ;; because of that
317 -- t)
318 -- (:no-error (x)
319 -- (declare (ignore x))
320 -- (handler-case
321 -- (let ((port (nth-value 1 (socket-name s1))))
322 -- (socket-bind s2 address port)
323 -- nil)
324 -- (address-in-use-error () t))))
325 -- (socket-close s1)
326 -- (socket-close s2)))
327 -- t)
328 -+;#-win32
329 -+;(deftest inet6-socket-bind
330 -+; (let* ((tcp (get-protocol-by-name "tcp"))
331 -+; (address (make-inet6-address "::1"))
332 -+; (s1 (make-instance 'inet6-socket :type :stream :protocol tcp))
333 -+; (s2 (make-instance 'inet6-socket :type :stream :protocol tcp)))
334 -+; (unwind-protect
335 -+; ;; Given the functions we've got so far, if you can think of a
336 -+; ;; better way to make sure the bind succeeded than trying it
337 -+; ;; twice, let me know
338 -+; (handler-case
339 -+; (socket-bind s1 address 0)
340 -+; (socket-error ()
341 -+; ;; This may mean no IPv6 support, can't fail a test
342 -+; ;; because of that
343 -+; t)
344 -+; (:no-error (x)
345 -+; (declare (ignore x))
346 -+; (handler-case
347 -+; (let ((port (nth-value 1 (socket-name s1))))
348 -+; (socket-bind s2 address port)
349 -+; nil)
350 -+; (address-in-use-error () t))))
351 -+; (socket-close s1)
352 -+; (socket-close s2)))
353 -+; t)
354 -
355 - (deftest* (simple-sockopt-test)
356 - ;; test we can set SO_REUSEADDR on a socket and retrieve it, and in
357 -@@ -221,37 +221,37 @@
358 - ;;; to look at /etc/syslog.conf or local equivalent to find out where
359 - ;;; the message ended up
360 -
361 --#-win32
362 --(deftest simple-local-client
363 -- (progn
364 -- ;; SunOS (Solaris) and Darwin systems don't have a socket at
365 -- ;; /dev/log. We might also be building in a chroot or
366 -- ;; something, so don't fail this test just because the file is
367 -- ;; unavailable, or if it's a symlink to some weird character
368 -- ;; device.
369 -- (when (block nil
370 -- (handler-bind ((sb-posix:syscall-error
371 -- (lambda (e)
372 -- (declare (ignore e))
373 -- (return nil))))
374 -- (sb-posix:s-issock
375 -- (sb-posix::stat-mode (sb-posix:stat "/dev/log")))))
376 -- (let ((s (make-instance 'local-socket :type :datagram)))
377 -- (format t "Connecting ~A... " s)
378 -- (finish-output)
379 -- (handler-case
380 -- (socket-connect s "/dev/log")
381 -- (sb-bsd-sockets::socket-error ()
382 -- (setq s (make-instance 'local-socket :type :stream))
383 -- (format t "failed~%Retrying with ~A... " s)
384 -- (finish-output)
385 -- (socket-connect s "/dev/log")))
386 -- (format t "ok.~%")
387 -- (let ((stream (socket-make-stream s :input t :output t :buffering :none)))
388 -- (format stream
389 -- "<7>bsd-sockets: Don't panic. We're testing local-domain client code; this message can safely be ignored"))))
390 -- t)
391 -- t)
392 -+;#-win32
393 -+;(deftest simple-local-client
394 -+; (progn
395 -+; ;; SunOS (Solaris) and Darwin systems don't have a socket at
396 -+; ;; /dev/log. We might also be building in a chroot or
397 -+; ;; something, so don't fail this test just because the file is
398 -+; ;; unavailable, or if it's a symlink to some weird character
399 -+; ;; device.
400 -+; (when (block nil
401 -+; (handler-bind ((sb-posix:syscall-error
402 -+; (lambda (e)
403 -+; (declare (ignore e))
404 -+; (return nil))))
405 -+; (sb-posix:s-issock
406 -+; (sb-posix::stat-mode (sb-posix:stat "/dev/log")))))
407 -+; (let ((s (make-instance 'local-socket :type :datagram)))
408 -+; (format t "Connecting ~A... " s)
409 -+; (finish-output)
410 -+; (handler-case
411 -+; (socket-connect s "/dev/log")
412 -+; (sb-bsd-sockets::socket-error ()
413 -+; (setq s (make-instance 'local-socket :type :stream))
414 -+; (format t "failed~%Retrying with ~A... " s)
415 -+; (finish-output)
416 -+; (socket-connect s "/dev/log")))
417 -+; (format t "ok.~%")
418 -+; (let ((stream (socket-make-stream s :input t :output t :buffering :none)))
419 -+; (format stream
420 -+; "<7>bsd-sockets: Don't panic. We're testing local-domain client code; this message can safely be ignored"))))
421 -+; t)
422 -+; t)
423 -
424 -
425 - ;;; these require that the internet (or bits of it, at least) is available
426
427 diff --git a/dev-lisp/sbcl/files/bsd-sockets-test-1.2.9.patch b/dev-lisp/sbcl/files/bsd-sockets-test-1.2.9.patch
428 deleted file mode 100644
429 index 441b3f8..0000000
430 --- a/dev-lisp/sbcl/files/bsd-sockets-test-1.2.9.patch
431 +++ /dev/null
432 @@ -1,346 +0,0 @@
433 -diff --git sbcl-1.2.7/contrib/sb-bsd-sockets/tests.lisp sbcl-1.2.7/contrib/sb-bsd-sockets/tests.lisp
434 ---- sbcl-1.2.7/contrib/sb-bsd-sockets/tests.lisp
435 -+++ sbcl-1.2.7/contrib/sb-bsd-sockets/tests.lisp
436 -@@ -35,15 +35,15 @@
437 - ;;; See https://bugs.launchpad.net/sbcl/+bug/659857
438 - ;;; Apparently getprotobyname_r on FreeBSD says -1 and EINTR
439 - ;;; for unknown protocols...
440 --#-(and freebsd sb-thread)
441 --#-(and dragonfly sb-thread)
442 --(deftest get-protocol-by-name/error
443 -- (handler-case (get-protocol-by-name "nonexistent-protocol")
444 -- (unknown-protocol ()
445 -- t)
446 -- (:no-error ()
447 -- nil))
448 -- t)
449 -+;#-(and freebsd sb-thread)
450 -+;#-(and dragonfly sb-thread)
451 -+;(deftest get-protocol-by-name/error
452 -+; (handler-case (get-protocol-by-name "nonexistent-protocol")
453 -+; (unknown-protocol ()
454 -+; t)
455 -+; (:no-error ()
456 -+; nil))
457 -+; t)
458 -
459 - (deftest make-inet-socket.smoke
460 - ;; make a socket
461 -@@ -91,17 +91,17 @@
462 - (:no-error nil))
463 - t)
464 -
465 --#-win32
466 --(deftest make-inet6-socket.smoke
467 -- (let ((s (make-instance 'inet6-socket :type :stream :protocol (get-protocol-by-name "tcp"))))
468 -- (and (> (socket-file-descriptor s) 1) t))
469 -- t)
470 -+;#-win32
471 -+;(deftest make-inet6-socket.smoke
472 -+; (let ((s (make-instance 'inet6-socket :type :stream :protocol (get-protocol-by-name "tcp"))))
473 -+; (and (> (socket-file-descriptor s) 1) t))
474 -+; t)
475 -
476 --#-win32
477 --(deftest make-inet6-socket.keyword
478 -- (let ((s (make-instance 'inet6-socket :type :stream :protocol :tcp)))
479 -- (and (> (socket-file-descriptor s) 1) t))
480 -- t)
481 -+;#-win32
482 -+;(deftest make-inet6-socket.keyword
483 -+; (let ((s (make-instance 'inet6-socket :type :stream :protocol :tcp)))
484 -+; (and (> (socket-file-descriptor s) 1) t))
485 -+; t)
486 -
487 - (deftest* (non-block-socket)
488 - (let ((s (make-instance 'inet-socket :type :stream :protocol :tcp)))
489 -@@ -109,52 +109,52 @@
490 - (non-blocking-mode s))
491 - t)
492 -
493 --(deftest inet-socket-bind
494 -- (let* ((tcp (get-protocol-by-name "tcp"))
495 -- (address (make-inet-address "127.0.0.1"))
496 -- (s1 (make-instance 'inet-socket :type :stream :protocol tcp))
497 -- (s2 (make-instance 'inet-socket :type :stream :protocol tcp)))
498 -- (unwind-protect
499 -- ;; Given the functions we've got so far, if you can think of a
500 -- ;; better way to make sure the bind succeeded than trying it
501 -- ;; twice, let me know
502 -- (progn
503 -- (socket-bind s1 address 0)
504 -- (handler-case
505 -- (let ((port (nth-value 1 (socket-name s1))))
506 -- (socket-bind s2 address port)
507 -- nil)
508 -- (address-in-use-error () t)))
509 -- (socket-close s1)
510 -- (socket-close s2)))
511 -- t)
512 --
513 --#-win32
514 --(deftest inet6-socket-bind
515 -- (let* ((tcp (get-protocol-by-name "tcp"))
516 -- (address (make-inet6-address "::1"))
517 -- (s1 (make-instance 'inet6-socket :type :stream :protocol tcp))
518 -- (s2 (make-instance 'inet6-socket :type :stream :protocol tcp)))
519 -- (unwind-protect
520 -- ;; Given the functions we've got so far, if you can think of a
521 -- ;; better way to make sure the bind succeeded than trying it
522 -- ;; twice, let me know
523 -- (handler-case
524 -- (socket-bind s1 address 0)
525 -- (socket-error ()
526 -- ;; This may mean no IPv6 support, can't fail a test
527 -- ;; because of that
528 -- t)
529 -- (:no-error (x)
530 -- (declare (ignore x))
531 -- (handler-case
532 -- (let ((port (nth-value 1 (socket-name s1))))
533 -- (socket-bind s2 address port)
534 -- nil)
535 -- (address-in-use-error () t))))
536 -- (socket-close s1)
537 -- (socket-close s2)))
538 -- t)
539 -+;(deftest inet-socket-bind
540 -+; (let* ((tcp (get-protocol-by-name "tcp"))
541 -+; (address (make-inet-address "127.0.0.1"))
542 -+; (s1 (make-instance 'inet-socket :type :stream :protocol tcp))
543 -+; (s2 (make-instance 'inet-socket :type :stream :protocol tcp)))
544 -+; (unwind-protect
545 -+; ;; Given the functions we've got so far, if you can think of a
546 -+; ;; better way to make sure the bind succeeded than trying it
547 -+; ;; twice, let me know
548 -+; (progn
549 -+; (socket-bind s1 address 0)
550 -+; (handler-case
551 -+; (let ((port (nth-value 1 (socket-name s1))))
552 -+; (socket-bind s2 address port)
553 -+; nil)
554 -+; (address-in-use-error () t)))
555 -+; (socket-close s1)
556 -+; (socket-close s2)))
557 -+; t)
558 -+
559 -+;#-win32
560 -+;(deftest inet6-socket-bind
561 -+; (let* ((tcp (get-protocol-by-name "tcp"))
562 -+; (address (make-inet6-address "::1"))
563 -+; (s1 (make-instance 'inet6-socket :type :stream :protocol tcp))
564 -+; (s2 (make-instance 'inet6-socket :type :stream :protocol tcp)))
565 -+; (unwind-protect
566 -+; ;; Given the functions we've got so far, if you can think of a
567 -+; ;; better way to make sure the bind succeeded than trying it
568 -+; ;; twice, let me know
569 -+; (handler-case
570 -+; (socket-bind s1 address 0)
571 -+; (socket-error ()
572 -+; ;; This may mean no IPv6 support, can't fail a test
573 -+; ;; because of that
574 -+; t)
575 -+; (:no-error (x)
576 -+; (declare (ignore x))
577 -+; (handler-case
578 -+; (let ((port (nth-value 1 (socket-name s1))))
579 -+; (socket-bind s2 address port)
580 -+; nil)
581 -+; (address-in-use-error () t))))
582 -+; (socket-close s1)
583 -+; (socket-close s2)))
584 -+; t)
585 -
586 - (deftest* (simple-sockopt-test)
587 - ;; test we can set SO_REUSEADDR on a socket and retrieve it, and in
588 -@@ -221,37 +221,37 @@
589 - ;;; to look at /etc/syslog.conf or local equivalent to find out where
590 - ;;; the message ended up
591 -
592 --#-win32
593 --(deftest simple-local-client
594 -- (progn
595 -- ;; SunOS (Solaris) and Darwin systems don't have a socket at
596 -- ;; /dev/log. We might also be building in a chroot or
597 -- ;; something, so don't fail this test just because the file is
598 -- ;; unavailable, or if it's a symlink to some weird character
599 -- ;; device.
600 -- (when (block nil
601 -- (handler-bind ((sb-posix:syscall-error
602 -- (lambda (e)
603 -- (declare (ignore e))
604 -- (return nil))))
605 -- (sb-posix:s-issock
606 -- (sb-posix::stat-mode (sb-posix:stat "/dev/log")))))
607 -- (let ((s (make-instance 'local-socket :type :datagram)))
608 -- (format t "Connecting ~A... " s)
609 -- (finish-output)
610 -- (handler-case
611 -- (socket-connect s "/dev/log")
612 -- (sb-bsd-sockets::socket-error ()
613 -- (setq s (make-instance 'local-socket :type :stream))
614 -- (format t "failed~%Retrying with ~A... " s)
615 -- (finish-output)
616 -- (socket-connect s "/dev/log")))
617 -- (format t "ok.~%")
618 -- (let ((stream (socket-make-stream s :input t :output t :buffering :none)))
619 -- (format stream
620 -- "<7>bsd-sockets: Don't panic. We're testing local-domain client code; this message can safely be ignored"))))
621 -- t)
622 -- t)
623 -+;#-win32
624 -+;(deftest simple-local-client
625 -+; (progn
626 -+; ;; SunOS (Solaris) and Darwin systems don't have a socket at
627 -+; ;; /dev/log. We might also be building in a chroot or
628 -+; ;; something, so don't fail this test just because the file is
629 -+; ;; unavailable, or if it's a symlink to some weird character
630 -+; ;; device.
631 -+; (when (block nil
632 -+; (handler-bind ((sb-posix:syscall-error
633 -+; (lambda (e)
634 -+; (declare (ignore e))
635 -+; (return nil))))
636 -+; (sb-posix:s-issock
637 -+; (sb-posix::stat-mode (sb-posix:stat "/dev/log")))))
638 -+; (let ((s (make-instance 'local-socket :type :datagram)))
639 -+; (format t "Connecting ~A... " s)
640 -+; (finish-output)
641 -+; (handler-case
642 -+; (socket-connect s "/dev/log")
643 -+; (sb-bsd-sockets::socket-error ()
644 -+; (setq s (make-instance 'local-socket :type :stream))
645 -+; (format t "failed~%Retrying with ~A... " s)
646 -+; (finish-output)
647 -+; (socket-connect s "/dev/log")))
648 -+; (format t "ok.~%")
649 -+; (let ((stream (socket-make-stream s :input t :output t :buffering :none)))
650 -+; (format stream
651 -+; "<7>bsd-sockets: Don't panic. We're testing local-domain client code; this message can safely be ignored"))))
652 -+; t)
653 -+; t)
654 -
655 -
656 - ;;; these require that the internet (or bits of it, at least) is available
657 -@@ -367,59 +367,59 @@
658 - len address port (subseq buf 0 (min 10 len)))))))
659 -
660 - #+sb-thread
661 --(deftest interrupt-io
662 -- (let (result)
663 -- (labels
664 -- ((client (port)
665 -- (setf result
666 -- (let ((s (make-instance 'inet-socket
667 -- :type :stream
668 -- :protocol :tcp)))
669 -- (socket-connect s #(127 0 0 1) port)
670 -- (let ((stream (socket-make-stream s
671 -- :input t
672 -- :output t
673 -- :buffering :none)))
674 -- (handler-case
675 -- (prog1
676 -- (catch 'stop
677 -- (progn
678 -- (read-char stream)
679 -- (sleep 0.1)
680 -- (sleep 0.1)
681 -- (sleep 0.1)))
682 -- (close stream))
683 -- (error (c)
684 -- c))))))
685 -- (server ()
686 -- (let ((s (make-instance 'inet-socket
687 -- :type :stream
688 -- :protocol :tcp)))
689 -- (setf (sockopt-reuse-address s) t)
690 -- (socket-bind s (make-inet-address "127.0.0.1") 0)
691 -- (socket-listen s 5)
692 -- (multiple-value-bind (* port)
693 -- (socket-name s)
694 -- (let* ((client (sb-thread:make-thread
695 -- (lambda () (client port))))
696 -- (r (socket-accept s))
697 -- (stream (socket-make-stream r
698 -- :input t
699 -- :output t
700 -- :buffering :none))
701 -- (ok :ok))
702 -- (socket-close s)
703 -- (sleep 5)
704 -- (sb-thread:interrupt-thread client
705 -- (lambda () (throw 'stop ok)))
706 -- (sleep 5)
707 -- (setf ok :not-ok)
708 -- (write-char #\x stream)
709 -- (close stream)
710 -- (socket-close r))))))
711 -- (server))
712 -- result)
713 -- :ok)
714 -+;(deftest interrupt-io
715 -+; (let (result)
716 -+; (labels
717 -+; ((client (port)
718 -+; (setf result
719 -+; (let ((s (make-instance 'inet-socket
720 -+; :type :stream
721 -+; :protocol :tcp)))
722 -+; (socket-connect s #(127 0 0 1) port)
723 -+; (let ((stream (socket-make-stream s
724 -+; :input t
725 -+; :output t
726 -+; :buffering :none)))
727 -+; (handler-case
728 -+; (prog1
729 -+; (catch 'stop
730 -+; (progn
731 -+; (read-char stream)
732 -+; (sleep 0.1)
733 -+; (sleep 0.1)
734 -+; (sleep 0.1)))
735 -+; (close stream))
736 -+; (error (c)
737 -+; c))))))
738 -+; (server ()
739 -+; (let ((s (make-instance 'inet-socket
740 -+; :type :stream
741 -+; :protocol :tcp)))
742 -+; (setf (sockopt-reuse-address s) t)
743 -+; (socket-bind s (make-inet-address "127.0.0.1") 0)
744 -+; (socket-listen s 5)
745 -+; (multiple-value-bind (* port)
746 -+; (socket-name s)
747 -+; (let* ((client (sb-thread:make-thread
748 -+; (lambda () (client port))))
749 -+; (r (socket-accept s))
750 -+; (stream (socket-make-stream r
751 -+; :input t
752 -+; :output t
753 -+; :buffering :none))
754 -+; (ok :ok))
755 -+; (socket-close s)
756 -+; (sleep 5)
757 -+; (sb-thread:interrupt-thread client
758 -+; (lambda () (throw 'stop ok)))
759 -+; (sleep 5)
760 -+; (setf ok :not-ok)
761 -+; (write-char #\x stream)
762 -+; (close stream)
763 -+; (socket-close r))))))
764 -+; (server))
765 -+; result)
766 -+; :ok)
767 -
768 - (defmacro with-client-and-server ((server-socket-var client-socket-var) &body body)
769 - (let ((listen-socket (gensym "LISTEN-SOCKET")))
770 -@@ -478,5 +478,6 @@
771 - (define-shutdown-test ,(make-name 'shutdown.client.ub8)
772 - client server (unsigned-byte 8) ,direction)))))
773 -
774 -- (define-shutdown-tests :output)
775 -- (define-shutdown-tests :io))
776 -+; (define-shutdown-tests :output)
777 -+; (define-shutdown-tests :io))
778 -+)
779
780 diff --git a/dev-lisp/sbcl/files/gentoo-fix_nopie_for_hardened_toolchain.patch b/dev-lisp/sbcl/files/gentoo-fix_nopie_for_hardened_toolchain.patch
781 deleted file mode 100644
782 index d4f94ca..0000000
783 --- a/dev-lisp/sbcl/files/gentoo-fix_nopie_for_hardened_toolchain.patch
784 +++ /dev/null
785 @@ -1,24 +0,0 @@
786 -diff -ur b/src/runtime/Config.x86-linux a/src/runtime/Config.x86-linux
787 ---- b/src/runtime/Config.x86-linux 2012-01-09 02:08:10.000000000 +0000
788 -+++ a/src/runtime/Config.x86-linux 2012-02-02 14:32:56.000000000 +0000
789 -@@ -27,7 +27,7 @@
790 - # (You *are* encouraged to design and implement a coherent stable
791 - # interface, though.:-| As far as I (WHN 2002-05-19) know, no one is
792 - # working on one and it would be a nice thing to have.)
793 --LINKFLAGS += -Wl,--export-dynamic -m32
794 -+LINKFLAGS += -Wl,--export-dynamic -m32 -nopie
795 - OS_LIBS = -ldl
796 -
797 - ifdef LISP_FEATURE_LARGEFILE
798 -diff -ur b/src/runtime/Config.x86_64-linux a/src/runtime/Config.x86_64-linux
799 ---- b/src/runtime/Config.x86_64-linux 2012-01-09 02:08:10.000000000 +0000
800 -+++ a/src/runtime/Config.x86_64-linux 2012-02-02 14:32:44.000000000 +0000
801 -@@ -27,7 +27,7 @@
802 - # (You *are* encouraged to design and implement a coherent stable
803 - # interface, though.:-| As far as I (WHN 2002-05-19) know, no one is
804 - # working on one and it would be a nice thing to have.)
805 --LINKFLAGS += -Wl,--export-dynamic
806 -+LINKFLAGS += -Wl,--export-dynamic -nopie
807 - OS_LIBS = -ldl
808 -
809 - ifdef LISP_FEATURE_LARGEFILE
810
811 diff --git a/dev-lisp/sbcl/files/gentoo_fix_waitpid_c.patch b/dev-lisp/sbcl/files/gentoo_fix_waitpid_c.patch
812 deleted file mode 100644
813 index 33b89b2..0000000
814 --- a/dev-lisp/sbcl/files/gentoo_fix_waitpid_c.patch
815 +++ /dev/null
816 @@ -1,11 +0,0 @@
817 -diff -uNr sbcl-1.0.55.orig/src/runtime/run-program.c sbcl-1.0.55/src/runtime/run-program.c
818 ---- a/src/runtime/run-program.c 2012-03-26 06:01:42.000000000 -0400
819 -+++ b/src/runtime/run-program.c 2012-03-26 06:02:07.000000000 -0400
820 -@@ -20,6 +20,7 @@
821 - #include <stdlib.h>
822 - #include <sys/file.h>
823 - #include <sys/types.h>
824 -+#include <sys/wait.h>
825 - #include <signal.h>
826 - #include <sys/stat.h>
827 - #include <fcntl.h>
828
829 diff --git a/dev-lisp/sbcl/files/sbcl-1.0.55-newglibc.patch b/dev-lisp/sbcl/files/sbcl-1.0.55-newglibc.patch
830 deleted file mode 100644
831 index dbc94b0..0000000
832 --- a/dev-lisp/sbcl/files/sbcl-1.0.55-newglibc.patch
833 +++ /dev/null
834 @@ -1,43 +0,0 @@
835 -Fixes for glibc 2.17.
836 -
837 -linux-os.c is just a missing header (for personality()).
838 -
839 -In x86-64-linux-os.c, __USE_GNU is a glibc-internal name that features.h
840 -defines; _GNU_SOURCE is what it should actually be using to get GNU extensions.
841 -
842 -diff -x config.log -x config.status -ru tmp/sbcl-1.1.2/src/runtime/linux-os.c work/sbcl-1.1.2/src/runtime/linux-os.c
843 ---- tmp/sbcl-1.1.2/src/runtime/linux-os.c 2012-12-01 11:32:38.000000000 +0000
844 -+++ work/sbcl-1.1.2/src/runtime/linux-os.c 2012-12-31 01:20:37.619000000 +0000
845 -@@ -46,6 +46,7 @@
846 - #include <sys/stat.h>
847 - #include <unistd.h>
848 - #include <linux/version.h>
849 -+#include <sys/personality.h>
850 -
851 - #include "validate.h"
852 - #include "thread.h"
853 -diff -x config.log -x config.status -ru tmp/sbcl-1.1.2/src/runtime/x86-64-linux-os.c work/sbcl-1.1.2/src/runtime/x86-64-linux-os.c
854 ---- tmp/sbcl-1.1.2/src/runtime/x86-64-linux-os.c 2012-12-01 11:32:38.000000000 +0000
855 -+++ work/sbcl-1.1.2/src/runtime/x86-64-linux-os.c 2012-12-31 01:20:25.450000000 +0000
856 -@@ -14,6 +14,9 @@
857 - * files for more information.
858 - */
859 -
860 -+/* This is to get REG_RAX etc. from sys/ucontext.h. */
861 -+#define _GNU_SOURCE
862 -+
863 - #include <stdio.h>
864 - #include <stddef.h>
865 - #include <sys/param.h>
866 -@@ -21,11 +24,7 @@
867 - #include <sys/types.h>
868 - #include <unistd.h>
869 - #include <errno.h>
870 --
871 --#define __USE_GNU
872 - #include <sys/ucontext.h>
873 --#undef __USE_GNU
874 --
875 -
876 - #include "./signal.h"
877 - #include "os.h"
878
879 diff --git a/dev-lisp/sbcl/files/sbcl-1.0.55_no_doc_install.patch b/dev-lisp/sbcl/files/sbcl-1.0.55_no_doc_install.patch
880 deleted file mode 100644
881 index 458c637..0000000
882 --- a/dev-lisp/sbcl/files/sbcl-1.0.55_no_doc_install.patch
883 +++ /dev/null
884 @@ -1,61 +0,0 @@
885 -#Patch by Jesus Rivero <neurogeek@g.o>
886 -#Added: Mar 26, 2012
887 -#Gentoo Specific, not sent upstream
888 -
889 -diff -uNr a/install.sh b/install.sh
890 ---- a/install.sh 2012-03-26 07:17:28.000000000 -0400
891 -+++ b/install.sh 2012-03-26 07:17:56.000000000 -0400
892 -@@ -101,52 +101,3 @@
893 - # share/man/ manpages, should be the same as man/
894 - # share/info/ info files
895 - # share/doc/ misc documentation
896 --
897 --echo
898 --echo "Documentation:"
899 --
900 --# man
901 --cp doc/sbcl.1 "$BUILD_ROOT$MAN_DIR"/man1/ && echo " man $BUILD_ROOT$MAN_DIR/man1/sbcl.1"
902 --cp doc/sbcl-asdf-install.1 "$BUILD_ROOT$MAN_DIR"/man1/ && echo " man $BUILD_ROOT$MAN_DIR/man1/sbcl-asdf-install.1"
903 --
904 --# info
905 --for info in doc/manual/*.info
906 --do
907 -- cp $info "$BUILD_ROOT$INFO_DIR"/ \
908 -- && BN=`basename $info` \
909 -- && DIRFAIL=`install-info --info-dir="$BUILD_ROOT$INFO_DIR" \
910 -- "$BUILD_ROOT$INFO_DIR"/$BN > /dev/null 2>&1 \
911 -- || echo "(could not add to system catalog)"` \
912 -- && echo " info $BUILD_ROOT$INFO_DIR/`basename $info` [$BUILD_ROOT$INFO_DIR/dir] $DIRFAIL"
913 --done
914 --
915 --for info in doc/manual/*.info-*
916 --do
917 -- cp $info "$BUILD_ROOT$INFO_DIR"/ \
918 -- && echo " info $BUILD_ROOT$INFO_DIR/`basename $info`"
919 --done
920 --
921 --# pdf
922 --for pdf in doc/manual/*.pdf
923 --do
924 -- cp $pdf "$BUILD_ROOT$DOC_DIR"/ \
925 -- && echo " pdf $BUILD_ROOT$DOC_DIR/`basename $pdf`"
926 --done
927 --
928 --# html
929 --for html in doc/manual/sbcl doc/manual/asdf
930 --do
931 -- test -d $html && cp -R -L $html "$BUILD_ROOT$DOC_DIR"/html \
932 -- && echo " html $BUILD_ROOT$DOC_DIR/html/`basename $html`/index.html"
933 --done
934 --
935 --for html in doc/manual/sbcl.html doc/manual/asdf.html
936 --do
937 -- cp $html "$BUILD_ROOT$DOC_DIR"/ \
938 -- && echo " html $BUILD_ROOT$DOC_DIR/`basename $html`"
939 --done
940 --
941 --for f in BUGS CREDITS COPYING NEWS
942 --do
943 -- cp $f "$BUILD_ROOT$DOC_DIR"/
944 --done
945 -
946
947 diff --git a/dev-lisp/sbcl/files/sbcl-1.0.6-solaris.patch b/dev-lisp/sbcl/files/sbcl-1.0.6-solaris.patch
948 deleted file mode 100644
949 index c18ec1e..0000000
950 --- a/dev-lisp/sbcl/files/sbcl-1.0.6-solaris.patch
951 +++ /dev/null
952 @@ -1,13 +0,0 @@
953 ---- src/runtime/Config.x86-sunos
954 -+++ src/runtime/Config.x86-sunos
955 -@@ -2,8 +2,8 @@
956 - CFLAGS = -g -O2 -Wall -D__EXTENSIONS__ -D_POSIX_C_SOURCE=199506L -DSVR4 -D_REENTRANT
957 - ASFLAGS = -Wall
958 - LD = ld
959 --NM = nm -xgp
960 --GREP = ggrep
961 -+NM = nm -t x -p
962 -+GREP = grep
963 -
964 - ASSEM_SRC = x86-assem.S ldso-stubs.S
965 - ARCH_SRC = x86-arch.c
966
967 diff --git a/dev-lisp/sbcl/files/sbcl-1.2.7-verbose-build.patch b/dev-lisp/sbcl/files/sbcl-1.2.7-verbose-build.patch
968 deleted file mode 100644
969 index 60ead9f..0000000
970 --- a/dev-lisp/sbcl/files/sbcl-1.2.7-verbose-build.patch
971 +++ /dev/null
972 @@ -1,28 +0,0 @@
973 ---- sbcl-1.2.7-orig/make.sh 2015-01-01 06:09:07.000000000 +1100
974 -+++ sbcl-1.2.7/make.sh 2015-01-31 13:06:09.652480932 +1100
975 -@@ -24,7 +24,7 @@
976 - # thing" when run on the target machine, with the minor caveat that
977 - # any --xc-host parameter should be suitable for the host machine
978 - # instead of the target.
979 --sh make-config.sh "$@" || exit $?
980 -+sh -x make-config.sh "$@" || exit $?
981 -
982 - . output/prefix.def
983 - . output/build-config
984 -@@ -64,11 +64,11 @@
985 - # Or, if you can set up the files somewhere shared (with NFS, AFS, or
986 - # whatever) between the host machine and the target machine, the basic
987 - # procedure above should still work, but you can skip the "copy" steps.
988 --time sh make-host-1.sh
989 --time sh make-target-1.sh
990 --time sh make-host-2.sh
991 --time sh make-target-2.sh
992 --time sh make-target-contrib.sh
993 -+time sh -x make-host-1.sh
994 -+time sh -x make-target-1.sh
995 -+time sh -x make-host-2.sh
996 -+time sh -x make-target-2.sh
997 -+time sh -x make-target-contrib.sh
998 -
999 - NCONTRIBS=`find contrib -name Makefile -print | wc -l`
1000 - NPASSED=`find obj/asdf-cache -name test-passed.test-report -print | wc -l`
1001
1002 diff --git a/dev-lisp/sbcl/sbcl-1.0.55-r1.ebuild b/dev-lisp/sbcl/sbcl-1.0.55-r1.ebuild
1003 deleted file mode 100644
1004 index e179ed2..0000000
1005 --- a/dev-lisp/sbcl/sbcl-1.0.55-r1.ebuild
1006 +++ /dev/null
1007 @@ -1,203 +0,0 @@
1008 -# Copyright 1999-2015 Gentoo Foundation
1009 -# Distributed under the terms of the GNU General Public License v2
1010 -# $Id$
1011 -
1012 -EAPI=3
1013 -inherit multilib eutils flag-o-matic pax-utils
1014 -
1015 -#same order as http://www.sbcl.org/platform-table.html
1016 -BV_X86=1.0.37
1017 -BV_AMD64=1.0.37
1018 -BV_PPC=1.0.28
1019 -BV_SPARC=1.0.28
1020 -BV_ALPHA=1.0.28
1021 -
1022 -DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp"
1023 -HOMEPAGE="http://sbcl.sourceforge.net/"
1024 -SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
1025 - x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
1026 - amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
1027 - ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
1028 - sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
1029 - alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )"
1030 -
1031 -LICENSE="MIT"
1032 -SLOT="0"
1033 -KEYWORDS="amd64 ppc ~sparc x86"
1034 -IUSE="+asdf ldb source +threads +unicode debug doc pax_kernel"
1035 -
1036 -DEPEND="doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )
1037 - pax_kernel? ( sys-apps/paxctl sys-apps/elfix )"
1038 -RDEPEND="asdf? ( >=dev-lisp/gentoo-init-0.1 )"
1039 -
1040 -# Disable warnings about executable stacks, as this won't be fixed soon by upstream
1041 -QA_EXECSTACK="usr/bin/sbcl"
1042 -
1043 -CONFIG="${S}/customize-target-features.lisp"
1044 -ENVD="${T}/50sbcl"
1045 -
1046 -usep() {
1047 - use ${1} && echo "true" || echo "false"
1048 -}
1049 -
1050 -sbcl_feature() {
1051 - echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
1052 -}
1053 -
1054 -sbcl_apply_features() {
1055 - cat > "${CONFIG}" <<'EOF'
1056 -(lambda (list)
1057 - (flet ((enable (x) (pushnew x list))
1058 - (disable (x) (setf list (remove x list))))
1059 -EOF
1060 - if use x86 || use amd64; then
1061 - sbcl_feature "$(usep threads)" ":sb-thread"
1062 - fi
1063 - sbcl_feature "$(usep ldb)" ":sb-ldb"
1064 - sbcl_feature "false" ":sb-test"
1065 - sbcl_feature "$(usep unicode)" ":sb-unicode"
1066 - sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
1067 - cat >> "${CONFIG}" <<'EOF'
1068 - )
1069 - list)
1070 -EOF
1071 - cat "${CONFIG}"
1072 -}
1073 -
1074 -src_unpack() {
1075 - unpack ${A}
1076 - mv sbcl-*-linux sbcl-binary
1077 - cd "${S}"
1078 -}
1079 -
1080 -src_prepare() {
1081 - epatch "${FILESDIR}"/gentoo-fix_install_man.patch
1082 - epatch "${FILESDIR}"/gentoo-fix_linux-os-c.patch
1083 - epatch "${FILESDIR}"/gentoo_fix_waitpid_c.patch
1084 -
1085 - if use !doc; then
1086 - epatch "${FILESDIR}"/${P}_no_doc_install.patch
1087 - fi
1088 -
1089 - # To make the hardened compiler NOT compile with -fPIE -pie
1090 - if gcc-specs-pie ; then
1091 - einfo "Disabling PIE..."
1092 - epatch "${FILESDIR}"/gentoo-fix_nopie_for_hardened_toolchain.patch
1093 - fi
1094 -
1095 - # bug #463882, patch from upstream https://bugs.launchpad.net/sbcl/+bug/1095036
1096 - epatch "${FILESDIR}"/${P}-newglibc.patch
1097 -
1098 - # bug #526194
1099 - sed -e "s@CFLAGS =@CFLAGS = ${CFLAGS}@" \
1100 - -e "s@LINKFLAGS =@LINKFLAGS = ${LDFLAGS}@" \
1101 - -i src/runtime/GNUmakefile || die
1102 -
1103 - use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
1104 -
1105 - # Some shells(such as dash) don't have "time" as builtin
1106 - # and we don't want to DEPEND on sys-process/time
1107 - sed "s,^time ,," -i make.sh
1108 - sed "s,/lib,/$(get_libdir),g" -i install.sh
1109 - sed "s,/usr/local/lib,/usr/$(get_libdir),g" -i src/runtime/runtime.c # #define SBCL_HOME ...
1110 -
1111 - find . -type f -name .cvsignore -delete
1112 -}
1113 -
1114 -src_configure() {
1115 - # customizing SBCL version as per
1116 - # http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
1117 - echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
1118 -
1119 - # applying customizations
1120 - sbcl_apply_features
1121 -}
1122 -
1123 -src_compile() {
1124 - local bindir="${WORKDIR}"/sbcl-binary
1125 -
1126 - strip-unsupported-flags ; filter-flags -fomit-frame-pointer
1127 -
1128 - if use pax_kernel ; then
1129 - # To disable PaX on hardened systems
1130 - pax-mark -mr "${bindir}"/src/runtime/sbcl
1131 -
1132 - # Hack to disable PaX on second GENESIS stage
1133 - sed -i -e '/^echo \/\/doing warm init - compilation phase$/a\paxmark.sh -mr \.\/src\/runtime\/sbcl' \
1134 - "${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
1135 - fi
1136 -
1137 - # clear the environment to get rid of non-ASCII strings, see bug 174702
1138 - # set HOME for paludis
1139 - env - HOME="${T}" \
1140 - CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
1141 - CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
1142 - GNUMAKE=make ./make.sh \
1143 - "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
1144 - || die "make failed"
1145 -
1146 - # need to set HOME because libpango(used by graphviz) complains about it
1147 - if use doc; then
1148 - env - HOME="${T}" make -C doc/manual info html || die "Cannot build manual"
1149 - env - HOME="${T}" make -C doc/internals info html || die "Cannot build internal docs"
1150 - fi
1151 -}
1152 -
1153 -src_test() {
1154 - ewarn "Unfortunately, it is known that some tests fail eg."
1155 - ewarn "run-program.impure.lisp. This is an issue of the upstream's"
1156 - ewarn "development and not of Gentoo's side. Please, before filing"
1157 - ewarn "any bug(s) search for older submissions. Thank you."
1158 - time ( cd tests && sh run-tests.sh )
1159 -}
1160 -
1161 -src_install() {
1162 - # install system-wide initfile
1163 - dodir /etc/
1164 - cat > "${D}"/etc/sbclrc <<EOF
1165 -;;; The following is required if you want source location functions to
1166 -;;; work in SLIME, for example.
1167 -
1168 -(setf (logical-pathname-translations "SYS")
1169 - '(("SYS:SRC;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/src/**/*.*")
1170 - ("SYS:CONTRIB;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/**/*.*")))
1171 -EOF
1172 - if use asdf; then
1173 - cat >> "${D}"/etc/sbclrc <<EOF
1174 -
1175 -;;; Setup ASDF2
1176 -(load "/etc/gentoo-init.lisp")
1177 -EOF
1178 - fi
1179 -
1180 - unset SBCL_HOME
1181 - INSTALL_ROOT="${D}/usr" LIB_DIR="/usr/$(get_libdir)" DOC_DIR="${D}/usr/share/doc/${PF}" \
1182 - sh install.sh || die "install.sh failed"
1183 -
1184 - # Install documentation
1185 - # rm empty directories lest paludis complain about this
1186 - find "${D}" -empty -type d -exec rmdir -v {} +
1187 -
1188 - if use doc; then
1189 - dohtml -r doc/manual/
1190 - doinfo doc/manual/*.info*
1191 - dohtml -r doc/internals/sbcl-internals
1192 - doinfo doc/internals/sbcl-internals.info
1193 - docinto internals-notes && dodoc doc/internals-notes/*
1194 - else
1195 - rm -Rv "${D}/usr/share/doc/${PF}"
1196 - fi
1197 -
1198 - dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO
1199 -
1200 - # install the SBCL source
1201 - if use source; then
1202 - ./clean.sh
1203 - cp -av src "${D}/usr/$(get_libdir)/sbcl/"
1204 - fi
1205 -
1206 - # necessary for running newly-saved images
1207 - echo "SBCL_HOME=/usr/$(get_libdir)/${PN}" > "${ENVD}"
1208 - echo "SBCL_SOURCE_ROOT=/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
1209 - doenvd "${ENVD}"
1210 -}
1211
1212 diff --git a/dev-lisp/sbcl/sbcl-1.2.10.ebuild b/dev-lisp/sbcl/sbcl-1.2.10.ebuild
1213 deleted file mode 100644
1214 index 0eae4e2..0000000
1215 --- a/dev-lisp/sbcl/sbcl-1.2.10.ebuild
1216 +++ /dev/null
1217 @@ -1,236 +0,0 @@
1218 -# Copyright 1999-2015 Gentoo Foundation
1219 -# Distributed under the terms of the GNU General Public License v2
1220 -# $Id$
1221 -
1222 -EAPI=5
1223 -inherit multilib eutils flag-o-matic pax-utils
1224 -
1225 -#same order as http://www.sbcl.org/platform-table.html
1226 -BV_X86=1.2.7
1227 -BV_AMD64=1.2.10
1228 -BV_PPC=1.2.7
1229 -BV_SPARC=1.0.28
1230 -BV_ALPHA=1.0.28
1231 -BV_ARM=1.2.7
1232 -BV_PPC_MACOS=1.0.47
1233 -BV_X86_MACOS=1.1.6
1234 -BV_X64_MACOS=1.1.8
1235 -BV_SPARC_SOLARIS=1.0.23
1236 -BV_X86_SOLARIS=1.2.7
1237 -BV_X64_SOLARIS=1.2.7
1238 -
1239 -DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp"
1240 -HOMEPAGE="http://sbcl.sourceforge.net/"
1241 -SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
1242 - x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
1243 - amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
1244 - ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
1245 - sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
1246 - alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )
1247 - arm? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM}-armhf-linux-binary.tar.bz2 )
1248 - ppc-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2 )
1249 - x86-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_MACOS}-x86-darwin-binary.tar.bz2 )
1250 - x64-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_MACOS}-x86-64-darwin-binary.tar.bz2 )
1251 - sparc-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC_SOLARIS}-sparc-solaris-binary.tar.bz2 )
1252 - x86-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_SOLARIS}-x86-solaris-binary.tar.bz2 )
1253 - x64-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_SOLARIS}-x86-64-solaris-binary.tar.bz2 )"
1254 -
1255 -LICENSE="MIT"
1256 -SLOT="0/${PV}"
1257 -KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
1258 -IUSE="debug doc source +threads +unicode pax_kernel zlib"
1259 -
1260 -CDEPEND=">=dev-lisp/asdf-3.1:="
1261 -DEPEND="${CDEPEND}
1262 - doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )
1263 - pax_kernel? ( sys-apps/paxctl sys-apps/elfix )"
1264 -RDEPEND="${CDEPEND}
1265 - !prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.6 ) )"
1266 -
1267 -# Disable warnings about executable stacks, as this won't be fixed soon by upstream
1268 -QA_EXECSTACK="usr/bin/sbcl"
1269 -
1270 -CONFIG="${S}/customize-target-features.lisp"
1271 -ENVD="${T}/50sbcl"
1272 -
1273 -# Prevent ASDF from using the system libraries
1274 -CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)"
1275 -ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)"
1276 -
1277 -usep() {
1278 - use ${1} && echo "true" || echo "false"
1279 -}
1280 -
1281 -sbcl_feature() {
1282 - echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
1283 -}
1284 -
1285 -sbcl_apply_features() {
1286 - sed 's/^X//' > "${CONFIG}" <<-'EOF'
1287 - (lambda (list)
1288 - X (flet ((enable (x) (pushnew x list))
1289 - X (disable (x) (setf list (remove x list))))
1290 - EOF
1291 - if use x86 || use amd64; then
1292 - sbcl_feature "$(usep threads)" ":sb-thread"
1293 - fi
1294 - sbcl_feature "true" ":sb-ldb"
1295 - sbcl_feature "false" ":sb-test"
1296 - sbcl_feature "$(usep unicode)" ":sb-unicode"
1297 - sbcl_feature "$(usep zlib)" ":sb-core-compression"
1298 - sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
1299 - sed 's/^X//' >> "${CONFIG}" <<-'EOF'
1300 - X )
1301 - X list)
1302 - EOF
1303 - cat "${CONFIG}"
1304 -}
1305 -
1306 -src_unpack() {
1307 - unpack ${A}
1308 - mv sbcl-*-* sbcl-binary || die
1309 - cd "${S}"
1310 -}
1311 -
1312 -src_prepare() {
1313 - epatch "${FILESDIR}"/gentoo-fix_install_man.patch
1314 - # bug #468482
1315 - epatch "${FILESDIR}"/concurrency-test-1.2.6.patch
1316 - # bugs #486552, #527666, #517004
1317 - epatch "${FILESDIR}"/bsd-sockets-test-1.2.9.patch
1318 -
1319 - epatch "${FILESDIR}"/${PN}-1.0.6-solaris.patch
1320 - epatch "${FILESDIR}"/${PN}-1.2.7-verbose-build.patch
1321 -
1322 - # To make the hardened compiler NOT compile with -fPIE -pie
1323 - if gcc-specs-pie ; then
1324 - einfo "Disabling PIE..."
1325 - epatch "${FILESDIR}"/${PN}-1.1.17-gentoo-fix_nopie_for_hardened_toolchain.patch
1326 - fi
1327 -
1328 - # bug #526194
1329 - sed -e "s@CFLAGS =.*\$@CFLAGS = ${CFLAGS} -g -Wall -Wsign-compare@" \
1330 - -e "s@LINKFLAGS =@LINKFLAGS = ${LDFLAGS}@" \
1331 - -i src/runtime/GNUmakefile || die
1332 -
1333 - sed -e "s@SBCL_PREFIX=\"/usr/local\"@SBCL_PREFIX=\"${EPREFIX}/usr\"@" \
1334 - -i make-config.sh || die
1335 -
1336 - cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
1337 -
1338 - use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
1339 -
1340 - # Some shells(such as dash) don't have "time" as builtin
1341 - # and we don't want to DEPEND on sys-process/time
1342 - sed "s,^time ,," -i make.sh || die
1343 - sed "s,/lib,/$(get_libdir),g" -i install.sh || die
1344 - # #define SBCL_HOME ...
1345 - sed "s,/usr/local/lib,${EPREFIX}/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
1346 - # change location of /etc/sbclrc ...
1347 - sed "s,/etc/sbclrc,${EPREFIX}/etc/sbclrc,g" -i src/code/toplevel.lisp || die
1348 -
1349 - find . -type f -name .cvsignore -delete
1350 -}
1351 -
1352 -src_configure() {
1353 - # customizing SBCL version as per
1354 - # http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
1355 - echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
1356 -
1357 - # applying customizations
1358 - sbcl_apply_features
1359 -}
1360 -
1361 -src_compile() {
1362 - local bindir="${WORKDIR}"/sbcl-binary
1363 -
1364 - strip-unsupported-flags ; filter-flags -fomit-frame-pointer
1365 -
1366 - if host-is-pax ; then
1367 - # To disable PaX on hardened systems
1368 - pax-mark -mr "${bindir}"/src/runtime/sbcl
1369 -
1370 - # Hack to disable PaX on second GENESIS stage
1371 - sed -i -e '/^[ \t]*echo \/\/doing warm init - compilation phase$/a\ paxmark.sh -mr \.\/src\/runtime\/sbcl' \
1372 - "${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
1373 - fi
1374 -
1375 - # clear the environment to get rid of non-ASCII strings, see bug 174702
1376 - # set HOME for paludis
1377 - env - HOME="${T}" PATH="${PATH}" \
1378 - CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
1379 - CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
1380 - GNUMAKE=make ./make.sh \
1381 - "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
1382 - || die "make failed"
1383 -
1384 - # need to set HOME because libpango(used by graphviz) complains about it
1385 - if use doc; then
1386 - env - HOME="${T}" PATH="${PATH}" \
1387 - CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
1388 - ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
1389 - make -C doc/manual info html || die "Cannot build manual"
1390 - env - HOME="${T}" PATH="${PATH}" \
1391 - CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
1392 - ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
1393 - make -C doc/internals info html || die "Cannot build internal docs"
1394 - fi
1395 -}
1396 -
1397 -src_test() {
1398 - ewarn "Unfortunately, it is known that some tests fail eg."
1399 - ewarn "run-program.impure.lisp. This is an issue of the upstream's"
1400 - ewarn "development and not of Gentoo's side. Please, before filing"
1401 - ewarn "any bug(s) search for older submissions. Thank you."
1402 - time ( cd tests && sh run-tests.sh )
1403 -}
1404 -
1405 -src_install() {
1406 - # install system-wide initfile
1407 - dodir /etc/
1408 - sed 's/^X//' > "${ED}"/etc/sbclrc <<-EOF
1409 - ;;; The following is required if you want source location functions to
1410 - ;;; work in SLIME, for example.
1411 - X
1412 - (setf (logical-pathname-translations "SYS")
1413 - X '(("SYS:SRC;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/src/**/*.*")
1414 - X ("SYS:CONTRIB;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/**/*.*")))
1415 - X
1416 - ;;; Setup ASDF2
1417 - (load "${EPREFIX}/etc/common-lisp/gentoo-init.lisp")
1418 - EOF
1419 -
1420 - # Install documentation
1421 - unset SBCL_HOME
1422 - INSTALL_ROOT="${ED}/usr" LIB_DIR="${EPREFIX}/usr/$(get_libdir)" DOC_DIR="${ED}/usr/share/doc/${PF}" \
1423 - sh install.sh || die "install.sh failed"
1424 -
1425 - # bug #517008
1426 - pax-mark -mr "${D}"/usr/bin/sbcl
1427 -
1428 - # rm empty directories lest paludis complain about this
1429 - find "${ED}" -empty -type d -exec rmdir -v {} +
1430 -
1431 - if use doc; then
1432 - dohtml -r doc/manual/
1433 - doinfo doc/manual/*.info*
1434 - dohtml -r doc/internals/sbcl-internals
1435 - doinfo doc/internals/sbcl-internals.info
1436 - docinto internals-notes && dodoc doc/internals-notes/*
1437 - else
1438 - rm -Rv "${ED}/usr/share/doc/${PF}" || die
1439 - fi
1440 -
1441 - dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO
1442 -
1443 - # install the SBCL source
1444 - if use source; then
1445 - ./clean.sh
1446 - cp -av src "${ED}/usr/$(get_libdir)/sbcl/" || die
1447 - fi
1448 -
1449 - # necessary for running newly-saved images
1450 - echo "SBCL_HOME=${EPREFIX}/usr/$(get_libdir)/${PN}" > "${ENVD}"
1451 - echo "SBCL_SOURCE_ROOT=${EPREFIX}/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
1452 - doenvd "${ENVD}"
1453 -}
1454
1455 diff --git a/dev-lisp/sbcl/sbcl-1.2.11.ebuild b/dev-lisp/sbcl/sbcl-1.2.11.ebuild
1456 deleted file mode 100644
1457 index 76ec4b2..0000000
1458 --- a/dev-lisp/sbcl/sbcl-1.2.11.ebuild
1459 +++ /dev/null
1460 @@ -1,236 +0,0 @@
1461 -# Copyright 1999-2015 Gentoo Foundation
1462 -# Distributed under the terms of the GNU General Public License v2
1463 -# $Id$
1464 -
1465 -EAPI=5
1466 -inherit multilib eutils flag-o-matic pax-utils
1467 -
1468 -#same order as http://www.sbcl.org/platform-table.html
1469 -BV_X86=1.2.7
1470 -BV_AMD64=1.2.11
1471 -BV_PPC=1.2.7
1472 -BV_SPARC=1.0.28
1473 -BV_ALPHA=1.0.28
1474 -BV_ARM=1.2.7
1475 -BV_PPC_MACOS=1.0.47
1476 -BV_X86_MACOS=1.1.6
1477 -BV_X64_MACOS=1.1.8
1478 -BV_SPARC_SOLARIS=1.0.23
1479 -BV_X86_SOLARIS=1.2.7
1480 -BV_X64_SOLARIS=1.2.7
1481 -
1482 -DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp"
1483 -HOMEPAGE="http://sbcl.sourceforge.net/"
1484 -SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
1485 - x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
1486 - amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
1487 - ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
1488 - sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
1489 - alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )
1490 - arm? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM}-armhf-linux-binary.tar.bz2 )
1491 - ppc-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2 )
1492 - x86-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_MACOS}-x86-darwin-binary.tar.bz2 )
1493 - x64-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_MACOS}-x86-64-darwin-binary.tar.bz2 )
1494 - sparc-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC_SOLARIS}-sparc-solaris-binary.tar.bz2 )
1495 - x86-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_SOLARIS}-x86-solaris-binary.tar.bz2 )
1496 - x64-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_SOLARIS}-x86-64-solaris-binary.tar.bz2 )"
1497 -
1498 -LICENSE="MIT"
1499 -SLOT="0/${PV}"
1500 -KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
1501 -IUSE="debug doc source +threads +unicode pax_kernel zlib"
1502 -
1503 -CDEPEND=">=dev-lisp/asdf-3.1:="
1504 -DEPEND="${CDEPEND}
1505 - doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )
1506 - pax_kernel? ( sys-apps/paxctl sys-apps/elfix )"
1507 -RDEPEND="${CDEPEND}
1508 - !prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.6 ) )"
1509 -
1510 -# Disable warnings about executable stacks, as this won't be fixed soon by upstream
1511 -QA_EXECSTACK="usr/bin/sbcl"
1512 -
1513 -CONFIG="${S}/customize-target-features.lisp"
1514 -ENVD="${T}/50sbcl"
1515 -
1516 -# Prevent ASDF from using the system libraries
1517 -CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)"
1518 -ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)"
1519 -
1520 -usep() {
1521 - use ${1} && echo "true" || echo "false"
1522 -}
1523 -
1524 -sbcl_feature() {
1525 - echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
1526 -}
1527 -
1528 -sbcl_apply_features() {
1529 - sed 's/^X//' > "${CONFIG}" <<-'EOF'
1530 - (lambda (list)
1531 - X (flet ((enable (x) (pushnew x list))
1532 - X (disable (x) (setf list (remove x list))))
1533 - EOF
1534 - if use x86 || use amd64; then
1535 - sbcl_feature "$(usep threads)" ":sb-thread"
1536 - fi
1537 - sbcl_feature "true" ":sb-ldb"
1538 - sbcl_feature "false" ":sb-test"
1539 - sbcl_feature "$(usep unicode)" ":sb-unicode"
1540 - sbcl_feature "$(usep zlib)" ":sb-core-compression"
1541 - sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
1542 - sed 's/^X//' >> "${CONFIG}" <<-'EOF'
1543 - X )
1544 - X list)
1545 - EOF
1546 - cat "${CONFIG}"
1547 -}
1548 -
1549 -src_unpack() {
1550 - unpack ${A}
1551 - mv sbcl-*-* sbcl-binary || die
1552 - cd "${S}"
1553 -}
1554 -
1555 -src_prepare() {
1556 - epatch "${FILESDIR}"/gentoo-fix_install_man.patch
1557 - # bug #468482
1558 - epatch "${FILESDIR}"/concurrency-test-1.2.6.patch
1559 - # bugs #486552, #527666, #517004
1560 - epatch "${FILESDIR}"/bsd-sockets-test-1.2.11.patch
1561 -
1562 - epatch "${FILESDIR}"/${PN}-1.2.11-solaris.patch
1563 - epatch "${FILESDIR}"/${PN}-1.2.7-verbose-build.patch
1564 -
1565 - # To make the hardened compiler NOT compile with -fPIE -pie
1566 - if gcc-specs-pie ; then
1567 - einfo "Disabling PIE..."
1568 - epatch "${FILESDIR}"/${PN}-1.1.17-gentoo-fix_nopie_for_hardened_toolchain.patch
1569 - fi
1570 -
1571 - # bug #526194
1572 - sed -e "s@CFLAGS =.*\$@CFLAGS = ${CFLAGS} -g -Wall -Wsign-compare@" \
1573 - -e "s@LINKFLAGS =.*\$@LINKFLAGS = ${LDFLAGS} -g@" \
1574 - -i src/runtime/GNUmakefile || die
1575 -
1576 - sed -e "s@SBCL_PREFIX=\"/usr/local\"@SBCL_PREFIX=\"${EPREFIX}/usr\"@" \
1577 - -i make-config.sh || die
1578 -
1579 - cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
1580 -
1581 - use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
1582 -
1583 - # Some shells(such as dash) don't have "time" as builtin
1584 - # and we don't want to DEPEND on sys-process/time
1585 - sed "s,^time ,," -i make.sh || die
1586 - sed "s,/lib,/$(get_libdir),g" -i install.sh || die
1587 - # #define SBCL_HOME ...
1588 - sed "s,/usr/local/lib,${EPREFIX}/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
1589 - # change location of /etc/sbclrc ...
1590 - sed "s,/etc/sbclrc,${EPREFIX}/etc/sbclrc,g" -i src/code/toplevel.lisp || die
1591 -
1592 - find . -type f -name .cvsignore -delete
1593 -}
1594 -
1595 -src_configure() {
1596 - # customizing SBCL version as per
1597 - # http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
1598 - echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
1599 -
1600 - # applying customizations
1601 - sbcl_apply_features
1602 -}
1603 -
1604 -src_compile() {
1605 - local bindir="${WORKDIR}"/sbcl-binary
1606 -
1607 - strip-unsupported-flags ; filter-flags -fomit-frame-pointer
1608 -
1609 - if host-is-pax ; then
1610 - # To disable PaX on hardened systems
1611 - pax-mark -mr "${bindir}"/src/runtime/sbcl
1612 -
1613 - # Hack to disable PaX on second GENESIS stage
1614 - sed -i -e '/^[ \t]*echo \/\/doing warm init - compilation phase$/a\ paxmark.sh -mr \.\/src\/runtime\/sbcl' \
1615 - "${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
1616 - fi
1617 -
1618 - # clear the environment to get rid of non-ASCII strings, see bug 174702
1619 - # set HOME for paludis
1620 - env - HOME="${T}" PATH="${PATH}" \
1621 - CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
1622 - CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
1623 - GNUMAKE=make ./make.sh \
1624 - "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
1625 - || die "make failed"
1626 -
1627 - # need to set HOME because libpango(used by graphviz) complains about it
1628 - if use doc; then
1629 - env - HOME="${T}" PATH="${PATH}" \
1630 - CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
1631 - ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
1632 - make -C doc/manual info html || die "Cannot build manual"
1633 - env - HOME="${T}" PATH="${PATH}" \
1634 - CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
1635 - ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
1636 - make -C doc/internals info html || die "Cannot build internal docs"
1637 - fi
1638 -}
1639 -
1640 -src_test() {
1641 - ewarn "Unfortunately, it is known that some tests fail eg."
1642 - ewarn "run-program.impure.lisp. This is an issue of the upstream's"
1643 - ewarn "development and not of Gentoo's side. Please, before filing"
1644 - ewarn "any bug(s) search for older submissions. Thank you."
1645 - time ( cd tests && sh run-tests.sh )
1646 -}
1647 -
1648 -src_install() {
1649 - # install system-wide initfile
1650 - dodir /etc/
1651 - sed 's/^X//' > "${ED}"/etc/sbclrc <<-EOF
1652 - ;;; The following is required if you want source location functions to
1653 - ;;; work in SLIME, for example.
1654 - X
1655 - (setf (logical-pathname-translations "SYS")
1656 - X '(("SYS:SRC;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/src/**/*.*")
1657 - X ("SYS:CONTRIB;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/**/*.*")))
1658 - X
1659 - ;;; Setup ASDF2
1660 - (load "${EPREFIX}/etc/common-lisp/gentoo-init.lisp")
1661 - EOF
1662 -
1663 - # Install documentation
1664 - unset SBCL_HOME
1665 - INSTALL_ROOT="${ED}/usr" LIB_DIR="${EPREFIX}/usr/$(get_libdir)" DOC_DIR="${ED}/usr/share/doc/${PF}" \
1666 - sh install.sh || die "install.sh failed"
1667 -
1668 - # bug #517008
1669 - pax-mark -mr "${D}"/usr/bin/sbcl
1670 -
1671 - # rm empty directories lest paludis complain about this
1672 - find "${ED}" -empty -type d -exec rmdir -v {} +
1673 -
1674 - if use doc; then
1675 - dohtml -r doc/manual/
1676 - doinfo doc/manual/*.info*
1677 - dohtml -r doc/internals/sbcl-internals
1678 - doinfo doc/internals/sbcl-internals.info
1679 - docinto internals-notes && dodoc doc/internals-notes/*
1680 - else
1681 - rm -Rv "${ED}/usr/share/doc/${PF}" || die
1682 - fi
1683 -
1684 - dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO
1685 -
1686 - # install the SBCL source
1687 - if use source; then
1688 - ./clean.sh
1689 - cp -av src "${ED}/usr/$(get_libdir)/sbcl/" || die
1690 - fi
1691 -
1692 - # necessary for running newly-saved images
1693 - echo "SBCL_HOME=${EPREFIX}/usr/$(get_libdir)/${PN}" > "${ENVD}"
1694 - echo "SBCL_SOURCE_ROOT=${EPREFIX}/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
1695 - doenvd "${ENVD}"
1696 -}
1697
1698 diff --git a/dev-lisp/sbcl/sbcl-1.2.2.ebuild b/dev-lisp/sbcl/sbcl-1.2.2.ebuild
1699 deleted file mode 100644
1700 index 66a59c3..0000000
1701 --- a/dev-lisp/sbcl/sbcl-1.2.2.ebuild
1702 +++ /dev/null
1703 @@ -1,212 +0,0 @@
1704 -# Copyright 1999-2015 Gentoo Foundation
1705 -# Distributed under the terms of the GNU General Public License v2
1706 -# $Id$
1707 -
1708 -EAPI=5
1709 -inherit multilib eutils flag-o-matic pax-utils
1710 -
1711 -#same order as http://www.sbcl.org/platform-table.html
1712 -BV_X86=1.0.58
1713 -BV_AMD64=1.2.2
1714 -BV_PPC=1.0.28
1715 -BV_SPARC=1.0.28
1716 -BV_ALPHA=1.0.28
1717 -
1718 -DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp"
1719 -HOMEPAGE="http://sbcl.sourceforge.net/"
1720 -SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
1721 - x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
1722 - amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
1723 - ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
1724 - sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
1725 - alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )"
1726 -
1727 -LICENSE="MIT"
1728 -SLOT="0/${PV}"
1729 -KEYWORDS="~amd64 ~ppc ~sparc ~x86"
1730 -IUSE="debug doc source +threads +unicode pax_kernel zlib"
1731 -
1732 -CDEPEND="=dev-lisp/asdf-3.0*:="
1733 -DEPEND="${CDEPEND}
1734 - doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )
1735 - pax_kernel? ( sys-apps/paxctl sys-apps/elfix )"
1736 -RDEPEND="${CDEPEND}
1737 - elibc_glibc? ( >=sys-libs/glibc-2.3 || ( <sys-libs/glibc-2.6[nptl] >=sys-libs/glibc-2.6 ) )"
1738 -
1739 -# Disable warnings about executable stacks, as this won't be fixed soon by upstream
1740 -QA_EXECSTACK="usr/bin/sbcl"
1741 -
1742 -CONFIG="${S}/customize-target-features.lisp"
1743 -ENVD="${T}/50sbcl"
1744 -
1745 -# Prevent ASDF from using the system libraries
1746 -CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)"
1747 -ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)"
1748 -
1749 -usep() {
1750 - use ${1} && echo "true" || echo "false"
1751 -}
1752 -
1753 -sbcl_feature() {
1754 - echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
1755 -}
1756 -
1757 -sbcl_apply_features() {
1758 - sed 's/^X//' > "${CONFIG}" <<-'EOF'
1759 - (lambda (list)
1760 - X (flet ((enable (x) (pushnew x list))
1761 - X (disable (x) (setf list (remove x list))))
1762 - EOF
1763 - if use x86 || use amd64; then
1764 - sbcl_feature "$(usep threads)" ":sb-thread"
1765 - fi
1766 - sbcl_feature "true" ":sb-ldb"
1767 - sbcl_feature "false" ":sb-test"
1768 - sbcl_feature "$(usep unicode)" ":sb-unicode"
1769 - sbcl_feature "$(usep zlib)" ":sb-core-compression"
1770 - sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
1771 - sed 's/^X//' >> "${CONFIG}" <<-'EOF'
1772 - X )
1773 - X list)
1774 - EOF
1775 - cat "${CONFIG}"
1776 -}
1777 -
1778 -src_unpack() {
1779 - unpack ${A}
1780 - mv sbcl-*-linux sbcl-binary || die
1781 - cd "${S}"
1782 -}
1783 -
1784 -src_prepare() {
1785 - epatch "${FILESDIR}"/gentoo-fix_install_man.patch
1786 - epatch "${FILESDIR}"/gentoo-fix_linux-os-c.patch
1787 - # bug #468482
1788 - epatch "${FILESDIR}"/concurrency-test.patch
1789 - # bug #486552
1790 - epatch "${FILESDIR}"/bsd-sockets-test-1.2.patch
1791 -
1792 - # To make the hardened compiler NOT compile with -fPIE -pie
1793 - if gcc-specs-pie ; then
1794 - einfo "Disabling PIE..."
1795 - epatch "${FILESDIR}"/${PN}-1.1.17-gentoo-fix_nopie_for_hardened_toolchain.patch
1796 - fi
1797 -
1798 - # bug #526194
1799 - sed -e "s@CFLAGS =@CFLAGS = ${CFLAGS}@" \
1800 - -e "s@LINKFLAGS =@LINKFLAGS = ${LDFLAGS}@" \
1801 - -i src/runtime/GNUmakefile || die
1802 -
1803 - cp /usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
1804 -
1805 - use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
1806 -
1807 - # Some shells(such as dash) don't have "time" as builtin
1808 - # and we don't want to DEPEND on sys-process/time
1809 - sed "s,^time ,," -i make.sh || die
1810 - sed "s,/lib,/$(get_libdir),g" -i install.sh || die
1811 - # #define SBCL_HOME ...
1812 - sed "s,/usr/local/lib,/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
1813 -
1814 - find . -type f -name .cvsignore -delete
1815 -}
1816 -
1817 -src_configure() {
1818 - # customizing SBCL version as per
1819 - # http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
1820 - echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
1821 -
1822 - # applying customizations
1823 - sbcl_apply_features
1824 -}
1825 -
1826 -src_compile() {
1827 - local bindir="${WORKDIR}"/sbcl-binary
1828 -
1829 - strip-unsupported-flags ; filter-flags -fomit-frame-pointer
1830 -
1831 - if host-is-pax ; then
1832 - # To disable PaX on hardened systems
1833 - pax-mark -mr "${bindir}"/src/runtime/sbcl
1834 -
1835 - # Hack to disable PaX on second GENESIS stage
1836 - sed -i -e '/^[ \t]*echo \/\/doing warm init - compilation phase$/a\ paxmark.sh -mr \.\/src\/runtime\/sbcl' \
1837 - "${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
1838 - fi
1839 -
1840 - # clear the environment to get rid of non-ASCII strings, see bug 174702
1841 - # set HOME for paludis
1842 - env - HOME="${T}" \
1843 - CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
1844 - CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
1845 - GNUMAKE=make ./make.sh \
1846 - "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
1847 - || die "make failed"
1848 -
1849 - # need to set HOME because libpango(used by graphviz) complains about it
1850 - if use doc; then
1851 - env - HOME="${T}" \
1852 - CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
1853 - ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
1854 - make -C doc/manual info html || die "Cannot build manual"
1855 - env - HOME="${T}" \
1856 - CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
1857 - ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
1858 - make -C doc/internals info html || die "Cannot build internal docs"
1859 - fi
1860 -}
1861 -
1862 -src_test() {
1863 - ewarn "Unfortunately, it is known that some tests fail eg."
1864 - ewarn "run-program.impure.lisp. This is an issue of the upstream's"
1865 - ewarn "development and not of Gentoo's side. Please, before filing"
1866 - ewarn "any bug(s) search for older submissions. Thank you."
1867 - time ( cd tests && sh run-tests.sh )
1868 -}
1869 -
1870 -src_install() {
1871 - # install system-wide initfile
1872 - dodir /etc/
1873 - sed 's/^X//' > "${D}"/etc/sbclrc <<-EOF
1874 - ;;; The following is required if you want source location functions to
1875 - ;;; work in SLIME, for example.
1876 - X
1877 - (setf (logical-pathname-translations "SYS")
1878 - X '(("SYS:SRC;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/src/**/*.*")
1879 - X ("SYS:CONTRIB;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/**/*.*")))
1880 - X
1881 - ;;; Setup ASDF2
1882 - (load "/etc/common-lisp/gentoo-init.lisp")
1883 - EOF
1884 -
1885 - # Install documentation
1886 - unset SBCL_HOME
1887 - INSTALL_ROOT="${D}/usr" LIB_DIR="/usr/$(get_libdir)" DOC_DIR="${D}/usr/share/doc/${PF}" \
1888 - sh install.sh || die "install.sh failed"
1889 -
1890 - # rm empty directories lest paludis complain about this
1891 - find "${D}" -empty -type d -exec rmdir -v {} +
1892 -
1893 - if use doc; then
1894 - dohtml -r doc/manual/
1895 - doinfo doc/manual/*.info*
1896 - dohtml -r doc/internals/sbcl-internals
1897 - doinfo doc/internals/sbcl-internals.info
1898 - docinto internals-notes && dodoc doc/internals-notes/*
1899 - else
1900 - rm -Rv "${D}/usr/share/doc/${PF}" || die
1901 - fi
1902 -
1903 - dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO
1904 -
1905 - # install the SBCL source
1906 - if use source; then
1907 - ./clean.sh
1908 - cp -av src "${D}/usr/$(get_libdir)/sbcl/" || die
1909 - fi
1910 -
1911 - # necessary for running newly-saved images
1912 - echo "SBCL_HOME=/usr/$(get_libdir)/${PN}" > "${ENVD}"
1913 - echo "SBCL_SOURCE_ROOT=/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
1914 - doenvd "${ENVD}"
1915 -}
1916
1917 diff --git a/dev-lisp/sbcl/sbcl-1.2.4.ebuild b/dev-lisp/sbcl/sbcl-1.2.4.ebuild
1918 deleted file mode 100644
1919 index f498c33..0000000
1920 --- a/dev-lisp/sbcl/sbcl-1.2.4.ebuild
1921 +++ /dev/null
1922 @@ -1,212 +0,0 @@
1923 -# Copyright 1999-2015 Gentoo Foundation
1924 -# Distributed under the terms of the GNU General Public License v2
1925 -# $Id$
1926 -
1927 -EAPI=5
1928 -inherit multilib eutils flag-o-matic pax-utils
1929 -
1930 -#same order as http://www.sbcl.org/platform-table.html
1931 -BV_X86=1.0.58
1932 -BV_AMD64=1.2.4
1933 -BV_PPC=1.0.28
1934 -BV_SPARC=1.0.28
1935 -BV_ALPHA=1.0.28
1936 -
1937 -DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp"
1938 -HOMEPAGE="http://sbcl.sourceforge.net/"
1939 -SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
1940 - x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
1941 - amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
1942 - ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
1943 - sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
1944 - alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )"
1945 -
1946 -LICENSE="MIT"
1947 -SLOT="0/${PV}"
1948 -KEYWORDS="~amd64 ~ppc ~sparc ~x86"
1949 -IUSE="debug doc source +threads +unicode pax_kernel zlib"
1950 -
1951 -CDEPEND=">=dev-lisp/asdf-3.1:="
1952 -DEPEND="${CDEPEND}
1953 - doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )
1954 - pax_kernel? ( sys-apps/paxctl sys-apps/elfix )"
1955 -RDEPEND="${CDEPEND}
1956 - elibc_glibc? ( >=sys-libs/glibc-2.3 || ( <sys-libs/glibc-2.6[nptl] >=sys-libs/glibc-2.6 ) )"
1957 -
1958 -# Disable warnings about executable stacks, as this won't be fixed soon by upstream
1959 -QA_EXECSTACK="usr/bin/sbcl"
1960 -
1961 -CONFIG="${S}/customize-target-features.lisp"
1962 -ENVD="${T}/50sbcl"
1963 -
1964 -# Prevent ASDF from using the system libraries
1965 -CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)"
1966 -ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)"
1967 -
1968 -usep() {
1969 - use ${1} && echo "true" || echo "false"
1970 -}
1971 -
1972 -sbcl_feature() {
1973 - echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
1974 -}
1975 -
1976 -sbcl_apply_features() {
1977 - sed 's/^X//' > "${CONFIG}" <<-'EOF'
1978 - (lambda (list)
1979 - X (flet ((enable (x) (pushnew x list))
1980 - X (disable (x) (setf list (remove x list))))
1981 - EOF
1982 - if use x86 || use amd64; then
1983 - sbcl_feature "$(usep threads)" ":sb-thread"
1984 - fi
1985 - sbcl_feature "true" ":sb-ldb"
1986 - sbcl_feature "false" ":sb-test"
1987 - sbcl_feature "$(usep unicode)" ":sb-unicode"
1988 - sbcl_feature "$(usep zlib)" ":sb-core-compression"
1989 - sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
1990 - sed 's/^X//' >> "${CONFIG}" <<-'EOF'
1991 - X )
1992 - X list)
1993 - EOF
1994 - cat "${CONFIG}"
1995 -}
1996 -
1997 -src_unpack() {
1998 - unpack ${A}
1999 - mv sbcl-*-linux sbcl-binary || die
2000 - cd "${S}"
2001 -}
2002 -
2003 -src_prepare() {
2004 - epatch "${FILESDIR}"/gentoo-fix_install_man.patch
2005 - epatch "${FILESDIR}"/gentoo-fix_linux-os-c.patch
2006 - # bug #468482
2007 - epatch "${FILESDIR}"/concurrency-test.patch
2008 - # bug #486552
2009 - epatch "${FILESDIR}"/bsd-sockets-test-1.2.patch
2010 -
2011 - # To make the hardened compiler NOT compile with -fPIE -pie
2012 - if gcc-specs-pie ; then
2013 - einfo "Disabling PIE..."
2014 - epatch "${FILESDIR}"/${PN}-1.1.17-gentoo-fix_nopie_for_hardened_toolchain.patch
2015 - fi
2016 -
2017 - # bug #526194
2018 - sed -e "s@CFLAGS =@CFLAGS = ${CFLAGS}@" \
2019 - -e "s@LINKFLAGS =@LINKFLAGS = ${LDFLAGS}@" \
2020 - -i src/runtime/GNUmakefile || die
2021 -
2022 - cp /usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
2023 -
2024 - use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
2025 -
2026 - # Some shells(such as dash) don't have "time" as builtin
2027 - # and we don't want to DEPEND on sys-process/time
2028 - sed "s,^time ,," -i make.sh || die
2029 - sed "s,/lib,/$(get_libdir),g" -i install.sh || die
2030 - # #define SBCL_HOME ...
2031 - sed "s,/usr/local/lib,/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
2032 -
2033 - find . -type f -name .cvsignore -delete
2034 -}
2035 -
2036 -src_configure() {
2037 - # customizing SBCL version as per
2038 - # http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
2039 - echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
2040 -
2041 - # applying customizations
2042 - sbcl_apply_features
2043 -}
2044 -
2045 -src_compile() {
2046 - local bindir="${WORKDIR}"/sbcl-binary
2047 -
2048 - strip-unsupported-flags ; filter-flags -fomit-frame-pointer
2049 -
2050 - if host-is-pax ; then
2051 - # To disable PaX on hardened systems
2052 - pax-mark -mr "${bindir}"/src/runtime/sbcl
2053 -
2054 - # Hack to disable PaX on second GENESIS stage
2055 - sed -i -e '/^[ \t]*echo \/\/doing warm init - compilation phase$/a\ paxmark.sh -mr \.\/src\/runtime\/sbcl' \
2056 - "${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
2057 - fi
2058 -
2059 - # clear the environment to get rid of non-ASCII strings, see bug 174702
2060 - # set HOME for paludis
2061 - env - HOME="${T}" \
2062 - CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
2063 - CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
2064 - GNUMAKE=make ./make.sh \
2065 - "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
2066 - || die "make failed"
2067 -
2068 - # need to set HOME because libpango(used by graphviz) complains about it
2069 - if use doc; then
2070 - env - HOME="${T}" \
2071 - CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
2072 - ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
2073 - make -C doc/manual info html || die "Cannot build manual"
2074 - env - HOME="${T}" \
2075 - CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
2076 - ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
2077 - make -C doc/internals info html || die "Cannot build internal docs"
2078 - fi
2079 -}
2080 -
2081 -src_test() {
2082 - ewarn "Unfortunately, it is known that some tests fail eg."
2083 - ewarn "run-program.impure.lisp. This is an issue of the upstream's"
2084 - ewarn "development and not of Gentoo's side. Please, before filing"
2085 - ewarn "any bug(s) search for older submissions. Thank you."
2086 - time ( cd tests && sh run-tests.sh )
2087 -}
2088 -
2089 -src_install() {
2090 - # install system-wide initfile
2091 - dodir /etc/
2092 - sed 's/^X//' > "${D}"/etc/sbclrc <<-EOF
2093 - ;;; The following is required if you want source location functions to
2094 - ;;; work in SLIME, for example.
2095 - X
2096 - (setf (logical-pathname-translations "SYS")
2097 - X '(("SYS:SRC;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/src/**/*.*")
2098 - X ("SYS:CONTRIB;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/**/*.*")))
2099 - X
2100 - ;;; Setup ASDF2
2101 - (load "/etc/common-lisp/gentoo-init.lisp")
2102 - EOF
2103 -
2104 - # Install documentation
2105 - unset SBCL_HOME
2106 - INSTALL_ROOT="${D}/usr" LIB_DIR="/usr/$(get_libdir)" DOC_DIR="${D}/usr/share/doc/${PF}" \
2107 - sh install.sh || die "install.sh failed"
2108 -
2109 - # rm empty directories lest paludis complain about this
2110 - find "${D}" -empty -type d -exec rmdir -v {} +
2111 -
2112 - if use doc; then
2113 - dohtml -r doc/manual/
2114 - doinfo doc/manual/*.info*
2115 - dohtml -r doc/internals/sbcl-internals
2116 - doinfo doc/internals/sbcl-internals.info
2117 - docinto internals-notes && dodoc doc/internals-notes/*
2118 - else
2119 - rm -Rv "${D}/usr/share/doc/${PF}" || die
2120 - fi
2121 -
2122 - dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO
2123 -
2124 - # install the SBCL source
2125 - if use source; then
2126 - ./clean.sh
2127 - cp -av src "${D}/usr/$(get_libdir)/sbcl/" || die
2128 - fi
2129 -
2130 - # necessary for running newly-saved images
2131 - echo "SBCL_HOME=/usr/$(get_libdir)/${PN}" > "${ENVD}"
2132 - echo "SBCL_SOURCE_ROOT=/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
2133 - doenvd "${ENVD}"
2134 -}
2135
2136 diff --git a/dev-lisp/sbcl/sbcl-1.2.6.ebuild b/dev-lisp/sbcl/sbcl-1.2.6.ebuild
2137 deleted file mode 100644
2138 index f11863f..0000000
2139 --- a/dev-lisp/sbcl/sbcl-1.2.6.ebuild
2140 +++ /dev/null
2141 @@ -1,211 +0,0 @@
2142 -# Copyright 1999-2015 Gentoo Foundation
2143 -# Distributed under the terms of the GNU General Public License v2
2144 -# $Id$
2145 -
2146 -EAPI=5
2147 -inherit multilib eutils flag-o-matic pax-utils
2148 -
2149 -#same order as http://www.sbcl.org/platform-table.html
2150 -BV_X86=1.0.58
2151 -BV_AMD64=1.2.6
2152 -BV_PPC=1.0.28
2153 -BV_SPARC=1.0.28
2154 -BV_ALPHA=1.0.28
2155 -
2156 -DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp"
2157 -HOMEPAGE="http://sbcl.sourceforge.net/"
2158 -SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
2159 - x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
2160 - amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
2161 - ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
2162 - sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
2163 - alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )"
2164 -
2165 -LICENSE="MIT"
2166 -SLOT="0/${PV}"
2167 -KEYWORDS="~amd64 ~ppc ~sparc ~x86"
2168 -IUSE="debug doc source +threads +unicode pax_kernel zlib"
2169 -
2170 -CDEPEND=">=dev-lisp/asdf-3.1:="
2171 -DEPEND="${CDEPEND}
2172 - doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )
2173 - pax_kernel? ( sys-apps/paxctl sys-apps/elfix )"
2174 -RDEPEND="${CDEPEND}
2175 - elibc_glibc? ( >=sys-libs/glibc-2.6 )"
2176 -
2177 -# Disable warnings about executable stacks, as this won't be fixed soon by upstream
2178 -QA_EXECSTACK="usr/bin/sbcl"
2179 -
2180 -CONFIG="${S}/customize-target-features.lisp"
2181 -ENVD="${T}/50sbcl"
2182 -
2183 -# Prevent ASDF from using the system libraries
2184 -CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)"
2185 -ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)"
2186 -
2187 -usep() {
2188 - use ${1} && echo "true" || echo "false"
2189 -}
2190 -
2191 -sbcl_feature() {
2192 - echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
2193 -}
2194 -
2195 -sbcl_apply_features() {
2196 - sed 's/^X//' > "${CONFIG}" <<-'EOF'
2197 - (lambda (list)
2198 - X (flet ((enable (x) (pushnew x list))
2199 - X (disable (x) (setf list (remove x list))))
2200 - EOF
2201 - if use x86 || use amd64; then
2202 - sbcl_feature "$(usep threads)" ":sb-thread"
2203 - fi
2204 - sbcl_feature "true" ":sb-ldb"
2205 - sbcl_feature "false" ":sb-test"
2206 - sbcl_feature "$(usep unicode)" ":sb-unicode"
2207 - sbcl_feature "$(usep zlib)" ":sb-core-compression"
2208 - sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
2209 - sed 's/^X//' >> "${CONFIG}" <<-'EOF'
2210 - X )
2211 - X list)
2212 - EOF
2213 - cat "${CONFIG}"
2214 -}
2215 -
2216 -src_unpack() {
2217 - unpack ${A}
2218 - mv sbcl-*-linux sbcl-binary || die
2219 - cd "${S}"
2220 -}
2221 -
2222 -src_prepare() {
2223 - epatch "${FILESDIR}"/gentoo-fix_install_man.patch
2224 - # bug #468482
2225 - epatch "${FILESDIR}/concurrency-test-${PV}.patch"
2226 - # bugs #486552, #527666
2227 - epatch "${FILESDIR}"/bsd-sockets-test-${PV}.patch
2228 -
2229 - # To make the hardened compiler NOT compile with -fPIE -pie
2230 - if gcc-specs-pie ; then
2231 - einfo "Disabling PIE..."
2232 - epatch "${FILESDIR}"/${PN}-1.1.17-gentoo-fix_nopie_for_hardened_toolchain.patch
2233 - fi
2234 -
2235 - # bug #526194
2236 - sed -e "s@CFLAGS =@CFLAGS = ${CFLAGS}@" \
2237 - -e "s@LINKFLAGS =@LINKFLAGS = ${LDFLAGS}@" \
2238 - -i src/runtime/GNUmakefile || die
2239 -
2240 - cp /usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
2241 -
2242 - use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
2243 -
2244 - # Some shells(such as dash) don't have "time" as builtin
2245 - # and we don't want to DEPEND on sys-process/time
2246 - sed "s,^time ,," -i make.sh || die
2247 - sed "s,/lib,/$(get_libdir),g" -i install.sh || die
2248 - # #define SBCL_HOME ...
2249 - sed "s,/usr/local/lib,/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
2250 -
2251 - find . -type f -name .cvsignore -delete
2252 -}
2253 -
2254 -src_configure() {
2255 - # customizing SBCL version as per
2256 - # http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
2257 - echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
2258 -
2259 - # applying customizations
2260 - sbcl_apply_features
2261 -}
2262 -
2263 -src_compile() {
2264 - local bindir="${WORKDIR}"/sbcl-binary
2265 -
2266 - strip-unsupported-flags ; filter-flags -fomit-frame-pointer
2267 -
2268 - if host-is-pax ; then
2269 - # To disable PaX on hardened systems
2270 - pax-mark -mr "${bindir}"/src/runtime/sbcl
2271 -
2272 - # Hack to disable PaX on second GENESIS stage
2273 - sed -i -e '/^[ \t]*echo \/\/doing warm init - compilation phase$/a\ paxmark.sh -mr \.\/src\/runtime\/sbcl' \
2274 - "${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
2275 - fi
2276 -
2277 - # clear the environment to get rid of non-ASCII strings, see bug 174702
2278 - # set HOME for paludis
2279 - env - HOME="${T}" \
2280 - CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
2281 - CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
2282 - GNUMAKE=make ./make.sh \
2283 - "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
2284 - || die "make failed"
2285 -
2286 - # need to set HOME because libpango(used by graphviz) complains about it
2287 - if use doc; then
2288 - env - HOME="${T}" \
2289 - CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
2290 - ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
2291 - make -C doc/manual info html || die "Cannot build manual"
2292 - env - HOME="${T}" \
2293 - CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
2294 - ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
2295 - make -C doc/internals info html || die "Cannot build internal docs"
2296 - fi
2297 -}
2298 -
2299 -src_test() {
2300 - ewarn "Unfortunately, it is known that some tests fail eg."
2301 - ewarn "run-program.impure.lisp. This is an issue of the upstream's"
2302 - ewarn "development and not of Gentoo's side. Please, before filing"
2303 - ewarn "any bug(s) search for older submissions. Thank you."
2304 - time ( cd tests && sh run-tests.sh )
2305 -}
2306 -
2307 -src_install() {
2308 - # install system-wide initfile
2309 - dodir /etc/
2310 - sed 's/^X//' > "${D}"/etc/sbclrc <<-EOF
2311 - ;;; The following is required if you want source location functions to
2312 - ;;; work in SLIME, for example.
2313 - X
2314 - (setf (logical-pathname-translations "SYS")
2315 - X '(("SYS:SRC;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/src/**/*.*")
2316 - X ("SYS:CONTRIB;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/**/*.*")))
2317 - X
2318 - ;;; Setup ASDF2
2319 - (load "/etc/common-lisp/gentoo-init.lisp")
2320 - EOF
2321 -
2322 - # Install documentation
2323 - unset SBCL_HOME
2324 - INSTALL_ROOT="${D}/usr" LIB_DIR="/usr/$(get_libdir)" DOC_DIR="${D}/usr/share/doc/${PF}" \
2325 - sh install.sh || die "install.sh failed"
2326 -
2327 - # rm empty directories lest paludis complain about this
2328 - find "${D}" -empty -type d -exec rmdir -v {} +
2329 -
2330 - if use doc; then
2331 - dohtml -r doc/manual/
2332 - doinfo doc/manual/*.info*
2333 - dohtml -r doc/internals/sbcl-internals
2334 - doinfo doc/internals/sbcl-internals.info
2335 - docinto internals-notes && dodoc doc/internals-notes/*
2336 - else
2337 - rm -Rv "${D}/usr/share/doc/${PF}" || die
2338 - fi
2339 -
2340 - dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO
2341 -
2342 - # install the SBCL source
2343 - if use source; then
2344 - ./clean.sh
2345 - cp -av src "${D}/usr/$(get_libdir)/sbcl/" || die
2346 - fi
2347 -
2348 - # necessary for running newly-saved images
2349 - echo "SBCL_HOME=/usr/$(get_libdir)/${PN}" > "${ENVD}"
2350 - echo "SBCL_SOURCE_ROOT=/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
2351 - doenvd "${ENVD}"
2352 -}
2353
2354 diff --git a/dev-lisp/sbcl/sbcl-1.2.7.ebuild b/dev-lisp/sbcl/sbcl-1.2.7.ebuild
2355 deleted file mode 100644
2356 index 8c7c702..0000000
2357 --- a/dev-lisp/sbcl/sbcl-1.2.7.ebuild
2358 +++ /dev/null
2359 @@ -1,233 +0,0 @@
2360 -# Copyright 1999-2015 Gentoo Foundation
2361 -# Distributed under the terms of the GNU General Public License v2
2362 -# $Id$
2363 -
2364 -EAPI=5
2365 -inherit multilib eutils flag-o-matic pax-utils
2366 -
2367 -#same order as http://www.sbcl.org/platform-table.html
2368 -BV_X86=1.2.7
2369 -BV_AMD64=1.2.7
2370 -BV_PPC=1.2.7
2371 -BV_SPARC=1.0.28
2372 -BV_ALPHA=1.0.28
2373 -BV_ARM=1.2.7
2374 -BV_PPC_MACOS=1.0.47
2375 -BV_X86_MACOS=1.1.6
2376 -BV_X64_MACOS=1.1.8
2377 -BV_SPARC_SOLARIS=1.0.23
2378 -BV_X86_SOLARIS=1.2.7
2379 -BV_X64_SOLARIS=1.2.7
2380 -
2381 -DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp"
2382 -HOMEPAGE="http://sbcl.sourceforge.net/"
2383 -SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
2384 - x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
2385 - amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
2386 - ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
2387 - sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
2388 - alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )
2389 - arm? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM}-armhf-linux-binary.tar.bz2 )
2390 - ppc-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2 )
2391 - x86-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_MACOS}-x86-darwin-binary.tar.bz2 )
2392 - x64-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_MACOS}-x86-64-darwin-binary.tar.bz2 )
2393 - sparc-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC_SOLARIS}-sparc-solaris-binary.tar.bz2 )
2394 - x86-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_SOLARIS}-x86-solaris-binary.tar.bz2 )
2395 - x64-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_SOLARIS}-x86-64-solaris-binary.tar.bz2 )"
2396 -
2397 -LICENSE="MIT"
2398 -SLOT="0/${PV}"
2399 -KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
2400 -IUSE="debug doc source +threads +unicode pax_kernel zlib"
2401 -
2402 -CDEPEND=">=dev-lisp/asdf-3.1:="
2403 -DEPEND="${CDEPEND}
2404 - doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )
2405 - pax_kernel? ( sys-apps/paxctl sys-apps/elfix )"
2406 -RDEPEND="${CDEPEND}
2407 - !prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.6 ) )"
2408 -
2409 -# Disable warnings about executable stacks, as this won't be fixed soon by upstream
2410 -QA_EXECSTACK="usr/bin/sbcl"
2411 -
2412 -CONFIG="${S}/customize-target-features.lisp"
2413 -ENVD="${T}/50sbcl"
2414 -
2415 -# Prevent ASDF from using the system libraries
2416 -CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)"
2417 -ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)"
2418 -
2419 -usep() {
2420 - use ${1} && echo "true" || echo "false"
2421 -}
2422 -
2423 -sbcl_feature() {
2424 - echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
2425 -}
2426 -
2427 -sbcl_apply_features() {
2428 - sed 's/^X//' > "${CONFIG}" <<-'EOF'
2429 - (lambda (list)
2430 - X (flet ((enable (x) (pushnew x list))
2431 - X (disable (x) (setf list (remove x list))))
2432 - EOF
2433 - if use x86 || use amd64; then
2434 - sbcl_feature "$(usep threads)" ":sb-thread"
2435 - fi
2436 - sbcl_feature "true" ":sb-ldb"
2437 - sbcl_feature "false" ":sb-test"
2438 - sbcl_feature "$(usep unicode)" ":sb-unicode"
2439 - sbcl_feature "$(usep zlib)" ":sb-core-compression"
2440 - sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
2441 - sed 's/^X//' >> "${CONFIG}" <<-'EOF'
2442 - X )
2443 - X list)
2444 - EOF
2445 - cat "${CONFIG}"
2446 -}
2447 -
2448 -src_unpack() {
2449 - unpack ${A}
2450 - mv sbcl-*-* sbcl-binary || die
2451 - cd "${S}"
2452 -}
2453 -
2454 -src_prepare() {
2455 - epatch "${FILESDIR}"/gentoo-fix_install_man.patch
2456 - # bug #468482
2457 - epatch "${FILESDIR}/concurrency-test-1.2.6.patch"
2458 - # bugs #486552, #527666
2459 - epatch "${FILESDIR}"/bsd-sockets-test-${PV}.patch
2460 -
2461 - epatch "${FILESDIR}"/${PN}-1.0.6-solaris.patch
2462 - epatch "${FILESDIR}"/${PN}-1.2.7-verbose-build.patch
2463 -
2464 - # To make the hardened compiler NOT compile with -fPIE -pie
2465 - if gcc-specs-pie ; then
2466 - einfo "Disabling PIE..."
2467 - epatch "${FILESDIR}"/${PN}-1.1.17-gentoo-fix_nopie_for_hardened_toolchain.patch
2468 - fi
2469 -
2470 - # bug #526194
2471 - sed -e "s@CFLAGS =@CFLAGS = ${CFLAGS}@" \
2472 - -e "s@LINKFLAGS =@LINKFLAGS = ${LDFLAGS}@" \
2473 - -i src/runtime/GNUmakefile || die
2474 -
2475 - sed -e "s@SBCL_PREFIX=\"/usr/local\"@SBCL_PREFIX=\"${EPREFIX}/usr\"@" \
2476 - -i make-config.sh || die
2477 -
2478 - cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
2479 -
2480 - use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
2481 -
2482 - # Some shells(such as dash) don't have "time" as builtin
2483 - # and we don't want to DEPEND on sys-process/time
2484 - sed "s,^time ,," -i make.sh || die
2485 - sed "s,/lib,/$(get_libdir),g" -i install.sh || die
2486 - # #define SBCL_HOME ...
2487 - sed "s,/usr/local/lib,${EPREFIX}/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
2488 - # change location of /etc/sbclrc ...
2489 - sed "s,/etc/sbclrc,${EPREFIX}/etc/sbclrc,g" -i src/code/toplevel.lisp || die
2490 -
2491 - find . -type f -name .cvsignore -delete
2492 -}
2493 -
2494 -src_configure() {
2495 - # customizing SBCL version as per
2496 - # http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
2497 - echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
2498 -
2499 - # applying customizations
2500 - sbcl_apply_features
2501 -}
2502 -
2503 -src_compile() {
2504 - local bindir="${WORKDIR}"/sbcl-binary
2505 -
2506 - strip-unsupported-flags ; filter-flags -fomit-frame-pointer
2507 -
2508 - if host-is-pax ; then
2509 - # To disable PaX on hardened systems
2510 - pax-mark -mr "${bindir}"/src/runtime/sbcl
2511 -
2512 - # Hack to disable PaX on second GENESIS stage
2513 - sed -i -e '/^[ \t]*echo \/\/doing warm init - compilation phase$/a\ paxmark.sh -mr \.\/src\/runtime\/sbcl' \
2514 - "${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
2515 - fi
2516 -
2517 - # clear the environment to get rid of non-ASCII strings, see bug 174702
2518 - # set HOME for paludis
2519 - env - HOME="${T}" PATH="${PATH}" \
2520 - CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
2521 - CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
2522 - GNUMAKE=make ./make.sh \
2523 - "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
2524 - || die "make failed"
2525 -
2526 - # need to set HOME because libpango(used by graphviz) complains about it
2527 - if use doc; then
2528 - env - HOME="${T}" PATH="${PATH}" \
2529 - CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
2530 - ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
2531 - make -C doc/manual info html || die "Cannot build manual"
2532 - env - HOME="${T}" PATH="${PATH}" \
2533 - CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
2534 - ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
2535 - make -C doc/internals info html || die "Cannot build internal docs"
2536 - fi
2537 -}
2538 -
2539 -src_test() {
2540 - ewarn "Unfortunately, it is known that some tests fail eg."
2541 - ewarn "run-program.impure.lisp. This is an issue of the upstream's"
2542 - ewarn "development and not of Gentoo's side. Please, before filing"
2543 - ewarn "any bug(s) search for older submissions. Thank you."
2544 - time ( cd tests && sh run-tests.sh )
2545 -}
2546 -
2547 -src_install() {
2548 - # install system-wide initfile
2549 - dodir /etc/
2550 - sed 's/^X//' > "${ED}"/etc/sbclrc <<-EOF
2551 - ;;; The following is required if you want source location functions to
2552 - ;;; work in SLIME, for example.
2553 - X
2554 - (setf (logical-pathname-translations "SYS")
2555 - X '(("SYS:SRC;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/src/**/*.*")
2556 - X ("SYS:CONTRIB;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/**/*.*")))
2557 - X
2558 - ;;; Setup ASDF2
2559 - (load "${EPREFIX}/etc/common-lisp/gentoo-init.lisp")
2560 - EOF
2561 -
2562 - # Install documentation
2563 - unset SBCL_HOME
2564 - INSTALL_ROOT="${ED}/usr" LIB_DIR="${EPREFIX}/usr/$(get_libdir)" DOC_DIR="${ED}/usr/share/doc/${PF}" \
2565 - sh install.sh || die "install.sh failed"
2566 -
2567 - # rm empty directories lest paludis complain about this
2568 - find "${ED}" -empty -type d -exec rmdir -v {} +
2569 -
2570 - if use doc; then
2571 - dohtml -r doc/manual/
2572 - doinfo doc/manual/*.info*
2573 - dohtml -r doc/internals/sbcl-internals
2574 - doinfo doc/internals/sbcl-internals.info
2575 - docinto internals-notes && dodoc doc/internals-notes/*
2576 - else
2577 - rm -Rv "${ED}/usr/share/doc/${PF}" || die
2578 - fi
2579 -
2580 - dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO
2581 -
2582 - # install the SBCL source
2583 - if use source; then
2584 - ./clean.sh
2585 - cp -av src "${ED}/usr/$(get_libdir)/sbcl/" || die
2586 - fi
2587 -
2588 - # necessary for running newly-saved images
2589 - echo "SBCL_HOME=${EPREFIX}/usr/$(get_libdir)/${PN}" > "${ENVD}"
2590 - echo "SBCL_SOURCE_ROOT=${EPREFIX}/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
2591 - doenvd "${ENVD}"
2592 -}
2593
2594 diff --git a/dev-lisp/sbcl/sbcl-1.2.9.ebuild b/dev-lisp/sbcl/sbcl-1.2.9.ebuild
2595 deleted file mode 100644
2596 index 48046f3..0000000
2597 --- a/dev-lisp/sbcl/sbcl-1.2.9.ebuild
2598 +++ /dev/null
2599 @@ -1,236 +0,0 @@
2600 -# Copyright 1999-2015 Gentoo Foundation
2601 -# Distributed under the terms of the GNU General Public License v2
2602 -# $Id$
2603 -
2604 -EAPI=5
2605 -inherit multilib eutils flag-o-matic pax-utils
2606 -
2607 -#same order as http://www.sbcl.org/platform-table.html
2608 -BV_X86=1.2.7
2609 -BV_AMD64=1.2.9
2610 -BV_PPC=1.2.7
2611 -BV_SPARC=1.0.28
2612 -BV_ALPHA=1.0.28
2613 -BV_ARM=1.2.7
2614 -BV_PPC_MACOS=1.0.47
2615 -BV_X86_MACOS=1.1.6
2616 -BV_X64_MACOS=1.1.8
2617 -BV_SPARC_SOLARIS=1.0.23
2618 -BV_X86_SOLARIS=1.2.7
2619 -BV_X64_SOLARIS=1.2.7
2620 -
2621 -DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp"
2622 -HOMEPAGE="http://sbcl.sourceforge.net/"
2623 -SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
2624 - x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
2625 - amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
2626 - ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
2627 - sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
2628 - alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )
2629 - arm? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM}-armhf-linux-binary.tar.bz2 )
2630 - ppc-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2 )
2631 - x86-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_MACOS}-x86-darwin-binary.tar.bz2 )
2632 - x64-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_MACOS}-x86-64-darwin-binary.tar.bz2 )
2633 - sparc-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC_SOLARIS}-sparc-solaris-binary.tar.bz2 )
2634 - x86-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_SOLARIS}-x86-solaris-binary.tar.bz2 )
2635 - x64-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_SOLARIS}-x86-64-solaris-binary.tar.bz2 )"
2636 -
2637 -LICENSE="MIT"
2638 -SLOT="0/${PV}"
2639 -KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
2640 -IUSE="debug doc source +threads +unicode pax_kernel zlib"
2641 -
2642 -CDEPEND=">=dev-lisp/asdf-3.1:="
2643 -DEPEND="${CDEPEND}
2644 - doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )
2645 - pax_kernel? ( sys-apps/paxctl sys-apps/elfix )"
2646 -RDEPEND="${CDEPEND}
2647 - !prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.6 ) )"
2648 -
2649 -# Disable warnings about executable stacks, as this won't be fixed soon by upstream
2650 -QA_EXECSTACK="usr/bin/sbcl"
2651 -
2652 -CONFIG="${S}/customize-target-features.lisp"
2653 -ENVD="${T}/50sbcl"
2654 -
2655 -# Prevent ASDF from using the system libraries
2656 -CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)"
2657 -ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)"
2658 -
2659 -usep() {
2660 - use ${1} && echo "true" || echo "false"
2661 -}
2662 -
2663 -sbcl_feature() {
2664 - echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
2665 -}
2666 -
2667 -sbcl_apply_features() {
2668 - sed 's/^X//' > "${CONFIG}" <<-'EOF'
2669 - (lambda (list)
2670 - X (flet ((enable (x) (pushnew x list))
2671 - X (disable (x) (setf list (remove x list))))
2672 - EOF
2673 - if use x86 || use amd64; then
2674 - sbcl_feature "$(usep threads)" ":sb-thread"
2675 - fi
2676 - sbcl_feature "true" ":sb-ldb"
2677 - sbcl_feature "false" ":sb-test"
2678 - sbcl_feature "$(usep unicode)" ":sb-unicode"
2679 - sbcl_feature "$(usep zlib)" ":sb-core-compression"
2680 - sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
2681 - sed 's/^X//' >> "${CONFIG}" <<-'EOF'
2682 - X )
2683 - X list)
2684 - EOF
2685 - cat "${CONFIG}"
2686 -}
2687 -
2688 -src_unpack() {
2689 - unpack ${A}
2690 - mv sbcl-*-* sbcl-binary || die
2691 - cd "${S}"
2692 -}
2693 -
2694 -src_prepare() {
2695 - epatch "${FILESDIR}"/gentoo-fix_install_man.patch
2696 - # bug #468482
2697 - epatch "${FILESDIR}"/concurrency-test-1.2.6.patch
2698 - # bugs #486552, #527666, #517004
2699 - epatch "${FILESDIR}"/bsd-sockets-test-1.2.9.patch
2700 -
2701 - epatch "${FILESDIR}"/${PN}-1.0.6-solaris.patch
2702 - epatch "${FILESDIR}"/${PN}-1.2.7-verbose-build.patch
2703 -
2704 - # To make the hardened compiler NOT compile with -fPIE -pie
2705 - if gcc-specs-pie ; then
2706 - einfo "Disabling PIE..."
2707 - epatch "${FILESDIR}"/${PN}-1.1.17-gentoo-fix_nopie_for_hardened_toolchain.patch
2708 - fi
2709 -
2710 - # bug #526194
2711 - sed -e "s@CFLAGS =@CFLAGS = ${CFLAGS}@" \
2712 - -e "s@LINKFLAGS =@LINKFLAGS = ${LDFLAGS}@" \
2713 - -i src/runtime/GNUmakefile || die
2714 -
2715 - sed -e "s@SBCL_PREFIX=\"/usr/local\"@SBCL_PREFIX=\"${EPREFIX}/usr\"@" \
2716 - -i make-config.sh || die
2717 -
2718 - cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
2719 -
2720 - use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
2721 -
2722 - # Some shells(such as dash) don't have "time" as builtin
2723 - # and we don't want to DEPEND on sys-process/time
2724 - sed "s,^time ,," -i make.sh || die
2725 - sed "s,/lib,/$(get_libdir),g" -i install.sh || die
2726 - # #define SBCL_HOME ...
2727 - sed "s,/usr/local/lib,${EPREFIX}/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
2728 - # change location of /etc/sbclrc ...
2729 - sed "s,/etc/sbclrc,${EPREFIX}/etc/sbclrc,g" -i src/code/toplevel.lisp || die
2730 -
2731 - find . -type f -name .cvsignore -delete
2732 -}
2733 -
2734 -src_configure() {
2735 - # customizing SBCL version as per
2736 - # http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
2737 - echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
2738 -
2739 - # applying customizations
2740 - sbcl_apply_features
2741 -}
2742 -
2743 -src_compile() {
2744 - local bindir="${WORKDIR}"/sbcl-binary
2745 -
2746 - strip-unsupported-flags ; filter-flags -fomit-frame-pointer
2747 -
2748 - if host-is-pax ; then
2749 - # To disable PaX on hardened systems
2750 - pax-mark -mr "${bindir}"/src/runtime/sbcl
2751 -
2752 - # Hack to disable PaX on second GENESIS stage
2753 - sed -i -e '/^[ \t]*echo \/\/doing warm init - compilation phase$/a\ paxmark.sh -mr \.\/src\/runtime\/sbcl' \
2754 - "${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
2755 - fi
2756 -
2757 - # clear the environment to get rid of non-ASCII strings, see bug 174702
2758 - # set HOME for paludis
2759 - env - HOME="${T}" PATH="${PATH}" \
2760 - CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
2761 - CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
2762 - GNUMAKE=make ./make.sh \
2763 - "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
2764 - || die "make failed"
2765 -
2766 - # need to set HOME because libpango(used by graphviz) complains about it
2767 - if use doc; then
2768 - env - HOME="${T}" PATH="${PATH}" \
2769 - CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
2770 - ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
2771 - make -C doc/manual info html || die "Cannot build manual"
2772 - env - HOME="${T}" PATH="${PATH}" \
2773 - CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
2774 - ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
2775 - make -C doc/internals info html || die "Cannot build internal docs"
2776 - fi
2777 -}
2778 -
2779 -src_test() {
2780 - ewarn "Unfortunately, it is known that some tests fail eg."
2781 - ewarn "run-program.impure.lisp. This is an issue of the upstream's"
2782 - ewarn "development and not of Gentoo's side. Please, before filing"
2783 - ewarn "any bug(s) search for older submissions. Thank you."
2784 - time ( cd tests && sh run-tests.sh )
2785 -}
2786 -
2787 -src_install() {
2788 - # install system-wide initfile
2789 - dodir /etc/
2790 - sed 's/^X//' > "${ED}"/etc/sbclrc <<-EOF
2791 - ;;; The following is required if you want source location functions to
2792 - ;;; work in SLIME, for example.
2793 - X
2794 - (setf (logical-pathname-translations "SYS")
2795 - X '(("SYS:SRC;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/src/**/*.*")
2796 - X ("SYS:CONTRIB;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/**/*.*")))
2797 - X
2798 - ;;; Setup ASDF2
2799 - (load "${EPREFIX}/etc/common-lisp/gentoo-init.lisp")
2800 - EOF
2801 -
2802 - # Install documentation
2803 - unset SBCL_HOME
2804 - INSTALL_ROOT="${ED}/usr" LIB_DIR="${EPREFIX}/usr/$(get_libdir)" DOC_DIR="${ED}/usr/share/doc/${PF}" \
2805 - sh install.sh || die "install.sh failed"
2806 -
2807 - # bug #517008
2808 - pax-mark -mr "${D}"/usr/bin/sbcl
2809 -
2810 - # rm empty directories lest paludis complain about this
2811 - find "${ED}" -empty -type d -exec rmdir -v {} +
2812 -
2813 - if use doc; then
2814 - dohtml -r doc/manual/
2815 - doinfo doc/manual/*.info*
2816 - dohtml -r doc/internals/sbcl-internals
2817 - doinfo doc/internals/sbcl-internals.info
2818 - docinto internals-notes && dodoc doc/internals-notes/*
2819 - else
2820 - rm -Rv "${ED}/usr/share/doc/${PF}" || die
2821 - fi
2822 -
2823 - dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO
2824 -
2825 - # install the SBCL source
2826 - if use source; then
2827 - ./clean.sh
2828 - cp -av src "${ED}/usr/$(get_libdir)/sbcl/" || die
2829 - fi
2830 -
2831 - # necessary for running newly-saved images
2832 - echo "SBCL_HOME=${EPREFIX}/usr/$(get_libdir)/${PN}" > "${ENVD}"
2833 - echo "SBCL_SOURCE_ROOT=${EPREFIX}/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
2834 - doenvd "${ENVD}"
2835 -}