Package Details: searx 0.11.0-1

Git Clone URL: https://aur-dev.archlinux.org/searx.git (read-only)
Package Base: searx
Description: A privacy-respecting, hackable metasearch engine
Upstream URL: https://asciimoo.github.io/searx/
Licenses: AGPL
Conflicts: searx-git
Submitter: Jake
Maintainer: Jake
Last Packager: Jake
Votes: 5
Popularity: 0.960636
First Submitted: 2016-09-07 11:42
Last Updated: 2017-01-12 20:58

Latest Comments

Jake commented on 2016-11-29 19:03

The latest version of python2-requests[community] 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).
I cant fix this, please update the pysocks package to 1.6.1 manually or wait for it to arrive at the community repo (it is already flagged out of date).

snuffop commented on 2016-11-28 15:42

python2-pysocks 1.5.7 is installed as dependency


Nov 28 09:10:04 archovo.snuffy.org searx-run[31015]: File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 661, in _build_master
Nov 28 09:10:04 archovo.snuffy.org searx-run[31015]: return cls._build_from_requirements(__requires__)
Nov 28 09:10:04 archovo.snuffy.org searx-run[31015]: File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 674, in _build_from_requirements
Nov 28 09:10:04 archovo.snuffy.org searx-run[31015]: dists = ws.resolve(reqs, Environment())
Nov 28 09:10:04 archovo.snuffy.org searx-run[31015]: File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 853, in resolve
Nov 28 09:10:04 archovo.snuffy.org searx-run[31015]: raise DistributionNotFound(req, requirers)

Nov 28 09:10:04 archovo.snuffy.org searx-run[31015]: pkg_resources.DistributionNotFound: The 'PySocks!=1.5.7,>=1.5.6' distribution was not found and is required by requests
Nov 28 09:10:04 archovo.snuffy.org systemd[1]: searx.service: Main process exited, code=exited, status=1/FAILURE
Nov 28 09:10:04 archovo.snuffy.org systemd[1]: searx.service: Unit entered failed state.
Nov 28 09:10:04 archovo.snuffy.org systemd[1]: searx.service: Failed with result 'exit-code'.

Jake commented on 2016-10-21 13:36

Added protections, thanks roentgen!

roentgen commented on 2016-10-01 14:09

Thanks for the change.

Here are some more 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).

Jake commented on 2016-09-22 20:09

Okay, symlinking as fallback is a good idea.
I made the changes now, checkout the new pkgrel.

roentgen commented on 2016-09-15 16:59

Upstream already has a solution. If you don't like it *you* talk to them. And Arch doesn't officially support anything else besides systemd.

Even so you may fall back to other use cases with a symlink in /usr/lib[...]

Jake commented on 2016-09-15 12:37

I am not sure, this works only when it gets started through systemd.
What if searx-run gets executed from somewhere else? It wont load the (correct) settings file...
Why not try to change the default settings path upstream? Would be imho a better solution.

roentgen commented on 2016-09-14 13:17

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().