Accepting request 880903 from home:lnussel:legacyfree

- enable libiptc for masquerading support in networkd
- enable pstore, repart, userdb and homed

OBS-URL: https://build.opensuse.org/request/show/880903
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1147
This commit is contained in:
Franck Bui 2021-04-12 09:54:19 +00:00 committed by Git OBS Bridge
parent 4370f066e5
commit 45629a3878
4 changed files with 248 additions and 4 deletions

View File

@ -39,6 +39,11 @@ Wed Mar 24 07:05:22 UTC 2021 - Franck Bui <fbui@suse.com>
Temporary workaround for bsc#1183745 (upstream issue 18917) until an Temporary workaround for bsc#1183745 (upstream issue 18917) until an
actual fix is found. actual fix is found.
-------------------------------------------------------------------
Tue Mar 23 14:11:03 UTC 2021 - Ludwig Nussel <lnussel@suse.de>
- enable libiptc for masquerading support in networkd
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 22 21:12:40 UTC 2021 - Neal Gompa <ngompa13@gmail.com> Mon Mar 22 21:12:40 UTC 2021 - Neal Gompa <ngompa13@gmail.com>
@ -80,6 +85,12 @@ Mon Mar 15 11:06:54 UTC 2021 - Franck Bui <fbui@suse.com>
e06139117c nspawn: make rootfs relative to oci bundle path (bsc#1182598) e06139117c nspawn: make rootfs relative to oci bundle path (bsc#1182598)
8ba587d46c PATCH] Always free deserialized_subscribed on reload (bsc#1180020) 8ba587d46c PATCH] Always free deserialized_subscribed on reload (bsc#1180020)
-------------------------------------------------------------------
Thu Mar 11 16:58:44 UTC 2021 - Ludwig Nussel <lnussel@suse.de>
- create subpackage systemd-experimental to host pstore, repart,
userdb and homed
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 11 09:51:53 UTC 2021 - Franck Bui <fbui@suse.com> Thu Mar 11 09:51:53 UTC 2021 - Franck Bui <fbui@suse.com>

View File

@ -38,6 +38,7 @@
%bcond_with portabled %bcond_with portabled
%bcond_with resolved %bcond_with resolved
%bcond_with sysvcompat %bcond_with sysvcompat
%bcond_with experimental
%else %else
%bcond_without coredump %bcond_without coredump
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64
@ -50,6 +51,7 @@
%bcond_without portabled %bcond_without portabled
%bcond_without resolved %bcond_without resolved
%bcond_without sysvcompat %bcond_without sysvcompat
%bcond_without experimental
%endif %endif
%bcond_with parentpathid %bcond_with parentpathid
@ -111,6 +113,10 @@ BuildRequires: pkgconfig(libmicrohttpd) >= 0.9.33
%if %{with gnuefi} %if %{with gnuefi}
BuildRequires: gnu-efi BuildRequires: gnu-efi
%endif %endif
%if %{with experimental}
BuildRequires: pkgconfig(fdisk)
BuildRequires: pkgconfig(openssl)
%endif
%if 0%{?bootstrap} %if 0%{?bootstrap}
#!BuildIgnore: dbus-1 #!BuildIgnore: dbus-1
@ -493,6 +499,19 @@ This package contains systemd-journal-gatewayd,
systemd-journal-remote, and systemd-journal-upload. systemd-journal-remote, and systemd-journal-upload.
%endif %endif
%package experimental
Summary: Experimental systemd features
License: LGPL-2.1-or-later
Group: System/Base
Requires: %{name} = %{version}-%{release}
%systemd_requires
%description experimental
This package contains optional extra systemd services that are
considered a preview feature. Components that turn out to be
stable may be merged into the main package later. Use at your own
risk.
%if ! 0%{?bootstrap} %if ! 0%{?bootstrap}
%lang_package %lang_package
%endif %endif
@ -526,14 +545,22 @@ systemd-journal-remote, and systemd-journal-upload.
-Dsmack=false \ -Dsmack=false \
-Dima=false \ -Dima=false \
-Delfutils=auto \ -Delfutils=auto \
%if %{with experimental}
-Dpstore=true \
-Drepart=true \
-Dhomed=true \
-Duserdb=true \
%else
-Dpstore=false \ -Dpstore=false \
-Drepart=false \ -Drepart=false \
-Duserdb=false \
-Dhomed=false \ -Dhomed=false \
-Duserdb=false \
%endif
%if 0%{?bootstrap}
-Dfdisk=false \ -Dfdisk=false \
-Dpwquality=false \ -Dpwquality=false \
-Dp11kit=false \ -Dp11kit=false \
%if ! 0%{?bootstrap} %else
-Dman=true \ -Dman=true \
-Dhtml=true \ -Dhtml=true \
%endif %endif
@ -1049,6 +1076,29 @@ fi
%service_del_postun systemd-portabled.service %service_del_postun systemd-portabled.service
%endif %endif
%if %{with experimental}
%pre experimental
%service_add_pre systemd-pstore.service
%service_add_pre systemd-userdbd.service systemd-userdbd.socket
%service_add_pre systemd-homed.service
%post experimental
%tmpfiles_create systemd-pstore.conf
%service_add_post systemd-pstore.service
%service_add_post systemd-userdbd.service systemd-userdbd.socket
%service_add_post systemd-homed.service
%preun experimental
%service_del_preun systemd-pstore.service
%service_del_preun systemd-userdbd.service systemd-userdbd.socket
%service_del_preun systemd-homed.service
%postun experimental
%service_del_postun systemd-pstore.service
%service_del_postun systemd-userdbd.service systemd-userdbd.socket
%service_del_postun systemd-homed.service
%endif
%clean %clean
%files %files
@ -1146,6 +1196,22 @@ fi
%exclude %{_unitdir}/dbus-org.freedesktop.portable1.service %exclude %{_unitdir}/dbus-org.freedesktop.portable1.service
%exclude %{_tmpfilesdir}/portables.conf %exclude %{_tmpfilesdir}/portables.conf
%endif %endif
%if %{with experimental}
%exclude %{_prefix}/lib/systemd/systemd-pstore
%exclude %{_unitdir}/systemd-pstore.service
%exclude %{_tmpfilesdir}/systemd-pstore.conf
%exclude %{_unitdir}/systemd-repart.service
%exclude %{_unitdir}/initrd-root-fs.target.wants/systemd-repart.service
%exclude %{_unitdir}/sysinit.target.wants/systemd-repart.service
%exclude %{_prefix}/lib/systemd/systemd-userwork
%exclude %{_prefix}/lib/systemd/systemd-userdbd
%exclude %{_unitdir}/systemd-userdbd.service
%exclude %{_unitdir}/systemd-userdbd.socket
%exclude %{_prefix}/lib/systemd/systemd-homed
%exclude %{_prefix}/lib/systemd/systemd-homework
%exclude %{_unitdir}/systemd-homed-activate.service
%exclude %{_unitdir}/systemd-homed.service
%endif
%{_unitdir}/*.automount %{_unitdir}/*.automount
%{_unitdir}/*.service %{_unitdir}/*.service
@ -1308,6 +1374,17 @@ fi
%exclude %{_mandir}/man*/portablectl* %exclude %{_mandir}/man*/portablectl*
%exclude %{_mandir}/man*/systemd-portabled* %exclude %{_mandir}/man*/systemd-portabled*
%endif %endif
%if %{with experimental}
%exclude %{_mandir}/man*/*pstore*
%exclude %{_mandir}/man*/*repart*
%exclude %{_mandir}/man*/userdbctl*
%exclude %{_mandir}/man*/systemd-userdbd*
%exclude %{_mandir}/man*/*homectl*
%exclude %{_mandir}/man*/*homed*
%exclude %{_mandir}/man*/org.freedesktop.home1*
%exclude %{_mandir}/man*/pam_systemd_home*
%exclude %{_datadir}/bash-completion/completions/homectl
%endif
%endif %endif
%{_docdir}/systemd %{_docdir}/systemd
@ -1614,4 +1691,38 @@ fi
%{_mandir}/man*/systemd-portabled* %{_mandir}/man*/systemd-portabled*
%endif %endif
%if %{with experimental}
%files experimental
%defattr(-,root,root)
%config(noreplace) /etc/systemd/pstore.conf
%{_prefix}/lib/systemd/systemd-pstore
%{_unitdir}/systemd-pstore.service
%{_tmpfilesdir}/systemd-pstore.conf
%{_mandir}/man*/*pstore*
%{_bindir}/systemd-repart
%{_unitdir}/systemd-repart.service
%{_mandir}/man*/*repart*
/usr/bin/userdbctl
%{_prefix}/lib/systemd/systemd-userwork
%{_prefix}/lib/systemd/systemd-userdbd
%{_unitdir}/systemd-userdbd.service
%{_unitdir}/systemd-userdbd.socket
%{_mandir}/man*/userdbctl*
%{_mandir}/man*/systemd-userdbd*
%config %{_sysconfdir}/homed.conf
%{_bindir}/homectl
%{_prefix}/lib/systemd/systemd-homed
%{_prefix}/lib/systemd/systemd-homework
%{_unitdir}/systemd-homed.service
%{_pamdir}/pam_systemd_home.so
%{_datadir}/dbus-1/system-services/org.freedesktop.home1.service
%{_datadir}/dbus-1/system.d/org.freedesktop.home1.conf
%{_datadir}/polkit-1/actions/org.freedesktop.home1.policy
%{_datadir}/bash-completion/completions/homectl
%{_mandir}/man*/*homectl*
%{_mandir}/man*/*homed*
%{_mandir}/man*/org.freedesktop.home1*
%{_mandir}/man*/pam_systemd_home*
%endif
%changelog %changelog

View File

@ -39,6 +39,11 @@ Wed Mar 24 07:05:22 UTC 2021 - Franck Bui <fbui@suse.com>
Temporary workaround for bsc#1183745 (upstream issue 18917) until an Temporary workaround for bsc#1183745 (upstream issue 18917) until an
actual fix is found. actual fix is found.
-------------------------------------------------------------------
Tue Mar 23 14:11:03 UTC 2021 - Ludwig Nussel <lnussel@suse.de>
- enable libiptc for masquerading support in networkd
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 22 21:12:40 UTC 2021 - Neal Gompa <ngompa13@gmail.com> Mon Mar 22 21:12:40 UTC 2021 - Neal Gompa <ngompa13@gmail.com>
@ -80,6 +85,12 @@ Mon Mar 15 11:06:54 UTC 2021 - Franck Bui <fbui@suse.com>
e06139117c nspawn: make rootfs relative to oci bundle path (bsc#1182598) e06139117c nspawn: make rootfs relative to oci bundle path (bsc#1182598)
8ba587d46c PATCH] Always free deserialized_subscribed on reload (bsc#1180020) 8ba587d46c PATCH] Always free deserialized_subscribed on reload (bsc#1180020)
-------------------------------------------------------------------
Thu Mar 11 16:58:44 UTC 2021 - Ludwig Nussel <lnussel@suse.de>
- create subpackage systemd-experimental to host pstore, repart,
userdb and homed
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 11 09:51:53 UTC 2021 - Franck Bui <fbui@suse.com> Thu Mar 11 09:51:53 UTC 2021 - Franck Bui <fbui@suse.com>

View File

@ -36,6 +36,7 @@
%bcond_with portabled %bcond_with portabled
%bcond_with resolved %bcond_with resolved
%bcond_with sysvcompat %bcond_with sysvcompat
%bcond_with experimental
%else %else
%bcond_without coredump %bcond_without coredump
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64
@ -48,6 +49,7 @@
%bcond_without portabled %bcond_without portabled
%bcond_without resolved %bcond_without resolved
%bcond_without sysvcompat %bcond_without sysvcompat
%bcond_without experimental
%endif %endif
%bcond_with parentpathid %bcond_with parentpathid
@ -109,6 +111,10 @@ BuildRequires: pkgconfig(libmicrohttpd) >= 0.9.33
%if %{with gnuefi} %if %{with gnuefi}
BuildRequires: gnu-efi BuildRequires: gnu-efi
%endif %endif
%if %{with experimental}
BuildRequires: pkgconfig(fdisk)
BuildRequires: pkgconfig(openssl)
%endif
%if 0%{?bootstrap} %if 0%{?bootstrap}
#!BuildIgnore: dbus-1 #!BuildIgnore: dbus-1
@ -491,6 +497,19 @@ This package contains systemd-journal-gatewayd,
systemd-journal-remote, and systemd-journal-upload. systemd-journal-remote, and systemd-journal-upload.
%endif %endif
%package experimental
Summary: Experimental systemd features
License: LGPL-2.1-or-later
Group: System/Base
Requires: %{name} = %{version}-%{release}
%systemd_requires
%description experimental
This package contains optional extra systemd services that are
considered a preview feature. Components that turn out to be
stable may be merged into the main package later. Use at your own
risk.
%if ! 0%{?bootstrap} %if ! 0%{?bootstrap}
%lang_package %lang_package
%endif %endif
@ -524,14 +543,22 @@ systemd-journal-remote, and systemd-journal-upload.
-Dsmack=false \ -Dsmack=false \
-Dima=false \ -Dima=false \
-Delfutils=auto \ -Delfutils=auto \
%if %{with experimental}
-Dpstore=true \
-Drepart=true \
-Dhomed=true \
-Duserdb=true \
%else
-Dpstore=false \ -Dpstore=false \
-Drepart=false \ -Drepart=false \
-Duserdb=false \
-Dhomed=false \ -Dhomed=false \
-Duserdb=false \
%endif
%if 0%{?bootstrap}
-Dfdisk=false \ -Dfdisk=false \
-Dpwquality=false \ -Dpwquality=false \
-Dp11kit=false \ -Dp11kit=false \
%if ! 0%{?bootstrap} %else
-Dman=true \ -Dman=true \
-Dhtml=true \ -Dhtml=true \
%endif %endif
@ -1047,6 +1074,29 @@ fi
%service_del_postun systemd-portabled.service %service_del_postun systemd-portabled.service
%endif %endif
%if %{with experimental}
%pre experimental
%service_add_pre systemd-pstore.service
%service_add_pre systemd-userdbd.service systemd-userdbd.socket
%service_add_pre systemd-homed.service
%post experimental
%tmpfiles_create systemd-pstore.conf
%service_add_post systemd-pstore.service
%service_add_post systemd-userdbd.service systemd-userdbd.socket
%service_add_post systemd-homed.service
%preun experimental
%service_del_preun systemd-pstore.service
%service_del_preun systemd-userdbd.service systemd-userdbd.socket
%service_del_preun systemd-homed.service
%postun experimental
%service_del_postun systemd-pstore.service
%service_del_postun systemd-userdbd.service systemd-userdbd.socket
%service_del_postun systemd-homed.service
%endif
%clean %clean
%files %files
@ -1144,6 +1194,22 @@ fi
%exclude %{_unitdir}/dbus-org.freedesktop.portable1.service %exclude %{_unitdir}/dbus-org.freedesktop.portable1.service
%exclude %{_tmpfilesdir}/portables.conf %exclude %{_tmpfilesdir}/portables.conf
%endif %endif
%if %{with experimental}
%exclude %{_prefix}/lib/systemd/systemd-pstore
%exclude %{_unitdir}/systemd-pstore.service
%exclude %{_tmpfilesdir}/systemd-pstore.conf
%exclude %{_unitdir}/systemd-repart.service
%exclude %{_unitdir}/initrd-root-fs.target.wants/systemd-repart.service
%exclude %{_unitdir}/sysinit.target.wants/systemd-repart.service
%exclude %{_prefix}/lib/systemd/systemd-userwork
%exclude %{_prefix}/lib/systemd/systemd-userdbd
%exclude %{_unitdir}/systemd-userdbd.service
%exclude %{_unitdir}/systemd-userdbd.socket
%exclude %{_prefix}/lib/systemd/systemd-homed
%exclude %{_prefix}/lib/systemd/systemd-homework
%exclude %{_unitdir}/systemd-homed-activate.service
%exclude %{_unitdir}/systemd-homed.service
%endif
%{_unitdir}/*.automount %{_unitdir}/*.automount
%{_unitdir}/*.service %{_unitdir}/*.service
@ -1306,6 +1372,17 @@ fi
%exclude %{_mandir}/man*/portablectl* %exclude %{_mandir}/man*/portablectl*
%exclude %{_mandir}/man*/systemd-portabled* %exclude %{_mandir}/man*/systemd-portabled*
%endif %endif
%if %{with experimental}
%exclude %{_mandir}/man*/*pstore*
%exclude %{_mandir}/man*/*repart*
%exclude %{_mandir}/man*/userdbctl*
%exclude %{_mandir}/man*/systemd-userdbd*
%exclude %{_mandir}/man*/*homectl*
%exclude %{_mandir}/man*/*homed*
%exclude %{_mandir}/man*/org.freedesktop.home1*
%exclude %{_mandir}/man*/pam_systemd_home*
%exclude %{_datadir}/bash-completion/completions/homectl
%endif
%endif %endif
%{_docdir}/systemd %{_docdir}/systemd
@ -1612,4 +1689,38 @@ fi
%{_mandir}/man*/systemd-portabled* %{_mandir}/man*/systemd-portabled*
%endif %endif
%if %{with experimental}
%files experimental
%defattr(-,root,root)
%config(noreplace) /etc/systemd/pstore.conf
%{_prefix}/lib/systemd/systemd-pstore
%{_unitdir}/systemd-pstore.service
%{_tmpfilesdir}/systemd-pstore.conf
%{_mandir}/man*/*pstore*
%{_bindir}/systemd-repart
%{_unitdir}/systemd-repart.service
%{_mandir}/man*/*repart*
/usr/bin/userdbctl
%{_prefix}/lib/systemd/systemd-userwork
%{_prefix}/lib/systemd/systemd-userdbd
%{_unitdir}/systemd-userdbd.service
%{_unitdir}/systemd-userdbd.socket
%{_mandir}/man*/userdbctl*
%{_mandir}/man*/systemd-userdbd*
%config %{_sysconfdir}/homed.conf
%{_bindir}/homectl
%{_prefix}/lib/systemd/systemd-homed
%{_prefix}/lib/systemd/systemd-homework
%{_unitdir}/systemd-homed.service
%{_pamdir}/pam_systemd_home.so
%{_datadir}/dbus-1/system-services/org.freedesktop.home1.service
%{_datadir}/dbus-1/system.d/org.freedesktop.home1.conf
%{_datadir}/polkit-1/actions/org.freedesktop.home1.policy
%{_datadir}/bash-completion/completions/homectl
%{_mandir}/man*/*homectl*
%{_mandir}/man*/*homed*
%{_mandir}/man*/org.freedesktop.home1*
%{_mandir}/man*/pam_systemd_home*
%endif
%changelog %changelog