mirror of
https://github.com/YunoHost-Apps/searx_ynh.git
synced 2024-09-03 20:16:30 +02:00
commit
8843877c49
6 changed files with 30 additions and 14 deletions
|
@ -10,7 +10,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to
|
||||||
|
|
||||||
Searx is a privacy-respecting, hackable metasearch engine.
|
Searx is a privacy-respecting, hackable metasearch engine.
|
||||||
|
|
||||||
**Shipped version:** 0.15.0
|
**Shipped version:** 0.16.0
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/asciimoo/searx/archive/v0.15.0.tar.gz
|
SOURCE_URL=https://github.com/asciimoo/searx/archive/v0.16.0.tar.gz
|
||||||
SOURCE_SUM=9d605ca08adc91fab27b4fd5311c9585620a9152e9f3e8b4f41f6ec7231af3efe3effdd3f8c0e6d08898c2116ef429455ec8525dad35e17329bd1e509828ba4b
|
SOURCE_SUM=4ea6d5a3cce8fb2b49d873f1ac16401ae7fb83672e5fe1e1b443b7b8563befeaa61e79e7383b85ff4360cbcf0a4bdf90e16cc7a16394f8b40c364d814404b03b
|
||||||
SOURCE_SUM_PRG=sha512sum
|
SOURCE_SUM_PRG=sha512sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"fr": "Un méta-moteur de recherche respectueux de la vie privée et bidouillable",
|
"fr": "Un méta-moteur de recherche respectueux de la vie privée et bidouillable",
|
||||||
"de": "Eine Meta-Suchmaschine, die den Privatsphäre wahrt und 'hackable' ist."
|
"de": "Eine Meta-Suchmaschine, die den Privatsphäre wahrt und 'hackable' ist."
|
||||||
},
|
},
|
||||||
"version": "0.15.0~ynh1",
|
"version": "0.16.0~ynh1",
|
||||||
"url": "https://asciimoo.github.io/searx/",
|
"url": "https://asciimoo.github.io/searx/",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -84,6 +84,13 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$final_path"
|
ynh_setup_source --dest_dir="$final_path"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# PATCH VERSION 0.16.0
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
# Apply fix https://github.com/asciimoo/searx/pull/1831 on the current 0.16.0 release.
|
||||||
|
ynh_replace_string --match_string="werkzeug.contrib.fixers" --replace_string="werkzeug.middleware.proxy_fix" --target_file="$final_path/searx/webapp.py"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC SETUP
|
# SPECIFIC SETUP
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -90,6 +90,13 @@ then
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$final_path"
|
ynh_setup_source --dest_dir="$final_path"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# PATCH VERSION 0.16.0
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
# Apply fix https://github.com/asciimoo/searx/pull/1831 on the current 0.16.0 release.
|
||||||
|
ynh_replace_string --match_string="werkzeug.contrib.fixers" --replace_string="werkzeug.middleware.proxy_fix" --target_file="$final_path/searx/webapp.py"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -1,18 +1,20 @@
|
||||||
# Have a look to https://github.com/asciimoo/searx/blob/master/requirements.txt for each upgrade of Searx
|
# Have a look to https://github.com/asciimoo/searx/blob/master/requirements.txt for each upgrade of Searx
|
||||||
certifi==2017.11.5
|
certifi==2019.3.9
|
||||||
flask==0.12.2
|
#babel==2.7.0
|
||||||
flask-babel==0.11.2
|
flask-babel==1.0.0
|
||||||
# lxml==4.1.1
|
flask==1.0.2
|
||||||
idna==2.5
|
idna==2.8
|
||||||
|
jinja2==2.10.1
|
||||||
|
#lxml==4.3.3
|
||||||
pygments==2.1.3
|
pygments==2.1.3
|
||||||
pyopenssl==17.4.0
|
pyopenssl==19.0.0
|
||||||
python-dateutil==2.6.1
|
python-dateutil==2.8.0
|
||||||
pyyaml==3.12
|
pyyaml==5.1
|
||||||
requests[socks]==2.18.4
|
requests[socks]==2.22.0
|
||||||
|
|
||||||
# Additionnals requirements
|
# Additionnals requirements
|
||||||
markupsafe>=0.23
|
markupsafe>=0.23
|
||||||
ndg-httpsclient>=0.4.2
|
ndg-httpsclient>=0.4.2
|
||||||
pyasn1>=0.2.3
|
pyasn1>=0.2.3
|
||||||
pyasn1-modules>=0.0.9
|
pyasn1-modules>=0.0.9
|
||||||
cffi>=1.12.1
|
#cffi>=1.12.1
|
||||||
|
|
Loading…
Reference in a new issue