Compare commits
21 Commits
Author | SHA1 | Date |
---|---|---|
Fedora Release Engineering | 058834dca0 | |
Orion Poplawski | c10b1d6a81 | |
Orion Poplawski | c2fc666d06 | |
Fedora Release Engineering | 0ea9bd457c | |
Orion Poplawski | a3144070d5 | |
Orion Poplawski | 0d8b712685 | |
Fedora Release Engineering | b70fcc8c40 | |
Fedora Release Engineering | c1b6cf1b4c | |
Tom Stellard | e2a52f01a4 | |
Fedora Release Engineering | 115866c787 | |
Orion Poplawski | 309cc148b9 | |
Orion Poplawski | 46553ffe81 | |
Fedora Release Engineering | 89e1418f84 | |
Orion Poplawski | b48fc4b642 | |
Fedora Release Engineering | 84c18649b5 | |
Orion Poplawski | 6bfee886a0 | |
Fedora Release Engineering | fc5a3ff54f | |
Igor Gnatenko | 71545416f2 | |
Igor Gnatenko | c47e09bd08 | |
Fedora Release Engineering | 5403d07ada | |
Orion Poplawski | 8e7fe14a33 |
|
@ -14,3 +14,11 @@ libdap-3.10.2.tar.gz
|
||||||
/libdap-3.18.1.tar.gz
|
/libdap-3.18.1.tar.gz
|
||||||
/libdap-3.18.2.tar.gz
|
/libdap-3.18.2.tar.gz
|
||||||
/libdap-3.18.3.tar.gz
|
/libdap-3.18.3.tar.gz
|
||||||
|
/libdap-3.19.1.tar.gz
|
||||||
|
/libdap-3.20.3.tar.gz
|
||||||
|
/libdap-3.20.4.tar.gz
|
||||||
|
/libdap-3.20.5.tar.gz
|
||||||
|
/libdap-3.20.6.tar.gz
|
||||||
|
/libdap-3.20.8.tar.gz
|
||||||
|
/libdap-3.20.9.tar.gz
|
||||||
|
/libdap-3.20.10.tar.gz
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
From 5ccb4f14b0c620bf0271b00cb47770bca4c2439c Mon Sep 17 00:00:00 2001
|
||||||
|
From: ndp-opendap <ndp@opendap.org>
|
||||||
|
Date: Fri, 8 Jul 2022 08:23:02 -0700
|
||||||
|
Subject: [PATCH] Fixing type issue in HTTPCache.cc
|
||||||
|
|
||||||
|
---
|
||||||
|
HTTPCache.cc | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/HTTPCache.cc b/HTTPCache.cc
|
||||||
|
index 56e912be..f2b34214 100644
|
||||||
|
--- a/HTTPCache.cc
|
||||||
|
+++ b/HTTPCache.cc
|
||||||
|
@@ -1028,10 +1028,10 @@ HTTPCache::read_metadata(const string &cachename, vector<string> &headers)
|
||||||
|
"Could not open named cache entry meta data file.");
|
||||||
|
}
|
||||||
|
|
||||||
|
- const unsigned long line_buf_len = 1024;
|
||||||
|
+ const size_t line_buf_len = 1024;
|
||||||
|
char line[line_buf_len];
|
||||||
|
while (!feof(md) && fgets(line, line_buf_len, md)) {
|
||||||
|
- line[min(line_buf_len, strnlen(line, line_buf_len))-1] = '\0'; // erase newline
|
||||||
|
+ line[std::min(line_buf_len, strnlen(line, line_buf_len))-1] = '\0'; // erase newline
|
||||||
|
headers.push_back(string(line));
|
||||||
|
}
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
diff -up libdap-3.18.1/tests/Makefile.am.offline libdap-3.18.1/tests/Makefile.am
|
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
||||||
--- libdap-3.18.1/tests/Makefile.am.offline 2015-10-19 16:03:35.000000000 -0600
|
index d325e52..123e73d 100644
|
||||||
+++ libdap-3.18.1/tests/Makefile.am 2016-08-12 09:33:37.767696856 -0600
|
--- a/tests/Makefile.am
|
||||||
@@ -112,7 +112,6 @@ $(EXPRTESTSUITE) $(DMRTESTSUITE) $(GETDA
|
+++ b/tests/Makefile.am
|
||||||
|
@@ -122,7 +122,6 @@ $(EXPRTESTSUITE) $(DMRTESTSUITE) $(GETDAPTESTSUITE)
|
||||||
$(SHELL) '$(DDSTESTSUITE)' $(TESTSUITEFLAGS)
|
$(SHELL) '$(DDSTESTSUITE)' $(TESTSUITEFLAGS)
|
||||||
$(SHELL) '$(EXPRTESTSUITE)' $(TESTSUITEFLAGS)
|
$(SHELL) '$(EXPRTESTSUITE)' $(TESTSUITEFLAGS)
|
||||||
$(SHELL) '$(DMRTESTSUITE)' $(TESTSUITEFLAGS)
|
$(SHELL) '$(DMRTESTSUITE)' $(TESTSUITEFLAGS)
|
||||||
|
@ -9,18 +10,19 @@ diff -up libdap-3.18.1/tests/Makefile.am.offline libdap-3.18.1/tests/Makefile.am
|
||||||
|
|
||||||
# Make sure there are no spaces after the DASTESTSUITE names. jhrg 3/16/15
|
# Make sure there are no spaces after the DASTESTSUITE names. jhrg 3/16/15
|
||||||
# Delete the scripts here and not using CLEANFILES because this target is
|
# Delete the scripts here and not using CLEANFILES because this target is
|
||||||
diff -up libdap-3.18.1/unit-tests/Makefile.am.offline libdap-3.18.1/unit-tests/Makefile.am
|
diff --git a/unit-tests/Makefile.am b/unit-tests/Makefile.am
|
||||||
--- libdap-3.18.1/unit-tests/Makefile.am.offline 2016-08-12 09:33:37.768696852 -0600
|
index 58ecd20..abbf860 100644
|
||||||
+++ libdap-3.18.1/unit-tests/Makefile.am 2016-08-12 09:34:12.984547765 -0600
|
--- a/unit-tests/Makefile.am
|
||||||
@@ -67,9 +67,9 @@ D4-xml.tar.gz: D4-xml/DMR_*[0-9].xml
|
+++ b/unit-tests/Makefile.am
|
||||||
|
@@ -85,9 +85,9 @@ D4-xml.tar.gz: D4-xml/DMR_*[0-9].xml
|
||||||
if CPPUNIT
|
if CPPUNIT
|
||||||
UNIT_TESTS = marshT arrayT attrTableT structT sequenceT ddsT dasT \
|
UNIT_TESTS = marshT arrayT attrTableT structT sequenceT ddsT dasT \
|
||||||
RegexTest ArrayTest AttrTableTest ByteTest MIMEUtilTest ancT DASTest \
|
RegexTest ArrayTest GridTest AttrTableTest ByteTest MIMEUtilTest ancT DASTest \
|
||||||
- DDSTest DDXParserTest generalUtilTest HTTPConnectTest parserUtilTest \
|
- DDSTest DDXParserTest generalUtilTest HTTPConnectTest parserUtilTest \
|
||||||
+ DDSTest DDXParserTest generalUtilTest parserUtilTest \
|
+ DDSTest DDXParserTest generalUtilTest parserUtilTest \
|
||||||
RCReaderTest SequenceTest SignalHandlerTest MarshallerTest \
|
RCReaderTest SequenceTest SignalHandlerTest MarshallerTest \
|
||||||
- HTTPCacheTest ServerFunctionsListUnitTest
|
- HTTPCacheTest ServerFunctionsListUnitTest Int8Test Int16Test UInt16Test \
|
||||||
+ ServerFunctionsListUnitTest
|
+ ServerFunctionsListUnitTest Int8Test Int16Test UInt16Test \
|
||||||
|
Int32Test UInt32Test Int64Test UInt64Test Float32Test Float64Test \
|
||||||
|
D4BaseTypeFactoryTest BaseTypeFactoryTest util_mitTest
|
||||||
|
|
||||||
if DAP4_DEFINED
|
|
||||||
UNIT_TESTS += D4MarshallerTest D4UnMarshallerTest D4DimensionsTest \
|
|
||||||
|
|
91
libdap.spec
91
libdap.spec
|
@ -1,15 +1,18 @@
|
||||||
Name: libdap
|
Name: libdap
|
||||||
Summary: The C++ DAP2 library from OPeNDAP
|
Summary: The C++ DAP2 library from OPeNDAP
|
||||||
Version: 3.18.3
|
Version: 3.20.10
|
||||||
Release: 5%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: Development/Libraries
|
|
||||||
URL: http://www.opendap.org/
|
URL: http://www.opendap.org/
|
||||||
Source0: http://www.opendap.org/pub/source/libdap-%{version}.tar.gz
|
Source0: http://www.opendap.org/pub/source/libdap-%{version}.tar.gz
|
||||||
#Don't run HTTP tests - builders don't have network connections
|
#Don't run HTTP tests - builders don't have network connections
|
||||||
Patch0: libdap-offline.patch
|
Patch0: libdap-offline.patch
|
||||||
|
# Fix for i686 build
|
||||||
|
Patch1: https://github.com/OPENDAP/libdap4/pull/192.patch
|
||||||
|
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: gcc-c++
|
||||||
# For autoreconf
|
# For autoreconf
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: bison >= 3.0
|
BuildRequires: bison >= 3.0
|
||||||
|
@ -18,6 +21,7 @@ BuildRequires: curl-devel
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
|
BuildRequires: libtirpc-devel
|
||||||
BuildRequires: libuuid-devel
|
BuildRequires: libuuid-devel
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
|
@ -39,7 +43,6 @@ library and demonstrates simple uses of it.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development and header files from libdap
|
Summary: Development and header files from libdap
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: curl-devel
|
Requires: curl-devel
|
||||||
Requires: libxml2-devel
|
Requires: libxml2-devel
|
||||||
|
@ -54,15 +57,13 @@ will use libdap.
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation of the libdap library
|
Summary: Documentation of the libdap library
|
||||||
Group: Documentation
|
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
Documentation of the libdap library.
|
Documentation of the libdap library.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%autosetup -n %{name}-%{version} -p1
|
||||||
%patch0 -p1 -b .offline
|
|
||||||
iconv -f latin1 -t utf8 < COPYRIGHT_W3C > COPYRIGHT_W3C.utf8
|
iconv -f latin1 -t utf8 < COPYRIGHT_W3C > COPYRIGHT_W3C.utf8
|
||||||
touch -r COPYRIGHT_W3C COPYRIGHT_W3C.utf8
|
touch -r COPYRIGHT_W3C COPYRIGHT_W3C.utf8
|
||||||
mv COPYRIGHT_W3C.utf8 COPYRIGHT_W3C
|
mv COPYRIGHT_W3C.utf8 COPYRIGHT_W3C
|
||||||
|
@ -73,42 +74,41 @@ mv COPYRIGHT_W3C.utf8 COPYRIGHT_W3C
|
||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
%configure --disable-static --disable-dependency-tracking
|
%configure --disable-static --disable-dependency-tracking
|
||||||
# --enable-valgrind - missing valgrind exclusions file
|
# --enable-valgrind - missing valgrind exclusions file
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
make docs
|
make docs
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
|
%make_install INSTALL="%{__install} -p"
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/libdap
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/libdap
|
||||||
mv $RPM_BUILD_ROOT%{_libdir}/libtest-types.a $RPM_BUILD_ROOT%{_libdir}/libdap/
|
mv $RPM_BUILD_ROOT%{_libdir}/libtest-types.a $RPM_BUILD_ROOT%{_libdir}/libdap/
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
mv $RPM_BUILD_ROOT%{_bindir}/dap-config-pkgconfig $RPM_BUILD_ROOT%{_bindir}/dap-config
|
mv $RPM_BUILD_ROOT%{_bindir}/dap-config-pkgconfig $RPM_BUILD_ROOT%{_bindir}/dap-config
|
||||||
|
|
||||||
rm -rf __dist_docs
|
rm -rf __dist_docs
|
||||||
cp -pr docs __dist_docs
|
cp -pr html __dist_docs
|
||||||
# those .map and .md5 are of dubious use, remove them
|
# those .map and .md5 are of dubious use, remove them
|
||||||
rm -f __dist_docs/html/*.map __dist_docs/html/*.md5
|
rm -f __dist_docs/*.map __dist_docs/*.md5
|
||||||
# use the ChangeLog timestamp to have the same timestamps for the doc files
|
# use the ChangeLog timestamp to have the same timestamps for the doc files
|
||||||
# for all arches
|
# for all arches
|
||||||
touch -r ChangeLog __dist_docs/html/*
|
touch -r ChangeLog __dist_docs/*
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
# tarball is missing some needed files
|
||||||
|
make check || :
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYRIGHT_W3C COPYING COPYRIGHT_URI
|
%license COPYRIGHT_W3C COPYING COPYRIGHT_URI
|
||||||
%doc README NEWS README.dodsrc
|
%doc README.md NEWS README.dodsrc
|
||||||
%{_bindir}/getdap
|
%{_bindir}/getdap
|
||||||
%{_bindir}/getdap4
|
%{_bindir}/getdap4
|
||||||
%{_libdir}/libdap.so.23*
|
%{_libdir}/libdap.so.27*
|
||||||
%{_libdir}/libdapclient.so.6*
|
%{_libdir}/libdapclient.so.6*
|
||||||
%{_libdir}/libdapserver.so.7*
|
%{_libdir}/libdapserver.so.7*
|
||||||
%{_mandir}/man1/getdap.1*
|
%{_mandir}/man1/getdap.1*
|
||||||
|
@ -127,10 +127,63 @@ make check
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%license COPYING COPYRIGHT_URI COPYRIGHT_W3C
|
%license COPYING COPYRIGHT_URI COPYRIGHT_W3C
|
||||||
%doc __dist_docs/html/
|
%doc __dist_docs/
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.10-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 01 2022 Orion Poplawski <orion@nwra.com> - 3.20.10-1
|
||||||
|
- Update to 3.20.10
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.9-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 13 2022 Orion Poplawski <orion@nwra.com> - 3.20.9-1
|
||||||
|
- Update to 3.20.9
|
||||||
|
|
||||||
|
* Sat Nov 20 2021 Orion Poplawski <orion@nwra.com> - 3.20.8-1
|
||||||
|
- Update to 3.20.8
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.6-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.6-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.6-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 08 2020 Orion Poplawski <orion@nwra.com> - 3.20.6-1
|
||||||
|
- Update to 3.20.6
|
||||||
|
|
||||||
|
* Sat Feb 08 2020 Orion Poplawski <orion@nwra.com> - 3.20.5-1
|
||||||
|
- Update to 3.20.5
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.4-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 29 2019 Orion Poplawski <orion@nwra.com> - 3.20.4-1
|
||||||
|
- Update to 3.20.4
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Feb 17 2019 Orion Poplawski <orion@nwra.com> - 3.20.3-1
|
||||||
|
- Update to 3.20.3
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.19.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.19.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 19 2018 Orion Poplawski <orion@nwra.com> - 3.19.1-1
|
||||||
|
- Update to 3.19.1
|
||||||
|
- Add patch to use libtirpc
|
||||||
|
- Add BR gcc-c++
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.18.3-5
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.18.3-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
||||||
SHA512 (libdap-3.18.3.tar.gz) = 49be4fbd55c90bcc0c2ec23345642204f76f79d4eb05f44e7584cb58d2dddc9f3238dcb3baf9823b19d7c5d87aeb868be5d2426bd2c8f0ae344dc3a42217416e
|
SHA512 (libdap-3.20.10.tar.gz) = a3e58550eb4153a3c9c11fcfba56d87e56273ada6c25c78f7bf04d38f533dd873d124ef52e5c8fa4b648c0bb08ad7295f06c3d23fa09abeea0b169bd03f95117
|
||||||
|
|
Loading…
Reference in New Issue