mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
www-apps/whoogle-search: treeclean
It's been masked for a year and EoL was just published last week. Full context: https://github.com/benbusby/whoogle-search/releases/tag/v1.2.4 TL;DR: Even if we resolved the issue that lead to the mask (we didn't), Google still killed it in the end. Signed-off-by: Joe Kappus <joe@wt.gd>
This commit is contained in:
8 files changed
-121
No files matched your search
@@ -87,11 +87,6 @@ dev-python/mkdocs-rss-plugin
|
||||
# Requires systemd. Cannot be masked per profile (see top comment)
|
||||
app-admin/run0edit
|
||||
|
||||
# Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> (2025-05-24)
|
||||
# Depends on masked net-libs/stem.
|
||||
# Masked until upstream supports running without stem.
|
||||
www-apps/whoogle-search
|
||||
|
||||
# Julien Roy <julien@jroy.ca> (2024-03-21)
|
||||
# sys-libs/libucontext is masked in ::gentoo
|
||||
sys-libs/gcompat
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
DIST whoogle-search-0.9.3.gh.tar.gz 619500 BLAKE2B 8a6782c8b4dadf2e46c066b9de9e165454bbffbb4a271d85f746244c38486e2008a5ec3c6b7e4688b4f8570791b528a58a989b16631a613bd2563a976da20520 SHA512 711523ea826ea4b64ea3f845ef4cab07ddb7fdb474c32ac13153fcb2dc753895e0b6b83f0a5646952ef983a762d36e17e2e230ac7b826db29a6431ffea87e23a
|
||||
@@ -1,2 +0,0 @@
|
||||
BIND_ADDRESS=127.0.0.1
|
||||
LISTEN_PORT=5000
|
||||
@@ -1 +0,0 @@
|
||||
u whoogle - "Whoogle" /opt/whoogle-search
|
||||
@@ -1,33 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Environment variables for whoogle
|
||||
. "/etc/default/whoogle"
|
||||
export ADDRESS=${BIND_ADDRESS:-0.0.0.0}
|
||||
export PORT=${LISTEN_PORT:-5000}
|
||||
|
||||
name="Whoogle Search"
|
||||
description="A self-hosted, ad-free, privacy-respecting metasearch engine"
|
||||
command="/opt/whoogle-search/run"
|
||||
command_user="whoogle:whoogle"
|
||||
command_background=1
|
||||
pidfile="/run/whoogle.pid"
|
||||
output_log="/var/log/whoogle.log"
|
||||
error_log="${output_log}"
|
||||
|
||||
depend() {
|
||||
use logger net
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath -fo whoogle:whoogle "/var/log/whoogle.log"
|
||||
echo "Whoogle is running on: ${BIND_ADDRESS}:${LISTEN_PORT}"
|
||||
cd /opt/whoogle-search || exit 1
|
||||
}
|
||||
|
||||
stop_post() {
|
||||
# whoogle doesn't get killed by stop so it needs to be done manually
|
||||
whoogle_pid="$(ps aux | grep -i "/usr/lib/python-exec/python3.11/python3 -um app" | grep -v 'grep' | cut -d ' ' -f 3-4 | xargs)"
|
||||
kill "${whoogle_pid}"
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
[Unit]
|
||||
Description=Whoogle
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=whoogle
|
||||
WorkingDirectory=/opt/whoogle-search
|
||||
EnvironmentFile=/etc/default/whoogle
|
||||
ExecStart=/opt/whoogle-search/run
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
SyslogIdentifier=whoogle
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>cat@aulucya.gay</email>
|
||||
<name>Cat Kasin</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">benbusby/whoogle-search</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=no
|
||||
PYTHON_COMPAT=( python3_{12..13} )
|
||||
inherit distutils-r1 systemd
|
||||
|
||||
DESCRIPTION="A self-hosted, ad-free, privacy-respecting metasearch engine"
|
||||
HOMEPAGE="https://github.com/benbusby/whoogle-search"
|
||||
SRC_URI="https://github.com/benbusby/whoogle-search/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cssutils[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/flask[${PYTHON_USEDEP}]
|
||||
dev-python/python-dotenv[${PYTHON_USEDEP}]
|
||||
dev-python/defusedxml[${PYTHON_USEDEP}]
|
||||
dev-python/waitress[${PYTHON_USEDEP}]
|
||||
dev-python/validators[${PYTHON_USEDEP}]
|
||||
app-arch/brotli[${PYTHON_USEDEP},python]
|
||||
net-libs/stem
|
||||
acct-user/whoogle
|
||||
acct-group/whoogle
|
||||
"
|
||||
|
||||
src_install() {
|
||||
rm -r .github docs test .dockerignore .gitignore .replit \
|
||||
docker-compose.yml Dockerfile heroku.yml MANIFEST.in README.md \
|
||||
requirements.txt
|
||||
mkdir -p "${ED}/opt/whoogle-search" || die
|
||||
insinto /opt/whoogle-search
|
||||
doins -r ./*
|
||||
fperms -R 0755 /opt/whoogle-search
|
||||
fowners -R whoogle:whoogle /opt/whoogle-search
|
||||
|
||||
insinto /etc/default/
|
||||
doins "${FILESDIR}/whoogle"
|
||||
insinto /usr/lib/sysusers.d/
|
||||
doins "${FILESDIR}/whoogle.conf"
|
||||
|
||||
newinitd "${FILESDIR}"/whoogle.initd whoogle
|
||||
systemd_dounit "${FILESDIR}/whoogle.service"
|
||||
}
|
||||
Reference in new issue
Block a user