Date: Tue, 12 Feb 2002 17:53:30 +0000 (GMT) From: Jason Taylor <jason@aber.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/34881: Bug in /usr/ports/mail/postfix port Message-ID: <20020212175330.7CE2E3C297@uk2.kanda-systems.net>
next in thread | raw e-mail | index | archive | help
>Number: 34881 >Category: ports >Synopsis: Bug in /usr/ports/mail/postfix port >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 12 09:00:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Jason Taylor >Release: FreeBSD 4.5-STABLE i386 >Organization: Kanda Systems Ltd >Environment: System: FreeBSD uk2.kanda-systems.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Jan 30 13:48:20 GMT 2002 jason@uk2.kanda-systems.net:/data/src/sys/compile/SMP i386 >Description: pkg_plist still has some incorrect tests for maintaining user config files through a de-install or upgrade. Looks like mostly typos, dropping off the .CF extension during the rm test. Even though the only live files with .cf extensions are main.cf & master.cf, the whole sample-xxxx files have .cf extensions. Thanks >How-To-Repeat: make deinstall & make reinstall >Fix: --- pkg-plist.orig Tue Feb 12 17:31:02 2002 +++ pkg-plist Tue Feb 12 17:31:44 2002 @@ -1,13 +1,13 @@ @unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/sample-main.cf; then rm -f %D/etc/postfix/main.cf; fi @unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/sample-master.cf; then rm -f %D/etc/postfix/master.cf; fi -@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/sample-access; then rm -f %D/etc/postfix/access; fi -@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/sample-aliases; then rm -f %D/etc/postfix/aliases; fi -@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/sample-canonical; then rm -f %D/etc/postfix/canonical; fi -@unexec if cmp -s %D/etc/postfix/pcre_table %D/etc/postfix/sample-pcre_table; then rm -f %D/etc/postfix/pcre_table; fi -@unexec if cmp -s %D/etc/postfix/regexp_table %D/etc/postfix/sample-regexp_table; then rm -f %D/etc/postfix/regexp_table; fi -@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/sample-relocated; then rm -f %D/etc/postfix/relocated; fi -@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/sample-transport; then rm -f %D/etc/postfix/transport; fi -@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/sample-virtual; then rm -f %D/etc/postfix/virtual; fi +@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/sample-access.cf; then rm -f %D/etc/postfix/access; fi +@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/sample-aliases.cf; then rm -f %D/etc/postfix/aliases; fi +@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/sample-canonical.cf; then rm -f %D/etc/postfix/canonical; fi +@unexec if cmp -s %D/etc/postfix/pcre_table %D/etc/postfix/sample-pcre_table.cf; then rm -f %D/etc/postfix/pcre_table; fi +@unexec if cmp -s %D/etc/postfix/regexp_table %D/etc/postfix/sample-regexp_table.cf; then rm -f %D/etc/postfix/regexp_table; fi +@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/sample-relocated.cf; then rm -f %D/etc/postfix/relocated; fi +@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/sample-transport.cf; then rm -f %D/etc/postfix/transport; fi +@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/sample-virtual.cf; then rm -f %D/etc/postfix/virtual; fi bin/rmail etc/postfix/LICENSE etc/postfix/main.cf.default >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020212175330.7CE2E3C297>