git » jq.git » commit 1caff43

upgpkg: 1.6-1

author Evgeniy Alekseev
2018-11-12 06:23:09 UTC
committer Evgeniy Alekseev
2018-11-12 06:23:09 UTC
parent 3b42536a0baf4f6b6ffaf5981768c39cf07faaf8

upgpkg: 1.6-1

ChangeLog +3 -0
PKGBUILD +4 -11

diff --git a/ChangeLog b/ChangeLog
index d4948ce..da77ab4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+1.6-1:
+upstream update
+
 1.5-6:
 oniguruma rebuild
 
diff --git a/PKGBUILD b/PKGBUILD
index afd3c9b..1522aed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,24 +3,17 @@
 # Contributor: Kars Wang <jaklsy at gmail dot com>
 
 pkgname=jq
-pkgver=1.5
-pkgrel=6
+pkgver=1.6
+pkgrel=1
 pkgdesc='Command-line JSON processor'
 arch=('x86_64')
 url='http://stedolan.github.io/jq/'
 license=('MIT')
 depends=('glibc' 'oniguruma')
 makedepends=('autoconf' 'automake' 'bison' 'flex' 'python2')
-source=("https://github.com/stedolan/jq/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz"
-        "cve-2015-8863.patch::https://github.com/stedolan/jq/commit/8eb1367ca44e772963e704a700ef72ae2e12babd.patch")
+source=("https://github.com/stedolan/jq/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz")
 changelog=ChangeLog
-sha512sums=('4a0bb069ae875f47731d7d84ae6b82240703dc7a694cfb0aee4c7e9639defe7ba9af575d17dc32bda4426b80c186cc8dcd4505f3a6bcbe16b39e9b13097da238'
-            'a247d7bd9ba7186d475852f7f41be1974071a4c27a1b358b80912bab19463df24b5ed5210172c84d205f8a390f0718bc834b8ca9672f9a192dc947e92d4e5f19')
-
-prepare() {
-    cd "${pkgname}-${pkgver}"
-    patch -p2 -i "${srcdir}/cve-2015-8863.patch"
-}
+sha512sums=('f5ae8be558ca2ff15324c378d623106b74bd0823be50835e23548584aa1eb24eb81f8f054693d5d3fe44f157d0735c5f0f40b9f21899ba068f2a11d1345ace19')
 
 build() {
     cd "${pkgname}-${pkgver}"