diff options
author | Jake | 2020-12-04 13:09:28 +0100 |
---|---|---|
committer | Jake | 2020-12-04 13:09:28 +0100 |
commit | 7b32dd2c8106415e05fffe1faf92b47fc9cb82b3 (patch) | |
tree | 133377afa6febcab0b5bcfeb03f1e7b7a6bf3d58 | |
parent | 8e0e7cadd3355c8eb3ab875629e047c6c58b2598 (diff) | |
download | aur-7b32dd2c8106415e05fffe1faf92b47fc9cb82b3.tar.gz |
Paches for python 3.9 and google engine
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 17 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = searx pkgdesc = A privacy-respecting, hackable metasearch engine (python(3) based) pkgver = 0.17.0 - pkgrel = 1 + pkgrel = 2 url = https://asciimoo.github.io/searx/ arch = any license = AGPL @@ -26,9 +26,13 @@ pkgbase = searx source = https://github.com/asciimoo/searx/archive/v0.17.0.zip source = searx.ini source = searx.sysusers + source = py39_is_alive.patch::https://github.com/searx/searx/commit/3b8bd0770bff2486c30012606562e4d90e23d655.patch + source = google_fix.patch::https://github.com/searx/searx/commit/8162d7aff4a61801615d8044b71c7c477b2b2816.patch sha512sums = 4a6a31c36de4b25bb3234b72cd35cb8c8a63881538958dcae080cf18311bee47cd3324c8a9aebeaf410adde0dcdc97bf1054ec837ced20335174071a18d27046 sha512sums = 6e1e7771e747e2bcb9cbc3e5ec9735461b6d791c0c0412e06e7dd802c18625edd0916de32164bf780c18ef7b6a87f55ed1e917377b3adb2bf53c0344f34b49e8 sha512sums = 6856e26451fe053d37c2ce4b9d5f3b35891dd8ec702c5256c02d04415124c57705abc497f12943948a85621bb0238d26c2c1f3a7bf42404a6ff1487c7655909e + sha512sums = 7eed631f36c992e46c5ea8afa9b038992c8cf16089b915df70a1321d4bca7287ac8877498d104caa315b49d180bf88d90c1d79f7ebdaa445ad4581bf1c4e72c3 + sha512sums = ec9b7f4f8d2071b9fdb03c96cc9664c019d1bcd7486cb69ac7e7c7096450166550b2ab0532353d63506fe82d6e82023993a7e3e3fa4849c41d201e4944882957 pkgname = searx @@ -2,7 +2,7 @@ pkgname=searx pkgver=0.17.0 -pkgrel=1 +pkgrel=2 pkgdesc="A privacy-respecting, hackable metasearch engine (python(3) based)" arch=('any') url="https://asciimoo.github.io/searx/" @@ -27,10 +27,14 @@ replaces=('searx-py3') backup=('etc/searx/settings.yml' 'etc/uwsgi/searx.ini') source=("https://github.com/asciimoo/searx/archive/v$pkgver.zip" 'searx.ini' - 'searx.sysusers') + 'searx.sysusers' + 'py39_is_alive.patch::https://github.com/searx/searx/commit/3b8bd0770bff2486c30012606562e4d90e23d655.patch' + 'google_fix.patch::https://github.com/searx/searx/commit/8162d7aff4a61801615d8044b71c7c477b2b2816.patch') sha512sums=('4a6a31c36de4b25bb3234b72cd35cb8c8a63881538958dcae080cf18311bee47cd3324c8a9aebeaf410adde0dcdc97bf1054ec837ced20335174071a18d27046' '6e1e7771e747e2bcb9cbc3e5ec9735461b6d791c0c0412e06e7dd802c18625edd0916de32164bf780c18ef7b6a87f55ed1e917377b3adb2bf53c0344f34b49e8' - '6856e26451fe053d37c2ce4b9d5f3b35891dd8ec702c5256c02d04415124c57705abc497f12943948a85621bb0238d26c2c1f3a7bf42404a6ff1487c7655909e') + '6856e26451fe053d37c2ce4b9d5f3b35891dd8ec702c5256c02d04415124c57705abc497f12943948a85621bb0238d26c2c1f3a7bf42404a6ff1487c7655909e' + '7eed631f36c992e46c5ea8afa9b038992c8cf16089b915df70a1321d4bca7287ac8877498d104caa315b49d180bf88d90c1d79f7ebdaa445ad4581bf1c4e72c3' + 'ec9b7f4f8d2071b9fdb03c96cc9664c019d1bcd7486cb69ac7e7c7096450166550b2ab0532353d63506fe82d6e82023993a7e3e3fa4849c41d201e4944882957') prepare() { cd "$srcdir/$pkgname-$pkgver" @@ -40,6 +44,11 @@ prepare() { # Generate a random secret key sed -i -e "s/ultrasecretkey\" # change this!/`openssl rand -hex 32`\"/g" $pkgname/settings.yml + + # https://github.com/searx/searx/pull/2108 + patch -Np1 < ../py39_is_alive.patch + # https://github.com/searx/searx/pull/2236 + patch -Np1 < ../google_fix.patch } package() { |