aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-05-23 13:13:29 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-23 13:13:29 +0000
commitf99b90d27dbccd3fd8ec6cc924dd4a51624f1034 (patch)
tree0889a6cec5ddd9255a6b7b2aadbe771c9074ac5b /main
parent553aa269b3f6eff0ac983abb6ee528763c8cb91e (diff)
downloadaports-f99b90d27dbccd3fd8ec6cc924dd4a51624f1034.tar.bz2
aports-f99b90d27dbccd3fd8ec6cc924dd4a51624f1034.tar.xz
main/gd: security upgrade to 2.2.1 (CVE-2016-3074)
fixes #5609
Diffstat (limited to 'main')
-rw-r--r--main/gd/APKBUILD20
1 files changed, 8 insertions, 12 deletions
diff --git a/main/gd/APKBUILD b/main/gd/APKBUILD
index e7e7bb51c8..76ea247beb 100644
--- a/main/gd/APKBUILD
+++ b/main/gd/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=gd
-pkgver=2.1.1
+pkgver=2.2.1
_myver=${pkgver/_rc/RC}
pkgrel=0
pkgdesc="Library for the dynamic creation of images by programmers"
@@ -11,16 +11,12 @@ license="custom"
depends=
makedepends="libpng-dev libjpeg-turbo-dev freetype-dev zlib-dev"
subpackages="$pkgname-dev $pkgname-doc"
-source="http://bitbucket.org/libgd/gd-libgd/downloads/libgd-$pkgver.tar.xz"
+source="https://github.com/libgd/libgd/releases/download/gd-$pkgver/libgd-$pkgver.tar.xz"
-_builddir="$srcdir"/lib$pkgname-$_myver
-prepare() {
- cd "$_builddir"
- update_config_sub || return 1
-}
+builddir="$srcdir"/lib$pkgname-$_myver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -38,12 +34,12 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
rm -r "$pkgdir"/usr/lib/libgd.la
}
-md5sums="9076f3abd1f9815d106da36467ea15bc libgd-2.1.1.tar.xz"
-sha256sums="9ada1ed45594abc998ebc942cef12b032fbad672e73efc22bc9ff54f5df2b285 libgd-2.1.1.tar.xz"
-sha512sums="48f444402a4b89e412870f9091b92eb26136c5c0d795722262ad973c7d4103476204a2de36133a2634b8f410d6bccdcf60afb829a74ac2fddfb96aff2cd2567b libgd-2.1.1.tar.xz"
+md5sums="4d3d5b6c77c4875861af1bc663441efd libgd-2.2.1.tar.xz"
+sha256sums="708762ae483e5fe46b58659f622c3e8f820c7ce0b3ae4e10ad0fbf17d4c4b976 libgd-2.2.1.tar.xz"
+sha512sums="c19fe86230198b5ba25d7bb275f93ad3332d039accf7149036f53fc333753bacd91a80b5dca576b241e9eb20e9a4028236a485ca0f9fb8581c2a552fe4fe2262 libgd-2.2.1.tar.xz"