summaryrefslogtreecommitdiff
path: root/dev-util/sccache
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-28 09:11:58 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-28 09:11:58 +0100
commitc50fa1b9d54c15707ec744b80db6610da7dd7832 (patch)
tree32b63837ee84220100640b5b035b0f8f94405b88 /dev-util/sccache
parent1bc9c3b9d5a8c51b67f6ea2f57bdd76ff5073097 (diff)
gentoo auto-resync : 28:09:2022 - 09:11:58
Diffstat (limited to 'dev-util/sccache')
-rw-r--r--dev-util/sccache/Manifest2
-rw-r--r--dev-util/sccache/sccache-9999.ebuild17
2 files changed, 14 insertions, 5 deletions
diff --git a/dev-util/sccache/Manifest b/dev-util/sccache/Manifest
index 5063e4ebfa7a..fde932a560ea 100644
--- a/dev-util/sccache/Manifest
+++ b/dev-util/sccache/Manifest
@@ -602,5 +602,5 @@ DIST zstd-sys-1.4.19+zstd.1.4.8.crate 1881914 BLAKE2B 1c3ca362f0d63ac0ef234fa172
DIST zstd-sys-1.4.20+zstd.1.4.9.crate 1900796 BLAKE2B 1e7de5cd89b4d6f1fa65b28de41c63f5855cd349113bdd01b21b7c4c7d5bec3624f23f53508a9174d6415919f617f4db9e8a18af67c1344575ca9e9a5b3cd598 SHA512 71853b2aaeff3c0b2e6cd3bdabb21d10db3a299376338f5b491fca12432f322e96d30ff2c9e0df46ff084dcd2143315a30ff4aa702cebdb900a0cd9afcb49894
EBUILD sccache-0.2.15.ebuild 8563 BLAKE2B 20696f76dd02dc1124b6fc060d358dacce54e920be29d00e12ccc656c4006b2f34062cc03e4c853d1e179587098b1f36eca6927f3a698e224c4d71ec3a20f7f6 SHA512 5d18b13bb37c90f7ee2f5112c1ce94e748ec963cbb2c6b86608fe64d8148bc44bdc6dd13ee30d884797ba2e0698e283c247bbe6fc46b318ba2b7b76d90af31de
EBUILD sccache-0.3.0.ebuild 7364 BLAKE2B 1b677cc5e6b7a0b133100c369e98246006f40c5733f595f8c433900fd5da01c7c58af7ccca2701ed962af55d1d39913f6f422794e4ec22fb020a03944fcd3f8d SHA512 1d4fb9b4ef7a9450c3bc7348960b9deddc65ef2dd425c47861ecab1bbc60b5049900d6661b7c600eed82cdf78ff4317e5740b183d84ffcd9736380ca7a5233e7
-EBUILD sccache-9999.ebuild 1950 BLAKE2B e549faa89541f1b11e0bfba334f9c2667aa2d5e5323df56f1a159d72b7d9f4be5267796c72b132469d278dc0cdc80fa2d258c345cc57827c88b49292ce0b6481 SHA512 0f097c3ae4638e5aa6896ecb304e0816d6658038d43d9cd7d9c77f094b266ed8e447ddfc8565e869a0432a604756b2221de00579eb943d094130d293088b7370
+EBUILD sccache-9999.ebuild 2239 BLAKE2B e6be57f959e8de03a64aeb8441139b1c0f264d33e6b0e057be60ce178b1b861eb8021d6d422dce7aab75c7198e286ec6dd202aacb3fb1a35f4d70f3f85da75d1 SHA512 b550bae7774870a29bc2c633cc44ac14335aa23d6f5cbd94e777985a67ff36ba25e12e0db79a7e84a5f57ad0f3aa0292a8676962ec515f40b66dcdea75f7aaa7
MISC metadata.xml 1125 BLAKE2B 980d3d6f67a934fef45714dded5c4e1f61fbd1b682ed181be2891f53d244ee2963bedf894c8bbbce74fceb78d89271ba6bdfe3252a0fff13a83b3f86c13a1813 SHA512 53ae43953bc93f1a3f5e2c607c8cbaaa8c0c6b5d16f2d19ac044f626aa0afd570fa6d14713b702495f9601a4bf45a9184fb5a8069cfafb98042fa4bddfa19a28
diff --git a/dev-util/sccache/sccache-9999.ebuild b/dev-util/sccache/sccache-9999.ebuild
index d4ca5fcba08e..fd4f2ead86ad 100644
--- a/dev-util/sccache/sccache-9999.ebuild
+++ b/dev-util/sccache/sccache-9999.ebuild
@@ -1,12 +1,13 @@
-# Copyright 2017-2021 Gentoo Authors
+# Copyright 2017-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
+# don't forget to add itoa-0.3.4 for tests https://bugs.gentoo.org/803512
CRATES="
"
-inherit cargo optfeature
+inherit cargo optfeature systemd
DESCRIPTION="ccache/distcc like tool with support for rust and cloud storage"
HOMEPAGE="https://github.com/mozilla/sccache/"
@@ -22,11 +23,13 @@ fi
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 ISC MIT Unlicense ZLIB"
SLOT="0"
-IUSE="azure dist-client dist-server gcs memcached redis s3"
+IUSE="azure dist-client dist-server gcs memcached redis s3 simple-s3"
+REQUIRED_USE="s3? ( simple-s3 )"
BDEPEND="virtual/pkgconfig"
DEPEND="
+ sys-libs/zlib:=
app-arch/zstd
dist-server? ( dev-libs/openssl:0= )
gcs? ( dev-libs/openssl:0= )
@@ -49,6 +52,7 @@ src_unpack() {
src_configure() {
myfeatures=(
+ native-zlib
$(usev azure)
$(usev dist-client)
$(usev dist-server)
@@ -56,6 +60,7 @@ src_configure() {
$(usev memcached)
$(usev redis)
$(usev s3)
+ $(usev simple-s3)
)
cargo_src_configure --no-default-features
}
@@ -74,6 +79,10 @@ src_install() {
newinitd "${FILESDIR}"/scheduler.initd sccache-scheduler
newconfd "${FILESDIR}"/scheduler.confd sccache-scheduler
+
+ systemd_dounit "${FILESDIR}"/sccache-server.service
+ systemd_dounit "${FILESDIR}"/sccache-scheduler.service
+
fi
}