Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package proftpd for openSUSE:Factory checked 
in at 2023-01-26 13:58:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/proftpd (Old)
 and      /work/SRC/openSUSE:Factory/.proftpd.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "proftpd"

Thu Jan 26 13:58:27 2023 rev:46 rq:1061058 version:1.3.7e

Changes:
--------
--- /work/SRC/openSUSE:Factory/proftpd/proftpd.changes  2022-09-02 
21:57:00.176363276 +0200
+++ /work/SRC/openSUSE:Factory/.proftpd.new.32243/proftpd.changes       
2023-01-26 14:06:43.399012505 +0100
@@ -1,0 +2,5 @@
+Mon Jan 16 10:43:46 UTC 2023 - Stefan Schubert <[email protected]>
+
+- Migration of PAM settings to /usr/lib/pam.d.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ proftpd.spec ++++++
--- /var/tmp/diff_new_pack.FNDTiM/_old  2023-01-26 14:06:44.319017924 +0100
+++ /var/tmp/diff_new_pack.FNDTiM/_new  2023-01-26 14:06:44.323017948 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package proftpd
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -220,7 +220,12 @@
 
 %install
 %make_install INSTALL_USER=`id -un` INSTALL_GROUP=`id -gn`
+%if 0%{?suse_version} > 1500
+mkdir -p %{buildroot}%{_pam_vendordir}
+install -D -m 0644 contrib/dist/rpm/ftp.pamd   
%{buildroot}/%{_pam_vendordir}/%{name}
+%else
 install -D -m 0644 contrib/dist/rpm/ftp.pamd   
%{buildroot}/%{_sysconfdir}/pam.d/%{name}
+%endif
 install -D -m 0644 contrib/dist/rpm/%{name}.logrotate 
%{buildroot}/%{_sysconfdir}/logrotate.d/%{name}
 #
 rm -fv %{buildroot}/%{_libdir}/%{name}/*.{a,la}
@@ -255,6 +260,18 @@
 %if 0%{?has_systemd}
 %service_add_pre %{name}.service
 %endif
+%if 0%{?suse_version} > 1500
+# Prepare for migration to /usr/lib; save any old .rpmsave
+for i in pam.d/proftpd ; do
+     test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i}.rpmsave.old ||:
+done
+
+%posttrans
+# Migration to /usr/lib, restore just created .rpmsave
+for i in pam.d/proftpd ; do
+     test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i} ||:
+done
+%endif
 
 %preun
 %if 0%{?has_systemd}
@@ -315,7 +332,11 @@
 %dir %attr(0700,ftp,ftp) %{_sysconfdir}/%{name}/ssl/
 %config %{_sysconfdir}/%{name}/ssl/README
 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
+%if 0%{?suse_version} > 1500
+%{_pam_vendordir}/%{name}
+%else
 %config(noreplace) %{_sysconfdir}/pam.d/%{name}
+%endif
 %config(noreplace) %{_sysconfdir}/%{name}/blacklist.dat
 %config(noreplace) %{_sysconfdir}/%{name}/dhparams.pem
 %dir %attr(0750,root,root) %{_localstatedir}/log/%{name}

Reply via email to