From edd6b54763c71c97f208c2978bc75f033e6aebd2502353763709f755a26a1b33 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 19 Aug 2024 20:25:18 +0000 Subject: [PATCH] [info=401f5142b019416ff5814932f096e849c9853e1cd1ace48c8baf65200cb6dfed] OBS-URL: https://build.opensuse.org/package/show/Application:Geo/mapserver?expand=0&rev=148 --- .gitattributes | 23 ++ .gitignore | 1 + _scmsync.obsinfo | 4 + build.specials.obscpio | 3 + mapserver-8.0.1.tar.gz | 3 + mapserver-rpmlintrc | 17 ++ mapserver.changes | 665 +++++++++++++++++++++++++++++++++++++++++ mapserver.spec | 396 ++++++++++++++++++++++++ 8 files changed, 1112 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _scmsync.obsinfo create mode 100644 build.specials.obscpio create mode 100644 mapserver-8.0.1.tar.gz create mode 100644 mapserver-rpmlintrc create mode 100644 mapserver.changes create mode 100644 mapserver.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo new file mode 100644 index 0000000..5717bbe --- /dev/null +++ b/_scmsync.obsinfo @@ -0,0 +1,4 @@ +mtime: 1709332608 +commit: 401f5142b019416ff5814932f096e849c9853e1cd1ace48c8baf65200cb6dfed +url: https://src.opensuse.org/jengelh/mapserver +revision: master diff --git a/build.specials.obscpio b/build.specials.obscpio new file mode 100644 index 0000000..77ac672 --- /dev/null +++ b/build.specials.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c85945d27036d7b4a23fd3cfa5848ddf30e492c2a85f5cd7d9b675812ae37e4 +size 256 diff --git a/mapserver-8.0.1.tar.gz b/mapserver-8.0.1.tar.gz new file mode 100644 index 0000000..8e46f47 --- /dev/null +++ b/mapserver-8.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79d23595ef95d61d3d728ae5e60850a3dbfbf58a46953b4fdc8e6e0ffe5748ba +size 2950164 diff --git a/mapserver-rpmlintrc b/mapserver-rpmlintrc new file mode 100644 index 0000000..de8be4c --- /dev/null +++ b/mapserver-rpmlintrc @@ -0,0 +1,17 @@ +# for the shared-lib-call-exit here the explanation +# we're not really a library, so no problem here... +# we exit on a failed malloc, which isn't really recoverable anyways +addFilter("mapserver.*: W: shared-lib-calls-exit*") + +# All those binary are sort of mapserv +addFilter("W: no-manual-page-for-binary sortshp") +addFilter("W: no-manual-page-for-binary shptreetst") +addFilter("W: no-manual-page-for-binary shptreevis") +addFilter("W: no-manual-page-for-binary shp2img") +addFilter("W: no-manual-page-for-binary tile4ms") +addFilter("W: no-manual-page-for-binary shptree") +addFilter("W: no-manual-page-for-binary msencrypt") +addFilter("W: no-manual-page-for-binary mapserv") +addFilter("W: no-manual-page-for-binary scalebar") +addFilter("W: no-manual-page-for-binary legend") + diff --git a/mapserver.changes b/mapserver.changes new file mode 100644 index 0000000..c6ce702 --- /dev/null +++ b/mapserver.changes @@ -0,0 +1,665 @@ +------------------------------------------------------------------- +Fri Mar 1 07:34:53 UTC 2024 - Dominique Leuenberger + +- BuildRequire proj-devel instead of the long deprecated name + libproj-devel. + +------------------------------------------------------------------- +Wed Sep 13 16:21:02 UTC 2023 - Dirk Stoecker + +- update to 8.0.1 + * PROJ_DATA set through config option: take into account + possibility of multiple paths separated by ; on Windows or : on + Unix + * Resolve a bunch of memory leaks, integer overflows, nullptr + dereferences, double-frees. + * Allow NULL shapes to be returned in WFS GetFeature requests + * Ensure POINT blocks do not contain too many points + * https://www.mapserver.org/development/changelog/changelog-8-0.html + +------------------------------------------------------------------- +Sat Nov 5 22:40:24 UTC 2022 - Jan Engelhardt + +- Enable PHP8 module build in Tumbleweed again since newer SWIG + is available. New subpackage php-mapscriptng emitted as a result. + [boo#1204736] + +------------------------------------------------------------------- +Sat Oct 8 20:50:04 UTC 2022 - Jan Engelhardt + +- Update to release 8 + * MapServer now requires a config file. To get back mapserver7 + behavior, copy /usr/share/doc/packages/mapserver/mapserver.conf + to mapserver.conf once. + * The shp2img utility has been renamed to map2img + * FlatGeobuf is now supported natively + * Initial OGC API support + * PHP native MapScript has been removed, in place of PHPNG + (SWIG) MapScript, and PHP unit tests have been re-enabled + * New labeling centerline GEOMTRANSFORM method for polygons + * Numerical validation of mapfile entries + * Removed various deprecated mapfile parameters + * New coshp utility to sort shapefile contents as well as sort + the associated qix spatial index. +- Drop mapserver-7.6.1-fix_python_install_path.patch + (no longer applicable) + +------------------------------------------------------------------- +Tue Jul 26 14:54:06 UTC 2022 - Boris Manojlovic + +- re-enable postgresql support... + +------------------------------------------------------------------- +Wed Mar 9 12:06:56 UTC 2022 - Jan Engelhardt + +- Make the package build on current Tumbleweed again: + * Disable PHP bindings (fails to build) + * Disable PostgreSQL (fails to configure) +- Have mapserver-devel require the accompanying library + +------------------------------------------------------------------- +Thu Nov 11 16:38:03 UTC 2021 - Boris Manojlovic + +- update to release 7.6.4 + * PostGIS: fix ST_Intersects() with collections with PostGIS < 2.5. + Fixes https://github.com/MapServer/MapServer/pull/6355#issuecomment-877290417 (Even Rouault) : 3e42e35 + * Check if sizeunits is not set to pixels (Patrik Sylve) : 3688004 + * Change legend symbol scale factor when SIZEUNITS is set to METERS (Patrik Sylve) : 39a4ead + * spatialindex for sqlite sources in filter (Wouter Visscher) : 955d14e + * Make sure requested class with mode=legendicon is not negative. ( #6357 ) (Steve Lime) : 0901b57 + * Updates to CONTRIBUTING.md (Jeff McKenna) : ee6297a + * PostGIS: fix ST_Intersects() with bounding box that is a point (follow-up of fixes #6181 , fixes #6230 ) + (fixes https://github.com/MapServer/MapServer/pull/6347#issuecomment-870002856) (Even Rouault) : 44d5d9c + * WMS: make attribute color binding work with FILTER vendor parameter (fixes #6200 ) (Even Rouault) : 1a98ac7 + * msQueryByFeatures(): avoid potential segfault when reslut set is empty (Even Rouault) : 98ad83a + * PostGIS: use ST_Intersects instead of && for bounding box (fixes #6181 , fixes #6230 ) (Even Rouault) : e2ef155 + * check_single_font(): use quotation mark when msGetGlyphIndex() fails to retrieve the glyph (Even Rouault) : 53ee29e + * msGetGlyphByIndex() / msGetGlyphOutline(): tweak debug/error messages (Even Rouault) : 0bbf943 + * When a font is missing a glyph we try to fallback to using a question mark (Krister Wicksell) : cf4756e + * WFS: fix paging with GPKG/Spatialite datasources and non-point geometries (fixes #6325 ) (Even Rouault) : ce8dc4d + * Fix querymap failure for polygon layers with labels only (no styles) ( #6262 ) (Tamas Szekeres) : 782ee8b + * mapxbase: validate nHeadLen (Max Kellermann) : ee5d5de + * mapshape, mapxbase: fix several memory leaks in error code paths (Max Kellermann) : 5e4c504 + * mapshape: validate numshapes (Max Kellermann) : b5c0e29 + * mapshape: remove useless null terminator (Max Kellermann) : 9755395 + +------------------------------------------------------------------- +Mon May 31 18:33:59 UTC 2021 - Ferdinand Thiessen + +- Update to 7.6.3 + * Security: Address flaw in CGI mapfile loading that makes it + possible to bypass security controls ( CVE-2021-32062 ) + * Fix most of remaining Coverity scan warnings with high priority + * Use CPLSetConfigOption/CPLGetConfigOption for some + CGI/FastCGI-related env vars. + * Require url-based symbol values to be pre-defined. + * Improved initial check on generating reference maps, + avoid crash with label styles + * Fix resource leak and pointObj initialization errors. +- Enable python +- Refresh mapserver-7.6.1-fix_python_install_path.patch + +------------------------------------------------------------------- +Mon Feb 1 13:20:37 UTC 2021 - Jan Engelhardt + +- Update to release 7.6.2 + * Contour layer: take into account nodata value from GDAL raster + * WCS 1.1 and 2.0: fix support of netCDF output + +------------------------------------------------------------------- +Wed Jan 20 01:15:24 UTC 2021 - Jan Engelhardt + +- Drop BuildRequires on binary library packages; this is wrong. +- Drop excessive runtime package requirements. + +------------------------------------------------------------------- +Wed Dec 23 20:07:24 UTC 2020 - Jan Engelhardt + +- Modernize and ready specfile for Factory + +------------------------------------------------------------------- +Tue Sep 8 19:49:30 UTC 2020 - Boris Manojlovic + +- add USE_PROJ to compile flags to enable reprojections (TILE support) + +------------------------------------------------------------------- +Sat Sep 5 09:14:07 UTC 2020 - Boris Manojlovic + +- updated to latest version 7.6.1 +- fix building on opensuse leap 15.X +- added mapserver-7.6.1-fix_python_install_path.patch to fix + python install location defaulting to arch independent location +- a lot of changes between versions please look at: + https://mapserver.org/development/changelog/changelog-7-6.html#changelog-7-6 + and at this location: + https://github.com/mapserver/mapserver/blob/branch-7-6/HISTORY.TXT +- security fixes from older versions: CVE-2020-10872 and CVE-2020-10873 + +------------------------------------------------------------------- +Fri May 17 09:05:04 UTC 2019 - Dirk Stoecker + +- update to version 7.4.0 + * MS RFC 117: PHP 7 MapScript Support Through SWIG + * native support for PHP 7 through mapscript (461f827) + * Fix potential cross-site scripting (XSS) security issue with + [layers] tag + * enhanced support for Python 3 mapscript through SWIG + * Allow compiling with PROJ 6, but full PROJ 6 support will be + included in the future MapServer 8 release (#5766) +- Drop 5461.patch and cmake-3.12.patch included upstream + +------------------------------------------------------------------- +Thu Sep 13 09:28:34 UTC 2018 - Dirk Stoecker + +- update to final release +- Fix build with newer cmake: cmake-3.12.patch + +------------------------------------------------------------------- +Thu Jun 7 11:51:11 UTC 2018 - opensuse@dstoecker.de + +- update to 7.2.0-beta1 to support Leap 15.0 + * Add 5461.patch to support PHP7 + * support python3 + +------------------------------------------------------------------- +Fri Dec 15 08:37:40 UTC 2017 - opensuse@dstoecker.de + +- update to 7.0.7 + +------------------------------------------------------------------- +Wed Apr 5 15:59:16 UTC 2017 - opensuse@dstoecker.de + +- udate to Mapserver 7.0.4, drop all patches + +------------------------------------------------------------------- +Tue Mar 8 07:02:53 UTC 2016 - ralf.habacker@freenet.de + +- Add xxxx-fix-python-mapscript-soversion-install-issue.patch to fix + broken installing of mapscript python module +- Exclude ruby from build for sles11 because of missing ruby dependencies +- Use ruby-common as build dependency instead of outdated ruby-macros + +------------------------------------------------------------------- +Fri Feb 5 14:22:24 UTC 2016 - guillaume@opensuse.org + +- Fix build when 'php_mapscript.so' is only file installed and no + *.so.1 and *.so%{version} (Fix openSUSE 13.1 build) + +------------------------------------------------------------------- +Fri Feb 5 14:10:02 UTC 2016 - guillaume@opensuse.org + +- Add giflib_5.1.0.patch to fix compilation with giflib 5.1.0+ +- Add swig_3.patch to fix compilation with swig 3 + +------------------------------------------------------------------- +Sat Aug 30 18:34:09 UTC 2014 - bruno@ioda-net.ch + +- packaging spec-cleaner +- fixed compilation error with php 5.6.0 + upstream patch 4912-php56-php-input.patch + supported also php 5.5x +- fixed blending tif error + upstream patch 4875-incorrect-blending-tif.patch + +------------------------------------------------------------------- +Sun Mar 30 18:52:41 UTC 2014 - bruno@ioda-net.ch + +- use correct ruby rpm macros + +------------------------------------------------------------------- +Thu Jan 2 20:30:07 UTC 2014 - bruno@ioda-net.ch + +- updated to upstream 6.4.1 + http://mapserver.org/development/changelog/changelog-6-4.html#changelog-6-4-1 + full list of changes in 6.4.1 + +- spec cleaning +- modified patches: + * 4788.patch (upstream issue 4788) SOVERSION in CMakefile + * 4788-php-mapscript patch for php versionning + * 4788-python-mapscript patch for python versionning +- deleted patches: (merged upstream) + * 4791.patch fix lib path install + * 4803.patch fix for force_st2d + +------------------------------------------------------------------- +Mon Nov 18 14:05:34 UTC 2013 - bruno@ioda-net.ch + +- Added Requires proj (missing espg for tools otherwise) +- Added upstream #4803 patch forcest2d + +------------------------------------------------------------------- +Thu Nov 14 15:27:13 UTC 2013 - bruno@ioda-net.ch + +- packaging : fix php mapscript name in mapscript.ini (symlink) +- Added upstream #4788 patch versionning php-mapscript + Fix by removing buggy pre-post script +- /srv/www/cgi-bin/ binaries as symlink to /usr/bin + +------------------------------------------------------------------- +Sun Nov 3 15:28:44 UTC 2013 - tzotsos@opensuse.org + +- Some minor spec cleanup + +------------------------------------------------------------------- +Sat Oct 26 16:28:36 UTC 2013 - bruno@ioda-net.ch + +- packaging fix tab +- packaging fix php-mapscript + rename php_mapscript.so to php_mapscript-%{version}.so + (upstream bug in 6.4.0) + remove post check which remove php_mapscript.so + +------------------------------------------------------------------- +Sun Oct 13 14:33:33 UTC 2013 - bruno@ioda-net.ch + +- Use patch commit 4791 for fixing cmake_install_lib +- split libmapserver to its own package + could be used by mapscript module alone +- add rpmlintrc with explanation for warning removal +- Review licence part, description +- Remove apache2-mod_php5 dependency which block usage on fcgid + fastcgi mode +- Rename all mapscript package to fix naming policy and clarify + what they are +- Added ruby mapscript package +- Make all DWITH extension visible in the spec to be sure about + which one are activated or not + +------------------------------------------------------------------- +Sun Apr 21 22:31:20 UTC 2013 - tzotsos@opensuse.org + +- Updated to v6.4.0 (see + http://mapserver.org/development/changelog/changelog-6-4.html#changelog-6-4-0 + for a detailed description of the changes). +- Switched to CMake + +------------------------------------------------------------------- +Sun Apr 21 22:31:20 UTC 2013 - tzotsos@opensuse.org + +- Updated to v6.2.1 + + * Move #4577 fixes out of libmapserver (2013-04-18 10:55:23 +0200 - Thomas Bonfort) + * Exposed labelObj.text and labelObj.expression in PHP/MapScript (closes #4310) (2013-04-16 13:41:18 +0000 - Alan Boudreault) + * Fixed problems found in the mapfile.xsd while trying to convert current mapfiles into xmlmapfiles (2013-01-30 09:45:41 -0700 - Alex Wells) + * Ensure that msCopyLabel copies expression and text directives (2013-02-20 09:02:56 +0000 - Homme Zwaagstra) + * Updated submodule for #4633 (2013-04-12 18:56:44 +0200 - Thomas Bonfort) + * Update submodule for backported fix of #4633 (2013-04-12 18:32:53 +0200 - Thomas Bonfort) + * OGR WFS output: do not force null integer values to 0 (#4633) (2013-04-12 00:57:27 +0200 - Even Rouault) + * Fix for WMS requests with width and height of 1 (#4629) (2013-04-11 19:30:25 +0200 - Thomas Bonfort) + * Parse key value pairs sent in POST body (#4627) (2013-04-04 12:49:37 +0200 - Martin Kofahl) + * Add a script to run full test suite (build + test run) (2013-04-11 10:22:00 +0200 - Thomas Bonfort) + * update autotest submodule for #4625 and #4624 (2013-04-09 13:17:05 +0200 - Thomas Bonfort) + * Use ows_schemas_location for sld_capabilities ref (#4624) (2013-04-08 20:38:40 -0400 - Tom Kralidis) + * Update msautotests for #4622 (2013-04-08 11:56:34 +0200 - Thomas Bonfort) + * Don’t entity-encode URLs used on attributes: libxml2 does this for us. Refs #4622 (2013-04-05 09:38:25 +0200 - ejn) + * Fix cgi label commands after multi-label changes (#4621) (2013-04-03 13:54:43 +0200 - Thomas Bonfort) + * Ignore additional encodings in received content-type headers (#4585) (2013-03-29 10:22:05 -0400 - Thomas Bonfort) + * Fix PHP building when GD is disabled. Closes #4550 (2013-03-28 16:53:07 -0400 - Thomas Bonfort) + * CAIRO renderer fails to render some truetype symbols (#4616) (2013-03-27 11:34:22 +0100 - szekerest) + * Fix mapfile writer to write SVG symbols (#4607) (2013-03-21 22:05:02 +0100 - szekerest) + * Fix issues with wms_layer_group printing (#4533) (2013-03-04 21:49:36 +0100 - szekerest) + * Write CLASS validation to mapfile (#4596) (2013-03-04 17:06:05 +0100 - Thomas Bonfort) + * Mark disabled layers as processed to prevent from being displayed in nested groups (#4533) (2013-03-03 19:25:25 +0100 - szekerest) + * Don’t write GRATICULE connectiontype (#4165) (2013-02-28 10:20:24 +0100 - Thomas Bonfort) + * Add validation block to copy functions (#4596) (2013-02-27 17:39:39 +0100 - Thomas Bonfort) + * Fix for the segfault with WMS TIME patterns (#3795) (2013-02-22 23:08:36 +0100 - szekerest) + * Fix for the problem with filter when using WMS TIME parameters (#3795) (2013-02-22 21:51:13 +0100 - szekerest) + * Fix for the unsupported geometry type problem (#4591) (2013-02-21 19:38:30 +0100 - szekerest) + * #4528 : support for running mapscript tests without having to install core mapserver (2013-02-14 15:03:09 +0100 - Umberto Nicoletti) + * Fix rectObj/shapeObj draw function rendering when setting text property in mapscript (closes #4577) (2013-02-07 14:38:08 +0000 - Alan Boudreault) + * Fix rectObj->draw fails to render text in php/mapscript (#4577) (2013-02-06 20:57:59 +0000 - Alan Boudreault) + * Fix point->draw() fails when no LABEL defined (closes #4572) (2013-02-06 19:35:21 +0000 - Alan Boudreault) + * Modify msStyleSetGeomTransform to allow removing the transformation (#4580) (2013-02-03 22:13:08 +0100 - szekerest) + * Fix drawmode of rectObj->draw method in PHP/MapScript (2013-01-30 18:50:17 +0000 - Alan Boudreault) + * Modified mapfile.c for ticket #4568. (2013-01-22 12:29:02 -0600 - Steve Lime) + * Reapplied scaledenom fix (2013-01-10 15:52:18 +0000 - Alan Boudreault) + * Fix handling object ownership in msLoadMapFromString (#4551) (2013-01-05 18:43:39 +0100 - szekerest) + * Fix offset calculation for line legend icons (#2636) (2013-01-04 22:31:18 +0100 - szekerest) + * Fix symbolset initialization (#4556) (2013-01-02 22:37:35 +0100 - szekerest) + * Fix getCapabilities on maps with no layers (2012-12-18 20:39:40 +0000 - Jerome Villeneuve Larouche) + * msWMSGetCapabilities will not only check the MAP but every LAYERS. Fix for 4540 (2012-12-17 20:35:48 +0000 - Jerome Villeneuve Larouche) + * Don’t try to project pixel coordinates (#4537) (2012-12-13 12:14:38 +0100 - Martin Kofahl) + * Improve __sync_sub_and_fetch detection #4231 (2012-12-12 17:39:58 +0100 - Umberto Nicoletti) + * Backported pull request #4532: fix for oracle paging bug #4417 (2012-12-12 17:03:21 +0100 - Umberto Nicoletti) + * Suffix php mapscript lib with version number (#4525) (2012-12-11 11:35:02 +0100 - Thomas Bonfort) + * Fix proj version check (#4526) (2012-12-11 10:57:03 +0100 - Thomas Bonfort) + * Fix order of wms