git: 6eb77efefa31 - main - databases/tsearch_extras: remove port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Jun 2024 16:47:05 UTC
The branch main has been updated by rm: URL: https://cgit.FreeBSD.org/ports/commit/?id=6eb77efefa314d0a502c267bc6b1acec961cd224 commit 6eb77efefa314d0a502c267bc6b1acec961cd224 Author: Ruslan Makhmatkhanov <rm@FreeBSD.org> AuthorDate: 2024-06-12 16:44:16 +0000 Commit: Ruslan Makhmatkhanov <rm@FreeBSD.org> CommitDate: 2024-06-12 16:44:16 +0000 databases/tsearch_extras: remove port This was added some time ago when I tried to port Zulip (and failed), so it has no use in ports repository alone. And now Zulip itself stopped using of this package, so it has no use at all. Upstream repo was archived. See [1] [1] https://github.com/zulip/tsearch_extras/issues/7 --- MOVED | 1 + databases/tsearch_extras/Makefile | 25 ---------------------- databases/tsearch_extras/distinfo | 3 --- .../tsearch_extras/files/patch-tsearch_extras.c | 24 --------------------- databases/tsearch_extras/pkg-descr | 2 -- 5 files changed, 1 insertion(+), 54 deletions(-) diff --git a/MOVED b/MOVED index 7eab23916bde..fe723cddb7c5 100644 --- a/MOVED +++ b/MOVED @@ -3301,3 +3301,4 @@ audio/rebot3||2024-06-11|Has expired: Depends on legacy service/protocol that's net/nepenthes||2024-06-11|Has expired: Abandonware, last update in 2008 and upstream is gone sysutils/hploscripts||2024-06-11|Has expired: Abandonware, outdated version databases/galera|databases/galera26|2024-06-11|Has expired: Does not build. Superseded by galera26 +databases/tsearch_extras||2024-06-12|Has no consumer both in ports and upstream project diff --git a/databases/tsearch_extras/Makefile b/databases/tsearch_extras/Makefile deleted file mode 100644 index 97f696c85d68..000000000000 --- a/databases/tsearch_extras/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -PORTNAME= tsearch_extras -PORTVERSION= 0.3 -PORTREVISION= 2 -CATEGORIES= databases - -MAINTAINER= rm@FreeBSD.org -COMMENT= Functions for getting lower-level data about full text search -WWW= https://github.com/zulip/tsearch_extras - -LICENSE= PostgreSQL -LICENSE_FILE= ${WRKSRC}/COPYRIGHT - -USES= gmake pgsql -LLD_UNSAFE= yes -USE_GITHUB= yes -GH_ACCOUNT= zulip - -PLIST_FILES= lib/postgresql/tsearch_extras.so \ - share/postgresql/extension/tsearch_extras--1.0.sql \ - share/postgresql/extension/tsearch_extras.control - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/tsearch_extras.so - -.include <bsd.port.mk> diff --git a/databases/tsearch_extras/distinfo b/databases/tsearch_extras/distinfo deleted file mode 100644 index 1973f6ab9022..000000000000 --- a/databases/tsearch_extras/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1525257515 -SHA256 (zulip-tsearch_extras-0.3_GH0.tar.gz) = 5bf3bd1a3b6b8dbee636e69177ca980315f6d5bce69d3c10020e65daedb6d2e3 -SIZE (zulip-tsearch_extras-0.3_GH0.tar.gz) = 4666 diff --git a/databases/tsearch_extras/files/patch-tsearch_extras.c b/databases/tsearch_extras/files/patch-tsearch_extras.c deleted file mode 100644 index 67bd72c63ed3..000000000000 --- a/databases/tsearch_extras/files/patch-tsearch_extras.c +++ /dev/null @@ -1,24 +0,0 @@ - -Upstream patch for building with PostgreSQL 10.x -https://github.com/zulip/tsearch_extras/issues/3 - -diff --git a/tsearch_extras.c b/tsearch_extras.c -index 062dcdb..7464c71 100644 ---- tsearch_extras.c -+++ tsearch_extras.c -@@ -77,9 +77,15 @@ ts_match_locs_setup(Oid cfgId, TsMatchesData *mdata, text* in, TSQuery query) - - hlparsetext(cfgId, &prs, query, VARDATA(in), VARSIZE(in) - VARHDRSZ); - -+ #if PG_VERSION_NUM >= 100000 -+ headline_options = lappend(headline_options, -+ makeDefElem(pstrdup("HighlightAll"), -+ (Node *) makeString(pstrdup("1")), -1)); -+ #else - headline_options = lappend(headline_options, - makeDefElem(pstrdup("HighlightAll"), - (Node *) makeString(pstrdup("1")))); -+ #endif - - FunctionCall3(&(prsobj->prsheadline), - PointerGetDatum(&prs), diff --git a/databases/tsearch_extras/pkg-descr b/databases/tsearch_extras/pkg-descr deleted file mode 100644 index 3d2a10719c50..000000000000 --- a/databases/tsearch_extras/pkg-descr +++ /dev/null @@ -1,2 +0,0 @@ -The package provides a few PostgreSQL functions that allow you to get at -lower-level data about full text search.