From nobody Tue Apr 30 20:26:35 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VTWtz5Kpzz5Js0h; Tue, 30 Apr 2024 20:26:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VTWtz4pHKz4NBL; Tue, 30 Apr 2024 20:26:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714508795; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CW9tfSeQpKDysBfw3j7c0fiJtXSYy6XeYKFJZ2AUI/s=; b=TjMPRNkgqJ9qgz4yUCSpAR+WFmDzxwh+mX5LLHRsdw21T2JrVY+POI6rPLhXdSesLY0lYh VSNTqDIi4f3jNHf2MCR2IdZiy40+ZAJcJvNQhcTQTrIUN7sGxlqnCsWxXTscnCeyf9Jx9a 3TBR2hxGRb5HgIv3D4cfQy/cq6l0kmvV5iIvmFt+4yzJWxZ8JXshtwrS2jCV5cUmvXaHKP n8zUv7d8+wSlyWhMiglzu+fVd8N7ssb8Zh+OkKOTS12/wa6KIkPIWelVzJU+zdyfgT618v opTbW3hWtY/yfCF+lBuApP4pZ98m4by3AS8Sj0brByAJLY0XstBWb6FRh7OD6g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714508795; a=rsa-sha256; cv=none; b=Ru4CPqBF77I6LEDb963d9SeXsPRo9krMYDM9LCZk+DmM044FyiGVSWFqftJWWfrxPoM4T6 pgRkMsXtMMo5CxrqLdQh2kDYR24rRc5uNZEsMG2Pc8jS37I2Xfn+/DanYg0d4A/c6iQ6vs ufLL/7KL4R5DQiqDf9j2w08hn6A6L3fbm4CAFWPCGYnnboZ7qbqKWB5aX6uq6XwxOrWwA0 yu0V8JyXjrD9mEa3+X4sTB0GVOVqYyUJTzhU2suBaCTqsO0Lfz3D8y0Q9HTB9+bNKaa6zD D/EiMCCvoIEO3lNlfcc4iaAEA9IFDb4LbnfvWfO+2jiP7e5nnbD7iG8RrDkNRg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714508795; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CW9tfSeQpKDysBfw3j7c0fiJtXSYy6XeYKFJZ2AUI/s=; b=yX/QFRjaf3k/OIUzAlauF00Zur1U8bx1sixpGhoZwSg2LWK4oGJkAKm0L61Zy8mHzGWeVl Ia3cO+QpI2FATosx7sMHXUc4VWXFNqUdCtBXnFyeC8rXOxcAIRgYak1T+l9Mu6FL45E3eH XJal/n/cqJ5vGfhxw2F2OGRLTIbgMIs0zlr4SprbVNp6viz3/kr5vkOcl8oCP/E+dESir/ FnLRjZPkzJNYrF/BW+CigtCYxUsyhS6do7RZKtsy4/+ZcmaU0zhoGxG2oQrffezLZl/Ix7 mixICUMfJ7IfXM84m07EGjEpsXFhqpWzc4x/m4/oRBvOlR4tg3xNY1WUqy4I9w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VTWtz4P5jzq92; Tue, 30 Apr 2024 20:26:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43UKQZQU011858; Tue, 30 Apr 2024 20:26:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43UKQZHS011855; Tue, 30 Apr 2024 20:26:35 GMT (envelope-from git) Date: Tue, 30 Apr 2024 20:26:35 GMT Message-Id: <202404302026.43UKQZHS011855@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rene Ladan Subject: git: 1a0dbc7183d5 - main - databases/pgsphere: Remove expired port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rene X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1a0dbc7183d57b08fc54d46ec9d3a361bb042505 Auto-Submitted: auto-generated The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=1a0dbc7183d57b08fc54d46ec9d3a361bb042505 commit 1a0dbc7183d57b08fc54d46ec9d3a361bb042505 Author: Rene Ladan AuthorDate: 2024-04-30 20:26:29 +0000 Commit: Rene Ladan CommitDate: 2024-04-30 20:26:29 +0000 databases/pgsphere: Remove expired port 2024-04-30 databases/pgsphere: The repository has been archived by the owner on 2023-08-09 and is inactive for almost 4.5 years --- MOVED | 1 + databases/Makefile | 1 - databases/pgsphere/Makefile | 40 ----------------------- databases/pgsphere/distinfo | 3 -- databases/pgsphere/files/patch-path.c | 25 --------------- databases/pgsphere/files/patch-polygon.c | 54 -------------------------------- databases/pgsphere/pkg-descr | 2 -- databases/pgsphere/pkg-plist | 5 --- 8 files changed, 1 insertion(+), 130 deletions(-) diff --git a/MOVED b/MOVED index 446bde4b4723..e9e4cb096b56 100644 --- a/MOVED +++ b/MOVED @@ -3207,3 +3207,4 @@ x11-toolkits/p5-Tk-FileDialog||2024-04-30|Has expired: Does not work with recent www/py-django-dpaste||2024-04-30|Has expired dns/bind916|dns/bind918|2024-04-30|Has expired: End of life, please migrate to a newer version of BIND9 devel/rubygem-ruby_dep||2024-04-30|Has expired: Upstream official support to Ruby 2.x only and is inactive for 7.5 years. And there is no dependent ports +databases/pgsphere||2024-04-30|Has expired: The repository has been archived by the owner on 2023-08-09 and is inactive for almost 4.5 years diff --git a/databases/Makefile b/databases/Makefile index 5f97c2795586..3cbc1d002bf1 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -574,7 +574,6 @@ SUBDIR += pgroonga SUBDIR += pgrouting SUBDIR += pgsanity - SUBDIR += pgsphere SUBDIR += pgtcl SUBDIR += pgtop SUBDIR += pguri diff --git a/databases/pgsphere/Makefile b/databases/pgsphere/Makefile deleted file mode 100644 index a1e28cb09d78..000000000000 --- a/databases/pgsphere/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -PORTNAME= pgsphere -PORTVERSION= 1.1.5 -PORTREVISION= 4 -CATEGORIES= databases geography - -MAINTAINER= sunpoet@FreeBSD.org -COMMENT= Spherical data types, functions, and operators for PostgreSQL -WWW= https://pgsphere.github.io/ - -LICENSE= BSD3CLAUSE -LICENSE_FILE= ${WRKSRC}/COPYRIGHT.pg_sphere - -DEPRECATED= The repository has been archived by the owner on 2023-08-09 and is inactive for almost 4.5 years -EXPIRATION_DATE=2024-04-30 - -OPTIONS_DEFINE= DOCS - -USES= gmake pgsql -LLD_UNSAFE= yes -USE_LDCONFIG= yes -MAKE_ARGS= PG_CONFIG=${LOCALBASE}/bin/pg_config USE_PGXS=1 \ - docdir=${DOCSDIR} \ - install_bin=/usr/bin/install -TEST_TARGET= installcheck - -DATADIR= ${PREFIX}/share/postgresql -DOCSDIR?= ${PREFIX}/share/doc/postgresql - -GH_TAGNAME= e0b303d -USE_GITHUB= yes - -DOCS_MAKE_ARGS_OFF= DOCS="" - -post-patch: - @${REINPLACE_CMD} -e 's|int4|int32|g' ${WRKSRC}/line.c ${WRKSRC}/line.h - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pg_sphere.so - -.include diff --git a/databases/pgsphere/distinfo b/databases/pgsphere/distinfo deleted file mode 100644 index 100084f2a129..000000000000 --- a/databases/pgsphere/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1599860707 -SHA256 (pgsphere-pgsphere-1.1.5-e0b303d_GH0.tar.gz) = 8a96e9ec6d44d25aab4f8fdc17a914d39a85e5aeba42f609db63762f6f4c963d -SIZE (pgsphere-pgsphere-1.1.5-e0b303d_GH0.tar.gz) = 458817 diff --git a/databases/pgsphere/files/patch-path.c b/databases/pgsphere/files/patch-path.c deleted file mode 100644 index c4f4e14171c8..000000000000 --- a/databases/pgsphere/files/patch-path.c +++ /dev/null @@ -1,25 +0,0 @@ ---- path.c.orig 2019-10-30 10:18:38 UTC -+++ path.c -@@ -513,13 +513,21 @@ spherepath_in(PG_FUNCTION_ARGS) - nelem = get_path_count(); - if (nelem > 1) - { -- SPoint arr[nelem]; -+ SPoint* arr = (SPoint*)malloc(nelem*sizeof(SPoint)); -+ if (arr == NULL) { -+ reset_buffer(); -+ elog(ERROR, "spherepath_in: could not allocate array"); -+ PG_RETURN_NULL(); -+ } - - for (i = 0; i < nelem; i++) - { - get_path_elem(i, &arr[i].lng, &arr[i].lat); - } - path = spherepath_from_array(&arr[0], nelem); -+ -+ //free array -+ free(arr); - } - else - { diff --git a/databases/pgsphere/files/patch-polygon.c b/databases/pgsphere/files/patch-polygon.c deleted file mode 100644 index 15ff051fe439..000000000000 --- a/databases/pgsphere/files/patch-polygon.c +++ /dev/null @@ -1,54 +0,0 @@ ---- polygon.c.orig 2019-10-30 10:18:38 UTC -+++ polygon.c -@@ -824,13 +824,21 @@ spherepoly_in(PG_FUNCTION_ARGS) - nelem = get_path_count(); - if (nelem > 2) - { -- SPoint arr[nelem]; -+ // allocate arr -+ SPoint* arr = (SPoint *)malloc(nelem * sizeof(SPoint)); -+ if (arr == NULL) { -+ reset_buffer(); -+ elog(ERROR, "spherepoly_in: Could not allocate array."); -+ PG_RETURN_NULL(); -+ } - - for (i = 0; i < nelem; i++) - { - get_path_elem(i, &arr[i].lng, &arr[i].lat); - } - poly = spherepoly_from_array(&arr[0], nelem); -+ // free allocated array -+ free(arr); - } - else - { -@@ -892,11 +900,17 @@ spherepoly_area(PG_FUNCTION_ARGS) - { - SPOLY *poly = PG_GETARG_SPOLY(0); - int32 i; -- SPoint s[poly->npts + 2]; -+ SPoint *s = (SPoint*)malloc((poly->npts+2)*sizeof(SPoint)); -+ //SPoint s[poly->npts + 2]; - SPoint stmp[2]; - SEuler se; - float8 sum = 0.0; - -+ if (s == NULL) { -+ elog(ERROR, "spherepoly_area: Could not allocate array."); -+ PG_RETURN_NULL(); -+ } -+ - memcpy((void *) &s[1], - (void *) &poly->p[0], - poly->npts * sizeof(SPoint)); -@@ -935,6 +949,9 @@ spherepoly_area(PG_FUNCTION_ARGS) - { - sum = 0.0; - } -+ -+ // free array -+ free(s); - - PG_RETURN_FLOAT8(sum); - } diff --git a/databases/pgsphere/pkg-descr b/databases/pgsphere/pkg-descr deleted file mode 100644 index 0de10b9db1ec..000000000000 --- a/databases/pgsphere/pkg-descr +++ /dev/null @@ -1,2 +0,0 @@ -PgSphere provides spherical data types, functions, operators, and indexing for -PostgreSQL. diff --git a/databases/pgsphere/pkg-plist b/databases/pgsphere/pkg-plist deleted file mode 100644 index e3ddebbcb6fd..000000000000 --- a/databases/pgsphere/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -lib/postgresql/pg_sphere.so -%%PORTDOCS%%%%DOCSDIR%%/extension/COPYRIGHT.pg_sphere -%%PORTDOCS%%%%DOCSDIR%%/extension/README.pg_sphere -%%DATADIR%%/extension/pg_sphere--1.0.sql -%%DATADIR%%/extension/pg_sphere.control