summaryrefslogtreecommitdiff
path: root/sys-apps/systemd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
commitd18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch)
tree4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /sys-apps/systemd
parente748ba9741f6540f4675c23e3e37b73e822c13a4 (diff)
gentoo resync : 15.06.2021
Diffstat (limited to 'sys-apps/systemd')
-rw-r--r--sys-apps/systemd/Manifest4
-rw-r--r--sys-apps/systemd/systemd-248.3.ebuild142
-rw-r--r--sys-apps/systemd/systemd-9999.ebuild140
3 files changed, 115 insertions, 171 deletions
diff --git a/sys-apps/systemd/Manifest b/sys-apps/systemd/Manifest
index d134cbcac1b0..c68a9748a681 100644
--- a/sys-apps/systemd/Manifest
+++ b/sys-apps/systemd/Manifest
@@ -15,7 +15,7 @@ DIST systemd-stable-248.3.tar.gz 10320940 BLAKE2B 725494e0197dd182de55e4967088f4
EBUILD systemd-246-r2.ebuild 15296 BLAKE2B 91f3b46502254f87a3238c58b44e8d9b3452e785ac7c03e27aed967aa1c5722d667df46fdba74becd72a94b69dffa4c929e19e01733e17146897a611e8944cec SHA512 6942d33e12f48006c7d2b11c491d30b60f69fcf2f847fa3e02a4d58506f4b9f3e76ec80c8eabe6635bcc92df03bc3df192471ff9d74dcba9f5d35fc0a65abd20
EBUILD systemd-246.6.ebuild 15393 BLAKE2B 9e107dc2e511b55e338faa6706e1e5959a598afd44886a51ed9ee0be001944a5541fafe02dd818fbce0b679ffa47af58d0d2444c9757eb9aa4ce835a3a649ebe SHA512 17d667ce4ea662d94206c3b04d206f0b0f14d94ae9c19d969c9b235f3f32dc63b10ba5116c3e96dc59b873c495c3a2c4039e0de3a2bc64c7375c088979e1c592
EBUILD systemd-247.2-r4.ebuild 15762 BLAKE2B 41d0aed008171bc05738adab0028dacf4a45b43345b534043a949392611b080e572673fbda0a0d0326ded33e03f12873a675ddd0a3c687f7bbdf7f068bde8348 SHA512 e2ffeae0abb0cbc363134f4d0184bb73e96200172cb82858e4ab775fedb256f5e6ec1e848d82e6f82b90634efc9ff9d0bdcd94088951c8a6a329bd8dac561759
-EBUILD systemd-248.3.ebuild 15359 BLAKE2B 1335bde6d963c17e6f59c8ed290eea05bd568f582d443fc7d115730b1c6b2004a19b8dc142a94a490642de19895ac81b997431c4608841fa198e567eeaf0297a SHA512 29fc15694ae9686f98820116263d15b3972a7ffe591d304307284d95d5f50a4b6b603ad0c4950df80c6a5b793c19875da71638536965a966328d36d73ea741f3
+EBUILD systemd-248.3.ebuild 15159 BLAKE2B d19e7cfb3f0fd95e605fe6546c791ab5a55b904ce39a65e2bad7c8a42bfabd9a357a8a332d58ba83714734a6c8f948272e7ebaadbe018834d53ac2b85294ec9b SHA512 318d13251b4bf5546972dfa61bfa3b0e3aaf1183c558c0cc2cffb975bc9d06025dd48565fe30a162019d6ab3a8235d2148dc3cfecf12327026cfcd181d7f55b7
EBUILD systemd-248.ebuild 15858 BLAKE2B 53e11d0215eabdea015fb2e652d9889d247caa2dae3ebc905f9b92769002a57a95106b986ac96fdb8078ce11d62df54884a1b7fea28804794485565fb237f623 SHA512 3130c20e6ce32ba1e132fa245d4880d391ffc46b9de6d9f968621fb992802180f910043eec79185f404930ca117d1eb821bdea83dffe16ec3d79e63fb0cb6352
-EBUILD systemd-9999.ebuild 15478 BLAKE2B 92881d031f460f006651a21704d25bee301436d2f1195036be81087303285d4febf5984677dfb2e1e6a811cf171d257d72edb6ad49d001ac6de3c14633c9bcbc SHA512 4cfe9fca10e06835f596aab5c373893652fc1e3b8e1c0ba36c79d368d75bf2d51ff11d5e5648b97a8da72adc68913d659f170c1b4af2df290367caf0c7564f30
+EBUILD systemd-9999.ebuild 15285 BLAKE2B df9eb3ecb869f0814369ca2c0258f7d454e2ca9a003dafb8f88163bb1702487081456e309803e065e5db5cb840114889095c4ead9305396e67bdc061469cb511 SHA512 87af259ea658e1082372bb38ad9af5ac52c58215530e3dff99159ea60ec9fd88dd5914a2bc9681ec3312000cbf9cc4577c8e9a306dae194e4e84ade6e6b2f09b
MISC metadata.xml 2418 BLAKE2B bec7b05950f495cd678359bca70723286c33d4943407fee45e1214a53d9bfbbb25d3612a5b1bb51d885c38ea63719b3de2f0341d2b8aeb5d5919a29459cb89e4 SHA512 46979fbafe3561a722efefeb82e283e221cb930e56e9f43c25a47c299712dac21f6ef4c970afed86cb390e21dc8dd86b23eea310d5dd7e66a7a6fde250b929d7
diff --git a/sys-apps/systemd/systemd-248.3.ebuild b/sys-apps/systemd/systemd-248.3.ebuild
index 1899e9f7640f..c05f93040c93 100644
--- a/sys-apps/systemd/systemd-248.3.ebuild
+++ b/sys-apps/systemd/systemd-248.3.ebuild
@@ -16,12 +16,12 @@ else
MY_P=${MY_PN}-${MY_PV}
S=${WORKDIR}/${MY_P}
SRC_URI="https://github.com/systemd/${MY_PN}/archive/v${MY_PV}/${MY_P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
fi
PYTHON_COMPAT=( python3_{7..9} )
-inherit bash-completion-r1 linux-info meson multilib-minimal ninja-utils pam python-any-r1 systemd toolchain-funcs udev usr-ldscript
+inherit bash-completion-r1 linux-info meson-multilib pam python-any-r1 systemd toolchain-funcs udev usr-ldscript
DESCRIPTION="System and service manager for Linux"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/systemd"
@@ -237,26 +237,6 @@ src_configure() {
multilib-minimal_src_configure
}
-sd_use() {
- usex "$1" true false
-}
-
-sd_native() {
- if multilib_is_native_abi; then
- echo true
- else
- echo false
- fi
-}
-
-sd_native_use() {
- if multilib_is_native_abi && use "$1"; then
- echo true
- else
- echo false
- fi
-}
-
multilib_src_configure() {
local myconf=(
--localstatedir="${EPREFIX}/var"
@@ -265,7 +245,7 @@ multilib_src_configure() {
# avoid bash-completion dep
-Dbashcompletiondir="$(get_bashcompdir)"
# make sure we get /bin:/sbin in PATH
- -Dsplit-usr=$(usex split-usr true false)
+ $(meson_use split-usr)
-Dsplit-bin=true
-Drootprefix="$(usex split-usr "${EPREFIX:-/}" "${EPREFIX}/usr")"
-Drootlibdir="${EPREFIX}/usr/$(get_libdir)"
@@ -275,89 +255,81 @@ multilib_src_configure() {
-Dima=true
-Ddefault-hierarchy=$(usex cgroup-hybrid hybrid unified)
# Optional components/dependencies
- -Dacl=$(sd_native_use acl)
- -Dapparmor=$(sd_native_use apparmor)
- -Daudit=$(sd_native_use audit)
- -Dlibcryptsetup=$(sd_native_use cryptsetup)
- -Dlibcurl=$(sd_native_use curl)
- -Ddns-over-tls=$(sd_native_use dns-over-tls)
- -Delfutils=$(sd_native_use elfutils)
- -Dgcrypt=$(sd_use gcrypt)
- -Dgnu-efi=$(sd_native_use gnuefi)
+ $(meson_native_use_bool acl)
+ $(meson_native_use_bool apparmor)
+ $(meson_native_use_bool audit)
+ $(meson_native_use_bool cryptsetup libcryptsetup)
+ $(meson_native_use_bool curl libcurl)
+ $(meson_native_use_bool dns-over-tls dns-over-tls)
+ $(meson_native_use_bool elfutils)
+ $(meson_use gcrypt)
+ $(meson_native_use_bool gnuefi gnu-efi)
-Defi-includedir="${ESYSROOT}/usr/include/efi"
-Defi-ld="$(tc-getLD)"
-Defi-libdir="${ESYSROOT}/usr/$(get_libdir)"
- -Dhomed=$(sd_native_use homed)
- -Dhwdb=$(sd_native_use hwdb)
- -Dmicrohttpd=$(sd_native_use http)
- -Didn=$(sd_native_use idn)
- -Dimportd=$(sd_native_use importd)
- -Dbzip2=$(sd_native_use importd)
- -Dzlib=$(sd_native_use importd)
- -Dkmod=$(sd_native_use kmod)
- -Dlz4=$(sd_use lz4)
- -Dxz=$(sd_use lzma)
- -Dzstd=$(sd_use zstd)
- -Dlibiptc=$(sd_native_use nat)
- -Dpam=$(sd_use pam)
- -Dp11kit=$(sd_native_use pkcs11)
- -Dpcre2=$(sd_native_use pcre)
- -Dpolkit=$(sd_native_use policykit)
- -Dpwquality=$(sd_native_use pwquality)
- -Dqrencode=$(sd_native_use qrcode)
- -Drepart=$(sd_native_use repart)
- -Dseccomp=$(sd_native_use seccomp)
- -Dselinux=$(sd_native_use selinux)
- -Dtpm2=$(sd_native_use tpm)
- -Ddbus=$(sd_native_use test)
- -Dxkbcommon=$(sd_native_use xkb)
+ $(meson_native_use_bool homed)
+ $(meson_native_use_bool hwdb)
+ $(meson_native_use_bool http microhttpd)
+ $(meson_native_use_bool idn)
+ $(meson_native_use_bool importd)
+ $(meson_native_use_bool importd bzip2)
+ $(meson_native_use_bool importd zlib)
+ $(meson_native_use_bool kmod)
+ $(meson_use lz4)
+ $(meson_use lzma xz)
+ $(meson_use zstd)
+ $(meson_native_use_bool nat libiptc)
+ $(meson_use pam)
+ $(meson_native_use_bool pkcs11 p11kit)
+ $(meson_native_use_bool pcre pcre2)
+ $(meson_native_use_bool policykit polkit)
+ $(meson_native_use_bool pwquality)
+ $(meson_native_use_bool qrcode qrencode)
+ $(meson_native_use_bool repart)
+ $(meson_native_use_bool seccomp)
+ $(meson_native_use_bool selinux)
+ $(meson_native_use_bool tpm tpm2)
+ $(meson_native_use_bool test dbus)
+ $(meson_native_use_bool xkb xkbcommon)
-Dntp-servers="0.gentoo.pool.ntp.org 1.gentoo.pool.ntp.org 2.gentoo.pool.ntp.org 3.gentoo.pool.ntp.org"
# Breaks screen, tmux, etc.
-Ddefault-kill-user-processes=false
-Dcreate-log-dirs=false
# multilib options
- -Dbacklight=$(sd_native)
- -Dbinfmt=$(sd_native)
- -Dcoredump=$(sd_native)
- -Denvironment-d=$(sd_native)
- -Dfirstboot=$(sd_native)
- -Dhibernate=$(sd_native)
- -Dhostnamed=$(sd_native)
- -Dldconfig=$(sd_native)
- -Dlocaled=$(sd_native)
- -Dman=$(sd_native)
- -Dnetworkd=$(sd_native)
- -Dquotacheck=$(sd_native)
- -Drandomseed=$(sd_native)
- -Drfkill=$(sd_native)
- -Dsysusers=$(sd_native)
- -Dtimedated=$(sd_native)
- -Dtimesyncd=$(sd_native)
- -Dtmpfiles=$(sd_native)
- -Dvconsole=$(sd_native)
+ $(meson_native_true backlight)
+ $(meson_native_true binfmt)
+ $(meson_native_true coredump)
+ $(meson_native_true environment-d)
+ $(meson_native_true firstboot)
+ $(meson_native_true hibernate)
+ $(meson_native_true hostnamed)
+ $(meson_native_true ldconfig)
+ $(meson_native_true localed)
+ $(meson_native_true man)
+ $(meson_native_true networkd)
+ $(meson_native_true quotacheck)
+ $(meson_native_true randomseed)
+ $(meson_native_true rfkill)
+ $(meson_native_true sysusers)
+ $(meson_native_true timedated)
+ $(meson_native_true timesyncd)
+ $(meson_native_true tmpfiles)
+ $(meson_native_true vconsole)
# static-libs
- -Dstatic-libsystemd=$(usex static-libs true false)
- -Dstatic-libudev=$(usex static-libs true false)
+ $(meson_use static-libs static-libsystemd)
+ $(meson_use static-libs static-libudev)
)
meson_src_configure "${myconf[@]}"
}
-multilib_src_compile() {
- eninja
-}
-
multilib_src_test() {
unset DBUS_SESSION_BUS_ADDRESS XDG_RUNTIME_DIR
meson_src_test
}
-multilib_src_install() {
- DESTDIR="${D}" eninja install
-}
-
multilib_src_install_all() {
local rootprefix=$(usex split-usr '' /usr)
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild
index 03cc0e7e2256..6c3c1ef813c4 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -21,7 +21,7 @@ fi
PYTHON_COMPAT=( python3_{7..9} )
-inherit bash-completion-r1 linux-info meson multilib-minimal ninja-utils pam python-any-r1 systemd toolchain-funcs udev usr-ldscript
+inherit bash-completion-r1 linux-info meson-multilib pam python-any-r1 systemd toolchain-funcs udev usr-ldscript
DESCRIPTION="System and service manager for Linux"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/systemd"
@@ -239,26 +239,6 @@ src_configure() {
multilib-minimal_src_configure
}
-sd_use() {
- usex "$1" true false
-}
-
-sd_native() {
- if multilib_is_native_abi; then
- echo true
- else
- echo false
- fi
-}
-
-sd_native_use() {
- if multilib_is_native_abi && use "$1"; then
- echo true
- else
- echo false
- fi
-}
-
multilib_src_configure() {
local myconf=(
--localstatedir="${EPREFIX}/var"
@@ -267,7 +247,7 @@ multilib_src_configure() {
# avoid bash-completion dep
-Dbashcompletiondir="$(get_bashcompdir)"
# make sure we get /bin:/sbin in PATH
- -Dsplit-usr=$(usex split-usr true false)
+ $(meson_use split-usr)
-Dsplit-bin=true
-Drootprefix="$(usex split-usr "${EPREFIX:-/}" "${EPREFIX}/usr")"
-Drootlibdir="${EPREFIX}/usr/$(get_libdir)"
@@ -277,89 +257,81 @@ multilib_src_configure() {
-Dima=true
-Ddefault-hierarchy=$(usex cgroup-hybrid hybrid unified)
# Optional components/dependencies
- -Dacl=$(sd_native_use acl)
- -Dapparmor=$(sd_native_use apparmor)
- -Daudit=$(sd_native_use audit)
- -Dlibcryptsetup=$(sd_native_use cryptsetup)
- -Dlibcurl=$(sd_native_use curl)
- -Ddns-over-tls=$(sd_native_use dns-over-tls)
- -Delfutils=$(sd_native_use elfutils)
- -Dgcrypt=$(sd_use gcrypt)
- -Dgnu-efi=$(sd_native_use gnuefi)
+ $(meson_native_use_bool acl)
+ $(meson_native_use_bool apparmor)
+ $(meson_native_use_bool audit)
+ $(meson_native_use_bool cryptsetup libcryptsetup)
+ $(meson_native_use_bool curl libcurl)
+ $(meson_native_use_bool dns-over-tls dns-over-tls)
+ $(meson_native_use_bool elfutils)
+ $(meson_use gcrypt)
+ $(meson_native_use_bool gnuefi gnu-efi)
-Defi-includedir="${ESYSROOT}/usr/include/efi"
-Defi-ld="$(tc-getLD)"
-Defi-libdir="${ESYSROOT}/usr/$(get_libdir)"
- -Dhomed=$(sd_native_use homed)
- -Dhwdb=$(sd_native_use hwdb)
- -Dmicrohttpd=$(sd_native_use http)
- -Didn=$(sd_native_use idn)
- -Dimportd=$(sd_native_use importd)
- -Dbzip2=$(sd_native_use importd)
- -Dzlib=$(sd_native_use importd)
- -Dkmod=$(sd_native_use kmod)
- -Dlz4=$(sd_use lz4)
- -Dxz=$(sd_use lzma)
- -Dzstd=$(sd_use zstd)
- -Dlibiptc=$(sd_native_use nat)
- -Dpam=$(sd_use pam)
- -Dp11kit=$(sd_native_use pkcs11)
- -Dpcre2=$(sd_native_use pcre)
- -Dpolkit=$(sd_native_use policykit)
- -Dpwquality=$(sd_native_use pwquality)
- -Dqrencode=$(sd_native_use qrcode)
- -Drepart=$(sd_native_use repart)
- -Dseccomp=$(sd_native_use seccomp)
- -Dselinux=$(sd_native_use selinux)
- -Dtpm2=$(sd_native_use tpm)
- -Ddbus=$(sd_native_use test)
- -Dxkbcommon=$(sd_native_use xkb)
+ $(meson_native_use_bool homed)
+ $(meson_native_use_bool hwdb)
+ $(meson_native_use_bool http microhttpd)
+ $(meson_native_use_bool idn)
+ $(meson_native_use_bool importd)
+ $(meson_native_use_bool importd bzip2)
+ $(meson_native_use_bool importd zlib)
+ $(meson_native_use_bool kmod)
+ $(meson_use lz4)
+ $(meson_use lzma xz)
+ $(meson_use zstd)
+ $(meson_native_use_bool nat libiptc)
+ $(meson_use pam)
+ $(meson_native_use_bool pkcs11 p11kit)
+ $(meson_native_use_bool pcre pcre2)
+ $(meson_native_use_bool policykit polkit)
+ $(meson_native_use_bool pwquality)
+ $(meson_native_use_bool qrcode qrencode)
+ $(meson_native_use_bool repart)
+ $(meson_native_use_bool seccomp)
+ $(meson_native_use_bool selinux)
+ $(meson_native_use_bool tpm tpm2)
+ $(meson_native_use_bool test dbus)
+ $(meson_native_use_bool xkb xkbcommon)
-Dntp-servers="0.gentoo.pool.ntp.org 1.gentoo.pool.ntp.org 2.gentoo.pool.ntp.org 3.gentoo.pool.ntp.org"
# Breaks screen, tmux, etc.
-Ddefault-kill-user-processes=false
-Dcreate-log-dirs=false
# multilib options
- -Dbacklight=$(sd_native)
- -Dbinfmt=$(sd_native)
- -Dcoredump=$(sd_native)
- -Denvironment-d=$(sd_native)
- -Dfirstboot=$(sd_native)
- -Dhibernate=$(sd_native)
- -Dhostnamed=$(sd_native)
- -Dldconfig=$(sd_native)
- -Dlocaled=$(sd_native)
- -Dman=$(sd_native)
- -Dnetworkd=$(sd_native)
- -Dquotacheck=$(sd_native)
- -Drandomseed=$(sd_native)
- -Drfkill=$(sd_native)
- -Dsysusers=$(sd_native)
- -Dtimedated=$(sd_native)
- -Dtimesyncd=$(sd_native)
- -Dtmpfiles=$(sd_native)
- -Dvconsole=$(sd_native)
+ $(meson_native_true backlight)
+ $(meson_native_true binfmt)
+ $(meson_native_true coredump)
+ $(meson_native_true environment-d)
+ $(meson_native_true firstboot)
+ $(meson_native_true hibernate)
+ $(meson_native_true hostnamed)
+ $(meson_native_true ldconfig)
+ $(meson_native_true localed)
+ $(meson_native_true man)
+ $(meson_native_true networkd)
+ $(meson_native_true quotacheck)
+ $(meson_native_true randomseed)
+ $(meson_native_true rfkill)
+ $(meson_native_true sysusers)
+ $(meson_native_true timedated)
+ $(meson_native_true timesyncd)
+ $(meson_native_true tmpfiles)
+ $(meson_native_true vconsole)
# static-libs
- -Dstatic-libsystemd=$(usex static-libs true false)
- -Dstatic-libudev=$(usex static-libs true false)
+ $(meson_use static-libs static-libsystemd)
+ $(meson_use static-libs static-libudev)
)
meson_src_configure "${myconf[@]}"
}
-multilib_src_compile() {
- eninja
-}
-
multilib_src_test() {
unset DBUS_SESSION_BUS_ADDRESS XDG_RUNTIME_DIR
meson_src_test
}
-multilib_src_install() {
- DESTDIR="${D}" eninja install
-}
-
multilib_src_install_all() {
local rootprefix=$(usex split-usr '' /usr)