Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - searx-git

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: searx-git v0.10.0.r33.gd5c0dcd-1

Git Clone URL: https://aur-dev.archlinux.org/searx-git.git (read-only)
Package Base: searx-git
Description: A privacy-respecting, hackable metasearch engine
Upstream URL: https://asciimoo.github.io/searx/
Licenses: AGPL
Submitter: Reventlov
Maintainer: flacks
Last Packager: flacks
Votes: 7
Popularity: 0.189738
First Submitted: 2014-04-19 12:57
Last Updated: 2016-10-17 14:35

Latest Comments

Jake commented on 2016-11-29 19:00

python2-requests[community] was updated on the 24.11. The new version requires also a newer version of python2-pysocks[community] (>=1.5.6 but not 1.5.7 as you can read in the error message).
You could update pysocks manually to 1.6.1 or just wait for it to arrive at the community repo (it is already flagged out of date).

ZerataX commented on 2016-11-27 16:30

This used to work for me, but now it just fails to start with:

Nov 27 17:29:18 navi searx-run[954]: File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 661, in _build_master
Nov 27 17:29:18 navi searx-run[954]: return cls._build_from_requirements(__requires__)
Nov 27 17:29:18 navi searx-run[954]: File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 674, in _build_from_requirements
Nov 27 17:29:18 navi searx-run[954]: dists = ws.resolve(reqs, Environment())
Nov 27 17:29:18 navi searx-run[954]: File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 853, in resolve
Nov 27 17:29:18 navi searx-run[954]: raise DistributionNotFound(req, requirers)
Nov 27 17:29:18 navi searx-run[954]: pkg_resources.DistributionNotFound: The 'PySocks!=1.5.7,>=1.5.6' distribution was not found and is required by requests
Nov 27 17:29:18 navi systemd[1]: searx.service: Main process exited, code=exited, status=1/FAILURE
Nov 27 17:29:18 navi systemd[1]: searx.service: Unit entered failed state.
Nov 27 17:29:18 navi systemd[1]: searx.service: Failed with result 'exit-code'.

flacks commented on 2016-10-01 18:17

Thanks, roentgen

roentgen commented on 2016-10-01 14:10

Hi, here are some systemd service protections that are welcome for network daemons.

[Service]
PrivateTmp=true
PrivateDevices=true
# Prevent accessing /home, /root and /run/user
ProtectHome=true
# Prevent writes to /usr, /boot, and /etc
ProtectSystem=full

These are documented in systemd.exec(5).

roentgen commented on 2016-09-14 13:16

You may put the settings in a more common place by using an env variable SEARX_SETTINGS_PATH.

You will need to modify the service file like this
[Service]
Environment=SEARX_SETTINGS_PATH=/etc/searx/settings.yml

and remember to move or copy the file in package().

flacks commented on 2016-09-08 20:34

Thanks again

Jake commented on 2016-09-08 10:45

You forgot the 2 after python, python(3)-pysocks won't work ;)

flacks commented on 2016-09-08 03:18

Thanks, Jake

Jake commented on 2016-09-07 10:23

The latest version depends on "python2-pysocks".

twouters commented on 2015-05-26 12:32

It looks like some dependencies are missing:

- python2-certifi
- python2-pyasn1-modules
- python2-ndg-httpsclient

It bothers me a bit that the config file is located in `/usr/lib/python2.7/site-packages/searx/settings.yml`
Perhaps it's better to copy the file to `/etc/searx/` and add the following to the service file? (at least until searx uses sane default config path?

`Environment=SEARX_SETTINGS_PATH=/etc/searx/settings.yml`