summaryrefslogtreecommitdiff
path: root/extra/postfix
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-10 18:23:51 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-10 18:23:51 -0300
commit38b5b952ddc3b86560fc02e98105bf5826d25354 (patch)
tree0e689740cb7cc4cf171a6c962e623dbe7e53fc64 /extra/postfix
parent1146fc0894bfda25180d63716029aabfa7ce017a (diff)
parent0615a909b089a81d068ae10517ceff31dabfece1 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/performous/PKGBUILD community-testing/oss/PKGBUILD community-testing/picard/PKGBUILD community/deadbeef/PKGBUILD community/gnash/PKGBUILD community/mplayer2/PKGBUILD community/radvd/PKGBUILD community/tinc/PKGBUILD core/glibc/PKGBUILD core/lvm2/PKGBUILD core/util-linux/PKGBUILD extra/avidemux/PKGBUILD extra/boost/PKGBUILD extra/cppunit/PKGBUILD extra/ffmpeg/PKGBUILD extra/gstreamer0.10-ugly/PKGBUILD extra/kdemultimedia/PKGBUILD extra/kradio/PKGBUILD extra/opal/PKGBUILD extra/pidgin/PKGBUILD extra/postfix/PKGBUILD extra/ptlib/PKGBUILD extra/xine-lib/PKGBUILD kde-unstable/kdebase-workspace/PKGBUILD kde-unstable/kdebase-workspace/kdm.service kde-unstable/kdemultimedia-ffmpegthumbs/PKGBUILD libre/virtualbox-libre/PKGBUILD libre/virtualbox-modules-lts/PKGBUILD multilib-testing/lib32-glibc/PKGBUILD multilib/binutils-multilib/PKGBUILD multilib/gcc-multilib/PKGBUILD multilib/lib32-dbus-core/PKGBUILD multilib/lib32-e2fsprogs/PKGBUILD multilib/lib32-glibc/PKGBUILD multilib/lib32-glibc/glibc-2.15-revert-c5a0802a.patch multilib/lib32-gnutls/PKGBUILD multilib/lib32-libidn/PKGBUILD multilib/lib32-libjpeg-turbo/PKGBUILD multilib/lib32-pixman/PKGBUILD staging/ekiga/PKGBUILD staging/kdeedu-kig/PKGBUILD staging/kdeedu-rocs/PKGBUILD testing/glibc/PKGBUILD testing/kdebase-workspace/PKGBUILD testing/kdebase-workspace/kdm.service testing/nilfs-utils/PKGBUILD testing/systemd/PKGBUILD
Diffstat (limited to 'extra/postfix')
-rw-r--r--extra/postfix/PKGBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/extra/postfix/PKGBUILD b/extra/postfix/PKGBUILD
index 3072c0611..bd879c229 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' 'mips64el')
-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
}