Hello community,
here is the log from the commit of package postfix
checked in at Sat Sep 13 12:02:45 CEST 2008.
--------
--- postfix/postfix.changes 2008-08-25 18:45:09.000000000 +0200
+++ /mounts/work_src_done/STABLE/postfix/postfix.changes 2008-09-11 14:58:10.297448000 +0200
@@ -1,0 +2,28 @@
+Thu Sep 11 14:34:22 CEST 2008 - varkoly@suse.de
+
+- (bnc#415216) - Postfix RPM Install Displays Multiple Warnings
+- clean up spec file
+
+-------------------------------------------------------------------
+Tue Sep 9 09:57:35 CEST 2008 - varkoly@suse.de
+
+- Update to Version 2.5 patchlevel 5
+ * Bugfix (introduced Postfix 2.4): epoll file descriptor leak.
+ With Postfix >= 2.4 on Linux >= 2.6, Postfix has an epoll
+ file descriptor leak when it executes non-Postfix commands
+ in, for example, user-controlled $HOME/.forward files.
+ * Security: some systems have changed their link() semantics,
+ and will hardlink a symlink, contrary to POSIX and XPG4.
+ Sebastian Krahmer, SuSE. File: util/safe_open.c.
+
+ The solution introduces the following incompatible change:
+ when the target of mail delivery is a symlink, the parent
+ directory of that symlink must now be writable by root only
+ (in addition to the already existing requirement that the
+ symlink itself is owned by root). This change will break
+ legitimate configurations that deliver mail to a symbolic
+ link in a directory with less restrictive permissions.
+ * Bugfix: dangling pointer in vstring_sprintf_prepend().
+ File: util/vstring.c.
+
+-------------------------------------------------------------------
Old:
----
postfix-2.5.3.tar.gz
New:
----
postfix-2.5.5.tar.bz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ postfix.spec ++++++
--- /var/tmp/diff_new_pack.Y10529/_old 2008-09-13 12:02:13.000000000 +0200
+++ /var/tmp/diff_new_pack.Y10529/_new 2008-09-13 12:02:13.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package postfix (Version 2.5.3)
+# spec file for package postfix (Version 2.5.5)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -31,9 +31,9 @@
Conflicts: sendmail exim
AutoReqProv: on
Summary: A fast, secure, and flexible mailer
-Version: 2.5.3
-Release: 4
-Source: postfix-%{version}.tar.gz
+Version: 2.5.5
+Release: 1
+Source: postfix-%{version}.tar.bz
Source1: postfix-SuSE.tar.gz
Patch: dynamic_maps.patch
Patch1: dynamic_maps_pie.patch
@@ -45,7 +45,7 @@
%package mysql
License: IBM Public License
-Summary: postfix plugin to support MySQL maps
+Summary: Postfix plugin to support MySQL maps
AutoReqProv: on
Group: Productivity/Networking/Email/Servers
PreReq: %{name} = %{version}
@@ -53,7 +53,7 @@
%package postgresql
License: IBM Public License
-Summary: postfix plugin to support PostgreSQL maps
+Summary: Postfix plugin to support PostgreSQL maps
AutoReqProv: on
Group: Productivity/Networking/Email/Servers
PreReq: %{name} = %{version}
@@ -61,7 +61,7 @@
%package devel
License: IBM Public License
-Summary: Development headers for the postfix package.
+Summary: Development headers for the postfix package
AutoReqProv: on
Group: Productivity/Networking/Email/Servers
PreReq: %{name} = %{version}
@@ -105,11 +105,7 @@
export CCARGS="$CCARGS -DHAS_PGSQL -I/usr/include/pgsql"
export CCARGS="$CCARGS -DUSE_CYRUS_SASL"
export AUXLIBS="-lldap -llber -lpcre"
-%if %suse_version > 810
export AUXLIBS="$AUXLIBS -lsasl2"
-%else
-export AUXLIBS="$AUXLIBS -lsasl"
-%endif
%if %{usetls}
export AUXLIBS="$AUXLIBS -lssl -lcrypto"
%endif
@@ -117,9 +113,7 @@
export CCARGS="$CCARGS -DUSE_TLS"
%endif
export CCARGS="$CCARGS $RPM_OPT_FLAGS -Wno-comments"
-%if %suse_version > 930
export PIE=-pie
-%endif
make makefiles DEBUG=""
cd lib
for i in dns global master tls util milter; do
@@ -170,10 +164,8 @@
mkdir -p $RPM_BUILD_ROOT/%{conf_backup_dir}
mkdir -p $RPM_BUILD_ROOT/%{pf_sample_directory}
mkdir -p $RPM_BUILD_ROOT/usr/include/postfix
-%if %suse_version > 920
mkdir -p $RPM_BUILD_ROOT/etc/pam.d
install -m 644 postfix-SuSE/smtp $RPM_BUILD_ROOT/etc/pam.d/smtp
-%endif
#mkdir samples
install -m 755 postfix-SuSE/rc.postfix $RPM_BUILD_ROOT/etc/init.d/postfix
ln -sf ../etc/init.d/postfix $RPM_BUILD_ROOT/sbin/rcpostfix
@@ -293,11 +285,9 @@
/usr/sbin/groupadd -g %{postfix_gid} -o -r postfix 2> /dev/null || :
/usr/sbin/groupadd -g %{maildrop_gid} -o -r maildrop 2> /dev/null || :
/usr/sbin/useradd -r -o -g postfix -u %{postfix_uid} -s /bin/false -c "Postfix Daemon" -d /%{pf_queue_directory} postfix 2> /dev/null || :
-%if %suse_version >= 900
%preun
%stop_on_removal postfix
-%endif
%post
# Remember whether we had an older version of postfix installed before
@@ -347,13 +337,20 @@
# ------------------------------------------------------------------
# ------------------------------------------------------------------
# updating main.cf
-echo "Updating postfix configuration files"
MAINCF=etc/postfix/main.cf
MASTERCF=etc/postfix/master.cf
TMPMAIN=etc/postfix/main.cf.tmp.$$
TMPMASTER=etc/postfix/master.cf.tmp.$$
BAKSUFFIX=$(date +%Y-%m-%d)
MD5DIR=var/adm/SuSEconfig/md5
+if [ ${1:-0} -gt 1 ]; then
+ echo "Updating postfix configuration files"
+else
+ test -e $MD5DIR/$MAINCF && rm -f $MD5DIR/$MAINCF
+ test -e $MD5DIR/$MASTERCF && rm -f $MD5DIR/$MASTERCF
+ test -e $MAINCF && rm -f $MAINCF.SuSEconfig
+ test -e $MASTERCF && rm -f $MASTERCF.SuSEconfig
+fi
mkdir -p $MD5DIR/etc/postfix
cp --remove-destination $MAINCF $TMPMAIN
cp --remove-destination $MASTERCF $TMPMASTER
@@ -366,19 +363,6 @@
#This is a new feature in 2.3.2
grep -ql "^scache" $MASTERCF || \
perl -pi -e 's/(^anvil.*anvil)/$1\nscache unix - - n - 1 scache/' $MASTERCF
-usr/sbin/postconf -e \
- "manpage_directory = %{_mandir}" \
- "setgid_group = %{pf_setgid_group}" \
- "mailq_path = %{pf_mailq_path}" \
- "newaliases_path = %{pf_newaliases_path}" \
- "sendmail_path = %{pf_sendmail_path}" \
- "readme_directory = %{pf_readme_directory}" \
- "html_directory = %{pf_html_directory}" \
- "sample_directory = %{pf_sample_directory}" \
- "daemon_directory = %{pf_daemon_directory}"
-echo "executing upgrade-configuration"
-usr/sbin/postfix set-permissions upgrade-configuration \
- setgid_group=%{pf_setgid_group}
NEWMD5MAINCF=$(cat $MAINCF | grep -v "^#" | md5sum)
NEWMD5MASTERCF=$(cat $MASTERCF | grep -v "^#" | md5sum)
if [ -n "$OLDMD5MAINCF" ]; then
@@ -404,15 +388,16 @@
else
echo "$NEWMD5MASTERCF" > $MD5DIR/$MASTERCF
fi
-rm -f $TMPMAIN $TMPMASTER
-%if %suse_version > 900
%run_suseconfig -m postfix
-%endif
+echo "executing upgrade-configuration"
+usr/sbin/postfix set-permissions upgrade-configuration \
+ setgid_group=%{pf_setgid_group}
+rm -f $TMPMAIN $TMPMASTER
+cat $MAINCF | grep -v "^#" | md5sum > $MD5DIR/$MAINCF
+cat $MASTERCF | grep -v "^#" | md5sum > $MD5DIR/$MASTERCF
%postun
-%if %suse_version >= 900
%restart_on_update postfix
-%endif
%insserv_cleanup
ldconfig
@@ -477,9 +462,7 @@
%files -f %{postfixfiles}
%defattr(-,root,root)
-%if %suse_version > 920
%config /etc/pam.d/*
-%endif
/var/adm/fillup-templates/sysconfig.postfix
/var/adm/fillup-templates/sysconfig.mail-postfix
/sbin/conf.d/SuSEconfig.postfix
@@ -490,7 +473,7 @@
%config(noreplace) /etc/postfix/canonical
#%config(noreplace) /etc/postfix/cidr_table
%config(noreplace) /etc/postfix/main.cf
-/etc/postfix/main.cf.default
+%config /etc/postfix/main.cf.default
%config(noreplace) /etc/postfix/master.cf
%config(noreplace) /etc/postfix/openssl_postfix.conf.in
%config(noreplace) /etc/postfix/relocated
@@ -505,19 +488,19 @@
%config(noreplace) /etc/postfix/header_checks
%config(noreplace) /etc/postfix/bounce.cf.default
%config(noreplace) /etc/postfix/dynamicmaps.cf
-/etc/sysconfig/SuSEfirewall2.d/services/postfix
+%config /etc/sysconfig/SuSEfirewall2.d/services/postfix
%dir /etc/sasl2/
%config(noreplace) /etc/sasl2/smtpd.conf
-/etc/postfix/LICENSE
+%config /etc/postfix/LICENSE
%if %{usetls}
-/etc/postfix/TLS_LICENSE
+%config /etc/postfix/TLS_LICENSE
%endif
-/etc/postfix/makedefs.out
-/etc/postfix/postfix-script
-/etc/postfix/post-install
-/etc/postfix/postfix-files
%config /etc/permissions.d/postfix
%config /etc/permissions.d/postfix.paranoid
+%attr(0755, root, root) /etc/postfix/makedefs.out
+%attr(0755, root, root) /etc/postfix/postfix-script
+%attr(0755, root, root) /etc/postfix/post-install
+%attr(0755, root, root) /etc/postfix/postfix-files
%config %attr(0755,root,root) /etc/init.d/postfix
/usr/bin/mailq
/usr/bin/newaliases
@@ -583,6 +566,27 @@
Wietse Venema
participants (1)
-
root@Hilbert.suse.de