diff options
Diffstat (limited to 'www/py-searxng-devel')
-rw-r--r-- | www/py-searxng-devel/Makefile | 14 | ||||
-rw-r--r-- | www/py-searxng-devel/distinfo | 6 | ||||
-rw-r--r-- | www/py-searxng-devel/files/patch-searx_network_client.py | 30 | ||||
-rw-r--r-- | www/py-searxng-devel/files/patch-searx_version.py | 18 |
4 files changed, 29 insertions, 39 deletions
diff --git a/www/py-searxng-devel/Makefile b/www/py-searxng-devel/Makefile index c71d54ca09a5..a2f8006c78c2 100644 --- a/www/py-searxng-devel/Makefile +++ b/www/py-searxng-devel/Makefile @@ -1,11 +1,10 @@ PORTNAME= searxng -DISTVERSION= 20250203 -PORTREVISION= 1 +DISTVERSION= 20250819 CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= -devel -MAINTAINER= DtxdF@disroot.org +MAINTAINER= dtxdf@FreeBSD.org COMMENT= Free internet metasearch engine WWW= https://docs.searxng.org/ @@ -24,7 +23,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=0:devel/py-babel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}isodate>=0:devel/py-isodate@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}langdetect>=0:textproc/py-langdetect@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lxml5>=0:devel/py-lxml5@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markdown-it-py>=0:textproc/py-markdown-it-py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msgspec>=0:devel/py-msgspec@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \ @@ -35,12 +34,15 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=0:devel/py-babel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setproctitle>=0:devel/py-setproctitle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typer>=0:devel/py-typer@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}uvloop>=0:devel/py-uvloop@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}uvloop>=0:devel/py-uvloop@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}valkey>=0:databases/py-valkey@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}whitenoise>=0:www/py-whitenoise@${PY_FLAVOR} USES= python USE_GITHUB= yes -GH_TAGNAME= 4ab7984edde27b36b158f678d83b993ad4126619 +GH_TAGNAME= 25647c20d1904840d089892bb118390f46c66984 USE_PYTHON= autoplist distutils USE_RC_SUBR= searxng diff --git a/www/py-searxng-devel/distinfo b/www/py-searxng-devel/distinfo index 7d355b26ff3d..aa0baa156201 100644 --- a/www/py-searxng-devel/distinfo +++ b/www/py-searxng-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1738629164 -SHA256 (searxng-searxng-20250203-4ab7984edde27b36b158f678d83b993ad4126619_GH0.tar.gz) = ae709b1af30688211f9266985c972df3c7150722a659fb6c5375d2d70c16b925 -SIZE (searxng-searxng-20250203-4ab7984edde27b36b158f678d83b993ad4126619_GH0.tar.gz) = 5203738 +TIMESTAMP = 1755629208 +SHA256 (searxng-searxng-20250819-25647c20d1904840d089892bb118390f46c66984_GH0.tar.gz) = 9fa3831333cddfc27de8d5d1a20643669bbb4c2624133493ba6b40bbe13d5097 +SIZE (searxng-searxng-20250819-25647c20d1904840d089892bb118390f46c66984_GH0.tar.gz) = 5839091 diff --git a/www/py-searxng-devel/files/patch-searx_network_client.py b/www/py-searxng-devel/files/patch-searx_network_client.py deleted file mode 100644 index 659e21f348d1..000000000000 --- a/www/py-searxng-devel/files/patch-searx_network_client.py +++ /dev/null @@ -1,30 +0,0 @@ ---- searx/network/client.py.orig 2025-02-04 00:34:42 UTC -+++ searx/network/client.py -@@ -14,8 +14,8 @@ from searx import logger - import uvloop - - from searx import logger -+from urllib3.util.ssl_ import DEFAULT_CIPHERS - -- - uvloop.install() - - -@@ -41,7 +41,7 @@ def shuffle_ciphers(ssl_context): - https://www.zenrows.com/blog/what-is-tls-fingerprint#how-to-bypass-tls-fingerprinting - - """ -- c_list = httpx._config.DEFAULT_CIPHERS.split(':') # pylint: disable=protected-access -+ c_list = DEFAULT_CIPHERS.split(':') # pylint: disable=protected-access - sc_list, c_list = c_list[:3], c_list[3:] - random.shuffle(c_list) - ssl_context.set_ciphers(":".join(sc_list + c_list)) -@@ -50,7 +50,7 @@ def get_sslcontexts(proxy_url=None, cert=None, verify= - def get_sslcontexts(proxy_url=None, cert=None, verify=True, trust_env=True, http2=False): - key = (proxy_url, cert, verify, trust_env, http2) - if key not in SSLCONTEXTS: -- SSLCONTEXTS[key] = httpx.create_ssl_context(cert, verify, trust_env, http2) -+ SSLCONTEXTS[key] = httpx.create_ssl_context(verify, cert, trust_env) - shuffle_ciphers(SSLCONTEXTS[key]) - return SSLCONTEXTS[key] - diff --git a/www/py-searxng-devel/files/patch-searx_version.py b/www/py-searxng-devel/files/patch-searx_version.py new file mode 100644 index 000000000000..7b9b32f09608 --- /dev/null +++ b/www/py-searxng-devel/files/patch-searx_version.py @@ -0,0 +1,18 @@ +--- searx/version.py.orig 2025-08-19 19:13:19 UTC ++++ searx/version.py +@@ -91,15 +91,6 @@ def get_information(): + git_url = GIT_URL + git_branch = GIT_BRANCH + +- try: +- version_string, version_tag, docker_tag = get_git_version() +- except subprocess.CalledProcessError as ex: +- logger.error("Error while getting the version: %s", ex.stderr) +- try: +- git_url, git_branch = get_git_url_and_branch() +- except subprocess.CalledProcessError as ex: +- logger.error("Error while getting the git URL & branch: %s", ex.stderr) +- + return version_string, version_tag, docker_tag, git_url, git_branch + + |