git: 61db11f7a32f - main - www/mnogosearch: Remove

From: Chris Rees <crees_at_FreeBSD.org>
Date: Thu, 17 Oct 2024 22:01:35 UTC
The branch main has been updated by crees:

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

commit 61db11f7a32fc96c5c584bd4a50c174e7547a2a5
Author:     Chris Rees <crees@FreeBSD.org>
AuthorDate: 2024-10-17 21:57:01 +0000
Commit:     Chris Rees <crees@FreeBSD.org>
CommitDate: 2024-10-17 22:01:15 +0000

    www/mnogosearch: Remove
    
    Upstream has been dead since 2022.
    
    PR:             ports/282167
    Suggested by:   diizzy
---
 www/Makefile                                |  1 -
 www/mnogosearch/Makefile                    | 99 -----------------------------
 www/mnogosearch/distinfo                    |  2 -
 www/mnogosearch/files/patch-src-sql-mysql-c | 11 ----
 www/mnogosearch/files/pkg-message.in        | 12 ----
 www/mnogosearch/pkg-descr                   |  5 --
 www/mnogosearch/pkg-plist                   | 86 -------------------------
 7 files changed, 216 deletions(-)

diff --git a/www/Makefile b/www/Makefile
index d6ac12ffc4aa..1a572f681957 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -370,7 +370,6 @@
     SUBDIR += mirrorselect
     SUBDIR += mitmproxy
     SUBDIR += mknmz-wwwoffle
-    SUBDIR += mnogosearch
     SUBDIR += mod_asn
     SUBDIR += mod_auth_cas
     SUBDIR += mod_auth_cookie_mysql2
diff --git a/www/mnogosearch/Makefile b/www/mnogosearch/Makefile
deleted file mode 100644
index 9b9bf82a2345..000000000000
--- a/www/mnogosearch/Makefile
+++ /dev/null
@@ -1,99 +0,0 @@
-PORTNAME=	mnogosearch
-PORTVERSION=	3.4.1
-PORTREVISION=	2
-CATEGORIES=	www databases
-MASTER_SITES=	http://www.mnogosearch.org/Download/
-
-MAINTAINER=	crees@FreeBSD.org
-COMMENT=	Full featured SQL-based hypertext search engine
-WWW=		http://www.mnogosearch.org/
-
-LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/COPYING
-
-CONFLICTS=	sphinxsearch udmsearch mguesser
-
-OPTIONS_DEFINE=	DOCS EXAMPLES THREADS SSL ASIAN SYSLOG
-
-OPTIONS_MULTI=	DATABASE
-OPTIONS_MULTI_DATABASE=	PGSQL MYSQL SQLITE2 SQLITE3
-
-OPTIONS_DEFAULT=	THREADS SSL SYSLOG SQLITE3
-
-ASIAN_DESC=	Enable asian charsets
-DATABASE_DESC=	Database backends
-SYSLOG_DESC=	Send logs to syslog
-SQLITE2_DESC=	Use SQLite 2.x
-SQLITE3_DESC=	Use SQLite 3.x
-
-GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
-INSTALL_TARGET=	install-strip
-USES=		cpe gmake libtool
-USE_LDCONFIG=	yes
-CONFIGURE_ARGS=	--sysconfdir=${ETCDIR} \
-		--localstatedir=/var/mnogosearch \
-		--datadir=${DATADIR}
-
-SUB_FILES+=	pkg-message
-
-PGSQL_USES=	pgsql
-PGSQL_CONFIGURE_WITH=	pgsql=${LOCALBASE}
-
-SQLITE2_USES=	sqlite:2
-SQLITE3_USES=	sqlite
-SQLITE2_CONFIGURE_ON=	--with-sqlite=${LOCALBASE}
-SQLITE3_CONFIGURE_ON=	--with-sqlite3=${LOCALBASE}
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MSSL}
-USES+=	ssl
-.endif
-
-.if ${PORT_OPTIONS:MTHREADS}
-CONFIGURE_ARGS+=	--enable-pthreads
-.else
-CONFIGURE_ARGS+=	--disable-pthreads
-.endif
-
-.if ${PORT_OPTIONS:MSSL}
-CONFIGURE_ARGS+=	--with-openssl=${OPENSSLBASE}
-.endif
-
-.if ${PORT_OPTIONS:MASIAN}
-CONFIGURE_ARGS+=	--with-extra-charsets=all
-.endif
-
-.if ! ${PORT_OPTIONS:MSYSLOG}
-CONFIGURE_ARGS+=	--disable-syslog
-.endif
-
-.if ${PORT_OPTIONS:MMYSQL}
-USES+=		mysql
-CONFIGURE_ARGS+=	--with-mysql=${LOCALBASE}
-.endif
-
-PORTDATA=	*
-PORTDOCS=	ChangeLog INSTALL README.html
-PORTEXAMPLES=	README *.conf
-
-post-patch:
-.if ${PORT_OPTIONS:MDOCS}
-	@${REINPLACE_CMD} -e 's#$$(DESTDIR)$$(prefix)/doc#${DOCSDIR}#' \
-		${WRKSRC}/Makefile.in ${WRKSRC}/doc/Makefile.in
-.else
-	@${REINPLACE_CMD} -e \
-		's#^SUBDIRS = include src doc#SUBDIRS = include src#' \
-		${WRKSRC}/Makefile.in
-.endif
-
-post-install:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for f in ${PORTDOCS:NREADME.html}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
-.endfor
-	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/samples/* ${STAGEDIR}${EXAMPLESDIR}/
-
-.include <bsd.port.mk>
diff --git a/www/mnogosearch/distinfo b/www/mnogosearch/distinfo
deleted file mode 100644
index c132815d09b5..000000000000
--- a/www/mnogosearch/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (mnogosearch-3.4.1.tar.gz) = 7938fdcbc68b9cb8d66319b73906c99d4fc167eb7f783499d46845f4f33519db
-SIZE (mnogosearch-3.4.1.tar.gz) = 4290790
diff --git a/www/mnogosearch/files/patch-src-sql-mysql-c b/www/mnogosearch/files/patch-src-sql-mysql-c
deleted file mode 100644
index a5864284aeb7..000000000000
--- a/www/mnogosearch/files/patch-src-sql-mysql-c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/sql-mysql.c.orig	2023-02-06 10:23:32.970179000 +0300
-+++ src/sql-mysql.c	2023-02-06 10:24:17.488815000 +0300
-@@ -206,7 +206,7 @@
-   {
-     int myrc;
-     char qbuf[64];
--    udm_snprintf(qbuf, sizeof(qbuf), "SET storage_engine=%s",
-+    udm_snprintf(qbuf, sizeof(qbuf), "SET default_storage_engine=%s",
-                  storage_engine[0] ?  storage_engine : "MyISAM");
-     if ((myrc= mysql_query(&mydb->mysql, qbuf)))
-     {
diff --git a/www/mnogosearch/files/pkg-message.in b/www/mnogosearch/files/pkg-message.in
deleted file mode 100644
index 1848f6eb236b..000000000000
--- a/www/mnogosearch/files/pkg-message.in
+++ /dev/null
@@ -1,12 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-mnoGoSearch is successfully installed.
-Now, to use mnoGoSearch you need to create the appropriate *sql database
-manually: Please read INSTALL file located in %%DOCSDIR%%.
-
-For more information on how to use mnoGoSearch, please refer to their
-web site at http://www.mnogosearch.org/
-EOM
-}
-]
diff --git a/www/mnogosearch/pkg-descr b/www/mnogosearch/pkg-descr
deleted file mode 100644
index 7f1d789a183b..000000000000
--- a/www/mnogosearch/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-mnoGoSearch is a full featured SQL-based search engine for intranet or small
-domain Internet web servers. You can also use it to build specialized search
-engines such as cooking recipies or searching newspaper articles.
-
-Provides pre-built web search frontend in C (via CGI).
diff --git a/www/mnogosearch/pkg-plist b/www/mnogosearch/pkg-plist
deleted file mode 100644
index 7f7870c508e8..000000000000
--- a/www/mnogosearch/pkg-plist
+++ /dev/null
@@ -1,86 +0,0 @@
-bin/indexer
-bin/mconv
-bin/mguesser
-bin/search.cgi
-bin/udm-config
-%%ETCDIR%%/indexer.conf-dist
-%%ETCDIR%%/langmap.conf-dist
-%%ETCDIR%%/node.xml-dist
-%%ETCDIR%%/search.htm-dist
-%%ETCDIR%%/stopwords.conf-dist
-include/udm_agent.h
-include/udm_alias.h
-include/udm_autoconf.h
-include/udm_boolean.h
-include/udm_chinese.h
-include/udm_common.h
-include/udm_conf.h
-include/udm_config.h
-include/udm_contentencoding.h
-include/udm_coords.h
-include/udm_crc32.h
-include/udm_ctype.h
-include/udm_db.h
-include/udm_db_int.h
-include/udm_dirent.h
-include/udm_doc.h
-include/udm_env.h
-include/udm_execget.h
-include/udm_ftp.h
-include/udm_getopt.h
-include/udm_guesser.h
-include/udm_hash.h
-include/udm_host.h
-include/udm_hrefs.h
-include/udm_http.h
-include/udm_id3.h
-include/udm_indexcache.h
-include/udm_indexer.h
-include/udm_lex.h
-include/udm_log.h
-include/udm_match.h
-include/udm_mutex.h
-include/udm_parsedate.h
-include/udm_parsehtml.h
-include/udm_parser.h
-include/udm_parsexml.h
-include/udm_prog.h
-include/udm_proto.h
-include/udm_query.h
-include/udm_regex.h
-include/udm_result.h
-include/udm_robots.h
-include/udm_sdp.h
-include/udm_search_tl.h
-include/udm_searchtool.h
-include/udm_server.h
-include/udm_services.h
-include/udm_sgml.h
-include/udm_signals.h
-include/udm_socket.h
-include/udm_spell.h
-include/udm_sqldbms.h
-include/udm_stopwords.h
-include/udm_store.h
-include/udm_synonym.h
-include/udm_template.h
-include/udm_textlist.h
-include/udm_unicode.h
-include/udm_uniconv.h
-include/udm_unidata.h
-include/udm_url.h
-include/udm_utils.h
-include/udm_vars.h
-include/udm_wild.h
-include/udm_word.h
-include/udm_xmalloc.h
-include/udmsearch.h
-lib/libmnogocharset-3.4.so
-lib/libmnogocharset.a
-lib/libmnogocharset.so
-lib/libmnogosearch-3.4.so
-lib/libmnogosearch.a
-lib/libmnogosearch.so
-share/man/man1/indexer.1.gz
-share/man/man5/indexer.conf.5.gz
-@dir /var/mnogosearch