mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
This commit updates $license variable in all APKBUILDs to comply with short names specified by SPDX version 3.0 [1] where possible. It was done using find-and-replace method on substrings inside $license variables. Only license names were updated, not "expressions" specifying relation between the licenses (e.g. "X and Y", "X or Y", "X and (Y or Z)") or exceptions (e.g. "X with exceptions"). Many licenses have a version or multiple variants, e.g. MPL-2.0, BSD-2-Clause, BSD-3-Clause. However, $license in many aports do not contain license version or variant. Since there's no way how to infer this information just from abuild, it were left without the variant suffix or version, i.e. non SPDX compliant. GNU licenses (AGPL, GFDL, GPL, LGPL) are especially complicated. They exist in two variants: -only (formerly e.g. GPL-2.0) and -or-later (formerly e.g. GPL-2.0+). We did not systematically noted distinguish between these variants, so GPL-2.0, GPL2, GPLv2 etc. may mean GPL-2.0-only or GPL-2.0-or-later. Thus GNU licenses without "+" (e.g. GPL2+) were left without the variant suffix, i.e. non SPDX compliant. Note: This commit just fixes format of the license names, no verification has been done if the specified license information is actually correct! [1]: https://spdx.org/licenses/
69 lines
2.4 KiB
Plaintext
69 lines
2.4 KiB
Plaintext
# Contributor: Valery Kartel <valery.kartel@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=gimp
|
|
pkgver=2.8.22
|
|
pkgrel=2
|
|
pkgdesc="GNU Image Manipulation Program"
|
|
url="https://www.gimp.org/"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
depends="dbus"
|
|
makedepends="gtk+-dev libxpm-dev libxmu-dev librsvg-dev dbus-glib-dev
|
|
libexif-dev desktop-file-utils intltool gegl-dev tiff-dev
|
|
libjpeg-turbo-dev libpng-dev iso-codes-dev lcms2-dev poppler-dev babl-dev"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
source="https://download.gimp.org/mirror/pub/$pkgname/v${pkgver%.*}/$pkgname-$pkgver.tar.bz2
|
|
CVE-2017-17784.patch
|
|
CVE-2017-17785.patch
|
|
CVE-2017-17786-1.patch
|
|
CVE-2017-17786-2.patch
|
|
CVE-2017-17787.patch
|
|
CVE-2017-17789.patch
|
|
"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
# secfixes:
|
|
# 2.8.22-r2:
|
|
# - CVE-2017-17784
|
|
# - CVE-2017-17785
|
|
# - CVE-2017-17786
|
|
# - CVE-2017-17787
|
|
# - CVE-2017-17788
|
|
# - CVE-2017-17789
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--disable-dependency-tracking \
|
|
--sysconfdir=/etc \
|
|
--enable-mp \
|
|
--enable-gimp-console \
|
|
--disable-python \
|
|
--with-gvfs \
|
|
--with-gif-compression=lzw \
|
|
--without-aa
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
dev() {
|
|
default_dev
|
|
mkdir -p "$subpkgdir"/usr/bin
|
|
mv "$pkgdir"/usr/bin/gimptool* "$subpkgdir"/usr/bin
|
|
}
|
|
|
|
sha512sums="84a78d428282538b606b3cd1ff571e52c3d828fceade171b2012bc1cdcb85919fc7734e7e6c45ed3a8683657fa580412b32c1b511b8a512172a8c1df930493e6 gimp-2.8.22.tar.bz2
|
|
8feab75b01c8d5d57bf869f64ca377f8cfb239079fba97f66bf34f341d9d15f9a8e403b1fe04d27bdbb39151f99a208aa5236c8dd0b6afeac45400a29efa0da7 CVE-2017-17784.patch
|
|
51794739489a5e8babbc13c426dc34172caeab07cc8a64b5a8f19a4b88b736e3c9801cc4dadf6848b1e49031d2f1c7a336403a470a26a9ad8cad0a485a8342bd CVE-2017-17785.patch
|
|
d4887c49cf73c8f0238c338137ac94854524daea8535e206e34a9dfdb63dbc9ec91839d01085c484c995b26882215b652f4f7e23aa614f29272b5a18c8afc019 CVE-2017-17786-1.patch
|
|
24d02cff72ec684aafd2cc6006955f283e6d5e102c37be0b426cade34219022a8225b367643ce3cfd786425fe53005e7db6a595ba507c7eacf402eebe2b44fa0 CVE-2017-17786-2.patch
|
|
438376075d0a46809fd5f12f3d364b914c989ca512739b69da0f609100525da8dbc525ce57c144b5388eec525fd2d7b5c8098e63ddb70c68c186dee9b2ce7b83 CVE-2017-17787.patch
|
|
f2f4aff0f0478356513a1f6da0732c5d0986ef1deb7b8e68bd283b7259887cf9a4d4785f00e48f03892cc86aa715b9764302640b2b891ab16617ef595ab779b8 CVE-2017-17789.patch"
|