Compare commits

..

1 Commits

Author SHA1 Message Date
AlmaLinux RelEng Bot
0e0ceb96cd import CS postgis-3.6.1-1.module_el9+1300+1c4aa8df 2026-04-16 06:55:28 -04:00
11 changed files with 22 additions and 3377 deletions

View File

@ -1 +0,0 @@
1

52
.gitignore vendored
View File

@ -1,51 +1 @@
/postgis-2.5.3.tar.gz
/postgis-3.0.0.pdf
/postgis-3.0.0.tar.gz
/postgis-3.0.1.tar.gz
/postgis-3.0.1.pdf
/postgis-2.5.4.tar.gz
/postgis-3.0.2.pdf
/postgis-3.0.2.tar.gz
/postgis-2.5.5.tar.gz
/postgis-3.0.3.tar.gz
/postgis-3.0.3.pdf
/postgis-3.1.0.pdf
/postgis-3.1.0.tar.gz
/postgis-3.1.1.tar.gz
/postgis-3.1.1.pdf
/postgis-3.1.2.tar.gz
/postgis-3.1.2.pdf
/postgis-3.1.3.pdf
/postgis-3.1.3.tar.gz
/postgis-3.1.4.pdf
/postgis-3.1.4.tar.gz
/postgis-3.2.0.pdf
/postgis-3.2.0.tar.gz
/postgis-3.2.1.pdf
/postgis-3.2.1.tar.gz
/postgis-3.2.2.tar.gz
/postgis-3.2.2.pdf
/postgis-3.3.1.tar.gz
/postgis-3.3.1.pdf
/postgis-3.3.2.tar.gz
/postgis-3.3.2.pdf
/postgis-3.3.3.pdf
/postgis-3.3.3.tar.gz
/postgis-3.3.4.pdf
/postgis-3.3.4.tar.gz
/postgis-3.4.0-en.pdf
/postgis-3.4.0.tar.gz
/postgis-3.4.1.tar.gz
/postgis-3.4.1-en.pdf
/postgis-3.4.2-en.pdf
/postgis-3.4.2.tar.gz
/postgis-3.4.3-en.pdf
/postgis-3.4.3.tar.gz
/postgis-3.5.0-en.pdf
/postgis-3.5.0.tar.gz
/postgis-3.5.1-en.pdf
/postgis-3.5.1.tar.gz
/postgis-3.5.2-en.pdf
/postgis-3.5.2.tar.gz
/postgis-3.5.3-en.pdf
/postgis-3.5.3.tar.gz
SOURCES/postgis-3.6.1.tar.gz

1
.postgis.metadata Normal file
View File

@ -0,0 +1 @@
d560ab14fee5af4bc7e554b2ec45d4ce4a6ce0cf SOURCES/postgis-3.6.1.tar.gz

View File

@ -5,10 +5,11 @@
%{!?upgrade_prev:%global upgrade_prev 0}
%{!?runselftest:%global runselftest 1}
%{!?llvmjit:%global llvmjit 0}
%{!?raster:%global raster 0}
%global __requires_exclude ^perl\\(Pg\\)$
%global majorversion 3.5
%global majorversion 3.6
%global soversion 3
%global prevmajorversion 2.5
%global prevversion %{prevmajorversion}.5
@ -18,14 +19,13 @@
%global __provides_exclude_from %{_libdir}/pgsql
Name: postgis
Version: 3.5.3
Release: 5%{?dist}
Version: 3.6.1
Release: 1%{?dist}
Summary: Geographic Information Systems Extensions to PostgreSQL
License: GPL-2.0-or-later
URL: https://www.postgis.net
Source0: https://download.osgeo.org/%{name}/source/%{name}-%{version}.tar.gz
Source2: https://download.osgeo.org/%{name}/docs/%{name}-%{version}-en.pdf
%if %upgrade_prev
Source3: https://download.osgeo.org/%{name}/source/%{name}-%{prevversion}.tar.gz
@ -61,7 +61,8 @@ BuildRequires: perl-generators
BuildRequires: postgresql-server-devel
BuildRequires: proj-devel >= 5.2.0
BuildRequires: protobuf-c-devel
BuildRequires: CUnit-devel
BuildRequires: perl-Time-HiRes
%if %upgrade
BuildRequires: postgresql-upgrade-devel
%endif
@ -189,11 +190,13 @@ cd %{name}-%{prevversion}
%endif
)
%endif
cp -p %{SOURCE2} .
%build
%configure %configure_opts --with-pgconfig=%{_bindir}/pg_server_config \
%if ! %raster
--without-raster \
%endif
%if %llvmjit
--with-llvm \
%endif
@ -364,13 +367,17 @@ fi
%{_datadir}/pgsql/extension/address_standardizer*.sql
%{_datadir}/pgsql/extension/address_standardizer*.control
%{_datadir}/pgsql/extension/postgis-*.sql
%if %raster
%{_datadir}/pgsql/extension/postgis_raster*.sql
%endif
%if 0%{?fedora}
%{_datadir}/pgsql/extension/postgis_sfcgal*.sql
%endif
%{_datadir}/pgsql/extension/postgis_topology*.sql
%{_datadir}/pgsql/extension/postgis.control
%if %raster
%{_datadir}/pgsql/extension/postgis_raster.control
%endif
%if 0%{?fedora}
%{_datadir}/pgsql/extension/postgis_sfcgal.control
%endif
@ -383,7 +390,9 @@ fi
%{_datadir}/postgis/create_uninstall.pl
%{_datadir}/postgis/repo_revision.pl
%{_libdir}/pgsql/address_standardizer-%{soversion}.so
%if %raster
%{_libdir}/pgsql/postgis_raster-%{soversion}.so
%endif
%if 0%{?fedora}
%{_libdir}/pgsql/postgis_sfcgal-%{soversion}.so
%endif
@ -393,7 +402,9 @@ fi
%{_bindir}/postgis
%{_bindir}/postgis_restore
%{_bindir}/pgsql2shp
%if %raster
%{_bindir}/raster2pgsql
%endif
%{_bindir}/shp2pgsql
%{_bindir}/pgtopo_export
%{_bindir}/pgtopo_import
@ -468,12 +479,12 @@ fi
%files docs
%doc postgis*.pdf
%changelog
* Tue Nov 18 2025 Nikola Davidova <ndavidov@redhat.com> - 3.5.3-5
- Rebuild for adding tmt metadata
* Tue Nov 18 2025 Filip Janus <fjanus@redhat.com> - 3.6.1-1
- Update to 3.6.1
- Initial import for postgresql18
* Wed Nov 12 2025 Nikola Davidova <ndavidov@redhat.com> - 3.5.3-4
- Avoid perl(Pg) dependency on RHEL,

1
ci.fmf
View File

@ -1 +0,0 @@
resultsdb-testcase: separate

View File

@ -1,7 +0,0 @@
# RHEL
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-public.functional}

View File

@ -1,8 +0,0 @@
summary: Public Tier1 tests plan
discover:
how: fmf
filter: 'tier: 1'
url: https://gitlab.com/redhat/centos-stream/tests/postgis
execute:
how: tmt

View File

@ -1,17 +0,0 @@
Include <math.h> for isnan. This avoids an implicit function
declaration and a build failure with future compilers.
Submitted upstream: <https://github.com/postgis/postgis/pull/725>
diff -ur postgis-3.3.2.orig/loader/shp2pgsql-core.c postgis-3.3.2/loader/shp2pgsql-core.c
--- postgis-3.3.2.orig/loader/shp2pgsql-core.c 2022-11-13 08:09:23.000000000 +0100
+++ postgis-3.3.2/loader/shp2pgsql-core.c 2023-04-09 22:01:46.377934865 +0200
@@ -15,6 +15,8 @@
#include "../postgis_config.h"
+#include <math.h> /* for isnan */
+
#include "shp2pgsql-core.h"
#include "../liblwgeom/liblwgeom.h"
#include "../liblwgeom/lwgeom_log.h" /* for LWDEBUG macros */

View File

@ -1,54 +0,0 @@
commit ae53a53246ccb26a6e82fede1a4184b41bcf097d
Author: Regina Obe <lr@pcorp.us>
Date: Sat Feb 19 00:21:01 2022 -0500
Fix PG 15 building atoi removed. References #5100 for PostGIS 3.3.0
diff -ur postgis-3.3.2.orig/postgis-2.5.5/postgis/gserialized_typmod.c postgis-3.3.2/postgis-2.5.5/postgis/gserialized_typmod.c
--- postgis-3.3.2.orig/postgis-2.5.5/postgis/gserialized_typmod.c 2023-04-09 21:52:47.909294055 +0200
+++ postgis-3.3.2/postgis-2.5.5/postgis/gserialized_typmod.c 2023-04-09 21:55:24.744826310 +0200
@@ -35,7 +35,7 @@
#include "utils/elog.h"
#include "utils/array.h"
-#include "utils/builtins.h" /* for pg_atoi */
+#include "utils/builtins.h" /* for cstring_to_text */
#include "lib/stringinfo.h" /* For binary input */
#include "catalog/pg_type.h" /* for CSTRINGOID */
@@ -267,8 +267,33 @@
}
if ( i == 1 ) /* SRID */
{
- int srid = pg_atoi(DatumGetCString(elem_values[i]),
- sizeof(int32), '\0');
+ char *int_string = DatumGetCString(elem_values[i]);
+ char *endp;
+ long l;
+ int32_t srid;
+
+ errno = 0;
+ l = strtol(int_string, &endp, 10);
+
+ if (int_string == endp)
+ ereport(ERROR,
+ (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
+ errmsg("invalid input syntax for type %s: \"%s\"",
+ "integer", int_string)));
+
+ if (errno == ERANGE || l < INT_MIN || l > INT_MAX)
+ ereport(ERROR,
+ (errcode(ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE),
+ errmsg("value \"%s\" is out of range for type %s", int_string,
+ "integer")));
+
+ if (*endp != '\0')
+ ereport(ERROR,
+ (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
+ errmsg("invalid input syntax for type %s: \"%s\"",
+ "integer", int_string)));
+
+ srid = clamp_srid(l);
srid = clamp_srid(srid);
POSTGIS_DEBUGF(3, "srid: %d", srid);
if ( srid != SRID_UNKNOWN )

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +0,0 @@
SHA512 (postgis-3.5.3-en.pdf) = 69e162ea657a3bce2fb139ebeb9bd212ac646cb83027345eab9677609160a365d3ecdaa2995eb494054fc4667016a069afdbdbbd1cc56ff407fac05fd8306fa0
SHA512 (postgis-3.5.3.tar.gz) = c27f57f0dbf3938648fe16dcaaff28530de6a51c13c481cb78163a51a292f3d77620485cd31e79cd01be675b5dca97129c50c562f68d6d864c822ea7359d754f