Hello community,

here is the log from the commit of package postfix for openSUSE:Factory checked 
in at 2011-12-14 14:34:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/postfix (Old)
 and      /work/SRC/openSUSE:Factory/.postfix.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "postfix", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/postfix/postfix.changes  2011-12-06 
18:02:21.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.postfix.new/postfix.changes     2011-12-14 
14:34:28.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Dec 13 14:50:45 UTC 2011 - [email protected]
+
+-  Move the post map rebuild script into the start script 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ postfix.spec ++++++
--- /var/tmp/diff_new_pack.AIlp7W/_old  2011-12-14 14:34:30.000000000 +0100
+++ /var/tmp/diff_new_pack.AIlp7W/_new  2011-12-14 14:34:30.000000000 +0100
@@ -303,6 +303,7 @@
 mkdir -p %{buildroot}/etc/postfix/system
 install -m 0644 %{name}-SuSE/postfix.service       
%{buildroot}/lib/systemd/system/
 install -m 0755 %{name}-SuSE/update_chroot.systemd 
%{buildroot}/etc/postfix/system/update_chroot
+install -m 0755 %{name}-SuSE/rebuild_tables.systemd 
%{buildroot}/etc/postfix/system/rebuild_tables
 install -m 0755 %{name}-SuSE/wait_qmgr.systemd     
%{buildroot}/etc/postfix/system/wait_qmgr
 install -m 0755 %{name}-SuSE/cond_slp.systemd      
%{buildroot}/etc/postfix/system/cond_slp
 %endif
@@ -402,12 +403,6 @@
                 ln -s /usr/sbin/SuSEconfig.postfix 
/sbin/conf.d/SuSEconfig.postfix
         fi
 fi
-for i in /etc/postfix/*db;
-do
-     test -e "$i" || continue;
-     b=$( basename $i .db );
-     postmap /etc/postfix/$b;
-done
 # before fillup we need to fix something
 [ \! -f %{_sysconfdir}/sysconfig/%{name} ] || %{__sed} -i \
  -e "s/POSTFIX_SMTPD_SENDERNT_RESTRICTIONS/POSTFIX_SMTPD_SENDER_RESTRICTIONS/" 
\
@@ -491,6 +486,7 @@
 %if 0%{?suse_version} >= 1140
 %dir /etc/postfix/system
 %config %attr(0755,root,root) /etc/postfix/system/update_chroot
+%config %attr(0755,root,root) /etc/postfix/system/rebuild_tables
 %config %attr(0755,root,root) /etc/postfix/system/wait_qmgr
 %config %attr(0755,root,root) /etc/postfix/system/cond_slp
 %config /lib/systemd/system/postfix.service

++++++ postfix-SuSE.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/postfix-SuSE/rebuild_tables.systemd 
new/postfix-SuSE/rebuild_tables.systemd
--- old/postfix-SuSE/rebuild_tables.systemd     1970-01-01 01:00:00.000000000 
+0100
+++ new/postfix-SuSE/rebuild_tables.systemd     2011-12-13 15:49:34.000000000 
+0100
@@ -0,0 +1,24 @@
+#!/bin/bash
+# Copyright (c) 2011 SUSE LINUX Products AG
+#
+# Author: Peter Varkoly
+# Please send feedback to http://www.suse.de/feedback/
+#
+# /etc/postfix/system/rebuild_tables
+#
+
+test -f /etc/sysconfig/postfix && . /etc/sysconfig/postfix
+
+if [ -n "${POSTFIX_UPDATE_MAPS/[yY][Ee][Ss]/}" ]; then
+    return
+fi
+# Update the postmaps
+for i in $POSTFIX_MAP_LIST; do
+    m=/etc/postfix/$i;
+    d=$m.db
+    test -e "$d" || continue;
+    if [ -e $m -a $m -nt $d ]; then
+        postmap $m;
+    fi
+done
+

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to