aboutsummaryrefslogtreecommitdiffstats
path: root/main/postfix
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-02-20 07:31:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-02-20 07:31:31 +0000
commitb005e4a727877034113d1edbd1645616b8cc71f5 (patch)
tree5637ad55b029a2d058ac599c0f2f5b4436e30849 /main/postfix
parent22bce435337177370455f5e994bd783f2806442e (diff)
downloadaports-b005e4a727877034113d1edbd1645616b8cc71f5.tar.bz2
aports-b005e4a727877034113d1edbd1645616b8cc71f5.tar.xz
main/postfix: upgrade to 2.9.1
Diffstat (limited to 'main/postfix')
-rw-r--r--main/postfix/APKBUILD10
-rw-r--r--main/postfix/postfix.post-install6
2 files changed, 7 insertions, 9 deletions
diff --git a/main/postfix/APKBUILD b/main/postfix/APKBUILD
index 4757cfd0fa..c0830df99e 100644
--- a/main/postfix/APKBUILD
+++ b/main/postfix/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=postfix
-pkgver=2.9.0
+pkgver=2.9.1
pkgrel=0
pkgdesc="Secure and fast drop-in replacement for Sendmail (MTA)"
url="http://www.postfix.org/"
@@ -9,7 +9,7 @@ license="IPL-1"
depends=
makedepends="db-dev pcre-dev openssl-dev postgresql-dev mysql-dev openldap-dev
cyrus-sasl-dev perl file sqlite-dev"
-install="$pkgname.pre-install $pkgname.post-install"
+install="$pkgname.pre-install"
subpackages="$pkgname-doc $pkgname-ldap $pkgname-mysql $pkgname-pcre
$pkgname-pgsql $pkgname-sqlite"
source="ftp://ftp.porcupine.org/mirrors/$pkgname-release/official/$pkgname-$pkgver.tar.gz
@@ -137,6 +137,10 @@ package() {
install -d -o postfix -g postfix "$pkgdir"/var/spool/postfix
install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
+ chown postfix "$pkgdir"/var/spool/postfix/* "$pkgdir"/var/lib/postfix \
+ || return 1
+ chgrp postdrop "$pkgdir"/var/spool/postfix/maildrop \
+ "$pkgdir"/var/spool/postfix/public || return 1
}
_mv_dict() {
@@ -156,7 +160,7 @@ pcre() { _mv_dict pcre ; }
pgsql() { _mv_dict pgsql ; }
sqlite() { _mv_dict sqlite ; }
-md5sums="43a5ea2d6fb39185a60b4635e016967e postfix-2.9.0.tar.gz
+md5sums="5c81b304a42c691671454dfe80b506ca postfix-2.9.1.tar.gz
d773f01dcc965d219a8a37b88f89c5bf postfix.initd
8de3f108639eda995162c590053a1278 dynamic-maps3.patch
442efd1a95b0c061dfb8ab75456e0f24 dynamicmaps.cf
diff --git a/main/postfix/postfix.post-install b/main/postfix/postfix.post-install
deleted file mode 100644
index 98e01db0bb..0000000000
--- a/main/postfix/postfix.post-install
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-chown postfix /var/spool/postfix/* /var/lib/postfix
-chgrp postdrop /var/spool/postfix/maildrop /var/spool/postfix/public
-
-exit 0