# - dev->udev upgrade:
# - /dev/urandom remains missing, not created with start_udev anymore
#
+#warning: Installed (but unpackaged) file(s) found:
+# /usr/lib/rpm/macros.d/macros.systemd
+#
# Conditional build:
%bcond_without audit # audit support
%bcond_without cryptsetup # cryptsetup support
Summary(pl.UTF-8): systemd - zarządca systemu i usług dla Linuksa
Name: systemd
# Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
-Version: 238
-Release: 0.1
+Version: 239
+Release: 2
Epoch: 1
License: GPL v2+ (udev), LGPL v2.1+ (the rest)
Group: Base
Source0: https://github.com/systemd/systemd/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 76db8004647283b779234364cd637d3c
+# Source0-md5: 6137e3f50390391cf34521d071a1a078
Source1: %{name}-sysv-convert
Source2: %{name}_booted.c
Source3: network.service
Patch4: udev-ploop-rules.patch
Patch5: udevadm-in-sbin.patch
Patch6: net-rename-revert.patch
-Patch7: %{name}-glibc.patch
+Patch7: %{name}-struct-statx-in-glibc.patch
Patch8: proc-hidepid.patch
Patch9: %{name}-configfs.patch
Patch10: pld-boot_efi_mount.patch
Patch13: sysctl.patch
Patch14: pld-pam-%{name}-user.patch
Patch15: %{name}-seccomp_disable_on_i386.patch
+Patch16: meson-debug.patch
+Patch17: %{name}-timesync-changes-type-of-drift_freq-to-int64_t.patch
URL: http://www.freedesktop.org/wiki/Software/systemd
BuildRequires: acl-devel
%{?with_audit:BuildRequires: audit-libs-devel}
BuildRequires: docbook-style-xsl
BuildRequires: elfutils-devel >= 0.158
BuildRequires: gettext-tools
+BuildRequires: glib2-devel >= 1:2.22.0
BuildRequires: glibc-misc
%{?with_efi:BuildRequires: gnu-efi}
BuildRequires: gnutls-devel >= 3.1.4
BuildRequires: libcap-devel
BuildRequires: libgcrypt-devel >= 1.4.5
BuildRequires: libgpg-error-devel >= 1.12
-BuildRequires: libidn-devel
+BuildRequires: libidn2-devel
%{?with_microhttpd:BuildRequires: libmicrohttpd-devel >= 0.9.33}
-BuildRequires: libmount-devel >= 2.28.2-2
+BuildRequires: libmount-devel >= 2.30
BuildRequires: libseccomp-devel >= 2.3.1
%{?with_selinux:BuildRequires: libselinux-devel >= 2.6}
BuildRequires: libtool >= 2:2.2
BuildRequires: libxslt-progs
BuildRequires: lz4-devel >= r125
BuildRequires: m4
-BuildRequires: meson
+BuildRequires: meson >= 0.44
%{?with_pam:BuildRequires: pam-devel >= 1.1.2}
+BuildRequires: pcre2-8-devel
BuildRequires: pkgconfig >= 0.9.0
+BuildRequires: polkit-devel >= 0.106
BuildRequires: python3
BuildRequires: python3-lxml
%{?with_qrencode:BuildRequires: qrencode-devel}
Requires(pre): /usr/sbin/useradd
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
Requires: %{name}-units = %{epoch}:%{version}-%{release}
+Requires: %{name}-tools = %{epoch}:%{version}-%{release}
Requires: /etc/os-release
Requires: SysVinit-tools
Requires: agetty
Requires: libgpg-error >= 1.12
%{?with_microhttpd:Requires: libmicrohttpd >= 0.9.33}
Requires: libutempter
-Requires: polkit
+Requires: polkit >= 0.106
Requires: rc-scripts >= 0.4.5.3-7
Requires: setup >= 2.8.0-2
Requires: udev-core = %{epoch}:%{version}-%{release}
Requires: udev-libs = %{epoch}:%{version}-%{release}
Requires: uname(release) >= 3.13
-Requires: util-linux >= 2.28.2-2
+Requires: util-linux >= 2.30
Suggests: fsck >= 2.25.0
Suggests: service(klogd)
Suggests: service(syslog)
Ten pakiet zawiera ogólną konfigurację, ustawienia można nadpisać
poprzez katalog %{_sysconfdir}/systemd/system.
+%package tools
+Summary: Tools that work with and without systemd started
+Summary(pl.UTF-8): Narzędzia działające przy uruchomionym jak i bez systemd
+Group: Base
+Requires: %{name}-libs = %{epoch}:%{version}-%{release}
+
+%description tools
+Tools that work with and without systemd started.
+
+%description tools -l pl.UTF-8
+Narzędzia działające przy uruchomionym jak i bez systemd.
+
%package journal-gateway
Summary: Gateway for serving journal events over the network using HTTP
Summary(pl.UTF-8): Bramka do serwowania zdarzeń dziennika po sieci poprzez HTTP
konfiguruje interfejsy sieciowe gdy się pojawiają, a także tworzy
wirtualne urządzenia sieciowe.
+%package portabled
+Summary: systemd portable service images service
+Summary(pl.UTF-8): Usługa systemd do obrazów usług przenośnych
+Group: Base
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description portabled
+systemd-portabled is a system service that may be used to attach,
+detach and inspect portable service images.
+
+%description portabled -l pl.UTF-8
+systemd-portabled to usługa systemowa służąca do podłączania,
+odłączania i badania obrazów usług przenośnych.
+
%package resolved
Summary: systemd network name resolution manager
Summary(pl.UTF-8): Zarządca rozwiązywania nazw sieciowych systemd
%patch13 -p1
%patch14 -p1
%patch15 -p1
+%patch16 -p1
+%patch17 -p1
cp -p %{SOURCE2} src/systemd_booted.c
-Dkill-path=/bin/kill \
-Dkmod-path=/sbin/kmod \
-Dlibcryptsetup=%{__true_false cryptsetup} \
+ -Dlibidn2=true \
-Dloadkeys-path=/usr/bin/loadkeys \
-Dlz4=true \
-Dmicrohttpd=%{__true_false microhttpd} \
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc doc/DISTRO_PORTING NEWS README TODO
+%doc doc/{BOOT_LOADER_SPECIFICATION.md,DISTRO_PORTING,ENVIRONMENT.md,TRANSIENT-SETTINGS.md,UIDS-GIDS.md} NEWS README TODO
%{_datadir}/dbus-1/system.d/org.freedesktop.hostname1.conf
%{_datadir}/dbus-1/system.d/org.freedesktop.import1.conf
%{_datadir}/dbus-1/system.d/org.freedesktop.locale1.conf
%{_datadir}/dbus-1/system.d/org.freedesktop.machine1.conf
%{_datadir}/dbus-1/system.d/org.freedesktop.systemd1.conf
%{_datadir}/dbus-1/system.d/org.freedesktop.timedate1.conf
+%{_datadir}/dbus-1/system.d/org.freedesktop.timesync1.conf
%attr(755,root,root) %{_sysconfdir}/X11/xinit/xinitrc.d/50-systemd-user.sh
%attr(444,root,root) %ghost %config(noreplace) %{_sysconfdir}/machine-id
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hostname
%attr(755,root,root) %{_bindir}/kernel-install
%attr(755,root,root) %{_bindir}/localectl
%attr(755,root,root) %{_bindir}/systemd-cat
-%attr(755,root,root) %{_bindir}/systemd-cgls
-%attr(755,root,root) %{_bindir}/systemd-cgtop
%attr(755,root,root) %{_bindir}/systemd-delta
%attr(755,root,root) %{_bindir}/systemd-detect-virt
%attr(755,root,root) %{_bindir}/systemd-mount
%attr(755,root,root) /lib/systemd/systemd-socket-proxyd
%attr(755,root,root) /lib/systemd/systemd-sulogin-shell
%attr(755,root,root) /lib/systemd/systemd-sysctl
+%attr(755,root,root) /lib/systemd/systemd-time-wait-sync
%attr(755,root,root) /lib/systemd/systemd-timedated
%attr(755,root,root) /lib/systemd/systemd-timesyncd
%attr(755,root,root) /lib/systemd/systemd-udevd
%attr(755,root,root) /lib/systemd/systemd-update-utmp
%attr(755,root,root) /lib/systemd/systemd-update-done
+%attr(755,root,root) /lib/systemd/systemd-user-runtime-dir
%attr(755,root,root) /lib/systemd/systemd-user-sessions
%attr(755,root,root) /lib/systemd/systemd-vconsole-setup
%attr(755,root,root) /lib/systemd/systemd-veritysetup
%{_datadir}/dbus-1/system-services/org.freedesktop.machine1.service
%{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service
%{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service
+%{_datadir}/dbus-1/system-services/org.freedesktop.timesync1.service
%{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy
%{_datadir}/polkit-1/actions/org.freedesktop.import1.policy
%{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy
%{_mandir}/man1/systemd.1*
%{_mandir}/man1/systemd-ask-password.1*
%{_mandir}/man1/systemd-cat.1*
-%{_mandir}/man1/systemd-cgls.1*
-%{_mandir}/man1/systemd-cgtop.1*
%{_mandir}/man1/systemd-delta.1*
%{_mandir}/man1/systemd-detect-virt.1*
%{_mandir}/man1/systemd-escape.1*
%{_mandir}/man1/systemd-notify.1*
%{_mandir}/man1/systemd-nspawn.1*
%{_mandir}/man1/systemd-path.1*
-%{_mandir}/man1/systemd-resolve.1*
%{_mandir}/man1/systemd-run.1*
%{_mandir}/man1/systemd-socket-activate.1*
%{_mandir}/man1/systemd-tty-ask-password-agent.1*
%{_mandir}/man5/coredump.conf.d.5*
%{_mandir}/man5/dnssec-trust-anchors.d.5*
%{_mandir}/man5/hostname.5*
+%{?with_efi:%{_mandir}/man5/loader.conf.5*}
%if %{with microhttpd}
%{_mandir}/man5/journal-remote.conf.5*
%{_mandir}/man5/journal-remote.conf.d.5*
%{_mandir}/man7/daemon.7*
%{_mandir}/man7/file-hierarchy.7*
%{_mandir}/man7/kernel-command-line.7*
+%{?with_efi:%{_mandir}/man7/sd-boot.7*}
+%{?with_efi:%{_mandir}/man7/systemd-boot.7*}
%{_mandir}/man7/systemd.directives.7*
%{_mandir}/man7/systemd.environment-generator.7*
%{_mandir}/man7/systemd.generator.7*
%{_mandir}/man7/systemd.journal-fields.7*
%{_mandir}/man7/systemd.offline-updates.7*
%{_mandir}/man7/systemd.special.7*
+%{_mandir}/man7/systemd.syntax.7*
%{_mandir}/man7/systemd.time.7*
%{_mandir}/man8/kernel-install.8*
%{_mandir}/man8/libnss_myhostname.so.2.8*
%{_mandir}/man8/systemd-journald-dev-log.socket.8*
%{_mandir}/man8/systemd-journald.8*
%if %{with microhttpd}
-%{_mandir}/man8/systemd-journal-remote.8.*
-%{_mandir}/man8/systemd-journal-upload.8.*
+%{_mandir}/man8/systemd-journal-remote.8*
+%{_mandir}/man8/systemd-journal-upload.8*
%endif
%{_mandir}/man8/systemd-localed.8*
%{_mandir}/man8/systemd-logind.8*
%{_mandir}/man8/systemd-sysusers.8*
%{_mandir}/man8/systemd-sysusers.service.8*
%{_mandir}/man8/systemd-sysv-generator.8*
+%{_mandir}/man8/systemd-time-wait-sync.8*
%{_mandir}/man8/systemd-timedated.8*
%{_mandir}/man8/systemd-timesyncd.8*
%{_mandir}/man8/systemd-timesyncd.service.8*
%{systemdunitdir}/serial-getty@.service
%{systemdunitdir}/single.service
%{systemdunitdir}/sigpwr-container-shutdown.service
+%{systemdunitdir}/suspend-then-hibernate.target
%{systemdunitdir}/sys-kernel-config.service
%{systemdunitdir}/system-update-cleanup.service
+%{systemdunitdir}/system-update-pre.target
%{systemdunitdir}/systemd-ask-password-console.service
%{systemdunitdir}/systemd-ask-password-wall.service
%{systemdunitdir}/systemd-backlight@.service
%{systemdunitdir}/systemd-remount-fs.service
%{systemdunitdir}/systemd-rfkill.service
%{systemdunitdir}/systemd-suspend.service
+%{systemdunitdir}/systemd-suspend-then-hibernate.service
%{systemdunitdir}/systemd-sysctl.service
%{systemdunitdir}/systemd-sysusers.service
+%{systemdunitdir}/systemd-time-wait-sync.service
%{systemdunitdir}/systemd-timedated.service
%{systemdunitdir}/systemd-timesyncd.service
%{systemdunitdir}/systemd-tmpfiles-clean.service
%{systemdunitdir}/user@.service
%{systemdunitdir}/machine.slice
#%{systemdunitdir}/system.slice
+%dir %{systemdunitdir}/user-.slice.d
+%{systemdunitdir}/user-.slice.d/10-defaults.conf
+%{systemdunitdir}/user-runtime-dir@.service
%{systemdunitdir}/user.slice
%exclude %{systemdunitdir}/rc-inetd.service
%{systemdunitdir}/syslog.socket
%{_mandir}/man8/systemd-hibernate.service.8*
%{_mandir}/man8/systemd-hostnamed.service.8*
%{_mandir}/man8/systemd-hybrid-sleep.service.8*
+%{_mandir}/man8/systemd-importd.service.8*
%{_mandir}/man8/systemd-initctl.service.8*
%{_mandir}/man8/systemd-initctl.socket.8*
+%{_mandir}/man8/systemd-journal-remote.service.8*
+%{_mandir}/man8/systemd-journal-remote.socket.8*
+%{_mandir}/man8/systemd-journal-upload.service.8*
%{_mandir}/man8/systemd-journald.service.8*
%{_mandir}/man8/systemd-journald.socket.8*
-%{_mandir}/man8/systemd-importd.service.8*
%{_mandir}/man8/systemd-journald-audit.socket.8*
%{_mandir}/man8/systemd-kexec.service.8*
%{_mandir}/man8/systemd-localed.service.8*
%{_mandir}/man8/systemd-remount-fs.service.8*
%{_mandir}/man8/systemd-rfkill.socket.8*
%{_mandir}/man8/systemd-suspend.service.8*
+%{_mandir}/man8/systemd-suspend-then-hibernate.service.8*
%{_mandir}/man8/systemd-sysctl.service.8*
+%{_mandir}/man8/systemd-time-wait-sync.service.8*
%{_mandir}/man8/systemd-timedated.service.8*
%{_mandir}/man8/systemd-tmpfiles-clean.service.8*
%{_mandir}/man8/systemd-tmpfiles-clean.timer.8*
%{_mandir}/man8/systemd-user-sessions.service.8*
%{_mandir}/man8/systemd-vconsole-setup.service.8*
+%files tools
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/systemd-cgls
+%attr(755,root,root) %{_bindir}/systemd-cgtop
+%{_mandir}/man1/systemd-cgls.1*
+%{_mandir}/man1/systemd-cgtop.1*
+
%if %{with microhttpd}
%files journal-gateway
%defattr(644,root,root,755)
%{_mandir}/man8/systemd-networkd.8*
%{_mandir}/man8/systemd-networkd.service.8*
+%files portabled
+%defattr(644,root,root,755)
+%doc doc/PORTABLE_SERVICES.md
+%attr(755,root,root) /lib/systemd/portablectl
+%attr(755,root,root) /lib/systemd/systemd-portabled
+%{systemdunitdir}/dbus-org.freedesktop.portable1.service
+%{systemdunitdir}/systemd-portabled.service
+%dir /lib/systemd/portable
+%dir /lib/systemd/portable/profile
+%dir /lib/systemd/portable/profile/default
+/lib/systemd/portable/profile/default/service.conf
+%dir /lib/systemd/portable/profile/nonetwork
+/lib/systemd/portable/profile/nonetwork/service.conf
+%dir /lib/systemd/portable/profile/strict
+/lib/systemd/portable/profile/strict/service.conf
+%dir /lib/systemd/portable/profile/trusted
+/lib/systemd/portable/profile/trusted/service.conf
+%{systemdtmpfilesdir}/portables.conf
+%{_datadir}/dbus-1/system-services/org.freedesktop.portable1.service
+%{_datadir}/dbus-1/system.d/org.freedesktop.portable1.conf
+%{_datadir}/polkit-1/actions/org.freedesktop.portable1.policy
+%{_mandir}/man1/portablectl.1*
+%{_mandir}/man8/systemd-portabled.8*
+%{_mandir}/man8/systemd-portabled.service.8*
+
%files resolved
%defattr(644,root,root,755)
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/resolved.conf
%{_datadir}/dbus-1/system-services/org.freedesktop.resolve1.service
%{_datadir}/polkit-1/actions/org.freedesktop.resolve1.policy
%{systemdunitdir}/systemd-resolved.service
+%attr(755,root,root) /sbin/resolvconf
+%attr(755,root,root) %{_bindir}/resolvectl
%attr(755,root,root) /lib/systemd/systemd-resolved
+%{_mandir}/man1/resolvconf.1*
+%{_mandir}/man1/resolvectl.1*
%{_mandir}/man5/resolved.conf.5*
%{_mandir}/man5/resolved.conf.d.5*
%{_mandir}/man8/systemd-resolved.8*
%{bash_compdir}/loginctl
%{bash_compdir}/machinectl
%{bash_compdir}/networkctl
+%{bash_compdir}/portablectl
+%{bash_compdir}/resolvectl
%{bash_compdir}/systemctl
%{bash_compdir}/systemd-analyze
%{bash_compdir}/systemd-cat
/lib/udev/hwdb.d/20-sdio-vendor-model.hwdb
/lib/udev/hwdb.d/20-usb-classes.hwdb
/lib/udev/hwdb.d/20-usb-vendor-model.hwdb
+/lib/udev/hwdb.d/20-vmbus-class.hwdb
/lib/udev/hwdb.d/60-evdev.hwdb
/lib/udev/hwdb.d/60-keyboard.hwdb
/lib/udev/hwdb.d/60-sensor.hwdb