Package Details: whoogle 0.9.1-1

Git Clone URL: https://aur.archlinux.org/whoogle.git (read-only, click to copy)
Package Base: whoogle
Description: A self-hosted, ad-free, privacy-respecting metasearch engine
Upstream URL: https://github.com/benbusby/whoogle-search
Keywords: engine search whoogle
Licenses: MIT
Conflicts: whoogle-git
Submitter: dr460nf1r3
Maintainer: dr460nf1r3 (chaotic-aur)
Last Packager: dr460nf1r3
Votes: 4
Popularity: 0.009838
First Submitted: 2021-04-08 09:52 (UTC)
Last Updated: 2024-12-25 09:19 (UTC)

Dependencies (4)

Required by (2)

Sources (4)

Pinned Comments

dr460nf1r3 commented on 2021-12-05 12:10 (UTC) (edited on 2022-03-05 09:17 (UTC) by dr460nf1r3)

Installs with official instructions to /opt. Read here for more information and options for the systemd service. ( -> e) manual) The search engine is accessible at localhost:5000, set it as default engine using your browsers option. Binary builds are available at Chaotic-AUR!

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

dr460nf1r3 commented on 2021-10-15 07:25 (UTC)

Ugh, I misunderstood you. I hope everything is fine now! :)

kseistrup commented on 2021-10-15 07:20 (UTC)

You missed the -D in the install -Dm0644 commands.

kseistrup commented on 2021-10-15 07:09 (UTC)

@dr460nf1r3

If you say

install -Dm0644 "$file" "$pkgdir/path/to/$file"

then $pkgdir/path/to/ will bew automatically created so you needn't install the directory first. The important thing is to have a filename as the last component, since install will create the next-to-last component for you.

Your sysusers config doesn't work. You are using /opt/whoogle-search as your target directory, whereas the whoogle.conf you supplied is using /opt/whoogle.

dr460nf1r3 commented on 2021-10-15 07:01 (UTC)

I updated the PKGBUILD with the recommendations, let me know if there is anything else left to do :)

kseistrup commented on 2021-10-15 06:31 (UTC)

(Ok, so the dir is /opt/whoogle-search, but the point about sysusers.d still holds.)

kseistrup commented on 2021-10-15 06:29 (UTC)

@astier I believe the proper way of creating users during install is to create a /usr/lib/sysusers.d/whoogle.conf file with contents like this:

u whoogle - "Whoogle" /opt/whoogle

See sysusers.d(5) for details.

astier commented on 2021-10-15 05:53 (UTC)

@kseistrup the following should suffice I think.

useradd -s /bin/bash -rd /opt/whoogle-search whoogle
chown -R whoogle: /opt/whoogle-search

Now @dr460nf1r3 has only to change the PKGBUILD and set User=whoogle in whoogle.service

kseistrup commented on 2021-10-15 04:25 (UTC)

@astier, then a system user should be created and its rights restricted to a minimum.

The command systemd-analyze security whoogle.service can be used to get a feel for how well it's going.

astier commented on 2021-10-14 21:14 (UTC)

@kseistrup my knowledge about systemd is not that great but I think DynamicUser=true wouldn't work right now without making changes to the code because of https://github.com/benbusby/whoogle-search/pull/461 But running as root is certainly a bad idea.