postfix: update to 3.3.1.
This commit is contained in:
parent
05d29826fe
commit
f1dcd9da6e
1 changed files with 14 additions and 13 deletions
|
@ -1,22 +1,16 @@
|
|||
# Template file for 'postfix'
|
||||
pkgname=postfix
|
||||
version=3.3.0
|
||||
revision=3
|
||||
version=3.3.1
|
||||
revision=1
|
||||
hostmakedepends="perl"
|
||||
makedepends="icu-devel libldap-devel libmysqlclient-devel pcre-devel
|
||||
postgresql-libs-devel sqlite-devel"
|
||||
short_desc="High-performance mail transport agent"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="IPL-1.0, EPL-2.0"
|
||||
homepage="http://www.postfix.org/"
|
||||
distfiles="ftp://ftp.porcupine.org/mirrors/postfix-release/official/$pkgname-$version.tar.gz"
|
||||
checksum=7942e89721e30118d7050675b0d976955e3160e21f7898b85a79cac4f4baef39
|
||||
|
||||
hostmakedepends="perl"
|
||||
makedepends="icu-devel libressl-devel db-devel pcre-devel libsasl-devel
|
||||
libldap-devel libmysqlclient-devel postgresql-libs-devel sqlite-devel"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# XXX postfix-install needs native binaries.
|
||||
hostmakedepends+=" ${pkgname}"
|
||||
fi
|
||||
distfiles="ftp://ftp.porcupine.org/mirrors/postfix-release/official/${pkgname}-${version}.tar.gz"
|
||||
checksum=54f514dae42b5275cb4bc9c69283f16c06200b71813d0bb696568c4ba7ae7e3b
|
||||
|
||||
system_accounts="postfix"
|
||||
postfix_homedir="/var/spool/postfix"
|
||||
|
@ -52,6 +46,11 @@ make_dirs="
|
|||
/var/spool/postfix/saved 0700 postfix root
|
||||
/var/spool/postfix/trace 0700 postfix root"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# XXX postfix-install needs native binaries.
|
||||
hostmakedepends+=" $pkgname"
|
||||
fi
|
||||
|
||||
do_build() {
|
||||
sed -e "s,\(/usr/include/db.h\),${XBPS_CROSS_BASE}/\1,g" \
|
||||
-e 's,^\(\s\+\)CCARGS="$CCARGS -DNO_EAI",\1CCARGS="$CCARGS $icu_cppflags"\n\1SYSLIBS="$SYSLIBS $icu_ldflags",' \
|
||||
|
@ -82,11 +81,13 @@ do_build() {
|
|||
|
||||
make ${makejobs}
|
||||
}
|
||||
|
||||
pre_install() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
sed -e 's,bin/postconf,/usr/bin/postconf,g' -i postfix-install
|
||||
fi
|
||||
}
|
||||
|
||||
do_install() {
|
||||
sh postfix-install -non-interactive install_root=${DESTDIR}
|
||||
|
||||
|
|
Loading…
Reference in a new issue