Added searxng

This commit is contained in:
serverroot 2024-04-29 16:26:29 -05:00
parent 7cff3d563b
commit b15cc570ec
11 changed files with 123 additions and 0 deletions

View File

@ -0,0 +1 @@
EBUILD searx-0-r1.ebuild 47 BLAKE2B 36cafcd9d44983d441bb20730e78d5232ff82ce746e6eec3aaf0893b2f461612d1979f00d2a7af0814a3526b54f735505ed7b8be28e413550f6352a1b7ed8ceb SHA512 5a99a8c7db1556bdd3c2ef42e299b253c61bae482a2d6edf9addea4f61c97b8b914722c58f1945fdf0b8d915659ce6930f8bcaeddef94144387aee19abfac8be

View File

@ -0,0 +1,5 @@
EAPI=8
inherit acct-group
ACCT_GROUP_ID=2832

1
acct-user/searx/Manifest Normal file
View File

@ -0,0 +1 @@
EBUILD searx-0-r2.ebuild 92 BLAKE2B 0f925630bbce9b6f3cfe26f5d0d36880e262215d50727237a6f75f85e4f85a4884e09c84feba16a34c295a5ae3872099acd5a0855533bb7a11fb3fa5ffdcab1a SHA512 e0871ffc5230aa5cdb3a2002631793a5a6ada66d88269878b8bf6618c2a0df1a87f81400953b0d39c9b3ebb2986faa0c5ea0fda2c588ec367601ba5bec3db47d

View File

@ -0,0 +1,8 @@
EAPI=8
inherit acct-user
ACCT_USER_ID=2832
ACCT_USER_GROUPS=( searx )
acct-user_add_deps

View File

@ -0,0 +1,2 @@
DIST fasttext-predict-0.9.2.2.tar.gz 20420 BLAKE2B 0ecde5f0a0faded6a91de9d5f4e7f60a7f5c6be55a2270f8b44c7deba275d234d3e11cce257a9b856c1f78b8c193ad9766b3f1f9e1ab10c31327d397ac639a7b SHA512 1bbfccba5efd53199d855e1f02c25647d2d74341b86e540d17b8ec8482d245343c0914908d966409bb8791de67357c07a628bb0b7f617f17f268e23b881dada7
EBUILD fasttext-predict-0.9.2.2.ebuild 262 BLAKE2B bdcde6abc5e03a8b54d69af59df86e4d7a2ec4984c7d4f05742f1ce72196d2406b380c3b973ae451095f6fafa9b647222922802107d8aec62a6a20536f865284 SHA512 62e391d6e2efdf8238e24db82b9bcc3de2bded4bc61ca7b7d3190a7df4a6f1d62b074305f6c6e61cd54fe5e629e317fd793de7203d48eea9d57d2129e4bf25d3

View File

@ -0,0 +1,14 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
SRC_URI="https://github.com/searxng/fasttext-predict/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-python/pybind11"

View File

@ -0,0 +1,3 @@
AUX fixInclude.patch 388 BLAKE2B fcdf7480995869911395b0e0276e36f62a5933e3a588e7935ed4f99a211bdc80d54b506be7b96a094079d33b03de751e2faa2e2cf8c4a273bcd646a7a4be4142 SHA512 9674aed3bef24976b666a5693fbe7029b49685820a725cf5f6d5f63f1aa9deda634cdbe940a0067bf8dcd531ce52b20d40f18ebf7ae5f667f46128b1bff771dc
DIST pytomlpp-1.0.13.tar.gz 33612 BLAKE2B 4271cab3d452d851c4518b954ad88656371ed62198757f24c969e74227301d9c229f03f50894533d26f39f95b779371503c80b6fa6ac1b26d273b88e6129b98f SHA512 6bf0474368c30a23d97a75093d25d5445a48ef152e25b4fd96be149530d57880d07f7721032cbe7f7cc8be174b766fb0bfa40331e7dfef0d1421e731460e2d54
EBUILD pytomlpp-1.0.13.ebuild 315 BLAKE2B dd34939d0379882a243ab262a18658f391abfbe062a6ac224e64094ccb9385efc146cc6b4372f4cba32bbeeb06f017a2f6daf8023656ab1cf2ced40883874a30 SHA512 873896526bcdfa8764b14af128f7c8facbc0c38f64d0e22a0b753be111b59f315fd206d69b87ee02e9a9e178e8dca6e0ea1afb60788200d5f0c29c1cb144d11a

View File

@ -0,0 +1,12 @@
--- a/include/pytomlpp/pytomlpp.hpp 2023-03-21 11:38:24.000000000 -0500
+++ b/include/pytomlpp/pytomlpp.hpp 2024-04-29 15:30:26.041812388 -0500
@@ -32,7 +32,7 @@
#endif
#include "compilers.hpp"
PYTOMLPP_PUSH_OPTIMIZATIONS;
-#include <tomlplusplus/include/toml++/toml.h>
+#include <toml++/toml.h>
PYTOMLPP_POP_OPTIMIZATIONS;
// namespace and type forward declarations

View File

@ -0,0 +1,20 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
SRC_URI="https://github.com/bobfang1992/pytomlpp/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/pybind11
dev-cpp/tomlplusplus
"
PATCHES="${FILESDIR}/*.patch"

View File

@ -0,0 +1 @@
EBUILD searxng-9999.ebuild 1061 BLAKE2B 3fb5bdcfa867abe1f9556f0df66cdafaf910b0310d36eebb6723c4a73f5e3b7283ce2af17cfd95a28a55cf1b8bd1538b3e52e73dacc5dc06911666064ad49e7d SHA512 a2ed2f2dc223acfb9289a91e74f312241dc234964060fe62903b428d027c007455a6236ed3660926f545df9fe91c693c3d9d727f87a9a770cd1a1be82bfc8f58

View File

@ -0,0 +1,56 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Privacy-respecting, hackable metasearch engine"
HOMEPAGE="https://docs.searxng.org/index.html"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/searxng/searxng.git"
else
SRC_URI="https://github.com/searxng/searxng/archive/v${PV}.tar.gz -> ${P}.tar.gz"
fi
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
acct-group/searx
acct-user/searx
dev-python/certifi
dev-python/flask-babel
dev-python/jinja
dev-python/lxml
dev-python/pygments
dev-python/python-dateutil
dev-python/pyyaml
dev-python/brotlicffi
dev-python/uvloop
dev-python/httpx-socks
dev-python/setproctitle
=dev-python/redis-5.0.4
dev-python/markdown-it-py
dev-python/fasttext-predict
dev-python/pytomlpp
"
INST_DIR="/opt/searxng"
src_compile() {
:
}
src_config() {
:
}
src_install() {
insinto /etc/searxng
doins "searx/settings.yml"
insinto "${INST_DIR}"
doins -r .
fperms u+x "${INST_DIR}/searx/webapp.py"
}