aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Searle <joe@jsearle.net>2019-09-22 11:25:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-10-02 14:01:21 +0000
commit2f099408b299acdf5e1805b47b15673694fbc4a9 (patch)
tree805aaa4f2c1e9a0fb5c4abe9f15aa7de821bf9ed
parent740927e4161921456c6f654b223e3c12cccb8e12 (diff)
downloadaports-2f099408b299acdf5e1805b47b15673694fbc4a9.tar.bz2
aports-2f099408b299acdf5e1805b47b15673694fbc4a9.tar.xz
main/postfix: upgrade to 3.4.7
-rw-r--r--main/postfix/APKBUILD20
1 files changed, 7 insertions, 13 deletions
diff --git a/main/postfix/APKBUILD b/main/postfix/APKBUILD
index 2a66dd6dbb..3e87ac7cd0 100644
--- a/main/postfix/APKBUILD
+++ b/main/postfix/APKBUILD
@@ -2,13 +2,12 @@
# Contributor: Ɓukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=postfix
-pkgver=3.4.6
+pkgver=3.4.7
pkgrel=0
pkgdesc="Secure and fast drop-in replacement for Sendmail (MTA)"
url="http://www.postfix.org/"
arch="all"
license="IPL-1.0 EPL-2.0"
-depends=
makedepends="
coreutils
cyrus-sasl-dev
@@ -41,7 +40,7 @@ subpackages="
options="!check suid" # No test suite.
pkgusers="postfix"
pkggroups="postfix postdrop"
-source="https://de.postfix.org/ftpmirror/official/$pkgname-$pkgver.tar.gz
+source="https://de.postfix.org/ftpmirror/official/postfix-$pkgver.tar.gz
$pkgname.initd
postfix-install.patch
"
@@ -51,9 +50,7 @@ _shared_libs() {
awk -F: '$2 ~ /sharedlib/ {print $1}'
}
-builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd $builddir
default_prepare
sed -i -e "s|#define HAS_NIS|//#define HAS_NIS|g" \
@@ -63,7 +60,6 @@ prepare() {
}
build() {
- cd $builddir
# needed for dynamic maps.
local ccargs="-DHAS_SHL_LOAD"
local auxlibs="$LDFLAGS"
@@ -133,8 +129,6 @@ d
}
package() {
- cd "$builddir"
-
make non-interactive-package \
install_root="$pkgdir" \
readme_directory=/usr/share/doc/$pkgname/readme \
@@ -146,11 +140,11 @@ package() {
done
mkdir -p "$pkgdir"/usr/share/doc/postfix/defaults/ \
- "$pkgdir"/usr/share/licenses/${pkgname}/
+ "$pkgdir"/usr/share/licenses/$pkgname/
mv "$pkgdir"/etc/postfix/*.default \
"$pkgdir"/usr/share/doc/postfix/defaults/
mv "$pkgdir"/etc/postfix/*LICENSE* \
- "$pkgdir"/usr/share/licenses/${pkgname}/
+ "$pkgdir"/usr/share/licenses/$pkgname/
install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
chown postfix "$pkgdir"/var/spool/postfix/* "$pkgdir"/var/lib/postfix
@@ -182,9 +176,9 @@ _mv_dict() {
depends=
mkdir -p "$subpkgdir"/usr/lib/postfix \
"$subpkgdir"/etc/postfix/dynamicmaps.cf.d
- mv "$pkgdir"/usr/lib/postfix/postfix-${m}.so \
+ mv "$pkgdir"/usr/lib/postfix/postfix-$m.so \
"$subpkgdir"/usr/lib/postfix/
- mv "$pkgdir"/etc/postfix/dynamicmaps.cf.d/${m} \
+ mv "$pkgdir"/etc/postfix/dynamicmaps.cf.d/$m \
"$subpkgdir"/etc/postfix/dynamicmaps.cf.d/
}
@@ -195,6 +189,6 @@ stone() {
find src/smtpstone -mindepth 1 -perm 0755 -exec cp {} "$subpkgdir"/usr/bin \;
}
-sha512sums="96430d60cf58b9876e52a742dbfe3ca1da4ec82eeea5cd35c6ee4e69714ddd5601561a6663aac51a34b2d64db4f7678d7c5d720ec9ead807b5d7e87e37434961 postfix-3.4.6.tar.gz
+sha512sums="2bc29a87a65c46d06b6fc51c4cdf22da773e63f19488871e040eba6250bf686eecc7de11e14224018c35b061e66e1759c69dc649d7388f724a58080195209e68 postfix-3.4.7.tar.gz
2752e69c4e1857bdcf29444ffb458bca818bc60b9c77c20823c5f5b87c36cb5e0f3217a625a7fe5788d5bfcef7570a1f2149e1233fcd23ccf7ee14190aff47a2 postfix.initd
25cd34f23ca909d4e33aaf3239d1e397260abc7796d9a4456dee4f005682fd3a58aab8106126e5218c95bdddae415a3ef7e2223cd3b0d7b1e2bd76158bb7eaf8 postfix-install.patch"