Compare commits

..

1 Commits

Author SHA1 Message Date
9d0df60dda import CS postgis-3.5.3-3.module_el9+1265+61707298 2025-09-25 07:59:40 +00:00
11 changed files with 11 additions and 3392 deletions

View File

@ -1 +0,0 @@
1

53
.gitignore vendored
View File

@ -1,51 +1,2 @@
/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.5.3-en.pdf
SOURCES/postgis-3.5.3.tar.gz

2
.postgis.metadata Normal file
View File

@ -0,0 +1,2 @@
2348bee25650f10bd0705071a999f34d403c2358 SOURCES/postgis-3.5.3-en.pdf
38092e1182a717816c56c18d63f6ed455669f807 SOURCES/postgis-3.5.3.tar.gz

View File

@ -19,7 +19,7 @@
Name: postgis
Version: 3.5.3
Release: 5%{?dist}
Release: 3%{?dist}
Summary: Geographic Information Systems Extensions to PostgreSQL
License: GPL-2.0-or-later
@ -317,15 +317,8 @@ strip %{buildroot}/%{_libdir}/gcj/%{name}/*.jar.so
%endif
%if %utils
pushd utils
install -d %{buildroot}%{_datadir}/%{name}
install -m 755 create_*.pl repo_revision.pl \
%{name}_restore.pl read_scripts_version.pl \
%if 0%{?fedora}
profile_intersects.pl test_*.pl \
%endif
%{buildroot}%{_datadir}/%{name}
popd
install -m 755 utils/*.pl %{buildroot}%{_datadir}/%{name}
%endif
find %buildroot \( -name '*.la' -or -name '*.a' \) -delete
@ -451,19 +444,16 @@ fi
%doc utils/README
%dir %{_datadir}/%{name}/
%doc %{_datadir}/doc/pgsql/extension/README.address_standardizer
%{_datadir}/%{name}/test_estimation.pl
%{_datadir}/%{name}/profile_intersects.pl
%{_datadir}/%{name}/test_joinestimation.pl
%{_datadir}/%{name}/create_extension_unpackage.pl
%{_datadir}/%{name}/create_or_replace_to_create.pl
%{_datadir}/%{name}/create_upgrade.pl
%{_datadir}/%{name}/%{name}_restore.pl
%{_datadir}/%{name}/read_scripts_version.pl
%if 0%{?fedora}
# requires perl(Pg)
%{_datadir}/%{name}/profile_intersects.pl
%{_datadir}/%{name}/test_estimation.pl
%{_datadir}/%{name}/test_geography_estimation.pl
%{_datadir}/%{name}/test_geography_joinestimation.pl
%{_datadir}/%{name}/test_joinestimation.pl
%endif
%{_datadir}/%{name}/create_or_replace_to_create.pl
%{_datadir}/%{name}/create_upgrade.pl
%endif
@ -472,13 +462,6 @@ fi
%changelog
* Tue Nov 18 2025 Nikola Davidova <ndavidov@redhat.com> - 3.5.3-5
- Rebuild for adding tmt metadata
* Wed Nov 12 2025 Nikola Davidova <ndavidov@redhat.com> - 3.5.3-4
- Avoid perl(Pg) dependency on RHEL,
from the Fedora spec change from yselkowi@redhat.com
* Tue Jul 29 2025 Sandro Mani <manisandro@gmail.com> - 3.5.3-3
- Rebuild (gdal)

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