X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=systemd.spec;h=1a60aa5411ba4e0332fc55660fc0b5927115af69;hb=a961acde448065bf8e57573d8bfd3318465bd8cf;hp=23d293090be72989c3557f0b708d11a92a77721c;hpb=6580fc0dbb1c6d22b05d11920c45980c4ccfe921;p=packages%2Fsystemd.git diff --git a/systemd.spec b/systemd.spec index 23d2930..1a60aa5 100644 --- a/systemd.spec +++ b/systemd.spec @@ -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 -Release: 1 +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} @@ -440,23 +441,6 @@ responder LLMNR. Generuje także dla zgodności plik /run/systemd/resolve/resolv.conf, który można użyć do dowiązania symbolicznego z /etc/resolv.conf. -%package userdb -Summary: systemd userdb service and client tool -Group: Base -Requires: %{name} = %{epoch}:%{version}-%{release} - -%description userdb -userdb component is a framework which allows defining rich user and -group records in a JSON format, extending on the classic "struct -passwd" and "struct group" structures. Various components in systemd -have been updated to process records in this format, including -systemd-logind and pam-systemd. The user records are intended to be -extensible, and allow setting various resource management, security -and runtime parameters that shall be applied to processes and sessions -of the user as they log in. This facility is intended to allow -associating such metadata directly with user/group records so that -they can be produced, extended and consumed in unified form. - %package inetd Summary: Native inet service support for systemd via socket activation Summary(pl.UTF-8): Natywna obsługa usług inet dla systemd @@ -672,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 @@ -690,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 @@ -1114,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 @@ -1159,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 @@ -1231,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 @@ -1309,7 +1297,7 @@ 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 @@ -1365,6 +1353,7 @@ fi %{_mandir}/man1/systemd-tty-ask-password-agent.1* %{_mandir}/man1/systemd-umount.1* %{_mandir}/man1/timedatectl.1* +%{_mandir}/man1/userdbctl.1* %{_mandir}/man5/binfmt.d.5* %{_mandir}/man5/coredump.conf.5* %{_mandir}/man5/coredump.conf.d.5* @@ -1486,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* @@ -1699,6 +1689,8 @@ fi %{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 @@ -1829,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 @@ -1920,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 @@ -2011,19 +2005,6 @@ fi %{_mandir}/man8/systemd-resolved.8* %{_mandir}/man8/systemd-resolved.service.8* -%files userdb -%defattr(644,root,root,755) -%doc docs/GROUP_RECORD.md docs/USER_GROUP_API.md docs/USER_RECORD.md -%attr(755,root,root) /bin/userdbctl -%attr(755,root,root) /lib/systemd/systemd-userdbd -%attr(755,root,root) /lib/systemd/systemd-userwork -%{systemdunitdir}/sockets.target.wants/systemd-userdbd.socket -%{systemdunitdir}/systemd-userdbd.service -%{systemdunitdir}/systemd-userdbd.socket -%{_mandir}/man8/systemd-userdbd.8* -%{_mandir}/man8/systemd-userdbd.service.8* -%{_mandir}/man1/userdbctl.1* - %files inetd %defattr(644,root,root,755) %attr(755,root,root) %{systemdunitdir}-generators/pld-rc-inetd-generator