]> git.pld-linux.org Git - packages/systemd.git/blobdiff - systemd.spec
attempt to fix logind restart issue
[packages/systemd.git] / systemd.spec
index d749e5d5c653b8cff3ce715b8d52433861771ad9..1a60aa5411ba4e0332fc55660fc0b5927115af69 100644 (file)
@@ -28,14 +28,14 @@ Summary:    A System and Service Manager
 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:       245
+Version:       245.6
 Release:       0.1
 Epoch:         1
 License:       GPL v2+ (udev), LGPL v2.1+ (the rest)
 Group:         Base
 #Source0Download: https://github.com/systemd/systemd/releases
-Source0:       https://github.com/systemd/systemd/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 04f02d9841ea5992a16f6b03c873da28
+Source0:       https://github.com/systemd/systemd-stable/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 1eb3ca8f77978cc52dea6293467211a8
 Source1:       %{name}-sysv-convert
 Source2:       %{name}_booted.c
 Source3:       network.service
@@ -77,6 +77,7 @@ Patch12:      uids_gids.patch
 Patch13:       sysctl.patch
 Patch14:       pld-pam-%{name}-user.patch
 Patch15:       %{name}-x32.patch
+Patch16:       %{name}-logind_restart.patch
 URL:           https://www.freedesktop.org/wiki/Software/systemd/
 BuildRequires: acl-devel
 %{?with_audit:BuildRequires:   audit-libs-devel}
@@ -655,7 +656,7 @@ zsh completion for udev commands.
 Uzupełnianie parametrów w zsh dla poleceń udev.
 
 %prep
-%setup -q
+%setup -q -n systemd-stable-%{version}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -673,6 +674,7 @@ Uzupełnianie parametrów w zsh dla poleceń udev.
 %patch13 -p1
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
 
 cp -p %{SOURCE2} src/systemd_booted.c
 
@@ -728,6 +730,7 @@ install -d $RPM_BUILD_ROOT/var/lib/{%{name}/{catalog,coredump},machines} \
        $RPM_BUILD_ROOT%{_sysconfdir}/{modprobe.d,systemd/system-preset} \
        $RPM_BUILD_ROOT%{systemduserunitdir}/sockets.target.wants \
        $RPM_BUILD_ROOT%{systemdunitdir}/{final,sound,system-update}.target.wants \
+       $RPM_BUILD_ROOT%{systemdunitdir}/systemd-udevd.service.d \
        $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system-environment-generators
 
 %meson_install -C build
@@ -1096,7 +1099,7 @@ fi
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc docs/{AUTOMATIC_BOOT_ASSESSMENT,BLOCK_DEVICE_LOCKING,BOOT_LOADER_INTERFACE,BOOT_LOADER_SPECIFICATION,DISTRO_PORTING,ENVIRONMENT,PREDICTABLE_INTERFACE_NAMES,TRANSIENT-SETTINGS,UIDS-GIDS}.md NEWS README TODO
+%doc docs/{AUTOMATIC_BOOT_ASSESSMENT,BLOCK_DEVICE_LOCKING,BOOT_LOADER_INTERFACE,BOOT_LOADER_SPECIFICATION,DISTRO_PORTING,ENVIRONMENT,GROUP_RECORD,PREDICTABLE_INTERFACE_NAMES,TRANSIENT-SETTINGS,UIDS-GIDS,USER_GROUP_API,USER_RECORD}.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
@@ -1141,6 +1144,7 @@ fi
 %attr(755,root,root) /bin/systemd-notify
 %attr(755,root,root) /bin/systemd-sysusers
 %attr(755,root,root) /bin/systemd-tty-ask-password-agent
+%attr(755,root,root) /bin/userdbctl
 %{?with_efi:%attr(755,root,root) %{_bindir}/bootctl}
 %attr(755,root,root) %{_bindir}/busctl
 %attr(755,root,root) %{_bindir}/coredumpctl
@@ -1161,7 +1165,6 @@ fi
 %attr(755,root,root) %{_bindir}/systemd-sysv-convert
 %attr(755,root,root) %{_bindir}/systemd-umount
 %attr(755,root,root) %{_bindir}/timedatectl
-%attr(755,root,root) %{_bindir}/userdbctl
 /lib/modprobe.d/systemd.conf
 /lib/systemd/import-pubring.gpg
 /lib/systemd/resolv.conf
@@ -1214,6 +1217,8 @@ fi
 %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-userdbd
+%attr(755,root,root) /lib/systemd/systemd-userwork
 %attr(755,root,root) /lib/systemd/systemd-vconsole-setup
 %attr(755,root,root) /lib/systemd/systemd-veritysetup
 %attr(755,root,root) /lib/systemd/systemd-volatile-root
@@ -1292,14 +1297,16 @@ fi
 %{_prefix}/lib/tmpfiles.d/x11.conf
 %{_prefix}/lib/sysctl.d/50-coredump.conf
 # if cc.sizeof('long') > 4
-%ifarch %{x8664}
+%ifarch %{x8664} aarch64
 %{_prefix}/lib/sysctl.d/50-pid-max.conf
 %endif
+%{_datadir}/dbus-1/services/org.freedesktop.systemd1.service
 %{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service
 %{_datadir}/dbus-1/system-services/org.freedesktop.import1.service
 %{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
 %{_datadir}/dbus-1/system-services/org.freedesktop.login1.service
 %{_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
@@ -1352,6 +1359,7 @@ fi
 %{_mandir}/man5/coredump.conf.d.5*
 %{_mandir}/man5/dnssec-trust-anchors.d.5*
 %{_mandir}/man5/hostname.5*
+%{_mandir}/man5/journald@.conf.5*
 %{?with_efi:%{_mandir}/man5/loader.conf.5*}
 %if %{with microhttpd}
 %{_mandir}/man5/journal-remote.conf.5*
@@ -1405,7 +1413,11 @@ fi
 %{_mandir}/man8/nss-mymachines.8*
 %{_mandir}/man8/systemd-backlight.8*
 %{_mandir}/man8/systemd-binfmt.8*
-%{?with_efi:%{_mandir}/man8/systemd-bless-boot-generator.8*}
+%if %{with efi}
+%{_mandir}/man8/systemd-bless-boot.8*
+%{_mandir}/man8/systemd-bless-boot-generator.8*
+%endif
+%{_mandir}/man8/systemd-boot-check-no-failures.8*
 %{_mandir}/man8/systemd-coredump.8*
 %{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup-generator.8*}
 %{_mandir}/man8/systemd-debug-generator.8*
@@ -1422,7 +1434,10 @@ fi
 %{_mandir}/man8/systemd-importd.8*
 %{_mandir}/man8/systemd-initctl.8*
 %{_mandir}/man8/systemd-journald-dev-log.socket.8*
+%{_mandir}/man8/systemd-journald-varlink@.socket.8*
 %{_mandir}/man8/systemd-journald.8*
+%{_mandir}/man8/systemd-journald@.service.8*
+%{_mandir}/man8/systemd-journald@.socket.8*
 %if %{with microhttpd}
 %{_mandir}/man8/systemd-journal-remote.8*
 %{_mandir}/man8/systemd-journal-upload.8*
@@ -1460,6 +1475,7 @@ fi
 %{_mandir}/man8/systemd-update-done.service.8*
 %{_mandir}/man8/systemd-update-utmp.8*
 %{_mandir}/man8/systemd-user-sessions.8*
+%{_mandir}/man8/systemd-userdbd.8*
 %{_mandir}/man8/systemd-vconsole-setup.8*
 %{_mandir}/man8/systemd-veritysetup.8*
 %{_mandir}/man8/systemd-veritysetup-generator.8*
@@ -1567,6 +1583,7 @@ fi
 %{systemdunitdir}/sys-fs-fuse-connections.mount
 %{systemdunitdir}/sys-kernel-config.mount
 %{systemdunitdir}/sys-kernel-debug.mount
+%{systemdunitdir}/sys-kernel-tracing.mount
 %{systemdunitdir}/systemd-coredump@.service
 %{systemdunitdir}/systemd-coredump.socket
 %{systemdunitdir}/systemd-exit.service
@@ -1601,6 +1618,7 @@ fi
 %{systemdunitdir}/killall.service
 %{systemdunitdir}/kmod-static-nodes.service
 %{systemdunitdir}/ldconfig.service
+%{systemdunitdir}/modprobe@.service
 %{systemdunitdir}/netfs.service
 %{systemdunitdir}/network.service
 %{systemdunitdir}/pld-clean-tmp.service
@@ -1639,6 +1657,7 @@ fi
 %{systemdunitdir}/systemd-journal-remote.service
 %{systemdunitdir}/systemd-journal-upload.service
 %{systemdunitdir}/systemd-journald.service
+%{systemdunitdir}/systemd-journald@.service
 %{systemdunitdir}/systemd-kexec.service
 %{systemdunitdir}/systemd-localed.service
 %{systemdunitdir}/systemd-logind.service
@@ -1665,15 +1684,19 @@ fi
 %{systemdunitdir}/systemd-udev-settle.service
 %{systemdunitdir}/systemd-udev-trigger.service
 %{systemdunitdir}/systemd-udevd.service
+%dir %{systemdunitdir}/systemd-udevd.service.d
 %{systemdunitdir}/systemd-update-done.service
 %{systemdunitdir}/systemd-update-utmp-runlevel.service
 %{systemdunitdir}/systemd-update-utmp.service
 %{systemdunitdir}/systemd-user-sessions.service
+%{systemdunitdir}/systemd-userdbd.service
+%{systemdunitdir}/systemd-userdbd.socket
 %{systemdunitdir}/systemd-vconsole-setup.service
 %{systemdunitdir}/systemd-volatile-root.service
 %{systemdunitdir}/user@.service
 %{systemdunitdir}/machine.slice
 #%{systemdunitdir}/system.slice
+%{?with_cryptsetup:%{systemdunitdir}/system-systemd\x2dcryptsetup.slice}
 %dir %{systemdunitdir}/user-.slice.d
 %{systemdunitdir}/user-.slice.d/10-defaults.conf
 %{systemdunitdir}/user-runtime-dir@.service
@@ -1684,10 +1707,13 @@ fi
 %{systemdunitdir}/systemd-journal-remote.socket
 %{systemdunitdir}/systemd-journald-audit.socket
 %{systemdunitdir}/systemd-journald-dev-log.socket
+%{systemdunitdir}/systemd-journald-varlink@.socket
 %{systemdunitdir}/systemd-journald.socket
+%{systemdunitdir}/systemd-journald@.socket
 %{systemdunitdir}/systemd-udevd-control.socket
 %{systemdunitdir}/systemd-udevd-kernel.socket
 %{systemdunitdir}/basic.target
+%{systemdunitdir}/blockdev@.target
 %{systemdunitdir}/bluetooth.target
 %{systemdunitdir}/boot-complete.target
 %{?with_cryptsetup:%{systemdunitdir}/cryptsetup-pre.target}
@@ -1795,6 +1821,7 @@ fi
 %{systemdunitdir}/sockets.target.wants/systemd-journald.socket
 %{systemdunitdir}/sockets.target.wants/systemd-udevd-control.socket
 %{systemdunitdir}/sockets.target.wants/systemd-udevd-kernel.socket
+%{systemdunitdir}/sockets.target.wants/systemd-userdbd.socket
 %{?with_cryptsetup:%{systemdunitdir}/sysinit.target.wants/cryptsetup.target}
 %{systemdunitdir}/sysinit.target.wants/dev-hugepages.mount
 %{systemdunitdir}/sysinit.target.wants/dev-mqueue.mount
@@ -1803,6 +1830,7 @@ fi
 %{systemdunitdir}/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount
 %{systemdunitdir}/sysinit.target.wants/sys-fs-fuse-connections.mount
 %{systemdunitdir}/sysinit.target.wants/sys-kernel-debug.mount
+%{systemdunitdir}/sysinit.target.wants/sys-kernel-tracing.mount
 %{systemdunitdir}/sysinit.target.wants/systemd-ask-password-console.path
 %{systemdunitdir}/sysinit.target.wants/systemd-binfmt.service
 %{?with_efi:%{systemdunitdir}/sysinit.target.wants/systemd-boot-system-token.service}
@@ -1885,6 +1913,7 @@ fi
 %{_mandir}/man8/systemd-update-utmp-runlevel.service.8*
 %{_mandir}/man8/systemd-update-utmp.service.8*
 %{_mandir}/man8/systemd-user-sessions.service.8*
+%{_mandir}/man8/systemd-userdbd.service.8*
 %{_mandir}/man8/systemd-vconsole-setup.service.8*
 
 %files tools
@@ -1927,6 +1956,8 @@ fi
 %{_mandir}/man5/networkd.conf.5*
 %{_mandir}/man5/networkd.conf.d.5*
 %{_mandir}/man7/systemd.net-naming-scheme.7*
+%{_mandir}/man8/systemd-network-generator.8*
+%{_mandir}/man8/systemd-network-generator.service.8*
 %{_mandir}/man8/systemd-networkd-wait-online.8*
 %{_mandir}/man8/systemd-networkd-wait-online.service.8*
 %{_mandir}/man8/systemd-networkd.8*
This page took 0.045901 seconds and 4 git commands to generate.