systemd 256.5-1

This commit is contained in:
xhaa123 2024-10-16 02:37:46 +08:00
parent f186f346ba
commit b19761feff

View File

@ -1,12 +1,12 @@
# Maintainer: Future Linux Team <futurelinux@163.com>
pkgname=systemd
pkgver=255
pkgrel=2
pkgver=256.5
pkgrel=1
pkgdesc="system and service manager"
arch=('x86_64')
url="https://www.freedesktop.org/wiki/Software/systemd/"
license=('GPL2' 'LGPL2.1')
license=('LGPL-2.1-or-later')
groups=('base')
depends=('glibc' 'gcc-libs' 'libcap' 'libgcrypt' 'xz' 'zstd'
'acl' 'bash' 'cryptsetup' 'dbus' 'kbd' 'kmod' 'lz4'
@ -15,7 +15,8 @@ depends=('glibc' 'gcc-libs' 'libcap' 'libgcrypt' 'xz' 'zstd'
'python-jinja2' 'python-pefile')
makedepends=('btrfs-progs' 'gperf' 'intltool' 'linux-api-headers'
'shadow' 'git' 'meson' 'p11-kit' 'curl' 'gnutls' 'ca-certificates' 'rsync'
'gnu-efi' 'docbook-xml' 'docbook-xsl' 'libxslt' 'python-lxml' 'polkit')
'gnu-efi' 'docbook-xml' 'docbook-xsl' 'libxslt' 'python-lxml' 'polkit'
'python-pyelftools' 'libmicrohttpd' 'bash-completion')
backup=(etc/pam.d/systemd-user
etc/systemd/coredump.conf
etc/systemd/homed.conf
@ -34,7 +35,6 @@ backup=(etc/pam.d/systemd-user
etc/udev/udev.conf)
install=${pkgname}.install
source=(https://github.com/systemd/systemd/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
${pkgname}-${pkgver}-upstream_fixes-1.patch
30-systemd-binfmt.hook
30-systemd-catalog.hook
30-systemd-daemon-reload-system.hook
@ -46,8 +46,7 @@ source=(https://github.com/systemd/systemd/archive/v${pkgver}/${pkgname}-${pkgve
30-systemd-update.hook
systemd-hook
systemd-user.pam)
sha256sums=(28854ffb2cb5f9e07fcbdbaf1e03a80b3462a12edeef84893ca2f37b22e4491e
139dfec2705b5c2827f6c1a68d0717ab0f397517accd5e07b5c5450d24ea9dc8
sha256sums=(41bb91861ab9f2f2b6cadad558ea1f8764d701452b018852146d642a850c8a8b
a938701f4244ebdc4ae88ed0032a8315b68f086c6e45d9f2e34ef9442a8f6b47
be3c749ed51ee26c8412e0304a41ac5e00e668f4d5227b5f359a3b0c31d18d5d
2d2733a167ee360a36d6cc613001913deb62f199d73e86d39bfe06e669f4b066
@ -65,8 +64,6 @@ prepare() {
sed -i -e 's/GROUP="render"/GROUP="video"/' \
-e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in
patch -Np1 -i ${srcdir}/${pkgname}-${pkgver}-upstream_fixes-1.patch
}
build() {
@ -74,38 +71,38 @@ build() {
local _timeservers=(ntp.aliyun.com ntp{1..7}.aliyun.com)
meson setup build \
--prefix=/usr \
--libdir=/usr/lib64 \
--buildtype=release \
-Ddefault-dnssec=no \
-Dfirstboot=false \
-Dinstall-tests=false \
-Dldconfig=false \
-Dman=auto \
-Dsysusers=false \
-Drpmmacrosdir=no \
-Dhomed=enabled \
-Duserdb=true \
-Dmode=release \
-Dpam=enabled \
-Dpamconfdir=/etc/pam.d \
-Ddev-kvm-mode=0660 \
-Dnobody-group=nogroup \
-Dsysupdate=disabled \
-Dukify=enabled \
-Dlibidn2=enabled \
-Defi=true \
-Dlz4=true \
-Dnscd=false \
-Ddocdir=/usr/share/doc/${pkgname}-${pkgver} \
-Dntp-servers="${_timeservers[*]}" \
-Dfallback-hostname='futurelinux' \
-Dsbat-distro='future' \
-Dsbat-distro-summary="Future Linux" \
-Dsbat-distro-pkgname=${pkgname} \
-Dsbat-distro-version=${pkgver} \
-Dsbat-distro-url="https://futurelinux.github.io"
future-meson build \
--prefix=/usr \
--libdir=/usr/lib64 \
--buildtype=release \
-Ddefault-dnssec=no \
-Dfirstboot=false \
-Dinstall-tests=false \
-Dldconfig=false \
-Dman=auto \
-Dsysusers=false \
-Drpmmacrosdir=no \
-Dhomed=enabled \
-Duserdb=true \
-Dmode=release \
-Dpam=enabled \
-Dpamconfdir=/etc/pam.d \
-Ddev-kvm-mode=0660 \
-Dnobody-group=nogroup \
-Dsysupdate=disabled \
-Dukify=enabled \
-Dlibidn2=enabled \
-Defi=true \
-Dlz4=enabled \
-Dnscd=false \
-Ddocdir=/usr/share/doc/${pkgname}-${pkgver} \
-Dntp-servers="${_timeservers[*]}" \
-Dfallback-hostname='futurelinux' \
-Dsbat-distro='future' \
-Dsbat-distro-summary="Future Linux" \
-Dsbat-distro-pkgname=${pkgname} \
-Dsbat-distro-version=${pkgver} \
-Dsbat-distro-url="https://futurelinux.xyz"
meson compile -C build
}