diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-07-30 00:15:54 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-07-30 00:19:55 -0700 |
commit | a386e92c8cae09c124787991574dc7a033dade5d (patch) | |
tree | 4eee6d1f8c7ffd444a82fc4e4655ea6b19aa63fa /dev-util | |
parent | net-mail/cyrus-imapd: remove old (diff) | |
download | gentoo-a386e92c8cae09c124787991574dc7a033dade5d.tar.gz gentoo-a386e92c8cae09c124787991574dc7a033dade5d.tar.bz2 gentoo-a386e92c8cae09c124787991574dc7a033dade5d.zip |
dev-util/sccache: bump to 0.2.9
Bug: https://bugs.gentoo.org/688848
Closes: https://bugs.gentoo.org/690780
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/sccache/Manifest | 6 | ||||
-rw-r--r-- | dev-util/sccache/files/scheduler.confd-r1 | 12 | ||||
-rw-r--r-- | dev-util/sccache/files/scheduler.initd-r1 | 17 | ||||
-rw-r--r-- | dev-util/sccache/files/server.confd-r1 | 12 | ||||
-rw-r--r-- | dev-util/sccache/files/server.initd-r1 | 19 | ||||
-rw-r--r-- | dev-util/sccache/sccache-0.2.9.ebuild | 358 |
6 files changed, 424 insertions, 0 deletions
diff --git a/dev-util/sccache/Manifest b/dev-util/sccache/Manifest index dc5a9e43e1f4..3bd3ad1553cb 100644 --- a/dev-util/sccache/Manifest +++ b/dev-util/sccache/Manifest @@ -48,7 +48,9 @@ DIST dtoa-0.4.3.crate 14456 BLAKE2B e310c71454a3ebe77e9b3f479b45b8dc15b988823eee DIST either-1.5.0.crate 10900 BLAKE2B 5db7e6758a91dbb7ea7c9f49b17d03e98463894e9fb95914e519542367f9f87986358b4ce0f34e261b31c204af532ed962b2ddee2e6fee9ab001e7f372371711 SHA512 9dc046f2c27bf12f57413443586171cb1d7574e5de76e02af892f9027bc66c2cab840180ad85af3833aee61d5fec033c77a15809492e8c2a78b541addbc81df0 DIST encoding_rs-0.8.10.crate 1244099 BLAKE2B 855a2af8075d8ac81e24978b6d03017db408319e8fe485b372af06addfd9930df0841d99f986edc7c16bc9822bdac72bf7af56582a3ca441e66f4cf0266f213c SHA512 b6ad406bb549c0a0e7aeaf11961eb45f640ce0f83baadc54408827db04d69a70e490f8bff54dd01a0457a9fe717ae42b9d5c59d89f8246219fe640f77a4208bc DIST env_logger-0.5.13.crate 25275 BLAKE2B 02d13c40bafa9e403ba1e3582e296d132061ef020183d39a071f9ab4606a8f45cd211708ab8757d6dd9c04bf4b79b429c0db4bc293a8dbce0506b643d1a6aba5 SHA512 46739cbdcfb34e56b65c7839a5d62ec0f285359dd415bcdcbd2de5ad8e8015aee5a31e92c202c94da5d75235dee4f49ad8585fb852be1f8b2852438922ed4a99 +DIST error-chain-0.11.0.crate 27207 BLAKE2B e50c4e2d6a173e9866311bb81adbde4bddd64d529bfcc919ecade60926112b537cff491a4ba8e84586b3dc63e87e2b3c0695452c165ddf202d6901b2d6247f2c SHA512 a7c06be660a554b4c50deacaf6ef0699cf6e8cf234d9610324c70dac0cffeff1540dfbf10efd41427858551b095c998d670f1287c9459c35217bd78d8887c60b DIST error-chain-0.12.0.crate 27056 BLAKE2B a6d699ae63838d3b0d40a63977642fc464558fd45a46c2da9c7a57889450f7ce183c43dddfbe325c8cf6db2775c1a41f547bfd3802cda5b46d4a09f6e0a91aa5 SHA512 7e9fd94de9f0f8e61039766953d85b3cc5f87be2b8c37016295031ea3234dbcbccd111f521ddaaf97dab7f8ff8c30828b8949958014ef1e13a02544b6143b9e4 +DIST error-chain-0.12.1.crate 27906 BLAKE2B 66c54c3448b8968a70395861469d7b80aa101210a3c96d2f28b0933fce6d77ec28f4ee18d7666402abc8162f567029fe93f7dc80b93644ef6e488ad4062832bf SHA512 1a8baeac9f4d96214a878b5c80ec2c5753c2232a166515c96ad6a42424bbe32410f2acd3aefa70d9dda7036e1965d83aeb9fd1a393b11464fed751aaebc9bbdc DIST escargot-0.3.1.crate 12708 BLAKE2B b6beb0243d791576070ed0662e39944c28204aed3345d63be96d2e43851840e6bad084e5d38aad2e775169c25661aded27fa866048b4725e5c2d654e7db55411 SHA512 4d7b28c08aba0cb8d61c0df4ad1fec2c2e940495384160dc16dafaaa0f65a603d9acd4b53ce6c87fd55f255ff28aa78265c17254bea8489c7b6b9b27f9f7c92f DIST failure-0.1.3.crate 34107 BLAKE2B 6ed7b1f978bc88b5a8c3e6b30854cf0718ec7882c88834f7464bdf2864a784026a90034239c09ae433b4938293be7fe8034bc32b295350db1bf38e76f140a47d SHA512 b77170bb749da6a8af01cb9bbd42c5e75ff72ed74886d8ae1223bf6a7c2089c0bd37420e9e2eb5fa74c58214e49c0d00ff632008d7f6d6c831ede92db8de7e64 DIST failure_derive-0.1.3.crate 4349 BLAKE2B 1e5b282737425c0ce9c6bbfa3ee47748c65ad5914fe253ead5dd684770078bee4748418510080e47e4b6c6b7be60e99cf214b42055bcedf2653c3668c9c6ece0 SHA512 22e75f72a5bb739003a65e6d8d0f8a8b4f02b605829bc1c4e5b1f87a45e5e46b0a6dd4ddce0d3b3bb029fa5d177a2e01de510e29103e24038c795d4354c76eb4 @@ -97,6 +99,7 @@ DIST lock_api-0.1.5.crate 16967 BLAKE2B c44ebe24fa6074394d0719b293d447ab67a9a237 DIST log-0.3.9.crate 16686 BLAKE2B 543a8a2425c88bd3cf00d4cd2b4790ef344f9743b61776d65f1d8aaaa1ee1069933e33aec114a2dcaada5cf698bbd983fb22354aa50bca58b161a36b2f1efc47 SHA512 1d49a0dcff0a17c1238aba6a6cbc485a61986e8c4768805ded912c5014d0fba6ca38c9bd038f3f53900a6309d41fc0216682f137362e63715878195453d2de6f DIST log-0.4.6.crate 22303 BLAKE2B 3b1ad5e1cc1cf7bb223df569a6024b5749fdc973bb99a2a1f11772774cb384cc98214366e62d846b57c7d150f925cdf0e906f8113039204a82fbf001ae15133a SHA512 3844c771f97531ae7312c6bb0cf74ccaab94925f68bf1172419cc44fa4b5373f3ac6b42fb6d0ba636a970b295ea5d1b5abbe72b4da67a103e8dc4ed48a0cc5cb DIST lru-disk-cache-0.2.0.crate 10160 BLAKE2B 2a5e9316f72446c7d43893ceadf463e5081f04372565045fdea17cc0fb7ef501e1a3fcb54ae22c75278c49384e4aaac61bc1b312b74a1a8f98d6935c925bec8c SHA512 ec21cf5c66151b14cb0330d4c240a88856016a4235060b2b58f184d2da175900f2a3a16e0bd03f4fb66e164c81e7d55f5603df911022ee528a10b6d6822593c9 +DIST lru-disk-cache-0.3.0.crate 10560 BLAKE2B b027b7b84a553e47cbe46520d0271025bbb9067e9f0f5a0539b01cded949f0b32e3dec390b84211a603efc92e729059801a6d675e01fb798f9be4e7c0592a268 SHA512 d8aac241e43140984500c443ae61f30ce33a1532b6200d63f122a3b2aed9aad8c9a790f6387644947df2accafcd060b5bc75a0fa9c19e14b1f99dd86d870e50d DIST matches-0.1.8.crate 2216 BLAKE2B f18176110921b1cf6e58d52d12f1d1a3455ce2dc04421fbf1b392f66cdd81a88e924571fa27e307a06301d83b04f3b8a0ca3ae40d2da6f2decb8aac4e2801fbb SHA512 98b58f6a2694b03a7dd1be69ebf7e3ad14483fc8e4cb6e6c26a4937e4e660e843efb4dd04a7312dd9659ca02acd3775678f73b8faac44a76ffafaf873c22f590 DIST md5-0.3.8.crate 6177 BLAKE2B ccfe37b9ec1284e5b7a1532d521ac2a96f3a77488166a71b5e57ac5d848db6db9a3b43cda0a5f8d2ec35f353b0576f4c16f50a6fb5041844c668462f0afcd05a SHA512 3cff7965ac287077803a1cae6e808f8157ed182ab282c948fae6f936692b08ce904ecdf53d37b83989aaf57dceaf1e82984c749ca27a2ca83f8eed2945f36398 DIST memcached-rs-0.3.0.crate 19015 BLAKE2B e50bfe0f85ad0706fc90aa46c1f36f6291377e5d4ce0da1e242a050420ac35e53cd5f5dbe21659ea69b0077bfc248ad2b9ae8bff05ae7bbf54d5760f31a0c8c0 SHA512 bdba069d806d7d032eec08c0328f9bf8a388746d1072e7a654b9c4ca2fce34f164ad1ffd1d91239eaf8e34c821b83bfe6a46ec5c81f7768874627a26183b24f5 @@ -171,6 +174,7 @@ DIST reqwest-0.8.8.crate 55825 BLAKE2B b4bbde5f4229f1ebf797d47a4447fb9e882067f0b DIST reqwest-0.9.5.crate 63819 BLAKE2B f8f2a524cd542b234966712a07d7178ff24d57fe2fe809c9830f08e91f994575f7f6cb3accaf9e12188033ab9becd384b7c1b654862409cb42b65928d6e2d9dc SHA512 c63ee8937bc91427e6a40539cace7d91722660e517ee789e57584be49efe299f0a7e3ff7a8addcd74109fb69d8ec4cc0697508bda577a94eea6b471815a00de8 DIST retry-0.4.0.crate 3875 BLAKE2B 2484122c3aeb1cbeb5b6152a2c3e9d329945530d3c7f01a8d4b9b83bcb7466ced9b0052acd523872192f7ce63c9b4f9d01dc7b86739c1e2ed0e44fab609397bc SHA512 e7581bf4b3d6217246a9fad57a3af5225c3cd0ef7916ab9cc4b4cd78b040ba5e708d04b0315237a7cbc61f644c5435e24006346f43016cedf1affded1b839be2 DIST ring-0.13.2.crate 5422395 BLAKE2B ec0b8f53e63447d7702c359c260cfbfd201ae3c9773c62ccfe64d24675f5ac41a05aa650c7d0e6be64e9e4222b439ec7db133df542161cbb55b5d9a131b37718 SHA512 0b2fa741bb9c3b085c74ca0daab3f89814178934e9bd4bb1522b8f2fd3bbccf70909667cc22d03d8ad113e714ccf04aa695231bb8c890b20ec72a9ad9252ef86 +DIST ring-0.13.5.crate 5419321 BLAKE2B 8f81b3fd2ef84574ec7763d40c1f37d7d8c324c8d00f49d181f152412ca084b0f765abfb09f5c380c6fd2b116eb9706acd96c724030d71f7950368a902ce1de4 SHA512 18c2bfa44fdbdd8006b114dc97b66979dd24bde852d793f67b8107c3a2fc73934a3817d4911d5e1dc9d0bf70053c7467c657fa87577d9608d10a4b7a9e63ba6c DIST rouille-2.2.0.crate 71003 BLAKE2B d6ab434e666e471f019533ca394bfe66a1c4e23ea3c66dbefc7f5e8c37d9651ad013c0bc25d8f8c0742819b28fae028606a666ba741e0b424062acbe3d549c42 SHA512 b9b105d59f24773f9a29ddd293be671b8544790cacf83e6e53601d186c7f8b14f5f52556fc5424c1d060e54ba1c8dc1ec492f6a9b698404d7a4c41839bb6ca56 DIST rust-crypto-0.2.36.crate 857879 BLAKE2B c486a2e43eb9ac9d2558bb39a249dcd689e86eef51d9a7613a3964baa633cebec824d5a490254dc06eca7a5faa471126de92452d62c522a3dbf494b9940a13e1 SHA512 0fac026d8799ecde523f20e7b34b9486343e48b95e79cd76bb6c8bfaeaebed550e45d59d85d8a3a58595f10c02a4a5e55691da15c203a4336a9bdb5480cd2e90 DIST rustc-demangle-0.1.9.crate 11463 BLAKE2B 3f03fab938d2778f4a74c101da6adec0eed5033bf06e724a5978de16cabf0341790df5da9c68376ba1d85a048575ff644e14297767950ef15d68c337a5d865b8 SHA512 7047907a0246384eb672bb8fd69a201a205b18460bab857e481606d1b9e25c2629c2898118edd72391da1d1f83b6caf4fb2a78eda19edb6dc7025eadebcc13f1 @@ -181,6 +185,7 @@ DIST safemem-0.2.0.crate 6450 BLAKE2B 44598e47fa6185ec0890b4ba6d0e7b5f52f8892875 DIST safemem-0.3.0.crate 6947 BLAKE2B 1f3e86944eda42c890a5f5792b7e0a50fe6574b1cbb077b7f08aca7dfd33e26deb0fccb3aa96056de3d637d014658b682aa47b523f0efb1f8145af7bf34ce3a7 SHA512 c7d56204b29e9c0fcf925ccc43a2c910f6cd74d232c500b61996559a783ced3938cefa058128d72759e94edea683bb8922ac5ea631d16e31b58de093d6650b0f DIST same-file-0.1.3.crate 7078 BLAKE2B 175390d4c7cbe5b98b27b6d23adcef78beda50277f0035eb58d630591023fff92756e928d2089e915e166c5da6a8b1d5b3184e82576eab5145c1681d46b4e953 SHA512 2d3d03ab0dd4add93cd32e7ca43041d541bee41000fd8d98575a58cbd192fe4498234ab80baa3c4791de9f3d4214feae90f628fd655e3510ede61f757be3a82c DIST sccache-0.2.8.tar.gz 229658 BLAKE2B 95a9f7f3adf72dfc49e344de10e374e80e09d0d0ec91fa913da06f8c068a3e4632aecf30a3349ae02ebaa5d3984d5342258842656133fac77db33e0aaae7f75b SHA512 3469a50339892ca2495f5655a1bd9fcb21a60bd01384c6851789e806902d95d605a941b1a09e0172eef663bddbc7d32fba3afc9ec76bd2a27f32acb1b7b0a35f +DIST sccache-0.2.9.tar.gz 239624 BLAKE2B a8b91e71512cf37c4d51fcfab8339345c8c4c6ab542422228f0b573220b2b5256d54c8347e36c54cbe39b6c3b5f7ecea3606b52564dc21af0a143bb2cf49f7aa SHA512 289109338913c935752e9bbcd45b7bf4ef48be03b5a7d92c93ac220b98f04338ff562030cf126f80bda8db41e83b1103e6c2bd55caaeef4d7804157f4f685080 DIST schannel-0.1.14.crate 38833 BLAKE2B 8825f6325f65c5aa4031a2260c4c54ad2a65634d2ce349bf6c31fc10a76f539dfe58d4de1e04fe6e48e885fabf5f720f5b4e4625f4a511e96c7cfe9837c901fa SHA512 550623a87f01c3c6181dad44d44397f172aa07c1b262a78d6eb38ca0676d68bcb8f231970c4eac87e93286225e17acae09551b07128c43b576ea77caae18c0b7 DIST scoped-tls-0.1.2.crate 9079 BLAKE2B 35e15480e05c48d5b886bf94f2fc58f79e7b5f6132c8e81ca8f37140f58d21e8a30dab56de35cc395b1878083f9e7b187af7e580bc61f8f38975b2e1193abb57 SHA512 9e1a517994f06dcdafa05f3ebe67958ed5bc751e6180cff6c891f48fbc143f3279aa841e6109be2c403b492162bdd90b23cf74aeb2154a34748c5d495789fd73 DIST scopeguard-0.3.3.crate 9605 BLAKE2B 2379e45123c1c6ef456001cccbcec3298d6d32a5197ee9ac51e0233522cc24e8dff1900f1a70fe4d8a7889348b0c668e8e5c8956ec0add0898c719ae8e2a0a5d SHA512 57ce8e32dbe342040a63ec65fbef3680d66d439f0f704c5d485670041505905cfc602e7e3580748b4b4a55ce892d17a453e6d2f853cf0de4c6a2082f0fe95719 @@ -210,6 +215,7 @@ DIST syn-0.11.11.crate 63309 BLAKE2B ee33d3f02af356faafd0c03539d1c86ade1f46db8bc DIST syn-0.15.21.crate 146845 BLAKE2B 843c3d7a4853c50be188f7c67a329220cf8e65a467e9a63b3a28ad88fe89063bbde3873f10bbf81357cc5f192756c0c4b43162fe4412471edf914d7e5d0509e8 SHA512 606ffd4bcd74920e7023b2fc83a83087f4a559a9dec0a4a0d5fb6667b9887f98c413191a84b81ddba68e869dfc9fa7d31a3018f90eaed0ad96a039fc46074391 DIST synom-0.11.3.crate 17120 BLAKE2B 30c6bdaff48eb2f3c28a348f737ad4b9ebf4b385de75ec2510aa9fef3b426a8a00041d0dd1649d11a9ba39cd4b9363e0e3f7d808cd0b2d588a38edb395be86d5 SHA512 a9c75d667be94c82c7f545e0569bb5858afd1bfca6e045fd52f4ae18ec4fd440e7d374ef45dafc97bda6c749cd4b4e185d8192b833661657323229803ef4a28e DIST synstructure-0.10.1.crate 17836 BLAKE2B d80745963f581c02a3b9587d45586e2098632a4c21de22547ae97531bbc4f30a1b02989306999c67584c507a5b07978a48f65ad5e00ff55f39e8e0bb4fdbfa8e SHA512 5830eea0eab15c7ed737bfa14c7bbfc73f28af6964ce3148542066fb9760a80dbba82fd9a55078426346ba757e0aaba9addecadb1d0f75eac4f029a6e4c7cc19 +DIST syslog-4.0.1.crate 7131 BLAKE2B a6555d6eed6a0701cca7d58554f2ee612a5d18975dc1979414ac536128e0e7d4a67dde0ad2e40b5ffec823f7edd55dc45d646097fcd457fa6124de95411b4c55 SHA512 faff2117fbf377343149e30a4b338fdd799fb7e4bf425962c2523423f8322aae75f180e4a4c42f1497239400cc60a49cfcf65c00c48433ac956ff17e52063341 DIST tar-0.4.20.crate 45525 BLAKE2B 43e29895b6c22b919ce1178ec763fedbf6565d88156630507099da7def5b61352aa0b988265c39d235dcf791098ae8c4a05405a1dd22a1cc0f32221c583871ff SHA512 0786f88e54f88ad99131450e55d5840832dac11d7a7f7d9a2e8bb69695ea2e98a568bf263a3ea5af08013c9da2b768a36698391cb52f9c8b84cdee5ae98bc13a DIST tempdir-0.3.7.crate 11468 BLAKE2B 65850a69a07c5c7e5c25d77bfc9881c994b1fe8466b1712b904d9758b234f8d12db6e1b740d461a48b13667bdeca8178e75c956fd6eaa0c0d5aca5aa1ac7523b SHA512 e5b02f7d260ff594fc2dbbd441eb8adfa36ede937f32c8c812b458167c0e49f5cf493c6ebf83ce8007a0aeb97016169fda7f5d2996fecc72f9409d6f463d9bbe DIST tempfile-3.0.4.crate 21125 BLAKE2B 27781b6755ef3ea66e31f42e89931e9d5439dc71456da95c399c00b1e5dd5037b17a7f5901fb8cfb33284b2bfc506b6dc5890704722f4154947ee413777f2564 SHA512 54890e6632f7fe81914b013fb63951eb651f7c833c6857db7dc701ca719108131acf97dfd5af4c821d32902618bd9e256ec4dd39edaa42f57f9f459a246b2770 diff --git a/dev-util/sccache/files/scheduler.confd-r1 b/dev-util/sccache/files/scheduler.confd-r1 new file mode 100644 index 000000000000..5cb8299fd37b --- /dev/null +++ b/dev-util/sccache/files/scheduler.confd-r1 @@ -0,0 +1,12 @@ +# /etc/conf.d/sccache-scheduler: config file for /etc/init.d/sccache-scheduler +# + +# Full path to config file. /etc/sccache/scheduler.conf is default if not set. +#SCCACHE_SCHEDULER_CONF="/etc/sccache/scheduler.conf" + +# logging is off by default, possible values are: error warn info debug trace +#SCCACHE_SCHEDULER_LOGLEVEL=info + +# no limits set by default, see IONICE(1), NICE(1), START-STOP-DAEMON(8) +#SSD_NICELEVEL=15 +#SSD_IONICELEVEL=3 diff --git a/dev-util/sccache/files/scheduler.initd-r1 b/dev-util/sccache/files/scheduler.initd-r1 new file mode 100644 index 000000000000..ae9f60bff8b2 --- /dev/null +++ b/dev-util/sccache/files/scheduler.initd-r1 @@ -0,0 +1,17 @@ +#!/sbin/openrc-run +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +SCCACHE_SCHEDULER_CONF="${SCCACHE_SCHEDULER_CONF:-/etc/sccache/scheduler.conf}" + +depend() { + need localmount + use net +} + +description="Starts sccache build scheduler server" + +command="/usr/bin/sccache-dist" +command_args="--config ${SCCACHE_SCHEDULER_CONF} ${SCCACHE_SCHEDULER_LOGLEVEL:+--syslog ${SCCACHE_SCHEDULER_LOGLEVEL}}" +procname="${command} scheduler" +required_files="${SCCACHE_SCHEDULER_CONF}" diff --git a/dev-util/sccache/files/server.confd-r1 b/dev-util/sccache/files/server.confd-r1 new file mode 100644 index 000000000000..4413f0c9bca2 --- /dev/null +++ b/dev-util/sccache/files/server.confd-r1 @@ -0,0 +1,12 @@ +# /etc/conf.d/sccache-server: config file for /etc/init.d/sccache-server +# + +# Full path to config file. /etc/sccache/server.conf is default if not set. +#SCCACHE_SERVER_CONF="/etc/sccache/server.conf" + +# logging is off by default, possible values are: error warn info debug trace +#SCCACHE_SERVER_LOGLEVEL=info + +# no limits set by default, see IONICE(1), NICE(1), START-STOP-DAEMON(8) +#SSD_NICELEVEL=15 +#SSD_IONICELEVEL=3 diff --git a/dev-util/sccache/files/server.initd-r1 b/dev-util/sccache/files/server.initd-r1 new file mode 100644 index 000000000000..19656cc6a058 --- /dev/null +++ b/dev-util/sccache/files/server.initd-r1 @@ -0,0 +1,19 @@ +#!/sbin/openrc-run +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +SCCACHE_SERVER_CONF="${SCCACHE_SERVER_CONF:-/etc/sccache/server.conf}" + +depend() { + need localmount + use net +} + +description="Starts sccache build server" + +command="/usr/bin/sccache-dist" +command_args="--config ${SCCACHE_SERVER_CONF} ${SCCACHE_SERVER_LOGLEVEL:+--syslog ${SCCACHE_SERVER_LOGLEVEL}}" +command_background="true" +pidfile="/run/${RC_SVCNAME}.pid" +procname="${command} server" +required_files="${SCCACHE_SERVER_CONF}" diff --git a/dev-util/sccache/sccache-0.2.9.ebuild b/dev-util/sccache/sccache-0.2.9.ebuild new file mode 100644 index 000000000000..d1941557a46d --- /dev/null +++ b/dev-util/sccache/sccache-0.2.9.ebuild @@ -0,0 +1,358 @@ +# Copyright 2017-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# needs itoa-0.3.4 for tests +CRATES=" +adler32-1.0.3 +aho-corasick-0.6.9 +ansi_term-0.11.0 +ar-0.6.1 +arc-swap-0.3.6 +arraydeque-0.4.3 +arrayvec-0.4.7 +ascii-0.8.7 +ascii-0.9.1 +assert_cmd-0.9.1 +atty-0.2.11 +backtrace-0.3.9 +backtrace-sys-0.1.24 +base64-0.9.3 +bincode-0.8.0 +bincode-1.0.1 +bitflags-0.9.1 +bitflags-1.0.4 +buf_redux-0.6.3 +bufstream-0.1.4 +build_const-0.2.1 +byteorder-1.2.7 +bytes-0.4.11 +case-0.1.0 +cc-1.0.25 +cfg-if-0.1.6 +chrono-0.4.6 +chunked_transfer-0.3.1 +clap-2.32.0 +cloudabi-0.0.3 +combine-3.6.3 +conhash-0.4.0 +core-foundation-0.2.3 +core-foundation-0.5.1 +core-foundation-sys-0.2.3 +core-foundation-sys-0.5.1 +counted-array-0.1.2 +crc-1.8.1 +crossbeam-deque-0.6.2 +crossbeam-epoch-0.6.1 +crossbeam-utils-0.5.0 +crossbeam-utils-0.6.1 +daemonize-0.3.0 +derive-error-0.0.3 +difference-2.0.0 +directories-1.0.2 +dtoa-0.4.3 +either-1.5.0 +encoding_rs-0.8.10 +env_logger-0.5.13 +error-chain-0.11.0 +error-chain-0.12.1 +escargot-0.3.1 +failure-0.1.3 +failure_derive-0.1.3 +filetime-0.1.15 +filetime-0.2.4 +flate2-1.0.5 +flate2-crc-0.1.1 +float-cmp-0.4.0 +fnv-1.0.6 +foreign-types-0.3.2 +foreign-types-shared-0.1.1 +fuchsia-zircon-0.3.3 +fuchsia-zircon-sys-0.3.3 +futures-0.1.25 +futures-cpupool-0.1.8 +gcc-0.3.55 +getopts-0.2.18 +h2-0.1.13 +http-0.1.14 +httparse-1.3.3 +humantime-1.1.1 +hyper-0.11.27 +hyper-0.12.16 +hyper-tls-0.1.4 +hyper-tls-0.3.1 +hyperx-0.12.0 +idna-0.1.5 +indexmap-1.0.2 +iovec-0.1.2 +itertools-0.7.9 +itoa-0.3.4 +itoa-0.4.3 +jobserver-0.1.11 +jsonwebtoken-5.0.1 +kernel32-sys-0.2.2 +language-tags-0.2.2 +lazy_static-0.2.11 +lazy_static-1.2.0 +lazycell-1.2.0 +libc-0.2.44 +libflate-0.1.18 +libmount-0.1.11 +linked-hash-map-0.2.1 +local-encoding-0.2.0 +lock_api-0.1.5 +log-0.3.9 +log-0.4.6 +lru-disk-cache-0.3.0 +matches-0.1.8 +md5-0.3.8 +memcached-rs-0.3.0 +memchr-1.0.2 +memchr-2.1.1 +memoffset-0.2.1 +mime-0.2.6 +mime-0.3.12 +mime_guess-1.8.6 +mime_guess-2.0.0-alpha.6 +miniz_oxide-0.2.0 +miniz_oxide_c_api-0.2.0 +mio-0.6.16 +mio-named-pipes-0.1.6 +mio-uds-0.6.7 +miow-0.2.1 +miow-0.3.3 +msdos_time-0.1.6 +multipart-0.13.6 +native-tls-0.1.5 +native-tls-0.2.2 +net2-0.2.33 +nix-0.11.0 +nodrop-0.1.13 +normalize-line-endings-0.2.2 +num-integer-0.1.39 +num-traits-0.1.43 +num-traits-0.2.6 +num_cpus-1.8.0 +number_prefix-0.2.8 +openssl-0.10.15 +openssl-0.9.24 +openssl-probe-0.1.2 +openssl-sys-0.9.39 +owning_ref-0.4.0 +parking_lot-0.6.4 +parking_lot_core-0.3.1 +percent-encoding-1.0.1 +phf-0.7.23 +phf_codegen-0.7.23 +phf_generator-0.7.23 +phf_shared-0.7.23 +pkg-config-0.3.14 +podio-0.1.6 +predicates-0.9.1 +predicates-core-0.9.0 +predicates-tree-0.9.0 +proc-macro2-0.4.24 +pulldown-cmark-0.0.3 +quick-error-1.2.2 +quote-0.3.15 +quote-0.6.10 +rand-0.3.22 +rand-0.4.3 +rand-0.5.5 +rand-0.6.1 +rand_chacha-0.1.0 +rand_core-0.2.2 +rand_core-0.3.0 +rand_hc-0.1.0 +rand_isaac-0.1.0 +rand_pcg-0.1.1 +rand_xorshift-0.1.0 +redis-0.9.1 +redox_syscall-0.1.42 +redox_termios-0.1.1 +regex-1.0.6 +regex-syntax-0.6.3 +relay-0.1.1 +remove_dir_all-0.5.1 +reqwest-0.8.8 +reqwest-0.9.5 +retry-0.4.0 +ring-0.13.5 +rouille-2.2.0 +rust-crypto-0.2.36 +rustc-demangle-0.1.9 +rustc-serialize-0.3.24 +rustc_version-0.2.3 +ryu-0.2.7 +safemem-0.2.0 +safemem-0.3.0 +same-file-0.1.3 +schannel-0.1.14 +scoped-tls-0.1.2 +scopeguard-0.3.3 +security-framework-0.1.16 +security-framework-0.2.1 +security-framework-sys-0.1.16 +security-framework-sys-0.2.1 +selenium-rs-0.1.1 +semver-0.9.0 +semver-parser-0.7.0 +serde-1.0.80 +serde_derive-1.0.80 +serde_json-1.0.33 +serde_urlencoded-0.5.4 +sha1-0.6.0 +signal-hook-0.1.6 +siphasher-0.2.3 +skeptic-0.4.0 +slab-0.4.1 +smallvec-0.6.6 +socket2-0.3.8 +stable_deref_trait-1.1.1 +string-0.1.2 +strip-ansi-escapes-0.1.0 +strsim-0.7.0 +syn-0.11.11 +syn-0.15.21 +synom-0.11.3 +synstructure-0.10.1 +syslog-4.0.1 +tar-0.4.20 +tempdir-0.3.7 +tempfile-3.0.4 +term-0.5.1 +termcolor-1.0.4 +termion-1.5.1 +textwrap-0.10.0 +thread_local-0.3.6 +threadpool-1.7.1 +time-0.1.40 +tiny_http-0.6.2 +tokio-0.1.13 +tokio-codec-0.1.1 +tokio-core-0.1.17 +tokio-current-thread-0.1.4 +tokio-executor-0.1.5 +tokio-fs-0.1.4 +tokio-io-0.1.10 +tokio-named-pipes-0.1.0 +tokio-process-0.2.3 +tokio-reactor-0.1.7 +tokio-serde-0.1.0 +tokio-serde-bincode-0.1.1 +tokio-service-0.1.0 +tokio-signal-0.2.7 +tokio-tcp-0.1.2 +tokio-threadpool-0.1.9 +tokio-timer-0.2.8 +tokio-tls-0.1.4 +tokio-udp-0.1.3 +tokio-uds-0.2.4 +toml-0.4.9 +treeline-0.1.0 +try-lock-0.1.0 +try-lock-0.2.2 +twoway-0.1.8 +ucd-util-0.1.3 +unicase-1.4.2 +unicase-2.2.0 +unicode-bidi-0.3.4 +unicode-normalization-0.1.7 +unicode-width-0.1.5 +unicode-xid-0.0.4 +unicode-xid-0.1.0 +unix_socket-0.5.0 +unreachable-1.0.0 +untrusted-0.6.2 +url-1.7.2 +utf8-ranges-1.0.2 +utf8parse-0.1.1 +uuid-0.6.5 +uuid-0.7.1 +vcpkg-0.2.6 +vec_map-0.8.1 +version_check-0.1.5 +void-1.0.2 +vte-0.3.3 +walkdir-1.0.7 +want-0.0.4 +want-0.0.6 +which-2.0.0 +winapi-0.2.8 +winapi-0.3.6 +winapi-build-0.1.1 +winapi-i686-pc-windows-gnu-0.4.0 +winapi-util-0.1.1 +winapi-x86_64-pc-windows-gnu-0.4.0 +wincolor-1.0.1 +ws2_32-sys-0.2.1 +xattr-0.2.2 +zip-0.4.2 +" + +inherit cargo eutils + +DESCRIPTION="ccache/distcc like tool with support for rust and cloud storage" +HOMEPAGE="https://github.com/mozilla/sccache/" +SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + $(cargo_crate_uris ${CRATES})" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="azure dist-client dist-server gcs memcached redis s3" + +DEPEND=" + dist-server? ( dev-libs/openssl:0= ) + gcs? ( dev-libs/openssl:0= ) +" + +RDEPEND="${DEPEND} + dist-server? ( sys-apps/bubblewrap ) +" + +QA_FLAGS_IGNORED="usr/bin/sccache*" + +src_configure() { + myfeatures=( + $(usev azure) + $(usev dist-client) + $(usev dist-server) + $(usev gcs) + $(usev memcached) + $(usev redis) + $(usev s3) + ) +} + +src_compile(){ + cargo_src_compile ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features +} + +src_install() { + cargo_src_install --path=. ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features + + keepdir /etc/sccache + + einstalldocs + dodoc -r docs/. + + if use dist-server; then + newinitd "${FILESDIR}"/server.initd-r1 sccache-server + newconfd "${FILESDIR}"/server.confd-r1 sccache-server + + newinitd "${FILESDIR}"/scheduler.initd-r1 sccache-scheduler + newconfd "${FILESDIR}"/scheduler.confd-r1 sccache-scheduler + fi +} + +src_test() { + cargo_src_test ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features +} + +pkg_postinst() { + ewarn "${PN} is experimental, please use with care" + use memcached && optfeature "memcached backend support" net-misc/memcached + use redis && optfeature "redis backend support" dev-db/redis +} |