aboutsummaryrefslogtreecommitdiffstats
path: root/community/patchwork/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/patchwork/APKBUILD')
-rw-r--r--community/patchwork/APKBUILD39
1 files changed, 23 insertions, 16 deletions
diff --git a/community/patchwork/APKBUILD b/community/patchwork/APKBUILD
index 6cc8e9a1c1..22c9f523bb 100644
--- a/community/patchwork/APKBUILD
+++ b/community/patchwork/APKBUILD
@@ -1,35 +1,42 @@
# Con#tributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=patchwork
-pkgver=2.0.1
-pkgrel=1
+pkgver=2.1.4
+pkgrel=0
pkgdesc="Web-based patch tracking system"
url="https://github.com/getpatchwork/patchwork"
arch="noarch"
-license="GPL"
+license="GPL-2.0-or-later"
options="!check"
-depends="py-django py-django-registration git py-psycopg2"
-subpackages="$pkgname-doc $pkgname-uwsgi-apache2:apache2_wsgi $pkgname-uwsgi-nginx:nginx_wsgi $pkgname-mysql
- $pkgname-postgresql pwclient:pwclient"
-source="$pkgname-$pkgver.tar.gz::https://github.com/getpatchwork/$pkgname/archive/v$pkgver.tar.gz
+depends="
+ py3-django<2.0
+ py3-django-rest-framework<3.9
+ py3-django-filter<2.0.1
+ py3-psycopg2<2.8
+ py3-sqlparse
+ "
+subpackages="
+ $pkgname-doc
+ $pkgname-uwsgi-apache2:apache2_wsgi
+ $pkgname-uwsgi-nginx:nginx_wsgi
+ $pkgname-mysql
+ $pkgname-postgresql
+ pwclient:pwclient
+ "
+source="patchwork-$pkgver.tar.gz::https://github.com/getpatchwork/patchwork/archive/v$pkgver.tar.gz
0001-support-busybox-readlink.patch
0002-remove-uneeded-bashism-from-tools-and-change-path.patch
nginx-uwsgi-patchwork-conf.ini
nginx-patchwork.conf
- CVE-2019-13122.patch"
+ py-django-rest-framwork-py-django-filter.patch
+ "
-builddir="$srcdir"/$pkgname-$pkgver
# secfixes:
# 2.0.1-r1:
# - CVE-2019-13122
-build() {
- return 0
-}
-
package() {
- cd "$builddir"
mkdir -p "$pkgdir"/usr/share/webapps/$pkgname
install -Dm644 COPYING \
"$pkgdir"/usr/share/doc/$pkgname/COPYING
@@ -80,9 +87,9 @@ pwclient() {
"$subpkgdir"/usr/bin/pwclient
}
-sha512sums="95dcfcdf19de0a65a77ab4274de82457c969e3a65705da25cbec742e4d6671e51e629d5366d47ee510a1ac622afde3e2637fa4a013fd576a66808be75a7e84b5 patchwork-2.0.1.tar.gz
+sha512sums="e15e1b2b9d386d98f74d55efcc805ecad827be40610c993245d3ac13d04b655a264bf0ebe7ec83b929db52059a9dd13c49bd56676a5c1d2f25d965b310bccfb0 patchwork-2.1.4.tar.gz
5facc2c2620b2d614011bcdc06bb481fb1481c79333579e5a7fa5b8bc4f97d1651cc8c4632a5e150b62674d64c00345341229319f1edb2016721868e84146826 0001-support-busybox-readlink.patch
f6d3590b3ac53797e0ae25fe50ab0935608be5ded44665599cbc91e93558895eddc6a7a717153d81fc194b314d7854686577ef5ecf9e0302b7824ce3b3863f7b 0002-remove-uneeded-bashism-from-tools-and-change-path.patch
28911a25e00a254237f7214fb681e5e984a2eae331e610be62967d5e246958e0f8d3f84861d8fd17c1190c1df72a25f28ddb33843b3679a3864beb00cb4b4961 nginx-uwsgi-patchwork-conf.ini
862dd2522236a0b18d2a8d06f1ad91ad0fd0936fa502d95e09556641e67d42e1212821bfd7fb98923e4fe8b8a7369ded8c23831fb496b1e2833d9831c1b23725 nginx-patchwork.conf
-fb1e70245d285e725a85d8c37a97ba5d393ccd7c1704130be9d518a44721e23ffe85345e325ef172bc23c959a3159b113616c5ecd8b80c560730a79177272f8a CVE-2019-13122.patch"
+47f040f80836bf5e8c0c5d5a95e7cf6c5d9714437eac2f6c6e927ca6b346b86eb50b87e7deace33e3d1cd11ab6c74146e725aac835a1355864a5e5e9179b0082 py-django-rest-framwork-py-django-filter.patch"