Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Troy Dawson
0f35b19915 Merge branch 'epel9' into epel8 2023-02-09 13:26:12 -08:00
Troy Dawson
f6713fbd41 Backport fix for CVE-2022-0699 (#2054306) 2023-02-09 12:35:05 -08:00
Troy Dawson
04ac508b82 remove package.cfg per new epel-playground policy 2020-09-24 17:54:08 +00:00
Troy Dawson
ef174614a1 Merge branch f30 into epel8 2019-08-01 08:25:31 -07:00
Gwyn Ciesla
a0cf6d94e5 "Adding package.cfg file" 2019-07-31 10:33:42 -05:00
2 changed files with 18 additions and 2 deletions

View file

@ -0,0 +1,11 @@
diff -rupN --no-dereference shapelib-1.5.0/contrib/shpsort.c shapelib-1.5.0-new/contrib/shpsort.c
--- shapelib-1.5.0/contrib/shpsort.c 2004-07-06 23:23:17.000000000 +0200
+++ shapelib-1.5.0-new/contrib/shpsort.c 2022-03-02 13:35:48.322878882 +0100
@@ -279,7 +279,6 @@ static char ** split(const char *arg, co
free(result[--i]);
}
free(result);
- free(copy);
return NULL;
}
result = tmp;

View file

@ -2,7 +2,7 @@
Name: shapelib
Version: 1.5.0
Release: 5%{?pre:.%pre}%{?dist}
Release: 12%{?pre:.%pre}%{?dist}
Summary: C library for handling ESRI Shapefiles
# The core library is dual-licensed LGPLv2 or MIT.
# Some contributed files have different licenses:
@ -18,6 +18,8 @@ Source0: http://download.osgeo.org/shapelib/%{name}-%{version}%{?pre:%pre}
# tar -czf shapelib-man.tar.gz man/
# rm -r man
Source1: %{name}-man.tar.gz
# Backport fix for CVE-2022-0699
Patch0: https://github.com/OSGeo/shapelib/commit/df1e996c541b3dc3f6bc8d589a140fdc8c544373.patch
BuildRequires: automake autoconf libtool
BuildRequires: gcc-c++
@ -50,7 +52,7 @@ This package contains various utility programs distributed with shapelib.
%prep
%autosetup -a1
%autosetup -p1 -a1
%build
@ -92,6 +94,9 @@ install -pm 0644 man/*.1 %{buildroot}%{_mandir}/man1/
%changelog
* Thu Feb 09 2023 Troy Dawson <tdawson@redhat.com> - 1.5.0-12
- Backport fix for CVE-2022-0699
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild