parent
daeb113b50
commit
c5e3ca7841
@ -1,23 +1,23 @@
|
|||||||
-----BEGIN PGP SIGNED MESSAGE-----
|
-----BEGIN PGP SIGNED MESSAGE-----
|
||||||
Hash: SHA512
|
Hash: SHA512
|
||||||
|
|
||||||
MANIFEST Manifest.files.gz 29258 BLAKE2B 8e45344a7ffc577e268294dc0965f48b2339d394e23d2565b1e96e05da55b6b8f0a2b10886ca66ca08b051e80d21a3cd9ea11ae77766ec847eeb73373b904b10 SHA512 0be5dd6e32d34433a1e1553656a090ea485dbd2c6dfce2965b7d5274737239bd1aff3c3f7e3f394882f12af53cd551bd6592c19d8553057895a65a6676c5a3f4
|
MANIFEST Manifest.files.gz 29262 BLAKE2B a74941fe19bbf999d91a929d45b78da7c1930a7b33f63d3c1b7c271a95ab1d949f86f930db66acdeffbac18fbd360a7cf43b5708e858d571c513fed21aa968bf SHA512 f9c5766618e9f2f64258a25c5d0edec95b949855b2ea51face6fe0ed0cbe7cf638d8015b004e1650b28e052056a35d3b8e3390b4c0d5b54d0076dc3f44733164
|
||||||
TIMESTAMP 2021-03-14T07:08:34Z
|
TIMESTAMP 2021-03-14T20:38:37Z
|
||||||
-----BEGIN PGP SIGNATURE-----
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmBNtnJfFIAAAAAALgAo
|
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmBOdE1fFIAAAAAALgAo
|
||||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||||
klBm0Q/+K6gZ8YkW5Y24SKgb11r4JvrfL1sCDDxY64/gB/fFMCw/1ZpnXCwOkLa+
|
klBllQ/9FQ4Jxn5R068shnfp9mWD0cMTHkeJjPYU7doG1XFSCqn5MMwEtYWv0cYb
|
||||||
ddNX0oPJvyDye+J4dfoaki8n9JLOx9qOrcEtZ4QyGvgIKctYszs6MBCWRDk4R4mI
|
muX+l9Aw4RW6N3cHcCgyMC+Il8HT9ycrGb3WwRZi5mJCUPU0s1dTj/PDhtPJ/Eh/
|
||||||
XQTz4nJ74kU/WI/QDUCLeRdZjaD9HLHcsGdd1PStPQggPgrgaaguBX5HTPWbKWpj
|
1i+rMXE0pKt1Pp5qQ4ox9rc/jJ8UYOZYvUdgzHmYvHSawMYPiiKEDlOp1g5F/LYG
|
||||||
q/k/RpXpwHebvfAYdfC5sH0i7rwF5PW2+IHODeVZQsrH/AEawu1zTp5h++7huRUQ
|
CKYJ7lumMiTH8MishsWBM4xm4uxBoDco+9FkP6rTGcFV1bk1/IVy82F6y/z5yZrO
|
||||||
mkI1eLtBCLsp3Waw+krgS26QqoOm6lzPERGlv0lky9HcNsNoY28fESiHwlVerpiQ
|
uAPX8lqbN4iHxcKcHIPAaJPqGjVurbuJUw7SqW3ka+aLlNlpa3Fw6ECkwAdFZQmd
|
||||||
M+rb1/FAf/v6m4tOPBofNkL6oYJLRMqltyqDxW4KxNuhi0g5XUhSH/fE+RnfQrTi
|
sE/9pCcMgl/iWdEWemIKfrtcYCzprY/BjC1VgiBhn66/+6rdd5NuGDIdBUPgPfdN
|
||||||
WaKFQGTN+76RXzJ9M3b8AsoONAnmxrbLcqUO7xd6YYybSNw6D2Q9DXxGc72sS9cn
|
2QaISmydsJw+L2uHMQwa7p0M4YgGHnkZhCRFN7QB5rEi+YuCTcaioVvbU+l3hv5s
|
||||||
OOImu2/VV9eGWSLc9gjQXgrcUcUOm0ICczrfJi7SKZa/ivr19tWJST734ZpEI3WH
|
f3suq9l2Zj+6lRrXvF/Z0oipr5j3bw7A7lX7NsAsX/iVQnIJgap0ayIRObrt1PRk
|
||||||
4YflI1IJQafZOujfu7Mhp+NGhJT2S3d+ema/xslR/xI6pXbFvH6Fc0tSELPCqNbg
|
7Lc9hfI6S2ySQdSvD55TGy1NfGVO2NQIKXV1YgFiK2AExF05YMdp9PDdQ7c+Ra9K
|
||||||
LnrsLXeebYe3snNyAiD3nvxz4S8jEWyOo4tPorQuFYZaYuPSMk4cRrP+2Yv8wxUF
|
+ZvH2dQFFP3fnY5m3pPLnZuut8jC/wSIr8Rn9tw5OTIXgBrWFI27TkAbQjCjgrFF
|
||||||
RhrFKepwx2yAg3tgdW3AcR5rEZuALzaUA8Qgmdeyz9IL76TLfkw=
|
K095jgJLAMGBmbNFCXczyqEki0di1Fb6FgqhyB/QY7S1ycw0IFU=
|
||||||
=G1de
|
=YYa1
|
||||||
-----END PGP SIGNATURE-----
|
-----END PGP SIGNATURE-----
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
DIST lastpass-binary-component-4.19.0.tar.bz2 1625255 BLAKE2B 714fb34708f9dda8dbacfce8e76adf004f1cc966d685c0efbaac7b25c45068bb5595e954e554092852d575f1fedc5f318d05b121bc2ce1aa4888e4bf374f7b96 SHA512 2535d72c5b545b364dd1e91503590cafa16d3de4f4745c4f1fa236135580e2af47094e364a7f0ebde5fcfd11282ab9329ef333866a985f02a873e092aabb9b22
|
DIST lastpass-binary-component-4.67.1.tar.bz2 1625199 BLAKE2B cd9333866516a0dc43b653106224e5ef1a228c340adac93a2541d4f337b6b865c5eed043cf914a552b390d23a471ff1f21f8439d15282b77fb69dcbd6ffa01c1 SHA512 8277082fcf4cb8ef0f67903f518eb1b55fd6525373f22be0ce7d62abedef76029ef46da7c0aa32d4df3bbc0053471232390ecd69ff0572a3836e08aefee98e48
|
||||||
EBUILD lastpass-binary-component-4.19.0-r1.ebuild 3766 BLAKE2B 90037dc5e17cbe65a5e5ce69f4897cc387edc431f23b33ebedf5ff21a6ab364d59411e93dfffded7bd8a34ebe167732422bcd835440377f8a8e4d4a96f375343 SHA512 bf53793b9ff0855af319e0cf8609a077e17292bfa10f4f8ea1eeeeab8debcf777e7752e64de1fbae90ef8819c44a813b5cd23f70cd1ce7a2858966bda314e00d
|
EBUILD lastpass-binary-component-4.67.1.ebuild 3766 BLAKE2B 9ddd3ce2de5dd6765aaf269e85530a1d5c49018e5a45914036aa0008bbb65a9dddfef3ce9cd73de3bb2da76eed0d800abf155b50bffa3761cd6784278451684e SHA512 4b6726fe422f56009df365c11cbe24259b5f5c0a9aa37ad446a431ebb334002f582583eaf9a7ba8e9fcbc9d765ce627ea5a985dda54eb1cabf6e20d7d8620b10
|
||||||
MISC metadata.xml 816 BLAKE2B ea7163f64706263e360241192a07e1e12eabc6fb196e5029cec931c53dacad20a9a4d851402f8942120328aa551159e2ba340257d50a5fcc36f7a72145e13a18 SHA512 71eb5c8aa836f75a5bfed79d7398e30628a274586a019d094a114d582ae2011d148cae325eb79b67e64035822cd18f154b9626142a7b2cc4c57f1e40f2f15b6b
|
MISC metadata.xml 816 BLAKE2B ea7163f64706263e360241192a07e1e12eabc6fb196e5029cec931c53dacad20a9a4d851402f8942120328aa551159e2ba340257d50a5fcc36f7a72145e13a18 SHA512 71eb5c8aa836f75a5bfed79d7398e30628a274586a019d094a114d582ae2011d148cae325eb79b67e64035822cd18f154b9626142a7b2cc4c57f1e40f2f15b6b
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
@ -1,7 +1,7 @@
|
|||||||
AUX sudo-1.9.5_p2-NO_ROOT_MAILER_fix.patch 1929 BLAKE2B 404bd5c03b81a9bfbc3796c706fa93a64b4649c651c7859175137e1abb7f9da34f43d7f6e1ca8bca10c567114a30383571771c6390de9975a6bf55d98b0caa7a SHA512 34dd6880a90740eefd3a1bb543b3121047ea6ab8837a127c55cff92ffb7bf9225d0c6adfd88adf299458fdafaaea5351a52f14a9487c04df41aa218c6eeb6e7a
|
AUX sudo-1.9.5_p2-NO_ROOT_MAILER_fix.patch 1929 BLAKE2B 404bd5c03b81a9bfbc3796c706fa93a64b4649c651c7859175137e1abb7f9da34f43d7f6e1ca8bca10c567114a30383571771c6390de9975a6bf55d98b0caa7a SHA512 34dd6880a90740eefd3a1bb543b3121047ea6ab8837a127c55cff92ffb7bf9225d0c6adfd88adf299458fdafaaea5351a52f14a9487c04df41aa218c6eeb6e7a
|
||||||
DIST sudo-1.9.5p2.tar.gz 4012277 BLAKE2B 41913887463e4f775564af8d614fb5ed762200aa777dc789ec333842d4f432323474fc952a531fe929b33607cdfbcd18d7fe7470a15d67139deaf855841ed11f SHA512 f0fe914963c31a6f8ab6c86847ff6cdd125bd5a839b27f46dcae03963f4fc413b3d4cca54c1979feb825c8479b44c7df0642c07345c941eecf6f9f1e03ea0e27
|
DIST sudo-1.9.5p2.tar.gz 4012277 BLAKE2B 41913887463e4f775564af8d614fb5ed762200aa777dc789ec333842d4f432323474fc952a531fe929b33607cdfbcd18d7fe7470a15d67139deaf855841ed11f SHA512 f0fe914963c31a6f8ab6c86847ff6cdd125bd5a839b27f46dcae03963f4fc413b3d4cca54c1979feb825c8479b44c7df0642c07345c941eecf6f9f1e03ea0e27
|
||||||
DIST sudo-1.9.6rc1.tar.gz 4122708 BLAKE2B b6f3cee7c1b6d7c83ea83ffa38e5a27abc4add4b82c2f3481dcdef6e68bd768903341082caad77447d860da0864ab63fd1c054d2db0f55d161874f17dbd695cd SHA512 836ca8ec5b33ed59cb3192e7eacabb85afebf22b7706a917f0a4cfcb41996cbbfe709329edcbd5f55a672bd57dde73dd4eca50700b0f0bcafcc4fef969a55e38
|
DIST sudo-1.9.6.tar.gz 4118872 BLAKE2B fa3a3cb47540f6f926a292f81e4a18358e31fe11d0a63cb8560f26fc85a5e82830752f3352466a5dd67787f5e0760f035f8787bd2241034f351cb5905a98100d SHA512 16291bd7290284272efe675f8b94218540224217f03d96bbb7bcbe6c9d5b7453ff6b24fd28dcbce2fdee59cc8adb9798f4f13272bd25592abc17caa77236dfa3
|
||||||
EBUILD sudo-1.9.5_p2-r1.ebuild 7027 BLAKE2B be51bde166c512c5aacf0c5d12d6219c3cc2ac86001f8f40694b801b3da4f20fc224a10e1843fdf5046ce24a5a89de327925f5df12e3d67faae0af44216386c2 SHA512 ea65e9226819b18a92901876a2b85c42515571844c01686c6d781772fb403e13690fcb8bf39350bf95acc266b2e069e48d72eebbadc4b9ce94657ef7cb211789
|
EBUILD sudo-1.9.5_p2-r1.ebuild 7027 BLAKE2B be51bde166c512c5aacf0c5d12d6219c3cc2ac86001f8f40694b801b3da4f20fc224a10e1843fdf5046ce24a5a89de327925f5df12e3d67faae0af44216386c2 SHA512 ea65e9226819b18a92901876a2b85c42515571844c01686c6d781772fb403e13690fcb8bf39350bf95acc266b2e069e48d72eebbadc4b9ce94657ef7cb211789
|
||||||
EBUILD sudo-1.9.6_rc1.ebuild 6970 BLAKE2B 9d759027761957298bdabfdc8699b2981b605d9bbcb0ceecac146f5fdbddb4f0eb8c07821a6d7fa38a47cba423f804f85e65e4327fcf778386a53b9b25f81275 SHA512 8f5aaabff31aa6cdeab9296fe344f7b995628b14db808bef23557258880dd9d38acb5a048b2cb6c846828f2fae0e8535ba76b55010c652e8a28d07eea16e89bb
|
EBUILD sudo-1.9.6.ebuild 6970 BLAKE2B 9d759027761957298bdabfdc8699b2981b605d9bbcb0ceecac146f5fdbddb4f0eb8c07821a6d7fa38a47cba423f804f85e65e4327fcf778386a53b9b25f81275 SHA512 8f5aaabff31aa6cdeab9296fe344f7b995628b14db808bef23557258880dd9d38acb5a048b2cb6c846828f2fae0e8535ba76b55010c652e8a28d07eea16e89bb
|
||||||
EBUILD sudo-9999.ebuild 6971 BLAKE2B 88d262cb3f43386a08851576ba2f3d1f057e8249e206e5008b50c8a05fb5e5a9f0f6ee4b127b801920bae6c89c0af678c0f88a5e1af2746e80c2ec8aa63b9334 SHA512 fe4a0b610929cd352cafab8e56bf6c6a1d34f6c7803bd617b8b8acc99fc940f6fdb4eab04a34adea5fe5113d5a0e824644c3df681ba00585294329d7664565db
|
EBUILD sudo-9999.ebuild 6971 BLAKE2B 88d262cb3f43386a08851576ba2f3d1f057e8249e206e5008b50c8a05fb5e5a9f0f6ee4b127b801920bae6c89c0af678c0f88a5e1af2746e80c2ec8aa63b9334 SHA512 fe4a0b610929cd352cafab8e56bf6c6a1d34f6c7803bd617b8b8acc99fc940f6fdb4eab04a34adea5fe5113d5a0e824644c3df681ba00585294329d7664565db
|
||||||
MISC metadata.xml 1161 BLAKE2B 0c501bf06edca82993ece857f9f7565f99da15df36c916bc9dc57e78bccf2b247c382e97dd6c97cc7f5375e1a0513c1a30ecbf097516e96319fd1797257fb117 SHA512 d6bc9cf11ea1bd28c19bfe167580556af517d92c958d63cd7872ab5076840eca39a7ab3d1f56e84fc0fcfb675d7a89c23ccdd3629f665c45232be1140eb950ac
|
MISC metadata.xml 1161 BLAKE2B 0c501bf06edca82993ece857f9f7565f99da15df36c916bc9dc57e78bccf2b247c382e97dd6c97cc7f5375e1a0513c1a30ecbf097516e96319fd1797257fb117 SHA512 d6bc9cf11ea1bd28c19bfe167580556af517d92c958d63cd7872ab5076840eca39a7ab3d1f56e84fc0fcfb675d7a89c23ccdd3629f665c45232be1140eb950ac
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,12 +1,6 @@
|
|||||||
AUX README.gentoo 122 BLAKE2B 2b8d4ce5a1388adaeb694bafbacae8daf7c417f1849ed54afd834888b96a94510238c9a621077fe9c2974b0b55c2b918a8e9b5493207b2f2cee7e846bb2532e4 SHA512 6d649c051529f6cc5a748f3f63c3d2f54ecf07d0a01fe6f091b7541b53c261120db521a112ac5bc8155fc330218a72b9a82f1801918b294dea22914ec6ac4a94
|
AUX README.gentoo 122 BLAKE2B 2b8d4ce5a1388adaeb694bafbacae8daf7c417f1849ed54afd834888b96a94510238c9a621077fe9c2974b0b55c2b918a8e9b5493207b2f2cee7e846bb2532e4 SHA512 6d649c051529f6cc5a748f3f63c3d2f54ecf07d0a01fe6f091b7541b53c261120db521a112ac5bc8155fc330218a72b9a82f1801918b294dea22914ec6ac4a94
|
||||||
DIST duply_1.11.3.tgz 44198 BLAKE2B 368c8a5d145068da00fccb970188bc64574365517211d3eca253c34f820dd520777f56ebc0dfddeca2fc910558e73bf6a2adac6287422b47d5a5751d43a74b86 SHA512 5817d4571c27288b227add04e84fa0066e278cdbc819a9332cb6fa2aaf6609e923abe9824ac704fed250b961300c57ca1de945af03370287f7cbf68876513457
|
|
||||||
DIST duply_2.0.1.tgz 44914 BLAKE2B 022a99e585a6231e85af84ae161988037fecf885a2a97d078e1a64b2176268ea6ef3c68e4843a967715ff362e8f24826cd800f0c1b32c4b187f5261d2b9cad67 SHA512 28f1670f2579956cb4d0d5727403e8b9f4afcdd8ea79e117536dfb89b3f3cf6a7bc7eb802bc4dcd39fc6a443a9f8fa3fe722f2b8336186517184940ce6fa73ec
|
|
||||||
DIST duply_2.0.2.tgz 45406 BLAKE2B 46299930a2e05c5d3759e7a90a6bab8b41b28bdab95c945f1bbb5977d78cf5b72090edfb10bd69b2539c65b7c3804d45eb6b400866c6337fc4acdc283f8003e0 SHA512 2f53d380445272a2354f6914c39373e93d27fdcc5c712d7041fc798547280cebff53882f93d0467d86fc044b8a3a73a6b2fe04a9eaadae55b58bc9c617bab48a
|
|
||||||
DIST duply_2.0.3.tgz 45542 BLAKE2B 101e19712546c71af16f5988f1d1a70139414b03fa6abcf9b82b8a656a9fd7385b4c9f524eb0e62e3af1b9d0b9a494e47505f2c829d39745c8b88ce56e6608a6 SHA512 c24dd57f75ab80795d67baf8a7ab79a5ae9608c7faea0ae8b711045371ef0cba49c855cfa0610f030c1c37734775b50052fd1e4162420cb3db624f984e4e8bc1
|
|
||||||
DIST duply_2.2.2.tgz 50848 BLAKE2B d24c88c57a1a1da83827fbda3ba73249bea96de3b9503b842357182e871ac519b609d6d05d5972cd9a268354fd4d9db87d57680d478714e5f19256b70f23fa42 SHA512 2c072f3812989d2d20f9698b5a59eebe5ca8d45eda25622b9e9903748c8fa18374f8d64e0897b7587f62a6a292b277302d15c6785c6b4dd96e127162a5dae358
|
DIST duply_2.2.2.tgz 50848 BLAKE2B d24c88c57a1a1da83827fbda3ba73249bea96de3b9503b842357182e871ac519b609d6d05d5972cd9a268354fd4d9db87d57680d478714e5f19256b70f23fa42 SHA512 2c072f3812989d2d20f9698b5a59eebe5ca8d45eda25622b9e9903748c8fa18374f8d64e0897b7587f62a6a292b277302d15c6785c6b4dd96e127162a5dae358
|
||||||
EBUILD duply-1.11.3.ebuild 589 BLAKE2B a2809b3b4c11f4a29915edc004b1d117416b5551a371a4e950760bb63cdf06867b3e4d077bf4840aaa488035e94e2870225f81bc0d60b58c99d6132d5774f54f SHA512 c56bdb7d9e4d183494c0498c004fa21114a86b651336648cc5b2e0036a2d2b51acced93acdadc26b828f50a37f404446330f5671d420c4ed26c05642e5262a9f
|
DIST duply_2.3.1.tgz 51531 BLAKE2B b351d57621cc24cdacf9c0b54c107e4b9caad5da31401534f8add0ae320e5d0534fff9f97fa685f76efcc90b9e6b3a18e87a1d11b90285410cdd3375aa8b5c56 SHA512 90f6172e196667c1bf35d4b0acd5759ccfa34a1b7cacdbcf502a67689b7698fca4e4a9ce419b42b70eb57fb784a7c789e2283a8ac366bade9aec25c393548ef8
|
||||||
EBUILD duply-2.0.1.ebuild 588 BLAKE2B caa38a62e139fecdadbda7bca01d1c1cc2ae998a09dca27c18015b28e907a6a2d603f6b6437cc7e766f378d93733ee9cd98c4a3be502d3f1622ddd4ae900da38 SHA512 aff7359b9c6b4c48b6902cb3c16a18581c01e68a83b7eab89ecb091d31021c8353425ae5be197ed9034914381f884927a75b7d8386cf32e3744efbc3528ca50d
|
|
||||||
EBUILD duply-2.0.2.ebuild 588 BLAKE2B 8f02d145fb3874a9ff0b5357eb0cf8dd1f937409402fda13ef58c64c2144bbd13045760ce196fc763d2112835488334bc0ad58b632657fa65fd49ad699c6f2aa SHA512 a07e0159b0a4ccbf343964f211667f073da12772e1fff2d760453f6560746b9f6d1bc746064b73e6dc0d6e3f5b17fb9b2a1b3bd5372336e8ca7353ca796bba49
|
|
||||||
EBUILD duply-2.0.3.ebuild 588 BLAKE2B 8f02d145fb3874a9ff0b5357eb0cf8dd1f937409402fda13ef58c64c2144bbd13045760ce196fc763d2112835488334bc0ad58b632657fa65fd49ad699c6f2aa SHA512 a07e0159b0a4ccbf343964f211667f073da12772e1fff2d760453f6560746b9f6d1bc746064b73e6dc0d6e3f5b17fb9b2a1b3bd5372336e8ca7353ca796bba49
|
|
||||||
EBUILD duply-2.2.2.ebuild 522 BLAKE2B b8e653ad4fb5a3f8eb479e4702feb27ac408719a3588d060b738cb119ccf17155fc7c7108454e694c93309d785461b27212abaee09a4f485f7c82a33e0110e82 SHA512 5fdea7287f4ff925b2f49a604ff350b0da42b134c1aad53fb43cd5dee65ecac17ae1edc7faeaf67cf346ee665cd74030bc2e7ba94e9d012947c7feabd2837e06
|
EBUILD duply-2.2.2.ebuild 522 BLAKE2B b8e653ad4fb5a3f8eb479e4702feb27ac408719a3588d060b738cb119ccf17155fc7c7108454e694c93309d785461b27212abaee09a4f485f7c82a33e0110e82 SHA512 5fdea7287f4ff925b2f49a604ff350b0da42b134c1aad53fb43cd5dee65ecac17ae1edc7faeaf67cf346ee665cd74030bc2e7ba94e9d012947c7feabd2837e06
|
||||||
MISC metadata.xml 251 BLAKE2B 047dd5866af91af4be51a48a590d9a3d464494b4c0bc2705610464b91aa4ba600b3599780d597ad9ecf8d033911514c2cae5ee95013ef33fdd7391732e1b078a SHA512 a0a5c1972abfc47c2f46712a9d26e5f4f6df8899c4cc19896abaafe71d6f18268c0a969fbf34b7eecc5eced74da7e2d09aa7e1fc799b636b7981cfe1dedce7f7
|
EBUILD duply-2.3.1.ebuild 542 BLAKE2B d3cf86920042f487c9d0b1c4c10305009d89647edf0cc52bd1aea31e2187c849ef46f0b016832cebde46256f051fb08b9189c2acbacd125e7832e19c9ce4133f SHA512 f1fa98b7c17dd94371ee2e327ee6b1fabe4bc6a59bf0f6921728440132cfa621efc06f92d5158d263fb24c382418fe2e0039e97c0706c30434a6938faf0a19bd
|
||||||
|
MISC metadata.xml 444 BLAKE2B 17862bd4427c9cb990915aa0697fcd6752ebcd302ff62fc943be169acb0bba53b6cce0922b9d705faf5aef9f531c734b5412bf06b9fc7315209c5954f74cc4a5 SHA512 8a9b66c52b243cded43889cd63e83b8ef7ecbbf0afdf17595b5597028af82dce7b83eb6493e0d2d53673e5fde578247e185f6bd1aef884dfd1fe46c489e7cbae
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit readme.gentoo-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A shell frontend for duplicity"
|
|
||||||
HOMEPAGE="http://duply.net"
|
|
||||||
SRC_URI="mirror://sourceforge/project/ftplicity/duply%20%28simple%20duplicity%29/1.11.x/${PN}_${PV}.tgz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="app-text/txt2man"
|
|
||||||
RDEPEND="app-backup/duplicity"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${PN}_${PV}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin ${PN}
|
|
||||||
./${PN} txt2man > ${PN}.1 || die
|
|
||||||
doman ${PN}.1
|
|
||||||
dodoc CHANGELOG.txt
|
|
||||||
readme.gentoo_create_doc
|
|
||||||
}
|
|
@ -1,28 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit readme.gentoo-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A shell frontend for duplicity"
|
|
||||||
HOMEPAGE="http://duply.net"
|
|
||||||
SRC_URI="mirror://sourceforge/project/ftplicity/duply%20%28simple%20duplicity%29/2.0.x/${PN}_${PV}.tgz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="app-text/txt2man"
|
|
||||||
RDEPEND="app-backup/duplicity"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${PN}_${PV}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin ${PN}
|
|
||||||
./${PN} txt2man > ${PN}.1 || die
|
|
||||||
doman ${PN}.1
|
|
||||||
dodoc CHANGELOG.txt
|
|
||||||
readme.gentoo_create_doc
|
|
||||||
}
|
|
@ -1,28 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit readme.gentoo-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A shell frontend for duplicity"
|
|
||||||
HOMEPAGE="http://duply.net"
|
|
||||||
SRC_URI="mirror://sourceforge/project/ftplicity/duply%20%28simple%20duplicity%29/2.0.x/${PN}_${PV}.tgz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="app-text/txt2man"
|
|
||||||
RDEPEND="app-backup/duplicity"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${PN}_${PV}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin ${PN}
|
|
||||||
./${PN} txt2man > ${PN}.1 || die
|
|
||||||
doman ${PN}.1
|
|
||||||
dodoc CHANGELOG.txt
|
|
||||||
readme.gentoo_create_doc
|
|
||||||
}
|
|
@ -1,28 +1,24 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=6
|
EAPI=7
|
||||||
|
|
||||||
inherit readme.gentoo-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A shell frontend for duplicity"
|
DESCRIPTION="A shell frontend for duplicity"
|
||||||
HOMEPAGE="http://duply.net"
|
HOMEPAGE="https://duply.net"
|
||||||
SRC_URI="mirror://sourceforge/project/ftplicity/duply%20%28simple%20duplicity%29/2.0.x/${PN}_${PV}.tgz"
|
SRC_URI="https://jztkft.dl.sourceforge.net/project/ftplicity/${PN}%20%28simple%20duplicity%29/2.3.x/${PN}_${PV}.tgz"
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~x86"
|
KEYWORDS="~amd64 ~x86"
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="app-text/txt2man"
|
BDEPEND="app-text/txt2man"
|
||||||
RDEPEND="app-backup/duplicity"
|
RDEPEND="app-backup/duplicity"
|
||||||
|
|
||||||
S=${WORKDIR}/${PN}_${PV}
|
S="${WORKDIR}/${PN}_${PV}"
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
dobin ${PN}
|
dobin ${PN}
|
||||||
./${PN} txt2man > ${PN}.1 || die
|
./${PN} txt2man > ${PN}.1 || die
|
||||||
doman ${PN}.1
|
doman ${PN}.1
|
||||||
dodoc CHANGELOG.txt
|
dodoc CHANGELOG.txt
|
||||||
readme.gentoo_create_doc
|
|
||||||
}
|
}
|
@ -1,8 +1,15 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<!-- maintainer-needed -->
|
<maintainer type="person">
|
||||||
<upstream>
|
<email>marco@scardovi.com</email>
|
||||||
<remote-id type="sourceforge">ftplicity</remote-id>
|
<name>Marco Scardovi</name>
|
||||||
</upstream>
|
</maintainer>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="sourceforge">ftplicity</remote-id>
|
||||||
|
</upstream>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
Binary file not shown.
@ -1,6 +1,4 @@
|
|||||||
AUX veracrypt.init 384 BLAKE2B 0325852e3bb9d8427298c46b0e7caefb1f62d957a158c8a6f898c6609c0363449ef5f48c9cd5a1092efbd9d2e1077a6218bdbebacebde936afc40ec3bfd0b3eb SHA512 574b18b7cbc5f4ea71bb35ec3343af5bdcc7848801decf3b93157bc4fde44ca5daec01847e3ff9f3a638b297f33023ea46a0ada5cc64bab0d14cbe12b93b66ed
|
AUX veracrypt.init 384 BLAKE2B 0325852e3bb9d8427298c46b0e7caefb1f62d957a158c8a6f898c6609c0363449ef5f48c9cd5a1092efbd9d2e1077a6218bdbebacebde936afc40ec3bfd0b3eb SHA512 574b18b7cbc5f4ea71bb35ec3343af5bdcc7848801decf3b93157bc4fde44ca5daec01847e3ff9f3a638b297f33023ea46a0ada5cc64bab0d14cbe12b93b66ed
|
||||||
DIST veracrypt-1.24_p7.tar.gz 25113248 BLAKE2B 8ead3325ce6fadf4ca8211ea45daaa82a655f29006f224235f44200839289d42fabe84da2e731fc6a169a7d157535c719b2cd9294524e68532c0065e41ed733c SHA512 d149736d4d6740a89bfce892f44757600c6411776b471a208a75b4573bbc6125535ef1b68c2f55903ff82f4d0fff13b8b07d3cf15c7a301c39158aefffc29e17
|
|
||||||
DIST veracrypt-1.24_p8.tar.gz 25116825 BLAKE2B fccab3e7de7637f6f3a7f448a9dcc6671198ea6155e8f6741844c5bd844819c639f968e4cc6e13c274c90f2ba8e540a020b98cb12617a109d5911ce8dd9cb991 SHA512 16139d055e2b2dda6c38ecf156cf5d15cd4788253fe0c85e42050eafd8afbd5c5908e590e53a7b5220767ebbb3b9e81d0049a910b322e42f1c29d2c131bd29d0
|
DIST veracrypt-1.24_p8.tar.gz 25116825 BLAKE2B fccab3e7de7637f6f3a7f448a9dcc6671198ea6155e8f6741844c5bd844819c639f968e4cc6e13c274c90f2ba8e540a020b98cb12617a109d5911ce8dd9cb991 SHA512 16139d055e2b2dda6c38ecf156cf5d15cd4788253fe0c85e42050eafd8afbd5c5908e590e53a7b5220767ebbb3b9e81d0049a910b322e42f1c29d2c131bd29d0
|
||||||
EBUILD veracrypt-1.24_p7.ebuild 2538 BLAKE2B 5860c80d59157f5eb10a6017d837a7eaaf746aba035760b3d4a03bfa00f53fed9b62e83c706ff729a7c873c71cf80ef32eba7269b75c9a9ea5d4d3eb14e20094 SHA512 ecb74dbd33d71828558fab05e246cd7d2bda552f3b9998ecd97b5259a3cee54fb8fb3fcf1b75399fbd41c3d308e91d3f188795baffb7f5284561e9bd3a0856e4
|
|
||||||
EBUILD veracrypt-1.24_p8.ebuild 2545 BLAKE2B 9bce35c540f25e5e010443fc849b99e409e47b57a572a1bf69c17ec24974cddcffa676f5b2f69c6c26d2ffda4109d3051a599738d9b1290eecf8b4dee0743527 SHA512 4f47cc599a13183c2d18a0927900f429c5a49a03e2227a32654880e7be22919d7795e480f9b2595220aa8410c804a5720fd3dd39d710ad5fb6cb5974d93c17ef
|
EBUILD veracrypt-1.24_p8.ebuild 2545 BLAKE2B 9bce35c540f25e5e010443fc849b99e409e47b57a572a1bf69c17ec24974cddcffa676f5b2f69c6c26d2ffda4109d3051a599738d9b1290eecf8b4dee0743527 SHA512 4f47cc599a13183c2d18a0927900f429c5a49a03e2227a32654880e7be22919d7795e480f9b2595220aa8410c804a5720fd3dd39d710ad5fb6cb5974d93c17ef
|
||||||
MISC metadata.xml 399 BLAKE2B a7d22abada8009869e82b80f8b2274e1acc2fb1488d584c9d730f231057519404445a0d048ad70a47f7d946bc987f836fdfd87da296537a307e234175e521acc SHA512 ac0676510d8d2ac2430dd244ed5e4d18de1cbb7050563fcdd46fc8511c9813dc3609565a6c071f75d9cd26e73c1f453cc8cf9b9b47e0822bd93548a8baaf62ca
|
MISC metadata.xml 399 BLAKE2B a7d22abada8009869e82b80f8b2274e1acc2fb1488d584c9d730f231057519404445a0d048ad70a47f7d946bc987f836fdfd87da296537a307e234175e521acc SHA512 ac0676510d8d2ac2430dd244ed5e4d18de1cbb7050563fcdd46fc8511c9813dc3609565a6c071f75d9cd26e73c1f453cc8cf9b9b47e0822bd93548a8baaf62ca
|
||||||
|
@ -1,101 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
inherit desktop eapi7-ver linux-info pax-utils toolchain-funcs wxwidgets
|
|
||||||
|
|
||||||
MY_PV="$(ver_cut 1-2)-Update$(ver_cut 4)"
|
|
||||||
DESCRIPTION="Disk encryption with strong security based on TrueCrypt"
|
|
||||||
HOMEPAGE="https://www.veracrypt.fr/en/Home.html"
|
|
||||||
SRC_URI="https://github.com/${PN}/VeraCrypt/archive/VeraCrypt_${MY_PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
# The modules not linked against in Linux include (but not limited to):
|
|
||||||
# libzip, chacha-xmm, chacha256, chachaRng, rdrand, t1ha2
|
|
||||||
# Tested by actually removing the source files and performing a build
|
|
||||||
# For this reason, we don't have to worry about their licenses
|
|
||||||
LICENSE="Apache-2.0 BSD truecrypt-3.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64"
|
|
||||||
IUSE="+asm cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_ssse3 doc X"
|
|
||||||
RESTRICT="bindist mirror"
|
|
||||||
|
|
||||||
WX_GTK_VER="3.0-gtk3"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
sys-fs/lvm2
|
|
||||||
sys-fs/fuse:0
|
|
||||||
x11-libs/wxGTK:${WX_GTK_VER}[X?]
|
|
||||||
app-admin/sudo
|
|
||||||
dev-libs/pkcs11-helper
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
virtual/pkgconfig
|
|
||||||
asm? ( dev-lang/yasm )
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}/VeraCrypt-VeraCrypt_${MY_PV}/src"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
local CONFIG_CHECK="~BLK_DEV_DM ~CRYPTO ~CRYPTO_XTS ~DM_CRYPT ~FUSE_FS"
|
|
||||||
linux-info_pkg_setup
|
|
||||||
|
|
||||||
setup-wxwidgets
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
local myemakeargs=(
|
|
||||||
NOSTRIP=1
|
|
||||||
NOTEST=1
|
|
||||||
VERBOSE=1
|
|
||||||
CC="$(tc-getCC)"
|
|
||||||
CXX="$(tc-getCXX)"
|
|
||||||
AR="$(tc-getAR)"
|
|
||||||
RANLIB="$(tc-getRANLIB)"
|
|
||||||
TC_EXTRA_CFLAGS="${CFLAGS}"
|
|
||||||
TC_EXTRA_CXXFLAGS="${CXXFLAGS}"
|
|
||||||
TC_EXTRA_LFLAGS="${LDFLAGS}"
|
|
||||||
WX_CONFIG="${WX_CONFIG}"
|
|
||||||
$(usex X "" "NOGUI=1")
|
|
||||||
$(usex asm "" "NOASM=1")
|
|
||||||
$(usex cpu_flags_x86_sse2 "" "NOSSE2=1")
|
|
||||||
$(usex cpu_flags_x86_sse4_1 "SSE41=1" "")
|
|
||||||
$(usex cpu_flags_x86_ssse3 "SSSE3=1" "")
|
|
||||||
)
|
|
||||||
|
|
||||||
emake "${myemakeargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
"${S}/Main/veracrypt" --text --test || die "tests failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local DOCS=( Readme.txt )
|
|
||||||
local HTML_DOCS=( )
|
|
||||||
|
|
||||||
dobin Main/veracrypt
|
|
||||||
if use doc; then
|
|
||||||
DOCS+=( "${S}"/../doc/EFI-DCS )
|
|
||||||
docompress -x "/usr/share/doc/${PF}/EFI-DCS"
|
|
||||||
HTML_DOCS+=( "${S}"/../doc/html/. )
|
|
||||||
fi
|
|
||||||
einstalldocs
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}/${PN}.init" ${PN}
|
|
||||||
|
|
||||||
if use X; then
|
|
||||||
local s
|
|
||||||
for s in 16 48 128 256; do
|
|
||||||
newicon -s ${s} Resources/Icons/VeraCrypt-${s}x${s}.xpm veracrypt.xpm
|
|
||||||
done
|
|
||||||
make_desktop_entry ${PN} "VeraCrypt" ${PN} "Utility;Security"
|
|
||||||
fi
|
|
||||||
|
|
||||||
pax-mark -m "${D%/}/usr/bin/veracrypt"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
ewarn "VeraCrypt has a very restrictive license. Please be explicitly aware"
|
|
||||||
ewarn "of the limitations on redistribution of binaries or modified source."
|
|
||||||
}
|
|
@ -1,3 +1,5 @@
|
|||||||
DIST yubikey-manager-3.1.1.tar.gz 116632 BLAKE2B 252c419280143fa6f44daf3de8ec27bbdc3218e4552e39799e1daca5b46939c4042ae1d43abeab110fe1abaf2e87d94c270442ee6fce05e26927add5b34e9f66 SHA512 8229d5442ddf89fe90abb0153aa005cb0d149a84634b994dc283f7cbac2f72d4b913c238c277c6aa07f431aed8905008aeb11e594e730be71c9ca88150a6ef68
|
DIST yubikey-manager-3.1.2.tar.gz 116728 BLAKE2B 35b592a26bbe1c2a1c81ddbc5fd5de2693b01dbadd04dd317baa14e5f9c5556ff8622bc36e31983947b4eed272be16d8ae1d55c6e30fe5532c20605c784411c5 SHA512 e7ad46536fae0476ae7ea4d7115ba9ddb0fe158fcd1e1d548524860b2033996f5487f9c948df85586d5b7ea690b51ad8d5b43261a56aa8820940226e0b18acaa
|
||||||
EBUILD yubikey-manager-3.1.1-r1.ebuild 1460 BLAKE2B 96288c87b479695b709e6db3c0cae37e4c6db7b22976b742ee432d54a288b17534103598e03eb5cb8e86f6bccad630f0dacb292a6514c07da4b0575e04975243 SHA512 94a4e4bcdbe60ba0575c420aad79a0a98ae8446d280b8c59efa6b3ff38677e6540b6ad6dc29c60c078e1692f9647033879bbe874b153bc2cd175d9b4ac706b7d
|
DIST yubikey-manager-4.0.0.tar.gz 137438 BLAKE2B df50113ed46c531032785ceb95ee130a2440f88677b088f70095545528cbceff55db483bc299654beb8d78b3cea94a9c8507751a090a8488cc609680167ec8d7 SHA512 f1684122a9ee8d57fa3644ecf140e39973c822dfcb7cc1d6578a2ef9b09ff9b0078e6e4ab3f0eb6522a08703d095027f9f24bc8ca6fff8b6874f7a9b5e99f1b2
|
||||||
|
EBUILD yubikey-manager-3.1.2.ebuild 1460 BLAKE2B 245167a792b93078529190fbfbd45bef1c80fc4d1fcf8ce0e6e72e9a2fef4c317708e5c1433dc6bf585e6821aa21511268e7e1191860b329961e1a8863c0a994 SHA512 19b3084bcf54261aaf1537ec8d13721aa5eb1701375c749428f1ff23cf6c586cd94faf9a45fdd6565c2fd8843af9858741c3a19ac3fb9abef67aca66ea178157
|
||||||
|
EBUILD yubikey-manager-4.0.0.ebuild 1324 BLAKE2B f15e7265610bbff0ad64940db32e8455893c67382f81c1b5f1e918a279fb409cfbe9392314850383f5e353fbc29d7e6fe1514c0826775becb1e34749b3c25ca3 SHA512 b215021993fa42925c730c84a66e04b502cb2afd5a4c7a152f337e778c01dc2e1bb26f5071e4ff8ebf4c8acde5ac60ab4dba3b20136a9194b89d88f965ceab85
|
||||||
MISC metadata.xml 466 BLAKE2B 258688bf55e0d7d5d13a45996c2177d2154626a75ffd0c5b39cbc5c3f83979a00ec1d9a993870c00785d0e1d02cdeb1dadfa38f39d91b5992c5b495f644c6253 SHA512 6355c94235c5a7a9dbe37fb954d7de5807bbd48d62921f819da7ac1c56f0214820cbf74b2f91311573f8a1726b05960d944b536fbf0e0f27fe49a5aa0a827e1b
|
MISC metadata.xml 466 BLAKE2B 258688bf55e0d7d5d13a45996c2177d2154626a75ffd0c5b39cbc5c3f83979a00ec1d9a993870c00785d0e1d02cdeb1dadfa38f39d91b5992c5b495f644c6253 SHA512 6355c94235c5a7a9dbe37fb954d7de5807bbd48d62921f819da7ac1c56f0214820cbf74b2f91311573f8a1726b05960d944b536fbf0e0f27fe49a5aa0a827e1b
|
||||||
|
@ -0,0 +1,50 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
|
||||||
|
inherit readme.gentoo-r1 distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Python library and command line tool for configuring a YubiKey"
|
||||||
|
HOMEPAGE="https://developers.yubico.com/yubikey-manager/"
|
||||||
|
# Per https://github.com/Yubico/yubikey-manager/issues/217, Yubico is
|
||||||
|
# the official source for tarballs, not Github
|
||||||
|
SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
RESTRICT="test" # Tests require non-existing package makefun
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/click[${PYTHON_USEDEP}]
|
||||||
|
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||||
|
dev-python/fido2:0/0.9[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyscard[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
local DOC_CONTENTS
|
||||||
|
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
|
||||||
|
DOC_CONTENTS="
|
||||||
|
The 'openpgp' command may require the package 'app-crypt/ccid'
|
||||||
|
to be installed on the system. Furthermore, make sure that pcscd
|
||||||
|
daemon is running and has correct access permissions to USB
|
||||||
|
devices.
|
||||||
|
"
|
||||||
|
readme.gentoo_create_doc
|
||||||
|
|
||||||
|
doman "${S}"/man/ykman.1
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
readme.gentoo_print_elog
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,12 +0,0 @@
|
|||||||
diff --git a/Makefile b/Makefile
|
|
||||||
index 04a0d450..e0013a59 100644
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -803,6 +802,7 @@
|
|
||||||
$(call install-prog,$(HELPERS-y),$(DESTDIR)$(libexecdir))
|
|
||||||
endif
|
|
||||||
ifdef CONFIG_TRACE_SYSTEMTAP
|
|
||||||
+ mkdir -p $(DESTDIR)$(bindir)
|
|
||||||
$(INSTALL_PROG) "scripts/qemu-trace-stap" $(DESTDIR)$(bindir)
|
|
||||||
endif
|
|
||||||
ifneq ($(BLOBS),)
|
|
@ -1,16 +0,0 @@
|
|||||||
diff --git i/configure w/configure
|
|
||||||
index a72a5def57..546d757603 100755
|
|
||||||
--- i/configure
|
|
||||||
+++ w/configure
|
|
||||||
@@ -6093,10 +6093,6 @@ write_c_skeleton
|
|
||||||
if test "$gcov" = "yes" ; then
|
|
||||||
QEMU_CFLAGS="-fprofile-arcs -ftest-coverage -g $QEMU_CFLAGS"
|
|
||||||
QEMU_LDFLAGS="-fprofile-arcs -ftest-coverage $QEMU_LDFLAGS"
|
|
||||||
-elif test "$fortify_source" = "yes" ; then
|
|
||||||
- CFLAGS="-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $CFLAGS"
|
|
||||||
-elif test "$debug" = "no"; then
|
|
||||||
- CFLAGS="-O2 $CFLAGS"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$have_asan" = "yes"; then
|
|
||||||
|
|
@ -1,62 +0,0 @@
|
|||||||
https://bugs.gentoo.org/735146
|
|
||||||
|
|
||||||
From 4fd46e6cdd976f4aecdc3fbbad728e00a7bc4ee0 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Rafael Kitover <rkitover@gmail.com>
|
|
||||||
Date: Thu, 13 Aug 2020 20:19:24 +0000
|
|
||||||
Subject: [PATCH] configure: Require pixman for vhost-user-gpu.
|
|
||||||
|
|
||||||
Use the test from Makefile to check if vhost-user-gpu is being built,
|
|
||||||
and if so require pixman.
|
|
||||||
|
|
||||||
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
|
|
||||||
---
|
|
||||||
configure | 28 ++++++++++++++--------------
|
|
||||||
1 file changed, 14 insertions(+), 14 deletions(-)
|
|
||||||
|
|
||||||
--- a/configure
|
|
||||||
+++ b/configure
|
|
||||||
@@ -4062,20 +4062,6 @@ if test "$modules" = yes; then
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
-##########################################
|
|
||||||
-# pixman support probe
|
|
||||||
-
|
|
||||||
-if test "$softmmu" = "no"; then
|
|
||||||
- pixman_cflags=
|
|
||||||
- pixman_libs=
|
|
||||||
-elif $pkg_config --atleast-version=0.21.8 pixman-1 > /dev/null 2>&1; then
|
|
||||||
- pixman_cflags=$($pkg_config --cflags pixman-1)
|
|
||||||
- pixman_libs=$($pkg_config --libs pixman-1)
|
|
||||||
-else
|
|
||||||
- error_exit "pixman >= 0.21.8 not present." \
|
|
||||||
- "Please install the pixman devel package."
|
|
||||||
-fi
|
|
||||||
-
|
|
||||||
##########################################
|
|
||||||
# libmpathpersist probe
|
|
||||||
|
|
||||||
@@ -4491,6 +4477,20 @@ if test "$opengl" = "yes" && test "$have_x11" = "yes"; then
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
+##########################################
|
|
||||||
+# pixman support probe
|
|
||||||
+
|
|
||||||
+if test "$softmmu" = "no" && ! test "${linux} ${virglrenderer} ${gbm} ${want_tools}" = "yes yes yes yes"; then
|
|
||||||
+ pixman_cflags=
|
|
||||||
+ pixman_libs=
|
|
||||||
+elif $pkg_config --atleast-version=0.21.8 pixman-1 > /dev/null 2>&1; then
|
|
||||||
+ pixman_cflags=$($pkg_config --cflags pixman-1)
|
|
||||||
+ pixman_libs=$($pkg_config --libs pixman-1)
|
|
||||||
+else
|
|
||||||
+ error_exit "pixman >= 0.21.8 not present." \
|
|
||||||
+ "Please install the pixman devel package."
|
|
||||||
+fi
|
|
||||||
+
|
|
||||||
##########################################
|
|
||||||
# libxml2 probe
|
|
||||||
if test "$libxml2" != "no" ; then
|
|
||||||
--
|
|
||||||
2.28.0
|
|
||||||
|
|
@ -1,82 +0,0 @@
|
|||||||
From 202d69a715a4b1824dcd7ec1683d027ed2bae6d3 Mon Sep 17 00:00:00 2001
|
|
||||||
Message-Id: <202d69a715a4b1824dcd7ec1683d027ed2bae6d3.1606202550.git.mprivozn@redhat.com>
|
|
||||||
From: Gerd Hoffmann <kraxel@redhat.com>
|
|
||||||
Date: Mon, 24 Aug 2020 13:00:57 +0200
|
|
||||||
Subject: [PATCH] usb-host: workaround libusb bug
|
|
||||||
|
|
||||||
libusb_get_device_speed() does not work for
|
|
||||||
libusb_wrap_sys_device() devices in v1.0.23.
|
|
||||||
|
|
||||||
Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1871090
|
|
||||||
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
||||||
Message-id: 20200824110057.32089-1-kraxel@redhat.com
|
|
||||||
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
|
|
||||||
---
|
|
||||||
hw/usb/host-libusb.c | 37 ++++++++++++++++++++++++++++++++++++-
|
|
||||||
1 file changed, 36 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/hw/usb/host-libusb.c b/hw/usb/host-libusb.c
|
|
||||||
index c474551d84..08604f787f 100644
|
|
||||||
--- a/hw/usb/host-libusb.c
|
|
||||||
+++ b/hw/usb/host-libusb.c
|
|
||||||
@@ -39,6 +39,11 @@
|
|
||||||
#endif
|
|
||||||
#include <libusb.h>
|
|
||||||
|
|
||||||
+#ifdef CONFIG_LINUX
|
|
||||||
+#include <sys/ioctl.h>
|
|
||||||
+#include <linux/usbdevice_fs.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "qapi/error.h"
|
|
||||||
#include "migration/vmstate.h"
|
|
||||||
#include "monitor/monitor.h"
|
|
||||||
@@ -885,6 +890,7 @@ static void usb_host_ep_update(USBHostDevice *s)
|
|
||||||
static int usb_host_open(USBHostDevice *s, libusb_device *dev, int hostfd)
|
|
||||||
{
|
|
||||||
USBDevice *udev = USB_DEVICE(s);
|
|
||||||
+ int libusb_speed;
|
|
||||||
int bus_num = 0;
|
|
||||||
int addr = 0;
|
|
||||||
int rc;
|
|
||||||
@@ -935,7 +941,36 @@ static int usb_host_open(USBHostDevice *s, libusb_device *dev, int hostfd)
|
|
||||||
usb_ep_init(udev);
|
|
||||||
usb_host_ep_update(s);
|
|
||||||
|
|
||||||
- udev->speed = speed_map[libusb_get_device_speed(dev)];
|
|
||||||
+ libusb_speed = libusb_get_device_speed(dev);
|
|
||||||
+#ifdef CONFIG_LINUX
|
|
||||||
+ if (hostfd && libusb_speed == 0) {
|
|
||||||
+ /*
|
|
||||||
+ * Workaround libusb bug: libusb_get_device_speed() does not
|
|
||||||
+ * work for libusb_wrap_sys_device() devices in v1.0.23.
|
|
||||||
+ *
|
|
||||||
+ * Speeds are defined in linux/usb/ch9.h, file not included
|
|
||||||
+ * due to name conflicts.
|
|
||||||
+ */
|
|
||||||
+ int rc = ioctl(hostfd, USBDEVFS_GET_SPEED, NULL);
|
|
||||||
+ switch (rc) {
|
|
||||||
+ case 1: /* low */
|
|
||||||
+ libusb_speed = LIBUSB_SPEED_LOW;
|
|
||||||
+ break;
|
|
||||||
+ case 2: /* full */
|
|
||||||
+ libusb_speed = LIBUSB_SPEED_FULL;
|
|
||||||
+ break;
|
|
||||||
+ case 3: /* high */
|
|
||||||
+ case 4: /* wireless */
|
|
||||||
+ libusb_speed = LIBUSB_SPEED_HIGH;
|
|
||||||
+ break;
|
|
||||||
+ case 5: /* super */
|
|
||||||
+ case 6: /* super plus */
|
|
||||||
+ libusb_speed = LIBUSB_SPEED_SUPER;
|
|
||||||
+ break;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+#endif
|
|
||||||
+ udev->speed = speed_map[libusb_speed];
|
|
||||||
usb_host_speed_compat(s);
|
|
||||||
|
|
||||||
if (s->ddesc.iProduct) {
|
|
||||||
--
|
|
||||||
2.26.2
|
|
||||||
|
|
@ -1,90 +0,0 @@
|
|||||||
https://bugs.gentoo.org/743649
|
|
||||||
|
|
||||||
From b946434f2659a182afc17e155be6791ebfb302eb Mon Sep 17 00:00:00 2001
|
|
||||||
From: Gerd Hoffmann <kraxel@redhat.com>
|
|
||||||
Date: Tue, 25 Aug 2020 07:36:36 +0200
|
|
||||||
Subject: [PATCH] usb: fix setup_len init (CVE-2020-14364)
|
|
||||||
|
|
||||||
Store calculated setup_len in a local variable, verify it, and only
|
|
||||||
write it to the struct (USBDevice->setup_len) in case it passed the
|
|
||||||
sanity checks.
|
|
||||||
|
|
||||||
This prevents other code (do_token_{in,out} functions specifically)
|
|
||||||
from working with invalid USBDevice->setup_len values and overrunning
|
|
||||||
the USBDevice->setup_buf[] buffer.
|
|
||||||
|
|
||||||
Fixes: CVE-2020-14364
|
|
||||||
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
||||||
Tested-by: Gonglei <arei.gonglei@huawei.com>
|
|
||||||
Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
|
||||||
Message-id: 20200825053636.29648-1-kraxel@redhat.com
|
|
||||||
---
|
|
||||||
hw/usb/core.c | 16 ++++++++++------
|
|
||||||
1 file changed, 10 insertions(+), 6 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/hw/usb/core.c b/hw/usb/core.c
|
|
||||||
index 5abd128b6b..5234dcc73f 100644
|
|
||||||
--- a/hw/usb/core.c
|
|
||||||
+++ b/hw/usb/core.c
|
|
||||||
@@ -129,6 +129,7 @@ void usb_wakeup(USBEndpoint *ep, unsigned int stream)
|
|
||||||
static void do_token_setup(USBDevice *s, USBPacket *p)
|
|
||||||
{
|
|
||||||
int request, value, index;
|
|
||||||
+ unsigned int setup_len;
|
|
||||||
|
|
||||||
if (p->iov.size != 8) {
|
|
||||||
p->status = USB_RET_STALL;
|
|
||||||
@@ -138,14 +139,15 @@ static void do_token_setup(USBDevice *s, USBPacket *p)
|
|
||||||
usb_packet_copy(p, s->setup_buf, p->iov.size);
|
|
||||||
s->setup_index = 0;
|
|
||||||
p->actual_length = 0;
|
|
||||||
- s->setup_len = (s->setup_buf[7] << 8) | s->setup_buf[6];
|
|
||||||
- if (s->setup_len > sizeof(s->data_buf)) {
|
|
||||||
+ setup_len = (s->setup_buf[7] << 8) | s->setup_buf[6];
|
|
||||||
+ if (setup_len > sizeof(s->data_buf)) {
|
|
||||||
fprintf(stderr,
|
|
||||||
"usb_generic_handle_packet: ctrl buffer too small (%d > %zu)\n",
|
|
||||||
- s->setup_len, sizeof(s->data_buf));
|
|
||||||
+ setup_len, sizeof(s->data_buf));
|
|
||||||
p->status = USB_RET_STALL;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
+ s->setup_len = setup_len;
|
|
||||||
|
|
||||||
request = (s->setup_buf[0] << 8) | s->setup_buf[1];
|
|
||||||
value = (s->setup_buf[3] << 8) | s->setup_buf[2];
|
|
||||||
@@ -259,26 +261,28 @@ static void do_token_out(USBDevice *s, USBPacket *p)
|
|
||||||
static void do_parameter(USBDevice *s, USBPacket *p)
|
|
||||||
{
|
|
||||||
int i, request, value, index;
|
|
||||||
+ unsigned int setup_len;
|
|
||||||
|
|
||||||
for (i = 0; i < 8; i++) {
|
|
||||||
s->setup_buf[i] = p->parameter >> (i*8);
|
|
||||||
}
|
|
||||||
|
|
||||||
s->setup_state = SETUP_STATE_PARAM;
|
|
||||||
- s->setup_len = (s->setup_buf[7] << 8) | s->setup_buf[6];
|
|
||||||
s->setup_index = 0;
|
|
||||||
|
|
||||||
request = (s->setup_buf[0] << 8) | s->setup_buf[1];
|
|
||||||
value = (s->setup_buf[3] << 8) | s->setup_buf[2];
|
|
||||||
index = (s->setup_buf[5] << 8) | s->setup_buf[4];
|
|
||||||
|
|
||||||
- if (s->setup_len > sizeof(s->data_buf)) {
|
|
||||||
+ setup_len = (s->setup_buf[7] << 8) | s->setup_buf[6];
|
|
||||||
+ if (setup_len > sizeof(s->data_buf)) {
|
|
||||||
fprintf(stderr,
|
|
||||||
"usb_generic_handle_packet: ctrl buffer too small (%d > %zu)\n",
|
|
||||||
- s->setup_len, sizeof(s->data_buf));
|
|
||||||
+ setup_len, sizeof(s->data_buf));
|
|
||||||
p->status = USB_RET_STALL;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
+ s->setup_len = setup_len;
|
|
||||||
|
|
||||||
if (p->pid == USB_TOKEN_OUT) {
|
|
||||||
usb_packet_copy(p, s->data_buf, s->setup_len);
|
|
||||||
--
|
|
||||||
2.28.0
|
|
||||||
|
|
Binary file not shown.
@ -1,4 +1,5 @@
|
|||||||
AUX lynis.cron-new 72 BLAKE2B 1f2d683c74e9e85f142c23277f24e8c81b33e4d1691a6f171694194bd5d81a5e1473532afe2c6fca23c995d9c7bd08d18d6eed78a07661618c12e22b35e9ff81 SHA512 1cdaaee433912c2ccdec8ad7c9b88be55fe3f1d68e2fca79cc6e0e10112d465a70cfbe0a049623437f604bfc9793e0d29b709e035cbf710d4d38ba48acc5355f
|
AUX lynis.cron-new 72 BLAKE2B 1f2d683c74e9e85f142c23277f24e8c81b33e4d1691a6f171694194bd5d81a5e1473532afe2c6fca23c995d9c7bd08d18d6eed78a07661618c12e22b35e9ff81 SHA512 1cdaaee433912c2ccdec8ad7c9b88be55fe3f1d68e2fca79cc6e0e10112d465a70cfbe0a049623437f604bfc9793e0d29b709e035cbf710d4d38ba48acc5355f
|
||||||
DIST lynis-3.0.3.tar.gz 331182 BLAKE2B 7b424da8726e474992bcf6b13b6b82b48568b2d1f4268d0cb57f11560c4edbcd60d009c67fd333445392a184f1dbe38a55fde7cb7456498f89c451bc51ba3e8f SHA512 850f832fd45a2e440973c414f2c98caf3add1666573f60ea70bf36f57dbf3ac1b354632f09271b34f85eba25079e564d758e237dcded743a132da771c5bce151
|
DIST lynis-3.0.3.tar.gz 331182 BLAKE2B 7b424da8726e474992bcf6b13b6b82b48568b2d1f4268d0cb57f11560c4edbcd60d009c67fd333445392a184f1dbe38a55fde7cb7456498f89c451bc51ba3e8f SHA512 850f832fd45a2e440973c414f2c98caf3add1666573f60ea70bf36f57dbf3ac1b354632f09271b34f85eba25079e564d758e237dcded743a132da771c5bce151
|
||||||
|
EBUILD lynis-3.0.3-r1.ebuild 1056 BLAKE2B 398fec095b533b6dd44f8b8ba3be92d0e811f0015847c90b1e829b003f796cee15769317dc2f43e2ed26ae9be562dbcf2ec52cd00ce70f295e5362d30418d272 SHA512 b71e118cba76136a0ffe6cc2dddbd3de686a6bffbf288d9217959bdc4e8247a25df533d8c11fc20a1b8b96a6616a537cc4aa1f7a4ea818ab17510fcc9806de65
|
||||||
EBUILD lynis-3.0.3.ebuild 946 BLAKE2B 125ab03724a92997302ee3c916ffc91d91b84ef75f9cb4b29e6833fe9172bf82c1d40266c62fcd6dfe9960e75863391a741237b71ef5420941f2fc693ea27406 SHA512 fcab7d0458fd727cf2b13e31cd4bb36e2e7cf38a0f691006f7dbeba8adf91fcbe4f3d078f033fdeff30c34ebf9cc75d093039855d4f3b3f7d306f5f72e6065ff
|
EBUILD lynis-3.0.3.ebuild 946 BLAKE2B 125ab03724a92997302ee3c916ffc91d91b84ef75f9cb4b29e6833fe9172bf82c1d40266c62fcd6dfe9960e75863391a741237b71ef5420941f2fc693ea27406 SHA512 fcab7d0458fd727cf2b13e31cd4bb36e2e7cf38a0f691006f7dbeba8adf91fcbe4f3d078f033fdeff30c34ebf9cc75d093039855d4f3b3f7d306f5f72e6065ff
|
||||||
MISC metadata.xml 251 BLAKE2B 7bfd5f1051cbe4343bd02cc5e869988eb1013ab464ae4ea70e15faff085b7bdc2437feaa34d5db2a90b4999014c146b4d1b9b0a4fd5c99e5bf550577923f49fb SHA512 5031be5fdf8e7fd7c6863c4a56016d80530a7363104272c82b99e2bb46cb7b22247fc5eda3814096701466fa73642994303ce4e666fb314ab843c18dcfa1845c
|
MISC metadata.xml 251 BLAKE2B 7bfd5f1051cbe4343bd02cc5e869988eb1013ab464ae4ea70e15faff085b7bdc2437feaa34d5db2a90b4999014c146b4d1b9b0a4fd5c99e5bf550577923f49fb SHA512 5031be5fdf8e7fd7c6863c4a56016d80530a7363104272c82b99e2bb46cb7b22247fc5eda3814096701466fa73642994303ce4e666fb314ab843c18dcfa1845c
|
||||||
|
@ -0,0 +1,52 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
inherit eutils bash-completion-r1 systemd
|
||||||
|
|
||||||
|
DESCRIPTION="Security and system auditing tool"
|
||||||
|
HOMEPAGE="https://cisofy.com/lynis/"
|
||||||
|
SRC_URI="https://cisofy.com/files/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="app-shells/bash"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN}"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
doman lynis.8
|
||||||
|
dodoc FAQ README
|
||||||
|
newdoc CHANGELOG.md CHANGELOG
|
||||||
|
|
||||||
|
# Remove the old one during the next stabilize progress
|
||||||
|
exeinto /etc/cron.daily
|
||||||
|
newexe "${FILESDIR}"/lynis.cron-new lynis
|
||||||
|
|
||||||
|
dobashcomp extras/bash_completion.d/lynis
|
||||||
|
|
||||||
|
# stricter default perms - bug 507436
|
||||||
|
diropts -m0700
|
||||||
|
insopts -m0600
|
||||||
|
|
||||||
|
insinto /usr/share/${PN}
|
||||||
|
doins -r db/ include/ plugins/
|
||||||
|
|
||||||
|
dosbin lynis
|
||||||
|
|
||||||
|
insinto /etc/${PN}
|
||||||
|
doins default.prf
|
||||||
|
systemd_dounit "${S}/extras/systemd/${PN}.service"
|
||||||
|
systemd_dounit "${S}/extras/systemd/${PN}.timer"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
einfo
|
||||||
|
einfo "A cron script has been installed to ${ROOT}/etc/cron.daily/lynis."
|
||||||
|
einfo
|
||||||
|
}
|
Binary file not shown.
@ -1,5 +1,6 @@
|
|||||||
AUX prometheus.confd 43 BLAKE2B c83afa8ad1133c9e93abd40c862ff5b3ac9a3b3c4447b915ae1482d92096dec9f200d089de2458a6cdb0e72d2bf0652d56e3afd6d5a3cd8a3ed7a6c9a0e3e42c SHA512 37468e897cd34b50b0edc65ada3f0c2e05459c3d96bb7f82d58b6de5bf10a127f1bf7912af93d83d94e3ea7287cfeb2311e36535f291d01a11d152a0b438591c
|
AUX prometheus.confd 43 BLAKE2B c83afa8ad1133c9e93abd40c862ff5b3ac9a3b3c4447b915ae1482d92096dec9f200d089de2458a6cdb0e72d2bf0652d56e3afd6d5a3cd8a3ed7a6c9a0e3e42c SHA512 37468e897cd34b50b0edc65ada3f0c2e05459c3d96bb7f82d58b6de5bf10a127f1bf7912af93d83d94e3ea7287cfeb2311e36535f291d01a11d152a0b438591c
|
||||||
AUX prometheus.initd 929 BLAKE2B d48650b11b77d4d04b5458682456fb20f8085dc3efe9d0ddd2a6c75751ddae156bbb83c20082bc7b6833395602c24da61e2f7610bdff291e05e3eeb4fb651317 SHA512 504122eb8ed19beac81987b77eb78bba9b36b2ef15f28b1a542804271046e06363baf464f3c303982f647eba65fbc2b5459235f56625e1ff3fed9834937cd0d2
|
AUX prometheus.initd 929 BLAKE2B d48650b11b77d4d04b5458682456fb20f8085dc3efe9d0ddd2a6c75751ddae156bbb83c20082bc7b6833395602c24da61e2f7610bdff291e05e3eeb4fb651317 SHA512 504122eb8ed19beac81987b77eb78bba9b36b2ef15f28b1a542804271046e06363baf464f3c303982f647eba65fbc2b5459235f56625e1ff3fed9834937cd0d2
|
||||||
DIST prometheus-2.15.2.linux-amd64.tar.gz 59204993 BLAKE2B 700d61063cddea02ca4445257b11b782c3b6fc84ed3d48f8d196c5602819f0d44b218d15b870281293bf0661929b02930b937e66fec34918b81cd3d010a6fa21 SHA512 a3b95fe6101d5587329d84adb18c0c261babe5a909e62ab1a39f42df28c058d311b0b2ea9ecbdad9227789ed83c0fae4a12776348999cda3a70cdc457f6d3611
|
AUX prometheus.service 534 BLAKE2B fcae8c118b19169e6cdf7469754307ff9037ad72991cd1b6f3f816b51ac4716b75d5623ead83cf4b4d1b8a26fcd3ce54c16bff400e454b9ba00c7149e7c4120e SHA512 84eaffba13c030dc7b2b9dcdf4c96eb12ea5ca16e569ea4f9d4647b1bf912c00826f12cabf02cd97c0e2e76646ab9f179429a92bc32d49ba33c6360ec3cfce8f
|
||||||
EBUILD prometheus-bin-2.15.2.ebuild 1504 BLAKE2B c08a028d48056ae10bd5f25e0f083d04118746ae5f99c7bbd3fe7e6ff6d52769d9d3b272bb058e132af1b7fd8ac0709cfd2106cf25a69618338a45c1f7844ce3 SHA512 78d134521d15cd3c322ac3365d725ddeef86f7608354b6c23726c8cd845a3f683d9416b6d3cd38520c12fffd9638d582f892825fc1777f1f6c691dd48cfcaf29
|
DIST prometheus-2.25.0.linux-amd64.tar.gz 66280932 BLAKE2B 3528c9a2c3275d93152281c0083dc224e5a296636ec22628b6b43bc07f64a7c95cf96fb5f9c212c8101b441d9cba40c629d9fab9de3bcca2e18e2ade06ebb3bc SHA512 0dcbdc18fcc99a4c7cee3ce1435812b651b6cea373df4fbc7263c986c2c6c22de1a686ca44eb104ef602e2a1261957a4e0a64d3ba7b24ae4e9b587b852e5ab24
|
||||||
|
EBUILD prometheus-bin-2.25.0.ebuild 1573 BLAKE2B 408f495ccf2b27c96a1a2c89e16697b3315fb4f8070883f33a0e07b8935507890a123b02acf90bc42ce05c6d2ac3da9e6b9edd7e19dbb884d3f0cbf2c0cd7cff SHA512 344a7a6ae9724d577a4132816c6f93895b01f43ea0f0b1b588427e11bb528b7afbeee45e5f40586bdee62a3577863563a736cf3eb0a513a44d3c742686a1b810
|
||||||
MISC metadata.xml 248 BLAKE2B 5d9c3678c604aac0f24c5d5015e28f02b9ce83bb6a179755a44adeb3d69e4dd50be4acc30a6317649f5be23bcf13ac210bbe4712aa403e9c4cf2de351b39c941 SHA512 dc5b06a888be6367909895d5891a08189f4657bcee602e5ff0021be2ad3677e58ec7387ff244625be66a142138666e7eac790d2a7b1e298f0ad644725b5e57e0
|
MISC metadata.xml 248 BLAKE2B 5d9c3678c604aac0f24c5d5015e28f02b9ce83bb6a179755a44adeb3d69e4dd50be4acc30a6317649f5be23bcf13ac210bbe4712aa403e9c4cf2de351b39c941 SHA512 dc5b06a888be6367909895d5891a08189f4657bcee602e5ff0021be2ad3677e58ec7387ff244625be66a142138666e7eac790d2a7b1e298f0ad644725b5e57e0
|
||||||
|
@ -0,0 +1,22 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Prometheus
|
||||||
|
Wants=network-online.target
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=prometheus
|
||||||
|
Group=prometheus
|
||||||
|
ExecStart=/usr/bin/prometheus \
|
||||||
|
--web.enable-lifecycle \
|
||||||
|
--config.file=/etc/prometheus/prometheus.yml \
|
||||||
|
--storage.tsdb.path="/var/lib/prometheus/data" \
|
||||||
|
--web.console.templates=/etc/prometheus/consoles \
|
||||||
|
--web.console.libraries=/etc/prometheus/console_libraries \
|
||||||
|
--web.listen-address=0.0.0.0:9090 \
|
||||||
|
--web.enable-admin-api
|
||||||
|
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,22 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Prometheus
|
||||||
|
Wants=network-online.target
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=prometheus
|
||||||
|
Group=prometheus
|
||||||
|
ExecStart=/usr/bin/prometheus \
|
||||||
|
--web.enable-lifecycle \
|
||||||
|
--config.file=/etc/prometheus/prometheus.yml \
|
||||||
|
--storage.tsdb.path="/var/lib/prometheus/data" \
|
||||||
|
--web.console.templates=/etc/prometheus/consoles \
|
||||||
|
--web.console.libraries=/etc/prometheus/console_libraries \
|
||||||
|
--web.listen-address=0.0.0.0:9090 \
|
||||||
|
--web.enable-admin-api
|
||||||
|
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -1,26 +0,0 @@
|
|||||||
http://midnight-commander.org/ticket/4149
|
|
||||||
--- a/misc/mc.lib
|
|
||||||
+++ b/misc/mc.lib
|
|
||||||
@@ -116,6 +116,9 @@ alt-shift-left=\\e[1\;4D
|
|
||||||
alt-shift-up=\\e[1\;4A
|
|
||||||
alt-shift-down=\\e[1\;4B
|
|
||||||
|
|
||||||
+[terminal:alacritty]
|
|
||||||
+copy=xterm
|
|
||||||
+
|
|
||||||
[terminal:gnome]
|
|
||||||
copy=xterm
|
|
||||||
|
|
||||||
@@ -137,6 +140,12 @@ copy=xterm
|
|
||||||
[terminal:screen-256color]
|
|
||||||
copy=xterm
|
|
||||||
|
|
||||||
+[terminal:tmux]
|
|
||||||
+copy=xterm
|
|
||||||
+
|
|
||||||
+[terminal:tmux-256color]
|
|
||||||
+copy=xterm
|
|
||||||
+
|
|
||||||
[terminal:ibmpc3]
|
|
||||||
f11=\\e[Y
|
|
||||||
f12=\\e[Z
|
|
Binary file not shown.
@ -1,4 +1,4 @@
|
|||||||
AUX gv_icon.xpm 2837 BLAKE2B d4e15bbf39e183b0093c7f9effa2725e558b6f0fad3d44fc3831c7c142081e668c727cc1688d0bd2b61e1702b50351f841f7390d1873cf27c21474549eed87d3 SHA512 6aae3a463fbf3484028f7ca8f50cb7a332f5566f3bb84dd5c17843b581e1b6013b4f99a1de8600e9d4a0ba5b9b7ce131ee37b0fd80b97e32ef018d272f756076
|
AUX gv_icon.xpm 2837 BLAKE2B d4e15bbf39e183b0093c7f9effa2725e558b6f0fad3d44fc3831c7c142081e668c727cc1688d0bd2b61e1702b50351f841f7390d1873cf27c21474549eed87d3 SHA512 6aae3a463fbf3484028f7ca8f50cb7a332f5566f3bb84dd5c17843b581e1b6013b4f99a1de8600e9d4a0ba5b9b7ce131ee37b0fd80b97e32ef018d272f756076
|
||||||
DIST gv-3.7.3.90.tar.gz 757506 BLAKE2B f856d23d3b9b9164db414534dec4b9a1c441a88d644011a46429b29127364fe429fc72ed3ce76d4142106d10c6a5305b81ec22ed353716df1c1a824907f7b191 SHA512 a80ff303fda1d6f13d66847f4b20aee4b364a05ec750bdb08267aa46470b201edf9762e16ad39dfe9da03118658598697f411dc8c32ab8bbad05a1161e816c50
|
DIST gv-3.7.3.90.tar.gz 757506 BLAKE2B f856d23d3b9b9164db414534dec4b9a1c441a88d644011a46429b29127364fe429fc72ed3ce76d4142106d10c6a5305b81ec22ed353716df1c1a824907f7b191 SHA512 a80ff303fda1d6f13d66847f4b20aee4b364a05ec750bdb08267aa46470b201edf9762e16ad39dfe9da03118658598697f411dc8c32ab8bbad05a1161e816c50
|
||||||
EBUILD gv-3.7.3.90.ebuild 1046 BLAKE2B 22b6c9ec3cfae0bc8faed072b8acb4e42bf6385aab66f0ffee5ea06a167611a43d4ae0518aaac55b59322fe0e3ec22ca4758c3d5118f2d1a3b54547bff689342 SHA512 23534891e0c433d97e21e215fa76a1f619d1b25444341c261bfae51c7ce75bc8c554d756e791c39502023502bed8acf3127dd8dbaee3a3fa85b7010818564f00
|
EBUILD gv-3.7.3.90.ebuild 1053 BLAKE2B e473bb00cb90f2ac251f9314314be3d2d1095db327fe749f27a820e123f23a0395b8b71050ed82746cc73e77ea3e26e17d27f920fb8d85f8aaead498dac69036 SHA512 7e9bc62d33f90bacb78dba44b3f6d6405f75a38c27da5f97adb489a2d4978f3e565be7c23280e3b0549bbcdd83bff27e7803256c512792f7a786bcacb2a93bd6
|
||||||
MISC metadata.xml 255 BLAKE2B 06f078acf8e4416705c8bad8b4802a44592eb962c08c050e11332bfa97564fafdf08754ab056eb813f6baeaa6cdfaf5d71672455d77e74045f86098c221d5136 SHA512 c6c5f966cfbe396fde1b15334442de9e0004b44c4b48775588b0b25a058ad1751252761370c9c254280e97561fa6306f5aa0cc7959c675d4ee11f7f95d777a36
|
MISC metadata.xml 255 BLAKE2B 06f078acf8e4416705c8bad8b4802a44592eb962c08c050e11332bfa97564fafdf08754ab056eb813f6baeaa6cdfaf5d71672455d77e74045f86098c221d5136 SHA512 c6c5f966cfbe396fde1b15334442de9e0004b44c4b48775588b0b25a058ad1751252761370c9c254280e97561fa6306f5aa0cc7959c675d4ee11f7f95d777a36
|
||||||
|
Binary file not shown.
@ -1,20 +1,4 @@
|
|||||||
AUX cabal-2.0.0.2-no-bootstrap.patch 255 BLAKE2B 49b913ac6c5c43c92aab70abfb39059731f636e3a23064c7ca5d8773b28409fc834b480985d9ac4b402af5c4dd6c11000f6d7f90fd8b7c2d2268789764d4522a SHA512 b09d267b1099233aa0fc2a17afe3ade979f263f113ae3b70c5f2e9663c1a88860ca09fdbae489779851efab07f897579714da80a955e9a70f30ad0811f168c9f
|
AUX cabal-2.0.0.2-no-bootstrap.patch 255 BLAKE2B 49b913ac6c5c43c92aab70abfb39059731f636e3a23064c7ca5d8773b28409fc834b480985d9ac4b402af5c4dd6c11000f6d7f90fd8b7c2d2268789764d4522a SHA512 b09d267b1099233aa0fc2a17afe3ade979f263f113ae3b70c5f2e9663c1a88860ca09fdbae489779851efab07f897579714da80a955e9a70f30ad0811f168c9f
|
||||||
DIST Cabal-1.18.1.2.tar.gz 323545 BLAKE2B d9e88f8f512b6bf23f8c57b6719fcf560b24aa2b20a0be3aeaba455dbea79c7320cfec495f31524a098b2d0298fe04cdd29c65f8c527066fcac82ba1f592e761 SHA512 a91abbdb86bcb7a47e871e9b9a2cb4720b41f2cf6998416cc557460ff821e9b711cf8c346bf16c7b07c180815cb901f7b27e5cda3701f3ace554613ceb27e3c6
|
|
||||||
DIST Cabal-1.18.1.3.tar.gz 705715 BLAKE2B 46d6c446e9410d7bd3e3f2e68e2e950e180f8fde4332ba3c4657add30dd721d7e2887b830e9c2954d3ce8e521e42d7db90d87150804589ad5fbea5c08b6b3fca SHA512 3c6f2d3be36384140007ca1146edcca5461bf0e93cde8d2b32bd9d69f74df51975bfbc91ec7cce92d9c78929f91f9e7e8b595488bc1c328dbed313a6fcd76708
|
|
||||||
DIST Cabal-1.18.1.5.tar.gz 706722 BLAKE2B ff1b301882d39c0388f6ecd39ad73cadebdc9096b0e185fcf1299897e536be23714ba9126033d98b60558272fc28e9d72f638ee94d9f769e61d00c2d2bd1a092 SHA512 a5bb21bcb0a95f22572a1d6d4338415bf00eab9b77c2fb4775c81f7554d282fea9160646687bd903197cb5d429f0fcd28b30b577a8915ec92740a91fa13c68ef
|
|
||||||
DIST Cabal-1.20.0.2.tar.gz 717941 BLAKE2B 38aa5742a1f0137b3f81af6543d7810b98f15b6aeb6e83ea169aacab0bcb1d14629df885cc9c02bb64567069e475497cf2ac716731bf84ee89bdf177404cc5e0 SHA512 6dfe30ebe5859ccd934f76fc32bd4757d89e3bcb02a528bebaa0a63f22c0494eb4a941b2fed2e004671875586fed113860e82413bed99f70be565f4f343ac3d3
|
|
||||||
DIST Cabal-1.22.8.0.tar.gz 405552 BLAKE2B 9484ba4b485f6119a7b9e27565ac26ea403b407711a8dcfcee127e03f3cce6a0e96165126a996b39a8f29e97e65eff4f5ec308fb3f53c53cb795cb8ba1ab0daf SHA512 3666e8a66751ea8ae93109c1e33c2909c00c65ddcd77458c41303481e06ebd7230215e12c133cc2fca47ba352c61411ff72ca0994b6d45b5987156bce2fbcdf3
|
|
||||||
DIST Cabal-1.24.2.0.tar.gz 441440 BLAKE2B b4ce800ab35c0771b9da1947b459bae7cf6236724b6073bff3eb51732b08b71f65596f9f3fb7a09eacea4a1ee88d9bd6350298919f095fb2479770f98539faf5 SHA512 707015930d6bd463290c59ef043a5acea79f22d43920ac249d2391c0b8960a10261a83c8aa1a326b6e95311edb048c9edbdc211dc1b79aee86884061af6c8b36
|
|
||||||
DIST Cabal-2.0.0.2.tar.gz 1551128 BLAKE2B bc053a31ddd966577b1c4d5b80bd778fe0b5aadef08d3eee1f8613ab2dd9bc3a0371ad1687033a4489bfced3b46926b0cbdea20d53ada4ed1ab615c7e080de39 SHA512 0eac73132dbee80cce8bf6ce95d531526c983e90dde3348edf6ee583e7fe352393dc6806eb7f35cd38729d979dd418267f1884ec49b4c9e7d858d9b17dff900f
|
|
||||||
DIST Cabal-2.4.0.1.tar.gz 4801392 BLAKE2B 489096b7297e217866006f02e7ef41fe362d6495f81ebbb3b3149341bf9ff18d93d102fe836259471ed9ec1c6c591f5564f81a623a7e4106b9e8a4388646d73f SHA512 4b2a1187e1ec011052ab77ef4bc700608eaab3e921554dd9d75bfca058c487a5651ab6cfe2734ee6cc9687d504a008b4912db182166f0f2f52d23fc08230e48c
|
|
||||||
DIST Cabal-3.0.1.0.tar.gz 758808 BLAKE2B 9a0cf7b055be4d6fa55c4dd44037263df54eff059cd22970383ffa1470317cdaeac8d81a521f8c48cf595fc22e64da031d508f6d2b58f32a613160b3e0cfcd67 SHA512 29a5ae9bad0398ab86c64cba9fb1ae3094d67013151a91c8c25b0e95b08d8fd683d1e85b064f7faf166966f855b261d2f131b727c82476a8514119a8922a6b06
|
DIST Cabal-3.0.1.0.tar.gz 758808 BLAKE2B 9a0cf7b055be4d6fa55c4dd44037263df54eff059cd22970383ffa1470317cdaeac8d81a521f8c48cf595fc22e64da031d508f6d2b58f32a613160b3e0cfcd67 SHA512 29a5ae9bad0398ab86c64cba9fb1ae3094d67013151a91c8c25b0e95b08d8fd683d1e85b064f7faf166966f855b261d2f131b727c82476a8514119a8922a6b06
|
||||||
EBUILD cabal-1.18.1.2.ebuild 1257 BLAKE2B 38df6a82d0419df3cad600daf63ea2d998f2f8bb942d299c5961578bfb89bc808ebdd8d100ff9a7e8911d583460695c3439235128410ab0f6c378cd4a6de15c4 SHA512 7c99fdd7550bd4724d487a91012505a585f2406a9c1cfba8a7da93b6317b92f8b901827e5c81fe4ac5f8d34f69ae307a258d0d65f5485e2991fce339171f6e29
|
|
||||||
EBUILD cabal-1.18.1.3.ebuild 1439 BLAKE2B 949b7d00466bdfb1b7a6cd5f66b3be1b359a8a5ee32e475f1a32adcfb4065963b1f79c90a909d60575267ddded7d0bb4f06a6cc1c1addf1663b7185b37314133 SHA512 63b556dcc2a6eb54d3fa4cbb036237e4ca6110a117435b078fc8253e65e0765317ef2d69dbb234c40d765be4e371507c63c8c65ef9b7ab07792fd5186f28525f
|
|
||||||
EBUILD cabal-1.18.1.5.ebuild 1461 BLAKE2B 6f08fc4140c61c2b0ac2ec2022bc41d485d103f135d631dfce9503b3ab219ede53efd3131afc4a96d60a07b9a1e8111ccbfdb8c381227dfd60ef403ddfb2d1d9 SHA512 1c5f51c404c563f89931d586fe2bb3e643db76c41afa5bf53c601f38967dbde10f28c21587f58dec5c464136b4df39d8d4da9817cc6eea438b25c4614cee105f
|
|
||||||
EBUILD cabal-1.20.0.2.ebuild 1516 BLAKE2B 6488c9ad1d262d91da0a4cb783f2c2fb5e36a06de99429b40019f8d221b515e856776bf0e8d1fdfcfb2a67e91f0e3bd5d84ffb08471d4ef91ddd683e831286e2 SHA512 e7f5bf19918fe4c12f8b07fbcb24220162d15d817565f0bddc44eaf13a0c4b00d0d5ae71010019103247bde8e285f3052b7ca6650a6532106419ac6e261d7d05
|
|
||||||
EBUILD cabal-1.22.8.0.ebuild 1405 BLAKE2B 3966d76ad9335068dc94b44ba496a73d9faab1570f8533cc215c0c58066e1734a270f616861476db1334533f9f10aa9bd09dbc70ecdacdbfca52ba58581033f4 SHA512 3758a49788a5a794d461555471eec70fda5265cd83cc00a017324524b34f49d9107c5101e4c70e7ac103a4aa79de443cefd2c7f4d76cca7379c402736729acb7
|
|
||||||
EBUILD cabal-1.24.2.0.ebuild 888 BLAKE2B afb7cf12ec9b8a15a18c7384dc39205f20c3557743ecced554719629d31ad528df84ee9a8c09bcbf246649d3106dd36ff0a45c5fd7c09c5ac9ba03fe40f680d5 SHA512 aa421818ef473812c211fb2c45c4d0a1abe9b06e29822e1775df748240bcb16d927679252e9333491e84d98504cf2a32badaafa6a27b845e990e4e967ad64e5e
|
|
||||||
EBUILD cabal-2.0.0.2.ebuild 982 BLAKE2B 74dbee036c70e78435282ca73c3b535e387d5e186196cda4bfd7bb54a02de4f1705d814e3c67b942a9c0793c2bf24a8582af86c1eef53d9fc0a2e53139336594 SHA512 498aff87f0d7891c24c20ca3dfed2034fbde79e97603da702a8080dec224ac748c5854c0da04355098ae5558b3e9f6bbeece7d30b2cd6777765ae0380b244b5b
|
|
||||||
EBUILD cabal-2.4.0.1.ebuild 1244 BLAKE2B c49bdc329ee67863a9f67c0c2f47232cbec726194a00b4a61688cdc19099f239a3902dbe94834257ea0285835b4b85f1de69933ea1d8ce14b52ca08b36e82006 SHA512 4f52e44cab2d5654d3134692cd1ee5387e1aff48c95291be0258faed089848fff3e291d8859ce01d402a7e8d2fec3434c422f8288aee5e687f03a3a0801ce18b
|
|
||||||
EBUILD cabal-3.0.1.0.ebuild 1369 BLAKE2B a26e0c15af1fb6105768853eb790b19ddc8ef81a00de8bfaaf0aae45d2a410c0810ad46463cb66818372cb8cc56dd8b128d311a90047d001ca21a77afbd0e0a6 SHA512 e2da6fedf6e901f1bd5cd36a8aba2bc625d19c14d18233e433153f36ab1e7b2dbf1926be87956d64a3faa0ec3249700655f21be1bc6fe019098a0f9ed57df722
|
EBUILD cabal-3.0.1.0.ebuild 1369 BLAKE2B a26e0c15af1fb6105768853eb790b19ddc8ef81a00de8bfaaf0aae45d2a410c0810ad46463cb66818372cb8cc56dd8b128d311a90047d001ca21a77afbd0e0a6 SHA512 e2da6fedf6e901f1bd5cd36a8aba2bc625d19c14d18233e433153f36ab1e7b2dbf1926be87956d64a3faa0ec3249700655f21be1bc6fe019098a0f9ed57df722
|
||||||
MISC metadata.xml 620 BLAKE2B c506aec421eed73838acb77891628cece6a7e8045069b51325669067f8900bd3028aaa93a784a5c4f0383909ff46ffa4044d09e091518e0bf207eea0f1594c4c SHA512 e52cb4657e879d3a4d384daa3fcb8c109e61278ca2875b3fbc6c55b5e4ff9c98716eb7d740ef425634130d13639f92cdde7b04f88e266f112d393b99ce389b0b
|
MISC metadata.xml 620 BLAKE2B c506aec421eed73838acb77891628cece6a7e8045069b51325669067f8900bd3028aaa93a784a5c4f0383909ff46ffa4044d09e091518e0bf207eea0f1594c4c SHA512 e52cb4657e879d3a4d384daa3fcb8c109e61278ca2875b3fbc6c55b5e4ff9c98716eb7d740ef425634130d13639f92cdde7b04f88e266f112d393b99ce389b0b
|
||||||
|
@ -1,53 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
CABAL_FEATURES="bootstrap lib profile test-suite"
|
|
||||||
inherit haskell-cabal versionator
|
|
||||||
|
|
||||||
MY_PN=Cabal
|
|
||||||
MY_P=${MY_PN}-${PV}
|
|
||||||
|
|
||||||
DESCRIPTION="A framework for packaging Haskell software"
|
|
||||||
HOMEPAGE="https://www.haskell.org/cabal/"
|
|
||||||
SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=">=dev-lang/ghc-6.12.1:="
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? ( dev-haskell/extensible-exceptions
|
|
||||||
dev-haskell/hunit
|
|
||||||
>=dev-haskell/quickcheck-2.1.0.1
|
|
||||||
dev-haskell/regex-posix
|
|
||||||
dev-haskell/test-framework
|
|
||||||
dev-haskell/test-framework-hunit
|
|
||||||
>=dev-haskell/test-framework-quickcheck2-0.2.12 )
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if [[ -n ${LIVE_EBUILD} ]]; then
|
|
||||||
CABAL_FILE=${MY_PN}.cabal cabal_chdeps 'version: 1.17.0' "version: ${PV}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
cabal-is-dummy-lib && return
|
|
||||||
|
|
||||||
einfo "Bootstrapping Cabal..."
|
|
||||||
$(ghc-getghc) ${HCFLAGS} -i -i. -i"${WORKDIR}/${FP_P}" -cpp --make Setup.hs \
|
|
||||||
-o setup || die "compiling Setup.hs failed"
|
|
||||||
cabal-configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cabal-is-dummy-lib && return
|
|
||||||
|
|
||||||
cabal-build
|
|
||||||
}
|
|
@ -1,60 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
# ebuild generated by hackport 0.3.6.9999
|
|
||||||
|
|
||||||
CABAL_FEATURES="lib profile test-suite"
|
|
||||||
CABAL_FEATURES+=" bootstrap" # does not beed cabal to build itself
|
|
||||||
inherit haskell-cabal
|
|
||||||
|
|
||||||
MY_PN="Cabal"
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="A framework for packaging Haskell software"
|
|
||||||
HOMEPAGE="https://www.haskell.org/cabal/"
|
|
||||||
SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=">=dev-lang/ghc-6.12.1:="
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? ( dev-haskell/extensible-exceptions
|
|
||||||
dev-haskell/hunit
|
|
||||||
>=dev-haskell/quickcheck-2.1.0.1
|
|
||||||
dev-haskell/regex-posix
|
|
||||||
dev-haskell/test-framework
|
|
||||||
dev-haskell/test-framework-hunit
|
|
||||||
>=dev-haskell/test-framework-quickcheck2-0.2.12 )
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
CABAL_CORE_LIB_GHC_PV="7.8.2014* 7.8.0.2014* 7.8.1 7.8.2 7.8.3 7.8.3.20141119"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if [[ -n ${LIVE_EBUILD} ]]; then
|
|
||||||
CABAL_FILE=${MY_PN}.cabal cabal_chdeps 'version: 1.17.0' "version: ${PV}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
cabal-is-dummy-lib && return
|
|
||||||
|
|
||||||
einfo "Bootstrapping Cabal..."
|
|
||||||
$(ghc-getghc) ${HCFLAGS} -i -i. -i"${WORKDIR}/${FP_P}" -cpp --make Setup.hs \
|
|
||||||
-o setup || die "compiling Setup.hs failed"
|
|
||||||
cabal-configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cabal-is-dummy-lib && return
|
|
||||||
|
|
||||||
cabal-build
|
|
||||||
}
|
|
@ -1,62 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
# ebuild generated by hackport 0.3.6.9999
|
|
||||||
|
|
||||||
CABAL_FEATURES="lib profile test-suite"
|
|
||||||
CABAL_FEATURES+=" bootstrap" # does not beed cabal to build itself
|
|
||||||
inherit haskell-cabal
|
|
||||||
|
|
||||||
MY_PN="Cabal"
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="A framework for packaging Haskell software"
|
|
||||||
HOMEPAGE="https://www.haskell.org/cabal/"
|
|
||||||
SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RESTRICT=test # circular depend: cabal[test]->quickcheck[test]->cabal
|
|
||||||
|
|
||||||
RDEPEND=">=dev-lang/ghc-6.12.1:="
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? ( dev-haskell/extensible-exceptions
|
|
||||||
dev-haskell/hunit
|
|
||||||
>=dev-haskell/quickcheck-2.1.0.1
|
|
||||||
dev-haskell/regex-posix
|
|
||||||
dev-haskell/test-framework
|
|
||||||
dev-haskell/test-framework-hunit
|
|
||||||
>=dev-haskell/test-framework-quickcheck2-0.2.12 )
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
CABAL_CORE_LIB_GHC_PV="7.8.4"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if [[ -n ${LIVE_EBUILD} ]]; then
|
|
||||||
CABAL_FILE=${MY_PN}.cabal cabal_chdeps 'version: 1.17.0' "version: ${PV}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
cabal-is-dummy-lib && return
|
|
||||||
|
|
||||||
einfo "Bootstrapping Cabal..."
|
|
||||||
$(ghc-getghc) ${HCFLAGS} -i -i. -i"${WORKDIR}/${FP_P}" -cpp --make Setup.hs \
|
|
||||||
-o setup || die "compiling Setup.hs failed"
|
|
||||||
cabal-configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cabal-is-dummy-lib && return
|
|
||||||
|
|
||||||
cabal-build
|
|
||||||
}
|
|
@ -1,63 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
# ebuild generated by hackport 0.4.9999
|
|
||||||
|
|
||||||
CABAL_FEATURES="lib profile test-suite"
|
|
||||||
CABAL_FEATURES+=" bootstrap" # does not beed cabal to build itself
|
|
||||||
inherit haskell-cabal
|
|
||||||
|
|
||||||
MY_PN="Cabal"
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="A framework for packaging Haskell software"
|
|
||||||
HOMEPAGE="https://www.haskell.org/cabal/"
|
|
||||||
SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=">=dev-lang/ghc-7.4.1:=
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? ( dev-haskell/extensible-exceptions
|
|
||||||
dev-haskell/hunit
|
|
||||||
>=dev-haskell/quickcheck-2.1.0.1:2 <dev-haskell/quickcheck-2.8:2
|
|
||||||
dev-haskell/regex-posix
|
|
||||||
dev-haskell/test-framework
|
|
||||||
dev-haskell/test-framework-hunit
|
|
||||||
>=dev-haskell/test-framework-quickcheck2-0.2.12 )
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if [[ -n ${LIVE_EBUILD} ]]; then
|
|
||||||
CABAL_FILE=${MY_PN}.cabal cabal_chdeps 'version: 1.17.0' "version: ${PV}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
cabal_chdeps \
|
|
||||||
'QuickCheck < 2.7' 'QuickCheck < 2.8' \
|
|
||||||
'QuickCheck >= 2.1.0.1 && < 2.7' 'QuickCheck >= 2.1.0.1 && < 2.8'
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
cabal-is-dummy-lib && return
|
|
||||||
|
|
||||||
einfo "Bootstrapping Cabal..."
|
|
||||||
$(ghc-getghc) ${HCFLAGS} -i -i. -i"${WORKDIR}/${FP_P}" -cpp --make Setup.hs \
|
|
||||||
-o setup || die "compiling Setup.hs failed"
|
|
||||||
cabal-configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cabal-is-dummy-lib && return
|
|
||||||
|
|
||||||
cabal-build
|
|
||||||
}
|
|
@ -1,60 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
# ebuild generated by hackport 0.4.5.9999
|
|
||||||
|
|
||||||
CABAL_FEATURES="lib profile test-suite"
|
|
||||||
CABAL_FEATURES+=" bootstrap" # does not need cabal to build itself
|
|
||||||
inherit haskell-cabal
|
|
||||||
|
|
||||||
MY_PN="Cabal"
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="A framework for packaging Haskell software"
|
|
||||||
HOMEPAGE="https://www.haskell.org/cabal/"
|
|
||||||
SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RESTRICT=test
|
|
||||||
|
|
||||||
RDEPEND=">=dev-lang/ghc-7.8.1:="
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? ( dev-haskell/extensible-exceptions
|
|
||||||
dev-haskell/hunit
|
|
||||||
>=dev-haskell/quickcheck-2.1.0.1:2 <dev-haskell/quickcheck-2.9:2
|
|
||||||
dev-haskell/regex-posix
|
|
||||||
dev-haskell/test-framework
|
|
||||||
dev-haskell/test-framework-hunit
|
|
||||||
>=dev-haskell/test-framework-quickcheck2-0.2.12 )
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if [[ -n ${LIVE_EBUILD} ]]; then
|
|
||||||
CABAL_FILE=${MY_PN}.cabal cabal_chdeps 'version: 1.17.0' "version: ${PV}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
cabal-is-dummy-lib && return
|
|
||||||
|
|
||||||
einfo "Bootstrapping Cabal..."
|
|
||||||
$(ghc-getghc) ${HCFLAGS} -i -i. -i"${WORKDIR}/${FP_P}" -cpp --make Setup.hs \
|
|
||||||
-o setup || die "compiling Setup.hs failed"
|
|
||||||
cabal-configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cabal-is-dummy-lib && return
|
|
||||||
|
|
||||||
cabal-build
|
|
||||||
}
|
|
@ -1,37 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
# ebuild generated by hackport 0.5.9999
|
|
||||||
#hackport: flags: -bundled-binary-generic
|
|
||||||
|
|
||||||
CABAL_FEATURES="lib profile test-suite"
|
|
||||||
CABAL_FEATURES+=" nocabaldep" # in case installed Cabal is broken
|
|
||||||
inherit haskell-cabal
|
|
||||||
|
|
||||||
MY_PN="Cabal"
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="A framework for packaging Haskell software"
|
|
||||||
HOMEPAGE="https://www.haskell.org/cabal/"
|
|
||||||
SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RESTRICT=test # circular dependencies
|
|
||||||
|
|
||||||
RDEPEND=">=dev-lang/ghc-7.8.1:="
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
CABAL_CORE_LIB_GHC_PV="PM:8.0.2_rc2 PM:8.0.2"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
haskell-cabal_src_configure \
|
|
||||||
--flag=-bundled-binary-generic
|
|
||||||
}
|
|
@ -1,40 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
# ebuild generated by hackport 0.5.3.9999
|
|
||||||
#hackport: flags: -parsec-struct-diff
|
|
||||||
|
|
||||||
CABAL_FEATURES="lib profile test-suite"
|
|
||||||
CABAL_FEATURES+=" nocabaldep" # in case installed Cabal is broken
|
|
||||||
inherit haskell-cabal
|
|
||||||
|
|
||||||
MY_PN="Cabal"
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="A framework for packaging Haskell software"
|
|
||||||
HOMEPAGE="https://www.haskell.org/cabal/"
|
|
||||||
SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
#not keyworded yet: many packages are broken
|
|
||||||
#KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RESTRICT=test # circular dependencies
|
|
||||||
|
|
||||||
RDEPEND=">=dev-lang/ghc-7.8.1:="
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
CABAL_CORE_LIB_GHC_PV="PM:8.2.1"
|
|
||||||
|
|
||||||
PATCHES=("${FILESDIR}"/${P}-no-bootstrap.patch)
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
haskell-cabal_src_configure \
|
|
||||||
--flag=-parsec-struct-diff
|
|
||||||
}
|
|
@ -1,44 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
# ebuild generated by hackport 0.5.6.9999
|
|
||||||
#hackport: flags: -bundled-binary-generic
|
|
||||||
|
|
||||||
CABAL_FEATURES="lib profile" # Drop test-suite: circular depend
|
|
||||||
CABAL_FEATURES+=" nocabaldep" # in case installed Cabal is broken
|
|
||||||
inherit haskell-cabal
|
|
||||||
|
|
||||||
MY_PN="Cabal"
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="A framework for packaging Haskell software"
|
|
||||||
HOMEPAGE="https://www.haskell.org/cabal/"
|
|
||||||
SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
# keep in sync with ghc-8.6
|
|
||||||
#KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RESTRICT=test # circular deps: cabal -> quickcheck -> cabal
|
|
||||||
|
|
||||||
RDEPEND=">=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
|
|
||||||
>=dev-haskell/parsec-3.1.13.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?]
|
|
||||||
>=dev-haskell/text-1.2.3.0:=[profile?] <dev-haskell/text-1.3:=[profile?]
|
|
||||||
>=dev-lang/ghc-7.8.2:=
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
PATCHES=("${FILESDIR}"/${PN}-2.0.0.2-no-bootstrap.patch)
|
|
||||||
|
|
||||||
CABAL_CORE_LIB_GHC_PV="PM:8.6.1 PM:8.6.2 PM:8.6.3 PM:8.6.4 PM:8.6.5"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
haskell-cabal_src_configure \
|
|
||||||
--flag=-bundled-binary-generic
|
|
||||||
}
|
|
@ -1,8 +1,4 @@
|
|||||||
AUX haddock-api-2.17.3-ghc-8.0.2_rc1.patch 747 BLAKE2B 743b22c933a793ed5006664ff78b7b1691e8ea745f8dedf080a426c2daaadc69d4e7dced80e9872c7e6a65c56cf2946cf24f75219b2e9b8dc361598c8f27fed8 SHA512 813823790fceb96c8b314835896dac165bd4e91f888090c65cbe91dc2ac026e2d0bd79acb40974154252ea106a7dcf56d80da6af4dd67db59f8004166f29bf08
|
AUX haddock-api-2.17.3-ghc-8.0.2_rc1.patch 747 BLAKE2B 743b22c933a793ed5006664ff78b7b1691e8ea745f8dedf080a426c2daaadc69d4e7dced80e9872c7e6a65c56cf2946cf24f75219b2e9b8dc361598c8f27fed8 SHA512 813823790fceb96c8b314835896dac165bd4e91f888090c65cbe91dc2ac026e2d0bd79acb40974154252ea106a7dcf56d80da6af4dd67db59f8004166f29bf08
|
||||||
DIST haddock-api-2.16.1.tar.gz 125372 BLAKE2B dbc0678cd38bad8549375468ddda27061e17cb74927e1a1c3c286cb25e8cd098a8f17333d199897bcd7ee56553b4d68b206a6935c44b0a5056810921fc6a3b45 SHA512 01450602d238651a8711141d51f5246536a96b69efee29942296fdfc249929f5f33df24ee676b56d0ba82269cb6557dd3a4e8fabbd1b809e506867b5f285bb17
|
|
||||||
DIST haddock-api-2.17.3.tar.gz 145142 BLAKE2B 1ca87c180baed23ec5df5d5cbfedc7e3823c344655b2d13f2bcbce0c774874223269b06a88f45365511f6789f8068086c04460faaf4eec7354a20bc18680ce26 SHA512 00057618d970fc7786913eec0b408baabbf1aff4b705c105f6d6347ae9c46af1b2ea7bed420edfaec38c835dee08593c9ae53ab9a30153239e687de6f5301840
|
|
||||||
DIST haddock-api-2.23.1.tar.gz 200096 BLAKE2B 0635881e198c1df3690f07185da7cc49f8eb92283d99c581756c86fb9f293b28608ac3eea9090abcc3afa12c646e584939df9b8c38b4844e9c462824426019f5 SHA512 fb7826102476a3f292da336f8f16c7a647df7c4432bed905815509fff0df164255c0856cc17663bb42479114ed9a418e6bcd214fb8594b245d401c9e091ac4ef
|
DIST haddock-api-2.23.1.tar.gz 200096 BLAKE2B 0635881e198c1df3690f07185da7cc49f8eb92283d99c581756c86fb9f293b28608ac3eea9090abcc3afa12c646e584939df9b8c38b4844e9c462824426019f5 SHA512 fb7826102476a3f292da336f8f16c7a647df7c4432bed905815509fff0df164255c0856cc17663bb42479114ed9a418e6bcd214fb8594b245d401c9e091ac4ef
|
||||||
EBUILD haddock-api-2.16.1.ebuild 837 BLAKE2B 5714c573a889ea1ab25d4348abac1c0ad4c090c4d0993d50ee7b43e09ea0e8a90fee5e20cf1b5ea36473f963d3933d41931eca20afa2d2b46f78e06347de022e SHA512 c72fb8c9e0e3d0ea5d021931ef7f50acf255b680218313f7c812b4ea812c8dd3d86cb7cb0a9e092f79a33aff5996f2484982267dcaf6f4c7d2b8b223b96e64cb
|
|
||||||
EBUILD haddock-api-2.17.3.ebuild 1050 BLAKE2B fa65189aeb89200c0d55a4e30b29cda630d346ba3d6a6430a331f83515f73a626913080e02b6af7b9bfcd60ee9204cd548ed4da943128e4547e8e2fd760dc37a SHA512 1cdc9ddeda2cad2193975ebd504d2ebb1d319f6aaf0f0b3d10cd677b14880e7495eeeddf701820b34cc6d7f8b419ff63887b0dee099d15f687166ab3970f500a
|
|
||||||
EBUILD haddock-api-2.23.1.ebuild 1087 BLAKE2B 937fb9b076c2081f74228d85f11366b937ebfcf450a04f8eccf0ce43b03a8c8c13657a4571a873db543b346c853658bee39c6706857e69342eea953b7e27cae5 SHA512 d795bc7254f46790f615b6a6d507ed8693c1cc84bab3fb143f5e9201d486d77459579705f22cb1e335a6dca6532621e10eeafddb0e5ca0721b5771f346834918
|
EBUILD haddock-api-2.23.1.ebuild 1087 BLAKE2B 937fb9b076c2081f74228d85f11366b937ebfcf450a04f8eccf0ce43b03a8c8c13657a4571a873db543b346c853658bee39c6706857e69342eea953b7e27cae5 SHA512 d795bc7254f46790f615b6a6d507ed8693c1cc84bab3fb143f5e9201d486d77459579705f22cb1e335a6dca6532621e10eeafddb0e5ca0721b5771f346834918
|
||||||
MISC metadata.xml 249 BLAKE2B 84b809c265ff2a09d1f06c66d4797652ff4c64205d94323e07333ae0fbddcfb8c58d0176a8cc52bd37e9353371d987b9b473b9747cb082e1c2871ed80fcfa144 SHA512 ce055b41ff1c10209e88579fe21ce16550be7e9b21f87724564f06430aa6f478974f186a10c8ff7e92398f534c09109aeed57eae1c6d2b56b5c99ebfb64a0015
|
MISC metadata.xml 249 BLAKE2B 84b809c265ff2a09d1f06c66d4797652ff4c64205d94323e07333ae0fbddcfb8c58d0176a8cc52bd37e9353371d987b9b473b9747cb082e1c2871ed80fcfa144 SHA512 ce055b41ff1c10209e88579fe21ce16550be7e9b21f87724564f06430aa6f478974f186a10c8ff7e92398f534c09109aeed57eae1c6d2b56b5c99ebfb64a0015
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
# ebuild generated by hackport 0.4.5.9999
|
|
||||||
|
|
||||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
|
||||||
inherit haskell-cabal
|
|
||||||
|
|
||||||
DESCRIPTION="A documentation-generation tool for Haskell libraries"
|
|
||||||
HOMEPAGE="https://www.haskell.org/haddock/"
|
|
||||||
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=">=dev-haskell/cabal-1.10:=[profile?]
|
|
||||||
dev-haskell/ghc-paths:=[profile?]
|
|
||||||
>=dev-haskell/haddock-library-1.2:=[profile?] <dev-haskell/haddock-library-1.3:=[profile?]
|
|
||||||
>=dev-haskell/xhtml-3000.2:=[profile?] <dev-haskell/xhtml-3000.3:=[profile?]
|
|
||||||
>=dev-lang/ghc-7.10:= <dev-lang/ghc-7.12:=
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
>=dev-haskell/cabal-1.10
|
|
||||||
"
|
|
@ -1,34 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
# ebuild generated by hackport 0.5.9999
|
|
||||||
|
|
||||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
|
||||||
inherit haskell-cabal
|
|
||||||
|
|
||||||
DESCRIPTION="A documentation-generation tool for Haskell libraries"
|
|
||||||
HOMEPAGE="https://www.haskell.org/haddock/"
|
|
||||||
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
# keep in sync with ghc-8.0.1
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=">=dev-haskell/cabal-1.10:=[profile?]
|
|
||||||
dev-haskell/ghc-paths:=[profile?]
|
|
||||||
>=dev-haskell/haddock-library-1.4:=[profile?] <dev-haskell/haddock-library-1.5:=[profile?]
|
|
||||||
dev-haskell/transformers:=[profile?]
|
|
||||||
>=dev-haskell/xhtml-3000.2:=[profile?] <dev-haskell/xhtml-3000.3:=[profile?]
|
|
||||||
>=dev-lang/ghc-8.0:= <dev-lang/ghc-8.2:=
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
>=dev-haskell/cabal-1.24.0.0
|
|
||||||
test? ( dev-haskell/hspec
|
|
||||||
>=dev-haskell/quickcheck-2 <dev-haskell/quickcheck-3 )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=("${FILESDIR}"/${P}-ghc-8.0.2_rc1.patch)
|
|
@ -1,9 +1,3 @@
|
|||||||
DIST haddock-library-1.1.1.tar.gz 35641 BLAKE2B 1754ce1088c34629f8523a80c9ee142471b8e7f53f5a77e89265211588cc80719e7fec49e35142b8288b4632a0548def65f9f2966d6838d79e75ec1574588336 SHA512 5f1a592af66a054482fc06ca8d974db0ebd4e42b383ec6b3fd7d44d155bd89c567013af1266e697b76a96b4d39486bc22eac7eb4b1d6842ec0f842533ac8dffb
|
|
||||||
DIST haddock-library-1.2.1.tar.gz 38606 BLAKE2B 1896a098a4858796feb9ded26914a7cfc9f6478f3993485a9c61be1a3b1aee1e32accafadaa5b1e030d17f78555b1f4c731b76c09bb83c7a7cb8132c8e25e792 SHA512 7ac9dfc648e6e59e1dbaafc7fdf26acb378997506c353dedadf89a729223cdb518edd59642e81758fd898cda163258e5e4150fc84369c3e011e59acd827a037a
|
|
||||||
DIST haddock-library-1.4.2.tar.gz 38701 BLAKE2B 56c0f1c46100fcf8afa88ce8c44f989da9561109bf74473d5ef65962cc057cf7a54f87786171ad2f57895000e610663f1b2711f231adc7d85442e9028bd9729b SHA512 0ea02f4ac898e6d4349f3c8d3997d66c35866350bfd661b6030a0b59c609eaae3647c8898bb5142afb0235b2eb785059356f6eb2031e6e93615d1d4e3c4cce82
|
|
||||||
DIST haddock-library-1.8.0.tar.gz 30918 BLAKE2B a8bcf9e08f6596375186930cf4a98ae547c40d85eb0bd00b7aaf8212c3738e32cd51cea044206f3746d10d228b1e8b8a2ccdb28ae7c7957006f518d090a6ceed SHA512 f84672b67dd4b18402efb8b40eb0e2cb912ecf894cfdedf61b0ada87392e63609cf1101d4fc793686cc4af354665661bf4dc902313bb466efee683a7c64bbe2b
|
DIST haddock-library-1.8.0.tar.gz 30918 BLAKE2B a8bcf9e08f6596375186930cf4a98ae547c40d85eb0bd00b7aaf8212c3738e32cd51cea044206f3746d10d228b1e8b8a2ccdb28ae7c7957006f518d090a6ceed SHA512 f84672b67dd4b18402efb8b40eb0e2cb912ecf894cfdedf61b0ada87392e63609cf1101d4fc793686cc4af354665661bf4dc902313bb466efee683a7c64bbe2b
|
||||||
EBUILD haddock-library-1.1.1.ebuild 664 BLAKE2B 94b5fb56dea2859cbd27f2bfdef9eba77b0e3c1d0e6085fda4d054788560c847748ab160585a02cd99de9b301d9a84483033c2e1feb9e806bf9ac7043e33ccdb SHA512 f455d52e5873b98bd051a4af099e01611f3dad910e48accfa786073b9723fe24c03c51d10c41e0483eddc52d08d80c12b0baf6957b744bd0bbabc0570e867242
|
|
||||||
EBUILD haddock-library-1.2.1.ebuild 788 BLAKE2B 6689b94bc4291968a9b03d5778386e42a532537ce1a777a3f70f8befe1252c5e2933302c42ce1f5b3776f215a779bd8c3df078d13c488a72f3784f9217fae612 SHA512 385574c9cfd9106f5d815f438461c4a3cc0cb3fde763e8274757d6c05afa34b08824f779dc538d56df4e516e480459bdaa49148e4b2fc8af90a4297c04da45ea
|
|
||||||
EBUILD haddock-library-1.4.2.ebuild 803 BLAKE2B c79dc51e3bb499e40127ead0cea5c873ea52442bae3b5c2b9d7e8837c5e7ed2db842a2bc52bd955e060c7d19d51c900d1cf7cbf1a849f71bfe8fe6ab0a87727f SHA512 9fa9237bd3befd6cbfee8b146cccf0e06327736ce985a2758813d38b1967bc36dc4a80273d373412fcbe38b5c060f51f3f7d3ea27cd79f21b0bd223c4da7c5cc
|
|
||||||
EBUILD haddock-library-1.8.0.ebuild 1269 BLAKE2B 746fc2165ee259ef53bbe513028b2eee7dcf1b676f34d8916e8365a7fbc68155b8d5a576cde611d7c4989aee8d84a6979c70731c919b41cdb7eb27f12fdbfd13 SHA512 ed721288d65543cdb488e30d64912725fe67bfb493259e536127ee4eb5f529c4a26a6b08e59d6fefad6df2efe2379af1aa0297e18250b92aaaf6dafa3cf63542
|
EBUILD haddock-library-1.8.0.ebuild 1269 BLAKE2B 746fc2165ee259ef53bbe513028b2eee7dcf1b676f34d8916e8365a7fbc68155b8d5a576cde611d7c4989aee8d84a6979c70731c919b41cdb7eb27f12fdbfd13 SHA512 ed721288d65543cdb488e30d64912725fe67bfb493259e536127ee4eb5f529c4a26a6b08e59d6fefad6df2efe2379af1aa0297e18250b92aaaf6dafa3cf63542
|
||||||
MISC metadata.xml 649 BLAKE2B 3009fffda0bdf4a08fb7014a168578c8054cd7e701ca254b12debebf6aadf7a36d968d3d39a555767aef11646e2cc71707ab40f5ad77bc85923bdac3a3ac45a3 SHA512 316469b542dcc67cbf2c6f28a2cb7c3321fc13654349c59631c185ceeb2bc55b78d23b2bbb224ab7b19b1aa0d2d8237fb9ec98693e4420fe8e1556e5acd370cc
|
MISC metadata.xml 649 BLAKE2B 3009fffda0bdf4a08fb7014a168578c8054cd7e701ca254b12debebf6aadf7a36d968d3d39a555767aef11646e2cc71707ab40f5ad77bc85923bdac3a3ac45a3 SHA512 316469b542dcc67cbf2c6f28a2cb7c3321fc13654349c59631c185ceeb2bc55b78d23b2bbb224ab7b19b1aa0d2d8237fb9ec98693e4420fe8e1556e5acd370cc
|
||||||
|
@ -1,27 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
# ebuild generated by hackport 0.4.4.9999
|
|
||||||
|
|
||||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
|
||||||
inherit haskell-cabal
|
|
||||||
|
|
||||||
DESCRIPTION="Library exposing some functionality of Haddock"
|
|
||||||
HOMEPAGE="https://www.haskell.org/haddock/"
|
|
||||||
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=">=dev-lang/ghc-7.4.1:=
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
>=dev-haskell/cabal-1.10
|
|
||||||
test? ( dev-haskell/base-compat
|
|
||||||
dev-haskell/hspec
|
|
||||||
>=dev-haskell/quickcheck-2 <dev-haskell/quickcheck-3 )
|
|
||||||
"
|
|
@ -1,30 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
# ebuild generated by hackport 0.4.5.9999
|
|
||||||
|
|
||||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
|
||||||
inherit haskell-cabal
|
|
||||||
|
|
||||||
DESCRIPTION="Library exposing some functionality of Haddock"
|
|
||||||
HOMEPAGE="https://www.haskell.org/haddock/"
|
|
||||||
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RESTRICT=test # on ghc-7.6 Prelude collides with base-compat
|
|
||||||
|
|
||||||
RDEPEND="dev-haskell/transformers:=[profile?]
|
|
||||||
>=dev-lang/ghc-7.4.1:=
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
>=dev-haskell/cabal-1.10
|
|
||||||
test? ( dev-haskell/base-compat
|
|
||||||
dev-haskell/hspec
|
|
||||||
>=dev-haskell/quickcheck-2 <dev-haskell/quickcheck-3 )
|
|
||||||
"
|
|
@ -1,29 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
# ebuild generated by hackport 0.5.9999
|
|
||||||
|
|
||||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
|
||||||
inherit haskell-cabal
|
|
||||||
|
|
||||||
DESCRIPTION="Library exposing some functionality of Haddock"
|
|
||||||
HOMEPAGE="https://www.haskell.org/haddock/"
|
|
||||||
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
# keep in sync with ghc-8.0.1, might not be required but needs porting revdeps
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="dev-haskell/transformers:=[profile?]
|
|
||||||
>=dev-lang/ghc-7.4.1:=
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
>=dev-haskell/cabal-1.10
|
|
||||||
test? ( dev-haskell/base-compat
|
|
||||||
dev-haskell/hspec
|
|
||||||
>=dev-haskell/quickcheck-2 <dev-haskell/quickcheck-3 )
|
|
||||||
"
|
|
@ -1,9 +1,3 @@
|
|||||||
DIST haddock-2.14.3.0.7.8.3.tar.gz 230282 BLAKE2B cb5336c72e0fa3036bf7ceaa202ff35e1d104fcb05c4317f16e78c0517b27529c1fab28e2ee4f2e14cbf2db592ff88a6b01d1840193c9a69233230fec1ffc423 SHA512 62ae4a29c877c3b9742828fcda2f1f045357f41b4a2c495a4791a42d412d41b3d206cdcb73e2d1bd4e95c40371dae865f4eaa37031cda6c1bada5dfed963c2be
|
|
||||||
DIST haddock-2.16.1.tar.gz 216323 BLAKE2B feddc77d8072dfafb4b06486f57db89a0136ed53644efb0336a26e6c3f31789cf57e302e7bbfbfb9af036a00cbf801c47398347bd664333f0a35debdf794ada3 SHA512 709af410f8746819c8c067f3549d79ba0ecaa312fb6b19acf670a9a3e4c94e94b8e546493e08293eceeb488bc0891a8ebe033a58411c4af935b445cd7f3014b8
|
|
||||||
DIST haddock-2.17.2.tar.gz 245690 BLAKE2B dc6f646a5972add1a5ac0e2a2a4119df5f8f0604984f0fa3f828e72bca96f8ec98b09ce65de6bb94a2714c64680a79ae3dd49f60a27cbf5483cb71f239180c87 SHA512 f8f06abd3b231fae36b900d54a70107dcd6718bab7726ad7bd8392c9053700b96672cf9efa0854033a5c1473dcdf00c390f253bc244ff5f4d25e70dd76c8ea1d
|
|
||||||
DIST haddock-2.23.1.tar.gz 302698 BLAKE2B 1dae0019ddc08c537aec2f0fa71f5bd1570db4061d22bf53f05aa0e211c3280d09c6a6481f704c34895e0bf70fd2b5ac95644dab23b05cc2b6fec59c845f86c5 SHA512 e69b3b5f2dcadeccc33696ee8d0646387860b98d86c08d4c07d829e3eabc4159adac0a11d408850ef54face5fa835ab8217d1057b14d8de8d758efbfc7a700db
|
DIST haddock-2.23.1.tar.gz 302698 BLAKE2B 1dae0019ddc08c537aec2f0fa71f5bd1570db4061d22bf53f05aa0e211c3280d09c6a6481f704c34895e0bf70fd2b5ac95644dab23b05cc2b6fec59c845f86c5 SHA512 e69b3b5f2dcadeccc33696ee8d0646387860b98d86c08d4c07d829e3eabc4159adac0a11d408850ef54face5fa835ab8217d1057b14d8de8d758efbfc7a700db
|
||||||
EBUILD haddock-2.14.3.0.7.8.3.ebuild 2043 BLAKE2B a29324b23bef8dbe8c0b98c016b52fd03abed1fb4a98207da810fca269849f1477d5e1a714b03e8bd0740d722cd82ccdf80b56bfa71bacc477fd5557cc62bb5d SHA512 b621458d9f193609c91455ba10ec2f2739d02d615b6e5036810fc55b0857089b65738112b110fd8e1b9ce1dd7b7f3d73dc9b0eae6f6db915d8905ccee74d779a
|
|
||||||
EBUILD haddock-2.16.1.ebuild 1929 BLAKE2B 425c9d7869257bb06c50187025028083c3ccb4951c1c01682b2ab3d941f1649362926092b1e8ab323545332011f22ee12e365f91179e1c7ae3ee41f634b98510 SHA512 72ea7e1422c97b5496f306b150a2b90751ac65c3886040b83f27014fa97c04315da2636a83dc97535e0fe62aad589f5aff059385ca249d472c040a94d5685516
|
|
||||||
EBUILD haddock-2.17.2.ebuild 802 BLAKE2B 8498ed4ea1900e4e28c5a76977bc33c74010ebea30f9376230e1cc839e60df7fd9b7a972594f75b7050647f60220910280ca162a2266aad782cce89010a7b3b7 SHA512 c0291127f88ab1ae5134343eb2eea1fd7890efe128835e1f2208f44fc04b5b690ea7913eae4ae3784ee9ca9f56b94f40a903769318d9d83706f2c3667edf59a7
|
|
||||||
EBUILD haddock-2.23.1.ebuild 815 BLAKE2B 9bc7ba6da63c4f8befb46acbe62384a58fd2b766d2561ce3d1fb5a66e9b9c20fa1392a34b93af1de0f8feae0c0a517e1cba4e476db5865489ba7c9c9cb4ea21d SHA512 6b9f03e5bdea82ec6defd6e32b35ab67ba097e07e0fa24b9022dbe75b081e927b7f84422617d8bb281b54675f86af67e04bd83bd2f61a6552ea8dc494e5ffede
|
EBUILD haddock-2.23.1.ebuild 815 BLAKE2B 9bc7ba6da63c4f8befb46acbe62384a58fd2b766d2561ce3d1fb5a66e9b9c20fa1392a34b93af1de0f8feae0c0a517e1cba4e476db5865489ba7c9c9cb4ea21d SHA512 6b9f03e5bdea82ec6defd6e32b35ab67ba097e07e0fa24b9022dbe75b081e927b7f84422617d8bb281b54675f86af67e04bd83bd2f61a6552ea8dc494e5ffede
|
||||||
MISC metadata.xml 217 BLAKE2B 41b11b7399431ee96c40a11373f20b12940ed7bb1fc77b1619212b2a57a3b34b11b77838d4ac51c1ddb80caab1030224e28567836e5d0a17b4ea6bd1afa2523c SHA512 63f267082f4ba17f6a1226d1c5a14d85d17e0f7a84857605933418d875d09cfffe2a0ca304b8a171dcae59169330fcc3cfca9d6f4c9ce24d135f1125a6d06c70
|
MISC metadata.xml 217 BLAKE2B 41b11b7399431ee96c40a11373f20b12940ed7bb1fc77b1619212b2a57a3b34b11b77838d4ac51c1ddb80caab1030224e28567836e5d0a17b4ea6bd1afa2523c SHA512 63f267082f4ba17f6a1226d1c5a14d85d17e0f7a84857605933418d875d09cfffe2a0ca304b8a171dcae59169330fcc3cfca9d6f4c9ce24d135f1125a6d06c70
|
||||||
|
@ -1,69 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
# ebuild generated by hackport 0.3.6.9999
|
|
||||||
|
|
||||||
CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
|
|
||||||
CABAL_FEATURES+=" nocabaldep"
|
|
||||||
inherit haskell-cabal pax-utils
|
|
||||||
|
|
||||||
DESCRIPTION="A documentation-generation tool for Haskell libraries"
|
|
||||||
HOMEPAGE="https://www.haskell.org/haddock/"
|
|
||||||
#SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
|
|
||||||
SRC_URI="http://code.haskell.org/~slyfox/snapshots/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RESTRICT=test # many test depends are not keyworded yet
|
|
||||||
|
|
||||||
RDEPEND="dev-haskell/ghc-paths:=[profile?]
|
|
||||||
>=dev-haskell/xhtml-3000.2:=[profile?] <dev-haskell/xhtml-3000.3:=[profile?]
|
|
||||||
>=dev-lang/ghc-7.8.3:= <dev-lang/ghc-7.9:=
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if [[ ! -e "${S}/html" ]]; then
|
|
||||||
ln -s resources/html "${S}/html" || die "Could not create symbolic link ${S}/html"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# create a fake haddock executable. it'll set the right version to cabal
|
|
||||||
# configure, but will eventually get overwritten in src_compile by
|
|
||||||
# the real executable.
|
|
||||||
local exe="${S}/dist/build/haddock/haddock"
|
|
||||||
mkdir -p $(dirname "${exe}")
|
|
||||||
echo -e "#!/bin/sh\necho Haddock version ${PV}" > "${exe}"
|
|
||||||
chmod +x "${exe}"
|
|
||||||
|
|
||||||
# we use 'nocabaldep' to use ghc's bundled Cabal
|
|
||||||
# as external one is likely to break our haddock
|
|
||||||
# (known to work on 1.16.0 and breaks on 1.16.0.1!)
|
|
||||||
haskell-cabal_src_configure \
|
|
||||||
--ghc-options=-rtsopts \
|
|
||||||
--with-haddock="${exe}" \
|
|
||||||
--constraint="Cabal == $(cabal-version)"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# when building the (recursive..) haddock docs, change the datadir to the
|
|
||||||
# current directory, as we're using haddock inplace even if it's built to be
|
|
||||||
# installed into the system first.
|
|
||||||
haddock_datadir="${S}" haskell-cabal_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cabal_src_install
|
|
||||||
# haddock uses GHC-api to process TH source.
|
|
||||||
# TH requires GHCi which needs mmap('rwx') (bug #299709)
|
|
||||||
pax-mark -m "${D}/usr/bin/${PN}"
|
|
||||||
}
|
|
@ -1,71 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
# ebuild generated by hackport 0.4.4.9999
|
|
||||||
|
|
||||||
CABAL_FEATURES="bin test-suite"
|
|
||||||
CABAL_FEATURES+=" nocabaldep"
|
|
||||||
inherit haskell-cabal pax-utils
|
|
||||||
|
|
||||||
DESCRIPTION="A documentation-generation tool for Haskell libraries"
|
|
||||||
HOMEPAGE="https://www.haskell.org/haddock/"
|
|
||||||
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RESTRICT=test # tests are outdated
|
|
||||||
|
|
||||||
RDEPEND=""
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
>=dev-haskell/cabal-1.10
|
|
||||||
>=dev-lang/ghc-7.4.1
|
|
||||||
~dev-haskell/haddock-api-2.16.1
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if [[ ! -e "${S}/html" ]]; then
|
|
||||||
ln -s resources/html "${S}/html" || die "Could not create symbolic link ${S}/html"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# create a fake haddock executable. it'll set the right version to cabal
|
|
||||||
# configure, but will eventually get overwritten in src_compile by
|
|
||||||
# the real executable.
|
|
||||||
local exe="${S}/dist/build/haddock/haddock"
|
|
||||||
mkdir -p $(dirname "${exe}")
|
|
||||||
echo -e "#!/bin/sh\necho Haddock version ${PV}" > "${exe}"
|
|
||||||
chmod +x "${exe}"
|
|
||||||
|
|
||||||
# we use 'nocabaldep' to use ghc's bundled Cabal
|
|
||||||
# as external one is likely to break our haddock
|
|
||||||
# (known to work on 1.16.0 and breaks on 1.16.0.1!)
|
|
||||||
haskell-cabal_src_configure \
|
|
||||||
--flags=-in-ghc-tree \
|
|
||||||
--ghc-options=-rtsopts \
|
|
||||||
--with-haddock="${exe}" \
|
|
||||||
--constraint="Cabal == $(cabal-version)"
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# when building the (recursive..) haddock docs, change the datadir to the
|
|
||||||
# current directory, as we're using haddock inplace even if it's built to be
|
|
||||||
# installed into the system first.
|
|
||||||
haddock_datadir="${S}" haskell-cabal_src_compile
|
|
||||||
pax-mark -m "${S}/dist/build/haddock"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cabal_src_install
|
|
||||||
# haddock uses GHC-api to process TH source.
|
|
||||||
# TH requires GHCi which needs mmap('rwx') (bug #299709)
|
|
||||||
pax-mark -m "${D}/usr/bin/${PN}"
|
|
||||||
}
|
|
@ -1,34 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
# ebuild generated by hackport 0.5.9999
|
|
||||||
#hackport: flags: -in-ghc-tree
|
|
||||||
|
|
||||||
CABAL_FEATURES="bin test-suite"
|
|
||||||
inherit haskell-cabal
|
|
||||||
|
|
||||||
DESCRIPTION="A documentation-generation tool for Haskell libraries"
|
|
||||||
HOMEPAGE="https://www.haskell.org/haddock/"
|
|
||||||
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
#keep in sync with ghc-8.0.1
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RESTRICT=test # there is no haddock-test on hackage yet
|
|
||||||
|
|
||||||
RDEPEND=">=dev-haskell/haddock-api-2.17:= <dev-haskell/haddock-api-2.18:=
|
|
||||||
>=dev-lang/ghc-7.4.1:=
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
>=dev-haskell/cabal-1.10
|
|
||||||
"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
haskell-cabal_src_configure \
|
|
||||||
--flag=-in-ghc-tree
|
|
||||||
}
|
|
Binary file not shown.
@ -1,6 +1,8 @@
|
|||||||
AUX jmock-1.2.0-AbstractMo.patch 1189 BLAKE2B d10edde92384c86c2cbf9605cffcf25aa0acbd073e8803b88cccca2b4b94839e28458cb02f647cb492615836e7df02562329fb6135876c2a39fe5bb8fa7766bd SHA512 b4d59d16c2c513031b3b36fc2bdf4526cee8bfa405cac4c2c76d850289a835ba6e57d4e042ed4afe2814a217dcc1493afe80af9fd17fa066d1ada96af6dfa663
|
AUX jmock-1.2.0-AbstractMo.patch 1193 BLAKE2B b822ccada923c92a421294549ffb9f02fffeffbd7a57bdc79e0749147a361ad2cd0fed6b5b63166d21078684b235312393fb7af63a3b293d0e8a7a1f18fa70eb SHA512 53ac2c2f603aa8685aa18737b96a05fa590ed9bda8208dc06ceca159eed7dcb609a01cfb113597fad335f5ceed89d796e448c4deaffd3076a29d57c6ed8f15ed
|
||||||
DIST jmock-1.2.0-jars.zip 153214 BLAKE2B 2c40696229018406f3b60559013b73b5331c223da6e2743830c4c9b8b728484b1ebed8fb347c240f50f6936c2fd1e4ee85b754315682047a87a14414effc3a48 SHA512 5290f1d14cbc3d0f223bdaf59716b037dbc021c8f39a3784d13af8d8be3edbddc5e2eb4754b80e78ae954daf12889210183e7e11c110012b4d9320344efe19da
|
DIST jmock-1.2.0-jars.zip 153214 BLAKE2B 2c40696229018406f3b60559013b73b5331c223da6e2743830c4c9b8b728484b1ebed8fb347c240f50f6936c2fd1e4ee85b754315682047a87a14414effc3a48 SHA512 5290f1d14cbc3d0f223bdaf59716b037dbc021c8f39a3784d13af8d8be3edbddc5e2eb4754b80e78ae954daf12889210183e7e11c110012b4d9320344efe19da
|
||||||
DIST jmock-2.6.1-jars.zip 1249841 BLAKE2B 87861dad7151000e1397a54d0ded7e49c3fd81fca64afd74d6176436f336be5b5e89f73be8c124cf086798f74aef4972303137529113e3c85ba93353f95e3a42 SHA512 7cd1d2e89dceb31c68ad3f702ad937b5de6ec77cc37e94be7aa53db2fc61d11aa40ec5aab225a3eeeba5064ad8384f10413ac05a9df97102c8e63f4209ea149e
|
DIST jmock-2.6.1-jars.zip 1249841 BLAKE2B 87861dad7151000e1397a54d0ded7e49c3fd81fca64afd74d6176436f336be5b5e89f73be8c124cf086798f74aef4972303137529113e3c85ba93353f95e3a42 SHA512 7cd1d2e89dceb31c68ad3f702ad937b5de6ec77cc37e94be7aa53db2fc61d11aa40ec5aab225a3eeeba5064ad8384f10413ac05a9df97102c8e63f4209ea149e
|
||||||
EBUILD jmock-1.2.0-r1.ebuild 971 BLAKE2B ebd8861dc5e02c85c98289f2820a7be9f006f97ee62fce32c7c45880bfaaa03745f78677408a1c6aac383bfa7e85e2ea26f0166c59bcdf8e541171b63575d6c7 SHA512 1450db05391b0241bf95f78824092d5bf4657632155f28a70d47cfd79510526399c7b1351a58318b9723b22f17f34e44d8a4bad6f2f17c4135a12d29e7fd92d0
|
EBUILD jmock-1.2.0-r1.ebuild 963 BLAKE2B 53c60bdddb516f45f903006554fe3db2069b8a0f22508849f1af907e8e6489a5928b80e0491ef1cd793cf629d224559224852f1b016d46256296ed5ef5c8c7cf SHA512 a9b123f34046856f913ecfa0fdf70f243b4e0914a56746a95af2738aca3c17756f4c3319978bb7070157be0460c8f59478c8801bafd089572cf9383ddef06117
|
||||||
EBUILD jmock-2.6.1.ebuild 828 BLAKE2B c76836b50142234275461ef7e3801bf2d4e698f63d826496db984dd514234278b6307d49d340e5941ad3cdf00e4a0307c3ca17fef9409344668417fccf345242 SHA512 13a6f4ef2997353cb0761d5da4fc571324cd401375a54fdb629135ae09cfca077d6ba266a681bb1d737ca3c927707bb64dea79599e825095793485b0e51314f7
|
EBUILD jmock-1.2.0-r2.ebuild 965 BLAKE2B 4d3a87e9f269319f352a8abbe56102fed3f51f7a531a1ecdf3c07dff064814f507d2bb8c078eed2d929bf789dc8f014fe09736d0d71da70c0fa78e3a3c4a6d2c SHA512 d25b8b8de0e4efbb709616ee9d7d7a6be36fe80f39b80e386222bd46f99171d55a7ab0b544a78c522882cc97e5e7405f8521d0a9d3b013509ad11e7a31530329
|
||||||
|
EBUILD jmock-2.6.1-r1.ebuild 827 BLAKE2B f2866e65ae2a8d260827802c36196c6de59b1fc5a2a40e1f07263e0670b9ba143cb751468144a68dc16a427c15d64607ae3743cd09353d4c6485d4b7dfe14215 SHA512 dafa81e697fa9ce57547ac75d72787b6dbdaff3b227c06be7e6f08c06bd4e208c6c2fcfb538f9bacf5ca2a6da96f83a68f53f57ae24dfaccd28f1258f9b15877
|
||||||
|
EBUILD jmock-2.6.1.ebuild 820 BLAKE2B 0041aabe995530a8105d30a7914629446f722c1508da4307234f746278a578e5fe2c42716822f4e2ee0980c0ef6882515615934dee7b05d208f7c8f021eae6dc SHA512 8a41af0316631b30d9b891eb7cc153ec0fdcad09786f807f657e1e2a5c1170f25004103dff1ffcf99f54cc63097beb2fd0b299e86f226c531b9ca593e61c3f03
|
||||||
MISC metadata.xml 232 BLAKE2B 513679b02247d8e4cb4c874abd785119d9ca62ad24c44969d52a42c3765d0ebf689024512a2c4c48e69688a4ce02a74ae05708b050a720bc73d8d2bf2ceff58d SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893
|
MISC metadata.xml 232 BLAKE2B 513679b02247d8e4cb4c874abd785119d9ca62ad24c44969d52a42c3765d0ebf689024512a2c4c48e69688a4ce02a74ae05708b050a720bc73d8d2bf2ceff58d SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893
|
||||||
|
@ -0,0 +1,48 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
JAVA_PKG_IUSE="doc source"
|
||||||
|
|
||||||
|
inherit java-pkg-2 java-pkg-simple
|
||||||
|
|
||||||
|
DESCRIPTION="Library for testing Java code using mock objects"
|
||||||
|
HOMEPAGE="http://jmock.org/"
|
||||||
|
SRC_URI="http://jmock.org/downloads/${P}-jars.zip"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="1.0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||||
|
|
||||||
|
CDEPEND="dev-java/junit:0"
|
||||||
|
|
||||||
|
RDEPEND=">=virtual/jre-1.8:*
|
||||||
|
${CDEPEND}"
|
||||||
|
|
||||||
|
DEPEND="app-arch/unzip
|
||||||
|
>=virtual/jdk-1.8:*
|
||||||
|
${CDEPEND}"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${P}"
|
||||||
|
|
||||||
|
JAVA_SRC_DIR="src"
|
||||||
|
JAVA_GENTOO_CLASSPATH="junit"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
# This patch isn't changing the behaviour if jmock per se.
|
||||||
|
# Only the formatting is altered.
|
||||||
|
"${FILESDIR}"/${P}-AbstractMo.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ${A}
|
||||||
|
unzip "${P}"/jmock-core-"${PV}".jar -d src || die
|
||||||
|
mv src "${P}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
find -name "*.class" -delete || die
|
||||||
|
rm *.jar || die
|
||||||
|
}
|
@ -0,0 +1,43 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
JAVA_PKG_IUSE="doc source"
|
||||||
|
|
||||||
|
inherit java-pkg-2 java-pkg-simple
|
||||||
|
|
||||||
|
DESCRIPTION="Library for testing Java code using mock objects"
|
||||||
|
HOMEPAGE="http://jmock.org"
|
||||||
|
SRC_URI="http://jmock.org/downloads/${P}-jars.zip"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="2"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||||
|
|
||||||
|
CDEPEND="dev-java/hamcrest-core:1.3
|
||||||
|
dev-java/hamcrest-library:1.3
|
||||||
|
dev-java/junit:4"
|
||||||
|
|
||||||
|
RDEPEND=">=virtual/jre-1.8:*
|
||||||
|
${CDEPEND}"
|
||||||
|
|
||||||
|
DEPEND="app-arch/unzip
|
||||||
|
>=virtual/jdk-1.8:*
|
||||||
|
${CDEPEND}"
|
||||||
|
|
||||||
|
JAVA_GENTOO_CLASSPATH="hamcrest-core-1.3,hamcrest-library-1.3,junit-4"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${P}"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ${A}
|
||||||
|
cd "${S}" || die
|
||||||
|
unzip ${P}.jar -d src || die
|
||||||
|
rm *.jar || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
find -name "*.class" -delete || die
|
||||||
|
}
|
Binary file not shown.
@ -1,674 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
# to make make a crosscompiler use crossdev and symlink ghc tree into
|
|
||||||
# cross overlay. result would look like 'cross-sparc-unknown-linux-gnu/ghc'
|
|
||||||
#
|
|
||||||
# 'CTARGET' definition and 'is_crosscompile' are taken from 'toolchain.eclass'
|
|
||||||
export CTARGET=${CTARGET:-${CHOST}}
|
|
||||||
if [[ ${CTARGET} = ${CHOST} ]] ; then
|
|
||||||
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
|
|
||||||
export CTARGET=${CATEGORY/cross-}
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
inherit autotools bash-completion-r1 eutils flag-o-matic ghc-package
|
|
||||||
inherit multilib pax-utils toolchain-funcs versionator prefix
|
|
||||||
|
|
||||||
DESCRIPTION="The Glasgow Haskell Compiler"
|
|
||||||
HOMEPAGE="https://www.haskell.org/ghc/"
|
|
||||||
|
|
||||||
# we don't have any binaries yet
|
|
||||||
arch_binaries=""
|
|
||||||
|
|
||||||
# sorted!
|
|
||||||
arch_binaries="$arch_binaries alpha? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-alpha.tbz2 )"
|
|
||||||
#arch_binaries="$arch_binaries arm? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-arm.tbz2 )"
|
|
||||||
arch_binaries="$arch_binaries amd64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PVR}-amd64.tbz2 )"
|
|
||||||
arch_binaries="$arch_binaries ia64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ia64.tbz2 )"
|
|
||||||
arch_binaries="$arch_binaries ppc? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ppc.tbz2 )"
|
|
||||||
arch_binaries="$arch_binaries ppc64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ppc64.tbz2 )"
|
|
||||||
arch_binaries="$arch_binaries sparc? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-sparc.tbz2 )"
|
|
||||||
arch_binaries="$arch_binaries x86? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PVR}-x86.tbz2 )"
|
|
||||||
|
|
||||||
# various ports:
|
|
||||||
#arch_binaries="$arch_binaries x86-fbsd? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-x86-fbsd.tbz2 )"
|
|
||||||
|
|
||||||
# 0 - yet
|
|
||||||
yet_binary() {
|
|
||||||
case "${ARCH}" in
|
|
||||||
alpha) return 0 ;;
|
|
||||||
#arm)
|
|
||||||
# ewarn "ARM binary is built on armv5tel-eabi toolchain. Use with caution."
|
|
||||||
# return 0
|
|
||||||
#;;
|
|
||||||
amd64) return 0 ;;
|
|
||||||
ia64) return 0 ;;
|
|
||||||
ppc) return 0 ;;
|
|
||||||
ppc64) return 0 ;;
|
|
||||||
sparc) return 0 ;;
|
|
||||||
x86) return 0 ;;
|
|
||||||
*) return 1 ;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
GHC_PV=${PV}
|
|
||||||
#GHC_PV=7.10.2.20151030 # uncomment only for -rc ebuilds
|
|
||||||
GHC_P=${PN}-${GHC_PV} # using ${P} is almost never correct
|
|
||||||
|
|
||||||
SRC_URI="!binary? ( https://downloads.haskell.org/~ghc/${PV/_rc/-rc}/${GHC_P}-src.tar.bz2 )"
|
|
||||||
S="${WORKDIR}"/${GHC_P}
|
|
||||||
|
|
||||||
[[ -n $arch_binaries ]] && SRC_URI+=" !ghcbootstrap? ( $arch_binaries )"
|
|
||||||
|
|
||||||
BUMP_LIBRARIES=(
|
|
||||||
# "hackage-name hackage-version"
|
|
||||||
"binary 0.7.6.1"
|
|
||||||
"hoopl 3.10.2.0"
|
|
||||||
"transformers 0.4.3.0"
|
|
||||||
)
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="doc ghcbootstrap ghcmakebinary +gmp"
|
|
||||||
IUSE+=" binary"
|
|
||||||
IUSE+=" elibc_glibc" # system stuff
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-lang/perl-5.6.1
|
|
||||||
>=dev-libs/gmp-5:=
|
|
||||||
sys-libs/ncurses:0=[unicode]
|
|
||||||
!ghcmakebinary? ( dev-libs/libffi:= )
|
|
||||||
"
|
|
||||||
|
|
||||||
# This set of dependencies is needed to run
|
|
||||||
# prebuilt ghc. We specifically avoid ncurses
|
|
||||||
# dependency with:
|
|
||||||
# utils/ghc-pkg_HC_OPTS += -DBOOTSTRAPPING
|
|
||||||
PREBUILT_BINARY_DEPENDS="
|
|
||||||
!prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.17 ) )
|
|
||||||
"
|
|
||||||
# This set of dependencies is needed to install
|
|
||||||
# ghc[binary] in system. terminfo package is linked
|
|
||||||
# against ncurses.
|
|
||||||
PREBUILT_BINARY_RDEPENDS="${PREBUILT_BINARY_DEPENDS}
|
|
||||||
sys-libs/ncurses-compat:5
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND+="binary? ( ${PREBUILT_BINARY_RDEPENDS} )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
doc? ( app-text/docbook-xml-dtd:4.2
|
|
||||||
app-text/docbook-xml-dtd:4.5
|
|
||||||
app-text/docbook-xsl-stylesheets
|
|
||||||
>=dev-libs/libxslt-1.1.2 )
|
|
||||||
!ghcbootstrap? ( ${PREBUILT_BINARY_DEPENDS} )"
|
|
||||||
|
|
||||||
PDEPEND="!ghcbootstrap? ( =app-admin/haskell-updater-1.2* )"
|
|
||||||
|
|
||||||
REQUIRED_USE="?? ( ghcbootstrap binary )"
|
|
||||||
|
|
||||||
# haskell libraries built with cabal in configure mode, #515354
|
|
||||||
QA_CONFIGURE_OPTIONS+=" --with-compiler --with-gcc"
|
|
||||||
|
|
||||||
is_crosscompile() {
|
|
||||||
[[ ${CHOST} != ${CTARGET} ]]
|
|
||||||
}
|
|
||||||
|
|
||||||
# returns tool prefix for crosscompiler.
|
|
||||||
# Example:
|
|
||||||
# CTARGET=armv7a-unknown-linux-gnueabi
|
|
||||||
# CHOST=x86_64-pc-linux-gnu
|
|
||||||
# "armv7a-unknown-linux-gnueabi-"
|
|
||||||
# CTARGET=${CHOST}
|
|
||||||
# ""
|
|
||||||
# Used in tools and library prefix:
|
|
||||||
# "${ED}"/usr/bin/$(cross)haddock
|
|
||||||
# "${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d"
|
|
||||||
|
|
||||||
cross() {
|
|
||||||
if is_crosscompile; then
|
|
||||||
echo "${CTARGET}-"
|
|
||||||
else
|
|
||||||
echo ""
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
append-ghc-cflags() {
|
|
||||||
local persistent compile assemble link
|
|
||||||
local flag ghcflag
|
|
||||||
|
|
||||||
for flag in $*; do
|
|
||||||
case ${flag} in
|
|
||||||
persistent) persistent="yes";;
|
|
||||||
compile) compile="yes";;
|
|
||||||
assemble) assemble="yes";;
|
|
||||||
link) link="yes";;
|
|
||||||
*)
|
|
||||||
[[ ${compile} ]] && ghcflag="-optc${flag}" CFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
|
||||||
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
|
||||||
[[ ${assemble} ]] && ghcflag="-opta${flag}" CFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
|
||||||
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
|
||||||
[[ ${link} ]] && ghcflag="-optl${flag}" LDFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
|
||||||
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# $1 - lib name (under libraries/)
|
|
||||||
# $2 - lib version
|
|
||||||
# example: bump_lib "transformers" "0.4.2.0"
|
|
||||||
bump_lib() {
|
|
||||||
local pn=$1 pv=$2
|
|
||||||
local p=${pn}-${pv}
|
|
||||||
local f
|
|
||||||
|
|
||||||
einfo "Bumping ${pn} up to ${pv}"
|
|
||||||
|
|
||||||
for f in ghc.mk GNUmakefile; do
|
|
||||||
mv libraries/"${pn}"/$f "${WORKDIR}"/"${p}"/$f || die
|
|
||||||
done
|
|
||||||
mv libraries/"${pn}" "${WORKDIR}"/"${pn}".old || die
|
|
||||||
mv "${WORKDIR}"/"${p}" libraries/"${pn}" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
update_SRC_URI() {
|
|
||||||
local p pn pv
|
|
||||||
for p in "${BUMP_LIBRARIES[@]}"; do
|
|
||||||
set -- $p
|
|
||||||
pn=$1 pv=$2
|
|
||||||
|
|
||||||
SRC_URI+=" https://hackage.haskell.org/package/${pn}-${pv}/${pn}-${pv}.tar.gz"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
update_SRC_URI
|
|
||||||
|
|
||||||
bump_libs() {
|
|
||||||
local p pn pv
|
|
||||||
for p in "${BUMP_LIBRARIES[@]}"; do
|
|
||||||
set -- $p
|
|
||||||
pn=$1 pv=$2
|
|
||||||
|
|
||||||
bump_lib "${pn}" "${pv}"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
ghc_setup_cflags() {
|
|
||||||
if is_crosscompile; then
|
|
||||||
export CFLAGS=${GHC_CFLAGS-"-O2 -pipe"}
|
|
||||||
export LDFLAGS=${GHC_LDFLAGS-"-Wl,-O1"}
|
|
||||||
einfo "Crosscompiling mode:"
|
|
||||||
einfo " CHOST: ${CHOST}"
|
|
||||||
einfo " CTARGET: ${CTARGET}"
|
|
||||||
einfo " CFLAGS: ${CFLAGS}"
|
|
||||||
einfo " LDFLAGS: ${LDFLAGS}"
|
|
||||||
einfo " prefix: $(cross)"
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
# We need to be very careful with the CFLAGS we ask ghc to pass through to
|
|
||||||
# gcc. There are plenty of flags which will make gcc produce output that
|
|
||||||
# breaks ghc in various ways. The main ones we want to pass through are
|
|
||||||
# -mcpu / -march flags. These are important for arches like alpha & sparc.
|
|
||||||
# We also use these CFLAGS for building the C parts of ghc, ie the rts.
|
|
||||||
strip-flags
|
|
||||||
strip-unsupported-flags
|
|
||||||
|
|
||||||
# Cmm can't parse line numbers #482086
|
|
||||||
replace-flags -ggdb[3-9] -ggdb2
|
|
||||||
|
|
||||||
GHC_FLAGS=""
|
|
||||||
GHC_PERSISTENT_FLAGS=""
|
|
||||||
for flag in ${CFLAGS}; do
|
|
||||||
case ${flag} in
|
|
||||||
|
|
||||||
# Ignore extra optimisation (ghc passes -O to gcc anyway)
|
|
||||||
# -O2 and above break on too many systems
|
|
||||||
-O*) ;;
|
|
||||||
|
|
||||||
# Arch and ABI flags are what we're really after
|
|
||||||
-m*) append-ghc-cflags compile assemble ${flag};;
|
|
||||||
|
|
||||||
# Sometimes it's handy to see backtrace of RTS
|
|
||||||
# to get an idea what happens there
|
|
||||||
-g*) append-ghc-cflags compile ${flag};;
|
|
||||||
|
|
||||||
# Ignore all other flags, including all -f* flags
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
for flag in ${LDFLAGS}; do
|
|
||||||
append-ghc-cflags link ${flag}
|
|
||||||
done
|
|
||||||
|
|
||||||
# hardened-gcc needs to be disabled, because our prebuilt binaries/libraries
|
|
||||||
# are not built with fPIC, bug #606666
|
|
||||||
gcc-specs-pie && append-ghc-cflags persistent compile link -nopie
|
|
||||||
tc-is-gcc && version_is_at_least 6.3 $(gcc-version) && if ! use ghcbootstrap; then
|
|
||||||
# gcc-6.3 has support for -no-pie upstream, but spelling differs from
|
|
||||||
# gentoo-specific '-nopie'. We enable it in non-bootstrap to allow
|
|
||||||
# hardened users try '-pie' in USE=ghcbootstrap mode.
|
|
||||||
append-ghc-cflags compile link -no-pie
|
|
||||||
fi
|
|
||||||
gcc-specs-ssp && append-ghc-cflags persistent compile -fno-stack-protector
|
|
||||||
|
|
||||||
# prevent from failind building unregisterised ghc:
|
|
||||||
# https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg171602.html
|
|
||||||
use ppc64 && append-ghc-cflags persistent compile -mminimal-toc
|
|
||||||
# fix the similar issue as ppc64 TOC on ia64. ia64 has limited size of small data
|
|
||||||
# currently ghc fails to build haddock
|
|
||||||
# https://osdir.com/ml/gnu.binutils.bugs/2004-10/msg00050.html
|
|
||||||
use ia64 && append-ghc-cflags persistent compile -G0
|
|
||||||
}
|
|
||||||
|
|
||||||
# substitutes string $1 to $2 in files $3 $4 ...
|
|
||||||
relocate_path() {
|
|
||||||
local from=$1
|
|
||||||
local to=$2
|
|
||||||
shift 2
|
|
||||||
local file=
|
|
||||||
for file in "$@"
|
|
||||||
do
|
|
||||||
sed -i -e "s|$from|$to|g" \
|
|
||||||
"$file" || die "path relocation failed for '$file'"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# changes hardcoded ghc paths and updates package index
|
|
||||||
# $1 - new absolute root path
|
|
||||||
relocate_ghc() {
|
|
||||||
local to=$1
|
|
||||||
|
|
||||||
# libdir for prebuilt binary and for current system may mismatch
|
|
||||||
# It does for prefix installation for example: bug #476998
|
|
||||||
local bin_ghc_prefix=${WORKDIR}/usr
|
|
||||||
local bin_libpath=$(echo "${bin_ghc_prefix}"/lib*)
|
|
||||||
local bin_libdir=${bin_libpath#${bin_ghc_prefix}/}
|
|
||||||
|
|
||||||
# backup original script to use it later after relocation
|
|
||||||
local gp_back="${T}/ghc-pkg-${GHC_PV}-orig"
|
|
||||||
cp "${WORKDIR}/usr/bin/$(cross)ghc-pkg-${GHC_PV}" "$gp_back" || die "unable to backup ghc-pkg wrapper"
|
|
||||||
|
|
||||||
if [[ ${bin_libdir} != $(get_libdir) ]]; then
|
|
||||||
einfo "Relocating '${bin_libdir}' to '$(get_libdir)' (bug #476998)"
|
|
||||||
# moving the dir itself is not strictly needed
|
|
||||||
# but then USE=binary would result in installing
|
|
||||||
# in '${bin_libdir}'
|
|
||||||
mv "${bin_ghc_prefix}/${bin_libdir}" "${bin_ghc_prefix}/$(get_libdir)" || die
|
|
||||||
|
|
||||||
relocate_path "/usr/${bin_libdir}" "/usr/$(get_libdir)" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)ghc-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)ghci-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)ghc-pkg-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)hsc2hs" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)runghc-${GHC_PV}" \
|
|
||||||
"$gp_back" \
|
|
||||||
"${WORKDIR}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d/"*
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Relocate from /usr to ${EPREFIX}/usr
|
|
||||||
relocate_path "/usr" "${to}/usr" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)ghc-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)ghci-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)ghc-pkg-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)hsc2hs" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)runghc-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d/"*
|
|
||||||
|
|
||||||
# this one we will use to regenerate cache
|
|
||||||
# so it should point to current tree location
|
|
||||||
relocate_path "/usr" "${WORKDIR}/usr" "$gp_back"
|
|
||||||
|
|
||||||
if use prefix; then
|
|
||||||
hprefixify "${bin_libpath}"/${PN}*/settings
|
|
||||||
fi
|
|
||||||
|
|
||||||
# regenerate the binary package cache
|
|
||||||
"$gp_back" recache || die "failed to update cache after relocation"
|
|
||||||
rm "$gp_back"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# quiet portage about prebuilt binaries
|
|
||||||
use binary && QA_PREBUILT="*"
|
|
||||||
|
|
||||||
[[ ${MERGE_TYPE} == binary ]] && return
|
|
||||||
|
|
||||||
if use ghcbootstrap; then
|
|
||||||
ewarn "You requested ghc bootstrapping, this is usually only used"
|
|
||||||
ewarn "by Gentoo developers to make binary .tbz2 packages."
|
|
||||||
|
|
||||||
[[ -z $(type -P ghc) ]] && \
|
|
||||||
die "Could not find a ghc to bootstrap with."
|
|
||||||
else
|
|
||||||
if ! yet_binary; then
|
|
||||||
eerror "Please try emerging with USE=ghcbootstrap and report build"
|
|
||||||
eerror "sucess or failure to the haskell team (haskell@gentoo.org)"
|
|
||||||
die "No binary available for '${ARCH}' arch yet, USE=ghcbootstrap"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
# Create the ${S} dir if we're using the binary version
|
|
||||||
use binary && mkdir "${S}"
|
|
||||||
|
|
||||||
# the Solaris and Darwin binaries from ghc (maeder) need to be
|
|
||||||
# unpacked separately, so prevent them from being unpacked
|
|
||||||
local ONLYA=${A}
|
|
||||||
case ${CHOST} in
|
|
||||||
*-darwin* | *-solaris*) ONLYA=${GHC_P}-src.tar.bz2 ;;
|
|
||||||
esac
|
|
||||||
unpack ${ONLYA}
|
|
||||||
|
|
||||||
if [[ -d "${S}"/libraries/dph ]]; then
|
|
||||||
# Sometimes dph libs get accidentally shipped with ghc
|
|
||||||
# but they are not installed unless user requests it.
|
|
||||||
# We never install them.
|
|
||||||
elog "Removing 'libraries/dph'"
|
|
||||||
rm -rf "${S}"/libraries/dph
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
ghc_setup_cflags
|
|
||||||
|
|
||||||
if ! use ghcbootstrap && [[ ${CHOST} != *-darwin* && ${CHOST} != *-solaris* ]]; then
|
|
||||||
# Modify the wrapper script from the binary tarball to use GHC_PERSISTENT_FLAGS.
|
|
||||||
# See bug #313635.
|
|
||||||
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_PERSISTENT_FLAGS}|" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)ghc-${GHC_PV}"
|
|
||||||
|
|
||||||
# allow hardened users use vanilla binary to bootstrap ghc
|
|
||||||
# ghci uses mmap with rwx protection at it implements dynamic
|
|
||||||
# linking on it's own (bug #299709)
|
|
||||||
pax-mark -m "${WORKDIR}/usr/$(get_libdir)/$(cross)${GHC_P}/bin/ghc"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use binary; then
|
|
||||||
if use prefix; then
|
|
||||||
relocate_ghc "${EPREFIX}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Move unpacked files to the expected place
|
|
||||||
mv "${WORKDIR}/usr" "${S}"
|
|
||||||
else
|
|
||||||
if ! use ghcbootstrap; then
|
|
||||||
case ${CHOST} in
|
|
||||||
*-darwin* | *-solaris*)
|
|
||||||
# UPDATE ME for ghc-7
|
|
||||||
mkdir "${WORKDIR}"/ghc-bin-installer || die
|
|
||||||
pushd "${WORKDIR}"/ghc-bin-installer > /dev/null || die
|
|
||||||
use sparc-solaris && unpack ghc-6.10.4-sparc-sun-solaris2.tar.bz2
|
|
||||||
use x86-solaris && unpack ghc-7.0.3-i386-unknown-solaris2.tar.bz2
|
|
||||||
use x64-macos && unpack ghc-7.4.1-x86_64-apple-darwin.tar.bz2
|
|
||||||
popd > /dev/null
|
|
||||||
|
|
||||||
pushd "${WORKDIR}"/ghc-bin-installer/ghc-[67].?*.? > /dev/null || die
|
|
||||||
# fix the binaries so they run, on Solaris we need an
|
|
||||||
# LD_LIBRARY_PATH which has our prefix libdirs, on
|
|
||||||
# Darwin we need to replace the frameworks with our libs
|
|
||||||
# from the prefix fix before installation, because some
|
|
||||||
# of the tools are actually used during configure/make
|
|
||||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
|
||||||
export LD_LIBRARY_PATH="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir):${LD_LIBRARY_PATH}"
|
|
||||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
|
||||||
local readline_framework=GNUreadline.framework/GNUreadline
|
|
||||||
local gmp_framework=/opt/local/lib/libgmp.10.dylib
|
|
||||||
local ncurses_file=/opt/local/lib/libncurses.5.dylib
|
|
||||||
for binary in $(scanmacho -BRE MH_EXECUTE -F '%F' .) ; do
|
|
||||||
install_name_tool -change \
|
|
||||||
${readline_framework} \
|
|
||||||
"${EPREFIX}"/lib/libreadline.dylib \
|
|
||||||
${binary} || die
|
|
||||||
install_name_tool -change \
|
|
||||||
${gmp_framework} \
|
|
||||||
"${EPREFIX}"/usr/lib/libgmp.dylib \
|
|
||||||
${binary} || die
|
|
||||||
install_name_tool -change \
|
|
||||||
${ncurses_file} \
|
|
||||||
"${EPREFIX}"/usr/lib/libncurses.dylib \
|
|
||||||
${binary} || die
|
|
||||||
done
|
|
||||||
# we don't do frameworks!
|
|
||||||
sed -i \
|
|
||||||
-e 's/\(frameworks = \)\["GMP"\]/\1[]/g' \
|
|
||||||
-e 's/\(extraLibraries = \)\["m"\]/\1["m","gmp"]/g' \
|
|
||||||
rts/package.conf.in || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# it is autoconf, but we really don't want to give it too
|
|
||||||
# much arguments, in fact we do the make in-place anyway
|
|
||||||
./configure --prefix="${WORKDIR}"/usr || die
|
|
||||||
make install || die
|
|
||||||
popd > /dev/null
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
relocate_ghc "${WORKDIR}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_PERSISTENT_FLAGS}|" \
|
|
||||||
"${S}/ghc/ghc.wrapper"
|
|
||||||
|
|
||||||
cd "${S}" # otherwise epatch will break
|
|
||||||
|
|
||||||
epatch "${FILESDIR}"/${PN}-7.0.4-CHOST-prefix.patch
|
|
||||||
|
|
||||||
epatch "${FILESDIR}"/${PN}-7.8.2-cgen-constify.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-7.8.3-prim-lm.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-7.10.1-rc3-ghc-7.10-bootstrap.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-7.10.3-relnotes.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-7.10.3-hardfloat.patch
|
|
||||||
|
|
||||||
# Since ${S}/packages does not include base, etc. add them to gen_contents_index
|
|
||||||
sed -e 's@\(for REPO in .*\)@\1 base integer-gmp integer-gmp2 integer-simple template-haskell@' \
|
|
||||||
-i libraries/gen_contents_index || die
|
|
||||||
|
|
||||||
if use prefix; then
|
|
||||||
# Make configure find docbook-xsl-stylesheets from Prefix
|
|
||||||
sed -e '/^FP_DIR_DOCBOOK_XSL/s:\[.*\]:['"${EPREFIX}"'/usr/share/sgml/docbook/xsl-stylesheets/]:' \
|
|
||||||
-i utils/haddock/doc/configure.ac || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
bump_libs
|
|
||||||
|
|
||||||
# as we have changed the build system
|
|
||||||
eautoreconf
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
if ! use binary; then
|
|
||||||
# initialize build.mk
|
|
||||||
echo '# Gentoo changes' > mk/build.mk
|
|
||||||
|
|
||||||
# Put docs into the right place, ie /usr/share/doc/ghc-${GHC_PV}
|
|
||||||
echo "docdir = ${EPREFIX}/usr/share/doc/${P}" >> mk/build.mk
|
|
||||||
echo "htmldir = ${EPREFIX}/usr/share/doc/${P}" >> mk/build.mk
|
|
||||||
|
|
||||||
# We also need to use the GHC_FLAGS flags when building ghc itself
|
|
||||||
echo "SRC_HC_OPTS+=${HCFLAGS} ${GHC_FLAGS}" >> mk/build.mk
|
|
||||||
echo "SRC_CC_OPTS+=${CFLAGS}" >> mk/build.mk
|
|
||||||
echo "SRC_LD_OPTS+=${LDFLAGS}" >> mk/build.mk
|
|
||||||
|
|
||||||
# We can't depend on haddock except when bootstrapping when we
|
|
||||||
# must build docs and include them into the binary .tbz2 package
|
|
||||||
# app-text/dblatex is not in portage, can not build PDF or PS
|
|
||||||
echo "BUILD_DOCBOOK_PDF = NO" >> mk/build.mk
|
|
||||||
echo "BUILD_DOCBOOK_PS = NO" >> mk/build.mk
|
|
||||||
if use doc; then
|
|
||||||
echo "BUILD_DOCBOOK_HTML = YES" >> mk/build.mk
|
|
||||||
else
|
|
||||||
echo "BUILD_DOCBOOK_HTML = NO" >> mk/build.mk
|
|
||||||
fi
|
|
||||||
|
|
||||||
# this controls presence on 'xhtml' and 'haddock' in final install
|
|
||||||
echo "HADDOCK_DOCS = YES" >> mk/build.mk
|
|
||||||
|
|
||||||
# allows overriding build flavours for libraries:
|
|
||||||
# v - vanilla (static libs)
|
|
||||||
# p - profiled
|
|
||||||
# dyn - shared libraries
|
|
||||||
# example: GHC_LIBRARY_WAYS="v dyn"
|
|
||||||
if [[ -n ${GHC_LIBRARY_WAYS} ]]; then
|
|
||||||
echo "GhcLibWays=${GHC_LIBRARY_WAYS}" >> mk/build.mk
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Get ghc from the unpacked binary .tbz2
|
|
||||||
# except when bootstrapping we just pick ghc up off the path
|
|
||||||
if ! use ghcbootstrap; then
|
|
||||||
export PATH="${WORKDIR}/usr/bin:${PATH}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use gmp; then
|
|
||||||
echo "INTEGER_LIBRARY=integer-gmp2" >> mk/build.mk
|
|
||||||
else
|
|
||||||
echo "INTEGER_LIBRARY=integer-simple" >> mk/build.mk
|
|
||||||
fi
|
|
||||||
|
|
||||||
# don't strip anything. Very useful when stage2 SIGSEGVs on you
|
|
||||||
echo "STRIP_CMD = :" >> mk/build.mk
|
|
||||||
|
|
||||||
local econf_args=()
|
|
||||||
|
|
||||||
# GHC embeds 'gcc' it was built by and uses it later.
|
|
||||||
# Don't allow things like ccache or versioned binary slip.
|
|
||||||
# We use stable thing across gcc upgrades.
|
|
||||||
is_crosscompile || econf_args+=(--with-gcc=${CHOST}-gcc)
|
|
||||||
|
|
||||||
if use ghcmakebinary; then
|
|
||||||
# When building booting libary we are trying to
|
|
||||||
# bundle or restrict most of external depends
|
|
||||||
# with unstable ABI:
|
|
||||||
# - embed libffi (default GHC behaviour)
|
|
||||||
# - disable ncurses support for ghci (via haskeline)
|
|
||||||
# https://bugs.gentoo.org/557478
|
|
||||||
# - disable ncurses support for ghc-pkg
|
|
||||||
echo "libraries/haskeline_CONFIGURE_OPTS += --flag=-terminfo" >> mk/build.mk
|
|
||||||
echo "utils/ghc-pkg_HC_OPTS += -DBOOTSTRAPPING" >> mk/build.mk
|
|
||||||
else
|
|
||||||
econf_args+=(--with-system-libffi)
|
|
||||||
econf_args+=(--with-ffi-includes=$($(tc-getPKG_CONFIG) libffi --cflags-only-I | sed -e 's@^-I@@'))
|
|
||||||
fi
|
|
||||||
|
|
||||||
elog "Final mk/build.mk:"
|
|
||||||
cat mk/build.mk || die
|
|
||||||
|
|
||||||
econf ${econf_args[@]} --enable-bootstrap-with-devel-snapshot
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
GHC_PV="$(grep 'S\[\"PACKAGE_VERSION\"\]' config.status | sed -e 's@^.*=\"\(.*\)\"@\1@')"
|
|
||||||
GHC_P=${PN}-${GHC_PV}
|
|
||||||
fi
|
|
||||||
fi # ! use binary
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
if ! use binary; then
|
|
||||||
# 1. build compiler binary first
|
|
||||||
emake ghc/stage2/build/tmp/ghc-stage2
|
|
||||||
# 2. pax-mark (bug #516430)
|
|
||||||
pax-mark -m ghc/stage2/build/tmp/ghc-stage2
|
|
||||||
# 3. and then all the rest
|
|
||||||
emake all
|
|
||||||
fi # ! use binary
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
if use binary; then
|
|
||||||
use prefix && mkdir -p "${ED}"
|
|
||||||
mv "${S}/usr" "${ED}"
|
|
||||||
else
|
|
||||||
|
|
||||||
emake -j1 install DESTDIR="${D}"
|
|
||||||
dodoc "distrib/README" "ANNOUNCE" "LICENSE" "VERSION"
|
|
||||||
|
|
||||||
# rename ghc-shipped files to avoid collision
|
|
||||||
# of external packages. Motivating example:
|
|
||||||
# user had installed:
|
|
||||||
# dev-lang/ghc-7.8.4-r0 (with transformers-0.3.0.0)
|
|
||||||
# dev-haskell/transformers-0.4.2.0
|
|
||||||
# then user tried to update to
|
|
||||||
# dev-lang/ghc-7.8.4-r1 (with transformers-0.4.2.0)
|
|
||||||
# this will lead to single .conf file collision.
|
|
||||||
local shipped_conf renamed_conf
|
|
||||||
local package_confdir="${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d"
|
|
||||||
for shipped_conf in "${package_confdir}"/*.conf; do
|
|
||||||
# rename 'pkg-ver-id.conf' to 'pkg-ver-id-gentoo-${PF}.conf'
|
|
||||||
renamed_conf=${shipped_conf%.conf}-gentoo-${PF}.conf
|
|
||||||
mv "${shipped_conf}" "${renamed_conf}" || die
|
|
||||||
done
|
|
||||||
|
|
||||||
# remove link, but leave 'haddock-${GHC_P}'
|
|
||||||
rm -f "${ED}"/usr/bin/$(cross)haddock
|
|
||||||
|
|
||||||
if [[ ! -f "${S}/VERSION" ]]; then
|
|
||||||
echo "${GHC_PV}" > "${S}/VERSION" \
|
|
||||||
|| die "Could not create file ${S}/VERSION"
|
|
||||||
fi
|
|
||||||
if ! is_crosscompile; then
|
|
||||||
newbashcomp "${FILESDIR}"/ghc-bash-completion ghc-pkg
|
|
||||||
newbashcomp utils/completion/ghc.bash ghc
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# path to the package.cache
|
|
||||||
local package_confdir="${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d"
|
|
||||||
PKGCACHE="${package_confdir}"/package.cache
|
|
||||||
# copy the package.conf.d, including timestamp, save it so we can help
|
|
||||||
# users that have a broken package.conf.d
|
|
||||||
cp -pR "${package_confdir}"{,.initial} || die "failed to backup intial package.conf.d"
|
|
||||||
|
|
||||||
# copy the package.conf, including timestamp, save it so we later can put it
|
|
||||||
# back before uninstalling, or when upgrading.
|
|
||||||
cp -p "${PKGCACHE}"{,.shipped} \
|
|
||||||
|| die "failed to copy package.conf.d/package.cache"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# have we got an earlier version of ghc installed?
|
|
||||||
if has_version "<${CATEGORY}/${PF}"; then
|
|
||||||
haskell_updater_warn="1"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
ghc-reregister
|
|
||||||
|
|
||||||
# path to the package.cache
|
|
||||||
PKGCACHE="${EROOT}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d/package.cache"
|
|
||||||
|
|
||||||
# give the cache a new timestamp, it must be as recent as
|
|
||||||
# the package.conf.d directory.
|
|
||||||
touch "${PKGCACHE}"
|
|
||||||
|
|
||||||
if [[ "${haskell_updater_warn}" == "1" ]]; then
|
|
||||||
ewarn
|
|
||||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
|
||||||
ewarn
|
|
||||||
ewarn "You have just upgraded from an older version of GHC."
|
|
||||||
ewarn "You may have to run"
|
|
||||||
ewarn " 'haskell-updater'"
|
|
||||||
ewarn "to rebuild all ghc-based Haskell libraries."
|
|
||||||
ewarn
|
|
||||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
|
||||||
ewarn
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_prerm() {
|
|
||||||
PKGCACHE="${EROOT}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d/package.cache"
|
|
||||||
rm -rf "${PKGCACHE}"
|
|
||||||
|
|
||||||
cp -p "${PKGCACHE}"{.shipped,}
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
ghc-package_pkg_postrm
|
|
||||||
}
|
|
@ -1,600 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
# to make make a crosscompiler use crossdev and symlink ghc tree into
|
|
||||||
# cross overlay. result would look like 'cross-sparc-unknown-linux-gnu/ghc'
|
|
||||||
#
|
|
||||||
# 'CTARGET' definition and 'is_crosscompile' are taken from 'toolchain.eclass'
|
|
||||||
export CTARGET=${CTARGET:-${CHOST}}
|
|
||||||
if [[ ${CTARGET} = ${CHOST} ]] ; then
|
|
||||||
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
|
|
||||||
export CTARGET=${CATEGORY/cross-}
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
inherit autotools bash-completion-r1 eutils flag-o-matic ghc-package
|
|
||||||
inherit multilib pax-utils toolchain-funcs versionator
|
|
||||||
|
|
||||||
DESCRIPTION="The Glasgow Haskell Compiler"
|
|
||||||
HOMEPAGE="https://www.haskell.org/ghc/"
|
|
||||||
|
|
||||||
# we don't have any binaries yet
|
|
||||||
arch_binaries=""
|
|
||||||
|
|
||||||
# sorted!
|
|
||||||
arch_binaries="$arch_binaries alpha? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-alpha.tbz2 )"
|
|
||||||
#arch_binaries="$arch_binaries arm? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-arm.tbz2 )"
|
|
||||||
arch_binaries="$arch_binaries amd64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-amd64.tbz2 )"
|
|
||||||
arch_binaries="$arch_binaries ia64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ia64.tbz2 )"
|
|
||||||
arch_binaries="$arch_binaries ppc? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ppc.tbz2 )"
|
|
||||||
arch_binaries="$arch_binaries ppc64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ppc64.tbz2 )"
|
|
||||||
arch_binaries="$arch_binaries sparc? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-sparc.tbz2 )"
|
|
||||||
arch_binaries="$arch_binaries x86? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-x86.tbz2 )"
|
|
||||||
|
|
||||||
# various ports:
|
|
||||||
#arch_binaries="$arch_binaries x86-fbsd? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-x86-fbsd.tbz2 )"
|
|
||||||
|
|
||||||
# 0 - yet
|
|
||||||
yet_binary() {
|
|
||||||
case "${ARCH}" in
|
|
||||||
alpha) return 0 ;;
|
|
||||||
#arm)
|
|
||||||
# ewarn "ARM binary is built on armv5tel-eabi toolchain. Use with caution."
|
|
||||||
# return 0
|
|
||||||
#;;
|
|
||||||
amd64) return 0 ;;
|
|
||||||
ia64) return 0 ;;
|
|
||||||
ppc) return 0 ;;
|
|
||||||
ppc64) return 0 ;;
|
|
||||||
sparc) return 0 ;;
|
|
||||||
x86) return 0 ;;
|
|
||||||
*) return 1 ;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
GHC_PV=${PV}
|
|
||||||
#GHC_PV=7.8.3.20141119 # uncomment only for -rc ebuilds
|
|
||||||
GHC_P=${PN}-${GHC_PV} # using ${P} is almost never correct
|
|
||||||
|
|
||||||
SRC_URI="!binary? ( https://downloads.haskell.org/~ghc/${PV/_rc/-rc}/${GHC_P}-src.tar.bz2 )"
|
|
||||||
S="${WORKDIR}"/${GHC_P}
|
|
||||||
|
|
||||||
[[ -n $arch_binaries ]] && SRC_URI+=" !ghcbootstrap? ( $arch_binaries )"
|
|
||||||
SRC_URI+=" https://dev.gentoo.org/~slyfox/distfiles/${P}-ia64-CLOSUREs-regenerated.patch.gz"
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="doc ghcbootstrap ghcmakebinary +gmp"
|
|
||||||
IUSE+=" binary"
|
|
||||||
IUSE+=" elibc_glibc" # system stuff
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-lang/perl-5.6.1
|
|
||||||
>=dev-libs/gmp-5:=
|
|
||||||
sys-libs/ncurses:0=[unicode]
|
|
||||||
!ghcmakebinary? ( dev-libs/libffi:= )
|
|
||||||
"
|
|
||||||
|
|
||||||
PREBUILT_BINARY_DEPENDS="
|
|
||||||
!prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.17 ) )
|
|
||||||
sys-libs/ncurses-compat:5
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND+="binary? ( ${PREBUILT_BINARY_DEPENDS} )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
ghcbootstrap? (
|
|
||||||
doc? ( app-text/docbook-xml-dtd:4.2
|
|
||||||
app-text/docbook-xml-dtd:4.5
|
|
||||||
app-text/docbook-xsl-stylesheets
|
|
||||||
>=dev-libs/libxslt-1.1.2 ) )
|
|
||||||
!ghcbootstrap? ( ${PREBUILT_BINARY_DEPENDS} )"
|
|
||||||
|
|
||||||
PDEPEND="!ghcbootstrap? ( =app-admin/haskell-updater-1.2* )"
|
|
||||||
|
|
||||||
REQUIRED_USE="?? ( ghcbootstrap binary )"
|
|
||||||
|
|
||||||
# haskell libraries built with cabal in configure mode, #515354
|
|
||||||
QA_CONFIGURE_OPTIONS+=" --with-compiler --with-gcc"
|
|
||||||
|
|
||||||
is_crosscompile() {
|
|
||||||
[[ ${CHOST} != ${CTARGET} ]]
|
|
||||||
}
|
|
||||||
|
|
||||||
append-ghc-cflags() {
|
|
||||||
local persistent compile assemble link
|
|
||||||
local flag ghcflag
|
|
||||||
|
|
||||||
for flag in $*; do
|
|
||||||
case ${flag} in
|
|
||||||
persistent) persistent="yes";;
|
|
||||||
compile) compile="yes";;
|
|
||||||
assemble) assemble="yes";;
|
|
||||||
link) link="yes";;
|
|
||||||
*)
|
|
||||||
[[ ${compile} ]] && ghcflag="-optc${flag}" CFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
|
||||||
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
|
||||||
[[ ${assemble} ]] && ghcflag="-opta${flag}" CFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
|
||||||
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
|
||||||
[[ ${link} ]] && ghcflag="-optl${flag}" LDFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
|
||||||
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
ghc_setup_cflags() {
|
|
||||||
if is_crosscompile; then
|
|
||||||
export CFLAGS=${GHC_CFLAGS-"-O2 -pipe"}
|
|
||||||
export LDFLAGS=${GHC_LDFLAGS-"-Wl,-O1"}
|
|
||||||
einfo "Crosscompiling mode:"
|
|
||||||
einfo " CHOST: ${CHOST}"
|
|
||||||
einfo " CTARGET: ${CTARGET}"
|
|
||||||
einfo " CFLAGS: ${CFLAGS}"
|
|
||||||
einfo " LDFLAGS: ${LDFLAGS}"
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
# We need to be very careful with the CFLAGS we ask ghc to pass through to
|
|
||||||
# gcc. There are plenty of flags which will make gcc produce output that
|
|
||||||
# breaks ghc in various ways. The main ones we want to pass through are
|
|
||||||
# -mcpu / -march flags. These are important for arches like alpha & sparc.
|
|
||||||
# We also use these CFLAGS for building the C parts of ghc, ie the rts.
|
|
||||||
strip-flags
|
|
||||||
strip-unsupported-flags
|
|
||||||
|
|
||||||
# Cmm can't parse line numbers #482086
|
|
||||||
replace-flags -ggdb[3-9] -ggdb2
|
|
||||||
|
|
||||||
GHC_FLAGS=""
|
|
||||||
GHC_PERSISTENT_FLAGS=""
|
|
||||||
for flag in ${CFLAGS}; do
|
|
||||||
case ${flag} in
|
|
||||||
|
|
||||||
# Ignore extra optimisation (ghc passes -O to gcc anyway)
|
|
||||||
# -O2 and above break on too many systems
|
|
||||||
-O*) ;;
|
|
||||||
|
|
||||||
# Arch and ABI flags are what we're really after
|
|
||||||
-m*) append-ghc-cflags compile assemble ${flag};;
|
|
||||||
|
|
||||||
# Sometimes it's handy to see backtrace of RTS
|
|
||||||
# to get an idea what happens there
|
|
||||||
-g*) append-ghc-cflags compile ${flag};;
|
|
||||||
|
|
||||||
# Ignore all other flags, including all -f* flags
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
for flag in ${LDFLAGS}; do
|
|
||||||
append-ghc-cflags link ${flag}
|
|
||||||
done
|
|
||||||
|
|
||||||
# hardened-gcc needs to be disabled, because the mangler doesn't accept
|
|
||||||
# its output.
|
|
||||||
gcc-specs-pie && append-ghc-cflags persistent compile link -nopie
|
|
||||||
gcc-specs-ssp && append-ghc-cflags persistent compile -fno-stack-protector
|
|
||||||
|
|
||||||
# prevent from failind building unregisterised ghc:
|
|
||||||
# https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg171602.html
|
|
||||||
use ppc64 && append-ghc-cflags persistent compile -mminimal-toc
|
|
||||||
# fix the similar issue as ppc64 TOC on ia64. ia64 has limited size of small data
|
|
||||||
# currently ghc fails to build haddock
|
|
||||||
# https://osdir.com/ml/gnu.binutils.bugs/2004-10/msg00050.html
|
|
||||||
use ia64 && append-ghc-cflags persistent compile -G0
|
|
||||||
}
|
|
||||||
|
|
||||||
# substitutes string $1 to $2 in files $3 $4 ...
|
|
||||||
relocate_path() {
|
|
||||||
local from=$1
|
|
||||||
local to=$2
|
|
||||||
shift 2
|
|
||||||
local file=
|
|
||||||
for file in "$@"
|
|
||||||
do
|
|
||||||
sed -i -e "s|$from|$to|g" \
|
|
||||||
"$file" || die "path relocation failed for '$file'"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# changes hardcoded ghc paths and updates package index
|
|
||||||
# $1 - new absolute root path
|
|
||||||
relocate_ghc() {
|
|
||||||
local to=$1
|
|
||||||
|
|
||||||
# libdir for prebuilt binary and for current system may mismatch
|
|
||||||
# It does for prefix installation for example: bug #476998
|
|
||||||
local bin_ghc_prefix=${WORKDIR}/usr
|
|
||||||
local bin_libpath=$(echo "${bin_ghc_prefix}"/lib*)
|
|
||||||
local bin_libdir=${bin_libpath#${bin_ghc_prefix}/}
|
|
||||||
|
|
||||||
# backup original script to use it later after relocation
|
|
||||||
local gp_back="${T}/ghc-pkg-${GHC_PV}-orig"
|
|
||||||
cp "${WORKDIR}/usr/bin/ghc-pkg-${GHC_PV}" "$gp_back" || die "unable to backup ghc-pkg wrapper"
|
|
||||||
|
|
||||||
if [[ ${bin_libdir} != $(get_libdir) ]]; then
|
|
||||||
einfo "Relocating '${bin_libdir}' to '$(get_libdir)' (bug #476998)"
|
|
||||||
# moving the dir itself is not strictly needed
|
|
||||||
# but then USE=binary would result in installing
|
|
||||||
# in '${bin_libdir}'
|
|
||||||
mv "${bin_ghc_prefix}/${bin_libdir}" "${bin_ghc_prefix}/$(get_libdir)" || die
|
|
||||||
|
|
||||||
relocate_path "/usr/${bin_libdir}" "/usr/$(get_libdir)" \
|
|
||||||
"${WORKDIR}/usr/bin/ghc-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/bin/ghci-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/bin/ghc-pkg-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/bin/hsc2hs" \
|
|
||||||
"${WORKDIR}/usr/bin/runghc-${GHC_PV}" \
|
|
||||||
"$gp_back" \
|
|
||||||
"${WORKDIR}/usr/$(get_libdir)/${GHC_P}/package.conf.d/"*
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Relocate from /usr to ${EPREFIX}/usr
|
|
||||||
relocate_path "/usr" "${to}/usr" \
|
|
||||||
"${WORKDIR}/usr/bin/ghc-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/bin/ghci-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/bin/ghc-pkg-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/bin/hsc2hs" \
|
|
||||||
"${WORKDIR}/usr/bin/runghc-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/$(get_libdir)/${GHC_P}/package.conf.d/"*
|
|
||||||
|
|
||||||
# this one we will use to regenerate cache
|
|
||||||
# so it should point to current tree location
|
|
||||||
relocate_path "/usr" "${WORKDIR}/usr" "$gp_back"
|
|
||||||
|
|
||||||
# regenerate the binary package cache
|
|
||||||
"$gp_back" recache || die "failed to update cache after relocation"
|
|
||||||
rm "$gp_back"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# quiet portage about prebuilt binaries
|
|
||||||
use binary && QA_PREBUILT="*"
|
|
||||||
|
|
||||||
[[ ${MERGE_TYPE} == binary ]] && return
|
|
||||||
|
|
||||||
if use ghcbootstrap; then
|
|
||||||
ewarn "You requested ghc bootstrapping, this is usually only used"
|
|
||||||
ewarn "by Gentoo developers to make binary .tbz2 packages."
|
|
||||||
|
|
||||||
[[ -z $(type -P ghc) ]] && \
|
|
||||||
die "Could not find a ghc to bootstrap with."
|
|
||||||
else
|
|
||||||
if ! yet_binary; then
|
|
||||||
eerror "Please try emerging with USE=ghcbootstrap and report build"
|
|
||||||
eerror "sucess or failure to the haskell team (haskell@gentoo.org)"
|
|
||||||
die "No binary available for '${ARCH}' arch yet, USE=ghcbootstrap"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
# Create the ${S} dir if we're using the binary version
|
|
||||||
use binary && mkdir "${S}"
|
|
||||||
|
|
||||||
# the Solaris and Darwin binaries from ghc (maeder) need to be
|
|
||||||
# unpacked separately, so prevent them from being unpacked
|
|
||||||
local ONLYA=${A}
|
|
||||||
case ${CHOST} in
|
|
||||||
*-darwin* | *-solaris*) ONLYA=${GHC_P}-src.tar.bz2 ;;
|
|
||||||
esac
|
|
||||||
unpack ${ONLYA}
|
|
||||||
|
|
||||||
if [[ -d "${S}"/libraries/dph ]]; then
|
|
||||||
# Sometimes dph libs get accidentally shipped with ghc
|
|
||||||
# but they are not installed unless user requests it.
|
|
||||||
# We never install them.
|
|
||||||
elog "Removing 'libraries/dph'"
|
|
||||||
rm -rf "${S}"/libraries/dph
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
ghc_setup_cflags
|
|
||||||
|
|
||||||
if ! use ghcbootstrap && [[ ${CHOST} != *-darwin* && ${CHOST} != *-solaris* ]]; then
|
|
||||||
# Modify the wrapper script from the binary tarball to use GHC_PERSISTENT_FLAGS.
|
|
||||||
# See bug #313635.
|
|
||||||
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_PERSISTENT_FLAGS}|" \
|
|
||||||
"${WORKDIR}/usr/bin/ghc-${GHC_PV}"
|
|
||||||
|
|
||||||
# allow hardened users use vanilla binary to bootstrap ghc
|
|
||||||
# ghci uses mmap with rwx protection at it implements dynamic
|
|
||||||
# linking on it's own (bug #299709)
|
|
||||||
pax-mark -m "${WORKDIR}/usr/$(get_libdir)/${GHC_P}/bin/ghc"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use binary; then
|
|
||||||
if use prefix; then
|
|
||||||
relocate_ghc "${EPREFIX}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Move unpacked files to the expected place
|
|
||||||
mv "${WORKDIR}/usr" "${S}"
|
|
||||||
else
|
|
||||||
if ! use ghcbootstrap; then
|
|
||||||
case ${CHOST} in
|
|
||||||
*-darwin* | *-solaris*)
|
|
||||||
# UPDATE ME for ghc-7
|
|
||||||
mkdir "${WORKDIR}"/ghc-bin-installer || die
|
|
||||||
pushd "${WORKDIR}"/ghc-bin-installer > /dev/null || die
|
|
||||||
use sparc-solaris && unpack ghc-6.10.4-sparc-sun-solaris2.tar.bz2
|
|
||||||
use x86-solaris && unpack ghc-7.0.3-i386-unknown-solaris2.tar.bz2
|
|
||||||
use x64-macos && unpack ghc-7.4.1-x86_64-apple-darwin.tar.bz2
|
|
||||||
popd > /dev/null
|
|
||||||
|
|
||||||
pushd "${WORKDIR}"/ghc-bin-installer/ghc-[67].?*.? > /dev/null || die
|
|
||||||
# fix the binaries so they run, on Solaris we need an
|
|
||||||
# LD_LIBRARY_PATH which has our prefix libdirs, on
|
|
||||||
# Darwin we need to replace the frameworks with our libs
|
|
||||||
# from the prefix fix before installation, because some
|
|
||||||
# of the tools are actually used during configure/make
|
|
||||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
|
||||||
export LD_LIBRARY_PATH="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir):${LD_LIBRARY_PATH}"
|
|
||||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
|
||||||
local readline_framework=GNUreadline.framework/GNUreadline
|
|
||||||
local gmp_framework=/opt/local/lib/libgmp.10.dylib
|
|
||||||
local ncurses_file=/opt/local/lib/libncurses.5.dylib
|
|
||||||
for binary in $(scanmacho -BRE MH_EXECUTE -F '%F' .) ; do
|
|
||||||
install_name_tool -change \
|
|
||||||
${readline_framework} \
|
|
||||||
"${EPREFIX}"/lib/libreadline.dylib \
|
|
||||||
${binary} || die
|
|
||||||
install_name_tool -change \
|
|
||||||
${gmp_framework} \
|
|
||||||
"${EPREFIX}"/usr/lib/libgmp.dylib \
|
|
||||||
${binary} || die
|
|
||||||
install_name_tool -change \
|
|
||||||
${ncurses_file} \
|
|
||||||
"${EPREFIX}"/usr/lib/libncurses.dylib \
|
|
||||||
${binary} || die
|
|
||||||
done
|
|
||||||
# we don't do frameworks!
|
|
||||||
sed -i \
|
|
||||||
-e 's/\(frameworks = \)\["GMP"\]/\1[]/g' \
|
|
||||||
-e 's/\(extraLibraries = \)\["m"\]/\1["m","gmp"]/g' \
|
|
||||||
rts/package.conf.in || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# it is autoconf, but we really don't want to give it too
|
|
||||||
# much arguments, in fact we do the make in-place anyway
|
|
||||||
./configure --prefix="${WORKDIR}"/usr || die
|
|
||||||
make install || die
|
|
||||||
popd > /dev/null
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
relocate_ghc "${WORKDIR}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_PERSISTENT_FLAGS}|" \
|
|
||||||
"${S}/ghc/ghc.wrapper"
|
|
||||||
|
|
||||||
cd "${S}" # otherwise epatch will break
|
|
||||||
|
|
||||||
epatch "${FILESDIR}"/${PN}-7.0.4-CHOST-prefix.patch
|
|
||||||
|
|
||||||
epatch "${FILESDIR}"/${PN}-7.8.1_rc1-libbfd.patch
|
|
||||||
|
|
||||||
epatch "${FILESDIR}"/${PN}-7.8.2-cgen-constify.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-7.8.3-prim-lm.patch
|
|
||||||
# bug 518734
|
|
||||||
epatch "${FILESDIR}"/${PN}-7.6.3-preserve-inplace-xattr.patch
|
|
||||||
# fix threaded runtime on ia64
|
|
||||||
epatch "${FILESDIR}"/${PN}-7.8.4-ia64-CLOSUREs.patch
|
|
||||||
epatch "${WORKDIR}"/${PN}-7.8.4-ia64-CLOSUREs-regenerated.patch
|
|
||||||
|
|
||||||
# upstream backports
|
|
||||||
epatch "${FILESDIR}"/${PN}-7.8.3-linker-warn.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-7.8.3-pic-sparc.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-7.8.3-ppc32-fPIC.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-7.8.4-gold.patch
|
|
||||||
|
|
||||||
if use prefix; then
|
|
||||||
# Make configure find docbook-xsl-stylesheets from Prefix
|
|
||||||
sed -e '/^FP_DIR_DOCBOOK_XSL/s:\[.*\]:['"${EPREFIX}"'/usr/share/sgml/docbook/xsl-stylesheets/]:' \
|
|
||||||
-i utils/haddock/doc/configure.ac || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# as we have changed the build system
|
|
||||||
eautoreconf
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
if ! use binary; then
|
|
||||||
# initialize build.mk
|
|
||||||
echo '# Gentoo changes' > mk/build.mk
|
|
||||||
|
|
||||||
# Put docs into the right place, ie /usr/share/doc/ghc-${GHC_PV}
|
|
||||||
echo "docdir = ${EPREFIX}/usr/share/doc/${P}" >> mk/build.mk
|
|
||||||
echo "htmldir = ${EPREFIX}/usr/share/doc/${P}" >> mk/build.mk
|
|
||||||
|
|
||||||
# We also need to use the GHC_FLAGS flags when building ghc itself
|
|
||||||
echo "SRC_HC_OPTS+=${GHC_FLAGS}" >> mk/build.mk
|
|
||||||
echo "SRC_CC_OPTS+=${CFLAGS}" >> mk/build.mk
|
|
||||||
echo "SRC_LD_OPTS+=${LDFLAGS}" >> mk/build.mk
|
|
||||||
|
|
||||||
# We can't depend on haddock except when bootstrapping when we
|
|
||||||
# must build docs and include them into the binary .tbz2 package
|
|
||||||
# app-text/dblatex is not in portage, can not build PDF or PS
|
|
||||||
if use ghcbootstrap && use doc; then
|
|
||||||
echo "BUILD_DOCBOOK_PDF = NO" >> mk/build.mk
|
|
||||||
echo "BUILD_DOCBOOK_PS = NO" >> mk/build.mk
|
|
||||||
echo "BUILD_DOCBOOK_HTML = YES" >> mk/build.mk
|
|
||||||
echo "HADDOCK_DOCS = YES" >> mk/build.mk
|
|
||||||
else
|
|
||||||
echo "BUILD_DOCBOOK_PDF = NO" >> mk/build.mk
|
|
||||||
echo "BUILD_DOCBOOK_PS = NO" >> mk/build.mk
|
|
||||||
echo "BUILD_DOCBOOK_HTML = NO" >> mk/build.mk
|
|
||||||
echo "HADDOCK_DOCS = NO" >> mk/build.mk
|
|
||||||
fi
|
|
||||||
|
|
||||||
# allows overriding build flavours for libraries:
|
|
||||||
# v - vanilla (static libs)
|
|
||||||
# p - profiled
|
|
||||||
# dyn - shared libraries
|
|
||||||
# example: GHC_LIBRARY_WAYS="v dyn"
|
|
||||||
if [[ -n ${GHC_LIBRARY_WAYS} ]]; then
|
|
||||||
echo "GhcLibWays=${GHC_LIBRARY_WAYS}" >> mk/build.mk
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Get ghc from the unpacked binary .tbz2
|
|
||||||
# except when bootstrapping we just pick ghc up off the path
|
|
||||||
if ! use ghcbootstrap; then
|
|
||||||
export PATH="${WORKDIR}/usr/bin:${PATH}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use gmp; then
|
|
||||||
echo "INTEGER_LIBRARY=integer-gmp" >> mk/build.mk
|
|
||||||
else
|
|
||||||
echo "INTEGER_LIBRARY=integer-simple" >> mk/build.mk
|
|
||||||
fi
|
|
||||||
|
|
||||||
# don't strip anything. Very useful when stage2 SIGSEGVs on you
|
|
||||||
echo "STRIP_CMD = :" >> mk/build.mk
|
|
||||||
|
|
||||||
local econf_args=()
|
|
||||||
|
|
||||||
# GHC embeds 'gcc' it was built by and uses it later.
|
|
||||||
# Don't allow things like ccache or versioned binary slip.
|
|
||||||
# We use stable thing across gcc upgrades.
|
|
||||||
is_crosscompile || econf_args+=(--with-gcc=${CHOST}-gcc)
|
|
||||||
|
|
||||||
if ! use ghcmakebinary; then
|
|
||||||
econf_args+=(--with-system-libffi)
|
|
||||||
econf_args+=(--with-ffi-includes=$($(tc-getPKG_CONFIG) libffi --cflags-only-I | sed -e 's@^-I@@'))
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf ${econf_args[@]} --enable-bootstrap-with-devel-snapshot
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
GHC_PV="$(grep 'S\[\"PACKAGE_VERSION\"\]' config.status | sed -e 's@^.*=\"\(.*\)\"@\1@')"
|
|
||||||
GHC_P=${PN}-${GHC_PV}
|
|
||||||
fi
|
|
||||||
GHC_TPF="$(grep 'S\[\"TargetPlatformFull\"\]' config.status | sed -e 's@^.*=\"\(.*\)\"@\1@')"
|
|
||||||
fi # ! use binary
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
if ! use binary; then
|
|
||||||
# 1. build compiler binary first
|
|
||||||
emake ghc/stage2/build/tmp/ghc-stage2
|
|
||||||
# 2. pax-mark (bug #516430)
|
|
||||||
pax-mark -m ghc/stage2/build/tmp/ghc-stage2
|
|
||||||
# 3. and then all the rest
|
|
||||||
emake all
|
|
||||||
fi # ! use binary
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
if use binary; then
|
|
||||||
use prefix && mkdir -p "${ED}"
|
|
||||||
mv "${S}/usr" "${ED}"
|
|
||||||
|
|
||||||
# Remove the docs if not requested
|
|
||||||
if ! use doc; then
|
|
||||||
rm -rf "${ED}/usr/share/doc/${P}/*/" \
|
|
||||||
"${ED}/usr/share/doc/${P}/*.html" \
|
|
||||||
|| die "could not remove docs (P vs PF revision mismatch?)"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
# We only build docs if we were bootstrapping, otherwise
|
|
||||||
# we copy them out of the unpacked binary .tbz2
|
|
||||||
if use doc && ! use ghcbootstrap; then
|
|
||||||
mkdir -p "${ED}/usr/share/doc"
|
|
||||||
mv "${WORKDIR}/usr/share/doc/${P}" "${ED}/usr/share/doc" \
|
|
||||||
|| die "failed to copy docs"
|
|
||||||
else
|
|
||||||
dodoc "${S}/distrib/README" "${S}/ANNOUNCE" "${S}/LICENSE" "${S}/VERSION"
|
|
||||||
fi
|
|
||||||
|
|
||||||
emake -j1 install DESTDIR="${D}"
|
|
||||||
|
|
||||||
# remove link, but leave 'haddock-${GHC_P}'
|
|
||||||
rm -f "${ED}"/usr/bin/haddock
|
|
||||||
|
|
||||||
if [[ ! -f "${S}/VERSION" ]]; then
|
|
||||||
echo "${GHC_PV}" > "${S}/VERSION" \
|
|
||||||
|| die "Could not create file ${S}/VERSION"
|
|
||||||
fi
|
|
||||||
newbashcomp "${FILESDIR}/ghc-bash-completion" ghc-pkg
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
# path to the package.cache
|
|
||||||
local package_confdir="${ED}/usr/$(get_libdir)/${GHC_P}/package.conf.d"
|
|
||||||
PKGCACHE="${package_confdir}"/package.cache
|
|
||||||
# copy the package.conf.d, including timestamp, save it so we can help
|
|
||||||
# users that have a broken package.conf.d
|
|
||||||
cp -pR "${package_confdir}"{,.initial} || die "failed to backup intial package.conf.d"
|
|
||||||
|
|
||||||
# copy the package.conf, including timestamp, save it so we later can put it
|
|
||||||
# back before uninstalling, or when upgrading.
|
|
||||||
cp -p "${PKGCACHE}"{,.shipped} \
|
|
||||||
|| die "failed to copy package.conf.d/package.cache"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# have we got an earlier version of ghc installed?
|
|
||||||
if has_version "<${CATEGORY}/${PF}"; then
|
|
||||||
haskell_updater_warn="1"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
ghc-reregister
|
|
||||||
|
|
||||||
# path to the package.cache
|
|
||||||
PKGCACHE="${EROOT}/usr/$(get_libdir)/${GHC_P}/package.conf.d/package.cache"
|
|
||||||
|
|
||||||
# give the cache a new timestamp, it must be as recent as
|
|
||||||
# the package.conf.d directory.
|
|
||||||
touch "${PKGCACHE}"
|
|
||||||
|
|
||||||
if [[ "${haskell_updater_warn}" == "1" ]]; then
|
|
||||||
ewarn
|
|
||||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
|
||||||
ewarn
|
|
||||||
ewarn "You have just upgraded from an older version of GHC."
|
|
||||||
ewarn "You may have to run"
|
|
||||||
ewarn " 'haskell-updater --upgrade'"
|
|
||||||
ewarn "to rebuild all ghc-based Haskell libraries."
|
|
||||||
ewarn
|
|
||||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
|
||||||
ewarn
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_prerm() {
|
|
||||||
# Be very careful here... Call order when upgrading is (according to PMS):
|
|
||||||
# * src_install for new package
|
|
||||||
# * pkg_preinst for new package
|
|
||||||
# * pkg_postinst for new package
|
|
||||||
# * pkg_prerm for the package being replaced
|
|
||||||
# * pkg_postrm for the package being replaced
|
|
||||||
# so you'll actually be touching the new packages files, not the one you
|
|
||||||
# uninstall, due to that or installation directory ${GHC_P} will be the same for
|
|
||||||
# both packages.
|
|
||||||
|
|
||||||
# Call order for reinstalling is (according to PMS):
|
|
||||||
# * src_install
|
|
||||||
# * pkg_preinst
|
|
||||||
# * pkg_prerm for the package being replaced
|
|
||||||
# * pkg_postrm for the package being replaced
|
|
||||||
# * pkg_postinst
|
|
||||||
|
|
||||||
# Overwrite the modified package.cache with a copy of the
|
|
||||||
# original one, so that it will be removed during uninstall.
|
|
||||||
|
|
||||||
PKGCACHE="${EROOT}/usr/$(get_libdir)/${GHC_P}/package.conf.d/package.cache"
|
|
||||||
rm -rf "${PKGCACHE}"
|
|
||||||
|
|
||||||
cp -p "${PKGCACHE}"{.shipped,}
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
ghc-package_pkg_postrm
|
|
||||||
}
|
|
@ -1,672 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
# to make make a crosscompiler use crossdev and symlink ghc tree into
|
|
||||||
# cross overlay. result would look like 'cross-sparc-unknown-linux-gnu/ghc'
|
|
||||||
#
|
|
||||||
# 'CTARGET' definition and 'is_crosscompile' are taken from 'toolchain.eclass'
|
|
||||||
export CTARGET=${CTARGET:-${CHOST}}
|
|
||||||
if [[ ${CTARGET} = ${CHOST} ]] ; then
|
|
||||||
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
|
|
||||||
export CTARGET=${CATEGORY/cross-}
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
inherit autotools bash-completion-r1 eutils flag-o-matic ghc-package
|
|
||||||
inherit multilib pax-utils toolchain-funcs versionator prefix
|
|
||||||
inherit check-reqs
|
|
||||||
DESCRIPTION="The Glasgow Haskell Compiler"
|
|
||||||
HOMEPAGE="https://www.haskell.org/ghc/"
|
|
||||||
|
|
||||||
# we don't have any binaries yet
|
|
||||||
arch_binaries=""
|
|
||||||
|
|
||||||
# sorted!
|
|
||||||
arch_binaries="$arch_binaries alpha? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-alpha.tbz2 )"
|
|
||||||
#arch_binaries="$arch_binaries arm? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-arm.tbz2 )"
|
|
||||||
arch_binaries="$arch_binaries arm64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-arm64.tbz2 )"
|
|
||||||
arch_binaries="$arch_binaries amd64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-x86_64-pc-linux-gnu.tbz2 )"
|
|
||||||
arch_binaries="$arch_binaries ia64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ia64-unknown-linux-gnu.tbz2 )"
|
|
||||||
arch_binaries="$arch_binaries ppc? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ppc.tbz2 )"
|
|
||||||
arch_binaries="$arch_binaries ppc64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ppc64.tbz2 )"
|
|
||||||
#arch_binaries="$arch_binaries sparc? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-sparc.tbz2 )"
|
|
||||||
arch_binaries="$arch_binaries x86? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-i686-pc-linux-gnu.tbz2 )"
|
|
||||||
|
|
||||||
# various ports:
|
|
||||||
#arch_binaries="$arch_binaries x86-fbsd? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-x86-fbsd.tbz2 )"
|
|
||||||
|
|
||||||
# 0 - yet
|
|
||||||
yet_binary() {
|
|
||||||
case "${ARCH}" in
|
|
||||||
alpha) return 0 ;;
|
|
||||||
arm64) return 0 ;;
|
|
||||||
#arm)
|
|
||||||
# ewarn "ARM binary is built on armv5tel-eabi toolchain. Use with caution."
|
|
||||||
# return 0
|
|
||||||
#;;
|
|
||||||
amd64) return 0 ;;
|
|
||||||
ia64) return 0 ;;
|
|
||||||
ppc) return 0 ;;
|
|
||||||
ppc64) return 0 ;;
|
|
||||||
#sparc) return 0 ;;
|
|
||||||
x86) return 0 ;;
|
|
||||||
*) return 1 ;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
GHC_PV=${PV}
|
|
||||||
#GHC_PV=8.0.1.20161213 # uncomment only for -rc ebuilds
|
|
||||||
GHC_P=${PN}-${GHC_PV} # using ${P} is almost never correct
|
|
||||||
|
|
||||||
SRC_URI="!binary? ( https://downloads.haskell.org/~ghc/${PV/_rc/-rc}/${GHC_P}-src.tar.xz )"
|
|
||||||
S="${WORKDIR}"/${GHC_P}
|
|
||||||
|
|
||||||
[[ -n $arch_binaries ]] && SRC_URI+=" !ghcbootstrap? ( $arch_binaries )"
|
|
||||||
|
|
||||||
BUMP_LIBRARIES=(
|
|
||||||
# "hackage-name hackage-version"
|
|
||||||
)
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="doc ghcbootstrap ghcmakebinary +gmp +profile"
|
|
||||||
IUSE+=" binary"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-lang/perl-5.6.1
|
|
||||||
dev-libs/gmp:0=
|
|
||||||
sys-libs/ncurses:0=[unicode]
|
|
||||||
!ghcmakebinary? ( dev-libs/libffi:= )
|
|
||||||
"
|
|
||||||
|
|
||||||
# This set of dependencies is needed to run
|
|
||||||
# prebuilt ghc. We specifically avoid ncurses
|
|
||||||
# dependency with:
|
|
||||||
# utils/ghc-pkg_HC_OPTS += -DBOOTSTRAPPING
|
|
||||||
PREBUILT_BINARY_DEPENDS="
|
|
||||||
!prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.17 ) )
|
|
||||||
"
|
|
||||||
# This set of dependencies is needed to install
|
|
||||||
# ghc[binary] in system. terminfo package is linked
|
|
||||||
# against ncurses.
|
|
||||||
PREBUILT_BINARY_RDEPENDS="${PREBUILT_BINARY_DEPENDS}
|
|
||||||
sys-libs/ncurses:0/6
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND+="binary? ( ${PREBUILT_BINARY_RDEPENDS} )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
doc? ( app-text/docbook-xml-dtd:4.2
|
|
||||||
app-text/docbook-xml-dtd:4.5
|
|
||||||
app-text/docbook-xsl-stylesheets
|
|
||||||
dev-python/sphinx
|
|
||||||
>=dev-libs/libxslt-1.1.2 )
|
|
||||||
!ghcbootstrap? ( ${PREBUILT_BINARY_DEPENDS} )"
|
|
||||||
|
|
||||||
PDEPEND="!ghcbootstrap? ( >=app-admin/haskell-updater-1.2 )"
|
|
||||||
|
|
||||||
REQUIRED_USE="?? ( ghcbootstrap binary )"
|
|
||||||
|
|
||||||
# haskell libraries built with cabal in configure mode, #515354
|
|
||||||
QA_CONFIGURE_OPTIONS+=" --with-compiler --with-gcc"
|
|
||||||
|
|
||||||
is_crosscompile() {
|
|
||||||
[[ ${CHOST} != ${CTARGET} ]]
|
|
||||||
}
|
|
||||||
|
|
||||||
# returns tool prefix for crosscompiler.
|
|
||||||
# Example:
|
|
||||||
# CTARGET=armv7a-unknown-linux-gnueabi
|
|
||||||
# CHOST=x86_64-pc-linux-gnu
|
|
||||||
# "armv7a-unknown-linux-gnueabi-"
|
|
||||||
# CTARGET=${CHOST}
|
|
||||||
# ""
|
|
||||||
# Used in tools and library prefix:
|
|
||||||
# "${ED}"/usr/bin/$(cross)haddock
|
|
||||||
# "${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d"
|
|
||||||
|
|
||||||
cross() {
|
|
||||||
if is_crosscompile; then
|
|
||||||
echo "${CTARGET}-"
|
|
||||||
else
|
|
||||||
echo ""
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
append-ghc-cflags() {
|
|
||||||
local persistent compile assemble link
|
|
||||||
local flag ghcflag
|
|
||||||
|
|
||||||
for flag in $*; do
|
|
||||||
case ${flag} in
|
|
||||||
persistent) persistent="yes";;
|
|
||||||
compile) compile="yes";;
|
|
||||||
assemble) assemble="yes";;
|
|
||||||
link) link="yes";;
|
|
||||||
*)
|
|
||||||
[[ ${compile} ]] && ghcflag="-optc${flag}" CFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
|
||||||
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
|
||||||
[[ ${assemble} ]] && ghcflag="-opta${flag}" CFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
|
||||||
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
|
||||||
[[ ${link} ]] && ghcflag="-optl${flag}" LDFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
|
||||||
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# $1 - lib name (under libraries/)
|
|
||||||
# $2 - lib version
|
|
||||||
# example: bump_lib "transformers" "0.4.2.0"
|
|
||||||
bump_lib() {
|
|
||||||
local pn=$1 pv=$2
|
|
||||||
local p=${pn}-${pv}
|
|
||||||
local f
|
|
||||||
|
|
||||||
einfo "Bumping ${pn} up to ${pv}"
|
|
||||||
|
|
||||||
for f in ghc.mk GNUmakefile; do
|
|
||||||
mv libraries/"${pn}"/$f "${WORKDIR}"/"${p}"/$f || die
|
|
||||||
done
|
|
||||||
mv libraries/"${pn}" "${WORKDIR}"/"${pn}".old || die
|
|
||||||
mv "${WORKDIR}"/"${p}" libraries/"${pn}" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
update_SRC_URI() {
|
|
||||||
local p pn pv
|
|
||||||
for p in "${BUMP_LIBRARIES[@]}"; do
|
|
||||||
set -- $p
|
|
||||||
pn=$1 pv=$2
|
|
||||||
|
|
||||||
SRC_URI+=" https://hackage.haskell.org/package/${pn}-${pv}/${pn}-${pv}.tar.gz"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
update_SRC_URI
|
|
||||||
|
|
||||||
bump_libs() {
|
|
||||||
local p pn pv
|
|
||||||
for p in "${BUMP_LIBRARIES[@]}"; do
|
|
||||||
set -- $p
|
|
||||||
pn=$1 pv=$2
|
|
||||||
|
|
||||||
bump_lib "${pn}" "${pv}"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
ghc_setup_cflags() {
|
|
||||||
if is_crosscompile; then
|
|
||||||
export CFLAGS=${GHC_CFLAGS-"-O2 -pipe"}
|
|
||||||
export LDFLAGS=${GHC_LDFLAGS-"-Wl,-O1"}
|
|
||||||
einfo "Crosscompiling mode:"
|
|
||||||
einfo " CHOST: ${CHOST}"
|
|
||||||
einfo " CTARGET: ${CTARGET}"
|
|
||||||
einfo " CFLAGS: ${CFLAGS}"
|
|
||||||
einfo " LDFLAGS: ${LDFLAGS}"
|
|
||||||
einfo " prefix: $(cross)"
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
# We need to be very careful with the CFLAGS we ask ghc to pass through to
|
|
||||||
# gcc. There are plenty of flags which will make gcc produce output that
|
|
||||||
# breaks ghc in various ways. The main ones we want to pass through are
|
|
||||||
# -mcpu / -march flags. These are important for arches like alpha & sparc.
|
|
||||||
# We also use these CFLAGS for building the C parts of ghc, ie the rts.
|
|
||||||
strip-flags
|
|
||||||
strip-unsupported-flags
|
|
||||||
|
|
||||||
# Cmm can't parse line numbers #482086
|
|
||||||
replace-flags -ggdb[3-9] -ggdb2
|
|
||||||
|
|
||||||
GHC_FLAGS=""
|
|
||||||
GHC_PERSISTENT_FLAGS=""
|
|
||||||
for flag in ${CFLAGS}; do
|
|
||||||
case ${flag} in
|
|
||||||
|
|
||||||
# Ignore extra optimisation (ghc passes -O to gcc anyway)
|
|
||||||
# -O2 and above break on too many systems
|
|
||||||
-O*) ;;
|
|
||||||
|
|
||||||
# Arch and ABI flags are what we're really after
|
|
||||||
-m*) append-ghc-cflags compile assemble ${flag};;
|
|
||||||
|
|
||||||
# Sometimes it's handy to see backtrace of RTS
|
|
||||||
# to get an idea what happens there
|
|
||||||
-g*) append-ghc-cflags compile ${flag};;
|
|
||||||
|
|
||||||
# Ignore all other flags, including all -f* flags
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
for flag in ${LDFLAGS}; do
|
|
||||||
append-ghc-cflags link ${flag}
|
|
||||||
done
|
|
||||||
|
|
||||||
# hardened-gcc needs to be disabled, because our prebuilt binaries/libraries
|
|
||||||
# are not built with fPIC, bug #606666
|
|
||||||
gcc-specs-pie && append-ghc-cflags persistent compile link -nopie
|
|
||||||
tc-is-gcc && version_is_at_least 6.3 $(gcc-version) && if ! use ghcbootstrap; then
|
|
||||||
# gcc-6.3 has support for -no-pie upstream, but spelling differs from
|
|
||||||
# gentoo-specific '-nopie'. We enable it in non-bootstrap to allow
|
|
||||||
# hardened users try '-pie' in USE=ghcbootstrap mode.
|
|
||||||
append-ghc-cflags compile link -no-pie
|
|
||||||
fi
|
|
||||||
|
|
||||||
# prevent from failind building unregisterised ghc:
|
|
||||||
# https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg171602.html
|
|
||||||
use ppc64 && append-ghc-cflags persistent compile -mminimal-toc
|
|
||||||
}
|
|
||||||
|
|
||||||
# substitutes string $1 to $2 in files $3 $4 ...
|
|
||||||
relocate_path() {
|
|
||||||
local from=$1
|
|
||||||
local to=$2
|
|
||||||
shift 2
|
|
||||||
local file=
|
|
||||||
for file in "$@"
|
|
||||||
do
|
|
||||||
sed -i -e "s|$from|$to|g" \
|
|
||||||
"$file" || die "path relocation failed for '$file'"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# changes hardcoded ghc paths and updates package index
|
|
||||||
# $1 - new absolute root path
|
|
||||||
relocate_ghc() {
|
|
||||||
local to=$1
|
|
||||||
|
|
||||||
# libdir for prebuilt binary and for current system may mismatch
|
|
||||||
# It does for prefix installation for example: bug #476998
|
|
||||||
local bin_ghc_prefix=${WORKDIR}/usr
|
|
||||||
local bin_libpath=$(echo "${bin_ghc_prefix}"/lib*)
|
|
||||||
local bin_libdir=${bin_libpath#${bin_ghc_prefix}/}
|
|
||||||
|
|
||||||
# backup original script to use it later after relocation
|
|
||||||
local gp_back="${T}/ghc-pkg-${GHC_PV}-orig"
|
|
||||||
cp "${WORKDIR}/usr/bin/$(cross)ghc-pkg-${GHC_PV}" "$gp_back" || die "unable to backup ghc-pkg wrapper"
|
|
||||||
|
|
||||||
if [[ ${bin_libdir} != $(get_libdir) ]]; then
|
|
||||||
einfo "Relocating '${bin_libdir}' to '$(get_libdir)' (bug #476998)"
|
|
||||||
# moving the dir itself is not strictly needed
|
|
||||||
# but then USE=binary would result in installing
|
|
||||||
# in '${bin_libdir}'
|
|
||||||
mv "${bin_ghc_prefix}/${bin_libdir}" "${bin_ghc_prefix}/$(get_libdir)" || die
|
|
||||||
bin_libpath=${bin_ghc_prefix}/$(get_libdir)
|
|
||||||
|
|
||||||
relocate_path "/usr/${bin_libdir}" "/usr/$(get_libdir)" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)ghc-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)ghci-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)ghc-pkg-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)hsc2hs" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)runghc-${GHC_PV}" \
|
|
||||||
"$gp_back" \
|
|
||||||
"${WORKDIR}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d/"*
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Relocate from /usr to ${EPREFIX}/usr
|
|
||||||
relocate_path "/usr" "${to}/usr" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)ghc-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)ghci-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)ghc-pkg-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)hsc2hs" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)runghc-${GHC_PV}" \
|
|
||||||
"${WORKDIR}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d/"*
|
|
||||||
|
|
||||||
# this one we will use to regenerate cache
|
|
||||||
# so it should point to current tree location
|
|
||||||
relocate_path "/usr" "${WORKDIR}/usr" "$gp_back"
|
|
||||||
|
|
||||||
if use prefix; then
|
|
||||||
hprefixify "${bin_libpath}"/${PN}*/settings
|
|
||||||
fi
|
|
||||||
|
|
||||||
# regenerate the binary package cache
|
|
||||||
"$gp_back" recache || die "failed to update cache after relocation"
|
|
||||||
rm "$gp_back"
|
|
||||||
}
|
|
||||||
|
|
||||||
ghc-check-reqs() {
|
|
||||||
# These are pessimistic values (slightly bigger than worst-case)
|
|
||||||
# Worst case is UNREG USE=profile ia64. See bug #611866 for some
|
|
||||||
# numbers on various arches.
|
|
||||||
CHECKREQS_DISK_BUILD=8G
|
|
||||||
CHECKREQS_DISK_USR=2G
|
|
||||||
# USE=binary roughly takes
|
|
||||||
use binary && CHECKREQS_DISK_BUILD=4G
|
|
||||||
|
|
||||||
"$@"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
ghc-check-reqs check-reqs_pkg_pretend
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
ghc-check-reqs check-reqs_pkg_setup
|
|
||||||
|
|
||||||
# quiet portage about prebuilt binaries
|
|
||||||
use binary && QA_PREBUILT="*"
|
|
||||||
|
|
||||||
[[ ${MERGE_TYPE} == binary ]] && return
|
|
||||||
|
|
||||||
if use ghcbootstrap; then
|
|
||||||
ewarn "You requested ghc bootstrapping, this is usually only used"
|
|
||||||
ewarn "by Gentoo developers to make binary .tbz2 packages."
|
|
||||||
|
|
||||||
[[ -z $(type -P ghc) ]] && \
|
|
||||||
die "Could not find a ghc to bootstrap with."
|
|
||||||
else
|
|
||||||
if ! yet_binary; then
|
|
||||||
eerror "Please try emerging with USE=ghcbootstrap and report build"
|
|
||||||
eerror "sucess or failure to the haskell team (haskell@gentoo.org)"
|
|
||||||
die "No binary available for '${ARCH}' arch yet, USE=ghcbootstrap"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
# Create the ${S} dir if we're using the binary version
|
|
||||||
use binary && mkdir "${S}"
|
|
||||||
|
|
||||||
# the Solaris and Darwin binaries from ghc (maeder) need to be
|
|
||||||
# unpacked separately, so prevent them from being unpacked
|
|
||||||
local ONLYA=${A}
|
|
||||||
case ${CHOST} in
|
|
||||||
*-darwin* | *-solaris*) ONLYA=${GHC_P}-src.tar.xz ;;
|
|
||||||
esac
|
|
||||||
unpack ${ONLYA}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
ghc_setup_cflags
|
|
||||||
|
|
||||||
if ! use ghcbootstrap && [[ ${CHOST} != *-darwin* && ${CHOST} != *-solaris* ]]; then
|
|
||||||
# Modify the wrapper script from the binary tarball to use GHC_PERSISTENT_FLAGS.
|
|
||||||
# See bug #313635.
|
|
||||||
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_PERSISTENT_FLAGS}|" \
|
|
||||||
"${WORKDIR}/usr/bin/$(cross)ghc-${GHC_PV}"
|
|
||||||
|
|
||||||
# allow hardened users use vanilla binary to bootstrap ghc
|
|
||||||
# ghci uses mmap with rwx protection at it implements dynamic
|
|
||||||
# linking on it's own (bug #299709)
|
|
||||||
pax-mark -m "${WORKDIR}/usr/$(get_libdir)/$(cross)${GHC_P}/bin/ghc"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use binary; then
|
|
||||||
if use prefix; then
|
|
||||||
relocate_ghc "${EPREFIX}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Move unpacked files to the expected place
|
|
||||||
mv "${WORKDIR}/usr" "${S}"
|
|
||||||
else
|
|
||||||
if ! use ghcbootstrap; then
|
|
||||||
case ${CHOST} in
|
|
||||||
*-darwin* | *-solaris*)
|
|
||||||
# UPDATE ME for ghc-7
|
|
||||||
mkdir "${WORKDIR}"/ghc-bin-installer || die
|
|
||||||
pushd "${WORKDIR}"/ghc-bin-installer > /dev/null || die
|
|
||||||
use sparc-solaris && unpack ghc-6.10.4-sparc-sun-solaris2.tar.bz2
|
|
||||||
use x86-solaris && unpack ghc-7.0.3-i386-unknown-solaris2.tar.bz2
|
|
||||||
use x64-macos && unpack ghc-7.4.1-x86_64-apple-darwin.tar.bz2
|
|
||||||
popd > /dev/null
|
|
||||||
|
|
||||||
pushd "${WORKDIR}"/ghc-bin-installer/ghc-[67].?*.? > /dev/null || die
|
|
||||||
# fix the binaries so they run, on Solaris we need an
|
|
||||||
# LD_LIBRARY_PATH which has our prefix libdirs, on
|
|
||||||
# Darwin we need to replace the frameworks with our libs
|
|
||||||
# from the prefix fix before installation, because some
|
|
||||||
# of the tools are actually used during configure/make
|
|
||||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
|
||||||
export LD_LIBRARY_PATH="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir):${LD_LIBRARY_PATH}"
|
|
||||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
|
||||||
local readline_framework=GNUreadline.framework/GNUreadline
|
|
||||||
local gmp_framework=/opt/local/lib/libgmp.10.dylib
|
|
||||||
local ncurses_file=/opt/local/lib/libncurses.5.dylib
|
|
||||||
for binary in $(scanmacho -BRE MH_EXECUTE -F '%F' .) ; do
|
|
||||||
install_name_tool -change \
|
|
||||||
${readline_framework} \
|
|
||||||
"${EPREFIX}"/lib/libreadline.dylib \
|
|
||||||
${binary} || die
|
|
||||||
install_name_tool -change \
|
|
||||||
${gmp_framework} \
|
|
||||||
"${EPREFIX}"/usr/lib/libgmp.dylib \
|
|
||||||
${binary} || die
|
|
||||||
install_name_tool -change \
|
|
||||||
${ncurses_file} \
|
|
||||||
"${EPREFIX}"/usr/lib/libncurses.dylib \
|
|
||||||
${binary} || die
|
|
||||||
done
|
|
||||||
# we don't do frameworks!
|
|
||||||
sed -i \
|
|
||||||
-e 's/\(frameworks = \)\["GMP"\]/\1[]/g' \
|
|
||||||
-e 's/\(extraLibraries = \)\["m"\]/\1["m","gmp"]/g' \
|
|
||||||
rts/package.conf.in || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# it is autoconf, but we really don't want to give it too
|
|
||||||
# much arguments, in fact we do the make in-place anyway
|
|
||||||
./configure --prefix="${WORKDIR}"/usr || die
|
|
||||||
make install || die
|
|
||||||
popd > /dev/null
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
relocate_ghc "${WORKDIR}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_PERSISTENT_FLAGS}|" \
|
|
||||||
"${S}/ghc/ghc.wrapper"
|
|
||||||
|
|
||||||
cd "${S}" # otherwise epatch will break
|
|
||||||
|
|
||||||
epatch "${FILESDIR}"/${PN}-7.0.4-CHOST-prefix.patch
|
|
||||||
|
|
||||||
epatch "${FILESDIR}"/${PN}-8.0.1_rc1-cgen-constify.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-7.8.3-prim-lm.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-8.0.2-no-relax-everywhere.patch
|
|
||||||
|
|
||||||
epatch "${FILESDIR}"/${PN}-8.0.1-limit-jN.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-8.0.1-ww-args-limit.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-8.0.1-par-g0-on-A32.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-8.0.2_rc2-old-sphinx.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-8.0.2-libffi-alpha.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-8.0.2-O2-unreg.patch
|
|
||||||
epatch "${FILESDIR}"/${PN}-8.0.2-binutils-2.30.patch
|
|
||||||
|
|
||||||
bump_libs
|
|
||||||
|
|
||||||
# as we have changed the build system
|
|
||||||
eautoreconf
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
if ! use binary; then
|
|
||||||
# initialize build.mk
|
|
||||||
echo '# Gentoo changes' > mk/build.mk
|
|
||||||
|
|
||||||
# Put docs into the right place, ie /usr/share/doc/ghc-${GHC_PV}
|
|
||||||
echo "docdir = ${EPREFIX}/usr/share/doc/${P}" >> mk/build.mk
|
|
||||||
echo "htmldir = ${EPREFIX}/usr/share/doc/${P}" >> mk/build.mk
|
|
||||||
|
|
||||||
# We also need to use the GHC_FLAGS flags when building ghc itself
|
|
||||||
echo "SRC_HC_OPTS+=${HCFLAGS} ${GHC_FLAGS}" >> mk/build.mk
|
|
||||||
echo "SRC_CC_OPTS+=${CFLAGS}" >> mk/build.mk
|
|
||||||
echo "SRC_LD_OPTS+=${LDFLAGS}" >> mk/build.mk
|
|
||||||
# Speed up initial Cabal bootstrap
|
|
||||||
echo "utils/ghc-cabal_dist_EXTRA_HC_OPTS+=$(ghc-make-args)" >> mk/build.mk
|
|
||||||
|
|
||||||
# We can't depend on haddock except when bootstrapping when we
|
|
||||||
# must build docs and include them into the binary .tbz2 package
|
|
||||||
# app-text/dblatex is not in portage, can not build PDF or PS
|
|
||||||
echo "BUILD_SPHINX_PDF = NO" >> mk/build.mk
|
|
||||||
echo "BUILD_SPHINX_HTML = $(usex doc YES NO)" >> mk/build.mk
|
|
||||||
echo "BUILD_MAN = $(usex doc YES NO)" >> mk/build.mk
|
|
||||||
|
|
||||||
# this controls presence on 'xhtml' and 'haddock' in final install
|
|
||||||
echo "HADDOCK_DOCS = YES" >> mk/build.mk
|
|
||||||
|
|
||||||
# allows overriding build flavours for libraries:
|
|
||||||
# v - vanilla (static libs)
|
|
||||||
# p - profiled
|
|
||||||
# dyn - shared libraries
|
|
||||||
# example: GHC_LIBRARY_WAYS="v dyn"
|
|
||||||
if [[ -n ${GHC_LIBRARY_WAYS} ]]; then
|
|
||||||
echo "GhcLibWays=${GHC_LIBRARY_WAYS}" >> mk/build.mk
|
|
||||||
fi
|
|
||||||
echo "BUILD_PROF_LIBS = $(usex profile YES NO)" >> mk/build.mk
|
|
||||||
|
|
||||||
# Get ghc from the unpacked binary .tbz2
|
|
||||||
# except when bootstrapping we just pick ghc up off the path
|
|
||||||
if ! use ghcbootstrap; then
|
|
||||||
export PATH="${WORKDIR}/usr/bin:${PATH}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "INTEGER_LIBRARY = $(usex gmp integer-gmp integer-simple)" >> mk/build.mk
|
|
||||||
|
|
||||||
# don't strip anything. Very useful when stage2 SIGSEGVs on you
|
|
||||||
echo "STRIP_CMD = :" >> mk/build.mk
|
|
||||||
|
|
||||||
local econf_args=()
|
|
||||||
|
|
||||||
# GHC embeds 'gcc' it was built by and uses it later.
|
|
||||||
# Don't allow things like ccache or versioned binary slip.
|
|
||||||
# We use stable thing across gcc upgrades.
|
|
||||||
is_crosscompile || econf_args+=(--with-gcc=${CHOST}-gcc)
|
|
||||||
|
|
||||||
if use ghcmakebinary; then
|
|
||||||
# When building booting libary we are trying to
|
|
||||||
# bundle or restrict most of external depends
|
|
||||||
# with unstable ABI:
|
|
||||||
# - embed libffi (default GHC behaviour)
|
|
||||||
# - disable ncurses support for ghci (via haskeline)
|
|
||||||
# https://bugs.gentoo.org/557478
|
|
||||||
# - disable ncurses support for ghc-pkg
|
|
||||||
echo "libraries/haskeline_CONFIGURE_OPTS += --flag=-terminfo" >> mk/build.mk
|
|
||||||
echo "utils/ghc-pkg_HC_OPTS += -DBOOTSTRAPPING" >> mk/build.mk
|
|
||||||
else
|
|
||||||
econf_args+=(--with-system-libffi)
|
|
||||||
econf_args+=(--with-ffi-includes=$($(tc-getPKG_CONFIG) libffi --cflags-only-I | sed -e 's@^-I@@'))
|
|
||||||
fi
|
|
||||||
|
|
||||||
elog "Final mk/build.mk:"
|
|
||||||
cat mk/build.mk || die
|
|
||||||
|
|
||||||
econf ${econf_args[@]} --enable-bootstrap-with-devel-snapshot
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
GHC_PV="$(grep 'S\[\"PACKAGE_VERSION\"\]' config.status | sed -e 's@^.*=\"\(.*\)\"@\1@')"
|
|
||||||
GHC_P=${PN}-${GHC_PV}
|
|
||||||
fi
|
|
||||||
fi # ! use binary
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
if ! use binary; then
|
|
||||||
# 1. build/pax-mark compiler binary first
|
|
||||||
emake ghc/stage2/build/tmp/ghc-stage2
|
|
||||||
pax-mark -m ghc/stage2/build/tmp/ghc-stage2
|
|
||||||
# 2. build/pax-mark haddock using ghc-stage2
|
|
||||||
emake utils/haddock/dist/build/tmp/haddock
|
|
||||||
pax-mark -m utils/haddock/dist/build/tmp/haddock
|
|
||||||
# 3. and then all the rest
|
|
||||||
emake all
|
|
||||||
fi # ! use binary
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
if use binary; then
|
|
||||||
use prefix && mkdir -p "${ED}"
|
|
||||||
mv "${S}/usr" "${ED}"
|
|
||||||
else
|
|
||||||
|
|
||||||
emake -j1 install DESTDIR="${D}"
|
|
||||||
dodoc "distrib/README" "ANNOUNCE" "LICENSE" "VERSION"
|
|
||||||
|
|
||||||
# rename ghc-shipped files to avoid collision
|
|
||||||
# of external packages. Motivating example:
|
|
||||||
# user had installed:
|
|
||||||
# dev-lang/ghc-7.8.4-r0 (with transformers-0.3.0.0)
|
|
||||||
# dev-haskell/transformers-0.4.2.0
|
|
||||||
# then user tried to update to
|
|
||||||
# dev-lang/ghc-7.8.4-r1 (with transformers-0.4.2.0)
|
|
||||||
# this will lead to single .conf file collision.
|
|
||||||
local shipped_conf renamed_conf
|
|
||||||
local package_confdir="${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d"
|
|
||||||
for shipped_conf in "${package_confdir}"/*.conf; do
|
|
||||||
# rename 'pkg-ver-id.conf' to 'pkg-ver-id-gentoo-${PF}.conf'
|
|
||||||
renamed_conf=${shipped_conf%.conf}-gentoo-${PF}.conf
|
|
||||||
mv "${shipped_conf}" "${renamed_conf}" || die
|
|
||||||
done
|
|
||||||
|
|
||||||
# remove link, but leave 'haddock-${GHC_P}'
|
|
||||||
rm -f "${ED}"/usr/bin/$(cross)haddock
|
|
||||||
|
|
||||||
if [[ ! -f "${S}/VERSION" ]]; then
|
|
||||||
echo "${GHC_PV}" > "${S}/VERSION" \
|
|
||||||
|| die "Could not create file ${S}/VERSION"
|
|
||||||
fi
|
|
||||||
if ! is_crosscompile; then
|
|
||||||
newbashcomp "${FILESDIR}"/ghc-bash-completion ghc-pkg
|
|
||||||
newbashcomp utils/completion/ghc.bash ghc
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# path to the package.cache
|
|
||||||
local package_confdir="${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d"
|
|
||||||
PKGCACHE="${package_confdir}"/package.cache
|
|
||||||
# copy the package.conf.d, including timestamp, save it so we can help
|
|
||||||
# users that have a broken package.conf.d
|
|
||||||
cp -pR "${package_confdir}"{,.initial} || die "failed to backup intial package.conf.d"
|
|
||||||
|
|
||||||
# copy the package.conf, including timestamp, save it so we later can put it
|
|
||||||
# back before uninstalling, or when upgrading.
|
|
||||||
cp -p "${PKGCACHE}"{,.shipped} \
|
|
||||||
|| die "failed to copy package.conf.d/package.cache"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# have we got an earlier version of ghc installed?
|
|
||||||
if has_version "<${CATEGORY}/${PF}"; then
|
|
||||||
haskell_updater_warn="1"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
ghc-reregister
|
|
||||||
|
|
||||||
# path to the package.cache
|
|
||||||
PKGCACHE="${EROOT}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d/package.cache"
|
|
||||||
|
|
||||||
# give the cache a new timestamp, it must be as recent as
|
|
||||||
# the package.conf.d directory.
|
|
||||||
touch "${PKGCACHE}"
|
|
||||||
|
|
||||||
if [[ "${haskell_updater_warn}" == "1" ]]; then
|
|
||||||
ewarn
|
|
||||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
|
||||||
ewarn
|
|
||||||
ewarn "You have just upgraded from an older version of GHC."
|
|
||||||
ewarn "You may have to run"
|
|
||||||
ewarn " 'haskell-updater'"
|
|
||||||
ewarn "to rebuild all ghc-based Haskell libraries."
|
|
||||||
ewarn
|
|
||||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
|
||||||
ewarn
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_prerm() {
|
|
||||||
PKGCACHE="${EROOT}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d/package.cache"
|
|
||||||
rm -rf "${PKGCACHE}"
|
|
||||||
|
|
||||||
cp -p "${PKGCACHE}"{.shipped,}
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
ghc-package_pkg_postrm
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue