diff --git a/profiles/package.mask b/profiles/package.mask index 505557b0d2..36dcc0b022 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -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 (2025-05-24) -# Depends on masked net-libs/stem. -# Masked until upstream supports running without stem. -www-apps/whoogle-search - # Julien Roy (2024-03-21) # sys-libs/libucontext is masked in ::gentoo sys-libs/gcompat diff --git a/www-apps/whoogle-search/Manifest b/www-apps/whoogle-search/Manifest deleted file mode 100644 index 62c809ab03..0000000000 --- a/www-apps/whoogle-search/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST whoogle-search-0.9.3.gh.tar.gz 619500 BLAKE2B 8a6782c8b4dadf2e46c066b9de9e165454bbffbb4a271d85f746244c38486e2008a5ec3c6b7e4688b4f8570791b528a58a989b16631a613bd2563a976da20520 SHA512 711523ea826ea4b64ea3f845ef4cab07ddb7fdb474c32ac13153fcb2dc753895e0b6b83f0a5646952ef983a762d36e17e2e230ac7b826db29a6431ffea87e23a diff --git a/www-apps/whoogle-search/files/whoogle b/www-apps/whoogle-search/files/whoogle deleted file mode 100644 index 948dd3d407..0000000000 --- a/www-apps/whoogle-search/files/whoogle +++ /dev/null @@ -1,2 +0,0 @@ -BIND_ADDRESS=127.0.0.1 -LISTEN_PORT=5000 \ No newline at end of file diff --git a/www-apps/whoogle-search/files/whoogle.conf b/www-apps/whoogle-search/files/whoogle.conf deleted file mode 100644 index bdd57113d4..0000000000 --- a/www-apps/whoogle-search/files/whoogle.conf +++ /dev/null @@ -1 +0,0 @@ -u whoogle - "Whoogle" /opt/whoogle-search \ No newline at end of file diff --git a/www-apps/whoogle-search/files/whoogle.initd b/www-apps/whoogle-search/files/whoogle.initd deleted file mode 100644 index 745dceb671..0000000000 --- a/www-apps/whoogle-search/files/whoogle.initd +++ /dev/null @@ -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}" -} diff --git a/www-apps/whoogle-search/files/whoogle.service b/www-apps/whoogle-search/files/whoogle.service deleted file mode 100644 index 950becae8c..0000000000 --- a/www-apps/whoogle-search/files/whoogle.service +++ /dev/null @@ -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 \ No newline at end of file diff --git a/www-apps/whoogle-search/metadata.xml b/www-apps/whoogle-search/metadata.xml deleted file mode 100644 index 34324416df..0000000000 --- a/www-apps/whoogle-search/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - cat@aulucya.gay - Cat Kasin - - - benbusby/whoogle-search - - diff --git a/www-apps/whoogle-search/whoogle-search-0.9.3.ebuild b/www-apps/whoogle-search/whoogle-search-0.9.3.ebuild deleted file mode 100644 index d1fdc71937..0000000000 --- a/www-apps/whoogle-search/whoogle-search-0.9.3.ebuild +++ /dev/null @@ -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" -}