![](https://seccdn.libravatar.org/avatar/af22e20b6884acbc89be6d7736c43e92.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package postfix checked in at Thu Nov 23 16:40:14 CET 2006. -------- --- postfix/postfix.changes 2006-11-10 11:43:54.000000000 +0100 +++ postfix/postfix.changes 2006-11-22 12:30:30.000000000 +0100 @@ -1,0 +2,7 @@ +Wed Nov 22 03:03:18 CET 2006 - mrueckert@suse.de + +- moved the dict handling into a preun script instead of postun + and do not remove the dict entry on upgrade (#223176) +- removed duplicates in the filelists. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postfix.spec ++++++ --- /var/tmp/diff_new_pack.lOKwpV/_old 2006-11-23 16:39:19.000000000 +0100 +++ /var/tmp/diff_new_pack.lOKwpV/_new 2006-11-23 16:39:19.000000000 +0100 @@ -22,7 +22,7 @@ Autoreqprov: on Summary: A fast, secure, and flexible mailer Version: 2.3.2 -Release: 21 +Release: 26 Source: postfix-%{version}.tar.gz Source1: postfix-SuSE.tar.gz Patch: dynamic_maps.patch @@ -414,22 +414,34 @@ echo "mysql /usr/lib/postfix/dict_mysql.so dict_mysql_open" >> ${FILE} fi -%postun postgresql -FILE=etc/postfix/dynamicmaps.cf -if grep -q "^pgsql[[:space:]]" ${FILE}; then +%preun postgresql +if [ "$1" = 0 ] ; then + FILE=etc/postfix/dynamicmaps.cf + if [ -e "$FILE" ] ; then + if grep -q "^pgsql[[:space:]]" ${FILE}; then echo "Removing pgsql map entry from ${FILE}" sed "/^pgsql[[:space:]]/d" ${FILE} > ${FILE}.$$ && \ cp --remove-destination ${FILE}.$$ ${FILE} && \ rm ${FILE}.$$ + fi + else + echo "Can not find \"$FILE\". Not updating the file." >&2 + fi fi -%postun mysql -FILE=etc/postfix/dynamicmaps.cf -if grep -q "^mysql[[:space:]]" ${FILE}; then +%preun mysql +if [ "$1" = 0 ] ; then + FILE=etc/postfix/dynamicmaps.cf + if [ -e "$FILE" ] ; then + if grep -q "^mysql[[:space:]]" ${FILE}; then echo "Removing mysql map entry from ${FILE}" sed "/^mysql[[:space:]]/d" ${FILE} > ${FILE}.$$ && \ cp --remove-destination ${FILE}.$$ ${FILE} && \ rm ${FILE}.$$ + fi + else + echo "Can not find \"$FILE\". Not updating the file." >&2 + fi fi %files postgresql @@ -443,7 +455,6 @@ %files devel %defattr(-,root,root) /usr/include/postfix/ -/usr/include/postfix/*.h %files -f %{postfixfiles} %defattr(-,root,root) @@ -507,7 +518,6 @@ %doc README_FILES examples html auxiliary %doc postfix-SuSE/README.SuSE %doc postfix-SuSE/SPAMASSASSIN+POSTFIX.SuSE -%dir /var/adm/backup/postfix %{conf_backup_dir} %{_mandir}/man?/*.gz @@ -552,6 +562,10 @@ %changelog -n postfix +* Wed Nov 22 2006 - mrueckert@suse.de +- moved the dict handling into a preun script instead of postun + and do not remove the dict entry on upgrade (#223176) +- removed duplicates in the filelists. * Fri Nov 10 2006 - varkoly@suse.de - #218229 - Postfix SuSEconfig script increases the max_proc line each run in master.cf * Sat Oct 28 2006 - varkoly@suse.de ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org