aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Lukin <sergej.lukin@gmail.com>2017-02-13 08:58:26 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-02-13 09:44:57 +0000
commit5c1fabddcbe2a30d67fa87f995b2469b982e9096 (patch)
treef1db7a89f00ea0a693bafd5e4cfd2368d01e4a7e
parentd629db1038ee095d9f7ce5893d4b9b5f6468c106 (diff)
downloadaports-5c1fabddcbe2a30d67fa87f995b2469b982e9096.tar.bz2
aports-5c1fabddcbe2a30d67fa87f995b2469b982e9096.tar.xz
main/postfixadmin: security upgrade to 3.0.2 - fixes #6834
CVE-2017-5930: allows to delete protected aliases https://svn.code.sf.net/p/postfixadmin/code/trunk/CHANGELOG.TXT
-rw-r--r--main/postfixadmin/APKBUILD28
1 files changed, 13 insertions, 15 deletions
diff --git a/main/postfixadmin/APKBUILD b/main/postfixadmin/APKBUILD
index 49eb7f019b..f6e7cd85bb 100644
--- a/main/postfixadmin/APKBUILD
+++ b/main/postfixadmin/APKBUILD
@@ -1,8 +1,9 @@
+# Contributor: Sergei Lukin <sergej.lukin@gmail.com>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=postfixadmin
-pkgver=2.93
-pkgrel=1
+pkgver=3.0.2
+pkgrel=0
pkgdesc="Web Based Management tool for Postfix"
url="http://postfixadmin.com/"
arch="noarch"
@@ -13,23 +14,22 @@ install=""
subpackages=""
source="http://downloads.sourceforge.net/project/postfixadmin/postfixadmin/postfixadmin-$pkgver/postfixadmin-$pkgver.tar.gz"
-_builddir="$srcdir"/postfixadmin-$pkgver
+# secfixes:
+# 3.0.2-r0:
+# - CVE-2017-5930
+
+builddir="$srcdir"/postfixadmin-$pkgver
+
prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ default_prepare || return 1
}
build() {
- cd "$_builddir"
+ cd "$builddir"
}
package() {
- cd "$_builddir"
+ cd "$builddir"
mkdir -p "$pkgdir"/usr/share/webapps/postfixadmin \
"$pkgdir"/etc/postfixadmin
cp -r * "$pkgdir"/usr/share/webapps/postfixadmin/
@@ -41,6 +41,4 @@ package() {
"$pkgdir"/usr/share/webapps/postfixadmin/config.inc.php
}
-md5sums="d9a0e19bdb3241411cac8446d511fdb4 postfixadmin-2.93.tar.gz"
-sha256sums="cc1ec188ea90254d8365081171dbbf2bfdf2a020bc943725b5a957de34bc1769 postfixadmin-2.93.tar.gz"
-sha512sums="ef2d7b1112c18722ba94fac3c34b0b9bbd961ba3bf1eb866fecd63ccceca9feccca53efcb54dc1d4c109fd407ba2cee642f310a9b3254b164137e41664de0af9 postfixadmin-2.93.tar.gz"
+sha512sums="19db70cc59e8e41356e4cd632b0cb9df8d8de0f0451e7e2c84d61a0aa6ede5cc93bbf8914786a2eec012e4c013ad130a001d143ce869aa54b54a50fb798ed92b postfixadmin-3.0.2.tar.gz"