Bug 264913

Summary: [NEWPORT] databases/postgis33
Product: Ports & Packages Reporter: Darcy Buskermolen <darcy>
Component: Individual Port(s)Assignee: Loïc Bartoletti <lbartoletti>
Status: Closed FIXED    
Severity: Affects Many People CC: darcy, lbartoletti, lwhsu
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Initial patch for new postgis33 port
none
postgis33 3.3.0 RELEASE
none
postgis-3.3.0.diff none

Description Darcy Buskermolen 2022-06-26 18:03:38 UTC
Place holder for upcoming PostGIS 3.3 release Currently in alpha1 stages.

https://postgis.net/2022/05/21/postgis-3.3.0alpha1/
Comment 1 Darcy Buskermolen 2022-06-27 11:52:28 UTC
Created attachment 234971 [details]
Initial patch for new postgis33 port
Comment 2 Loïc Bartoletti freebsd_committer freebsd_triage 2022-07-01 13:17:23 UTC
Thanks, there are problems with the patch:

CONFLICTS_INSTALL add postgis32 (and add postgis33 to other versions)
pkg-plist you have removed %%OPTION_NAME%%, you have to reinstate them otherwise the package cannot be built.
Comment 3 Darcy Buskermolen 2022-09-03 12:39:19 UTC
Created attachment 236332 [details]
postgis33 3.3.0 RELEASE

Patch updated to reflect 3.3.0 RELEASE
Comment 4 Darcy Buskermolen 2022-09-03 12:55:15 UTC
(In reply to Loïc Bartoletti from comment #2)
New patch updates to address the concerns pointed out, as well as move to 3.3.0 RELEASE
Comment 5 Loïc Bartoletti freebsd_committer freebsd_triage 2022-09-07 05:57:21 UTC
(In reply to darcy from comment #4)
The patch does not apply. You have to generate it from the main branch (currently there is no databases/postgis33).

Assuming the FreeBSD original repo is origin with the main branch, you must rebase (and optionally resolve conflicts):

git pull --rebase origin main

and generate the diff from origin/main:

git diff origin/main > postgis-3.3.0.diff

Thanks
Comment 6 Darcy Buskermolen 2022-09-07 10:30:29 UTC
(In reply to Loïc Bartoletti from comment #5)
it should work fine if you apply both the initial patch and then the RELEASE patch
Comment 7 Loïc Bartoletti freebsd_committer freebsd_triage 2022-09-15 16:13:14 UTC
(In reply to darcy from comment #6)

Nope, can you create a new patch with the commands listed above?
Comment 8 Darcy Buskermolen 2022-09-18 22:01:31 UTC
Created attachment 236677 [details]
postgis-3.3.0.diff

respin of patch as per request
Comment 9 commit-hook freebsd_committer freebsd_triage 2022-09-19 19:55:04 UTC
A commit in branch main references this bug:

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

commit 0e65f0624cd1e67507a3de7adae0859b6462472c
Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2022-09-19 19:45:50 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2022-09-19 19:53:14 +0000

    databases/postgis33: Add new port

    Release notes:
    - https://postgis.net/2022/08/27/postgis-3.3.0-released/
    - https://postgis.net/2022/09/10/postgis-3.3.1/

    PR:             264913
    Reported by:    darcy@dbitech.ca

 databases/Makefile                  |   1 +
 databases/postgis33/Makefile (new)  |  87 +++++
 databases/postgis33/distinfo (new)  |   3 +
 databases/postgis33/pkg-descr (new) |  13 +
 databases/postgis33/pkg-plist (new) | 742 ++++++++++++++++++++++++++++++++++++
 5 files changed, 846 insertions(+)
Comment 10 Loïc Bartoletti freebsd_committer freebsd_triage 2022-09-19 19:55:33 UTC
Committed, with minor changes, and upgraded to 3.3.1.

Many thanks!