diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | courier-mta.install | 3 |
3 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = courier-mta pkgdesc = IMAP(s)/POP3(s) and SMTP Server with ML-manager, webmail and webconfig pkgver = 0.78.2 - pkgrel = 1 + pkgrel = 2 url = http://courier-mta.org install = courier-mta.install arch = i686 @@ -8,7 +8,7 @@ pkgname=courier-mta pkgver=0.78.2 -pkgrel=1 +pkgrel=2 pkgdesc="IMAP(s)/POP3(s) and SMTP Server with ML-manager, webmail and webconfig" arch=(i686 x86_64) license=('GPL2') @@ -19,6 +19,8 @@ makedepends=('pam' 'expect' 'gnupg' 'libldap' 'gamin') provides=('smtp-server' 'smtp-forwarder' 'imap-server' 'pop3-server' 'courier-imap' 'courier-maildrop') conflicts=('courier-imap' 'smtp-forwarder' 'smtp-server' 'imap-server' 'courier-maildrop' 'ucspi-tcp') options=(!libtool !staticlibs) +# Specify some files to backup that aren't managed by sysconftool during an upgrade +backup=('etc/courier/aliases/system' 'etc/courier/smtpaccess/default' 'etc/courier/webadmin/password' 'etc/courier/imapd.cnf' 'etc/courier/esmtpd.cnf' 'etc/courier/pop3d.conf') install=courier-mta.install source=(http://downloads.sourceforge.net/project/courier/courier/${pkgver}/courier-${pkgver}.tar.bz2 courier-imapd.service diff --git a/courier-mta.install b/courier-mta.install index ea7134d3d791..03a37935f7a6 100644 --- a/courier-mta.install +++ b/courier-mta.install @@ -26,8 +26,7 @@ post_upgrade() { pre_remove() { # there may be many files not part of the original installation that would be useful to save # so save the whole configuration directory rather than try to list all possibilities - # in backup(). Also avoids creation of .pacsave files in the alias and smtpaccess directories that - # process all contained files + # in backup(). mv -f /etc/courier /etc/courier-$1 echo "/etc/courier has been saved as /etc/courier-$1 - you may remove this folder if you wish." |