diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-02-17 22:15:22 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-02-17 22:15:59 -0800 |
commit | c9a7f830d842d25ca92f17ec769d69af46002593 (patch) | |
tree | b1ed8124fa0f7c2c463a0d36865196fe7159b6ce /dev-util | |
parent | dev-util/sccache: fix licenses (diff) | |
download | gentoo-c9a7f830d842d25ca92f17ec769d69af46002593.tar.gz gentoo-c9a7f830d842d25ca92f17ec769d69af46002593.tar.bz2 gentoo-c9a7f830d842d25ca92f17ec769d69af46002593.zip |
dev-util/sccache: drop old
Closes: https://bugs.gentoo.org/694430
Package-Manager: Portage-2.3.89, Repoman-2.3.20
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 | 11 | ||||
-rw-r--r-- | dev-util/sccache/files/scheduler.confd-r1 | 12 | ||||
-rw-r--r-- | dev-util/sccache/files/scheduler.initd | 8 | ||||
-rw-r--r-- | dev-util/sccache/files/scheduler.initd-r1 | 17 | ||||
-rw-r--r-- | dev-util/sccache/files/server.confd | 11 | ||||
-rw-r--r-- | dev-util/sccache/files/server.confd-r1 | 12 | ||||
-rw-r--r-- | dev-util/sccache/files/server.initd | 10 | ||||
-rw-r--r-- | dev-util/sccache/files/server.initd-r1 | 19 | ||||
-rw-r--r-- | dev-util/sccache/sccache-0.2.10.ebuild | 358 | ||||
-rw-r--r-- | dev-util/sccache/sccache-0.2.12.ebuild | 8 | ||||
-rw-r--r-- | dev-util/sccache/sccache-0.2.8-r2.ebuild | 358 | ||||
-rw-r--r-- | dev-util/sccache/sccache-0.2.9.ebuild | 358 |
13 files changed, 14 insertions, 1174 deletions
diff --git a/dev-util/sccache/Manifest b/dev-util/sccache/Manifest index 4808045cfaf2..5b6ff586a8fa 100644 --- a/dev-util/sccache/Manifest +++ b/dev-util/sccache/Manifest @@ -49,7 +49,6 @@ DIST either-1.5.0.crate 10900 BLAKE2B 5db7e6758a91dbb7ea7c9f49b17d03e98463894e9f 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 @@ -98,7 +97,6 @@ DIST local-encoding-0.2.0.crate 10531 BLAKE2B bff98eabd71a70643198ce82ca0131228a DIST lock_api-0.1.5.crate 16967 BLAKE2B c44ebe24fa6074394d0719b293d447ab67a9a23788821f2ba816b5e5b7a6b09d543c630a946b956811dd199144bf43568b52da5ebdd5e8b674e489f9efd2234d SHA512 e6049a8a840c11f00b6505dc9d01d1f759aa7bee47520f86e36caf6c52ca476236b09609b0a5cab0f4c247a40a4736f8fc04cf26fce0962cbbf2956ad4adbfde 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 @@ -173,7 +171,6 @@ DIST remove_dir_all-0.5.1.crate 8726 BLAKE2B b654deae9905c03b068f07d17b5fe371539 DIST reqwest-0.8.8.crate 55825 BLAKE2B b4bbde5f4229f1ebf797d47a4447fb9e882067f0b93d9eed645ec4eed5dad9aa96b14b439111107901ae45c9bedf341b55afe3a72cd4298704223dd97a030551 SHA512 3bd09864fd1bacd2d5868a25745c586e4287f24497338b74405e617faeb11ea6d132e222d10f9d3b36010708a68e6ce4d80dddadf6b44a9f9bf2ba53044a5ca7 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 @@ -184,10 +181,7 @@ DIST ryu-0.2.7.crate 41382 BLAKE2B 267fc35f85a118384ff716f5e3d4045678f0addb74f1e DIST safemem-0.2.0.crate 6450 BLAKE2B 44598e47fa6185ec0890b4ba6d0e7b5f52f8892875741c3819559dfa61491736d4326fa1713916ca41d6daac72829ad31d0905f2e339a069a987d9715f340795 SHA512 71901f472668572e849504a8a830d4dd9a742729b0158d2c6865a5ad86e65cae8b5bb83707240ba03a7a74c610ace87f8b59bde68998d2bd66c19849aec4fc8a 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.10.tar.gz 242187 BLAKE2B cbb6e7673cbecb855c2126f5e5938866097fc57f05e24c74538112b887071e87f63cae864982d7b153f862711b6014e33e1a7145e6d01300123f2031e01d128a SHA512 4f4c051e93d937bae42739d9030dddddde48af59d66c69256172ad660e8d6135c64a77421174b98d304ddff9949d33a04e84e05c255ceccc73cd9cab32663989 DIST sccache-0.2.12.tar.gz 244128 BLAKE2B 7d20af625ba954c950e4e54f789b3f755178b73d700453361a2a9c8603aa89a6044bd85dcb7895837cb2898ba3adbf5167bb023857b439e73c164cb70f924994 SHA512 1f7495aa7c0749c4bfbd85a88a304a6ed18cc9bfcd341f0f1a668a743ae31d355bc8c5b3199b048d8bcab3ce8e9c8b844a609e4c3009d4e5497dd080aa881a45 -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 diff --git a/dev-util/sccache/files/scheduler.confd b/dev-util/sccache/files/scheduler.confd index a70327100fca..5cb8299fd37b 100644 --- a/dev-util/sccache/files/scheduler.confd +++ b/dev-util/sccache/files/scheduler.confd @@ -4,18 +4,9 @@ # 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, see https://docs.rs/env_logger for possible values +# logging is off by default, possible values are: error warn info debug trace #SCCACHE_SCHEDULER_LOGLEVEL=info -# plain file (preferred), change logrotate file as well if you change this. -#output_log=/var/log/"${RC_SVCNAME}.log" -#error_log=/var/log/"${RC_SVCNAME}.error.log" - -# syslog support via LOGGER(1). Note this spawns logger processes per io stream -#output_logger="logger -p daemon.none --" -#error_logger="logger -p daemon.err --" - - # 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.confd-r1 b/dev-util/sccache/files/scheduler.confd-r1 deleted file mode 100644 index 5cb8299fd37b..000000000000 --- a/dev-util/sccache/files/scheduler.confd-r1 +++ /dev/null @@ -1,12 +0,0 @@ -# /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 b/dev-util/sccache/files/scheduler.initd index fd4d616a6bd6..dc0ca5a5e7bc 100644 --- a/dev-util/sccache/files/scheduler.initd +++ b/dev-util/sccache/files/scheduler.initd @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 SCCACHE_SCHEDULER_CONF="${SCCACHE_SCHEDULER_CONF:-/etc/sccache/scheduler.conf}" @@ -12,8 +12,6 @@ depend() { description="Starts sccache build scheduler server" command="/usr/bin/sccache-dist" -command_args="scheduler ${SCCACHE_SCHEDULER_CONF:+--config ${SCCACHE_SCHEDULER_CONF}}" -command_background="true" -pidfile="/run/${RC_SVCNAME}.pid" +command_args="--config ${SCCACHE_SCHEDULER_CONF} ${SCCACHE_SCHEDULER_LOGLEVEL:+--syslog ${SCCACHE_SCHEDULER_LOGLEVEL}}" +procname="${command} scheduler" required_files="${SCCACHE_SCHEDULER_CONF}" -start_stop_daemon_args="--env RUST_LOG=${SCCACHE_SCHEDULER_LOGLEVEL:- }" diff --git a/dev-util/sccache/files/scheduler.initd-r1 b/dev-util/sccache/files/scheduler.initd-r1 deleted file mode 100644 index ae9f60bff8b2..000000000000 --- a/dev-util/sccache/files/scheduler.initd-r1 +++ /dev/null @@ -1,17 +0,0 @@ -#!/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 b/dev-util/sccache/files/server.confd index 5bd110a3c2b0..4413f0c9bca2 100644 --- a/dev-util/sccache/files/server.confd +++ b/dev-util/sccache/files/server.confd @@ -4,18 +4,9 @@ # 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, see https://docs.rs/env_logger for possible values +# logging is off by default, possible values are: error warn info debug trace #SCCACHE_SERVER_LOGLEVEL=info -# plain file (preferred), change logrotate file as well if you change this. -#output_log=/var/log/"${RC_SVCNAME}.log" -#error_log=/var/log/"${RC_SVCNAME}.error.log" - -# syslog support via LOGGER(1). Note this spawns logger processes per io stream -#output_logger="logger -p daemon.none --" -#error_logger="logger -p daemon.err --" - - # 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.confd-r1 b/dev-util/sccache/files/server.confd-r1 deleted file mode 100644 index 4413f0c9bca2..000000000000 --- a/dev-util/sccache/files/server.confd-r1 +++ /dev/null @@ -1,12 +0,0 @@ -# /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 b/dev-util/sccache/files/server.initd index 0c37ee400b05..b7453a03ca0f 100644 --- a/dev-util/sccache/files/server.initd +++ b/dev-util/sccache/files/server.initd @@ -1,19 +1,19 @@ #!/sbin/openrc-run -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 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 + need localmount + use net } description="Starts sccache build server" command="/usr/bin/sccache-dist" -command_args="server ${SCCACHE_SERVER_CONF:+--config ${SCCACHE_SERVER_CONF}}" +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}" -start_stop_daemon_args="--env RUST_LOG=${SCCACHE_SERVER_LOGLEVEL:- }" diff --git a/dev-util/sccache/files/server.initd-r1 b/dev-util/sccache/files/server.initd-r1 deleted file mode 100644 index 19656cc6a058..000000000000 --- a/dev-util/sccache/files/server.initd-r1 +++ /dev/null @@ -1,19 +0,0 @@ -#!/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.10.ebuild b/dev-util/sccache/sccache-0.2.10.ebuild deleted file mode 100644 index 79d25139c158..000000000000 --- a/dev-util/sccache/sccache-0.2.10.ebuild +++ /dev/null @@ -1,358 +0,0 @@ -# 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 -lazycell-1.2.0 -lazy_static-0.2.11 -lazy_static-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 -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 -number_prefix-0.2.8 -num_cpus-1.8.0 -num-integer-0.1.39 -num-traits-0.1.43 -num-traits-0.2.6 -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 -rustc-demangle-0.1.9 -rust-crypto-0.2.36 -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 -utf8parse-0.1.1 -utf8-ranges-1.0.2 -uuid-0.6.5 -uuid-0.7.1 -vcpkg-0.2.6 -vec_map-0.8.1 -version_check-0.1.5 -version-compare-0.0.8 -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 ${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 -} diff --git a/dev-util/sccache/sccache-0.2.12.ebuild b/dev-util/sccache/sccache-0.2.12.ebuild index bd597a71cb80..0664ab57353d 100644 --- a/dev-util/sccache/sccache-0.2.12.ebuild +++ b/dev-util/sccache/sccache-0.2.12.ebuild @@ -340,11 +340,11 @@ src_install() { dodoc -r docs/. if use dist-server; then - newinitd "${FILESDIR}"/server.initd-r1 sccache-server - newconfd "${FILESDIR}"/server.confd-r1 sccache-server + newinitd "${FILESDIR}"/server.initd sccache-server + newconfd "${FILESDIR}"/server.confd sccache-server - newinitd "${FILESDIR}"/scheduler.initd-r1 sccache-scheduler - newconfd "${FILESDIR}"/scheduler.confd-r1 sccache-scheduler + newinitd "${FILESDIR}"/scheduler.initd sccache-scheduler + newconfd "${FILESDIR}"/scheduler.confd sccache-scheduler fi } diff --git a/dev-util/sccache/sccache-0.2.8-r2.ebuild b/dev-util/sccache/sccache-0.2.8-r2.ebuild deleted file mode 100644 index 3cec993ae5e8..000000000000 --- a/dev-util/sccache/sccache-0.2.8-r2.ebuild +++ /dev/null @@ -1,358 +0,0 @@ -# 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.12.0 -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.2.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.2 -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 -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 -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 -which-2.0.0 -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-client? ( sys-devel/icecream ) - dist-server? ( sys-apps/bubblewrap ) -" - -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 ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features - - keepdir /etc/sccache - - einstalldocs - dodoc -r docs/. - - if use dist-server; then - newinitd "${FILESDIR}"/server.initd sccache-server - newconfd "${FILESDIR}"/server.confd sccache-server - - newinitd "${FILESDIR}"/scheduler.initd sccache-scheduler - newconfd "${FILESDIR}"/scheduler.confd sccache-scheduler - - insinto /etc/logrotate.d - newins "${FILESDIR}/logrotated" sccache - 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 -} diff --git a/dev-util/sccache/sccache-0.2.9.ebuild b/dev-util/sccache/sccache-0.2.9.ebuild deleted file mode 100644 index 9995856c3628..000000000000 --- a/dev-util/sccache/sccache-0.2.9.ebuild +++ /dev/null @@ -1,358 +0,0 @@ -# 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 ${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 -} |