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