Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd-tmpfiles/
Date: Fri, 30 Oct 2020 04:35:26
Message-Id: 1604032500.880d1445d237088ddc3b221153d4d221de1046cd.gyakovlev@gentoo
1 commit: 880d1445d237088ddc3b221153d4d221de1046cd
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 30 04:22:34 2020 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 30 04:35:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=880d1445
7
8 sys-apps/systemd-tmpfiles: add musl patchset
9
10 patches obtained at:
11 http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-core/systemd/systemd
12
13 Package-Manager: Portage-3.0.8, Repoman-3.0.2
14 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
15
16 sys-apps/systemd-tmpfiles/Manifest | 1 +
17 sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild | 10 +++++++++-
18 2 files changed, 10 insertions(+), 1 deletion(-)
19
20 diff --git a/sys-apps/systemd-tmpfiles/Manifest b/sys-apps/systemd-tmpfiles/Manifest
21 index 0e7a4c8589d..ff1d4d1bf45 100644
22 --- a/sys-apps/systemd-tmpfiles/Manifest
23 +++ b/sys-apps/systemd-tmpfiles/Manifest
24 @@ -1 +1,2 @@
25 DIST systemd-246.tar.gz 9534036 BLAKE2B 71b72abcd4d066d35d45d9835d41bec8faa9a7eddc80b48fe7073223f07d32f78a8442c52dc0800940f9750d9c5502123a633738981d797cf610d85df2035bf0 SHA512 7103f7da53f7ced3b5543c238f23bd11c82af8e37166c1720a90576b6b431b4329320c78726166c65a9f5e101dd465c0a86dd13c586c4e55e608a6273d8f324f
26 +DIST systemd-tmpfiles-246-musl.tar.xz 25860 BLAKE2B 87fc4ca37abec9c1a0cee48bf78c575bd53e16a50d427eff338159dc6d5474ffd328af533ccf90a0e1e160a16baa7378070f418f2be0d7f77e00907a5d07d30e SHA512 4a93d9f0cb2df2dd0a2f91820615dd3a95d19583f45dc0589e37ceaedfc2040112310a6e3fc525e28e222e96a91498af2fe8541b5bf86a635c0f52dd1a84deb7
27
28 diff --git a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild
29 index 5ca307a1443..7585b1486ec 100644
30 --- a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild
31 +++ b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild
32 @@ -8,7 +8,8 @@ inherit meson
33
34 DESCRIPTION="Creates, deletes and cleans up volatile and temporary files and directories"
35 HOMEPAGE="https://www.freedesktop.org/wiki/Software/systemd"
36 -SRC_URI="https://github.com/systemd/systemd/archive/v${PV}.tar.gz -> systemd-${PV}.tar.gz"
37 +SRC_URI="https://github.com/systemd/systemd/archive/v${PV}.tar.gz -> systemd-${PV}.tar.gz
38 + elibc_musl? ( https://dev.gentoo.org/~gyakovlev/distfiles/${P}-musl.tar.xz )"
39
40 LICENSE="BSD-2 GPL-2 LGPL-2.1 MIT public-domain"
41 SLOT="0"
42 @@ -39,6 +40,13 @@ BDEPEND="
43
44 S="${WORKDIR}/systemd-${PV}"
45
46 +src_prepare() {
47 + # musl patchset from:
48 + # http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-core/systemd/systemd
49 + use elibc_musl && eapply "${WORKDIR}/${P}-musl"
50 + default
51 +}
52 +
53 src_configure() {
54 # disable everything until configure says "enabled features: ACL, tmpfiles"
55 local systemd_disable_options=(