Hello community, here is the log from the commit of package dovecot for openSUSE:Factory checked in at 2020-11-19 12:00:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dovecot (Old) and /work/SRC/openSUSE:Factory/.dovecot.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dovecot" Thu Nov 19 12:00:11 2020 rev:9 rq:849255 version:2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/dovecot/dovecot.changes 2020-07-16 12:21:03.103122424 +0200 +++ /work/SRC/openSUSE:Factory/.dovecot.new.5913/dovecot.changes 2020-11-23 10:25:20.189013869 +0100 @@ -1,0 +2,11 @@ +Fri Nov 13 14:11:59 UTC 2020 - Thorsten Kukuk <ku...@suse.com> + +- Check first if they exist before creating user and group accounts + +------------------------------------------------------------------- +Thu Nov 5 14:33:43 UTC 2020 - Thorsten Kukuk <ku...@suse.com> + +- Use macro for systemd-tmpfiles call +- Pre-Require shadow if we use it in %pre + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dovecot.spec ++++++ --- /var/tmp/diff_new_pack.zgpT9v/_old 2020-11-23 10:25:20.757014511 +0100 +++ /var/tmp/diff_new_pack.zgpT9v/_new 2020-11-23 10:25:20.761014516 +0100 @@ -30,6 +30,7 @@ Group: Productivity/Networking/Email/Servers URL: http://www.dovecot.org/ PreReq: dovecot-implementation +PreReq: shadow Recommends: dovecot23 #!BuildIgnore: dovecot-implementation BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -93,9 +94,9 @@ %{buildroot}%{_var}/lib/%{name}/ %pre -/usr/sbin/groupadd -r %{name} >/dev/null 2>&1 || : -/usr/sbin/useradd -g %{name} -s /bin/false -r -c "User for Dovecot imapd" -d %{_var}/run/%{name} %{name} >/dev/null 2>&1 || : -/usr/sbin/useradd -g %{name} -s /bin/false -r -c "User for Dovecot login" -d %{_var}/run/%{name} dovenull >/dev/null 2>&1 || : +getent group %{name} > /dev/null || /usr/sbin/groupadd -r %{name} >/dev/null 2>&1 || : +getent passwd %{name} > /dev/null || /usr/sbin/useradd -g %{name} -s /bin/false -r -c "User for Dovecot imapd" -d %{_var}/run/%{name} %{name} >/dev/null 2>&1 || : +getent passwd dovenull > /dev/null || /usr/sbin/useradd -g %{name} -s /bin/false -r -c "User for Dovecot login" -d %{_var}/run/%{name} dovenull >/dev/null 2>&1 || : # try to copy the default configuration. # # we fail silently if the dovecot-implementation package is not @@ -121,7 +122,7 @@ %if %{with systemd} %post -systemd-tmpfiles --create /usr/lib/tmpfiles.d/dovecot.conf || true +%tmpfiles_create dovecot.conf %service_add_post %{name}.service %{name}.socket %endif _______________________________________________ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org