summaryrefslogtreecommitdiff
path: root/user/libice/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-06-21 09:41:17 -0400
committerMax Rees <maxcrees@me.com>2019-06-21 09:41:17 -0400
commitba18c8aaaeb3e117cd2d0c61508012c0859e9a4d (patch)
treee9825a16f025eaa3fc2446f596ca41e351dd7f2a /user/libice/APKBUILD
parent20000b5ca4276f700eac996a1491c89c421d07db (diff)
downloadpackages-ba18c8aaaeb3e117cd2d0c61508012c0859e9a4d.tar.gz
packages-ba18c8aaaeb3e117cd2d0c61508012c0859e9a4d.tar.bz2
packages-ba18c8aaaeb3e117cd2d0c61508012c0859e9a4d.tar.xz
packages-ba18c8aaaeb3e117cd2d0c61508012c0859e9a4d.zip
user/libice: patch for CVE-2017-2626
Diffstat (limited to 'user/libice/APKBUILD')
-rw-r--r--user/libice/APKBUILD20
1 files changed, 15 insertions, 5 deletions
diff --git a/user/libice/APKBUILD b/user/libice/APKBUILD
index 8d2fea498..1ea5a767f 100644
--- a/user/libice/APKBUILD
+++ b/user/libice/APKBUILD
@@ -1,19 +1,28 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libice
pkgver=1.0.9
-pkgrel=3
+pkgrel=4
pkgdesc="X11 Inter-Client Exchange library"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=
-makedepends="util-macros xmlto xorgproto-dev xtrans"
+makedepends="libbsd-dev util-macros xmlto xorgproto-dev xtrans"
checkdepends="check-dev"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://www.X.Org/releases/individual/lib/libICE-$pkgver.tar.bz2"
-
+source="https://www.X.Org/releases/individual/lib/libICE-$pkgver.tar.bz2
+ CVE-2017-2626.patch"
builddir="$srcdir/libICE-$pkgver"
+# secfixes:
+# 1.0.9-r4:
+# - CVE-2017-2626
+
+prepare() {
+ default_prepare
+ autoreconf -vif
+}
+
build() {
cd "$builddir"
./configure \
@@ -38,4 +47,5 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="daa8126ee5279c08f801274a2754132762dea2a40f4733c4b0bf8e8bdad61cba826939a2e067beb3524e256a98a2b83f23c8d4643f3e75a284ab02cc73da41b7 libICE-1.0.9.tar.bz2"
+sha512sums="daa8126ee5279c08f801274a2754132762dea2a40f4733c4b0bf8e8bdad61cba826939a2e067beb3524e256a98a2b83f23c8d4643f3e75a284ab02cc73da41b7 libICE-1.0.9.tar.bz2
+83e53a4b48c429c7fad8f4feba1b9261e1ff26d995a729e7d38f1aac29cf5f69ffeb83a1733f3e624b09ae0ee97f09be8380ab0d59fb51436e1b537461a6943c CVE-2017-2626.patch"