git: e280cdab5ce5 - main - www/searx: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Tue, 04 Feb 2025 20:43:31 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e280cdab5ce58b68781f6480658eb417146f09e7

commit e280cdab5ce58b68781f6480658eb417146f09e7
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-02-04 20:43:24 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-02-04 20:43:24 +0000

    www/searx: Remove expired port
    
    2025-01-31 www/searx: Upstream repo archived Sep 7 2023
---
 MOVED                          |  1 +
 www/Makefile                   |  1 -
 www/searx/Makefile             | 57 ------------------------------------------
 www/searx/distinfo             |  3 ---
 www/searx/files/pkg-message.in | 19 --------------
 www/searx/files/searx.in       | 47 ----------------------------------
 www/searx/pkg-descr            | 17 -------------
 www/searx/pkg-plist            |  1 -
 8 files changed, 1 insertion(+), 145 deletions(-)

diff --git a/MOVED b/MOVED
index f074cdba29f7..c990096823a1 100644
--- a/MOVED
+++ b/MOVED
@@ -4125,3 +4125,4 @@ databases/mysql90-client|databases/mysql91-client|2025-02-04|Has expired: MySQL
 databases/mysql90-server|databases/mysql91-server|2025-02-04|Has expired: MySQL 9.0 is no longer supported by the vendor
 textproc/docproj-legacy|textproc/docproj|2025-02-04|Has expired: Old version of documentation set
 devel/kore||2025-02-04|Has expired: Unmaintained in tree for years and broken for months
+www/searx||2025-02-04|Has expired: Upstream repo archived Sep 7 2023
diff --git a/www/Makefile b/www/Makefile
index f4a1be583ed6..faef24bbbf02 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2399,7 +2399,6 @@
     SUBDIR += scloader
     SUBDIR += script4rss
     SUBDIR += seahub
-    SUBDIR += searx
     SUBDIR += selenium
     SUBDIR += serendipity
     SUBDIR += serf
diff --git a/www/searx/Makefile b/www/searx/Makefile
deleted file mode 100644
index 321fa0d0f062..000000000000
--- a/www/searx/Makefile
+++ /dev/null
@@ -1,57 +0,0 @@
-PORTNAME=	searx
-DISTVERSIONPREFIX=	v
-DISTVERSION=	1.0.0
-PORTREVISION=	2
-CATEGORIES=	www python
-
-MAINTAINER=	vvelox@vvelox.net
-COMMENT=	Privacy-respecting, hackable metasearch engine
-WWW=		https://asciimoo.github.io/searx/
-
-LICENSE=	AGPLv3
-
-DEPRECATED=	Upstream repo archived Sep 7 2023
-EXPIRATION_DATE=2025-01-31
-
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}python-dateutil>0:devel/py-python-dateutil@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}flask>0:www/py-flask@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}flask-babel>0:devel/py-flask-babel@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}idna>0:dns/py-idna@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}ndg-httpsclient>0:net/py-ndg-httpsclient@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}httpx>0:www/py-httpx@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}brotli>0:archivers/py-brotli@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}uvloop>0:devel/py-uvloop@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}langdetect>0:textproc/py-langdetect@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}setproctitle>0:devel/py-setproctitle@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}httpx-socks>0:www/py-httpx-socks@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}splinter>0:www/py-splinter@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}werkzeug>0:www/py-werkzeug@${PY_FLAVOR}
-BUILD_DEPENDS=	${RUN_DEPENDS}
-
-USES=		python
-USE_GITHUB=	yes
-GH_ACCOUNT=	asciimoo
-USE_PYTHON=	distutils autoplist noflavors
-USE_RC_SUBR=	searx
-
-NO_ARCH=	yes
-
-SUB_FILES=	searx pkg-message
-SUB_LIST=	PYTHON_CMD=${PYTHON_CMD} PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR}
-
-post-patch: # expect dependencies to be backwards-compatible, otherwise it is difficult to have a port
-	@${REINPLACE_CMD} -e 's|==|>=|' ${WRKSRC}/requirements.txt
-
-post-install:
-	# move settings to etc/ /usr/local/lib/python3.x/site-packages/searx/settings.yml
-	@${MV} ${STAGEDIR}${PYTHON_SITELIBDIR}/searx/settings.yml ${STAGEDIR}${PREFIX}/etc/${PORTNAME}-settings.yml.sample
-	@${LN} -s ${PREFIX}/etc/${PORTNAME}-settings.yml ${STAGEDIR}${PYTHON_SITELIBDIR}/searx/settings.yml
-
-.include <bsd.port.mk>
diff --git a/www/searx/distinfo b/www/searx/distinfo
deleted file mode 100644
index 58cdc73bc1b6..000000000000
--- a/www/searx/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1623305653
-SHA256 (asciimoo-searx-v1.0.0_GH0.tar.gz) = 4587acc9bd2bf428fe9ac8e4d79d3637dac308a8e5bdeee4f0bae85bfe5c67fe
-SIZE (asciimoo-searx-v1.0.0_GH0.tar.gz) = 2466997
diff --git a/www/searx/files/pkg-message.in b/www/searx/files/pkg-message.in
deleted file mode 100644
index ccdda18d4513..000000000000
--- a/www/searx/files/pkg-message.in
+++ /dev/null
@@ -1,19 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-You installed Searx: privacy-respecting, hackable metasearch engine.
-
-It is recommended to run Searx as a service:
-# sysrc searx_enable="YES"
-# service searx start
-
-It allows you to search the Internet through the local website at
-http://localhost:8888
-
-By default, Searx uses the network of long running Searx instances.
-You can see the list here: http://stats.searx.oe5tpo.com
-
-Please adjust Searx settings in %%PREFIX%%/etc/searx-settings.yml
-EOM
-}
-]
diff --git a/www/searx/files/searx.in b/www/searx/files/searx.in
deleted file mode 100644
index b26dee945cba..000000000000
--- a/www/searx/files/searx.in
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: searx
-# REQUIRE: DAEMON NETWORKING
-# BEFORE: LOGIN
-# KEYWORD: shutdown
-
-# Add the following lines to /etc/rc.conf to enable searx:
-# searx_enable="YES"
-#
-# searx_enable (bool):	Set to YES to enable searx
-#				Default: NO
-# searx_conf (str):		searx configuration file
-#				Default: ${PREFIX}/etc/searx.conf
-# searx_user (str):		searx daemon user
-#				Default: searx
-# searx_group (str):		searx daemon group
-#				Default: searx
-# searx_flags (str):		Extra flags passed to searx
-
-. /etc/rc.subr
-
-name="searx"
-rcvar=searx_enable
-
-: ${searx_enable:="NO"}
-: ${searx_user:="www"}
-: ${searx_group:="www"}
-: ${searx_flags:=""}
-
-# daemon
-pidfile="/var/run/${name}.pid"
-python="%%PYTHON_CMD%%"
-script_py="%%PYTHON_SITELIBDIR%%/${name}/webapp.py"
-command=/usr/sbin/daemon
-procname="daemon"
-command_args=" -c -f -P ${pidfile} ${python} ${script_py}"
-start_precmd="searx_precmd"
-
-searx_precmd()
-{
-    install -o ${searx_user} /dev/null ${pidfile}
-}
-
-load_rc_config $name
-run_rc_command "$1"
-
diff --git a/www/searx/pkg-descr b/www/searx/pkg-descr
deleted file mode 100644
index 5af1f4bac758..000000000000
--- a/www/searx/pkg-descr
+++ /dev/null
@@ -1,17 +0,0 @@
-Searx is a free internet metasearch engine which aggregates results
-from more than 70 search services. Users are neither tracked nor profiled.
-Additionally, searx can be used over Tor for online anonymity.
-
-Get started with searx by using one of the public instances. If you don't
-trust anyone, you can set up your own service.
-
-Features:
-* Self hosted
-* No user tracking
-* No user profiling
-* About 70 supported search engines
-* Easy integration with any search engine
-* Cookies are not used by default
-* Secure, encrypted connections (HTTPS/SSL)
-* Hosted by organisations, such as La Quadrature du Net, which promote
-  digital rights
diff --git a/www/searx/pkg-plist b/www/searx/pkg-plist
deleted file mode 100644
index f6e5a91c5f94..000000000000
--- a/www/searx/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-@sample etc/searx-settings.yml.sample