Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2006 09:45:00 GMT
From:      Artis Caune <Artis.Caune@latnet.lv>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/95070: [PATCH] mail/courier-imap - copy config files && @dirrm
Message-ID:  <200603290945.k2T9j0jB028521@www.freebsd.org>
Resent-Message-ID: <200603290950.k2T9oF90068491@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95070
>Category:       ports
>Synopsis:       [PATCH] mail/courier-imap - copy config files && @dirrm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 29 09:50:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Artis Caune
>Release:        6.0
>Organization:
>Environment:
>Description:
pkg_delete: file '/usr/local/etc/courier-imap/shared' doesn't exist
pkg_delete: unable to completely remove directory '/usr/local/etc/courier-imap/shared'
pkg_delete: file '/usr/local/etc/courier-imap/shared.tmp' doesn't exist
pkg_delete: unable to completely remove directory '/usr/local/etc/courier-imap/shared.tmp'

>How-To-Repeat:

>Fix:
*** pkg-plist.orig      Mon Jan 23 12:26:45 2006
--- pkg-plist   Wed Mar 29 10:46:56 2006
***************
*** 7,22 ****
--- 7,26 ----
  bin/pop3d
  @unexec if cmp -s %D/%%CONFDIR%%/imapd-ssl.dist %D/%%CONFDIR%%/imapd-ssl; then rm -f %D/%%CONFDIR%%/imapd-ssl; fi
  %%CONFDIR%%/imapd-ssl.dist
+ @exec [ ! -f %D/%%CONFDIR%%/imapd-ssl ] && cp -p %D/%%CONFDIR%%/imapd-ssl.dist %D/%%CONFDIR%%/imapd-ssl
  @unexec if cmp -s %D/%%CONFDIR%%/imapd.cnf.dist %D/%%CONFDIR%%/imapd.cnf; then rm -f %D/%%CONFDIR%%/imapd.cnf; fi
  %%CONFDIR%%/imapd.cnf.dist
  @unexec if cmp -s %D/%%CONFDIR%%/imapd.dist %D/%%CONFDIR%%/imapd; then rm -f %D/%%CONFDIR%%/imapd; fi
  %%CONFDIR%%/imapd.dist
+ @exec [ ! -f %D/%%CONFDIR%%/imapd ] && cp -p %D/%%CONFDIR%%/imapd.dist %D/%%CONFDIR%%/imapd-ssl
  @unexec if cmp -s %D/%%CONFDIR%%/pop3d-ssl.dist %D/%%CONFDIR%%/pop3d-ssl; then rm -f %D/%%CONFDIR%%/pop3d-ssl; fi
  %%CONFDIR%%/pop3d-ssl.dist
+ @exec [ ! -f %D/%%CONFDIR%%/pop3d-ssl ] && cp -p %D/%%CONFDIR%%/pop3d-ssl.dist %D/%%CONFDIR%%/pop3d-ssl
  @unexec if cmp -s %D/%%CONFDIR%%/pop3d.cnf.dist %D/%%CONFDIR%%/pop3d.cnf; then rm -f %D/%%CONFDIR%%/pop3d.cnf; fi
  %%CONFDIR%%/pop3d.cnf.dist
  @unexec if cmp -s %D/%%CONFDIR%%/pop3d.dist %D/%%CONFDIR%%/pop3d; then rm -f %D/%%CONFDIR%%/pop3d; fi
  %%CONFDIR%%/pop3d.dist
+ @exec [ ! -f %D/%%CONFDIR%%/pop3d ] && cp -p %D/%%CONFDIR%%/pop3d.dist %D/%%CONFDIR%%/pop3d
  %%CONFDIR%%/quotawarnmsg.example
  %%RCDIR%%/courier-imap-imapd.sh
  %%RCDIR%%/courier-imap-imapd-ssl.sh
***************
*** 52,57 ****
  @dirrm share/courier-imap
  @dirrmtry %%LIBEXECDIR%%/authlib
  @dirrm %%LIBEXECDIR%%
! @dirrm %%CONFDIR%%/shared
! @dirrm %%CONFDIR%%/shared.tmp
  @dirrmtry %%CONFDIR%%
--- 56,61 ----
  @dirrm share/courier-imap
  @dirrmtry %%LIBEXECDIR%%/authlib
  @dirrm %%LIBEXECDIR%%
! @dirrmtry %%CONFDIR%%/shared
! @dirrmtry %%CONFDIR%%/shared.tmp
  @dirrmtry %%CONFDIR%%

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603290945.k2T9j0jB028521>