aboutsummaryrefslogtreecommitdiffstats
path: root/main/mutt/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-01-27 10:54:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-01-27 10:54:03 +0000
commit65306a18e2d26e3724f00b5856166a87ebf4439e (patch)
tree343bd3ea3bad27c5742880d26af33b667477b953 /main/mutt/APKBUILD
parent50f1c12d155afbe47f37a616ae304f0514423cd3 (diff)
downloadaports-65306a18e2d26e3724f00b5856166a87ebf4439e.tar.bz2
aports-65306a18e2d26e3724f00b5856166a87ebf4439e.tar.xz
main/mutt: security fix for CVE-2014-9116
ref #3766
Diffstat (limited to 'main/mutt/APKBUILD')
-rw-r--r--main/mutt/APKBUILD20
1 files changed, 15 insertions, 5 deletions
diff --git a/main/mutt/APKBUILD b/main/mutt/APKBUILD
index 8c07f0add3..189c423279 100644
--- a/main/mutt/APKBUILD
+++ b/main/mutt/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Andrew Manison<amanison@anselsystems.com>
pkgname=mutt
pkgver=1.5.23
-pkgrel=0
+pkgrel=1
pkgdesc="a small but very powerful text-mode email client"
url="http://www.mutt.org"
arch="all"
@@ -12,13 +12,20 @@ makedepends="cyrus-sasl-dev gdbm-dev gettext-dev gpgme-dev libiconv-dev
libidn-dev ncurses-dev openssl-dev perl"
install=
subpackages="$pkgname-doc $pkgname-lang"
-source="https://bitbucket.org/$pkgname/$pkgname/downloads/$pkgname-$pkgver.tar.gz"
+source="https://bitbucket.org/$pkgname/$pkgname/downloads/$pkgname-$pkgver.tar.gz
+ CVE-2014-9116.patch
+ "
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
}
build() {
@@ -64,6 +71,9 @@ package() {
}
-md5sums="11f5b6a3eeba1afa1257fe93c9f26bff mutt-1.5.23.tar.gz"
-sha256sums="3af0701e57b9e1880ed3a0dee34498a228939e854a16cdccd24e5e502626fd37 mutt-1.5.23.tar.gz"
-sha512sums="f1b4a7230253651857f61bd7215cce870a613012f613d4c907d401556083726c8ed7d429d57a8bf858c3b5b23683380d4c1494540d86ca80813e22cb6b95bc1e mutt-1.5.23.tar.gz"
+md5sums="11f5b6a3eeba1afa1257fe93c9f26bff mutt-1.5.23.tar.gz
+6df95ec10fa73e3675dcc3b0a6372f50 CVE-2014-9116.patch"
+sha256sums="3af0701e57b9e1880ed3a0dee34498a228939e854a16cdccd24e5e502626fd37 mutt-1.5.23.tar.gz
+97fd773b5c58c7803c57fcd126c1c81c2c7cbb7b860f217571c6a2a47a5b01c5 CVE-2014-9116.patch"
+sha512sums="f1b4a7230253651857f61bd7215cce870a613012f613d4c907d401556083726c8ed7d429d57a8bf858c3b5b23683380d4c1494540d86ca80813e22cb6b95bc1e mutt-1.5.23.tar.gz
+14aba18442da7783ec76c17699c0e3e88c4f25a21418d37b48e456f572b0b56f9197aa8d694a8bf23be313252cf76e818bc5e9d3e30f2dfe8bff14eb8f6b01e8 CVE-2014-9116.patch"