On Wed, 18 Feb 2015, Viktor Dukhovni wrote:

diff --git a/conf/post-install b/conf/post-install
index 7e79c92..35279d0 100644
--- a/conf/post-install
+++ b/conf/post-install
@@ -501,6 +501,7 @@ test -n "$create" && {
            # Flag obsolete objects. XXX Solaris 2..9 does not have "test -e".
            if [ -n "$obsolete_flag" ]
            then
+               echo "'$path':$type:$owner:$group:$mode:$flags:$junk" >> 
obsolete.log
                test -r $path -a "$type" != "d" && obsolete="$obsolete $path"
                continue;
            else

Then report what you find in obsolete.log

Viktor/Wietse:

  Copied above to postfix.patch. On my laptop downloaded the SlackBuilds.org
build files and postfix-2.11.4.tar.gz. Untarred the tarball and copied
../src/conf/post-install to the base directory. Applied 'patch post-install
postfix.patch' and it failed:

postfix.patch
patching file post-install
Hunk #1 FAILED at 501.
1 out of 1 hunk FAILED -- saving rejects to file post-install.rej

  post-install,rej:

--- post-install
+++ post-install
@@ -501,6 +501,7 @@ test -n "$create" && {
            # Flag obsolete objects. XXX Solaris 2..9 does not have "test -e".
            if [ -n "$obsolete_flag" ]
            then
+               echo "'$path':$type:$owner:$group:$mode:$flags:$junk" >> 
obsolete.log
                test -r $path -a "$type" != "d" && obsolete="$obsolete $path"
                continue;
            else

Rich

Reply via email to