diff options
author | root <root@rshg054.dnsready.net> | 2012-07-09 00:02:00 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-07-09 00:02:00 +0000 |
commit | 6f492df5ae2ab0d2bd117d6f1c458d52e2e24585 (patch) | |
tree | 51e61122d46459be560a778ce76bdf527edf5334 /extra/postfix | |
parent | a522a5f63f3b5726081698bf742801fb1d242817 (diff) |
Mon Jul 9 00:02:00 UTC 2012
Diffstat (limited to 'extra/postfix')
-rw-r--r-- | extra/postfix/PKGBUILD | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/extra/postfix/PKGBUILD b/extra/postfix/PKGBUILD index 6d9dc3245..9232270ae 100644 --- a/extra/postfix/PKGBUILD +++ b/extra/postfix/PKGBUILD @@ -1,16 +1,17 @@ -# $Id: PKGBUILD 159315 2012-05-21 13:58:46Z bisson $ +# $Id: PKGBUILD 163134 2012-07-08 02:03:27Z bisson $ # Contributor: Jeff Brodnax <tullyarcher@bellsouth.net> # Contributor: Paul Mattal <paul@archlinux.org> # Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=postfix pkgver=2.9.3 -pkgrel=1 +pkgrel=2 pkgdesc='Fast, easy to administer, secure mail server' url='http://www.postfix.org/' license=('custom') arch=('i686' 'x86_64') -depends=('pcre' 'libsasl' 'libmysqlclient' 'postgresql-libs' 'sqlite' 'libldap' 'db') +depends=('pcre' 'libsasl' 'libldap' 'db' + 'libmysqlclient' 'postgresql-libs' 'sqlite' 'tinycdb') backup=('etc/postfix/'{access,aliases,canonical,generic,header_checks,main.cf,master.cf,relocated,transport,virtual}) source=("ftp://ftp.porcupine.org/mirrors/postfix-release/official/${pkgname}-${pkgver}.tar.gz" \ 'aliases.patch' \ @@ -20,8 +21,7 @@ sha1sums=('fd6c1ba3bbceb1a29b95655a742a2c547e11ca1d' '40c6be2eb55e6437a402f43775cdb3d22ea87a66') provides=('smtp-server' 'smtp-forwarder') -replaces=('postfix-mysql' 'postfix-pgsql') -conflicts=('postfix-mysql' 'postfix-pgsql' 'smtp-server' 'smtp-forwarder') +conflicts=('smtp-server' 'smtp-forwarder') install=install @@ -35,6 +35,7 @@ build() { -DHAS_MYSQL -I/usr/include/mysql \ -DHAS_PGSQL -I/usr/include/postgresql \ -DHAS_SQLITE \ + -DHAS_CDB \ ' AUXLIBS=' \ -lsasl2 \ -lldap -llber \ @@ -42,6 +43,7 @@ build() { -lmysqlclient -lz -lm \ -lpq \ -lsqlite3 -lpthread \ + -lcdb \ ' OPT="${CFLAGS} ${LDFLAGS}" make @@ -54,10 +56,11 @@ package() { install_root="${pkgdir}" \ daemon_directory="/usr/lib/${pkgname}" \ sample_directory="/etc/${pkgname}/sample" \ - manpage_directory="/usr/share/man" + manpage_directory="/usr/share/man" \ + readme_directory="/usr/share/doc/${pkgname}" \ install -D -m755 ../rc.d "${pkgdir}/etc/rc.d/${pkgname}" install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - sed 's/\(^\$manpage[^:]*\):/\1.gz:/' -i "${pkgdir}/usr/lib/${pkgname}/postfix-files" + sed 's/^\(\$manpage[^:]*\):/\1.gz:/' -i "${pkgdir}/usr/lib/${pkgname}/postfix-files" cd "${pkgdir}"; patch -p0 -i "${srcdir}"/aliases.patch } |