diff options
author | HLFH | 2022-02-15 13:47:53 +0000 |
---|---|---|
committer | HLFH | 2022-02-15 13:47:53 +0000 |
commit | 40cfc943cbe255031dd511b05a850307d35424e3 (patch) | |
tree | 066a50f2c17f8668309d224b6c665a58571d4108 | |
parent | 556b5ee8024ca8f39d12b498ad2c591efc78c507 (diff) | |
download | aur-40cfc943cbe255031dd511b05a850307d35424e3.tar.gz |
fix deps and files
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 | ||||
-rw-r--r-- | searx.ini | 34 |
4 files changed, 22 insertions, 32 deletions
@@ -1,13 +1,13 @@ pkgbase = searx-git pkgdesc = A privacy-respecting, hackable metasearch engine (python(3) based) - pkgver = 1.0.0+r297+gf2f72575 + pkgver = 1.0.0+r354+g0248777f pkgrel = 1 url = https://asciimoo.github.io/searx/ arch = any license = AGPL makedepends = openssl - depends = uwsgi-ng - depends = uwsgi-ng-plugin-python + depends = uwsgi + depends = uwsgi-plugin-python depends = python-certifi depends = python-flask depends = python-flask-babel @@ -27,7 +27,7 @@ pkgbase = searx-git source = searx.ini source = searx.sysusers sha512sums = SKIP - sha512sums = 6e1e7771e747e2bcb9cbc3e5ec9735461b6d791c0c0412e06e7dd802c18625edd0916de32164bf780c18ef7b6a87f55ed1e917377b3adb2bf53c0344f34b49e8 + sha512sums = 8692783dbafbb48874720e467b9ade973596286103beb5f5ada4f55aa82c8672e9a5830916f7e4dd6248e6e7af17efc1a961c6421eca95f040ce31ec56dc9799 sha512sums = 6856e26451fe053d37c2ce4b9d5f3b35891dd8ec702c5256c02d04415124c57705abc497f12943948a85621bb0238d26c2c1f3a7bf42404a6ff1487c7655909e pkgname = searx-git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..dcd6258425b2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +src/ +pkg/ +searx/ +searx-git* @@ -1,7 +1,7 @@ # Maintainer: HLFH <gaspard@dhautefeuille.eu> pkgname=searx-git -pkgver=1.0.0+r297+gf2f72575 +pkgver=1.0.0+r354+g0248777f pkgrel=1 pkgdesc="A privacy-respecting, hackable metasearch engine (python(3) based)" arch=('any') @@ -9,8 +9,8 @@ url="https://asciimoo.github.io/searx/" license=('AGPL') makedepends=('openssl') depends=( - 'uwsgi-ng' - 'uwsgi-ng-plugin-python' + 'uwsgi' + 'uwsgi-plugin-python' 'python-certifi' 'python-flask' 'python-flask-babel' @@ -28,7 +28,7 @@ source=(git+https://github.com/asciimoo/searx 'searx.ini' 'searx.sysusers') sha512sums=('SKIP' - '6e1e7771e747e2bcb9cbc3e5ec9735461b6d791c0c0412e06e7dd802c18625edd0916de32164bf780c18ef7b6a87f55ed1e917377b3adb2bf53c0344f34b49e8' + '8692783dbafbb48874720e467b9ade973596286103beb5f5ada4f55aa82c8672e9a5830916f7e4dd6248e6e7af17efc1a961c6421eca95f040ce31ec56dc9799' '6856e26451fe053d37c2ce4b9d5f3b35891dd8ec702c5256c02d04415124c57705abc497f12943948a85621bb0238d26c2c1f3a7bf42404a6ff1487c7655909e') pkgver() { diff --git a/searx.ini b/searx.ini index 7681436a1c7d..f5c0286da20b 100644 --- a/searx.ini +++ b/searx.ini @@ -1,33 +1,19 @@ [uwsgi]
-http-socket = :8888
-
-# Who will run the code
uid = searx
gid = searx
-
-# disable logging for privacy
-disable-logging = false
-
-# Number of workers (usually CPU count)
-workers = 4
-
-# The right granted on the created socket
+env = LANG=C.UTF-8
+env = LANGUAGE=C.UTF-8
+env = LC_ALL=C.UTF-8
+env = SEARX_SETTINGS_PATH=/etc/searx/settings.yml
+logger = systemd
+disable-logging = true
chmod-socket = 666
-
-# Plugin to use and interpretor config
single-interpreter = true
master = true
-plugin = python
lazy-apps = true
+plugin = python
enable-threads = true
-
-# Settings path for AUR package
-env = SEARX_SETTINGS_PATH=/etc/searx/settings.yml
-
-# Module to import
module = searx.webapp
-
-# Virtualenv and python path
-#virtualenv = /usr/local/searx/searx-ve/
-#pythonpath = /usr/local/searx/
-#chdir = /usr/local/searx/searx/
+chmod-socket = 666
+http = :8888
+cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1
|