Integrate Ceph into Mariner (#151)
This commit is contained in:
Родитель
e47a094efc
Коммит
4d16fcb11d
|
@ -13,6 +13,8 @@
|
|||
|
||||
# Ignore some specs, mostly those with Source0 files that are not from an external source, or have very odd URLs
|
||||
ignore_list=" \
|
||||
Cython \
|
||||
byacc \
|
||||
initramfs \
|
||||
kf5 \
|
||||
mariner-repos \
|
||||
|
@ -20,6 +22,11 @@ ignore_list=" \
|
|||
moby-buildx \
|
||||
moby-containerd \
|
||||
openjdk8 \
|
||||
python-nocasedict \
|
||||
python-pywbem \
|
||||
python-repoze-lru \
|
||||
python-sphinxcontrib-websupport \
|
||||
python-yamlloader \
|
||||
qt5-rpm-macros \
|
||||
runc \
|
||||
grub2-efi-binary-signed-aarch64 \
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"CUnit-2.1.3.tar.bz2": "f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,196 @@
|
|||
%global tarver 2.1-3
|
||||
|
||||
Name: CUnit
|
||||
Version: 2.1.3
|
||||
Release: 23%{?dist}
|
||||
Summary: Unit testing framework for C
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
License: LGPLv2+
|
||||
URL: http://cunit.sourceforge.net/
|
||||
#Source0: https://downloads.sourceforge.net/cunit/%{name}-%{tarver}.tar.bz2
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
|
||||
%description
|
||||
CUnit is a lightweight system for writing, administering,
|
||||
and running unit tests in C. It provides C programmers a basic
|
||||
testing functionality with a flexible variety of user interfaces.
|
||||
|
||||
%package devel
|
||||
Summary: Header files and libraries for CUnit development
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains the header files
|
||||
and libraries for use with CUnit package.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tarver}
|
||||
find -name *.c -exec chmod -x {} \;
|
||||
|
||||
%build
|
||||
autoreconf -f -i
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
rm -f `find %{buildroot} -name *.la`
|
||||
|
||||
# work around bad docdir= in doc/Makefile*
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||
mv %{buildroot}%{_prefix}/doc/%{name} %{buildroot}%{_docdir}/%{name}/html
|
||||
|
||||
# add some doc files into the buildroot manually (#1001276)
|
||||
for f in AUTHORS ChangeLog COPYING NEWS README TODO VERSION ; do
|
||||
install -p -m0644 -D $f %{buildroot}%{_docdir}/%{name}/${f}
|
||||
done
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%{_datadir}/%{name}/
|
||||
%{_libdir}/libcunit.so.*
|
||||
%dir %{_docdir}/%{name}
|
||||
%{_docdir}/%{name}/AUTHORS
|
||||
%{_docdir}/%{name}/ChangeLog
|
||||
%{_docdir}/%{name}/COPYING
|
||||
%{_docdir}/%{name}/NEWS
|
||||
%{_docdir}/%{name}/README
|
||||
%{_docdir}/%{name}/TODO
|
||||
%{_docdir}/%{name}/VERSION
|
||||
|
||||
%files devel
|
||||
%{_docdir}/%{name}/html/
|
||||
%{_includedir}/%{name}/
|
||||
%{_libdir}/libcunit.so
|
||||
%{_libdir}/pkgconfig/cunit.pc
|
||||
%{_mandir}/man3/CUnit.3*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> - 2.1.3-23
|
||||
- Initial CBL-Mariner import from Fedora 33 (license: MIT)
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-22
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sun Jun 1 2014 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1.3-9
|
||||
- Fix HTML documentation installation location.
|
||||
- Replace CUnit-2.1-3-src.tar.bz2 tarball, which really
|
||||
is 2.1-2 in disguise according to configure.in, with 2.1-3 as
|
||||
published on 2014-04-24.
|
||||
- BR libtool
|
||||
- Run autoreconf instead of autoconf.
|
||||
- Drop --enable-curses because without BuildRequires ncurses-devel it
|
||||
would disable itself automatically (and if it were enabled, test programs
|
||||
would need to link with ncurses explicitly).
|
||||
|
||||
* Sun Sep 29 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1.3-8
|
||||
- Add %%_isa to -devel base package dependency.
|
||||
- Headers get installed by "make install", copying them from the HTML
|
||||
doc headers dir is not necessary.
|
||||
- Configure build with --disable-static.
|
||||
- Drop unneeded spec stuff (buildroot def, removal, clean, pkgconfig dep).
|
||||
- Using %%defattr is not needed anymore.
|
||||
- Deduplicate documentation files in unversioned docdir (#1001276).
|
||||
|
||||
* Tue Sep 10 2013 Shakthi Kannan <shakthimaan [AT] fedoraproject.org> - 2.1.3-7
|
||||
- Fix build with unversioned docdir (#1001276)
|
||||
|
||||
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Fri Jun 21 2013 Shakthi Kannan <shakthimaan [AT] fedoraproject.org> - 2.1.3-5
|
||||
- Use header files from doc folder as well
|
||||
- Enable curses
|
||||
|
||||
* Sat Apr 20 2013 Shakthi Kannan <shakthimaan [AT] fedoraproject.org> - 2.1.3-4
|
||||
- Use autoconf for ARM
|
||||
|
||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Wed May 2 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 2.1.3-1
|
||||
- Updated to 2.1.3 sources re-run with autoreconf.
|
||||
|
||||
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Sat Jan 29 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 2.1.2-6
|
||||
- Changed Group to System Environment/Libraries.
|
||||
- Remove executable permission from C files.
|
||||
- Created two separate patches for Makefile and manpage fixes.
|
||||
- Removed passing datarootdir from configure.
|
||||
|
||||
* Thu Jan 20 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 2.1.2-5
|
||||
- Renamed Source0 to use Fedora sourceforge.net naming guidelines.
|
||||
- Removed exit call in library patch.
|
||||
- Use A.B.C version number.
|
||||
|
||||
* Thu Jan 20 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 2.1_2-4
|
||||
- Updated to license LGPLv2+.
|
||||
- Changed to use BuildRoot.
|
||||
- Added comments for inclusion of patches.
|
||||
- Removed inconsistent macro usage.
|
||||
- Moved man page, HTML documentation to devel package.
|
||||
- Added AUTHORS, COPYING, README, TODO to doc in base package.
|
||||
- Used * in man, library inclusion.
|
||||
|
||||
* Sun Dec 26 2010 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 2.1_2-3
|
||||
- Created patch to fix man page warnings and datarootdir settings.
|
||||
- Added patch to remove exit calls in library.
|
||||
|
||||
* Wed Dec 15 2010 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 2.1_2-2
|
||||
- Moved libcunit.so.* to main package.
|
||||
- Added post, postun ldconfig.
|
||||
- Added smp flags for make build.
|
||||
- Changed datarootdir to datadir.
|
||||
|
||||
* Tue Dec 14 2010 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 2.1_2-1
|
||||
- First CUnit package.
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"Cython-0.28.5.tar.gz": "bcd6a24ca0cba54ad8b1755852bb5cd567bb06abea6f776c82fbb10bb46bae37"
|
||||
"Cython-0.29.13.tar.gz": "af71d040fa9fa1af0ea2b7a481193776989ae93ae828eb018416cac771aef07f"
|
||||
}
|
||||
}
|
|
@ -1,76 +1,395 @@
|
|||
%{!?python2_sitelib: %define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
Summary: C extensions for Python
|
||||
Name: Cython
|
||||
Version: 0.28.5
|
||||
Release: 6%{?dist}
|
||||
Group: Development/Libraries
|
||||
License: ASL 2.0
|
||||
URL: https://cython.org
|
||||
#Source0: https://github.com/cython/cython/archive/%{version}.tar.gz
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Patch0: fix_abc_tests.patch
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-libs
|
||||
BuildRequires: python-xml
|
||||
Requires: python2
|
||||
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
%define python3_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib(1))")
|
||||
|
||||
%description
|
||||
Cython is an optimising static compiler for both the Python programming language and the extended Cython programming language (based on Pyrex). It makes writing C extensions for Python as easy as Python itself.
|
||||
%global upname cython
|
||||
|
||||
Name: Cython
|
||||
Version: 0.29.13
|
||||
Release: 6%{?dist}
|
||||
Summary: Language for writing Python extension modules
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
License: ASL 2.0
|
||||
URL: https://www.cython.org
|
||||
#Source0: https://github.com/%{upname}/%{upname}/archive/%{version}.tar.gz
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-xml
|
||||
|
||||
%global _description \
|
||||
Cython is an optimising static compiler for both the Python programming language and the extended Cython programming language (baded on Pyrex). It makes writing C extensions for Python as easy as Python itself.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%package -n python3-%{name}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{name}}
|
||||
Provides: %{name} = %{version}-%{release}
|
||||
Provides: %{name}%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: %{name} < %{version}-%{release}
|
||||
|
||||
%description -n python3-%{name} %{_description}
|
||||
|
||||
Python 3 version.
|
||||
|
||||
%prep
|
||||
%setup -q -n cython-%{version}
|
||||
%patch0 -p1
|
||||
%setup -n %{upname}-%{version}
|
||||
|
||||
%build
|
||||
python2 setup.py build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python2 setup.py install --skip-build --root %{buildroot}
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} test
|
||||
python3 setup.py install --skip-build --root=%{buildroot}
|
||||
rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%files -n python3-%{name}
|
||||
%license LICENSE.txt
|
||||
%{_bindir}/*
|
||||
%{python2_sitelib}/Cython-%{version}-*.egg-info
|
||||
%{python2_sitelib}/Cython/*
|
||||
%{python2_sitelib}/cython.py*
|
||||
%{python2_sitelib}/pyximport/*
|
||||
|
||||
%doc *.txt Demos Doc Tools
|
||||
%{_bindir}/cython
|
||||
%{_bindir}/cygdb
|
||||
%{_bindir}/cythonize
|
||||
%{python3_sitearch}/%{name}-*.egg-info/
|
||||
%{python3_sitearch}/%{name}/
|
||||
%{python3_sitearch}/pyximport/
|
||||
%{python3_sitearch}/%{upname}.py
|
||||
%{python3_sitearch}/__pycache__/%{upname}.*
|
||||
|
||||
%changelog
|
||||
* Sat May 09 00:21:11 PST 2020 Nick Samson <nisamson@microsoft.com> - 0.28.5-6
|
||||
- Added %%license line automatically
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> - 0.29.13-6
|
||||
- Initial CBL-Mariner import from Fedora 31 (License: MIT)
|
||||
|
||||
* Wed Apr 29 2020 Emre Girgin <mrgirgin@microsoft.com> 0.28.5-5
|
||||
- Renaming cython to Cython
|
||||
* Thu Apr 09 2020 Joe Schmitt <joschmit@microsoft.com> 0.28.5-4
|
||||
- Update URL.
|
||||
- Update Source0 with valid URL.
|
||||
- Update license.
|
||||
- Remove sha1 macro.
|
||||
- Fix changelog styling.
|
||||
- License verified.
|
||||
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 0.28.5-3
|
||||
- Initial CBL-Mariner import from Photon (license: Apache2).
|
||||
* Thu Jan 10 2019 Michelle Wang <michellew@vmware.com> 0.28.5-2
|
||||
- Add fix_abc_tests.patch to fix make check test.
|
||||
* Mon Sep 10 2018 Ajay Kaher <akaher@vmware.com> 0.28.5-1
|
||||
- Upgraded to version 0.28.5.
|
||||
* Thu Jul 13 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.25.2-2
|
||||
- Build using python2 explicity.
|
||||
* Mon Apr 24 2017 Bo Gan <ganb@vmware.com> 0.25.2-1
|
||||
- Update to 0.25.2.
|
||||
* Wed Oct 05 2016 ChangLee <changlee@vmware.com> 0.23.4-3
|
||||
- Modified %check.
|
||||
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.23.4-2
|
||||
- GA - Bump release of all rpms.
|
||||
* Wed Oct 28 2015 Divya Thaluru <dthaluru@vmware.com> 0.23.4-1
|
||||
- Initial build.
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.13-5
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.13-4
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.13-3
|
||||
- Bootstrap for Python 3.8
|
||||
|
||||
* Thu Aug 01 2019 Gwyn Ciesla <gwync@protonmail.com> 0.29.13-2
|
||||
- Rebuild with new numpy.
|
||||
|
||||
* Sat Jul 27 11:58:51 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.29.13-1
|
||||
- Update to 0.29.13
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.12-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Mon Jul 22 2019 Petr Viktorin <pviktori@redhat.com> - 0.29.12-2
|
||||
- Remove non-essential Python 2 test dependencies
|
||||
|
||||
* Thu Jul 11 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.12-1
|
||||
- Update to 0.29.12 (#1727580)
|
||||
|
||||
* Mon Jul 01 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.11-1
|
||||
- Update to 0.29.11 (#1725361)
|
||||
|
||||
* Sun Jun 02 2019 Charalampos Stratakis <cstratak@redhat.com> - 0.29.10-1
|
||||
- Update to 0.29.10 (#1716146)
|
||||
|
||||
* Thu May 30 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.9-1
|
||||
- Update to 0.29.9 (#1714365)
|
||||
|
||||
* Mon May 13 07:10:35 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.29.7-1
|
||||
- Update to 0.29.7
|
||||
|
||||
* Wed Feb 27 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.6-1
|
||||
- Update to 0.29.6 (#1683661)
|
||||
|
||||
* Fri Feb 08 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.5-1
|
||||
- Update to 0.29.5 (#1667643)
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jan 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.3-1
|
||||
- Update to 0.29.3 (#1667643)
|
||||
|
||||
* Tue Jan 08 2019 Alex Cobb <alex.cobb@smart.mit.edu> - 0.29.1-2
|
||||
- Added emacs-cython-mode subpackage
|
||||
|
||||
* Mon Dec 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.29.1-1
|
||||
- Update to 0.29.1
|
||||
|
||||
* Mon Dec 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.29-1
|
||||
- Update to 0.29
|
||||
|
||||
* Wed Oct 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.29~rc2-1
|
||||
- Update to 0.29~rc2
|
||||
|
||||
* Sat Aug 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.28.5-1
|
||||
- Update to 0.28.5
|
||||
|
||||
* Sun Aug 05 2018 Miro Hrončok <mhroncok@redhat.com> - 0.28.4-3
|
||||
- Only have one /usr/bin/cython
|
||||
|
||||
* Sun Jul 15 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.28.4-1
|
||||
- Update to 0.28.4
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.28.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 0.28.1-2
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Mon Mar 19 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.28.1-1
|
||||
- Update to 0.28.1
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.27.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Mon Nov 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.27.3-1
|
||||
- Update to 0.27.3
|
||||
|
||||
* Mon Oct 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.27.1-1
|
||||
- Update to 0.27.1
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Wed May 03 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.25.2-5
|
||||
- Fix license
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Dec 22 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.25.2-3
|
||||
- Backport couple of patches
|
||||
|
||||
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.25.2-2
|
||||
- Rebuild for Python 3.6
|
||||
|
||||
* Sat Dec 10 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.25.2-1
|
||||
- Update to 0.25.2
|
||||
|
||||
* Sat Aug 27 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.24.1-8
|
||||
- Fix provides (RHBZ #1370879)
|
||||
|
||||
* Thu Aug 25 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.24.1-7
|
||||
- Run test suite
|
||||
|
||||
* Thu Aug 25 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.24.1-6
|
||||
- Provide old names
|
||||
|
||||
* Thu Aug 25 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.24.1-5
|
||||
- Use %%python_provide
|
||||
|
||||
* Tue Aug 23 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.24.1-4
|
||||
- Update to 0.24.1
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23.4-4
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jan 13 2016 Orion Poplawski <orion@cora.nwra.com> - 0.23.4-1
|
||||
- Update to 0.23.4
|
||||
- Ship cythonize3
|
||||
- Modernize and cleanup spec
|
||||
- Run tests, one python3 test fails with 3.5
|
||||
|
||||
* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 0.23-2
|
||||
- Rebuilt for Python3.5 rebuild
|
||||
|
||||
* Wed Aug 12 2015 Neal Becker <ndbecker2@gmail.com> - 0.23-2
|
||||
- Update to 0.23
|
||||
|
||||
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Fri Feb 13 2015 nbecker <ndbecker2@gmail.com> - 0.22-1
|
||||
- oops, that should be 0.22 not 0.22.1
|
||||
|
||||
* Fri Feb 13 2015 nbecker <ndbecker2@gmail.com> - 0.22.1-1
|
||||
- Update to 0.22
|
||||
|
||||
* Sat Nov 22 2014 nbecker <ndbecker2@gmail.com> - 0.21.1-1
|
||||
- Update to 0.21.1 (br #1164297)
|
||||
|
||||
* Mon Sep 15 2014 nbecker <ndbecker2@gmail.com> - 0.21-5
|
||||
- Add /bin/cythonize
|
||||
|
||||
* Mon Sep 15 2014 nbecker <ndbecker2@gmail.com> - 0.21-1
|
||||
- Update to 0.21
|
||||
|
||||
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Wed May 28 2014 Thomas Spura <tomspur@fedoraproject.org> - 0.20.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
||||
|
||||
* Fri May 9 2014 Orion Poplawski <orion@cora.nwra.com> - 0.20.1-2
|
||||
- Rebuild for Python 3.4
|
||||
|
||||
* Fri May 9 2014 Orion Poplawski <orion@cora.nwra.com> - 0.20.1-1
|
||||
- Update to 0.20.1
|
||||
|
||||
* Mon Jan 20 2014 nbecker <ndbecker2@gmail.com> - 0.20-1
|
||||
- Update to 0.20
|
||||
|
||||
* Thu Oct 17 2013 nbecker <ndbecker2@gmail.com> - 0.19.2-2
|
||||
- Fix BR 1019498
|
||||
|
||||
* Sun Oct 13 2013 nbecker <ndbecker2@gmail.com> - 0.19-2
|
||||
- Update to 0.19.2
|
||||
|
||||
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Fri Apr 19 2013 nbecker <ndbecker2@gmail.com> - 0.19-1
|
||||
- Update to 0.19
|
||||
|
||||
* Tue Jan 29 2013 Neal Becker <ndbecker2@gmail.com> - 0.18-1
|
||||
- update to 0.18
|
||||
|
||||
* Sat Dec 15 2012 Neal Becker <ndbecker2@gmail.com> - 0.17.3-1
|
||||
- Update to 0.17.3
|
||||
|
||||
* Wed Nov 21 2012 Neal Becker <ndbecker2@gmail.com> - 0.17.2-1
|
||||
- update to 0.17.2
|
||||
|
||||
* Wed Sep 26 2012 Neal Becker <ndbecker2@gmail.com> - 0.17.1-1
|
||||
- Update to 0.17.1
|
||||
|
||||
* Mon Sep 3 2012 Neal Becker <ndbecker2@gmail.com> - 0.17-1
|
||||
- Update to 0.17
|
||||
|
||||
* Tue Aug 28 2012 Neal Becker <ndbecker2@gmail.com> - 0.17-3.b3
|
||||
- Turn on check (temporarily)
|
||||
- Add br numpy from check
|
||||
|
||||
* Tue Aug 28 2012 Neal Becker <ndbecker2@gmail.com> - 0.17-1.b3
|
||||
- Test 0.17b3
|
||||
|
||||
* Fri Aug 24 2012 David Malcolm <dmalcolm@redhat.com> - 0.16-3
|
||||
- generalize egg-info logic to support RHEL (rhbz#851528)
|
||||
|
||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Fri Apr 27 2012 Neal Becker <ndbecker2@gmail.com> - 0.16-1
|
||||
- Update to 0.16
|
||||
|
||||
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Tue Sep 20 2011 Neal Becker <ndbecker2@gmail.com> - 0.15.1-1
|
||||
- Update to 0.15.1
|
||||
|
||||
* Sat Aug 6 2011 Neal Becker <ndbecker2@gmail.com> - 0.15-1
|
||||
- Update to 0.15
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Sat Feb 5 2011 Neal Becker <ndbecker2@gmail.com> - 0.14.1-1
|
||||
- Update to 0.14.1
|
||||
|
||||
* Wed Dec 15 2010 Neal Becker <ndbecker2@gmail.com> - 0.14-2
|
||||
- Add cygdb
|
||||
|
||||
* Wed Dec 15 2010 Neal Becker <ndbecker2@gmail.com> - 0.14-1
|
||||
- Update to 0.14
|
||||
|
||||
* Wed Aug 25 2010 Neal Becker <ndbecker2@gmail.com> - 0.13-1
|
||||
- Update to 0.13
|
||||
|
||||
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.12.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
||||
|
||||
* Fri Feb 5 2010 Neal Becker <ndbecker2@gmail.com> - 0.12.1-4
|
||||
- Disable check for now as it fails on PPC
|
||||
|
||||
* Tue Feb 2 2010 Neal Becker <ndbecker2@gmail.com> - 0.12.1-2
|
||||
- typo
|
||||
- stupid rpm comments
|
||||
|
||||
* Mon Nov 23 2009 Neal Becker <ndbecker2@gmail.com> - 0.12-1.rc1
|
||||
- Make that 0.12
|
||||
|
||||
* Mon Nov 23 2009 Neal Becker <ndbecker2@gmail.com> - 0.12.1-1.rc1
|
||||
- Update to 0.12.1
|
||||
|
||||
* Sun Sep 27 2009 Neal Becker <ndbecker2@gmail.com> - 0.11.3-1.rc1
|
||||
- Update to 0.11.3rc1
|
||||
- Update to 0.11.3
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Wed May 20 2009 Neal Becker <ndbecker2@gmail.com> - 0.11.2-1
|
||||
- Update to 0.11.2
|
||||
|
||||
* Thu Apr 16 2009 Neal Becker <ndbecker2@gmail.com> - 0.11.1-1
|
||||
- Update to 0.11.1
|
||||
|
||||
* Sat Mar 14 2009 Neal Becker <ndbecker2@gmail.com> - 0.11-2
|
||||
- Missed cython.py*
|
||||
|
||||
* Sat Mar 14 2009 Neal Becker <ndbecker2@gmail.com> - 0.11-1
|
||||
- Update to 0.11
|
||||
- Exclude numpy from tests so we don't have to BR it
|
||||
|
||||
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Wed Dec 17 2008 Neal Becker <ndbecker2@gmail.com> - 0.10.3-1
|
||||
- Update to 0.10.3
|
||||
|
||||
* Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.10.2-2
|
||||
- Rebuild for Python 2.6
|
||||
|
||||
* Mon Dec 1 2008 Neal Becker <ndbecker2@gmail.com> - 0.10.2-1
|
||||
- Update to 0.10.2
|
||||
|
||||
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.10.1-2
|
||||
- Rebuild for Python 2.6
|
||||
|
||||
* Wed Nov 19 2008 Neal Becker <ndbecker2@gmail.com> - 0.10.1-1
|
||||
- Update to 0.10.1
|
||||
|
||||
* Sun Nov 9 2008 Neal Becker <ndbecker2@gmail.com> - 0.10-3
|
||||
- Fix typo
|
||||
|
||||
* Sun Nov 9 2008 Neal Becker <ndbecker2@gmail.com> - 0.10-1
|
||||
- Update to 0.10
|
||||
|
||||
* Fri Jun 13 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.8-2
|
||||
- Install into python_sitearch
|
||||
- Add %%check
|
||||
|
||||
* Fri Jun 13 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.8-1
|
||||
- Update to 0.9.8
|
||||
|
||||
* Mon Apr 14 2008 José Matos <jamatos[AT]fc.up.pt> - 0.9.6.13.1-3
|
||||
- Remove remaining --record.
|
||||
- Add more documentation (Doc and Tools).
|
||||
- Add correct entry for egg-info (F9+).
|
||||
|
||||
* Mon Apr 14 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13.1-2
|
||||
- Change License to Python
|
||||
- Install About.html
|
||||
- Fix mixed spaces/tabs
|
||||
- Don't use --record
|
||||
|
||||
* Tue Apr 8 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13.1-1
|
||||
- Update to 0.9.6.13.1
|
||||
|
||||
* Mon Apr 7 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13-1
|
||||
- Update to 0.9.6.13
|
||||
- Add docs
|
||||
|
||||
* Tue Feb 26 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.12-1
|
||||
- Initial version
|
||||
|
|
|
@ -0,0 +1,503 @@
|
|||
### GNU LESSER GENERAL PUBLIC LICENSE
|
||||
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.]
|
||||
|
||||
### Preamble
|
||||
|
||||
The licenses for most software are designed to take away your freedom
|
||||
to share and change it. By contrast, the GNU General Public Licenses
|
||||
are intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some
|
||||
specially designated software packages--typically libraries--of the
|
||||
Free Software Foundation and other authors who decide to use it. You
|
||||
can use it too, but we suggest you first think carefully about whether
|
||||
this license or the ordinary General Public License is the better
|
||||
strategy to use in any particular case, based on the explanations
|
||||
below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use,
|
||||
not price. Our General Public Licenses are designed to make sure that
|
||||
you have the freedom to distribute copies of free software (and charge
|
||||
for this service if you wish); that you receive source code or can get
|
||||
it if you want it; that you can change the software and use pieces of
|
||||
it in new free programs; and that you are informed that you can do
|
||||
these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
distributors to deny you these rights or to ask you to surrender these
|
||||
rights. These restrictions translate to certain responsibilities for
|
||||
you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link other code with the library, you must provide
|
||||
complete object files to the recipients, so that they can relink them
|
||||
with the library after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the
|
||||
library, and (2) we offer you this license, which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that there
|
||||
is no warranty for the free library. Also, if the library is modified
|
||||
by someone else and passed on, the recipients should know that what
|
||||
they have is not the original version, so that the original author's
|
||||
reputation will not be affected by problems that might be introduced
|
||||
by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of
|
||||
any free program. We wish to make sure that a company cannot
|
||||
effectively restrict the users of a free program by obtaining a
|
||||
restrictive license from a patent holder. Therefore, we insist that
|
||||
any patent license obtained for a version of the library must be
|
||||
consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the
|
||||
ordinary GNU General Public License. This license, the GNU Lesser
|
||||
General Public License, applies to certain designated libraries, and
|
||||
is quite different from the ordinary General Public License. We use
|
||||
this license for certain libraries in order to permit linking those
|
||||
libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using a
|
||||
shared library, the combination of the two is legally speaking a
|
||||
combined work, a derivative of the original library. The ordinary
|
||||
General Public License therefore permits such linking only if the
|
||||
entire combination fits its criteria of freedom. The Lesser General
|
||||
Public License permits more lax criteria for linking other code with
|
||||
the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it
|
||||
does Less to protect the user's freedom than the ordinary General
|
||||
Public License. It also provides other free software developers Less
|
||||
of an advantage over competing non-free programs. These disadvantages
|
||||
are the reason we use the ordinary General Public License for many
|
||||
libraries. However, the Lesser license provides advantages in certain
|
||||
special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to
|
||||
encourage the widest possible use of a certain library, so that it
|
||||
becomes a de-facto standard. To achieve this, non-free programs must
|
||||
be allowed to use the library. A more frequent case is that a free
|
||||
library does the same job as widely used non-free libraries. In this
|
||||
case, there is little to gain by limiting the free library to free
|
||||
software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free
|
||||
programs enables a greater number of people to use a large body of
|
||||
free software. For example, permission to use the GNU C Library in
|
||||
non-free programs enables many more people to use the whole GNU
|
||||
operating system, as well as its variant, the GNU/Linux operating
|
||||
system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the
|
||||
users' freedom, it does ensure that the user of a program that is
|
||||
linked with the Library has the freedom and the wherewithal to run
|
||||
that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, whereas the latter must
|
||||
be combined with the library in order to run.
|
||||
|
||||
### TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
**0.** This License Agreement applies to any software library or other
|
||||
program which contains a notice placed by the copyright holder or
|
||||
other authorized party saying it may be distributed under the terms of
|
||||
this Lesser General Public License (also called "this License"). Each
|
||||
licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control
|
||||
compilation and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does and
|
||||
what the program that uses the Library does.
|
||||
|
||||
**1.** You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
|
||||
**2.** You may modify your copy or copies of the Library or any
|
||||
portion of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
- **a)** The modified work must itself be a software library.
|
||||
- **b)** You must cause the files modified to carry prominent
|
||||
notices stating that you changed the files and the date of
|
||||
any change.
|
||||
- **c)** You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
- **d)** If a facility in the modified Library refers to a function
|
||||
or a table of data to be supplied by an application program that
|
||||
uses the facility, other than as an argument passed when the
|
||||
facility is invoked, then you must make a good faith effort to
|
||||
ensure that, in the event an application does not supply such
|
||||
function or table, the facility still operates, and performs
|
||||
whatever part of its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of
|
||||
the application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
**3.** You may opt to apply the terms of the ordinary GNU General
|
||||
Public License instead of this License to a given copy of the Library.
|
||||
To do this, you must alter all the notices that refer to this License,
|
||||
so that they refer to the ordinary GNU General Public License, version
|
||||
2, instead of to this License. (If a newer version than version 2 of
|
||||
the ordinary GNU General Public License has appeared, then you can
|
||||
specify that version instead if you wish.) Do not make any other
|
||||
change in these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for that
|
||||
copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of the
|
||||
Library into a program that is not a library.
|
||||
|
||||
**4.** You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy from
|
||||
a designated place, then offering equivalent access to copy the source
|
||||
code from the same place satisfies the requirement to distribute the
|
||||
source code, even though third parties are not compelled to copy the
|
||||
source along with the object code.
|
||||
|
||||
**5.** A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a work,
|
||||
in isolation, is not a derivative work of the Library, and therefore
|
||||
falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License. Section
|
||||
6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data structure
|
||||
layouts and accessors, and small macros and small inline functions
|
||||
(ten lines or less in length), then the use of the object file is
|
||||
unrestricted, regardless of whether it is legally a derivative work.
|
||||
(Executables containing this object code plus portions of the Library
|
||||
will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
|
||||
**6.** As an exception to the Sections above, you may also combine or
|
||||
link a "work that uses the Library" with the Library to produce a work
|
||||
containing portions of the Library, and distribute that work under
|
||||
terms of your choice, provided that the terms permit modification of
|
||||
the work for the customer's own use and reverse engineering for
|
||||
debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
- **a)** Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood that
|
||||
the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
- **b)** Use a suitable shared library mechanism for linking with
|
||||
the Library. A suitable mechanism is one that (1) uses at run time
|
||||
a copy of the library already present on the user's computer
|
||||
system, rather than copying library functions into the executable,
|
||||
and (2) will operate properly with a modified version of the
|
||||
library, if the user installs one, as long as the modified version
|
||||
is interface-compatible with the version that the work was
|
||||
made with.
|
||||
- **c)** Accompany the work with a written offer, valid for at least
|
||||
three years, to give the same user the materials specified in
|
||||
Subsection 6a, above, for a charge no more than the cost of
|
||||
performing this distribution.
|
||||
- **d)** If distribution of the work is made by offering access to
|
||||
copy from a designated place, offer equivalent access to copy the
|
||||
above specified materials from the same place.
|
||||
- **e)** Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the materials to be distributed need not include anything that is
|
||||
normally distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
|
||||
**7.** You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
- **a)** Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other
|
||||
library facilities. This must be distributed under the terms of
|
||||
the Sections above.
|
||||
- **b)** Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
**8.** You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
**9.** You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
**10.** Each time you redistribute the Library (or any work based on
|
||||
the Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties with
|
||||
this License.
|
||||
|
||||
**11.** If, as a consequence of a court judgment or allegation of
|
||||
patent infringement or for any other reason (not limited to patent
|
||||
issues), conditions are imposed on you (whether by court order,
|
||||
agreement or otherwise) that contradict the conditions of this
|
||||
License, they do not excuse you from the conditions of this License.
|
||||
If you cannot distribute so as to satisfy simultaneously your
|
||||
obligations under this License and any other pertinent obligations,
|
||||
then as a consequence you may not distribute the Library at all. For
|
||||
example, if a patent license would not permit royalty-free
|
||||
redistribution of the Library by all those who receive copies directly
|
||||
or indirectly through you, then the only way you could satisfy both it
|
||||
and this License would be to refrain entirely from distribution of the
|
||||
Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply, and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
**12.** If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
**13.** The Free Software Foundation may publish revised and/or new
|
||||
versions of the Lesser General Public License from time to time. Such
|
||||
new versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
**14.** If you wish to incorporate parts of the Library into other
|
||||
free programs whose distribution conditions are incompatible with
|
||||
these, write to the author to ask for permission. For software which
|
||||
is copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
**NO WARRANTY**
|
||||
|
||||
**15.** BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
**16.** IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
### END OF TERMS AND CONDITIONS
|
||||
|
||||
### How to Apply These Terms to Your New Libraries
|
||||
|
||||
If you develop a new library, and you want it to be of the greatest
|
||||
possible use to the public, we recommend making it free software that
|
||||
everyone can redistribute and change. You can do so by permitting
|
||||
redistribution under these terms (or, alternatively, under the terms
|
||||
of the ordinary General Public License).
|
||||
|
||||
To apply these terms, attach the following notices to the library. It
|
||||
is safest to attach them to the start of each source file to most
|
||||
effectively convey the exclusion of warranty; and each file should
|
||||
have at least the "copyright" line and a pointer to where the full
|
||||
notice is found.
|
||||
|
||||
one line to give the library's name and an idea of what it does.
|
||||
Copyright (C) year name of author
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Also add information on how to contact you by electronic and paper
|
||||
mail.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or
|
||||
your school, if any, to sign a "copyright disclaimer" for the library,
|
||||
if necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in
|
||||
the library `Frob' (a library for tweaking knobs) written
|
||||
by James Random Hacker.
|
||||
|
||||
signature of Ty Coon, 1 April 1990
|
||||
Ty Coon, President of Vice
|
||||
|
||||
That's all there is to it!
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -1,17 +1,16 @@
|
|||
Summary: Contains a parser generator
|
||||
Name: bison
|
||||
Version: 3.1
|
||||
Release: 3%{?dist}
|
||||
License: GPLv3+
|
||||
URL: http://www.gnu.org/software/bison
|
||||
Group: System Environment/Base
|
||||
Summary: Contains a parser generator
|
||||
Name: bison
|
||||
Version: 3.1
|
||||
Release: 4%{?dist}
|
||||
License: GPLv3+
|
||||
URL: http://www.gnu.org/software/bison
|
||||
Group: System Environment/Base
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
Source0: http://ftp.gnu.org/gnu/bison/%{name}-%{version}.tar.xz
|
||||
%define sha1 bison=84e5b016fa76f6cd4246131b1ca11a0f926e7922
|
||||
BuildRequires: m4
|
||||
Requires: m4
|
||||
BuildRequires: flex
|
||||
Source0: http://ftp.gnu.org/gnu/bison/%{name}-%{version}.tar.xz
|
||||
BuildRequires: m4
|
||||
Requires: m4
|
||||
BuildRequires: flex
|
||||
%description
|
||||
This package contains a parser generator
|
||||
%prep
|
||||
|
@ -22,14 +21,19 @@ sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
|
|||
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
|
||||
|
||||
./configure \
|
||||
--prefix=%{_prefix} \
|
||||
--disable-silent-rules
|
||||
--prefix=%{_prefix} \
|
||||
--disable-silent-rules
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
rm -rf %{buildroot}%{_infodir}
|
||||
%find_lang %{name} --all-name
|
||||
|
||||
# Remove yacc binary/man pages where they conflict with byacc
|
||||
rm -f %{buildroot}/%{_bindir}/yacc
|
||||
rm -f %{buildroot}/%{_mandir}/man1/yacc*
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} check
|
||||
|
||||
|
@ -42,12 +46,15 @@ make %{?_smp_mflags} check
|
|||
%{_datarootdir}/aclocal/*
|
||||
%{_mandir}/*/*
|
||||
%{_docdir}/bison/*
|
||||
%changelog
|
||||
* Sat May 09 00:21:04 PST 2020 Nick Samson <nisamson@microsoft.com> - 3.1-3
|
||||
- Added %%license line automatically
|
||||
|
||||
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 3.1-2
|
||||
- Initial CBL-Mariner import from Photon (license: Apache2).
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> 3.1-4
|
||||
- Remove yacc command for compatibility with byacc package
|
||||
- Remove sha hash
|
||||
* Sat May 09 00:21:04 PST 2020 Nick Samson <nisamson@microsoft.com> 3.1-3
|
||||
- Added %%license line automatically
|
||||
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 3.1-2
|
||||
- Initial import from Photon (license: dual Apache2/GPL2).
|
||||
* Tue Sep 18 2018 Tapas Kundu <tkundu@vmware.com> 3.1-1
|
||||
- Updated to release 3.1
|
||||
* Sun Sep 09 2018 Alexey Makhalov <amakhalov@vmware.com> 3.0.4-4
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"byacc-1.9.20200330.tar.gz": "e099e2dd8a684d739ac6b9a0e43d468314a5bc34fd21466502d120b18df51fb0"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,304 @@
|
|||
%define byaccdate 20200330
|
||||
|
||||
Summary: Berkeley Yacc, a parser generator
|
||||
Name: byacc
|
||||
Version: 1.9.%{byaccdate}
|
||||
Release: 3%{?dist}
|
||||
License: Public Domain
|
||||
URL: http://invisible-island.net/byacc/byacc.html
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
#Source0: https://invisible-mirror.net/archives/%{name}/%{name}-%{byaccdate}.tgz
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
|
||||
%description
|
||||
This package provides a parser generator utility that reads a grammar
|
||||
specification from a file and generates an LR(1) parser for it. The
|
||||
parsers consist of a set of LALR(1) parsing tables and a driver
|
||||
routine written in the C programming language. It has a public domain
|
||||
license which includes the generated C.
|
||||
|
||||
If you are going to do development on your system, you will want to install
|
||||
this package.
|
||||
|
||||
%prep
|
||||
%setup -q -n byacc-%{byaccdate}
|
||||
|
||||
# Revert default stack size back to 10000
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=743343
|
||||
find . -type f -name \*.c -print0 |
|
||||
xargs -0 sed -i 's/YYSTACKSIZE 500/YYSTACKSIZE 10000/g'
|
||||
|
||||
%build
|
||||
%configure --disable-dependency-tracking
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
ln -s yacc %{buildroot}%{_bindir}/byacc
|
||||
ln -s yacc.1 %{buildroot}%{_mandir}/man1/byacc.1
|
||||
|
||||
%check
|
||||
echo ====================TESTING=========================
|
||||
make check
|
||||
echo ====================TESTING END=====================
|
||||
|
||||
%files
|
||||
%license README
|
||||
%doc ACKNOWLEDGEMENTS CHANGES NEW_FEATURES NOTES NO_WARRANTY
|
||||
%{_bindir}/yacc
|
||||
%{_bindir}/byacc
|
||||
%{_mandir}/man1/yacc.1*
|
||||
%{_mandir}/man1/byacc.1*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> - 1.9.20200330-4
|
||||
- Initial CBL-Mariner import from Fedora 33 (license: MIT)
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.20200330-3
|
||||
- Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.20200330-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 8 2020 Arjun Shankar <arjun@redhat.com> - 1.9.20200330-1
|
||||
- Rebase to 20200330 (#1819022)
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.20191125-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jan 8 2020 Arjun Shankar <arjun@redhat.com> - 1.9.20191125-1
|
||||
- Rebase to 20191125 (#1768314)
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.20190617-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Wed Jun 26 2019 Arjun Shankar <arjun@redhat.com> - 1.9.20190617-1
|
||||
- Rebase to 20190617
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.20170709-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 1.9.20170709-6
|
||||
- Rebuild with fixed binutils
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.20170709-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.20170709-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.20170709-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.20170709-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Wed Jul 12 2017 Patsy Franklin <pfrankli@redhat.com> - 1.9.20170709-1
|
||||
- Rebase to 20170709
|
||||
|
||||
* Mon Feb 13 2017 Patsy Franklin <pfrankli@redhat.com> - 1.9.20170201-1
|
||||
- Rebase to 20170201
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.20161202-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Fri Dec 09 2016 Patsy Franklin <pfrankli@redhat.com> - 1.9.20161202-1
|
||||
- Rebase to 20161202
|
||||
|
||||
* Mon Aug 01 2016 Patsy Franklin <pfrankli@redhat.com> - 1.9.20160606-1
|
||||
- Rebase to 20160606
|
||||
|
||||
* Fri May 20 2016 Patsy Franklin <pfrankli@redhat.com> - 1.9.20160324-1
|
||||
- Rebase to 20160324
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.20150711-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Sat Oct 10 2015 Patsy Franklin <pfrankli@redhat.com> - 1.9.20150711-1
|
||||
- Rebase to 20150711
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20141128-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Mar 02 2015 Patsy Franklin <pfrankli@redhat.com> - 1.9.20141128-1
|
||||
- Rebase to 20141128
|
||||
|
||||
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20130925-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20130925-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Mon Dec 02 2013 Patsy Franklin <pfrankli@redhat.com> - 1.9.20130925-2
|
||||
- Update sources file.
|
||||
|
||||
* Mon Dec 02 2013 Patsy Franklin <pfrankli@redhat.com> - 1.9.20130925-1
|
||||
- Rebase to 20130925
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20130304-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Wed Mar 20 2013 Petr Machata <pmachata@redhat.com> - 1.9.20130304-1
|
||||
- Rebase to 20130304
|
||||
|
||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20120115-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20120115-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Thu Mar 15 2012 Petr Machata <pmachata@redhat.com> - 1.9.20120115-1
|
||||
- Rebase to 20120115
|
||||
- Resolves: #782010
|
||||
|
||||
* Mon Jan 9 2012 Petr Machata <pmachata@redhat.com> - 1.9.20111219-1
|
||||
- Rebase to 20111219
|
||||
- add "-s" option
|
||||
- Resolves: #769237
|
||||
- Revert default stack size to 10000
|
||||
- Related: #743343
|
||||
|
||||
* Thu Sep 29 2011 Petr Machata <pmachata@redhat.com> - 1.9.20110908-1
|
||||
- Rebase to 20110908
|
||||
- add "-i" option.
|
||||
- add error-check in reader.c
|
||||
- Resolves: #736627
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20101229-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Mon Jan 3 2011 Petr Machata <pmachata@redhat.com> - 1.9.20101229-1
|
||||
- Rebase to 20101229
|
||||
- Resolves: #665985
|
||||
|
||||
* Mon Dec 6 2010 Petr Machata <pmachata@redhat.com> - 1.9.20101127-1
|
||||
- Rebase to 20101127
|
||||
- Resolves: #659010
|
||||
|
||||
* Wed Nov 10 2010 Petr Machata <pmachata@redhat.com> - 1.9.20100610-1
|
||||
- Rebase to 20100610
|
||||
- Update the description in accordance with upstream spec template
|
||||
- Resolves: #643598
|
||||
|
||||
* Wed Apr 7 2010 Petr Machata <pmachata@redhat.com> - 1.9.20100216-1
|
||||
- Rebase to 20100216
|
||||
- Drop the buffer overflow patch, upstream implements this
|
||||
- Resolves: #577016
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20070509-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20070509-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Mon Jul 14 2008 Petr Machata <pmachata@redhat.com> - 1.9.20070509-4
|
||||
- Add a patch that fixes ancient buffer overflow
|
||||
- Resolves: #454583
|
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.9.20070509-2
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
* Tue Nov 13 2007 Petr Machata <pmachata@redhat.com> - 1.9.20070509-1
|
||||
- Update to the 20070509 release.
|
||||
- Related: #225632
|
||||
|
||||
* Wed Sep 12 2007 Matthias Saou <http://freshrpms.net/> 1.9.20050813-2
|
||||
- Update summary.
|
||||
- Remove useless doc copying in install section.
|
||||
- Add NOTES and NO_WARRANTY docs.
|
||||
|
||||
* Fri Feb 2 2007 Petr Machata <pmachata@redhat.com> - 1.9.20050813-1
|
||||
- Thomas Dickey's 20050813 version of byacc:
|
||||
- own build system (linux patch reverted)
|
||||
- use tmpfile (security patch reverted)
|
||||
- Tidy up the specfile per rpmlint comments
|
||||
|
||||
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.9-29.2.2
|
||||
- rebuild
|
||||
|
||||
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.9-29.2.1
|
||||
- bump again for double-long bug on ppc(64)
|
||||
|
||||
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.9-29.2
|
||||
- rebuilt for new gcc4.1 snapshot and glibc changes
|
||||
|
||||
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Sun Feb 27 2005 Florian La Roche <laroche@redhat.com>
|
||||
- Copyright: -> License:
|
||||
|
||||
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Thu Dec 05 2002 Elliot Lee <sopwith@redhat.com> 1.9-23
|
||||
- Rebuild
|
||||
|
||||
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
||||
- automated rebuild
|
||||
|
||||
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
||||
- automated rebuild
|
||||
|
||||
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
||||
- automated rebuild
|
||||
|
||||
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
||||
- Bump release + rebuild.
|
||||
|
||||
* Fri Jan 05 2001 Preston Brown <pbrown@redhat.com>
|
||||
- security patch for tmpfile creation from Olaf Kirch <okir@lst.de>
|
||||
|
||||
* Fri Sep 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||||
- Update to the version in FreeBSD CVS - it's actively maintained, unlike
|
||||
the 1993 4BSD version we used to have
|
||||
|
||||
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
||||
- automatic rebuild
|
||||
|
||||
* Wed Jun 28 2000 Bill Nottingham <notting@redhat.com>
|
||||
- fix perms in tarball
|
||||
|
||||
* Mon Jun 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||||
- FHSify
|
||||
- handle RPM_OPT_FLAGS
|
||||
|
||||
* Sat May 6 2000 Bill Nottingham <notting@redhat.com>
|
||||
- fix yacc for ia64
|
||||
|
||||
* Fri Feb 4 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||||
- rebuild to compress man pages
|
||||
- fix up manpage symlink
|
||||
|
||||
* Wed Apr 07 1999 Preston Brown <pbrown@redhat.com>
|
||||
- man page fixed.
|
||||
|
||||
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
||||
- auto rebuild in the new build environment (release 10)
|
||||
|
||||
* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
|
||||
- build for glibc 2.1
|
||||
|
||||
* Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com>
|
||||
- build root
|
||||
|
||||
* Tue May 05 1998 Prospector System <bugs@redhat.com>
|
||||
- translations modified for de, fr, tr
|
||||
|
||||
* Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
|
||||
- various spec file cleanups
|
||||
|
||||
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
|
||||
- built against glibc
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"ceph-15.2.4.tar.gz": "5d51297d5f0358f6fc386ecf3d6e3093a044ef4714ed6c0f0d13af90c96dc54b"
|
||||
}
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,63 @@
|
|||
Copyright © OASIS® 2008. All Rights Reserved.
|
||||
|
||||
All capitalized terms in the following text have the meanings assigned to them
|
||||
in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The
|
||||
full Policy may be found at the OASIS website.
|
||||
|
||||
This document and translations of it may be copied and furnished to others,
|
||||
and derivative works that comment on or otherwise explain it or assist in its
|
||||
implementation may be prepared, copied, published, and distributed, in whole
|
||||
or in part, without restriction of any kind, provided that the above copyright
|
||||
notice and this section are included on all such copies and derivative works.
|
||||
However, this document itself may not be modified in any way, including by
|
||||
removing the copyright notice or references to OASIS, except as needed for
|
||||
the purpose of developing any document or deliverable produced by an OASIS
|
||||
Technical Committee (in which case the rules applicable to copyrights, as set
|
||||
forth in the OASIS IPR Policy, must be followed) or as required to translate
|
||||
it into languages other than English.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by
|
||||
OASIS or its successors or assigns.
|
||||
This document and the information contained herein is provided on an "AS IS"
|
||||
basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT
|
||||
NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT
|
||||
INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
OASIS requests that any OASIS Party or any other party that believes it has
|
||||
patent claims that would necessarily be infringed by implementations of this
|
||||
OASIS Committee Specification or OASIS Standard, to notify OASIS TC
|
||||
Administrator and provide an indication of its willingness to grant patent
|
||||
licenses to such patent claims in a manner consistent with the IPR Mode of
|
||||
the OASIS Technical Committee that produced this specification.
|
||||
|
||||
OASIS invites any party to contact the OASIS TC Administrator if it is aware
|
||||
of a claim of ownership of any patent claims that would necessarily be
|
||||
infringed by implementations of this specification by a patent holder that
|
||||
is not willing to provide a license to such patent claims in a manner
|
||||
consistent with the IPR Mode of the OASIS Technical Committee that produced
|
||||
this specification. OASIS may include such claims on its website, but
|
||||
disclaims any obligation to do so.
|
||||
|
||||
OASIS takes no position regarding the validity or scope of any intellectual
|
||||
property or other rights that might be claimed to pertain to the
|
||||
implementation or use of the technology described in this document or the
|
||||
extent to which any license under such rights might or might not be available;
|
||||
neither does it represent that it has made any effort to identify any such
|
||||
rights. Information on OASIS' procedures with respect to rights in any
|
||||
document or deliverable produced by an OASIS Technical Committee can be found
|
||||
on the OASIS website. Copies of claims of rights made available for
|
||||
publication and any assurances of licenses to be made available, or the result
|
||||
of an attempt made to obtain a general license or permission for the use of
|
||||
such proprietary rights by implementers or users of this OASIS Committee
|
||||
Specification or OASIS Standard, can be obtained from the OASIS TC
|
||||
Administrator. OASIS makes no representation that any information or list of
|
||||
intellectual property rights will at any time be complete, or that any claims
|
||||
in such list are, in fact, Essential Claims.
|
||||
|
||||
The name "OASIS" is a trademark of OASIS, the owner and developer of this
|
||||
specification, and should be used only to refer to the organization and its
|
||||
official outputs. OASIS welcomes reference to, and implementation and use of,
|
||||
specifications, while reserving the right to enforce its marks against
|
||||
misleading uses. Please see https://www.oasis-open.org/who/trademark.php for
|
||||
above guidance.
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"docbook5-schemas-5.1.zip": "b3f3413654003c1e773360d7fc60ebb8abd0e8c9af8e7d6c4b55f124f34d1e7f",
|
||||
"docbook-5.0.zip": "3dcd65e1f5d9c0c891b3be204fa2bb418ce485d32310e1ca052e81d36623208e",
|
||||
"LICENSE": "5c66bad84ebcc537a993635ee5daea509830c948eb8c05e9a6d1edb388fda5ed"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,396 @@
|
|||
Summary: Norman Walsh's schemas (DTD, Relax NG, W3C schema) for Docbook 5.X
|
||||
Name: docbook5-schemas
|
||||
Version: 5.1
|
||||
Release: 3%{?dist}
|
||||
License: Freely redistributable without restriction
|
||||
URL: https://docbook.org/
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
#Source0: https://www.docbook.org/xml/%{version}/docbook-v%{version}-os.zip
|
||||
Source0: %{name}-%{version}.zip
|
||||
Source1: https://www.docbook.org/xml/5.0/docbook-5.0.zip
|
||||
Source2: LICENSE
|
||||
|
||||
Provides: docbook5-dtd = %{version}-%{release}
|
||||
Provides: docbook5-rng = %{version}-%{release}
|
||||
Provides: docbook5-sch = %{version}-%{release}
|
||||
Provides: docbook5-xsd = %{version}-%{release}
|
||||
|
||||
Requires(post): libxml2 >= 2.4.8
|
||||
Requires(postun): libxml2 >= 2.4.8
|
||||
Requires: xml-common >= 0.6.3-24
|
||||
BuildRequires: perl
|
||||
BuildRequires: unzip
|
||||
BuildRequires: libxml2 >= 2.4.8
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
|
||||
%description
|
||||
Docbook 5.X is a complete rewrite of Docbook in RELAX NG and not compatible
|
||||
with previous Docbook versions. This package contains Relax NG , DTD and W3C
|
||||
schema for Docbook 5.X. Syntax of those schemas is XML-compliant and is
|
||||
developed by the OASIS consortium.
|
||||
|
||||
%prep
|
||||
%setup -c -T
|
||||
mkdir 5.0
|
||||
mkdir 5.1
|
||||
mv %{SOURCE2} .
|
||||
|
||||
#Unzip Docbook 5.0 specification
|
||||
cd 5.0
|
||||
unzip %{SOURCE1}
|
||||
mv docbook-5.0/* .
|
||||
#Prepare docs to right place
|
||||
mv docs/ ../
|
||||
mv README ../
|
||||
mv ChangeLog ../
|
||||
cd ..
|
||||
|
||||
#Unzip Docbook 5.1 specification
|
||||
cd 5.1
|
||||
unzip %{SOURCE0}
|
||||
mv schemas/rng .
|
||||
mv schemas/sch .
|
||||
mv schemas/catalog.xml .
|
||||
mv schemas/docbook.nvdl .
|
||||
cd ..
|
||||
|
||||
%build
|
||||
CATALOG=docbook-5.xml
|
||||
%{_bindir}/xmlcatalog --create --noout $CATALOG
|
||||
for v in 5.0
|
||||
do
|
||||
# DTD
|
||||
%{_bindir}/xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//DTD DocBook XML ${v}//EN" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/dtd/${v}/docbook.dtd" ${CATALOG}
|
||||
%{_bindir}/xmlcatalog --noout --add "system" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/dtd/docbook.dtd" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/dtd/${v}/docbook.dtd" ${CATALOG}
|
||||
%{_bindir}/xmlcatalog --noout --add "system" \
|
||||
"http://docbook.org/xml/${v}/dtd/docbook.dtd" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/dtd/${v}/docbook.dtd" ${CATALOG}
|
||||
# XSD
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/xsd/docbook.xsd" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/docbook.xsd" ${CATALOG}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://docbook.org/xml/${v}/xsd/docbook.xsd" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/docbook.xsd" ${CATALOG}
|
||||
# XSD + XInclude
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/xsd/docbookxi.xsd" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/docbookxi.xsd" ${CATALOG}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://docbook.org/xml/${v}/xsd/docbookxi.xsd" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/docbookxi.xsd" ${CATALOG}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/xsd/xi.xsd" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/xi.xsd" ${CATALOG}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://docbook.org/xml/${v}/xsd/xi.xsd" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/xi.xsd" ${CATALOG}
|
||||
# XLink + XML
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/xsd/xlink.xsd" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/xlink.xsd" ${CATALOG}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://docbook.org/xml/${v}/xsd/xlink.xsd" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/xlink.xsd" ${CATALOG}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/xsd/xml.xsd" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/xml.xsd" ${CATALOG}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://docbook.org/xml/${v}/xsd/xml.xsd" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/xml.xsd" ${CATALOG}
|
||||
done
|
||||
for v in 5.0 5.1
|
||||
do
|
||||
# RNG
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/rng/docbook.rng" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/docbook.rng" ${CATALOG}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://docbook.org/xml/${v}/rng/docbook.rng" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/docbook.rng" ${CATALOG}
|
||||
# RNG+XInclude
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/rng/docbookxi.rng" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/docbookxi.rng" ${CATALOG}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://docbook.org/xml/${v}/rng/docbookxi.rng" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/docbookxi.rng" ${CATALOG}
|
||||
# RNC
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/rnc/docbook.rnc" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/docbook.rnc" ${CATALOG}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://docbook.org/xml/${v}/rng/docbook.rnc" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/docbook.rnc" ${CATALOG}
|
||||
# RNC+XInclude
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/rnc/docbookxi.rnc" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/docbookxi.rnc" ${CATALOG}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://docbook.org/xml/${v}/rng/docbookxi.rnc" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/docbookxi.rnc" ${CATALOG}
|
||||
# Schematron
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/sch/docbook.sch" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/sch/${v}/docbook.sch" ${CATALOG}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://docbook.org/xml/${v}/sch/docbook.sch" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/sch/${v}/docbook.sch" ${CATALOG}
|
||||
done
|
||||
# ---------------------
|
||||
# Build XML catalog files for each Schema
|
||||
for v in 5.0 5.1
|
||||
do
|
||||
for s in rng sch; do
|
||||
cat=${v}/${s}/catalog.xml
|
||||
%{_bindir}/xmlcatalog --noout --create ${cat}
|
||||
case $s in
|
||||
sch)
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://docbook.org/xml/${v}/${s}/docbook.${s}" \
|
||||
"docbook.${s}" ${cat}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/${s}/docbook.${s}" \
|
||||
"docbook.${s}" ${cat}
|
||||
;;
|
||||
rng)
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://docbook.org/xml/${v}/${s}/docbook.${s}" \
|
||||
"docbook.${s}" ${cat}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/${s}/docbook.${s}" \
|
||||
"docbook.${s}" ${cat}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://docbook.org/xml/${v}/${s}/docbookxi.${s}" \
|
||||
"docbookxi.${s}" ${cat}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/${s}/docbookxi.${s}" \
|
||||
"docbookxi.${s}" ${cat}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://docbook.org/xml/${v}/${s}/docbook.rnc" \
|
||||
"docbook.rnc" ${cat}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/${s}/docbook.rnc" \
|
||||
"docbook.rnc" ${cat}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://docbook.org/xml/${v}/${s}/docbookxi.rnc" \
|
||||
"docbookxi.rnc" ${cat}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/${s}/docbookxi.rnc" \
|
||||
"docbookxi.rnc" ${cat}
|
||||
;;
|
||||
esac
|
||||
done
|
||||
done
|
||||
for v in 5.0
|
||||
do
|
||||
for s in dtd xsd; do
|
||||
cat=${v}/${s}/catalog.xml
|
||||
%{_bindir}/xmlcatalog --noout --create ${cat}
|
||||
case $s in
|
||||
dtd)
|
||||
%{_bindir}/xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//DTD DocBook XML ${v}//EN" \
|
||||
"docbook.dtd" ${cat}
|
||||
%{_bindir}/xmlcatalog --noout --add "system" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/dtd/docbook.dtd" \
|
||||
"docbook.dtd" ${cat}
|
||||
;;
|
||||
xsd)
|
||||
# http://www.oasis-open.org/docbook/xml/5.0/xsd/docbookxi.xsd
|
||||
# http://www.oasis-open.org/docbook/xml/5.0/xsd/xlink.xsd
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://docbook.org/xml/${v}/${s}/docbook.${s}" \
|
||||
"docbook.${s}" ${cat}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/${s}/docbook.${s}" \
|
||||
"docbook.${s}" ${cat}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://docbook.org/xml/${v}/${s}/docbookxi.${s}" \
|
||||
"docbookxi.${s}" ${cat}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/${s}/docbookxi.${s}" \
|
||||
"docbookxi.${s}" ${cat}
|
||||
# XLink + XML:
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://docbook.org/xml/${v}/${s}/xlink.xsd" \
|
||||
"xlink.xsd" ${cat}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/${s}/xlink.xsd" \
|
||||
"xlink.xsd" ${cat}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://docbook.org/xml/${v}/${s}/xml.xsd" \
|
||||
"xml.xsd" ${cat}
|
||||
%{_bindir}/xmlcatalog --noout --add "uri" \
|
||||
"http://www.oasis-open.org/docbook/xml/${v}/${s}/xml.xsd" \
|
||||
"xml.xsd" ${cat}
|
||||
;;
|
||||
esac
|
||||
done
|
||||
done
|
||||
|
||||
%install
|
||||
DOCBOOK5DIR=$RPM_BUILD_ROOT%{_datadir}/xml/docbook5
|
||||
for v in 5.0 5.1
|
||||
do
|
||||
mkdir -p ${DOCBOOK5DIR}/schema/rng/$v
|
||||
mkdir -p ${DOCBOOK5DIR}/schema/sch/$v
|
||||
install -m644 $v/rng/* ${DOCBOOK5DIR}/schema/rng/$v
|
||||
install -m644 $v/sch/* ${DOCBOOK5DIR}/schema/sch/$v
|
||||
done
|
||||
mkdir -p ${DOCBOOK5DIR}/schema/dtd/5.0
|
||||
mkdir -p ${DOCBOOK5DIR}/schema/xsd/5.0
|
||||
install -m644 5.0/dtd/* ${DOCBOOK5DIR}/schema/dtd/5.0
|
||||
install -m644 5.0/xsd/* ${DOCBOOK5DIR}/schema/xsd/5.0
|
||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||
install -m755 %{version}/tools/db4-entities.pl $RPM_BUILD_ROOT%{_bindir}
|
||||
mkdir -p ${DOCBOOK5DIR}/stylesheet/upgrade
|
||||
install -m644 %{version}/tools/db4-upgrade.xsl ${DOCBOOK5DIR}/stylesheet/upgrade
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xml
|
||||
install -m644 docbook-5.xml $RPM_BUILD_ROOT%{_sysconfdir}/xml/docbook-5.xml
|
||||
|
||||
%post
|
||||
ROOTCATALOG=%{_sysconfdir}/xml/catalog
|
||||
if [ -w $ROOTCATALOG ]
|
||||
then
|
||||
for v in 5.0 5.1
|
||||
do
|
||||
%{_bindir}/xmlcatalog --noout --add "delegatePublic" \
|
||||
"-//OASIS//DTD DocBook XML ${v}//EN" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/dtd/${v}/catalog.xml" \
|
||||
$ROOTCATALOG
|
||||
%{_bindir}/xmlcatalog --noout --add "delegateURI" \
|
||||
"http://docbook.org/xml/${v}/rng/" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/catalog.xml" \
|
||||
$ROOTCATALOG
|
||||
%{_bindir}/xmlcatalog --noout --add "delegateURI" \
|
||||
"http://docbook.org/xml/${v}/sch/" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/sch/${v}/catalog.xml" \
|
||||
$ROOTCATALOG
|
||||
done
|
||||
%{_bindir}/xmlcatalog --noout --add "delegateURI" \
|
||||
"http://docbook.org/xml/5.0/xsd/" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/xsd/${v}/catalog.xml" \
|
||||
$ROOTCATALOG
|
||||
%{_bindir}/xmlcatalog --noout --add "delegateSystem" \
|
||||
"http://docbook.org/xml/5.0/dtd/" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/dtd/${v}/catalog.xml" \
|
||||
$ROOTCATALOG
|
||||
%{_bindir}/xmlcatalog --noout --add "delegateURI" \
|
||||
"http://docbook.org/xml/5.0/dtd/" \
|
||||
"file://%{_datadir}/xml/docbook5/schema/dtd/${v}/catalog.xml" \
|
||||
$ROOTCATALOG
|
||||
fi
|
||||
|
||||
%postun
|
||||
if [ "$1" = 0 ]; then
|
||||
ROOTCATALOG=%{_sysconfdir}/xml/catalog
|
||||
if [ -w $ROOTCATALOG ]
|
||||
then
|
||||
for v in 5.0 5.1
|
||||
do
|
||||
%{_bindir}/xmlcatalog --noout --del \
|
||||
"file://%{_datadir}/xml/docbook5/schema/rng/${v}/catalog.xml" \
|
||||
$ROOTCATALOG
|
||||
%{_bindir}/xmlcatalog --noout --del \
|
||||
"file://%{_datadir}/xml/docbook5/schema/sch/${v}/catalog.xml" \
|
||||
$ROOTCATALOG
|
||||
done
|
||||
%{_bindir}/xmlcatalog --noout --del \
|
||||
"file://%{_datadir}/xml/docbook5/schema/dtd/5.0/catalog.xml" \
|
||||
$ROOTCATALOG
|
||||
%{_bindir}/xmlcatalog --noout --del \
|
||||
"file://%{_datadir}/xml/docbook5/schema/xsd/5.0/catalog.xml" \
|
||||
$ROOTCATALOG
|
||||
|
||||
fi
|
||||
fi
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc docs/* README ChangeLog
|
||||
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/xml/docbook-5.xml
|
||||
%dir %{_datadir}/xml/docbook5/
|
||||
%dir %{_datadir}/xml/docbook5/schema
|
||||
%dir %{_datadir}/xml/docbook5/schema/dtd
|
||||
%dir %{_datadir}/xml/docbook5/schema/rng
|
||||
%dir %{_datadir}/xml/docbook5/schema/sch
|
||||
%dir %{_datadir}/xml/docbook5/schema/xsd
|
||||
%dir %{_datadir}/xml/docbook5/stylesheet
|
||||
%dir %{_datadir}/xml/docbook5/stylesheet/upgrade
|
||||
# Docbook5.0
|
||||
%{_datadir}/xml/docbook5/schema/dtd/5.0
|
||||
%{_datadir}/xml/docbook5/schema/rng/5.0
|
||||
%{_datadir}/xml/docbook5/schema/sch/5.0
|
||||
%{_datadir}/xml/docbook5/schema/xsd/5.0
|
||||
# Docbook 5.1
|
||||
%{_datadir}/xml/docbook5/schema/rng/%{version}
|
||||
%{_datadir}/xml/docbook5/schema/sch/%{version}
|
||||
%{_datadir}/xml/docbook5/stylesheet/upgrade/db4-upgrade.xsl
|
||||
%{_bindir}/db4-entities.pl
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> - 5.1-3
|
||||
- Initial CBL-Mariner import from Fedora 33 (license: MIT)
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Feb 05 2020 Ondrej Vasik <ovasik@redhat.com> - 5.1-1
|
||||
- add Docbook 5.1 (no dtd and xsd schemas provided)
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 5.0-10
|
||||
- Perl 5.18 rebuild
|
||||
|
||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Fri Nov 30 2012 Ondrej Vasik <ovasik@redhat.com> 5.0-8
|
||||
- rebuild to have latest entry in the changelog
|
||||
|
||||
* Mon Feb 02 2009 Ondrej Vasik <ovasik@redhat.com> 5.0-2
|
||||
- do own /usr/share/xml/docbook5 properly(#483341)
|
||||
|
||||
* Thu Nov 13 2008 Ondrej Vasik <ovasik@redhat.com> 5.0-1
|
||||
- Initial Fedora release
|
|
@ -0,0 +1,18 @@
|
|||
From: Hiram Chirino <chirino@gmail.com>
|
||||
Date: Fri, 5 Jul 2013 18:32:28 +0400
|
||||
Subject: [PATCH] Allow leveldbjni build
|
||||
|
||||
|
||||
diff --git a/include/leveldb/slice.h b/include/leveldb/slice.h
|
||||
index 2df417d..1af5635 100644
|
||||
--- a/include/leveldb/slice.h
|
||||
+++ b/include/leveldb/slice.h
|
||||
@@ -86,7 +86,6 @@ class LEVELDB_EXPORT Slice {
|
||||
return ((size_ >= x.size_) && (memcmp(data_, x.data_, x.size_) == 0));
|
||||
}
|
||||
|
||||
- private:
|
||||
const char* data_;
|
||||
size_t size_;
|
||||
};
|
||||
|
|
@ -0,0 +1,119 @@
|
|||
From: Hiram Chirino <hiram@hiramchirino.com>
|
||||
Date: Tue, 30 Oct 2012 16:56:52 -0400
|
||||
Subject: [PATCH] Added a DB:SuspendCompations() and DB:ResumeCompactions()
|
||||
methods. Fixes issue #184
|
||||
|
||||
https://code.google.com/p/leveldb/issues/detail?id=184
|
||||
|
||||
diff --git a/db/db_impl.cc b/db/db_impl.cc
|
||||
index 761ebf6..da4e160 100644
|
||||
--- a/db/db_impl.cc
|
||||
+++ b/db/db_impl.cc
|
||||
@@ -136,6 +136,9 @@ DBImpl::DBImpl(const Options& raw_options, const std::string& dbname)
|
||||
table_cache_(new TableCache(dbname_, options_, TableCacheSize(options_))),
|
||||
db_lock_(nullptr),
|
||||
shutting_down_(false),
|
||||
+ suspend_cv(&suspend_mutex),
|
||||
+ suspend_count(0),
|
||||
+ suspended(false),
|
||||
background_work_finished_signal_(&mutex_),
|
||||
mem_(nullptr),
|
||||
imm_(nullptr),
|
||||
@@ -1455,6 +1458,39 @@ void DBImpl::GetApproximateSizes(const Range* range, int n, uint64_t* sizes) {
|
||||
}
|
||||
}
|
||||
|
||||
+void DBImpl::SuspendCompactions() {
|
||||
+ MutexLock l(& suspend_mutex);
|
||||
+ env_->Schedule(&SuspendWork, this);
|
||||
+ suspend_count++;
|
||||
+ while( !suspended ) {
|
||||
+ suspend_cv.Wait();
|
||||
+ }
|
||||
+}
|
||||
+void DBImpl::SuspendWork(void* db) {
|
||||
+ reinterpret_cast<DBImpl*>(db)->SuspendCallback();
|
||||
+}
|
||||
+void DBImpl::SuspendCallback() {
|
||||
+ MutexLock l(&suspend_mutex);
|
||||
+ Log(options_.info_log, "Compactions suspended");
|
||||
+ suspended = true;
|
||||
+ suspend_cv.SignalAll();
|
||||
+ while( suspend_count > 0 ) {
|
||||
+ suspend_cv.Wait();
|
||||
+ }
|
||||
+ suspended = false;
|
||||
+ suspend_cv.SignalAll();
|
||||
+ Log(options_.info_log, "Compactions resumed");
|
||||
+}
|
||||
+void DBImpl::ResumeCompactions() {
|
||||
+ MutexLock l(&suspend_mutex);
|
||||
+ suspend_count--;
|
||||
+ suspend_cv.SignalAll();
|
||||
+ while( suspended ) {
|
||||
+ suspend_cv.Wait();
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+
|
||||
// Default implementations of convenience methods that subclasses of DB
|
||||
// can call if they wish
|
||||
Status DB::Put(const WriteOptions& opt, const Slice& key, const Slice& value) {
|
||||
diff --git a/db/db_impl.h b/db/db_impl.h
|
||||
index ae87d6e..6213ccd 100644
|
||||
--- a/db/db_impl.h
|
||||
+++ b/db/db_impl.h
|
||||
@@ -47,6 +47,8 @@ class DBImpl : public DB {
|
||||
virtual bool GetProperty(const Slice& property, std::string* value);
|
||||
virtual void GetApproximateSizes(const Range* range, int n, uint64_t* sizes);
|
||||
virtual void CompactRange(const Slice* begin, const Slice* end);
|
||||
+ virtual void SuspendCompactions();
|
||||
+ virtual void ResumeCompactions();
|
||||
|
||||
// Extra methods (for testing) that are not in the public DB interface
|
||||
|
||||
@@ -169,6 +171,13 @@ class DBImpl : public DB {
|
||||
// Lock over the persistent DB state. Non-null iff successfully acquired.
|
||||
FileLock* db_lock_;
|
||||
|
||||
+ port::Mutex suspend_mutex;
|
||||
+ port::CondVar suspend_cv;
|
||||
+ int suspend_count;
|
||||
+ bool suspended;
|
||||
+ static void SuspendWork(void* db);
|
||||
+ void SuspendCallback();
|
||||
+
|
||||
// State below is protected by mutex_
|
||||
port::Mutex mutex_;
|
||||
std::atomic<bool> shutting_down_;
|
||||
diff --git a/db/db_test.cc b/db/db_test.cc
|
||||
index 78296d5..9a9c613 100644
|
||||
--- a/db/db_test.cc
|
||||
+++ b/db/db_test.cc
|
||||
@@ -2024,6 +2024,8 @@ class ModelDB : public DB {
|
||||
};
|
||||
|
||||
explicit ModelDB(const Options& options) : options_(options) {}
|
||||
+ virtual void SuspendCompactions() {}
|
||||
+ virtual void ResumeCompactions() {}
|
||||
~ModelDB() {}
|
||||
virtual Status Put(const WriteOptions& o, const Slice& k, const Slice& v) {
|
||||
return DB::Put(o, k, v);
|
||||
diff --git a/include/leveldb/db.h b/include/leveldb/db.h
|
||||
index ea3d9e5..bd039c4 100644
|
||||
--- a/include/leveldb/db.h
|
||||
+++ b/include/leveldb/db.h
|
||||
@@ -145,6 +145,12 @@ class LEVELDB_EXPORT DB {
|
||||
// Therefore the following call will compact the entire database:
|
||||
// db->CompactRange(nullptr, nullptr);
|
||||
virtual void CompactRange(const Slice* begin, const Slice* end) = 0;
|
||||
+
|
||||
+ // Suspends the background compaction thread. This methods
|
||||
+ // returns once suspended.
|
||||
+ virtual void SuspendCompactions() = 0;
|
||||
+ // Resumes a suspended background compation thread.
|
||||
+ virtual void ResumeCompactions() = 0;
|
||||
};
|
||||
|
||||
// Destroy the contents of the specified database.
|
||||
|
|
@ -0,0 +1,166 @@
|
|||
From: Steve Vinoski <vinoski@ieee.org>
|
||||
Date: Thu, 20 Dec 2012 16:14:11 -0500
|
||||
Subject: [PATCH] allow Get() calls to avoid copies into std::string
|
||||
|
||||
Add a new abstract base class leveldb::Value that applications can easily
|
||||
derive from to supply their own memory management for values retrieved via
|
||||
Get(). Add an internal class derived from Value that provides std::string
|
||||
management to preserve backward compatibility. Overload DBImpl::Get() to
|
||||
accept a Value*, and to preserve backward compatibility also keep the
|
||||
original version taking a std::string*.
|
||||
|
||||
diff --git a/db/db_impl.cc b/db/db_impl.cc
|
||||
index 761ebf6..16af7e2 100644
|
||||
--- a/db/db_impl.cc
|
||||
+++ b/db/db_impl.cc
|
||||
@@ -86,6 +86,22 @@ struct DBImpl::CompactionState {
|
||||
uint64_t total_bytes;
|
||||
};
|
||||
|
||||
+Value::~Value() {}
|
||||
+
|
||||
+class StringValue : public Value {
|
||||
+ public:
|
||||
+ explicit StringValue(std::string& val) : value_(val) {}
|
||||
+ ~StringValue() {}
|
||||
+
|
||||
+ StringValue& assign(const char* data, size_t size) {
|
||||
+ value_.assign(data, size);
|
||||
+ return *this;
|
||||
+ }
|
||||
+
|
||||
+ private:
|
||||
+ std::string& value_;
|
||||
+};
|
||||
+
|
||||
// Fix user-supplied options to be reasonable
|
||||
template <class T, class V>
|
||||
static void ClipToRange(T* ptr, V minvalue, V maxvalue) {
|
||||
@@ -1099,6 +1115,13 @@ int64_t DBImpl::TEST_MaxNextLevelOverlappingBytes() {
|
||||
|
||||
Status DBImpl::Get(const ReadOptions& options, const Slice& key,
|
||||
std::string* value) {
|
||||
+ StringValue stringvalue(*value);
|
||||
+ return DBImpl::Get(options, key, &stringvalue);
|
||||
+}
|
||||
+
|
||||
+Status DBImpl::Get(const ReadOptions& options,
|
||||
+ const Slice& key,
|
||||
+ Value* value) {
|
||||
Status s;
|
||||
MutexLock l(&mutex_);
|
||||
SequenceNumber snapshot;
|
||||
diff --git a/db/db_impl.h b/db/db_impl.h
|
||||
index ae87d6e..ab96bc7 100644
|
||||
--- a/db/db_impl.h
|
||||
+++ b/db/db_impl.h
|
||||
@@ -41,6 +41,9 @@ class DBImpl : public DB {
|
||||
virtual Status Write(const WriteOptions& options, WriteBatch* updates);
|
||||
virtual Status Get(const ReadOptions& options, const Slice& key,
|
||||
std::string* value);
|
||||
+ virtual Status Get(const ReadOptions& options,
|
||||
+ const Slice& key,
|
||||
+ Value* value);
|
||||
virtual Iterator* NewIterator(const ReadOptions&);
|
||||
virtual const Snapshot* GetSnapshot();
|
||||
virtual void ReleaseSnapshot(const Snapshot* snapshot);
|
||||
diff --git a/db/db_test.cc b/db/db_test.cc
|
||||
index 78296d5..cc98ea2 100644
|
||||
--- a/db/db_test.cc
|
||||
+++ b/db/db_test.cc
|
||||
@@ -2036,6 +2036,11 @@ class ModelDB : public DB {
|
||||
assert(false); // Not implemented
|
||||
return Status::NotFound(key);
|
||||
}
|
||||
+ virtual Status Get(const ReadOptions& options,
|
||||
+ const Slice& key, Value* value) {
|
||||
+ assert(false); // Not implemented
|
||||
+ return Status::NotFound(key);
|
||||
+ }
|
||||
virtual Iterator* NewIterator(const ReadOptions& options) {
|
||||
if (options.snapshot == nullptr) {
|
||||
KVMap* saved = new KVMap;
|
||||
diff --git a/db/memtable.cc b/db/memtable.cc
|
||||
index c91405c..382e15b 100644
|
||||
--- a/db/memtable.cc
|
||||
+++ b/db/memtable.cc
|
||||
@@ -97,7 +97,7 @@ void MemTable::Add(SequenceNumber s, ValueType type, const Slice& key,
|
||||
table_.Insert(buf);
|
||||
}
|
||||
|
||||
-bool MemTable::Get(const LookupKey& key, std::string* value, Status* s) {
|
||||
+bool MemTable::Get(const LookupKey& key, Value* value, Status* s) {
|
||||
Slice memkey = key.memtable_key();
|
||||
Table::Iterator iter(&table_);
|
||||
iter.Seek(memkey.data());
|
||||
diff --git a/db/memtable.h b/db/memtable.h
|
||||
index 9d986b1..85c4cce 100644
|
||||
--- a/db/memtable.h
|
||||
+++ b/db/memtable.h
|
||||
@@ -60,7 +60,7 @@ class MemTable {
|
||||
// If memtable contains a deletion for key, store a NotFound() error
|
||||
// in *status and return true.
|
||||
// Else, return false.
|
||||
- bool Get(const LookupKey& key, std::string* value, Status* s);
|
||||
+ bool Get(const LookupKey& key, Value* value, Status* s);
|
||||
|
||||
private:
|
||||
friend class MemTableIterator;
|
||||
diff --git a/db/version_set.cc b/db/version_set.cc
|
||||
index 96a92cc..6037878 100644
|
||||
--- a/db/version_set.cc
|
||||
+++ b/db/version_set.cc
|
||||
@@ -257,7 +257,7 @@ struct Saver {
|
||||
SaverState state;
|
||||
const Comparator* ucmp;
|
||||
Slice user_key;
|
||||
- std::string* value;
|
||||
+ Value* value;
|
||||
};
|
||||
} // namespace
|
||||
static void SaveValue(void* arg, const Slice& ikey, const Slice& v) {
|
||||
@@ -324,7 +324,7 @@ void Version::ForEachOverlapping(Slice user_key, Slice internal_key, void* arg,
|
||||
}
|
||||
|
||||
Status Version::Get(const ReadOptions& options, const LookupKey& k,
|
||||
- std::string* value, GetStats* stats) {
|
||||
+ Value* value, GetStats* stats) {
|
||||
Slice ikey = k.internal_key();
|
||||
Slice user_key = k.user_key();
|
||||
const Comparator* ucmp = vset_->icmp_.user_comparator();
|
||||
diff --git a/db/version_set.h b/db/version_set.h
|
||||
index 69f3d70..0f0a463 100644
|
||||
--- a/db/version_set.h
|
||||
+++ b/db/version_set.h
|
||||
@@ -72,7 +72,7 @@ class Version {
|
||||
// REQUIRES: This version has been saved (see VersionSet::SaveTo)
|
||||
void AddIterators(const ReadOptions&, std::vector<Iterator*>* iters);
|
||||
|
||||
- Status Get(const ReadOptions&, const LookupKey& key, std::string* val,
|
||||
+ Status Get(const ReadOptions&, const LookupKey& key, Value* val,
|
||||
GetStats* stats);
|
||||
|
||||
// Adds "stats" into the current state. Returns true if a new
|
||||
diff --git a/include/leveldb/db.h b/include/leveldb/db.h
|
||||
index ea3d9e5..7891b41 100644
|
||||
--- a/include/leveldb/db.h
|
||||
+++ b/include/leveldb/db.h
|
||||
@@ -40,6 +40,17 @@ struct LEVELDB_EXPORT Range {
|
||||
Slice limit; // Not included in the range
|
||||
};
|
||||
|
||||
+// Abstract holder for a DB value.
|
||||
+// This allows callers to manage their own value buffers and have
|
||||
+// DB values copied directly into those buffers.
|
||||
+class Value {
|
||||
+ public:
|
||||
+ virtual Value& assign(const char* data, size_t size) = 0;
|
||||
+
|
||||
+ protected:
|
||||
+ virtual ~Value();
|
||||
+};
|
||||
+
|
||||
// A DB is a persistent ordered map from keys to values.
|
||||
// A DB is safe for concurrent access from multiple threads without
|
||||
// any external synchronization.
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
From: Yehuda Sadeh <yehuda@inktank.com>
|
||||
Date: Mon, 2 Jul 2012 14:29:06 -0700
|
||||
Subject: [PATCH] bloom_test failure on big endian archs
|
||||
|
||||
When running bloom_test on big endian machines it fails due to unacceptable
|
||||
false positive rate. I've looked into the issue and it seems that the
|
||||
reason for that is that it passes a different input than when it runs on
|
||||
little endian. When transforming the input to be little endian it behaves
|
||||
as expected.
|
||||
This issue holds up inclusion of ceph to debian due to ceph's use of
|
||||
leveldb. The fix can be to bump up the acceptable false positives.
|
||||
|
||||
https://groups.google.com/d/topic/leveldb/SbVPvl4j4vU/discussion
|
||||
|
||||
diff --git a/util/bloom_test.cc b/util/bloom_test.cc
|
||||
index 436daa9..e4edc45 100644
|
||||
--- a/util/bloom_test.cc
|
||||
+++ b/util/bloom_test.cc
|
||||
@@ -136,7 +136,7 @@ TEST(BloomTest, VaryingLengths) {
|
||||
fprintf(stderr, "False positives: %5.2f%% @ length = %6d ; bytes = %6d\n",
|
||||
rate * 100.0, length, static_cast<int>(FilterSize()));
|
||||
}
|
||||
- ASSERT_LE(rate, 0.02); // Must not be over 2%
|
||||
+ ASSERT_LE(rate, 0.03); // Must not be over 3%
|
||||
if (rate > 0.0125)
|
||||
mediocre_filters++; // Allowed, but not too often
|
||||
else
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"leveldb-1.22.tar.gz": "55423cac9e3306f4a9502c738a001e4a339d1a38ffbee7572d4a07d5d63949b2"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,207 @@
|
|||
%undefine __cmake_in_source_build
|
||||
|
||||
Summary: A fast and lightweight key/value database library by Google
|
||||
Name: leveldb
|
||||
Version: 1.22
|
||||
Release: 3%{?dist}
|
||||
License: BSD
|
||||
URL: https://github.com/google/leveldb
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
# available in https://github.com/fusesource/leveldbjni/blob/leveldb.patch
|
||||
Patch0001: 0001-Allow-leveldbjni-build.patch
|
||||
# https://github.com/fusesource/leveldbjni/issues/34
|
||||
# https://code.google.com/p/leveldb/issues/detail?id=184
|
||||
# Add DB::SuspendCompactions() and DB:: ResumeCompactions() methods
|
||||
Patch0002: 0002-Added-a-DB-SuspendCompations-and-DB-ResumeCompaction.patch
|
||||
# Cherry-picked from Basho's fork
|
||||
Patch0003: 0003-allow-Get-calls-to-avoid-copies-into-std-string.patch
|
||||
# https://groups.google.com/d/topic/leveldb/SbVPvl4j4vU/discussion
|
||||
Patch0004: 0004-bloom_test-failure-on-big-endian-archs.patch
|
||||
|
||||
BuildRequires: cmake
|
||||
#Provided by gcc package
|
||||
#BuildRequires: gcc-c++
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
BuildRequires: snappy-devel
|
||||
BuildRequires: sqlite-devel
|
||||
|
||||
%description
|
||||
LevelDB is a fast key-value storage library written at Google that provides an
|
||||
ordered mapping from string keys to string values.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
# Provided by cmake
|
||||
#Requires: cmake-filesystem
|
||||
Requires: cmake
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
cat > %{name}.pc << EOF
|
||||
prefix=%{_prefix}
|
||||
exec_prefix=${prefix}
|
||||
libdir=%{_libdir}
|
||||
includedir=%{_includedir}
|
||||
|
||||
Name: %{name}
|
||||
Description: %{summary}
|
||||
Version: %{version}
|
||||
Libs: -l%{name}
|
||||
EOF
|
||||
|
||||
%build
|
||||
%cmake
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
||||
cp -a %{name}.pc %{buildroot}%{_libdir}/pkgconfig/
|
||||
|
||||
%check
|
||||
%ctest
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc AUTHORS README.md NEWS
|
||||
%{_libdir}/lib%{name}.so.*
|
||||
|
||||
%files devel
|
||||
%doc doc/ CONTRIBUTING.md TODO
|
||||
%{_includedir}/%{name}/
|
||||
%{_libdir}/lib%{name}.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_libdir}/cmake/%{name}/
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> 1.22-3
|
||||
- Initial CBL-Mariner version imported from Fedora 33 (license: MIT)
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.22-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sun Mar 29 2020 Kefu Chai <tchaikov@gmail.com> - 1.22-1
|
||||
- Update to 1.22
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Tue Apr 09 2019 Peter Lemenkov <lemenkov@gmail.com> - 1.21-1
|
||||
- Update to 1.21
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.20-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.20-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.20-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Mon Oct 23 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.20-1
|
||||
- Update to 1.20
|
||||
- Disable parallel make invocation to prevent build failures
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Sun Aug 07 2016 Igor Gnatenko <ignatenko@redhat.com> - 1.18-1
|
||||
- Update to 1.18 (RHBZ #1306611)
|
||||
- Cleanups and fixes in spec
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.0-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Thu May 14 2015 Tomas Hozza <thozza@redhat.com> - 1.12.0-9
|
||||
- rebuild with newer gcc to resolve linking issues with Ceph
|
||||
|
||||
* Sun Mar 1 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.12.0-8
|
||||
- F-23: rebuild for gcc5 ABI change
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sun Aug 25 2013 Peter Lemenkov <lemenkov@gmail.com> - 1.12.0-5
|
||||
- Don't build with assertions
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Wed Jul 10 2013 Peter Lemenkov <lemenkov@gmail.com> - 1.12.0-3
|
||||
- Backported Basho's patch (see rhbz#982980)
|
||||
|
||||
* Mon Jul 01 2013 gil cattaneo <puntogil@libero.it> 1.12.0-2
|
||||
- add SuspendCompactions and ResumeCompactions methods for allow leveldbjni build
|
||||
|
||||
* Sat Jun 29 2013 gil cattaneo <puntogil@libero.it> - 1.12.0-1
|
||||
- update to 1.12.0
|
||||
|
||||
* Wed Feb 27 2013 gil cattaneo <puntogil@libero.it> - 1.9.0-1
|
||||
- update to 1.9.0
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Thu Feb 07 2013 Karsten Hopp <karsten@redhat.com> 1.7.0-5
|
||||
- temporarily ignore result of self checks on PPC* (rhbz #908800)
|
||||
|
||||
* Thu Nov 29 2012 gil cattaneo <puntogil@libero.it> - 1.7.0-4
|
||||
- Applied patch for allow leveldbjni build
|
||||
|
||||
* Sat Oct 27 2012 Peter Lemenkov <lemenkov@gmail.com> - 1.7.0-3
|
||||
- Dirty workarounds for failed tests on ARM
|
||||
|
||||
* Sat Oct 27 2012 Peter Lemenkov <lemenkov@gmail.com> - 1.7.0-2
|
||||
- Restored patch no.2
|
||||
|
||||
* Sat Oct 27 2012 Peter Lemenkov <lemenkov@gmail.com> - 1.7.0-1
|
||||
- Ver. 1.7.0 (API/ABI compatible bugfix release)
|
||||
|
||||
* Tue Aug 21 2012 Dan Horák <dan[at]danny.cz> - 1.5.0-4
|
||||
- add workaround for big endians eg. s390(x)
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Wed Jul 11 2012 Peter Lemenkov <lemenkov@gmail.com> - 1.5.0-2
|
||||
- Cleaned up spec by removing EL5-related stuff
|
||||
- Added notes about the patches
|
||||
|
||||
* Fri Jun 15 2012 Peter Lemenkov <lemenkov@gmail.com> - 1.5.0-1
|
||||
- Ver. 1.5.0
|
||||
|
||||
* Thu May 17 2012 Peter Lemenkov <lemenkov@gmail.com> - 1.4.0-1
|
||||
- Initial package
|
|
@ -1,7 +1,7 @@
|
|||
Summary: Netlink Protocol Library Suite
|
||||
Name: libnl3
|
||||
Version: 3.4.0
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: https://www.infradead.org/~tgr/libnl/
|
||||
|
@ -22,6 +22,13 @@ Netlink is a IPC mechanism primarly between the kernel and user space processes.
|
|||
%package devel
|
||||
Summary: Libraries and headers for the libnl
|
||||
Requires: libnl3
|
||||
Provides: pkgconfig(libnl-3.0)
|
||||
Provides: pkgconfig(libnl-cli-3.0)
|
||||
Provides: pkgconfig(libnl-genl-3.0)
|
||||
Provides: pkgconfig(libnl-idiag-3.0)
|
||||
Provides: pkgconfig(libnl-nf-3.0)
|
||||
Provides: pkgconfig(libnl-route-3.0)
|
||||
Provides: pkgconfig(libnl-xfrm-3.0)
|
||||
|
||||
%description devel
|
||||
Headers and static libraries for the libnl
|
||||
|
@ -56,27 +63,34 @@ make %{?_smp_mflags} check
|
|||
%{_libdir}/*.so
|
||||
%{_libdir}/*.la
|
||||
%{_libdir}/*.a
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_libdir}/pkgconfig/libnl-3.0.pc
|
||||
%{_libdir}/pkgconfig/libnl-cli-3.0.pc
|
||||
%{_libdir}/pkgconfig/libnl-genl-3.0.pc
|
||||
%{_libdir}/pkgconfig/libnl-idiag-3.0.pc
|
||||
%{_libdir}/pkgconfig/libnl-nf-3.0.pc
|
||||
%{_libdir}/pkgconfig/libnl-route-3.0.pc
|
||||
%{_libdir}/pkgconfig/libnl-xfrm-3.0.pc
|
||||
|
||||
%changelog
|
||||
* Fri Aug 28 2020 Thomas Crain <thcrain@microsoft.com> - 3.4.0-6
|
||||
- Add pkg-config provides to devel package
|
||||
* Sat May 09 00:21:15 PST 2020 Nick Samson <nisamson@microsoft.com> - 3.4.0-5
|
||||
- Added %%license line automatically
|
||||
|
||||
* Thu Apr 30 2020 Nicolas Ontiveros <niontive@microsoft.com> 3.4.0-4
|
||||
- Rename from libnl to libnl3.
|
||||
* Tue Apr 14 2020 Nick Samson <nisamson@microsoft.com> 3.4.0-3
|
||||
- Updated Source0, URL. License verified.
|
||||
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 3.4.0-2
|
||||
- Initial CBL-Mariner import from Photon (license: Apache2).
|
||||
* Wed Sep 19 2018 Bo Gan <ganb@vmware.com> 3.4.0-1
|
||||
- Updated to version 3.4.0
|
||||
* Tue Apr 11 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.2.29-1
|
||||
- Updated to version 3.2.29.
|
||||
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.2.27-2
|
||||
- GA - Bump release of all rpms
|
||||
* Fri Jan 15 2016 Xiaolin Li <xiaolinl@vmware.com> 3.2.27-1
|
||||
- Updated to version 3.2.27
|
||||
* Tue Sep 22 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.2.25-2
|
||||
- Updated build-requires after creating devel package for dbus.
|
||||
* Tue Jun 23 2015 Divya Thaluru <dthaluru@vmware.com> 3.2.25-1
|
||||
- Initial build.
|
||||
* Thu Apr 30 2020 Nicolas Ontiveros <niontive@microsoft.com> - 3.4.0-4
|
||||
- Rename from libnl to libnl3.
|
||||
* Tue Apr 14 2020 Nick Samson <nisamson@microsoft.com> - 3.4.0-3
|
||||
- Updated Source0, URL. License verified.
|
||||
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 3.4.0-2
|
||||
- Initial import from Photon (license: dual Apache2/GPL2).
|
||||
* Wed Sep 19 2018 Bo Gan <ganb@vmware.com> - 3.4.0-1
|
||||
- Updated to version 3.4.0
|
||||
* Tue Apr 11 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> - 3.2.29-1
|
||||
- Updated to version 3.2.29.
|
||||
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 3.2.27-2
|
||||
- GA - Bump release of all rpms
|
||||
* Fri Jan 15 2016 Xiaolin Li <xiaolinl@vmware.com> - 3.2.27-1
|
||||
- Updated to version 3.2.27
|
||||
* Tue Sep 22 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> - 3.2.25-2
|
||||
- Updated build-requires after creating devel package for dbus.
|
||||
* Tue Jun 23 2015 Divya Thaluru <dthaluru@vmware.com> - 3.2.25-1
|
||||
- Initial build.
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
diff --git a/packaging/daemon/libstoragemgmt.conf b/packaging/daemon/libstoragemgmt.conf
|
||||
index 1c118a9..cdb43c2 100644
|
||||
--- a/packaging/daemon/libstoragemgmt.conf
|
||||
+++ b/packaging/daemon/libstoragemgmt.conf
|
||||
@@ -1,2 +1,2 @@
|
||||
-D /var/run/lsm 0775 root libstoragemgmt -
|
||||
-D /var/run/lsm/ipc 0775 root libstoragemgmt -
|
||||
+D /run/lsm 0775 root libstoragemgmt -
|
||||
+D /run/lsm/ipc 0775 root libstoragemgmt -
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"libstoragemgmt-1.8.4.tar.gz": "a2dcd67b2c4d113d2b18a3c0b83015cb05dd692f6061d62b9c6c5e31ef56625a"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,910 @@
|
|||
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
|
||||
%bcond_with test
|
||||
|
||||
Summary: Storage array management library
|
||||
Name: libstoragemgmt
|
||||
Version: 1.8.4
|
||||
Release: 6%{?dist}
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/libstorage/libstoragemgmt
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
Source0: https://github.com/libstorage/libstoragemgmt/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch1: 0001-change-run-dir.patch
|
||||
|
||||
Requires: python3-%{name}
|
||||
BuildRequires: gcc
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libxml2-devel
|
||||
#Provided by check
|
||||
#BuildRequires: check-devel
|
||||
BuildRequires: check
|
||||
BuildRequires: perl
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: glib-devel
|
||||
BuildRequires: systemd
|
||||
BuildRequires: bash-completion
|
||||
BuildRequires: libconfig
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: procps-ng
|
||||
BuildRequires: sqlite-devel
|
||||
BuildRequires: python3-six
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pywbem
|
||||
|
||||
%{?systemd_requires}
|
||||
BuildRequires: systemd
|
||||
BuildRequires: systemd-devel
|
||||
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: valgrind
|
||||
|
||||
%description
|
||||
The libStorageMgmt library will provide a vendor agnostic open source storage
|
||||
application programming interface (API) that will allow management of storage
|
||||
arrays. The library includes a command line interface for interactive use and
|
||||
scripting (command lsmcli). The library also has a daemon that is used for
|
||||
executing plug-ins in a separate process (lsmd).
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%package -n python3-%{name}
|
||||
Summary: Python 3 client libraries and plug-in support for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
Requires: python3-%{name}-clibs
|
||||
%{?python_provide:%python_provide python3-%{name}}
|
||||
|
||||
%description -n python3-%{name}
|
||||
This contains python 3 client libraries as well as python framework
|
||||
support and open source plug-ins written in python 3.
|
||||
|
||||
%package -n python3-%{name}-clibs
|
||||
Summary: Python 3 C extension module for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%{?python_provide:%python_provide python3-%{name}-clibs}
|
||||
|
||||
%description -n python3-%{name}-clibs
|
||||
This package contains python 3 client C extension libraries.
|
||||
|
||||
%package smis-plugin
|
||||
Summary: Files for SMI-S generic array support for %{name}
|
||||
BuildRequires: python3-pywbem
|
||||
Requires: python3-pywbem
|
||||
BuildArch: noarch
|
||||
Provides: %{name}-ibm-v7k-plugin = 2:%{version}-%{release}
|
||||
Requires: python3-%{name} = %{version}
|
||||
Requires(post): python3-%{name} = %{version}
|
||||
Requires(postun): python3-%{name} = %{version}
|
||||
|
||||
|
||||
%description smis-plugin
|
||||
The %{name}-smis-plugin package contains plug-in for generic SMI-S array
|
||||
support.
|
||||
|
||||
|
||||
%package netapp-plugin
|
||||
Summary: Files for NetApp array support for %{name}
|
||||
Requires: python3-%{name} = %{version}
|
||||
Requires(post): python3-%{name} = %{version}
|
||||
Requires(postun): python3-%{name} = %{version}
|
||||
Requires: python3-%{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description netapp-plugin
|
||||
The %{name}-netapp-plugin package contains plug-in for NetApp array
|
||||
support.
|
||||
|
||||
|
||||
%package targetd-plugin
|
||||
Summary: Files for targetd array support for %{name}
|
||||
Requires: python3-%{name} = %{version}
|
||||
Requires(post): python3-%{name} = %{version}
|
||||
Requires(postun): python3-%{name} = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description targetd-plugin
|
||||
The %{name}-targetd-plugin package contains plug-in for targetd array
|
||||
support.
|
||||
|
||||
|
||||
%package nstor-plugin
|
||||
Summary: Files for NexentaStor array support for %{name}
|
||||
Requires: python3-%{name} = %{version}
|
||||
Requires(post): python3-%{name} = %{version}
|
||||
Requires(postun): python3-%{name} = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description nstor-plugin
|
||||
The %{name}-nstor-plugin package contains plug-in for NexentaStor array
|
||||
support.
|
||||
|
||||
%package udev
|
||||
Summary: Udev files for %{name}
|
||||
|
||||
%description udev
|
||||
The %{name}-udev package contains udev rules and helper utilities for
|
||||
uevents generated by the kernel.
|
||||
|
||||
%package megaraid-plugin
|
||||
Summary: Files for LSI MegaRAID support for %{name}
|
||||
Requires: python3-%{name} = %{version}
|
||||
Requires(post): python3-%{name} = %{version}
|
||||
Requires(postun): python3-%{name} = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description megaraid-plugin
|
||||
The %{name}-megaraid-plugin package contains the plugin for LSI
|
||||
MegaRAID storage management via storcli.
|
||||
|
||||
%package hpsa-plugin
|
||||
Summary: Files for HP SmartArray support for %{name}
|
||||
Requires: python3-%{name} = %{version}
|
||||
Requires(post): python3-%{name} = %{version}
|
||||
Requires(postun): python3-%{name} = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description hpsa-plugin
|
||||
The %{name}-hpsa-plugin package contains the plugin for HP
|
||||
SmartArray storage management via hpssacli.
|
||||
|
||||
%package arcconf-plugin
|
||||
Summary: Files for Microsemi Adaptec and Smart Family support for %{name}
|
||||
Requires: python3-%{name} = %{version}
|
||||
Requires(post): python3-%{name} = %{version}
|
||||
Requires(postun): python3-%{name} = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description arcconf-plugin
|
||||
The %{name}-arcconf-plugin package contains the plugin for Microsemi
|
||||
Adaptec RAID and Smart Family Controller storage management.
|
||||
|
||||
%package nfs-plugin
|
||||
Summary: Files for NFS local filesystem support for %{name}
|
||||
Requires: python3-%{name} = %{version}
|
||||
Requires: %{name}-nfs-plugin-clibs = %{version}
|
||||
Requires: nfs-utils
|
||||
Requires(post): python3-%{name} = %{version}
|
||||
Requires(postun): python3-%{name} = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description nfs-plugin
|
||||
The nfs-plugin package contains plug-in for local NFS exports support.
|
||||
|
||||
%package nfs-plugin-clibs
|
||||
Summary: Python C extension module for %{name} NFS plugin
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description nfs-plugin-clibs
|
||||
The %{name}-nfs-plugin-clibs package contains python C
|
||||
extension for %{name} NFS plugin.
|
||||
|
||||
|
||||
%package local-plugin
|
||||
Summary: Files for local pseudo plugin of %{name}
|
||||
Requires: python3-%{name} = %{version}
|
||||
Requires(post): python3-%{name} = %{version}
|
||||
Requires(postun): python3-%{name} = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description local-plugin
|
||||
The %{name}-local-plugin is a plugin that provides auto
|
||||
plugin selection for locally managed storage.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure --with-python3 --disable-static
|
||||
%make_build
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%make_install
|
||||
|
||||
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
#Files for udev handling
|
||||
mkdir -p %{buildroot}/%{_udevrulesdir}
|
||||
install -m 644 tools/udev/90-scsi-ua.rules \
|
||||
%{buildroot}/%{_udevrulesdir}/90-scsi-ua.rules
|
||||
install -m 755 tools/udev/scan-scsi-target \
|
||||
%{buildroot}/%{_udevrulesdir}/../scan-scsi-target
|
||||
|
||||
mkdir -p %{buildroot}/%{_datadir}/bash-completion/completions/
|
||||
mv %{buildroot}/etc/bash_completion.d/lsmcli %{buildroot}/%{_datadir}/bash-completion/completions/
|
||||
|
||||
%if 0%{with test}
|
||||
%check
|
||||
if ! make check
|
||||
then
|
||||
cat test-suite.log || true
|
||||
exit 1
|
||||
fi
|
||||
%endif
|
||||
|
||||
%pre
|
||||
getent group libstoragemgmt >/dev/null || groupadd -r libstoragemgmt
|
||||
getent passwd libstoragemgmt >/dev/null || \
|
||||
useradd -r -g libstoragemgmt -d /var/run/lsm -s /sbin/nologin \
|
||||
-c "daemon account for libstoragemgmt" libstoragemgmt
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
# Create tmp socket folders.
|
||||
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
|
||||
%systemd_post %{name}.service
|
||||
|
||||
%preun
|
||||
%systemd_preun %{name}.service
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%systemd_postun %{name}.service
|
||||
|
||||
# Need to restart lsmd if plugin is new installed or removed.
|
||||
%post smis-plugin
|
||||
if [ $1 -eq 1 ]; then
|
||||
# New install.
|
||||
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
%postun smis-plugin
|
||||
if [ $1 -eq 0 ]; then
|
||||
# Remove
|
||||
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
# Need to restart lsmd if plugin is new installed or removed.
|
||||
%post netapp-plugin
|
||||
if [ $1 -eq 1 ]; then
|
||||
# New install.
|
||||
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
%postun netapp-plugin
|
||||
if [ $1 -eq 0 ]; then
|
||||
# Remove
|
||||
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
# Need to restart lsmd if plugin is new installed or removed.
|
||||
%post targetd-plugin
|
||||
if [ $1 -eq 1 ]; then
|
||||
# New install.
|
||||
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
%postun targetd-plugin
|
||||
if [ $1 -eq 0 ]; then
|
||||
# Remove
|
||||
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
# Need to restart lsmd if plugin is new installed or removed.
|
||||
%post nstor-plugin
|
||||
if [ $1 -eq 1 ]; then
|
||||
# New install.
|
||||
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
%postun nstor-plugin
|
||||
if [ $1 -eq 0 ]; then
|
||||
# Remove
|
||||
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
# Need to restart lsmd if plugin is new installed or removed.
|
||||
%post megaraid-plugin
|
||||
if [ $1 -eq 1 ]; then
|
||||
# New install.
|
||||
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
%postun megaraid-plugin
|
||||
if [ $1 -eq 0 ]; then
|
||||
# Remove
|
||||
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
# Need to restart lsmd if plugin is new installed or removed.
|
||||
%post hpsa-plugin
|
||||
if [ $1 -eq 1 ]; then
|
||||
# New install.
|
||||
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
%postun hpsa-plugin
|
||||
if [ $1 -eq 0 ]; then
|
||||
# Remove
|
||||
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
# Need to restart lsmd if plugin is new installed or removed.
|
||||
%post arcconf-plugin
|
||||
if [ $1 -eq 1 ]; then
|
||||
# New install.
|
||||
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
%postun arcconf-plugin
|
||||
if [ $1 -eq 0 ]; then
|
||||
# Remove
|
||||
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
# Need to restart lsmd if plugin is new installed or removed.
|
||||
%post nfs-plugin
|
||||
if [ $1 -eq 1 ]; then
|
||||
# New install.
|
||||
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
%postun nfs-plugin
|
||||
if [ $1 -eq 0 ]; then
|
||||
# Remove
|
||||
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
# Need to restart lsmd if plugin is new installed or removed.
|
||||
%post local-plugin
|
||||
if [ $1 -eq 1 ]; then
|
||||
# New install.
|
||||
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
%postun local-plugin
|
||||
if [ $1 -eq 0 ]; then
|
||||
# Remove
|
||||
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
%files
|
||||
%license COPYING.LIB
|
||||
%doc README NEWS
|
||||
%{_mandir}/man1/lsmcli.1*
|
||||
%{_mandir}/man1/lsmd.1*
|
||||
%{_mandir}/man5/lsmd.conf.5*
|
||||
%{_libdir}/*.so.*
|
||||
%{_bindir}/lsmcli
|
||||
%{_datadir}/bash-completion/completions/lsmcli
|
||||
%{_bindir}/lsmd
|
||||
%{_bindir}/simc_lsmplugin
|
||||
%dir %{_sysconfdir}/lsm
|
||||
%dir %{_sysconfdir}/lsm/pluginconf.d
|
||||
%config(noreplace) %{_sysconfdir}/lsm/lsmd.conf
|
||||
%{_mandir}/man1/simc_lsmplugin.1*
|
||||
|
||||
%{_unitdir}/%{name}.service
|
||||
|
||||
%ghost %dir %attr(0775, root, libstoragemgmt) /run/lsm/
|
||||
%ghost %dir %attr(0775, root, libstoragemgmt) /run/lsm/ipc
|
||||
|
||||
%attr(0644, root, root) %{_tmpfilesdir}/%{name}.conf
|
||||
|
||||
%files devel
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_mandir}/man3/lsm_*
|
||||
%{_mandir}/man3/libstoragemgmt*
|
||||
|
||||
%files -n python3-%{name}
|
||||
%dir %{python3_sitelib}/lsm
|
||||
%{python3_sitelib}/lsm/__init__.*
|
||||
%dir %{python3_sitelib}/lsm/external
|
||||
%{python3_sitelib}/lsm/external/*
|
||||
%{python3_sitelib}/lsm/_client.*
|
||||
%{python3_sitelib}/lsm/_common.*
|
||||
%{python3_sitelib}/lsm/_local_disk.*
|
||||
%{python3_sitelib}/lsm/_data.*
|
||||
%{python3_sitelib}/lsm/_iplugin.*
|
||||
%{python3_sitelib}/lsm/_pluginrunner.*
|
||||
%{python3_sitelib}/lsm/_transport.*
|
||||
%{python3_sitelib}/lsm/__pycache__/
|
||||
%{python3_sitelib}/lsm/version.*
|
||||
%dir %{python3_sitelib}/lsm/plugin
|
||||
%{python3_sitelib}/lsm/plugin/__init__.*
|
||||
%{python3_sitelib}/lsm/plugin/__pycache__/
|
||||
%dir %{python3_sitelib}/lsm/plugin/sim
|
||||
%{python3_sitelib}/lsm/plugin/sim/__pycache__/
|
||||
%{python3_sitelib}/lsm/plugin/sim/__init__.*
|
||||
%{python3_sitelib}/lsm/plugin/sim/simulator.*
|
||||
%{python3_sitelib}/lsm/plugin/sim/simarray.*
|
||||
%dir %{python3_sitelib}/lsm/lsmcli
|
||||
%{python3_sitelib}/lsm/lsmcli/__init__.*
|
||||
%{python3_sitelib}/lsm/lsmcli/__pycache__/
|
||||
%{python3_sitelib}/lsm/lsmcli/data_display.*
|
||||
%{python3_sitelib}/lsm/lsmcli/cmdline.*
|
||||
%{_bindir}/sim_lsmplugin
|
||||
%dir %{_libexecdir}/lsm.d
|
||||
%{_libexecdir}/lsm.d/find_unused_lun.py*
|
||||
%{_libexecdir}/lsm.d/local_sanity_check.py*
|
||||
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/sim.conf
|
||||
%{_mandir}/man1/sim_lsmplugin.1*
|
||||
|
||||
%files -n python3-%{name}-clibs
|
||||
%{python3_sitelib}/lsm/_clib.*
|
||||
|
||||
%files smis-plugin
|
||||
%dir %{python3_sitelib}/lsm/plugin/smispy
|
||||
%dir %{python3_sitelib}/lsm/plugin/smispy/__pycache__
|
||||
%{python3_sitelib}/lsm/plugin/smispy/__pycache__/*
|
||||
%{python3_sitelib}/lsm/plugin/smispy/__init__.*
|
||||
%{python3_sitelib}/lsm/plugin/smispy/smis.*
|
||||
%{python3_sitelib}/lsm/plugin/smispy/dmtf.*
|
||||
%{python3_sitelib}/lsm/plugin/smispy/utils.*
|
||||
%{python3_sitelib}/lsm/plugin/smispy/smis_common.*
|
||||
%{python3_sitelib}/lsm/plugin/smispy/smis_cap.*
|
||||
%{python3_sitelib}/lsm/plugin/smispy/smis_sys.*
|
||||
%{python3_sitelib}/lsm/plugin/smispy/smis_pool.*
|
||||
%{python3_sitelib}/lsm/plugin/smispy/smis_disk.*
|
||||
%{python3_sitelib}/lsm/plugin/smispy/smis_vol.*
|
||||
%{python3_sitelib}/lsm/plugin/smispy/smis_ag.*
|
||||
%{_bindir}/smispy_lsmplugin
|
||||
%{_mandir}/man1/smispy_lsmplugin.1*
|
||||
|
||||
%files netapp-plugin
|
||||
%dir %{python3_sitelib}/lsm/plugin/ontap
|
||||
%dir %{python3_sitelib}/lsm/plugin/ontap/__pycache__
|
||||
%{python3_sitelib}/lsm/plugin/ontap/__pycache__/*
|
||||
%{python3_sitelib}/lsm/plugin/ontap/__init__.*
|
||||
%{python3_sitelib}/lsm/plugin/ontap/na.*
|
||||
%{python3_sitelib}/lsm/plugin/ontap/ontap.*
|
||||
%{_bindir}/ontap_lsmplugin
|
||||
%{_mandir}/man1/ontap_lsmplugin.1*
|
||||
|
||||
%files targetd-plugin
|
||||
%dir %{python3_sitelib}/lsm/plugin/targetd
|
||||
%dir %{python3_sitelib}/lsm/plugin/targetd/__pycache__
|
||||
%{python3_sitelib}/lsm/plugin/targetd/__pycache__/*
|
||||
%{python3_sitelib}/lsm/plugin/targetd/__init__.*
|
||||
%{python3_sitelib}/lsm/plugin/targetd/targetd.*
|
||||
%{_bindir}/targetd_lsmplugin
|
||||
%{_mandir}/man1/targetd_lsmplugin.1*
|
||||
|
||||
%files nstor-plugin
|
||||
%dir %{python3_sitelib}/lsm/plugin/nstor
|
||||
%dir %{python3_sitelib}/lsm/plugin/nstor/__pycache__
|
||||
%{python3_sitelib}/lsm/plugin/nstor/__pycache__/*
|
||||
%{python3_sitelib}/lsm/plugin/nstor/__init__.*
|
||||
%{python3_sitelib}/lsm/plugin/nstor/nstor.*
|
||||
%{_bindir}/nstor_lsmplugin
|
||||
%{_mandir}/man1/nstor_lsmplugin.1*
|
||||
|
||||
%files udev
|
||||
%{_udevrulesdir}/../scan-scsi-target
|
||||
%{_udevrulesdir}/90-scsi-ua.rules
|
||||
|
||||
%files megaraid-plugin
|
||||
%dir %{python3_sitelib}/lsm/plugin/megaraid
|
||||
%dir %{python3_sitelib}/lsm/plugin/megaraid/__pycache__
|
||||
%{python3_sitelib}/lsm/plugin/megaraid/__pycache__/*
|
||||
%{python3_sitelib}/lsm/plugin/megaraid/__init__.*
|
||||
%{python3_sitelib}/lsm/plugin/megaraid/megaraid.*
|
||||
%{python3_sitelib}/lsm/plugin/megaraid/utils.*
|
||||
%{_bindir}/megaraid_lsmplugin
|
||||
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/megaraid.conf
|
||||
%{_mandir}/man1/megaraid_lsmplugin.1*
|
||||
|
||||
%files hpsa-plugin
|
||||
%dir %{python3_sitelib}/lsm/plugin/hpsa
|
||||
%dir %{python3_sitelib}/lsm/plugin/hpsa/__pycache__
|
||||
%{python3_sitelib}/lsm/plugin/hpsa/__pycache__/*
|
||||
%{python3_sitelib}/lsm/plugin/hpsa/__init__.*
|
||||
%{python3_sitelib}/lsm/plugin/hpsa/hpsa.*
|
||||
%{python3_sitelib}/lsm/plugin/hpsa/utils.*
|
||||
%{_bindir}/hpsa_lsmplugin
|
||||
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/hpsa.conf
|
||||
%{_mandir}/man1/hpsa_lsmplugin.1*
|
||||
|
||||
%files nfs-plugin
|
||||
%dir %{python3_sitelib}/lsm/plugin/nfs
|
||||
%dir %{python3_sitelib}/lsm/plugin/nfs/__pycache__
|
||||
%{python3_sitelib}/lsm/plugin/nfs/__pycache__/*
|
||||
%{python3_sitelib}/lsm/plugin/nfs/__init__.*
|
||||
%{python3_sitelib}/lsm/plugin/nfs/nfs.*
|
||||
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/nfs.conf
|
||||
%{_bindir}/nfs_lsmplugin
|
||||
%{_mandir}/man1/nfs_lsmplugin.1*
|
||||
|
||||
%files nfs-plugin-clibs
|
||||
%{python3_sitelib}/lsm/plugin/nfs/nfs_clib.*
|
||||
|
||||
%files arcconf-plugin
|
||||
%dir %{python3_sitelib}/lsm/plugin/arcconf
|
||||
%dir %{python3_sitelib}/lsm/plugin/arcconf/__pycache__
|
||||
%{python3_sitelib}/lsm/plugin/arcconf/__pycache__/*
|
||||
%{python3_sitelib}/lsm/plugin/arcconf/__init__.*
|
||||
%{python3_sitelib}/lsm/plugin/arcconf/arcconf.*
|
||||
%{python3_sitelib}/lsm/plugin/arcconf/utils.*
|
||||
%{_bindir}/arcconf_lsmplugin
|
||||
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/arcconf.conf
|
||||
%{_mandir}/man1/arcconf_lsmplugin.1*
|
||||
|
||||
%files local-plugin
|
||||
%dir %{python3_sitelib}/lsm/plugin/local
|
||||
%dir %{python3_sitelib}/lsm/plugin/local/__pycache__
|
||||
%{python3_sitelib}/lsm/plugin/local/__pycache__/*
|
||||
%{python3_sitelib}/lsm/plugin/local/__init__.*
|
||||
%{python3_sitelib}/lsm/plugin/local/local.*
|
||||
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/local.conf
|
||||
%{_bindir}/local_lsmplugin
|
||||
%{_mandir}/man1/local_lsmplugin.1*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> 1.8.4-6
|
||||
- Initial CBL-Mariner version imported from Fedora 33 (license: MIT)
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-5
|
||||
- Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 1.8.4-3
|
||||
- Use make macros
|
||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.8.4-2
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Thu May 21 2020 Tony Asleson <tasleson@redhat.com> - 1.8.4-1
|
||||
- Upgrade to 1.8.4
|
||||
|
||||
* Wed Feb 12 2020 Tony Asleson <tasleson@redhat.com> - 1.8.3-1
|
||||
- Upgrade to 1.8.3
|
||||
|
||||
* Mon Feb 10 2020 Tony Asleson <tasleson@redhat.com> - 1.8.2-3
|
||||
- Correct python clib packages to include ISA for correct dependencies
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Tue Dec 10 2019 Tony Asleson <tasleson@redhat.com> - 1.8.2-1
|
||||
- Upgrade to 1.8.2
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.8.0-4
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.8.0-3
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Wed Apr 17 2019 Tony Asleson <tasleson@redhat.com> - 1.8.0-1
|
||||
- Upgrade to 1.8.0
|
||||
|
||||
* Mon Feb 18 2019 Tony Asleson <tasleson@redhat.com> - 1.7.3-1
|
||||
- Upgrade to 1.7.3
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Wed Dec 19 2018 Tony Asleson <tasleson@redhat.com> - 1.7.2-1
|
||||
- Upgrade to 1.7.2
|
||||
|
||||
* Tue Nov 6 2018 Tony Asleson <tasleson@redhat.com> - 1.7.1-1
|
||||
- Upgrade to 1.7.1
|
||||
|
||||
* Wed Oct 31 2018 Tony Asleson <tasleson@redhat.com> - 1.7.0-1
|
||||
- Upgrade to 1.7.0
|
||||
|
||||
* Tue Sep 18 2018 Gris Ge <fge@redhat.com> - 1.6.2-10
|
||||
- Add explicit package version requirement to libstoragemgmt-nfs-plugin-clibs.
|
||||
|
||||
* Mon Sep 17 2018 Gris Ge <fge@redhat.com> - 1.6.2-9
|
||||
- Fix the `rpm -V` failures. (RHBZ #1629735, the same issue also in Fedora)
|
||||
|
||||
* Tue Jul 24 2018 Adam Williamson <awilliam@redhat.com> - 1.6.2-8
|
||||
- Rebuild for new libconfig
|
||||
|
||||
* Tue Jul 24 2018 Gris Ge <fge@redhat.com> - 1.6.2-7
|
||||
- Add missing gcc gcc-c++ build requirements.
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Jun 26 2018 Gris Ge <fge@redhat.com> - 1.6.2-5
|
||||
- Fix lscmli on python 3.7.
|
||||
|
||||
* Tue Jun 26 2018 Gris Ge <fge@redhat.com> - 1.6.2-4
|
||||
- Rebuild again with --target=f29-python.
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.6.2-3
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Mon Jun 18 2018 Gris Ge <fge@redhat.com> - 1.6.2-2
|
||||
- Removed the requirement of initscripts. (RHBZ 1592363)
|
||||
|
||||
* Fri May 18 2018 Gris Ge <fge@redhat.com> - 1.6.2-1
|
||||
- Upgrade to 1.6.2.
|
||||
|
||||
* Fri Mar 23 2018 Gris Ge <fge@redhat.com> - 1.6.1-7
|
||||
- Fix incorect memset size.
|
||||
|
||||
* Fri Mar 23 2018 Gris Ge <fge@redhat.com> - 1.6.1-6
|
||||
- Add ./autogen.sh back to fix the version diff on autotools.
|
||||
|
||||
* Fri Mar 23 2018 Gris Ge <fge@redhat.com> - 1.6.1-5
|
||||
- Add missing rpm script for arcconf, nfs, local plugins.
|
||||
|
||||
* Thu Mar 22 2018 Gris Ge <fge@redhat.com> - 1.6.1-4
|
||||
- Fix build on GCC 8
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Jan 03 2018 Lumír Balhar <lbalhar@redhat.com> - 1.6.1-2
|
||||
- Fix directory ownership in python subpackages
|
||||
|
||||
* Tue Oct 31 2017 Gris Ge <fge@redhat.com> - 1.6.1-1
|
||||
- Upgrade to 1.6.1
|
||||
|
||||
* Thu Oct 19 2017 Gris Ge <fge@redhat.com> - 1.6.0-1
|
||||
- Upgrade to 1.6.0
|
||||
|
||||
* Sun Oct 15 2017 Gris Ge <fge@redhat.com> - 1.5.0-3
|
||||
- Specify Python version in SPEC Requires.
|
||||
|
||||
* Wed Oct 11 2017 Gris Ge <fge@redhat.com> - 1.5.0-2
|
||||
- Fix multilib confliction of nfs-plugin by move binrary file to
|
||||
another subpackage libstoragemgmt-nfs-plugin-clibs
|
||||
|
||||
* Tue Oct 10 2017 Gris Ge <fge@redhat.com> - 1.5.0-0
|
||||
- New upstream release 1.5.0:
|
||||
* New sub-package libstoragemgmt-nfs-plugin, libstoragemgmt-arcconf-plugin,
|
||||
and libstoragemgmt-local-plugin.
|
||||
* C API manpages for libstoragemgmt-devel package.
|
||||
|
||||
* Tue Oct 3 2017 Tony Asleson <tasleson@redhat.com> - 1.4.0-5
|
||||
- Remove m2crypto requirement
|
||||
|
||||
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.4.0-4
|
||||
- Python 2 binary packages renamed to python2-libstoragemgmt and python2-libstoragemgmt-clibs
|
||||
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||
- %%python_provide added for all four python subpackages
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Tue Feb 21 2017 Gris Ge <fge@redhat.com> 1.4.0-1
|
||||
- Add Python3 support.
|
||||
- New sub rpm package python3-libstoragemgmt.
|
||||
- Add support of lmiwbem(this rpm use pywbem instead).
|
||||
- Allow plugin test to be run concurrently.
|
||||
- Bug fixes:
|
||||
* Fix megaraid plugin for dell PERC.
|
||||
* Fix local disk rotation speed query on NVMe disk.
|
||||
* Fix lsmcli incorrect try-expect on local disk query.
|
||||
* Fix all the gcc compile warnings.
|
||||
* Fix the obsolete usage of AC_OUTPUT in configure.ac.
|
||||
- Library adds:
|
||||
* Query serial of local disk:
|
||||
lsm_local_disk_serial_num_get()/lsm.LocalDisk.serial_num_get()
|
||||
* Query LED status of local disk:
|
||||
lsm_local_disk_led_status_get()/lsm.LocalDisk.led_status_get()
|
||||
* Query link speed of local disk:
|
||||
lsm_local_disk_link_speed_get()/lsm.LocalDisk.link_speed_get()
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Tue Sep 27 2016 Gris Ge <fge@redhat.com> 1.3.5-1
|
||||
- New upstream release 1.3.5
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-2
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
||||
* Wed May 18 2016 Tony Asleson <tasleson@redhat.com> 1.3.2-1
|
||||
- New upstream release 1.3.2
|
||||
|
||||
* Fri May 13 2016 Tony Asleson <tasleson@redhat.com> 1.3.1-2
|
||||
- Disable make check as we are hitting a valgrind memleak in ld.so
|
||||
on arm arch.
|
||||
|
||||
* Fri May 13 2016 Tony Asleson <tasleson@redhat.com> 1.3.1-1
|
||||
- New upstream release 1.3.1
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 24 2015 Gris Ge <fge@redhat.com> 1.2.3-1
|
||||
- New upstream release 1.2.3:
|
||||
* Bug fixes:
|
||||
* lsmcli bash completion: Fix syntax error.
|
||||
* lsmcli bash completion: Fix volume-delete.
|
||||
* lsmcli bash completion: Add missing completions.
|
||||
* Fix: selinux dac_override
|
||||
* Manpage: Update hpsa and megaraid plugin manpages.
|
||||
* HP Smart Array Plugin: Fix pool querying on P410i.
|
||||
* MegaRAID Plugin: Fix bug when no volume configured.
|
||||
|
||||
* Fri Jun 19 2015 Gris Ge <fge@redhat.com> - 1.2.1-1
|
||||
- New upstream release 1.2.1.
|
||||
- Changed upstream URL and source URL to github.
|
||||
- New sub-pacakges:
|
||||
* libstoragemgmt-megaraid-plugin
|
||||
New plugin in 1.2.0 release.
|
||||
* libstoragemgmt-hpsa-plugin
|
||||
New plugin in 1.2.0 release.
|
||||
- Add bash-completion script for lsmcli.
|
||||
- New rpmbuild switch:
|
||||
* '--without test'
|
||||
Use to skip 'make check' test to save debug time.
|
||||
* '--without megaraid'
|
||||
Don't compile megaraid plugin.
|
||||
* '--without hpsa'
|
||||
Don't compile hpsa plugin.
|
||||
- Remove PyYAML BuildRequires.
|
||||
- Add NEWS(changelog) to document folder.
|
||||
- Replace the hardcoded udev path with <percent>{_udevrulesdir}.
|
||||
- Fix rpmlint error 'dir-or-file-in-var-run'.
|
||||
- Mark /run/lsm and /run/lsm/ipc as <percent>ghost folder.
|
||||
- Fix rpmlint warnning 'W: non-standard-uid /run/lsm libstoragemgmt'.
|
||||
- Add 'Requires(post)' and 'Requires(postun)' to plugins in order
|
||||
to make sure plugin is installed after libstoragemgmt and removed before
|
||||
libstoragemgmt.
|
||||
- Fix the incorrect use of <percent>bcond_with and <percent>bcond_without.
|
||||
- Removed autogen.sh which is not required for release version any more.
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.1.0-3
|
||||
- Rebuilt for GCC 5 C++11 ABI change
|
||||
|
||||
* Fri Jan 16 2015 Tony Asleson <tasleson@redhat.com> 1.1.0-2
|
||||
- Make updates work correctly for removed sub package
|
||||
libstoragemgmt-ibm-v7k-plugin
|
||||
|
||||
* Thu Dec 4 2014 Tony Asleson <tasleson@redhat.com> 1.1.0-1
|
||||
- New upstream release
|
||||
- Fix udev files directory
|
||||
- Move command line files to python package
|
||||
|
||||
* Wed Oct 8 2014 Tony Asleson <tasleson@redhat.com> - 1.0.0-3
|
||||
- Specify udev files to /usr/lib dir instead of /lib
|
||||
- Move command line python files to python package
|
||||
|
||||
* Wed Oct 1 2014 Tony Asleson <tasleson@redhat.com> - 1.0.0-2
|
||||
- BZ 850185, Use new systemd rpm macros
|
||||
- BZ 1122117, Use correct tmpfiles.d dir
|
||||
|
||||
* Sun Sep 7 2014 Tony Asleson <tasleson@redhat.com> - 1.0.0-1
|
||||
- New upstream release
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Thu Jul 3 2014 Tony Asleson <tasleson@redhat.com> - 0.1.0-1
|
||||
- New upstream release
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.24-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Thu Jan 30 2014 Tony Asleson <tasleson@redhat.com> 0.0.24-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Nov 27 2013 Tony Asleson <tasleson@redhat.com> 0.0.23-1
|
||||
- New upstream release
|
||||
|
||||
* Mon Aug 12 2013 Tony Asleson <tasleson@redhat.com> 0.0.22-1
|
||||
- New upstream release
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.21-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Tue Jul 16 2013 Tony Asleson <tasleson@redhat.com> 0.0.21-1
|
||||
- New upstream release
|
||||
- Put plug-ins in separate sub packages
|
||||
- Don't include IBM plug-in on RHEL > 6, missing paramiko
|
||||
|
||||
* Tue May 28 2013 Tony Asleson <tasleson@redhat.com> - 0.0.20-1
|
||||
- New upstream release
|
||||
- Separate package for python libraries
|
||||
- Make timestamps match on version.py in library
|
||||
- Add python-paramiko requirement for IBM plug-in
|
||||
|
||||
* Mon Apr 22 2013 Tony Asleson <tasleson@redhat.com> - 0.0.19-1
|
||||
- New upstream release
|
||||
|
||||
* Fri Mar 8 2013 Tony Asleson <tasleson@redhat.com> - 0.0.18-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Jan 31 2013 Tony Asleson <tasleson@redhat.com> - 0.0.17-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Jan 2 2013 Tony Asleson <tasleson@redhat.com> - 0.0.16-1
|
||||
- New upstream release
|
||||
|
||||
* Tue Nov 27 2012 Tony Asleson <tasleson@redhat.com> - 0.0.15-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Oct 3 2012 Tony Asleson <tasleson@redhat.com> - 0.0.13-1
|
||||
- New upstream release
|
||||
|
||||
* Tue Sep 18 2012 Tony Asleson <tasleson@redhat.com> - 0.0.12-1
|
||||
- New upstream release
|
||||
|
||||
* Mon Aug 13 2012 Tony Asleson <tasleson@redhat.com> 0.0.11-1
|
||||
- New upstream release
|
||||
|
||||
* Fri Jul 27 2012 Dan Horák <dan[at]danny.cz> - 0.0.9-3
|
||||
- detect also non-x86 arches in Pegasus check
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Tue Jun 12 2012 Tony Asleson <tasleson@redhat.com> 0.0.9-1
|
||||
- Initial checkin of lio plug-in
|
||||
- System filtering via URI (smispy)
|
||||
- Error code mapping (ontap)
|
||||
- Fixed build so same build tarball is used for all binaries
|
||||
|
||||
* Mon Jun 4 2012 Tony Asleson <tasleson@redhat.com> 0.0.8-1
|
||||
- Make building of SMI-S CPP plugin optional
|
||||
- Add pkg-config file
|
||||
- SMIS: Fix exception while retrieving Volumes
|
||||
- SMIS: Fix exception while retrieving Volumes
|
||||
- lsm: Add package imports
|
||||
- Make Smis class available in lsm python package
|
||||
- Add option to disable building C unit test
|
||||
- Make simulator classes available in lsm python package
|
||||
- Make ontap class available in lsm python package
|
||||
- Changes to support building on Fedora 17 (v2)
|
||||
- Spec. file updates from feedback from T. Callaway (spot)
|
||||
- F17 linker symbol visibility correction
|
||||
- Remove unneeded build dependencies and cleaned up some warnings
|
||||
- C Updates, client C library feature parity with python
|
||||
|
||||
* Fri May 11 2012 Tony Asleson <tasleson@redhat.com> 0.0.7-1
|
||||
- Bug fix for smi-s constants
|
||||
- Display formatting improvements
|
||||
- Added header option for lsmcli
|
||||
- Improved version handling for builds
|
||||
- Made terminology consistent
|
||||
- Ability to list visibility for access groups and volumes
|
||||
- Simulator plug-in fully supports all block operations
|
||||
- Added support for multiple systems with a single plug-in instance
|
||||
|
||||
* Fri Apr 20 2012 Tony Asleson <tasleson@redhat.com> 0.0.6-1
|
||||
- Documentation improvements (man & source code)
|
||||
- Support for access groups
|
||||
- Unified spec files Fedora/RHEL
|
||||
- Package version auto generate
|
||||
- Rpm target added to make
|
||||
- Bug fix for missing optional property on volume retrieval (smispy plug-in)
|
||||
|
||||
* Fri Apr 6 2012 Tony Asleson <tasleson@redhat.com> 0.0.5-1
|
||||
- Spec file clean-up improvements
|
||||
- Async. operation added to lsmcli and ability to check on job status
|
||||
- Sub volume replication support
|
||||
- Ability to check for child dependencies on VOLUMES, FS and files
|
||||
- SMI-S Bug fixes and improvements
|
||||
|
||||
* Mon Mar 26 2012 Tony Asleson <tasleson@redhat.com> 0.0.4-1
|
||||
- Restore from snapshot
|
||||
- Job identifiers string instead of integer
|
||||
- Updated license address
|
||||
|
||||
* Wed Mar 14 2012 Tony Asleson <tasleson@redhat.com> 0.0.3-1
|
||||
- Changes to installer, daemon uid, gid, /var/run/lsm/*
|
||||
- NFS improvements and bug fixes
|
||||
- Python library clean up (rpmlint errors)
|
||||
|
||||
* Sun Mar 11 2012 Tony Asleson <tasleson@redhat.com> 0.0.2-1
|
||||
- Added NetApp native plugin
|
||||
|
||||
* Mon Feb 6 2012 Tony Asleson <tasleson@redhat.com> 0.0.1alpha-1
|
||||
- Initial version of package
|
|
@ -0,0 +1,133 @@
|
|||
The source for this package does not include an explicit copy of the licenses.
|
||||
License information is contained within the package source.
|
||||
|
||||
See:
|
||||
lsb_release
|
||||
|
||||
Copyright (C) 2000 Free Software Group, Inc
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
Preamble
|
||||
The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and modification follow.
|
||||
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
|
||||
b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
|
||||
c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
|
||||
These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
|
||||
b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
|
||||
c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
|
||||
The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
How to Apply These Terms to Your New Programs
|
||||
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
one line to give the program's name and an idea of what it does.
|
||||
Copyright (C) yyyy name of author
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
|
||||
type `show w'. This is free software, and you are welcome
|
||||
to redistribute it under certain conditions; type `show c'
|
||||
for details.
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright
|
||||
interest in the program `Gnomovision'
|
||||
(which makes passes at compilers) written
|
||||
by James Hacker.
|
||||
|
||||
signature of Ty Coon, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License.
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"LICENSE.PTR": "e795614588114961fc0d5aa0e142ca79b77a9448f1cbb8d199cdcce8d926d30f",
|
||||
"lsb-release-1.4.tar.gz": "99321288f8d62e7a1d485b7c6bdccf06766fb8ca603c6195806e4457fdf17172"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,37 @@
|
|||
%define LICENSE_PATH LICENSE.PTR
|
||||
Summary: lsb_release script
|
||||
Name: lsb-release
|
||||
Version: 1.4
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2+
|
||||
URL: https://wiki.linuxfoundation.org/lsb/start
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
BuildArch: noarch
|
||||
Source0: https://downloads.sourceforge.net/lsb/%{name}-%{version}.tar.gz
|
||||
Source1: %{LICENSE_PATH}
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: gzip
|
||||
Requires: mariner-release
|
||||
|
||||
%description
|
||||
lsb_release prints certain LSB (Linux Standard Base) and Distribution information.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%install
|
||||
./help2man -N --include ./lsb_release.examples --alt_version_key=program_version ./lsb_release > lsb_release.1
|
||||
gzip -9f lsb_release.1
|
||||
install -D -m 644 lsb_release.1.gz %{buildroot}%{_mandir}/man1/lsb_release.1.gz
|
||||
install -D -m 755 lsb_release %{buildroot}%{_bindir}/lsb_release
|
||||
|
||||
%files
|
||||
%license %{LICENSE_PATH}
|
||||
%{_bindir}/lsb_release
|
||||
%{_mandir}/man1/lsb_release.1.gz
|
||||
|
||||
%changelog
|
||||
* Wed Aug 26 2020 Thomas Crain <thcrain@microsoft.com> - 1.4-1
|
||||
- Original version for Mariner.
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"mailcap-2.1.49.tar.xz": "f7381516bc1a937348efd1d0e14618e0a2afc5d59fe821dd248632d5601b59b5"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,351 @@
|
|||
Summary: Helper application and MIME type associations for file types
|
||||
Name: mailcap
|
||||
Version: 2.1.49
|
||||
Release: 3%{?dist}
|
||||
License: Public Domain and MIT
|
||||
URL: https://pagure.io/mailcap
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
Source0: https://pagure.io/releases/%{name}/%{name}-%{version}.tar.xz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: perl
|
||||
# the test script is written in python
|
||||
BuildRequires: python3
|
||||
|
||||
|
||||
%description
|
||||
The mailcap file is used by the metamail program. Metamail reads the
|
||||
mailcap file to determine how it should display non-text or multimedia
|
||||
material. Basically, mailcap associates a particular type of file
|
||||
with a particular program that a mail agent or other program can call
|
||||
in order to handle the file. Mailcap should be installed to allow
|
||||
certain programs to be able to handle non-text files.
|
||||
|
||||
Also included in this package is the mime.types file which contains a
|
||||
list of MIME types and their filename "extension" associations, used
|
||||
by several applications e.g. to determine MIME types for filenames.
|
||||
|
||||
%package -n nginx-mimetypes
|
||||
Summary: MIME type mappings for nginx
|
||||
License: Public Domain
|
||||
Requires: nginx
|
||||
|
||||
%description -n nginx-mimetypes
|
||||
MIME type mappings for nginx.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%make_install sysconfdir=%{_sysconfdir} mandir=%{_mandir}
|
||||
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc NEWS
|
||||
%config(noreplace) %{_sysconfdir}/mailcap
|
||||
%config(noreplace) %{_sysconfdir}/mime.types
|
||||
%{_mandir}/man5/mailcap.*
|
||||
|
||||
%files -n nginx-mimetypes
|
||||
%doc NEWS
|
||||
%config(noreplace) %{_sysconfdir}/nginx/mime.types
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> - 2.1.49-3
|
||||
- Initial CBL-Mariner version imported from Fedora 33 (license: MIT)
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.49-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Apr 22 2020 Tomas Korbar <tkorbar@redhat.com> - 2.1.49-1
|
||||
- Rebase to 2.1.49
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.48-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.48-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.48-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.48-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.48-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.48-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Thu May 11 2017 Ville Skyttä <ville.skytta@iki.fi> - 2.1.48-1
|
||||
- Update to 2.1.48
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.47-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Tue Nov 1 2016 Ville Skyttä <ville.skytta@iki.fi> - 2.1.47-1
|
||||
- Update to 2.1.47
|
||||
|
||||
* Thu Jul 28 2016 Miroslav Lichvar <mlichvar@redhat.com> - 2.1.46-2
|
||||
- Add build requirement for perl
|
||||
|
||||
* Sun May 29 2016 Ville Skyttä <ville.skytta@iki.fi> - 2.1.46-1
|
||||
- Update to 2.1.46
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.45-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Sep 25 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.1.45-1
|
||||
- Update to 2.1.45
|
||||
- Output nginx-mimetypes subpackage
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.44-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Apr 27 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.1.44-1
|
||||
- Update to 2.1.44
|
||||
|
||||
* Tue Oct 14 2014 Ville Skyttä <ville.skytta@iki.fi> - 2.1.43-1
|
||||
- Update to 2.1.43
|
||||
- Mark COPYING as %%license
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.42-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sat Oct 5 2013 Ville Skyttä <ville.skytta@iki.fi> - 2.1.42-1
|
||||
- Update to 2.1.42.
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.41-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Tue May 14 2013 Ville Skyttä <ville.skytta@iki.fi> - 2.1.41-1
|
||||
- Update to 2.1.41.
|
||||
- Fix bogus dates in %%changelog.
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.40-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Sun Aug 5 2012 Ville Skyttä <ville.skytta@iki.fi> - 2.1.40-1
|
||||
- Update to 2.1.40.
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.39-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Mon Feb 20 2012 Ville Skyttä <ville.skytta@iki.fi> - 2.1.39-1
|
||||
- Update to 2.1.39.
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.38-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Tue Aug 16 2011 Ville Skyttä <ville.skytta@iki.fi> - 2.1.38-1
|
||||
- Update to 2.1.38.
|
||||
|
||||
* Tue Mar 29 2011 Ville Skyttä <ville.skytta@iki.fi> - 2.1.37-1
|
||||
- Update to 2.1.37.
|
||||
|
||||
* Tue Feb 22 2011 Ville Skyttä <ville.skytta@iki.fi> - 2.1.36-1
|
||||
- Update to 2.1.36.
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.35-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Thu Dec 2 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.1.35-2
|
||||
- Fix URL tag (#659210, Matt McCutchen).
|
||||
|
||||
* Wed Oct 13 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.1.35-1
|
||||
- Update to 2.1.35.
|
||||
|
||||
* Tue Aug 24 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.1.34-1
|
||||
- Update to 2.1.34.
|
||||
|
||||
* Sat Jul 3 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.1.33-1
|
||||
- Update to 2.1.33, fixes #604924.
|
||||
|
||||
* Fri Mar 19 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.1.32-1
|
||||
- Update to 2.1.32, fixes #546116.
|
||||
|
||||
* Tue Nov 17 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.1.31-1
|
||||
- Update to 2.1.31, fixes #529584.
|
||||
|
||||
* Sat Sep 19 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.1.30-1
|
||||
- Update to 2.1.30, see NEWS for details.
|
||||
- Improve summary and description.
|
||||
- Add MIT to License: for mailcap.4 man page.
|
||||
- Specfile cleanup.
|
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.29-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.29-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Mon Dec 15 2008 Miroslav Lichvar <mlichvar@redhat.com> 2.1.29-1
|
||||
- update mime.types (Ville Skyttä) (#476455)
|
||||
|
||||
* Fri Feb 15 2008 Miroslav Lichvar <mlichvar@redhat.com> 2.1.28-1
|
||||
- add new entries from perl-libwww-perl's media.types
|
||||
(Ville Skyttä) (#432290)
|
||||
|
||||
* Thu Feb 07 2008 Miroslav Lichvar <mlichvar@redhat.com> 2.1.27-1
|
||||
- associate *.ent with text/xml-external-parsed-entity
|
||||
(Ville Skyttä) (#431722)
|
||||
|
||||
* Tue Jan 22 2008 Miroslav Lichvar <mlichvar@redhat.com> 2.1.26-1
|
||||
- use xdg-open (Ville Skyttä) (#388481)
|
||||
- spec cleanup (#226116)
|
||||
|
||||
* Tue Jul 10 2007 Miroslav Lichvar <mlichvar@redhat.com> 2.1.25-1
|
||||
- add image/vnd.microsoft.icon to mime.types (#247222)
|
||||
|
||||
* Mon Jun 18 2007 Miroslav Lichvar <mlichvar@redhat.com> 2.1.24-1
|
||||
- add text/x-vcard to mime.types (#243889)
|
||||
- mark configs noreplace, cleanup spec a bit
|
||||
|
||||
* Tue Sep 05 2006 Miroslav Lichvar <mlichvar@redhat.com> 2.1.23-1
|
||||
- add video/x-flv to mime.types (#205239)
|
||||
|
||||
* Mon Aug 07 2006 Miroslav Lichvar <mlichvar@redhat.com> 2.1.22-1
|
||||
- add java/mobile mime types (#201512 <ville.skytta@iki.fi>)
|
||||
|
||||
* Tue Jul 18 2006 Miroslav Lichvar <mlichvar@redhat.com> 2.1.21-1
|
||||
- add audio and video x-ms mime types (#197840)
|
||||
|
||||
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.1.20-1.1
|
||||
- rebuild
|
||||
|
||||
* Mon Feb 13 2006 Miroslav Lichvar <mlichvar@redhat.com> 2.1.20-1
|
||||
- add OpenOffice.org 2.0 mime types (#173789)
|
||||
|
||||
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Mon Mar 7 2005 Bill Nottingham <notting@redhat.com> 2.1.19-1
|
||||
- s/ggv/evince/ (#150509)
|
||||
|
||||
* Fri Jan 21 2005 Bill Nottingham <notting@redhat.com> 2.1.18-1
|
||||
- add iso, img to octet-stream (#142459 <ville.skytta@iki.fi>)
|
||||
|
||||
* Mon Oct 11 2004 Bill Nottingham <notting@redhat.com> 2.1.17-1
|
||||
- pdfs -> back to ggv
|
||||
|
||||
* Thu Sep 23 2004 Bill Nottingham <notting@redhat.com> 2.1.16-1
|
||||
- eog -> gthumb
|
||||
- pdfs -> gpdf
|
||||
|
||||
* Mon May 3 2004 Bill Nottingham <notting@redhat.com> 2.1.15-1
|
||||
- xpdf/gv -> ggv (#118401)
|
||||
- add application/x-bittorrent (#118752)
|
||||
|
||||
* Fri Jul 11 2003 Bill Nottingham <notting@redhat.com> 2.1.14-1
|
||||
- add application/ogg and OpenOffice.org mime.types
|
||||
|
||||
* Fri Feb 7 2003 Bill Nottingham <notting@redhat.com> 2.1.13-1
|
||||
- resync mime.types with apache
|
||||
- clean out mailcap some
|
||||
|
||||
* Tue Sep 3 2002 Bill Nottingham <notting@redhat.com> 2.1.12-1
|
||||
- add application/x-ogg to mime.types
|
||||
|
||||
* Fri Jul 19 2002 Jens Petersen <petersen@redhat.com> 2.1.11-1
|
||||
- use eog instead of ee
|
||||
|
||||
* Tue Jun 18 2002 Nalin Dahyabhai <nalin@redhat.com> 2.1.10-1
|
||||
- resync mime.types with apache 1.3.26
|
||||
|
||||
* Mon Dec 24 2001 Bill Nottingham <notting@rehdat.com> 2.1.9-1
|
||||
- fix Sep. 17 changes (#57362)
|
||||
|
||||
* Tue Oct 23 2001 Nalin Dahyabhai <nalin@redhat.com> 2.1.8-1
|
||||
- resync mime.types with apache 1.3.22
|
||||
|
||||
* Mon Sep 17 2001 Bill Nottingham <notting@redhat.com> 2.1.7-1
|
||||
- associate PS files with gv (#53734)
|
||||
|
||||
* Fri Aug 10 2001 Bill Nottingham <notting@redhat.com>
|
||||
- switch gtv & xanim order (#51408)
|
||||
|
||||
* Tue Jul 17 2001 Bill Nottingham <notting@redhat.com>
|
||||
- use htmlview for text/html (#48141)
|
||||
|
||||
* Wed Mar 21 2001 Tim Waugh <twaugh@redhat.com> 2.1.4-2
|
||||
- Use gtv not xanim for video/mpeg, since we no longer ship the codecs.
|
||||
|
||||
* Thu Jan 18 2001 Bill Nottingham <notting@redhat.com>
|
||||
- use gpg, not pgp (#13816, others)
|
||||
|
||||
* Sat Jan 6 2001 Bill Nottingham <notting@redhat.com>
|
||||
- fix typo (#23409)
|
||||
|
||||
* Thu Dec 28 2000 Bill Nottingham <notting@redhat.com>
|
||||
- reintegrate stuff into the package so it doesn't get lost
|
||||
|
||||
* Thu Dec 28 2000 Than Ngo <than@redhat.com>
|
||||
- add ms(TM) word document entry (Bug #17474)
|
||||
- bzip2 sources
|
||||
|
||||
* Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
|
||||
- add wap entries
|
||||
|
||||
* Fri Jun 9 2000 Bill Nottingham <notting@redhat.com>
|
||||
- remove mailcap.vga
|
||||
|
||||
* Thu Feb 3 2000 Bill Nottingham <notting@redhat.com>
|
||||
- handle compressed man pages
|
||||
|
||||
* Tue Jan 18 2000 Bill Nottingham <notting@redhat.com>
|
||||
- add .bz2
|
||||
|
||||
* Thu Jan 13 2000 Bill Nottingham <notting@redhat.com>
|
||||
- add tgz/gz to gzip
|
||||
|
||||
* Wed Jun 16 1999 Bill Nottingham <notting@redhat.com>
|
||||
- rpm files are RPM files. :)
|
||||
|
||||
* Sat May 15 1999 Jeff Johnson <jbj@redhat.com>
|
||||
- fix typo in pdf entry (#2618).
|
||||
|
||||
* Mon Mar 29 1999 Bill Nottingham <notting@redhat.com>
|
||||
- comment out play
|
||||
|
||||
* Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
|
||||
- updated mime type for images from xv to ee
|
||||
- cleaned up for our new version of the package which is in CVS
|
||||
|
||||
* Sat Mar 13 1999 Matt Wilson <msw@redhat.com>
|
||||
- updated mime.types
|
||||
|
||||
* Fri Feb 12 1999 Bill Nottingham <notting@redhat.com>
|
||||
- comment out backticked %%variables to work around security problems
|
||||
|
||||
* Wed Jan 06 1999 Cristian Gafton <gafton@redhat.com>
|
||||
- glibc version 2.1
|
||||
|
||||
* Mon Sep 21 1998 Bill Nottingham <notting@redhat.com>
|
||||
- we don't ship tracker, use mikmod instead
|
||||
|
||||
* Wed Jul 29 1998 Jeff Johnson <jbj@redhat.com>
|
||||
- build root
|
||||
|
||||
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
|
||||
- translations modified for de, fr, tr
|
||||
|
||||
* Tue Oct 21 1997 Donnie Barnes <djb@redhat.com>
|
||||
- added /etc/mime.types from mutt to this package to make it universal
|
||||
|
||||
* Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
|
||||
- made a noarch package
|
|
@ -0,0 +1,60 @@
|
|||
diff --git a/libpskc/man/pskc_get_key_algparm_chall_max.3 b/libpskc/man/pskc_get_key_algparm_chall_max.3
|
||||
index 6ae79a3..2001320 100644
|
||||
--- a/libpskc/man/pskc_get_key_algparm_chall_max.3
|
||||
+++ b/libpskc/man/pskc_get_key_algparm_chall_max.3
|
||||
@@ -15,8 +15,8 @@ output variable indicating whether data was provided or not.
|
||||
Get the PSKC KeyPackage Key AlgorithmParameters ChallengeFormat Max
|
||||
value. This attribute defines the maximum size of the challenge
|
||||
accepted by the device for CR mode and MUST be included. If the
|
||||
-'Encoding' attribute is set to 'DECIMAL', 'HEXADECIMAL', or
|
||||
-'ALPHANUMERIC', this value indicates the maximum number of
|
||||
+\&'Encoding' attribute is set to 'DECIMAL', 'HEXADECIMAL', or
|
||||
+\&'ALPHANUMERIC', this value indicates the maximum number of
|
||||
digits/characters. If the 'Encoding' attribute is set to 'BASE64'
|
||||
or 'BINARY', this value indicates the maximum number of bytes of
|
||||
the unencoded value.
|
||||
diff --git a/libpskc/man/pskc_get_key_algparm_chall_min.3 b/libpskc/man/pskc_get_key_algparm_chall_min.3
|
||||
index 85009d6..6e51e52 100644
|
||||
--- a/libpskc/man/pskc_get_key_algparm_chall_min.3
|
||||
+++ b/libpskc/man/pskc_get_key_algparm_chall_min.3
|
||||
@@ -15,8 +15,8 @@ output variable indicating whether data was provided or not.
|
||||
Get the PSKC KeyPackage Key AlgorithmParameters ChallengeFormat Min
|
||||
value. This attribute defines the minimum size of the challenge
|
||||
accepted by the device for CR mode and MUST be included. If the
|
||||
-'Encoding' attribute is set to 'DECIMAL', 'HEXADECIMAL', or
|
||||
-'ALPHANUMERIC', this value indicates the minimum number of
|
||||
+\&'Encoding' attribute is set to 'DECIMAL', 'HEXADECIMAL', or
|
||||
+\&'ALPHANUMERIC', this value indicates the minimum number of
|
||||
digits/characters. If the 'Encoding' attribute is set to 'BASE64'
|
||||
or 'BINARY', this value indicates the minimum number of bytes of
|
||||
the unencoded value.
|
||||
diff --git a/libpskc/man/pskc_get_key_policy_pinmaxlength.3 b/libpskc/man/pskc_get_key_policy_pinmaxlength.3
|
||||
index be96a9a..d4ce51e 100644
|
||||
--- a/libpskc/man/pskc_get_key_policy_pinmaxlength.3
|
||||
+++ b/libpskc/man/pskc_get_key_policy_pinmaxlength.3
|
||||
@@ -16,9 +16,9 @@ Get the PSKC KeyPackage Key Policy PINPolicy MaxLength value. This
|
||||
attribute indicates the maximum length of a PIN that can be set to
|
||||
protect this key. It MUST NOT be possible to set a PIN longer than
|
||||
this value. If the 'PINFormat' attribute is set to 'DECIMAL',
|
||||
-'HEXADECIMAL', or 'ALPHANUMERIC', this value indicates the number
|
||||
+\&'HEXADECIMAL', or 'ALPHANUMERIC', this value indicates the number
|
||||
of digits/ characters. If the 'PINFormat' attribute is set to
|
||||
-'BASE64' or 'BINARY', this value indicates the number of bytes of
|
||||
+\&'BASE64' or 'BINARY', this value indicates the number of bytes of
|
||||
the unencoded value.
|
||||
|
||||
If \fIpresent\fP is non\-NULL, it will be 0 if the field is not present
|
||||
diff --git a/libpskc/man/pskc_get_key_policy_pinminlength.3 b/libpskc/man/pskc_get_key_policy_pinminlength.3
|
||||
index c00523d..a5efe53 100644
|
||||
--- a/libpskc/man/pskc_get_key_policy_pinminlength.3
|
||||
+++ b/libpskc/man/pskc_get_key_policy_pinminlength.3
|
||||
@@ -16,7 +16,7 @@ Get the PSKC KeyPackage Key Policy PINPolicy MinLength value. This
|
||||
attribute indicates the minimum length of a PIN that can be set to
|
||||
protect the associated key. It MUST NOT be possible to set a PIN
|
||||
shorter than this value. If the 'PINFormat' attribute is set to
|
||||
-'DECIMAL', 'HEXADECIMAL', or 'ALPHANUMERIC', this value indicates
|
||||
+\&'DECIMAL', 'HEXADECIMAL', or 'ALPHANUMERIC', this value indicates
|
||||
the number of digits/ characters. If the 'PINFormat' attribute is
|
||||
set to 'BASE64' or 'BINARY', this value indicates the number of
|
||||
bytes of the unencoded value.
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
--- a/libpskc/build.c
|
||||
+++ a/libpskc/build.c
|
||||
@@ -510,7 +510,7 @@ pskc_build_xml (pskc_t * container, char **out, size_t * len)
|
||||
|
||||
xmlDocSetRootElement (doc, keycont);
|
||||
|
||||
- if (container->xmldoc)
|
||||
+ if (container->xmldoc && container->xmldoc != container->original_xmldoc)
|
||||
xmlFreeDoc (container->xmldoc);
|
||||
container->xmldoc = doc;
|
||||
doc = NULL;
|
||||
--- a/libpskc/internal.h
|
||||
+++ a/libpskc/internal.h
|
||||
@@ -103,7 +103,7 @@ struct pskc_key
|
||||
struct pskc
|
||||
{
|
||||
/* raw XML */
|
||||
- xmlDocPtr xmldoc;
|
||||
+ xmlDocPtr xmldoc, original_xmldoc;
|
||||
/* Is there a Signature element in xmldoc? */
|
||||
int signed_p;
|
||||
|
||||
--- a/libpskc/parser.c
|
||||
+++ a/libpskc/parser.c
|
||||
@@ -677,6 +677,8 @@ pskc_done (pskc_t * container)
|
||||
return;
|
||||
|
||||
xmlFreeDoc (container->xmldoc);
|
||||
+ if (container->original_xmldoc != container->xmldoc)
|
||||
+ xmlFreeDoc (container->original_xmldoc);
|
||||
|
||||
for (i = 0; i < container->nkeypackages; i++)
|
||||
{
|
||||
@@ -717,7 +719,7 @@ pskc_parse_from_memory (pskc_t * container, size_t len, const char *buffer)
|
||||
if (xmldoc == NULL)
|
||||
return PSKC_XML_ERROR;
|
||||
|
||||
- container->xmldoc = xmldoc;
|
||||
+ container->original_xmldoc = container->xmldoc = xmldoc;
|
||||
|
||||
root = xmlDocGetRootElement (xmldoc);
|
||||
parse_keycontainer (container, root, &rc);
|
|
@ -0,0 +1,875 @@
|
|||
diff --git a/liboath/gl/fflush.c b/liboath/gl/fflush.c
|
||||
index 3664842..a140b7a 100644
|
||||
--- a/liboath/gl/fflush.c
|
||||
+++ b/liboath/gl/fflush.c
|
||||
@@ -1,18 +1,18 @@
|
||||
/* fflush.c -- allow flushing input streams
|
||||
- Copyright (C) 2007-2016 Free Software Foundation, Inc.
|
||||
+ Copyright (C) 2007-2018 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
- it under the terms of the GNU Lesser General Public License as published by
|
||||
- the Free Software Foundation; either version 2.1 of the License, or
|
||||
+ it under the terms of the GNU General Public License as published by
|
||||
+ the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
- GNU Lesser General Public License for more details.
|
||||
+ GNU General Public License for more details.
|
||||
|
||||
- You should have received a copy of the GNU Lesser General Public License
|
||||
- along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
+ You should have received a copy of the GNU General Public License
|
||||
+ along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* Written by Eric Blake. */
|
||||
|
||||
@@ -33,7 +33,8 @@
|
||||
#undef fflush
|
||||
|
||||
|
||||
-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
|
||||
+#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1
|
||||
+/* GNU libc, BeOS, Haiku, Linux libc5 */
|
||||
|
||||
/* Clear the stream's ungetc buffer, preserving the value of ftello (fp). */
|
||||
static void
|
||||
@@ -51,7 +52,7 @@ static void
|
||||
clear_ungetc_buffer (FILE *fp)
|
||||
{
|
||||
# if defined __sferror || defined __DragonFly__ || defined __ANDROID__
|
||||
- /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */
|
||||
+ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */
|
||||
if (HASUB (fp))
|
||||
{
|
||||
fp_->_p += fp_->_r;
|
||||
@@ -63,7 +64,7 @@ clear_ungetc_buffer (FILE *fp)
|
||||
fp->_ungetc_count = 0;
|
||||
fp->_rcount = - fp->_rcount;
|
||||
}
|
||||
-# elif defined _IOERR /* Minix, AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, mingw, NonStop Kernel */
|
||||
+# elif defined _IOERR /* Minix, AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, mingw, MSVC, NonStop Kernel, OpenVMS */
|
||||
/* Nothing to do. */
|
||||
# else /* other implementations */
|
||||
fseeko (fp, 0, SEEK_CUR);
|
||||
@@ -72,10 +73,11 @@ clear_ungetc_buffer (FILE *fp)
|
||||
|
||||
#endif
|
||||
|
||||
-#if ! (defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */)
|
||||
+#if ! (defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1)
|
||||
+/* GNU libc, BeOS, Haiku, Linux libc5 */
|
||||
|
||||
# if (defined __sferror || defined __DragonFly__ || defined __ANDROID__) && defined __SNPT
|
||||
-/* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */
|
||||
+/* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */
|
||||
|
||||
static int
|
||||
disable_seek_optimization (FILE *fp)
|
||||
@@ -98,7 +100,7 @@ update_fpos_cache (FILE *fp _GL_UNUSED_PARAMETER,
|
||||
off_t pos _GL_UNUSED_PARAMETER)
|
||||
{
|
||||
# if defined __sferror || defined __DragonFly__ || defined __ANDROID__
|
||||
- /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */
|
||||
+ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */
|
||||
# if defined __CYGWIN__
|
||||
/* fp_->_offset is typed as an integer. */
|
||||
fp_->_offset = pos;
|
||||
@@ -148,7 +150,8 @@ rpl_fflush (FILE *stream)
|
||||
if (stream == NULL || ! freading (stream))
|
||||
return fflush (stream);
|
||||
|
||||
-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
|
||||
+#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1
|
||||
+ /* GNU libc, BeOS, Haiku, Linux libc5 */
|
||||
|
||||
clear_ungetc_buffer_preserving_position (stream);
|
||||
|
||||
@@ -199,7 +202,7 @@ rpl_fflush (FILE *stream)
|
||||
}
|
||||
|
||||
# if (defined __sferror || defined __DragonFly__ || defined __ANDROID__) && defined __SNPT
|
||||
- /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */
|
||||
+ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */
|
||||
|
||||
{
|
||||
/* Disable seek optimization for the next fseeko call. This tells the
|
||||
diff --git a/liboath/gl/fpurge.c b/liboath/gl/fpurge.c
|
||||
index acf5905..f9c2d25 100644
|
||||
--- a/liboath/gl/fpurge.c
|
||||
+++ b/liboath/gl/fpurge.c
|
||||
@@ -62,7 +62,7 @@ fpurge (FILE *fp)
|
||||
/* Most systems provide FILE as a struct and the necessary bitmask in
|
||||
<stdio.h>, because they need it for implementing getc() and putc() as
|
||||
fast macros. */
|
||||
-# if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
|
||||
+# if defined _IO_ftrylockfile || __GNU_LIBRARY__ /* GNU libc, BeOS, Haiku, Linux libc5 */
|
||||
fp->_IO_read_end = fp->_IO_read_ptr;
|
||||
fp->_IO_write_ptr = fp->_IO_write_base;
|
||||
/* Avoid memory leak when there is an active ungetc buffer. */
|
||||
diff --git a/liboath/gl/freading.c b/liboath/gl/freading.c
|
||||
index 8ab19fd..54c3d5a 100644
|
||||
--- a/liboath/gl/freading.c
|
||||
+++ b/liboath/gl/freading.c
|
||||
@@ -31,7 +31,7 @@ freading (FILE *fp)
|
||||
/* Most systems provide FILE as a struct and the necessary bitmask in
|
||||
<stdio.h>, because they need it for implementing getc() and putc() as
|
||||
fast macros. */
|
||||
-# if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
|
||||
+# if defined _IO_ftrylockfile || __GNU_LIBRARY__ /* GNU libc, BeOS, Haiku, Linux libc5 */
|
||||
return ((fp->_flags & _IO_NO_WRITES) != 0
|
||||
|| ((fp->_flags & (_IO_NO_READS | _IO_CURRENTLY_PUTTING)) == 0
|
||||
&& fp->_IO_read_base != NULL));
|
||||
diff --git a/liboath/gl/fseeko.c b/liboath/gl/fseeko.c
|
||||
index 67bb9ec..5616221 100644
|
||||
--- a/liboath/gl/fseeko.c
|
||||
+++ b/liboath/gl/fseeko.c
|
||||
@@ -47,7 +47,7 @@ fseeko (FILE *fp, off_t offset, int whence)
|
||||
#endif
|
||||
|
||||
/* These tests are based on fpurge.c. */
|
||||
-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
|
||||
+#if defined _IO_ftrylockfile || __GNU_LIBRARY__ /* GNU libc, BeOS, Haiku, Linux libc5 */
|
||||
if (fp->_IO_read_end == fp->_IO_read_ptr
|
||||
&& fp->_IO_write_ptr == fp->_IO_write_base
|
||||
&& fp->_IO_save_base == NULL)
|
||||
@@ -123,7 +123,7 @@ fseeko (FILE *fp, off_t offset, int whence)
|
||||
return -1;
|
||||
}
|
||||
|
||||
-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
|
||||
+#if defined _IO_ftrylockfile || __GNU_LIBRARY__ /* GNU libc, BeOS, Haiku, Linux libc5 */
|
||||
fp->_flags &= ~_IO_EOF_SEEN;
|
||||
fp->_offset = pos;
|
||||
#elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
|
||||
diff --git a/liboath/gl/stdio-impl.h b/liboath/gl/stdio-impl.h
|
||||
index 4c02c9f..393ef0c 100644
|
||||
--- a/liboath/gl/stdio-impl.h
|
||||
+++ b/liboath/gl/stdio-impl.h
|
||||
@@ -1,23 +1,29 @@
|
||||
/* Implementation details of FILE streams.
|
||||
- Copyright (C) 2007-2008, 2010-2016 Free Software Foundation, Inc.
|
||||
+ Copyright (C) 2007-2008, 2010-2018 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
- it under the terms of the GNU Lesser General Public License as published by
|
||||
- the Free Software Foundation; either version 2.1 of the License, or
|
||||
+ it under the terms of the GNU General Public License as published by
|
||||
+ the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
- GNU Lesser General Public License for more details.
|
||||
+ GNU General Public License for more details.
|
||||
|
||||
- You should have received a copy of the GNU Lesser General Public License
|
||||
- along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
+ You should have received a copy of the GNU General Public License
|
||||
+ along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* Many stdio implementations have the same logic and therefore can share
|
||||
the same implementation of stdio extension API, except that some fields
|
||||
have different naming conventions, or their access requires some casts. */
|
||||
|
||||
+/* Glibc 2.28 made _IO_IN_BACKUP private. For now, work around this
|
||||
+ problem by defining it ourselves. FIXME: Do not rely on glibc
|
||||
+ internals. */
|
||||
+#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN
|
||||
+# define _IO_IN_BACKUP 0x100
|
||||
+#endif
|
||||
|
||||
/* BSD stdio derived implementations. */
|
||||
|
||||
@@ -29,10 +35,10 @@
|
||||
#include <errno.h> /* For detecting Plan9. */
|
||||
|
||||
#if defined __sferror || defined __DragonFly__ || defined __ANDROID__
|
||||
- /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */
|
||||
+ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */
|
||||
|
||||
# if defined __DragonFly__ /* DragonFly */
|
||||
- /* See <http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/priv_stdio.h?rev=HEAD&content-type=text/x-cvsweb-markup>. */
|
||||
+ /* See <https://gitweb.dragonflybsd.org/dragonfly.git/blob_plain/HEAD:/lib/libc/stdio/priv_stdio.h>. */
|
||||
# define fp_ ((struct { struct __FILE_public pub; \
|
||||
struct { unsigned char *_base; int _size; } _bf; \
|
||||
void *cookie; \
|
||||
@@ -49,30 +55,84 @@
|
||||
fpos_t _offset; \
|
||||
/* More fields, not relevant here. */ \
|
||||
} *) fp)
|
||||
- /* See <http://www.dragonflybsd.org/cvsweb/src/include/stdio.h?rev=HEAD&content-type=text/x-cvsweb-markup>. */
|
||||
+ /* See <https://gitweb.dragonflybsd.org/dragonfly.git/blob_plain/HEAD:/include/stdio.h>. */
|
||||
# define _p pub._p
|
||||
# define _flags pub._flags
|
||||
# define _r pub._r
|
||||
# define _w pub._w
|
||||
+# elif defined __ANDROID__ /* Android */
|
||||
+ /* Up to this commit from 2015-10-12
|
||||
+ <https://android.googlesource.com/platform/bionic.git/+/f0141dfab10a4b332769d52fa76631a64741297a>
|
||||
+ the innards of FILE were public, and fp_ub could be defined like for OpenBSD,
|
||||
+ see <https://android.googlesource.com/platform/bionic.git/+/e78392637d5086384a5631ddfdfa8d7ec8326ee3/libc/stdio/fileext.h>
|
||||
+ and <https://android.googlesource.com/platform/bionic.git/+/e78392637d5086384a5631ddfdfa8d7ec8326ee3/libc/stdio/local.h>.
|
||||
+ After this commit, the innards of FILE are hidden. */
|
||||
+# define fp_ ((struct { unsigned char *_p; \
|
||||
+ int _r; \
|
||||
+ int _w; \
|
||||
+ int _flags; \
|
||||
+ int _file; \
|
||||
+ struct { unsigned char *_base; size_t _size; } _bf; \
|
||||
+ int _lbfsize; \
|
||||
+ void *_cookie; \
|
||||
+ void *_close; \
|
||||
+ void *_read; \
|
||||
+ void *_seek; \
|
||||
+ void *_write; \
|
||||
+ struct { unsigned char *_base; size_t _size; } _ext; \
|
||||
+ unsigned char *_up; \
|
||||
+ int _ur; \
|
||||
+ unsigned char _ubuf[3]; \
|
||||
+ unsigned char _nbuf[1]; \
|
||||
+ struct { unsigned char *_base; size_t _size; } _lb; \
|
||||
+ int _blksize; \
|
||||
+ fpos_t _offset; \
|
||||
+ /* More fields, not relevant here. */ \
|
||||
+ } *) fp)
|
||||
# else
|
||||
# define fp_ fp
|
||||
# endif
|
||||
|
||||
-# if (defined __NetBSD__ && __NetBSD_Version__ >= 105270000) || defined __OpenBSD__ || defined __ANDROID__ /* NetBSD >= 1.5ZA, OpenBSD, Android */
|
||||
+# if (defined __NetBSD__ && __NetBSD_Version__ >= 105270000) || defined __OpenBSD__ || defined __minix /* NetBSD >= 1.5ZA, OpenBSD, Minix 3 */
|
||||
/* See <http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdio/fileext.h?rev=HEAD&content-type=text/x-cvsweb-markup>
|
||||
- and <http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdio/fileext.h?rev=HEAD&content-type=text/x-cvsweb-markup> */
|
||||
+ and <https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdio/fileext.h?rev=HEAD&content-type=text/x-cvsweb-markup>
|
||||
+ and <https://github.com/Stichting-MINIX-Research-Foundation/minix/blob/master/lib/libc/stdio/fileext.h> */
|
||||
struct __sfileext
|
||||
{
|
||||
struct __sbuf _ub; /* ungetc buffer */
|
||||
/* More fields, not relevant here. */
|
||||
};
|
||||
# define fp_ub ((struct __sfileext *) fp->_ext._base)->_ub
|
||||
-# else /* FreeBSD, NetBSD <= 1.5Z, DragonFly, Mac OS X, Cygwin, Android */
|
||||
+# elif defined __ANDROID__ /* Android */
|
||||
+ struct __sfileext
|
||||
+ {
|
||||
+ struct { unsigned char *_base; size_t _size; } _ub; /* ungetc buffer */
|
||||
+ /* More fields, not relevant here. */
|
||||
+ };
|
||||
+# define fp_ub ((struct __sfileext *) fp_->_ext._base)->_ub
|
||||
+# else /* FreeBSD, NetBSD <= 1.5Z, DragonFly, Mac OS X, Cygwin */
|
||||
# define fp_ub fp_->_ub
|
||||
# endif
|
||||
|
||||
# define HASUB(fp) (fp_ub._base != NULL)
|
||||
|
||||
+# if defined __ANDROID__ /* Android */
|
||||
+ /* Needed after this commit from 2016-01-25
|
||||
+ <https://android.googlesource.com/platform/bionic.git/+/e70e0e9267d069bf56a5078c99307e08a7280de7> */
|
||||
+# ifndef __SEOF
|
||||
+# define __SLBF 1
|
||||
+# define __SNBF 2
|
||||
+# define __SRD 4
|
||||
+# define __SWR 8
|
||||
+# define __SRW 0x10
|
||||
+# define __SEOF 0x20
|
||||
+# define __SERR 0x40
|
||||
+# endif
|
||||
+# ifndef __SOFF
|
||||
+# define __SOFF 0x1000
|
||||
+# endif
|
||||
+# endif
|
||||
+
|
||||
#endif
|
||||
|
||||
|
||||
@@ -81,7 +141,7 @@
|
||||
#ifdef __TANDEM /* NonStop Kernel */
|
||||
# ifndef _IOERR
|
||||
/* These values were determined by the program 'stdioext-flags' at
|
||||
- <http://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00165.html>. */
|
||||
+ <https://lists.gnu.org/r/bug-gnulib/2010-12/msg00165.html>. */
|
||||
# define _IOERR 0x40
|
||||
# define _IOREAD 0x80
|
||||
# define _IOWRT 0x4
|
||||
@@ -99,6 +159,8 @@
|
||||
int _file; \
|
||||
unsigned int _flag; \
|
||||
} *) fp)
|
||||
+# elif defined __VMS /* OpenVMS */
|
||||
+# define fp_ ((struct _iobuf *) fp)
|
||||
# else
|
||||
# define fp_ fp
|
||||
# endif
|
||||
@@ -110,4 +172,31 @@
|
||||
# define _flag __flag
|
||||
# endif
|
||||
|
||||
+#elif defined _WIN32 && ! defined __CYGWIN__ /* newer Windows with MSVC */
|
||||
+
|
||||
+/* <stdio.h> does not define the innards of FILE any more. */
|
||||
+# define WINDOWS_OPAQUE_FILE
|
||||
+
|
||||
+struct _gl_real_FILE
|
||||
+{
|
||||
+ /* Note: Compared to older Windows and to mingw, it has the fields
|
||||
+ _base and _cnt swapped. */
|
||||
+ unsigned char *_ptr;
|
||||
+ unsigned char *_base;
|
||||
+ int _cnt;
|
||||
+ int _flag;
|
||||
+ int _file;
|
||||
+ int _charbuf;
|
||||
+ int _bufsiz;
|
||||
+};
|
||||
+# define fp_ ((struct _gl_real_FILE *) fp)
|
||||
+
|
||||
+/* These values were determined by a program similar to the one at
|
||||
+ <https://lists.gnu.org/r/bug-gnulib/2010-12/msg00165.html>. */
|
||||
+# define _IOREAD 0x1
|
||||
+# define _IOWRT 0x2
|
||||
+# define _IORW 0x4
|
||||
+# define _IOEOF 0x8
|
||||
+# define _IOERR 0x10
|
||||
+
|
||||
#endif
|
||||
diff --git a/libpskc/gl/intprops.h b/libpskc/gl/intprops.h
|
||||
index feb02c3..af456ff 100644
|
||||
--- a/libpskc/gl/intprops.h
|
||||
+++ b/libpskc/gl/intprops.h
|
||||
@@ -1,6 +1,6 @@
|
||||
/* intprops.h -- properties of integer types
|
||||
|
||||
- Copyright (C) 2001-2016 Free Software Foundation, Inc.
|
||||
+ Copyright (C) 2001-2018 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU Lesser General Public License as published
|
||||
@@ -13,7 +13,7 @@
|
||||
GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
- along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
+ along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* Written by Paul Eggert. */
|
||||
|
||||
@@ -21,13 +21,12 @@
|
||||
#define _GL_INTPROPS_H
|
||||
|
||||
#include <limits.h>
|
||||
-#include <verify.h>
|
||||
|
||||
/* Return a value with the common real type of E and V and the value of V. */
|
||||
#define _GL_INT_CONVERT(e, v) (0 * (e) + (v))
|
||||
|
||||
/* Act like _GL_INT_CONVERT (E, -V) but work around a bug in IRIX 6.5 cc; see
|
||||
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00406.html>. */
|
||||
+ <https://lists.gnu.org/r/bug-gnulib/2011-05/msg00406.html>. */
|
||||
#define _GL_INT_NEGATE_CONVERT(e, v) (0 * (e) - (v))
|
||||
|
||||
/* The extra casts in the following macros work around compiler bugs,
|
||||
@@ -47,12 +46,16 @@
|
||||
|
||||
/* Minimum and maximum values for integer types and expressions. */
|
||||
|
||||
+/* The width in bits of the integer type or expression T.
|
||||
+ Padding bits are not supported; this is checked at compile-time below. */
|
||||
+#define TYPE_WIDTH(t) (sizeof (t) * CHAR_BIT)
|
||||
+
|
||||
/* The maximum and minimum values for the integer type T. */
|
||||
#define TYPE_MINIMUM(t) ((t) ~ TYPE_MAXIMUM (t))
|
||||
#define TYPE_MAXIMUM(t) \
|
||||
((t) (! TYPE_SIGNED (t) \
|
||||
? (t) -1 \
|
||||
- : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
|
||||
+ : ((((t) 1 << (TYPE_WIDTH (t) - 2)) - 1) * 2 + 1)))
|
||||
|
||||
/* The maximum and minimum values for the type of the expression E,
|
||||
after integer promotion. E should not have side effects. */
|
||||
@@ -65,29 +68,23 @@
|
||||
? _GL_SIGNED_INT_MAXIMUM (e) \
|
||||
: _GL_INT_NEGATE_CONVERT (e, 1))
|
||||
#define _GL_SIGNED_INT_MAXIMUM(e) \
|
||||
- (((_GL_INT_CONVERT (e, 1) << (sizeof ((e) + 0) * CHAR_BIT - 2)) - 1) * 2 + 1)
|
||||
+ (((_GL_INT_CONVERT (e, 1) << (TYPE_WIDTH ((e) + 0) - 2)) - 1) * 2 + 1)
|
||||
+
|
||||
+/* Work around OpenVMS incompatibility with C99. */
|
||||
+#if !defined LLONG_MAX && defined __INT64_MAX
|
||||
+# define LLONG_MAX __INT64_MAX
|
||||
+# define LLONG_MIN __INT64_MIN
|
||||
+#endif
|
||||
|
||||
/* This include file assumes that signed types are two's complement without
|
||||
padding bits; the above macros have undefined behavior otherwise.
|
||||
If this is a problem for you, please let us know how to fix it for your host.
|
||||
- As a sanity check, test the assumption for some signed types that
|
||||
- <limits.h> bounds. */
|
||||
-verify (TYPE_MINIMUM (signed char) == SCHAR_MIN);
|
||||
-verify (TYPE_MAXIMUM (signed char) == SCHAR_MAX);
|
||||
-verify (TYPE_MINIMUM (short int) == SHRT_MIN);
|
||||
-verify (TYPE_MAXIMUM (short int) == SHRT_MAX);
|
||||
-verify (TYPE_MINIMUM (int) == INT_MIN);
|
||||
-verify (TYPE_MAXIMUM (int) == INT_MAX);
|
||||
-verify (TYPE_MINIMUM (long int) == LONG_MIN);
|
||||
-verify (TYPE_MAXIMUM (long int) == LONG_MAX);
|
||||
-#ifdef LLONG_MAX
|
||||
-verify (TYPE_MINIMUM (long long int) == LLONG_MIN);
|
||||
-verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
-#endif
|
||||
+ This assumption is tested by the intprops-tests module. */
|
||||
|
||||
/* Does the __typeof__ keyword work? This could be done by
|
||||
'configure', but for now it's easier to do it by hand. */
|
||||
-#if (2 <= __GNUC__ || defined __IBM__TYPEOF__ \
|
||||
+#if (2 <= __GNUC__ \
|
||||
+ || (1210 <= __IBMC__ && defined __IBM__TYPEOF__) \
|
||||
|| (0x5110 <= __SUNPRO_C && !__STDC__))
|
||||
# define _GL_HAVE___TYPEOF__ 1
|
||||
#else
|
||||
@@ -116,8 +113,7 @@ verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
signed, this macro may overestimate the true bound by one byte when
|
||||
applied to unsigned types of size 2, 4, 16, ... bytes. */
|
||||
#define INT_STRLEN_BOUND(t) \
|
||||
- (INT_BITS_STRLEN_BOUND (sizeof (t) * CHAR_BIT \
|
||||
- - _GL_SIGNED_TYPE_OR_EXPR (t)) \
|
||||
+ (INT_BITS_STRLEN_BOUND (TYPE_WIDTH (t) - _GL_SIGNED_TYPE_OR_EXPR (t)) \
|
||||
+ _GL_SIGNED_TYPE_OR_EXPR (t))
|
||||
|
||||
/* Bound on buffer size needed to represent an integer type or expression T,
|
||||
@@ -183,7 +179,7 @@ verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
/* Return 1 if A * B would overflow in [MIN,MAX] arithmetic.
|
||||
See above for restrictions. Avoid && and || as they tickle
|
||||
bugs in Sun C 5.11 2010/08/13 and other compilers; see
|
||||
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00401.html>. */
|
||||
+ <https://lists.gnu.org/r/bug-gnulib/2011-05/msg00401.html>. */
|
||||
#define INT_MULTIPLY_RANGE_OVERFLOW(a, b, min, max) \
|
||||
((b) < 0 \
|
||||
? ((a) < 0 \
|
||||
@@ -222,20 +218,27 @@ verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
? (a) < (min) >> (b) \
|
||||
: (max) >> (b) < (a))
|
||||
|
||||
-/* True if __builtin_add_overflow (A, B, P) works when P is null. */
|
||||
-#define _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL (7 <= __GNUC__)
|
||||
+/* True if __builtin_add_overflow (A, B, P) works when P is non-null. */
|
||||
+#if 5 <= __GNUC__ && !defined __ICC
|
||||
+# define _GL_HAS_BUILTIN_OVERFLOW 1
|
||||
+#else
|
||||
+# define _GL_HAS_BUILTIN_OVERFLOW 0
|
||||
+#endif
|
||||
+
|
||||
+/* True if __builtin_add_overflow_p (A, B, C) works. */
|
||||
+#define _GL_HAS_BUILTIN_OVERFLOW_P (7 <= __GNUC__)
|
||||
|
||||
/* The _GL*_OVERFLOW macros have the same restrictions as the
|
||||
*_RANGE_OVERFLOW macros, except that they do not assume that operands
|
||||
(e.g., A and B) have the same type as MIN and MAX. Instead, they assume
|
||||
that the result (e.g., A + B) has that type. */
|
||||
-#if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
|
||||
-# define _GL_ADD_OVERFLOW(a, b, min, max)
|
||||
- __builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)
|
||||
-# define _GL_SUBTRACT_OVERFLOW(a, b, min, max)
|
||||
- __builtin_sub_overflow (a, b, (__typeof__ ((a) - (b)) *) 0)
|
||||
-# define _GL_MULTIPLY_OVERFLOW(a, b, min, max)
|
||||
- __builtin_mul_overflow (a, b, (__typeof__ ((a) * (b)) *) 0)
|
||||
+#if _GL_HAS_BUILTIN_OVERFLOW_P
|
||||
+# define _GL_ADD_OVERFLOW(a, b, min, max) \
|
||||
+ __builtin_add_overflow_p (a, b, (__typeof__ ((a) + (b))) 0)
|
||||
+# define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \
|
||||
+ __builtin_sub_overflow_p (a, b, (__typeof__ ((a) - (b))) 0)
|
||||
+# define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \
|
||||
+ __builtin_mul_overflow_p (a, b, (__typeof__ ((a) * (b))) 0)
|
||||
#else
|
||||
# define _GL_ADD_OVERFLOW(a, b, min, max) \
|
||||
((min) < 0 ? INT_ADD_RANGE_OVERFLOW (a, b, min, max) \
|
||||
@@ -315,7 +318,7 @@ verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
_GL_BINARY_OP_OVERFLOW (a, b, _GL_ADD_OVERFLOW)
|
||||
#define INT_SUBTRACT_OVERFLOW(a, b) \
|
||||
_GL_BINARY_OP_OVERFLOW (a, b, _GL_SUBTRACT_OVERFLOW)
|
||||
-#if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
|
||||
+#if _GL_HAS_BUILTIN_OVERFLOW_P
|
||||
# define INT_NEGATE_OVERFLOW(a) INT_SUBTRACT_OVERFLOW (0, a)
|
||||
#else
|
||||
# define INT_NEGATE_OVERFLOW(a) \
|
||||
@@ -349,10 +352,6 @@ verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
#define INT_MULTIPLY_WRAPV(a, b, r) \
|
||||
_GL_INT_OP_WRAPV (a, b, r, *, __builtin_mul_overflow, INT_MULTIPLY_OVERFLOW)
|
||||
|
||||
-#ifndef __has_builtin
|
||||
-# define __has_builtin(x) 0
|
||||
-#endif
|
||||
-
|
||||
/* Nonzero if this compiler has GCC bug 68193 or Clang bug 25390. See:
|
||||
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68193
|
||||
https://llvm.org/bugs/show_bug.cgi?id=25390
|
||||
@@ -369,17 +368,17 @@ verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
the operation. BUILTIN is the builtin operation, and OVERFLOW the
|
||||
overflow predicate. Return 1 if the result overflows. See above
|
||||
for restrictions. */
|
||||
-#if 5 <= __GNUC__ || __has_builtin (__builtin_add_overflow)
|
||||
+#if _GL_HAS_BUILTIN_OVERFLOW
|
||||
# define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) builtin (a, b, r)
|
||||
#elif 201112 <= __STDC_VERSION__ && !_GL__GENERIC_BOGUS
|
||||
# define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) \
|
||||
(_Generic \
|
||||
(*(r), \
|
||||
signed char: \
|
||||
- _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned char, \
|
||||
+ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
|
||||
signed char, SCHAR_MIN, SCHAR_MAX), \
|
||||
short int: \
|
||||
- _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned short int, \
|
||||
+ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
|
||||
short int, SHRT_MIN, SHRT_MAX), \
|
||||
int: \
|
||||
_GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
|
||||
@@ -393,10 +392,10 @@ verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
#else
|
||||
# define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) \
|
||||
(sizeof *(r) == sizeof (signed char) \
|
||||
- ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned char, \
|
||||
+ ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
|
||||
signed char, SCHAR_MIN, SCHAR_MAX) \
|
||||
: sizeof *(r) == sizeof (short int) \
|
||||
- ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned short int, \
|
||||
+ ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
|
||||
short int, SHRT_MIN, SHRT_MAX) \
|
||||
: sizeof *(r) == sizeof (int) \
|
||||
? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
|
||||
@@ -412,15 +411,14 @@ verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
# else
|
||||
# define _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow) \
|
||||
_GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \
|
||||
- long int, LONG_MIN, LONG_MAX))
|
||||
+ long int, LONG_MIN, LONG_MAX)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* Store the low-order bits of A <op> B into *R, where the operation
|
||||
is given by OP. Use the unsigned type UT for calculation to avoid
|
||||
- overflow problems. *R's type is T, with extremal values TMIN and
|
||||
- TMAX. T must be a signed integer type. Return 1 if the result
|
||||
- overflows. */
|
||||
+ overflow problems. *R's type is T, with extrema TMIN and TMAX.
|
||||
+ T must be a signed integer type. Return 1 if the result overflows. */
|
||||
#define _GL_INT_OP_CALC(a, b, r, op, overflow, ut, t, tmin, tmax) \
|
||||
(sizeof ((a) op (b)) < sizeof (t) \
|
||||
? _GL_INT_OP_CALC1 ((t) (a), (t) (b), r, op, overflow, ut, t, tmin, tmax) \
|
||||
@@ -429,17 +427,27 @@ verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
((overflow (a, b) \
|
||||
|| (EXPR_SIGNED ((a) op (b)) && ((a) op (b)) < (tmin)) \
|
||||
|| (tmax) < ((a) op (b))) \
|
||||
- ? (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t, tmin, tmax), 1) \
|
||||
- : (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t, tmin, tmax), 0))
|
||||
-
|
||||
-/* Return A <op> B, where the operation is given by OP. Use the
|
||||
- unsigned type UT for calculation to avoid overflow problems.
|
||||
- Convert the result to type T without overflow by subtracting TMIN
|
||||
- from large values before converting, and adding it afterwards.
|
||||
- Compilers can optimize all the operations except OP. */
|
||||
-#define _GL_INT_OP_WRAPV_VIA_UNSIGNED(a, b, op, ut, t, tmin, tmax) \
|
||||
- (((ut) (a) op (ut) (b)) <= (tmax) \
|
||||
- ? (t) ((ut) (a) op (ut) (b)) \
|
||||
- : ((t) (((ut) (a) op (ut) (b)) - (tmin)) + (tmin)))
|
||||
+ ? (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t), 1) \
|
||||
+ : (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t), 0))
|
||||
+
|
||||
+/* Return the low-order bits of A <op> B, where the operation is given
|
||||
+ by OP. Use the unsigned type UT for calculation to avoid undefined
|
||||
+ behavior on signed integer overflow, and convert the result to type T.
|
||||
+ UT is at least as wide as T and is no narrower than unsigned int,
|
||||
+ T is two's complement, and there is no padding or trap representations.
|
||||
+ Assume that converting UT to T yields the low-order bits, as is
|
||||
+ done in all known two's-complement C compilers. E.g., see:
|
||||
+ https://gcc.gnu.org/onlinedocs/gcc/Integers-implementation.html
|
||||
+
|
||||
+ According to the C standard, converting UT to T yields an
|
||||
+ implementation-defined result or signal for values outside T's
|
||||
+ range. However, code that works around this theoretical problem
|
||||
+ runs afoul of a compiler bug in Oracle Studio 12.3 x86. See:
|
||||
+ https://lists.gnu.org/r/bug-gnulib/2017-04/msg00049.html
|
||||
+ As the compiler bug is real, don't try to work around the
|
||||
+ theoretical problem. */
|
||||
+
|
||||
+#define _GL_INT_OP_WRAPV_VIA_UNSIGNED(a, b, op, ut, t) \
|
||||
+ ((t) ((ut) (a) op (ut) (b)))
|
||||
|
||||
#endif /* _GL_INTPROPS_H */
|
||||
diff --git a/oathtool/gl/intprops.h b/oathtool/gl/intprops.h
|
||||
index e1fce5c..af456ff 100644
|
||||
--- a/oathtool/gl/intprops.h
|
||||
+++ b/oathtool/gl/intprops.h
|
||||
@@ -1,19 +1,19 @@
|
||||
/* intprops.h -- properties of integer types
|
||||
|
||||
- Copyright (C) 2001-2016 Free Software Foundation, Inc.
|
||||
+ Copyright (C) 2001-2018 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it
|
||||
- under the terms of the GNU General Public License as published
|
||||
- by the Free Software Foundation; either version 3 of the License, or
|
||||
+ under the terms of the GNU Lesser General Public License as published
|
||||
+ by the Free Software Foundation; either version 2.1 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
- GNU General Public License for more details.
|
||||
+ GNU Lesser General Public License for more details.
|
||||
|
||||
- You should have received a copy of the GNU General Public License
|
||||
- along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
+ You should have received a copy of the GNU Lesser General Public License
|
||||
+ along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* Written by Paul Eggert. */
|
||||
|
||||
@@ -21,13 +21,12 @@
|
||||
#define _GL_INTPROPS_H
|
||||
|
||||
#include <limits.h>
|
||||
-#include <verify.h>
|
||||
|
||||
/* Return a value with the common real type of E and V and the value of V. */
|
||||
#define _GL_INT_CONVERT(e, v) (0 * (e) + (v))
|
||||
|
||||
/* Act like _GL_INT_CONVERT (E, -V) but work around a bug in IRIX 6.5 cc; see
|
||||
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00406.html>. */
|
||||
+ <https://lists.gnu.org/r/bug-gnulib/2011-05/msg00406.html>. */
|
||||
#define _GL_INT_NEGATE_CONVERT(e, v) (0 * (e) - (v))
|
||||
|
||||
/* The extra casts in the following macros work around compiler bugs,
|
||||
@@ -47,12 +46,16 @@
|
||||
|
||||
/* Minimum and maximum values for integer types and expressions. */
|
||||
|
||||
+/* The width in bits of the integer type or expression T.
|
||||
+ Padding bits are not supported; this is checked at compile-time below. */
|
||||
+#define TYPE_WIDTH(t) (sizeof (t) * CHAR_BIT)
|
||||
+
|
||||
/* The maximum and minimum values for the integer type T. */
|
||||
#define TYPE_MINIMUM(t) ((t) ~ TYPE_MAXIMUM (t))
|
||||
#define TYPE_MAXIMUM(t) \
|
||||
((t) (! TYPE_SIGNED (t) \
|
||||
? (t) -1 \
|
||||
- : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
|
||||
+ : ((((t) 1 << (TYPE_WIDTH (t) - 2)) - 1) * 2 + 1)))
|
||||
|
||||
/* The maximum and minimum values for the type of the expression E,
|
||||
after integer promotion. E should not have side effects. */
|
||||
@@ -65,29 +68,23 @@
|
||||
? _GL_SIGNED_INT_MAXIMUM (e) \
|
||||
: _GL_INT_NEGATE_CONVERT (e, 1))
|
||||
#define _GL_SIGNED_INT_MAXIMUM(e) \
|
||||
- (((_GL_INT_CONVERT (e, 1) << (sizeof ((e) + 0) * CHAR_BIT - 2)) - 1) * 2 + 1)
|
||||
+ (((_GL_INT_CONVERT (e, 1) << (TYPE_WIDTH ((e) + 0) - 2)) - 1) * 2 + 1)
|
||||
+
|
||||
+/* Work around OpenVMS incompatibility with C99. */
|
||||
+#if !defined LLONG_MAX && defined __INT64_MAX
|
||||
+# define LLONG_MAX __INT64_MAX
|
||||
+# define LLONG_MIN __INT64_MIN
|
||||
+#endif
|
||||
|
||||
/* This include file assumes that signed types are two's complement without
|
||||
padding bits; the above macros have undefined behavior otherwise.
|
||||
If this is a problem for you, please let us know how to fix it for your host.
|
||||
- As a sanity check, test the assumption for some signed types that
|
||||
- <limits.h> bounds. */
|
||||
-verify (TYPE_MINIMUM (signed char) == SCHAR_MIN);
|
||||
-verify (TYPE_MAXIMUM (signed char) == SCHAR_MAX);
|
||||
-verify (TYPE_MINIMUM (short int) == SHRT_MIN);
|
||||
-verify (TYPE_MAXIMUM (short int) == SHRT_MAX);
|
||||
-verify (TYPE_MINIMUM (int) == INT_MIN);
|
||||
-verify (TYPE_MAXIMUM (int) == INT_MAX);
|
||||
-verify (TYPE_MINIMUM (long int) == LONG_MIN);
|
||||
-verify (TYPE_MAXIMUM (long int) == LONG_MAX);
|
||||
-#ifdef LLONG_MAX
|
||||
-verify (TYPE_MINIMUM (long long int) == LLONG_MIN);
|
||||
-verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
-#endif
|
||||
+ This assumption is tested by the intprops-tests module. */
|
||||
|
||||
/* Does the __typeof__ keyword work? This could be done by
|
||||
'configure', but for now it's easier to do it by hand. */
|
||||
-#if (2 <= __GNUC__ || defined __IBM__TYPEOF__ \
|
||||
+#if (2 <= __GNUC__ \
|
||||
+ || (1210 <= __IBMC__ && defined __IBM__TYPEOF__) \
|
||||
|| (0x5110 <= __SUNPRO_C && !__STDC__))
|
||||
# define _GL_HAVE___TYPEOF__ 1
|
||||
#else
|
||||
@@ -116,8 +113,7 @@ verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
signed, this macro may overestimate the true bound by one byte when
|
||||
applied to unsigned types of size 2, 4, 16, ... bytes. */
|
||||
#define INT_STRLEN_BOUND(t) \
|
||||
- (INT_BITS_STRLEN_BOUND (sizeof (t) * CHAR_BIT \
|
||||
- - _GL_SIGNED_TYPE_OR_EXPR (t)) \
|
||||
+ (INT_BITS_STRLEN_BOUND (TYPE_WIDTH (t) - _GL_SIGNED_TYPE_OR_EXPR (t)) \
|
||||
+ _GL_SIGNED_TYPE_OR_EXPR (t))
|
||||
|
||||
/* Bound on buffer size needed to represent an integer type or expression T,
|
||||
@@ -183,7 +179,7 @@ verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
/* Return 1 if A * B would overflow in [MIN,MAX] arithmetic.
|
||||
See above for restrictions. Avoid && and || as they tickle
|
||||
bugs in Sun C 5.11 2010/08/13 and other compilers; see
|
||||
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00401.html>. */
|
||||
+ <https://lists.gnu.org/r/bug-gnulib/2011-05/msg00401.html>. */
|
||||
#define INT_MULTIPLY_RANGE_OVERFLOW(a, b, min, max) \
|
||||
((b) < 0 \
|
||||
? ((a) < 0 \
|
||||
@@ -222,20 +218,27 @@ verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
? (a) < (min) >> (b) \
|
||||
: (max) >> (b) < (a))
|
||||
|
||||
-/* True if __builtin_add_overflow (A, B, P) works when P is null. */
|
||||
-#define _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL (7 <= __GNUC__)
|
||||
+/* True if __builtin_add_overflow (A, B, P) works when P is non-null. */
|
||||
+#if 5 <= __GNUC__ && !defined __ICC
|
||||
+# define _GL_HAS_BUILTIN_OVERFLOW 1
|
||||
+#else
|
||||
+# define _GL_HAS_BUILTIN_OVERFLOW 0
|
||||
+#endif
|
||||
+
|
||||
+/* True if __builtin_add_overflow_p (A, B, C) works. */
|
||||
+#define _GL_HAS_BUILTIN_OVERFLOW_P (7 <= __GNUC__)
|
||||
|
||||
/* The _GL*_OVERFLOW macros have the same restrictions as the
|
||||
*_RANGE_OVERFLOW macros, except that they do not assume that operands
|
||||
(e.g., A and B) have the same type as MIN and MAX. Instead, they assume
|
||||
that the result (e.g., A + B) has that type. */
|
||||
-#if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
|
||||
-# define _GL_ADD_OVERFLOW(a, b, min, max)
|
||||
- __builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)
|
||||
-# define _GL_SUBTRACT_OVERFLOW(a, b, min, max)
|
||||
- __builtin_sub_overflow (a, b, (__typeof__ ((a) - (b)) *) 0)
|
||||
-# define _GL_MULTIPLY_OVERFLOW(a, b, min, max)
|
||||
- __builtin_mul_overflow (a, b, (__typeof__ ((a) * (b)) *) 0)
|
||||
+#if _GL_HAS_BUILTIN_OVERFLOW_P
|
||||
+# define _GL_ADD_OVERFLOW(a, b, min, max) \
|
||||
+ __builtin_add_overflow_p (a, b, (__typeof__ ((a) + (b))) 0)
|
||||
+# define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \
|
||||
+ __builtin_sub_overflow_p (a, b, (__typeof__ ((a) - (b))) 0)
|
||||
+# define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \
|
||||
+ __builtin_mul_overflow_p (a, b, (__typeof__ ((a) * (b))) 0)
|
||||
#else
|
||||
# define _GL_ADD_OVERFLOW(a, b, min, max) \
|
||||
((min) < 0 ? INT_ADD_RANGE_OVERFLOW (a, b, min, max) \
|
||||
@@ -315,7 +318,7 @@ verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
_GL_BINARY_OP_OVERFLOW (a, b, _GL_ADD_OVERFLOW)
|
||||
#define INT_SUBTRACT_OVERFLOW(a, b) \
|
||||
_GL_BINARY_OP_OVERFLOW (a, b, _GL_SUBTRACT_OVERFLOW)
|
||||
-#if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
|
||||
+#if _GL_HAS_BUILTIN_OVERFLOW_P
|
||||
# define INT_NEGATE_OVERFLOW(a) INT_SUBTRACT_OVERFLOW (0, a)
|
||||
#else
|
||||
# define INT_NEGATE_OVERFLOW(a) \
|
||||
@@ -349,10 +352,6 @@ verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
#define INT_MULTIPLY_WRAPV(a, b, r) \
|
||||
_GL_INT_OP_WRAPV (a, b, r, *, __builtin_mul_overflow, INT_MULTIPLY_OVERFLOW)
|
||||
|
||||
-#ifndef __has_builtin
|
||||
-# define __has_builtin(x) 0
|
||||
-#endif
|
||||
-
|
||||
/* Nonzero if this compiler has GCC bug 68193 or Clang bug 25390. See:
|
||||
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68193
|
||||
https://llvm.org/bugs/show_bug.cgi?id=25390
|
||||
@@ -369,17 +368,17 @@ verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
the operation. BUILTIN is the builtin operation, and OVERFLOW the
|
||||
overflow predicate. Return 1 if the result overflows. See above
|
||||
for restrictions. */
|
||||
-#if 5 <= __GNUC__ || __has_builtin (__builtin_add_overflow)
|
||||
+#if _GL_HAS_BUILTIN_OVERFLOW
|
||||
# define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) builtin (a, b, r)
|
||||
#elif 201112 <= __STDC_VERSION__ && !_GL__GENERIC_BOGUS
|
||||
# define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) \
|
||||
(_Generic \
|
||||
(*(r), \
|
||||
signed char: \
|
||||
- _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned char, \
|
||||
+ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
|
||||
signed char, SCHAR_MIN, SCHAR_MAX), \
|
||||
short int: \
|
||||
- _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned short int, \
|
||||
+ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
|
||||
short int, SHRT_MIN, SHRT_MAX), \
|
||||
int: \
|
||||
_GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
|
||||
@@ -393,10 +392,10 @@ verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
#else
|
||||
# define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) \
|
||||
(sizeof *(r) == sizeof (signed char) \
|
||||
- ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned char, \
|
||||
+ ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
|
||||
signed char, SCHAR_MIN, SCHAR_MAX) \
|
||||
: sizeof *(r) == sizeof (short int) \
|
||||
- ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned short int, \
|
||||
+ ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
|
||||
short int, SHRT_MIN, SHRT_MAX) \
|
||||
: sizeof *(r) == sizeof (int) \
|
||||
? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
|
||||
@@ -412,15 +411,14 @@ verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
# else
|
||||
# define _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow) \
|
||||
_GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \
|
||||
- long int, LONG_MIN, LONG_MAX))
|
||||
+ long int, LONG_MIN, LONG_MAX)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* Store the low-order bits of A <op> B into *R, where the operation
|
||||
is given by OP. Use the unsigned type UT for calculation to avoid
|
||||
- overflow problems. *R's type is T, with extremal values TMIN and
|
||||
- TMAX. T must be a signed integer type. Return 1 if the result
|
||||
- overflows. */
|
||||
+ overflow problems. *R's type is T, with extrema TMIN and TMAX.
|
||||
+ T must be a signed integer type. Return 1 if the result overflows. */
|
||||
#define _GL_INT_OP_CALC(a, b, r, op, overflow, ut, t, tmin, tmax) \
|
||||
(sizeof ((a) op (b)) < sizeof (t) \
|
||||
? _GL_INT_OP_CALC1 ((t) (a), (t) (b), r, op, overflow, ut, t, tmin, tmax) \
|
||||
@@ -429,17 +427,27 @@ verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
|
||||
((overflow (a, b) \
|
||||
|| (EXPR_SIGNED ((a) op (b)) && ((a) op (b)) < (tmin)) \
|
||||
|| (tmax) < ((a) op (b))) \
|
||||
- ? (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t, tmin, tmax), 1) \
|
||||
- : (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t, tmin, tmax), 0))
|
||||
-
|
||||
-/* Return A <op> B, where the operation is given by OP. Use the
|
||||
- unsigned type UT for calculation to avoid overflow problems.
|
||||
- Convert the result to type T without overflow by subtracting TMIN
|
||||
- from large values before converting, and adding it afterwards.
|
||||
- Compilers can optimize all the operations except OP. */
|
||||
-#define _GL_INT_OP_WRAPV_VIA_UNSIGNED(a, b, op, ut, t, tmin, tmax) \
|
||||
- (((ut) (a) op (ut) (b)) <= (tmax) \
|
||||
- ? (t) ((ut) (a) op (ut) (b)) \
|
||||
- : ((t) (((ut) (a) op (ut) (b)) - (tmin)) + (tmin)))
|
||||
+ ? (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t), 1) \
|
||||
+ : (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t), 0))
|
||||
+
|
||||
+/* Return the low-order bits of A <op> B, where the operation is given
|
||||
+ by OP. Use the unsigned type UT for calculation to avoid undefined
|
||||
+ behavior on signed integer overflow, and convert the result to type T.
|
||||
+ UT is at least as wide as T and is no narrower than unsigned int,
|
||||
+ T is two's complement, and there is no padding or trap representations.
|
||||
+ Assume that converting UT to T yields the low-order bits, as is
|
||||
+ done in all known two's-complement C compilers. E.g., see:
|
||||
+ https://gcc.gnu.org/onlinedocs/gcc/Integers-implementation.html
|
||||
+
|
||||
+ According to the C standard, converting UT to T yields an
|
||||
+ implementation-defined result or signal for values outside T's
|
||||
+ range. However, code that works around this theoretical problem
|
||||
+ runs afoul of a compiler bug in Oracle Studio 12.3 x86. See:
|
||||
+ https://lists.gnu.org/r/bug-gnulib/2017-04/msg00049.html
|
||||
+ As the compiler bug is real, don't try to work around the
|
||||
+ theoretical problem. */
|
||||
+
|
||||
+#define _GL_INT_OP_WRAPV_VIA_UNSIGNED(a, b, op, ut, t) \
|
||||
+ ((t) ((ut) (a) op (ut) (b)))
|
||||
|
||||
#endif /* _GL_INTPROPS_H */
|
||||
|
|
@ -0,0 +1,195 @@
|
|||
diff --git a/liboath/global.c b/liboath/global.c
|
||||
index 6fb51fd..251ad15 100644
|
||||
--- a/liboath/global.c
|
||||
+++ b/liboath/global.c
|
||||
@@ -25,9 +25,12 @@
|
||||
|
||||
#include <stdio.h> /* For snprintf, getline. */
|
||||
#include <string.h> /* For strverscmp. */
|
||||
+#include <stdlib.h> /* For free. */
|
||||
|
||||
#include "gc.h"
|
||||
|
||||
+char *oath_lockfile_path = NULL;
|
||||
+
|
||||
/**
|
||||
* oath_init:
|
||||
*
|
||||
@@ -52,6 +55,8 @@ oath_init (void)
|
||||
if (gc_init () != GC_OK)
|
||||
return OATH_CRYPTO_ERROR;
|
||||
|
||||
+ oath_lockfile_path = NULL;
|
||||
+
|
||||
return OATH_OK;
|
||||
}
|
||||
|
||||
@@ -71,6 +76,11 @@ oath_done (void)
|
||||
{
|
||||
gc_done ();
|
||||
|
||||
+ if (oath_lockfile_path)
|
||||
+ {
|
||||
+ free(oath_lockfile_path);
|
||||
+ oath_lockfile_path = NULL;
|
||||
+ }
|
||||
return OATH_OK;
|
||||
}
|
||||
|
||||
@@ -99,3 +109,23 @@ oath_check_version (const char *req_version)
|
||||
|
||||
return NULL;
|
||||
}
|
||||
+
|
||||
+int
|
||||
+oath_set_lockfile_path(const char *lockfile)
|
||||
+{
|
||||
+ int l;
|
||||
+
|
||||
+ if (oath_lockfile_path)
|
||||
+ {
|
||||
+ free(oath_lockfile_path);
|
||||
+ oath_lockfile_path = NULL;
|
||||
+ }
|
||||
+
|
||||
+ if (lockfile)
|
||||
+ {
|
||||
+ l = asprintf (&oath_lockfile_path, "%s", lockfile);
|
||||
+ if (oath_lockfile_path == NULL || ((size_t) l) != strlen (lockfile))
|
||||
+ return OATH_PRINTF_ERROR;
|
||||
+ }
|
||||
+ return OATH_OK;
|
||||
+}
|
||||
diff --git a/liboath/liboath.map b/liboath/liboath.map
|
||||
index 010c512..fd32e07 100644
|
||||
--- a/liboath/liboath.map
|
||||
+++ b/liboath/liboath.map
|
||||
@@ -75,6 +75,7 @@ LIBOATH_2.2.0
|
||||
global:
|
||||
oath_totp_validate3;
|
||||
oath_totp_validate3_callback;
|
||||
+ oath_set_lockfile_path;
|
||||
} LIBOATH_1.12.0;
|
||||
|
||||
LIBOATH_2.6.0
|
||||
diff --git a/liboath/oath.h b/liboath/oath.h
|
||||
index 7819c02..8bb5fc6 100644
|
||||
--- a/liboath/oath.h
|
||||
+++ b/liboath/oath.h
|
||||
@@ -136,11 +136,15 @@ typedef enum
|
||||
|
||||
/* Global */
|
||||
|
||||
+extern char *oath_lockfile_path;
|
||||
+
|
||||
extern OATHAPI int oath_init (void);
|
||||
extern OATHAPI int oath_done (void);
|
||||
|
||||
extern OATHAPI const char *oath_check_version (const char *req_version);
|
||||
|
||||
+extern OATHAPI int oath_set_lockfile_path(const char *lockfile);
|
||||
+
|
||||
/* Error handling */
|
||||
|
||||
extern OATHAPI const char *oath_strerror (int err);
|
||||
diff --git a/liboath/oath.h.in b/liboath/oath.h.in
|
||||
index 524e9ac..4d5cddc 100644
|
||||
--- a/liboath/oath.h.in
|
||||
+++ b/liboath/oath.h.in
|
||||
@@ -136,11 +136,15 @@ typedef enum
|
||||
|
||||
/* Global */
|
||||
|
||||
+extern char *oath_lockfile_path;
|
||||
+
|
||||
extern OATHAPI int oath_init (void);
|
||||
extern OATHAPI int oath_done (void);
|
||||
|
||||
extern OATHAPI const char *oath_check_version (const char *req_version);
|
||||
|
||||
+extern OATHAPI int oath_set_lockfile_path(const char *lockfile);
|
||||
+
|
||||
/* Error handling */
|
||||
|
||||
extern OATHAPI const char *oath_strerror (int err);
|
||||
diff --git a/liboath/usersfile.c b/liboath/usersfile.c
|
||||
index 3442fd2..066f936 100644
|
||||
--- a/liboath/usersfile.c
|
||||
+++ b/liboath/usersfile.c
|
||||
@@ -323,9 +323,18 @@ update_usersfile (const char *usersfile,
|
||||
{
|
||||
int l;
|
||||
|
||||
- l = asprintf (&lockfile, "%s.lock", usersfile);
|
||||
- if (lockfile == NULL || ((size_t) l) != strlen (usersfile) + 5)
|
||||
- return OATH_PRINTF_ERROR;
|
||||
+ if (oath_lockfile_path)
|
||||
+ {
|
||||
+ l = asprintf (&lockfile, "%s", oath_lockfile_path);
|
||||
+ if (lockfile == NULL || ((size_t) l) != strlen (oath_lockfile_path))
|
||||
+ return OATH_PRINTF_ERROR;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ l = asprintf (&lockfile, "%s.lock", usersfile);
|
||||
+ if (lockfile == NULL || ((size_t) l) != strlen (usersfile) + 5)
|
||||
+ return OATH_PRINTF_ERROR;
|
||||
+ }
|
||||
|
||||
lockfh = fopen (lockfile, "w");
|
||||
if (!lockfh)
|
||||
diff --git a/pam_oath/pam_oath.c b/pam_oath/pam_oath.c
|
||||
index 57fd33c..aa041e3 100644
|
||||
--- a/pam_oath/pam_oath.c
|
||||
+++ b/pam_oath/pam_oath.c
|
||||
@@ -70,6 +70,7 @@ struct cfg
|
||||
int try_first_pass;
|
||||
int use_first_pass;
|
||||
char *usersfile;
|
||||
+ char *lockfile;
|
||||
unsigned digits;
|
||||
unsigned window;
|
||||
};
|
||||
@@ -84,6 +85,7 @@ parse_cfg (int flags, int argc, const char **argv, struct cfg *cfg)
|
||||
cfg->try_first_pass = 0;
|
||||
cfg->use_first_pass = 0;
|
||||
cfg->usersfile = NULL;
|
||||
+ cfg->lockfile = NULL;
|
||||
cfg->digits = -1;
|
||||
cfg->window = 5;
|
||||
|
||||
@@ -99,6 +101,8 @@ parse_cfg (int flags, int argc, const char **argv, struct cfg *cfg)
|
||||
cfg->use_first_pass = 1;
|
||||
if (strncmp (argv[i], "usersfile=", 10) == 0)
|
||||
cfg->usersfile = (char *) argv[i] + 10;
|
||||
+ if (strncmp (argv[i], "lockfile=", 9) == 0)
|
||||
+ cfg->lockfile = (char *) argv[i] + 9;
|
||||
if (strncmp (argv[i], "digits=", 7) == 0)
|
||||
cfg->digits = atoi (argv[i] + 7);
|
||||
if (strncmp (argv[i], "window=", 7) == 0)
|
||||
@@ -124,6 +128,7 @@ parse_cfg (int flags, int argc, const char **argv, struct cfg *cfg)
|
||||
D (("try_first_pass=%d", cfg->try_first_pass));
|
||||
D (("use_first_pass=%d", cfg->use_first_pass));
|
||||
D (("usersfile=%s", cfg->usersfile ? cfg->usersfile : "(null)"));
|
||||
+ D (("lockfile=%s", cfg->lockfile ? cfg->lockfile : "(null)"));
|
||||
D (("digits=%d", cfg->digits));
|
||||
D (("window=%d", cfg->window));
|
||||
}
|
||||
@@ -189,6 +194,17 @@ pam_sm_authenticate (pam_handle_t * pamh,
|
||||
goto done;
|
||||
}
|
||||
|
||||
+ if (cfg.lockfile)
|
||||
+ rc = oath_set_lockfile_path(cfg.lockfile);
|
||||
+ else
|
||||
+ rc = oath_set_lockfile_path("/var/lock/pam_oath.lock");
|
||||
+ if (rc != OATH_OK)
|
||||
+ {
|
||||
+ DBG (("oath_set_lockfile_path() failed (%d)", rc));
|
||||
+ retval = PAM_AUTHINFO_UNAVAIL;
|
||||
+ goto done;
|
||||
+ }
|
||||
+
|
||||
if (password == NULL)
|
||||
{
|
||||
retval = pam_get_item (pamh, PAM_CONV, (const void **) &conv);
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"oath-toolkit-2.6.2.tar.gz": "b03446fa4b549af5ebe4d35d7aba51163442d255660558cd861ebce536824aa0"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,304 @@
|
|||
Summary: One-time password components
|
||||
Name: oath-toolkit
|
||||
Version: 2.6.2
|
||||
Release: 7%{?dist}
|
||||
License: GPLv3+
|
||||
URL: https://www.nongnu.org/oath-toolkit/
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
Source0: https://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz
|
||||
|
||||
# Escape leading single quotes in man pages which are misinterpreted as macros,
|
||||
# patch sent upstream, upstream ticket #108312
|
||||
Patch0: oath-toolkit-2.0.2-man-fix.patch
|
||||
# Fix invalid reads due to references to old (freed) xmlDoc,
|
||||
# upstream ticket #108736
|
||||
Patch1: oath-toolkit-2.4.1-retain-original-xmldoc.patch
|
||||
# rhbz#1605276
|
||||
Patch2: oath-toolkit-2.6.2-build-fix.patch
|
||||
Patch3: oath-toolkit-2.6.2-lockfile.patch
|
||||
|
||||
BuildRequires: pam-devel
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: libtool
|
||||
BuildRequires: xmlsec1-devel
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
|
||||
%description
|
||||
The OATH Toolkit provide components for building one-time password
|
||||
authentication systems. It contains shared libraries, command line tools and a
|
||||
PAM module. Supported technologies include the event-based HOTP algorithm
|
||||
(RFC4226) and the time-based TOTP algorithm (RFC6238). OATH stands for Open
|
||||
AuTHentication, which is the organization that specify the algorithms. For
|
||||
managing secret key files, the Portable Symmetric Key Container (PSKC) format
|
||||
described in RFC6030 is supported.
|
||||
|
||||
%package -n liboath
|
||||
Summary: Library for OATH handling
|
||||
License: LGPLv2+
|
||||
# https://fedorahosted.org/fpc/ticket/174
|
||||
#Provides: bundled(gnulib)
|
||||
|
||||
%description -n liboath
|
||||
OATH stands for Open AuTHentication, which is the organization that
|
||||
specify the algorithms. Supported technologies include the event-based
|
||||
HOTP algorithm (RFC4226) and the time-based TOTP algorithm (RFC6238).
|
||||
|
||||
%package -n liboath-devel
|
||||
Summary: Development files for liboath
|
||||
License: LGPLv2+
|
||||
Requires: liboath%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n liboath-devel
|
||||
Development files for liboath.
|
||||
|
||||
%package -n liboath-doc
|
||||
Summary: Documentation files for liboath
|
||||
License: LGPLv2+
|
||||
Requires: liboath = %{version}-%{release}
|
||||
Requires: gtk-doc
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n liboath-doc
|
||||
Documentation files for liboath.
|
||||
|
||||
%package -n libpskc
|
||||
Summary: Library for PSKC handling
|
||||
License: LGPLv2+
|
||||
Requires: xml-common
|
||||
# https://fedorahosted.org/fpc/ticket/174
|
||||
#Provides: bundled(gnulib)
|
||||
|
||||
%description -n libpskc
|
||||
Library for managing secret key files, the Portable Symmetric Key
|
||||
Container (PSKC) format described in RFC6030 is supported.
|
||||
|
||||
%package -n libpskc-devel
|
||||
Summary: Development files for libpskc
|
||||
License: LGPLv2+
|
||||
Requires: libpskc%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n libpskc-devel
|
||||
Development files for libpskc.
|
||||
|
||||
%package -n libpskc-doc
|
||||
Summary: Documentation files for libpskc
|
||||
License: LGPLv2+
|
||||
Requires: libpskc = %{version}-%{release}
|
||||
Requires: gtk-doc
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n libpskc-doc
|
||||
Documentation files for libpskc.
|
||||
|
||||
%package -n oathtool
|
||||
Summary: A command line tool for generating and validating OTPs
|
||||
License: GPLv3+
|
||||
# https://fedorahosted.org/fpc/ticket/174
|
||||
Provides: bundled(gnulib)
|
||||
|
||||
%description -n oathtool
|
||||
A command line tool for generating and validating OTPs.
|
||||
|
||||
%package -n pskctool
|
||||
Summary: A command line tool for manipulating PSKC data
|
||||
# https://fedorahosted.org/fpc/ticket/174
|
||||
Provides: bundled(gnulib)
|
||||
Requires: xmlsec1%{?_isa}
|
||||
|
||||
%description -n pskctool
|
||||
A command line tool for manipulating PSKC data.
|
||||
|
||||
%package -n pam_oath
|
||||
Summary: A PAM module for pluggable login authentication for OATH
|
||||
Requires: pam
|
||||
|
||||
%description -n pam_oath
|
||||
A PAM module for pluggable login authentication for OATH.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .man-fix
|
||||
%patch1 -p1 -b .retain-original-xmldoc
|
||||
%patch2 -p1 -b .build-fix
|
||||
%patch3 -p1 -b .lockfile
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
%configure --with-pam-dir=%{_libdir}/security
|
||||
|
||||
# Kill rpaths and link with --as-needed
|
||||
for d in liboath libpskc pskctool oathtool pam_oath
|
||||
do
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' $d/libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' $d/libtool
|
||||
sed -i 's| -shared | -Wl,--as-needed\0|g' $d/libtool
|
||||
done
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
||||
|
||||
# Remove static objects and libtool files
|
||||
rm -f %{buildroot}%{_libdir}/*.{a,la}
|
||||
rm -f %{buildroot}%{_libdir}/security/*.la
|
||||
|
||||
# Make /etc/liboath directory
|
||||
mkdir -p -m 0600 %{buildroot}%{_sysconfdir}/liboath
|
||||
|
||||
%post -p /sbin/ldconfig -n liboath
|
||||
%post -p /sbin/ldconfig -n libpskc
|
||||
|
||||
%postun -p /sbin/ldconfig -n liboath
|
||||
%postun -p /sbin/ldconfig -n libpskc
|
||||
|
||||
%files -n liboath
|
||||
%license liboath/COPYING
|
||||
%attr(0600, root, root) %dir %{_sysconfdir}/liboath
|
||||
%{_libdir}/liboath.so.*
|
||||
|
||||
%files -n liboath-devel
|
||||
%{_includedir}/liboath
|
||||
%{_libdir}/liboath.so
|
||||
%{_libdir}/pkgconfig/liboath.pc
|
||||
|
||||
%files -n liboath-doc
|
||||
%{_mandir}/man3/oath*
|
||||
%{_datadir}/gtk-doc/html/liboath/*
|
||||
|
||||
%files -n libpskc
|
||||
%doc libpskc/README
|
||||
%{_libdir}/libpskc.so.*
|
||||
%{_datadir}/xml/pskc
|
||||
|
||||
%files -n libpskc-devel
|
||||
%{_includedir}/pskc
|
||||
%{_libdir}/libpskc.so
|
||||
%{_libdir}/pkgconfig/libpskc.pc
|
||||
|
||||
%files -n libpskc-doc
|
||||
%{_mandir}/man3/pskc*
|
||||
%{_datadir}/gtk-doc/html/libpskc/*
|
||||
|
||||
%files -n oathtool
|
||||
%license oathtool/COPYING
|
||||
%{_bindir}/oathtool
|
||||
%{_mandir}/man1/oathtool.*
|
||||
|
||||
%files -n pskctool
|
||||
%{_bindir}/pskctool
|
||||
%{_mandir}/man1/pskctool.*
|
||||
|
||||
%files -n pam_oath
|
||||
%license pam_oath/COPYING
|
||||
%doc pam_oath/README
|
||||
%{_libdir}/security/pam_oath.so
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> - 2.6.2-7
|
||||
- Initial CBL-Mariner import from Fedora 33 (license: MIT)
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon May 4 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.6.2-5
|
||||
- Added support for configurable lock file locations and set the default path
|
||||
Resolves: rhbz#1178036
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 20 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.6.2-1
|
||||
- New version
|
||||
- Fixed FTBFS
|
||||
Resolves: rhbz#1605276
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Tue Aug 4 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.6.1-1
|
||||
- New version
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Thu May 21 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.6.0-1
|
||||
- New version
|
||||
- Dropped strdup-null-check patch (upstreamed)
|
||||
|
||||
* Fri Jan 30 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.1-9
|
||||
- Fixed invalid reads in libpskc due to references to old (freed) xmlDoc
|
||||
(by retain-original-xmldoc patch), patch provided by David Woodhouse
|
||||
Resolves: rhbz#1129491
|
||||
|
||||
* Tue Nov 11 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.1-8
|
||||
- Removed RHEL conditionals (not needed any more)
|
||||
|
||||
* Fri Nov 7 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.1-7
|
||||
- Added check for strdup failure (by strdup-null-check patch)
|
||||
Resolves: rhbz#1161360
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Tue Aug 5 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.1-5
|
||||
- Added support for RHEL (i.e. no PSKC yet on RHEL)
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Thu Feb 20 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.1-3
|
||||
- Added xmlsec1-openssl to requires
|
||||
Resolves: rhbz#1066477
|
||||
|
||||
* Mon Feb 17 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.1-2
|
||||
- Added xmlsec1-openssl-devel to buildrequires
|
||||
|
||||
* Thu Feb 13 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.1-1
|
||||
- New version
|
||||
Resolves: rhbz#1064764
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Tue Jul 23 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.0-1
|
||||
- New version
|
||||
Resolves: rhbz#987378
|
||||
|
||||
* Wed Jul 10 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.2.0-1
|
||||
- New version
|
||||
Resolves: rhbz#982986
|
||||
|
||||
* Wed Jun 5 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.2-3
|
||||
- Fixed requirements according to reviewer comments
|
||||
- Linked with --as-needed
|
||||
- Fixed man pages (by man-fix patch)
|
||||
|
||||
* Mon Apr 8 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.2-2
|
||||
- Added /etc/liboath directory to hold configuration / user lists
|
||||
|
||||
* Sun Apr 07 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.2-1
|
||||
- Initial version
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"cachetools-4.1.1.tar.gz": "bbaa39c3dede00175df2dc2b03d0cf18dd2d32a7de7beb68072d13043c9edb20"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,47 @@
|
|||
%{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
%global pkgname cachetools
|
||||
|
||||
Summary: Various memoizing collections and decorators
|
||||
Name: python-%{pkgname}
|
||||
Version: 4.1.1
|
||||
Release: 1%{?dist}
|
||||
License: MIT
|
||||
URL: https://github.com/tkem/cachetools
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
Source0: https://pypi.python.org/packages/source/c/%{pkgname}/%{pkgname}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
This module provides various memoizing collections and decorators, including variants of the Python Standard Library’s @lru_cache function decorator.
|
||||
|
||||
%package -n python3-%{pkgname}
|
||||
Summary: Various memoizing collections and decorators
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-xml
|
||||
Requires: python3
|
||||
|
||||
%description -n python3-%{pkgname}
|
||||
This module provides various memoizing collections and decorators, including variants of the Python Standard Library’s @lru_cache function decorator.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkgname}-%{version}
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python3 setup.py install --skip-build --root=%{buildroot}
|
||||
|
||||
%files -n python3-%{pkgname}
|
||||
%license LICENSE
|
||||
%doc README.rst CHANGELOG.rst
|
||||
%{python3_sitelib}/%{pkgname}
|
||||
%{python3_sitelib}/*.egg-info
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> - 1.20.1-1
|
||||
- Original CBL-Mariner version
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"CherryPy-18.6.0.tar.gz": "56608edd831ad00991ae585625e0206ed61cf1a0850e4b2cc48489fb2308c499"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,66 @@
|
|||
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
|
||||
%bcond_without check
|
||||
%define pkgname cherrypy
|
||||
%define pypiname CherryPy
|
||||
|
||||
Summary: A pythonic, object-oriented HTTP framework
|
||||
Name: python-%{pkgname}
|
||||
Version: 18.6.0
|
||||
Release: 1%{?dist}
|
||||
License: BSD
|
||||
Url: https://cherrypy.org/
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
Source0: https://pypi.io/packages/source/C/%{pypiname}/%{pypiname}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
%global _description %{expand:
|
||||
CherryPy allows developers to build web applications in much the same way they would
|
||||
build any other object-oriented Python program. This results in smaller source code
|
||||
developed in less time.
|
||||
|
||||
CherryPy is now more than ten years old and it is has proven to be fast and reliable.
|
||||
It is being used in production by many sites, from the simplest to the most demanding.}
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-%{pkgname}
|
||||
Summary: A pythonic, object-oriented HTTP framework
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-xml
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-setuptools_scm
|
||||
Requires: python3
|
||||
Requires: python3-libs
|
||||
%if 0%{with check}
|
||||
BuildRequires: python3-pip
|
||||
%endif
|
||||
|
||||
%description -n python3-%{pkgname} %_description
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pypiname}-%{version}
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python3 setup.py install --root=%{buildroot}
|
||||
|
||||
%if 0%{with check}
|
||||
%check
|
||||
pip3 install tox
|
||||
tox
|
||||
%endif
|
||||
|
||||
%files -n python3-%{pkgname}
|
||||
%license LICENSE.md
|
||||
%doc README.rst docs/
|
||||
%{python3_sitelib}/*
|
||||
%{_bindir}/cherryd
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> 1.4.0-1
|
||||
- Original CBL-Mariner version
|
|
@ -4,14 +4,13 @@
|
|||
Summary: Docutils -- Python Documentation Utilities.
|
||||
Name: python-docutils
|
||||
Version: 0.14
|
||||
Release: 3%{?dist}
|
||||
License: public domain, Python, 2-Clause BSD, GPL 3 (see COPYING.txt)
|
||||
Release: 4%{?dist}
|
||||
License: Public Domain, Python, BSD, GPLv3
|
||||
Group: Development/Languages/Python
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
Url: https://pypi.python.org/pypi/docutils
|
||||
Source0: https://files.pythonhosted.org/packages/source/d/docutils/docutils-%{version}.tar.gz
|
||||
%define sha1 docutils=32cefb69ac3dab5b04c4d150776f35419cc4c863
|
||||
|
||||
BuildRequires: python2
|
||||
BuildRequires: python2-libs
|
||||
|
@ -51,21 +50,22 @@ python3 setup.py build
|
|||
popd
|
||||
|
||||
%install
|
||||
|
||||
pushd ../p3dir
|
||||
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
mv %{buildroot}/%{_bindir}/rstpep2html.py %{buildroot}/%{_bindir}/rstpep2html3.py
|
||||
mv %{buildroot}/%{_bindir}/rst2xml.py %{buildroot}/%{_bindir}/rst2xml3.py
|
||||
mv %{buildroot}/%{_bindir}/rst2xetex.py %{buildroot}/%{_bindir}/rst2xetex3.py
|
||||
mv %{buildroot}/%{_bindir}/rst2s5.py %{buildroot}/%{_bindir}/rst2s53.py
|
||||
mv %{buildroot}/%{_bindir}/rst2pseudoxml.py %{buildroot}/%{_bindir}/rst2pseudoxml3.py
|
||||
mv %{buildroot}/%{_bindir}/rst2odt_prepstyles.py %{buildroot}/%{_bindir}/rst2odt_prepstyles3.py
|
||||
mv %{buildroot}/%{_bindir}/rst2odt.py %{buildroot}/%{_bindir}/rst2odt3.py
|
||||
mv %{buildroot}/%{_bindir}/rst2man.py %{buildroot}/%{_bindir}/rst2man3.py
|
||||
mv %{buildroot}/%{_bindir}/rst2latex.py %{buildroot}/%{_bindir}/rst2latex3.py
|
||||
mv %{buildroot}/%{_bindir}/rst2html5.py %{buildroot}/%{_bindir}/rst2html53.py
|
||||
mv %{buildroot}/%{_bindir}/rst2html.py %{buildroot}/%{_bindir}/rst2html3.py
|
||||
for BINARY in rstpep2html rst2xml rst2xetex rst2s5 rst2pseudoxml rst2odt_prepstyles rst2odt rst2man rst2latex rst2html5 rst2html rst2html4
|
||||
do
|
||||
mv %{buildroot}/%{_bindir}/$(echo $BINARY).py %{buildroot}%{_bindir}/$(echo $BINARY)3.py
|
||||
ln -sfv $(echo $BINARY)3.py %{buildroot}/%{_bindir}/$(echo $BINARY)3
|
||||
done
|
||||
popd
|
||||
|
||||
python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
for BINARY in rstpep2html rst2xml rst2xetex rst2s5 rst2pseudoxml rst2odt_prepstyles rst2odt rst2man rst2latex rst2html5 rst2html rst2html4
|
||||
do
|
||||
ln -sfv $(echo $BINARY).py %{buildroot}%{_bindir}/$(echo $BINARY)
|
||||
done
|
||||
|
||||
|
||||
%check
|
||||
PATH=%{buildroot}%{_bindir}:${PATH} \
|
||||
|
@ -81,6 +81,18 @@ popd
|
|||
%defattr(-,root,root)
|
||||
%license licenses
|
||||
%{python2_sitelib}/*
|
||||
%{_bindir}/rstpep2html
|
||||
%{_bindir}/rst2xml
|
||||
%{_bindir}/rst2xetex
|
||||
%{_bindir}/rst2s5
|
||||
%{_bindir}/rst2pseudoxml
|
||||
%{_bindir}/rst2odt_prepstyles
|
||||
%{_bindir}/rst2odt
|
||||
%{_bindir}/rst2man
|
||||
%{_bindir}/rst2latex
|
||||
%{_bindir}/rst2html5
|
||||
%{_bindir}/rst2html
|
||||
%{_bindir}/rst2html4
|
||||
%{_bindir}/rstpep2html.py
|
||||
%{_bindir}/rst2xml.py
|
||||
%{_bindir}/rst2xetex.py
|
||||
|
@ -92,10 +104,23 @@ popd
|
|||
%{_bindir}/rst2latex.py
|
||||
%{_bindir}/rst2html5.py
|
||||
%{_bindir}/rst2html.py
|
||||
%{_bindir}/rst2html4.py
|
||||
|
||||
%files -n python3-docutils
|
||||
%defattr(-,root,root)
|
||||
%{python3_sitelib}/*
|
||||
%{_bindir}/rstpep2html3
|
||||
%{_bindir}/rst2xml3
|
||||
%{_bindir}/rst2xetex3
|
||||
%{_bindir}/rst2s53
|
||||
%{_bindir}/rst2pseudoxml3
|
||||
%{_bindir}/rst2odt_prepstyles3
|
||||
%{_bindir}/rst2odt3
|
||||
%{_bindir}/rst2man3
|
||||
%{_bindir}/rst2latex3
|
||||
%{_bindir}/rst2html53
|
||||
%{_bindir}/rst2html3
|
||||
%{_bindir}/rst2html43
|
||||
%{_bindir}/rstpep2html3.py
|
||||
%{_bindir}/rst2xml3.py
|
||||
%{_bindir}/rst2xetex3.py
|
||||
|
@ -107,18 +132,26 @@ popd
|
|||
%{_bindir}/rst2latex3.py
|
||||
%{_bindir}/rst2html53.py
|
||||
%{_bindir}/rst2html3.py
|
||||
%{_bindir}/rst2html4.py
|
||||
%{_bindir}/rst2html43.py
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> - 0.14-4
|
||||
- Follow the Fedora convention of providing a suffix-less binary name
|
||||
|
||||
* Sat May 09 00:21:15 PST 2020 Nick Samson <nisamson@microsoft.com> - 0.14-3
|
||||
- Added %%license line automatically
|
||||
|
||||
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 0.14-2
|
||||
- Initial CBL-Mariner import from Photon (license: Apache2).
|
||||
* Sun Sep 09 2018 Tapas Kundu <tkundu@vmware.com> 0.14-1
|
||||
- Update to version 0.14
|
||||
* Thu Jun 22 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.13.1-3
|
||||
- Add BuildRequires python-xml and python3-xml for the tests to pass
|
||||
* Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.13.1-2
|
||||
- Create separate packages for python2 and python3 in the bin directory
|
||||
* Mon Mar 20 2017 Xiaolin Li <xiaolinl@vmware.com> 0.13.1-1
|
||||
- Initial packaging for Photon
|
||||
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 0.14-2
|
||||
- Initial import from Photon (license: dual Apache2/GPL2).
|
||||
|
||||
* Sun Sep 09 2018 Tapas Kundu <tkundu@vmware.com> 0.14-1
|
||||
- Update to version 0.14
|
||||
|
||||
* Thu Jun 22 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.13.1-3
|
||||
- Add BuildRequires python-xml and python3-xml for the tests to pass
|
||||
|
||||
* Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.13.1-2
|
||||
- Create separate packages for python2 and python3 in the bin directory
|
||||
|
||||
* Mon Mar 20 2017 Xiaolin Li <xiaolinl@vmware.com> 0.13.1-1
|
||||
- Initial packaging for Photon
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"execnet-1.7.1.tar.gz": "cacb9df31c9680ec5f95553976c4da484d407e85e41c83cb812aa014f0eddc50"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,69 @@
|
|||
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
|
||||
%bcond_without check
|
||||
%define pkgname execnet
|
||||
|
||||
Summary: Python execution distributor
|
||||
Name: python-%{pkgname}
|
||||
Version: 1.7.1
|
||||
Release: 1%{?dist}
|
||||
License: MIT
|
||||
URL: https://codespeak.net/execnet/
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
Source0: https://pypi.io/packages/source/e/%{pkgname}/%{pkgname}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%global _description %{expand:
|
||||
execnet provides carefully tested means to ad-hoc interact with Python
|
||||
interpreters across version, platform and network barriers. It provides
|
||||
a minimal and fast API targetting the following uses:
|
||||
|
||||
-distribute tasks to local or remote processes
|
||||
-write and deploy hybrid multi-process applications
|
||||
-write scripts to administer multiple hosts}
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-%{pkgname}
|
||||
Summary: Python execution distributor
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-xml
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-setuptools_scm
|
||||
Requires: python3
|
||||
# python3-apipkg is provided by python3-py in Mariner
|
||||
# Requires: python3-apipkg
|
||||
Requires: python3-py
|
||||
%if %{with check}
|
||||
BuildRequires: python3-pip
|
||||
%endif
|
||||
|
||||
|
||||
%description -n python3-%{pkgname} %_description
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkgname}-%{version}
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python3 setup.py install --root=%{buildroot}
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
pip3 install tox
|
||||
tox
|
||||
%endif
|
||||
|
||||
%files -n python3-%{pkgname}
|
||||
%license LICENSE
|
||||
%doc README.rst CHANGELOG.rst
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> 0.3.5-1
|
||||
- Original CBL-Mariner version
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"google-auth-1.20.1.tar.gz": "2f34dd810090d0d4c9d5787c4ad7b4413d1fbfb941e13682c7a2298d3b6cdcc8"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,168 @@
|
|||
%global library google-auth
|
||||
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
|
||||
Name: python-%{library}
|
||||
Version: 1.20.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Google Auth Python Library
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/googleapis/google-auth-library-python
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
Source0: https://pypi.python.org/packages/source/g/%{library}/%{library}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Google Auth Python Library
|
||||
|
||||
%package -n python3-%{library}
|
||||
Summary: Google Auth Python Library
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-xml
|
||||
BuildRequires: git
|
||||
Requires: python3-pyasn1
|
||||
Requires: python3-pyasn1-modules
|
||||
Requires: python3-rsa
|
||||
Requires: python3-six
|
||||
Requires: python3-cachetools
|
||||
|
||||
%description -n python3-%{library}
|
||||
Python client for the kubernetes API.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{library}-%{version}
|
||||
|
||||
#Allow newer cachetools
|
||||
sed -i 's/<3\.2/<5.0/g' setup.py
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python3 setup.py install --skip-build --root=%{buildroot}
|
||||
|
||||
%files -n python3-%{library}
|
||||
%license LICENSE
|
||||
%{python3_sitelib}/google/auth
|
||||
%{python3_sitelib}/google/oauth2
|
||||
%{python3_sitelib}/google_auth-%{version}*.egg-info
|
||||
%{python3_sitelib}/google_auth-%{version}*.pth
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> - 1.20.1-1
|
||||
- Initial CBL-Mariner import from Fedora 33 (license: MIT)
|
||||
|
||||
* Wed Jul 29 2020 Jason Montleon <jmontleo@redhat.com> - 1:1.20.0-1
|
||||
- Update to 1.20.0 (#1858426)
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.19.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Thu Jul 16 2020 Jason Montleon <jmontleo@redhat.com> - 1:1.19.1-1
|
||||
- Update to 1.19.1 (#1856662)
|
||||
|
||||
* Fri Jun 19 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.18.0-1
|
||||
- Update to 1.18.0 (#1846258)
|
||||
|
||||
* Thu Jun 04 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.16.1-1
|
||||
- Update to 1.16.1 (#1841468)
|
||||
|
||||
* Tue May 26 2020 Miro HronÄok <mhroncok@redhat.com> - 1:1.14.3-2
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Tue May 12 2020 Jason Montleon <jmontleo@redhat.com> - 1:1.14.3-1
|
||||
- Update to 1.14.3
|
||||
|
||||
* Thu May 07 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.14.2-1
|
||||
- Update to 1.14.2 (#1832794)
|
||||
|
||||
* Wed Apr 22 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.14.1-1
|
||||
- Update to 1.14.1 (#1824032)
|
||||
|
||||
* Thu Apr 02 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.13.1-1
|
||||
- Update to 1.13.1 (#1817303)
|
||||
|
||||
* Mon Mar 16 2020 Jason Montleon <jmontleo@redhat.com> - 1:1.11.3-1
|
||||
- Update to 1.11.3
|
||||
|
||||
* Wed Feb 19 2020 Jason Montleon <jmontleo@redhat.com> - 1:1.11.2-1
|
||||
- Update to 1.11.2
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.11.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jan 24 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.11.0-1
|
||||
- Update to 1.11.0 (#1794771)
|
||||
|
||||
* Thu Jan 23 2020 Jason Montleon <jmontleo@redhat.com> - 1:1.10.2-2
|
||||
- Update to 1.10.2 (#1793920)
|
||||
|
||||
* Wed Jan 15 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.10.1-1
|
||||
- Update to 1.10.1 (#1779733)
|
||||
|
||||
* Fri Dec 20 2019 Jason Montleon <jmontleo@redhat.com> - 1:1.10.0-1
|
||||
- Update to 1.10.0
|
||||
|
||||
* Wed Dec 11 2019 Jason Montleon <jmontleo@redhat.com> - 1:1.9.0-2
|
||||
- Allow newer cachetools
|
||||
|
||||
* Wed Dec 11 2019 Jason Montleon <jmontleo@redhat.com> - 1:1.9.0-1
|
||||
- Update to 1.9.0
|
||||
|
||||
* Wed Dec 11 2019 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.8.2-1
|
||||
- Update to 1.8.2 (#1779733)
|
||||
|
||||
* Tue Nov 19 2019 Jason Montleon <jmontleo@redhat.com> - 1:1.7.1-1
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Thu Oct 03 2019 Miro HronÄok <mhroncok@redhat.com> - 1:1.1.1-10
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Mon Aug 19 2019 Miro HronÄok <mhroncok@redhat.com> - 1:1.1.1-9
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.1-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.1-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Tue Jan 15 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:1.1.1-6
|
||||
- Enable python dependency generator
|
||||
|
||||
* Mon Jan 14 2019 Jason Montleon <jmontleo@redhat.com> - 1:1.1.1-5
|
||||
- Fix cachetools dependency for python2
|
||||
|
||||
* Thu Dec 13 2018 Jason Montleon <jmontleo@redhat.com> - 1:1.1.1-4
|
||||
- Use python3_pkgversion for EPEL
|
||||
|
||||
* Mon Dec 3 2018 Jason Montleon <jmontleo@redhat.com> - 1:1.1.1-3
|
||||
- Use GitHub instead of PyPI source tarball to build
|
||||
|
||||
* Tue Oct 23 2018 Alfredo Moralejo <amoralej@redhat.com> - 1:1.1.1-2
|
||||
- Removed python2 subpackages in Fedora (rhbz#1636936).
|
||||
|
||||
* Mon Aug 13 2018 Alfredo Moralejo <amoralej@redhat.com> - 1:1.1.1-1
|
||||
- Revert to version 1.1.1. Version 1.3.0 requires pyasn1-modules newer that in Fedora (rhbz#1577286).
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Jun 19 2018 Miro HronÄok <mhroncok@redhat.com> - 1.3.0-4
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.3.0-3
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Jan 24 2018 Alfredo Moralejo <amoralej@redhat.com> 1.3.0-1
|
||||
- Update to 1.3.0
|
||||
|
||||
* Fri Oct 13 2017 Jason Montleon <jmontleo@redhat.com> 1.1.1-1
|
||||
- Initial Build
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"python-jwt-1.0.0.tar.gz": "e7222054e3d47aa2488fbfbc5cfd9c2c0882a7b49ef7954598fb85e1b2f27ad8"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
|
||||
%bcond_without check
|
||||
%define pkgname jwt
|
||||
|
||||
Summary: JSON Web Token library for Python 3
|
||||
Name: python-%{pkgname}
|
||||
Version: 1.0.0
|
||||
Release: 1%{?dist}
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/GehirnInc/python-jwt
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
#Source0: https://github.com/GehirnInc/%{name}/archive/v%{version}.tar.gz
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%global _description %{expand:
|
||||
python-jwt is a JSON Web Token (JWT) implementation in Python developed by Gehirn Inc.}
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-%{pkgname}
|
||||
Summary: JSON Web Token library for Python 3
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-xml
|
||||
BuildRequires: python3-setuptools
|
||||
Requires: python3
|
||||
Requires: python3-cryptography
|
||||
%if %{with check}
|
||||
BuildRequires: python3-pip
|
||||
%endif
|
||||
|
||||
|
||||
%description -n python3-%{pkgname} %_description
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python3 setup.py install --skip-build --root=%{buildroot}
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
pip3 install tox
|
||||
tox
|
||||
%endif
|
||||
|
||||
%files -n python3-%{pkgname}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> - 1.0.0-1
|
||||
- Original CBL-Mariner version
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"python-kubernetes-11.0.0.tar.gz": "3ec0a0887bef32589ebb46efe7fbd30758c1da3c37f28d4394e9f4620172951a",
|
||||
"python-kubernetes-base-11.0.0.tar.gz": "a9e189f06fba9c434326fe42d66162173631ccf2329dd9c78957e1fbee50e7d5"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,161 @@
|
|||
%global library kubernetes
|
||||
%global basehash d30f1e6fd4e2725aae04fa2f4982a4cfec7c682b
|
||||
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
|
||||
Name: python-%{library}
|
||||
Version: 11.0.0
|
||||
Release: 5%{?dist}
|
||||
Summary: Python client for the kubernetes API.
|
||||
License: ASL 2.0
|
||||
URL: https://pypi.python.org/pypi/kubernetes
|
||||
#Source0: https://github.com/kubernetes-client/python/archive/v%{version}.tar.gz
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
#Source1: https://github.com/kubernetes-client/python-base/archive/%{basehash}.tar.gz
|
||||
Source1: %{name}-base-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
%package -n python3-%{library}
|
||||
Summary: Kubernetes Python Client
|
||||
BuildRequires: git
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-xml
|
||||
Requires: python3-certifi
|
||||
Requires: python3-six
|
||||
Requires: python3-dateutil
|
||||
Requires: python3-setuptools
|
||||
Requires: python3-urllib3
|
||||
Requires: python3-PyYAML
|
||||
Requires: python3-google-auth
|
||||
Requires: python3-websocket-client
|
||||
|
||||
|
||||
%description -n python3-%{library}
|
||||
Python client for the kubernetes API.
|
||||
|
||||
%package -n python3-%{library}-tests
|
||||
Summary: Tests python-kubernetes library
|
||||
|
||||
Requires: python3-pip
|
||||
Requires: python3-%{library} = %{version}-%{release}
|
||||
|
||||
%description -n python3-%{library}-tests
|
||||
Tests python-kubernetes library
|
||||
|
||||
|
||||
%description
|
||||
Python client for the kubernetes API.
|
||||
|
||||
%prep
|
||||
%autosetup -n python-%{version} -S git
|
||||
|
||||
pushd kubernetes
|
||||
rm -rf base
|
||||
tar zxvf %{SOURCE1}
|
||||
mv python-base-%{basehash} base
|
||||
popd
|
||||
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
|
||||
python3 setup.py install --skip-build --root=%{buildroot}
|
||||
cp -pr kubernetes/test %{buildroot}%{python3_sitelib}/%{library}/
|
||||
cp -pr kubernetes/e2e_test %{buildroot}%{python3_sitelib}/%{library}/
|
||||
|
||||
%files -n python3-%{library}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python3_sitelib}/%{library}
|
||||
%{python3_sitelib}/%{library}-*.egg-info
|
||||
%exclude %{python3_sitelib}/%{library}/test
|
||||
%exclude %{python3_sitelib}/%{library}/e2e_test
|
||||
|
||||
%files -n python3-%{library}-tests
|
||||
%license LICENSE
|
||||
%{python3_sitelib}/%{library}/test
|
||||
%{python3_sitelib}/%{library}/e2e_test
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> - 11.0.0-5
|
||||
- Initial CBL-Mariner import from Fedora 33 (license: MIT)
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 11.0.0-3
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Thu Apr 30 2020 Jason Montleon <jmontleo@redhat.com> - 11.0.0-2
|
||||
- Fix EPEL 7 and 8 builds
|
||||
|
||||
* Thu Apr 30 2020 Jason Montleon <jmontleo@redhat.com> - 11.0.0-1
|
||||
- Update to 11.0.0
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
- Work around BZ1758141 for BZ1799937
|
||||
|
||||
* Fri Nov 08 2019 Jason Montleon <jmontleo@redhat.com> 10.0.1-1
|
||||
- Update to upstream 10.0.1
|
||||
|
||||
* Fri Oct 18 2019 Jason Montleon <jmontleo@redhat.com> 9.0.1-1
|
||||
- Update to upstream 9.0.1
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 8.0.1-4
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 8.0.1-3
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Mon Feb 18 2019 Jason Montleon <jmontleo@redhat.com> 8.0.1-1
|
||||
- Update to upstream 8.0.1
|
||||
|
||||
* Sat Feb 2 2019 Jason Montleon <jmontleo@redhat.com> 8.0.0-8
|
||||
- add upstream patch to make python-adal optional
|
||||
- remove python-adal requires for EL7 since it's not available in RHEL base, optional, or extras
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Jan 17 2019 Jason Montleon <jmontleo@redhat.com> 8.0.0-6
|
||||
- Only apply EL7 requirement patch on EL7 so Fedora dependency generator works correctly
|
||||
|
||||
* Thu Jan 17 2019 Jason Montleon <jmontleo@redhat.com> 8.0.0-5
|
||||
- Keep python 2 enabled for Fedora 29.
|
||||
|
||||
* Tue Jan 15 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 8.0.0-4
|
||||
- Enable python dependency generator
|
||||
|
||||
* Fri Dec 14 2018 Jason Montleon <jmontleo@redhat.com> 8.0.0-3
|
||||
- Default to python 2 for EPEL 7 and python 3 for Fedora
|
||||
- Add docs package for Fedora
|
||||
|
||||
* Mon Nov 26 2018 Jason Montleon <jmontleo@redhat.com> 8.0.0-2
|
||||
- Patch setup.py to work with EL7 python-setuptools
|
||||
|
||||
* Mon Nov 5 2018 Jason Montleon <jmontleo@redhat.com> 8.0.0-1
|
||||
- Update to 8.0.0
|
||||
|
||||
* Wed Oct 3 2018 Jason Montleon <jmontleo@redhat.com> 7.0.0-3
|
||||
- Adding missing python3-adal dependency
|
||||
|
||||
* Wed Oct 3 2018 Jason Montleon <jmontleo@redhat.com> 7.0.0-2
|
||||
- Adding missing python-adal dependency
|
||||
|
||||
* Wed Oct 3 2018 Jason Montleon <jmontleo@redhat.com> 7.0.0-1
|
||||
- Update to 7.0.0
|
||||
|
||||
* Tue Feb 28 2017 Alfredo Moralejo <amoralej@redhat.com> 1.0.0-0.3.0b3
|
||||
- Remove BRs for documentation building as it's not creating html docs.
|
||||
|
||||
* Mon Feb 27 2017 Alfredo Moralejo <amoralej@redhat.com> 1.0.0-0.2.0b3
|
||||
- Fixed files section of python3-kubernetes-tests to contain python3 tests.
|
||||
|
||||
* Mon Feb 27 2017 Alfredo Moralejo <amoralej@redhat.com> 1.0.0-0.1.0b3
|
||||
- Initial spec for release 1.0.0b3
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"logutils-0.3.5.tar.gz": "bc058a25d5c209461f134e1f03cab637d66a7a5ccc12e593db56fbb279899a82"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,60 @@
|
|||
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
|
||||
%bcond_without check
|
||||
%define pkgname logutils
|
||||
|
||||
Summary: A set of handlers for the Python standard library’s logging package
|
||||
Name: python-%{pkgname}
|
||||
Version: 0.3.5
|
||||
Release: 1%{?dist}
|
||||
License: BSD
|
||||
Url: https://logutils.readthedocs.io/
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
Source0: https://pypi.io/packages/source/l/%{pkgname}/%{pkgname}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%global _description %{expand:
|
||||
The logutils package provides a set of handlers for the Python standard library’s logging package.
|
||||
|
||||
Some of these handlers are out-of-scope for the standard library, and so they are packaged here.
|
||||
Others are updated versions which have appeared in recent Python releases, but are usable with
|
||||
older versions of Python, and so are packaged here..}
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-%{pkgname}
|
||||
Summary: A lean and fast WSGI object-dispatching web framework
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-xml
|
||||
BuildRequires: python3-setuptools
|
||||
Requires: python3
|
||||
Requires: python3-libs
|
||||
|
||||
|
||||
%description -n python3-%{pkgname} %_description
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkgname}-%{version}
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python3 setup.py install --root=%{buildroot}
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
python3 setup.py test
|
||||
%endif
|
||||
|
||||
%files -n python3-%{pkgname}
|
||||
%license LICENSE.txt
|
||||
%doc README.rst doc/
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> 1.4.0-1
|
||||
- Original CBL-Mariner version
|
|
@ -1,29 +1,24 @@
|
|||
%{!?python2_sitelib: %define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
Summary: XML and HTML with Python
|
||||
Name: python-lxml
|
||||
Version: 4.2.4
|
||||
Release: 6%{?dist}
|
||||
Group: Development/Libraries
|
||||
Release: 7%{?dist}
|
||||
# Test suite (and only the test suite) is GPLv2+
|
||||
License: BSD and GPLv2+
|
||||
URL: https://lxml.de
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
|
||||
# Source0: https://files.pythonhosted.org/packages/ca/63/139b710671c1655aed3b20c1e6776118c62e9f9311152f4c6031e12a0554/lxml-%{version}.tar.gz
|
||||
Source0: lxml-%{version}.tar.gz
|
||||
Patch0: lxml-make-check-fix.patch
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-libs
|
||||
BuildRequires: python-xml
|
||||
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: libxslt-devel
|
||||
BuildRequires: Cython
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-Cython
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-libs
|
||||
Requires: python2
|
||||
Requires: libxslt
|
||||
|
||||
%description
|
||||
The lxml XML toolkit is a Pythonic binding for the C libraries libxml2 and libxslt. It is unique in that it combines the speed and XML feature completeness of these libraries with the simplicity of a native Python API, mostly compatible but superior to the well-known ElementTree API.
|
||||
|
@ -40,46 +35,34 @@ Python 3 version.
|
|||
%prep
|
||||
%setup -q -n lxml-%{version}
|
||||
%patch0 -p1
|
||||
rm -rf ../p3dir
|
||||
cp -a . ../p3dir
|
||||
|
||||
%build
|
||||
python2 setup.py build
|
||||
pushd ../p3dir
|
||||
python3 setup.py build
|
||||
popd
|
||||
|
||||
%install
|
||||
python2 setup.py install --skip-build --root %{buildroot}
|
||||
pushd ../p3dir
|
||||
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
popd
|
||||
|
||||
%check
|
||||
export LC_ALL=en_US.UTF-8
|
||||
export LANGUAGE=en_US.UTF-8
|
||||
make test
|
||||
pushd ../p3dir
|
||||
make test
|
||||
popd
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license LICENSES.txt
|
||||
%{python2_sitelib}/lxml/*
|
||||
%{python2_sitelib}/lxml-%{version}-py2.7.egg-info
|
||||
|
||||
%files -n python3-lxml
|
||||
%defattr(-,root,root,-)
|
||||
%license LICENSES.txt
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Sat May 09 00:20:50 PST 2020 Nick Samson <nisamson@microsoft.com> - 4.2.4-6
|
||||
- Added %%license line automatically
|
||||
|
||||
* Wed Aug 26 2020 Thomas Crain <thcrain@microsoft.com> 4.2.4-7
|
||||
- Remove python2 support.
|
||||
* Sat May 09 00:20:50 PST 2020 Nick Samson <nisamson@microsoft.com> 4.2.4-6
|
||||
- Added %%license line automatically
|
||||
* Wed Apr 29 2020 Emre Girgin <mrgirgin@microsoft.com> 4.2.4-5
|
||||
- Renaming cython to Cython
|
||||
* Mon Apr 13 2020 Nick Samson <nisamson@microsoft.com> 4.2.4-4
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"nocasedict-0.5.0.tar.gz": "ddb5781d6ce7f5a0f2b1a89aa76f6c6ff6af733c2fda7b4ed837371884c885ca"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,104 @@
|
|||
%{!?python2_sitelib: %define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
|
||||
%bcond_without python2
|
||||
%define pkgname nocasedict
|
||||
|
||||
Summary: Case-insensitive ordered dictionary library for Python
|
||||
Name: python-%{pkgname}
|
||||
Version: 0.5.0
|
||||
Release: 1%{?dist}
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/pywbem/nocasedict
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
#Source0: https://github.com/pywbem/%{pkgname}/archive/%{version}.tar.gz
|
||||
Source0: %{pkgname}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
The NocaseDict class supports the functionality of the built-in dict class of Python 3.8.
|
||||
|
||||
|
||||
%if %{with python2}
|
||||
%package -n python2-%{pkgname}
|
||||
Summary: %{summary}
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-xml
|
||||
BuildRequires: python-six
|
||||
Requires: python2
|
||||
Requires: python-six
|
||||
%if %{with tests}
|
||||
BuildRequires: python2-pytest >= 3.0.7
|
||||
%endif
|
||||
|
||||
%description -n python2-%{pkgname}
|
||||
The NocaseDict class supports the functionality of the built-in dict class of Python 3.8.
|
||||
%endif
|
||||
|
||||
|
||||
%package -n python3-%{pkgname}
|
||||
Summary: %{summary}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-xml
|
||||
BuildRequires: python3-six
|
||||
Requires: python3
|
||||
Requires: python3-six
|
||||
%if %{with tests}
|
||||
BuildRequires: python3-pytest >= 3.0.7
|
||||
%endif
|
||||
|
||||
|
||||
%description -n python3-%{pkgname}
|
||||
The NocaseDict class supports the functionality of the built-in dict class of Python 3.8.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkgname}-%{version} -p 1
|
||||
rm -rf *.egg-info
|
||||
|
||||
|
||||
%build
|
||||
%if %{with python2}
|
||||
python2 setup.py build
|
||||
%endif
|
||||
python3 setup.py build
|
||||
|
||||
|
||||
%install
|
||||
%if %{with python2}
|
||||
python2 setup.py install --skip-build --root=%{buildroot}
|
||||
%endif
|
||||
python3 setup.py install --skip-build --root=%{buildroot}
|
||||
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
%if %{with python2}
|
||||
python2 setup.py test
|
||||
%endif
|
||||
python3 setup.py test
|
||||
%endif
|
||||
|
||||
|
||||
%if %{with python2}
|
||||
%files -n python2-%{pkgname}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python2_sitelib}/%{pkgname}
|
||||
%{python2_sitelib}/*.egg-info
|
||||
%endif
|
||||
|
||||
|
||||
%files -n python3-%{pkgname}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/%{pkgname}
|
||||
%{python3_sitelib}/*.egg-info
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> - 0.5.0-1
|
||||
- Original CBL-Mariner version.
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"pecan-1.4.0.tar.gz": "4b2acd6802a04b59e306d0a6ccf37701d24376f4dc044bbbafba3afdf9d3389a"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,70 @@
|
|||
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
|
||||
%bcond_without check
|
||||
%define pkgname pecan
|
||||
|
||||
Summary: A lean and fast WSGI object-dispatching web framework
|
||||
Name: python-%{pkgname}
|
||||
Version: 1.4.0
|
||||
Release: 1%{?dist}
|
||||
License: BSD
|
||||
Url: https://www.pecanpy.org/
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
Source0: https://pypi.io/packages/source/p/%{pkgname}/%{pkgname}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%global _description %{expand:
|
||||
Pecan was created to fill a void in the Python web-framework world – a very
|
||||
lightweight framework that provides object-dispatch style routing. Pecan does
|
||||
not aim to be a “full stack” framework, and therefore includes no out of the
|
||||
box support for things like sessions or databases (although tutorials are
|
||||
included for integrating these yourself in just a few lines of code). Pecan
|
||||
instead focuses on HTTP itself.}
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-%{pkgname}
|
||||
Summary: A lean and fast WSGI object-dispatching web framework
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-xml
|
||||
BuildRequires: python3-setuptools
|
||||
Requires: python3
|
||||
Requires: python3-libs
|
||||
Requires: python3-webob
|
||||
Requires: python3-mako
|
||||
Requires: python3-six
|
||||
Requires: python3-logutils
|
||||
%if %{with check}
|
||||
BuildRequires: python3-pip
|
||||
%endif
|
||||
|
||||
|
||||
%description -n python3-%{pkgname} %_description
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkgname}-%{version}
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python3 setup.py install --root=%{buildroot}
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
pip3 install tox
|
||||
tox
|
||||
%endif
|
||||
|
||||
%files -n python3-%{pkgname}
|
||||
%license LICENSE
|
||||
%{python3_sitelib}/*
|
||||
%{_bindir}/pecan
|
||||
%{_bindir}/gunicorn_pecan
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> 1.4.0-1
|
||||
- Original CBL-Mariner version
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"pywbem-1.0.1.tar.gz": "c7a8b4d7b0c85a7d922b3c2cbfc534841399bd3be1af3418d83f198712b0d14a"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,346 @@
|
|||
%{!?python2_sitelib: %define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
|
||||
%bcond_without python2
|
||||
%define pkgname pywbem
|
||||
|
||||
Summary: Python WBEM client interface and related utilities
|
||||
Name: python-%{pkgname}
|
||||
Version: 1.0.1
|
||||
Release: 2%{?dist}
|
||||
License: LGPLv2
|
||||
URL: https://github.com/pywbem/pywbem
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
#Source0: https://github.com/%{pkgname}/%{pkgname}/archive/%{version}.tar.gz
|
||||
Source0: %{pkgname}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
|
||||
%description
|
||||
A Python library for making CIM (Common Information Model) operations over HTTP\
|
||||
using the WBEM CIM-XML protocol. It is based on the idea that a good WBEM\
|
||||
client should be easy to use and not necessarily require a large amount of\
|
||||
programming knowledge. It is suitable for a large range of tasks from simply\
|
||||
poking around to writing web and GUI applications.\
|
||||
\
|
||||
WBEM, or Web Based Enterprise Management is a manageability protocol, like\
|
||||
SNMP, standardized by the Distributed Management Task Force (DMTF) available\
|
||||
at http://www.dmtf.org/standards/wbem.\
|
||||
\
|
||||
It also provides a Python provider interface, and is the fastest and\
|
||||
easiest way to write providers on the planet.
|
||||
|
||||
%package -n python3-%{pkgname}
|
||||
Summary: Python3 WBEM Client and Provider Interface
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-PyYAML
|
||||
BuildRequires: python3-ply
|
||||
BuildRequires: python3-pbr
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
Requires: python3
|
||||
Requires: python3-xml
|
||||
Requires: python3-requests
|
||||
Requires: python3-nocasedict
|
||||
Requires: python3-PyYAML
|
||||
Requires: python3-yamlloader
|
||||
Requires: python3-ply
|
||||
|
||||
%description -n python3-%{pkgname}
|
||||
A WBEM client allows issuing operations to a WBEM server, using the CIM
|
||||
operations over HTTP (CIM-XML) protocol defined in the DMTF standards DSP0200
|
||||
and DSP0201. The CIM/WBEM infrastructure is used for a wide variety of systems
|
||||
management tasks supported by systems running WBEM servers. See WBEM Standards
|
||||
for more information about WBEM.
|
||||
|
||||
%if %{with python2}
|
||||
%package -n python2-%{pkgname}
|
||||
Summary: Python2 WBEM Client and Provider Interface
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-pip
|
||||
BuildRequires: PyYAML
|
||||
BuildRequires: python-ply
|
||||
BuildRequires: python-pbr
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python-setuptools
|
||||
Requires: python2
|
||||
Requires: python-xml
|
||||
Requires: python-requests
|
||||
Requires: python2-nocasedict
|
||||
Requires: PyYAML
|
||||
Requires: python2-yamlloader
|
||||
Requires: python-ply
|
||||
|
||||
%description -n python2-%{pkgname}
|
||||
A WBEM client allows issuing operations to a WBEM server, using the CIM
|
||||
operations over HTTP (CIM-XML) protocol defined in the DMTF standards DSP0200
|
||||
and DSP0201. The CIM/WBEM infrastructure is used for a wide variety of systems
|
||||
management tasks supported by systems running WBEM servers. See WBEM Standards
|
||||
for more information about WBEM.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkgname}-%{version}
|
||||
rm -rf ../p2dir
|
||||
cp -a . ../p2dir
|
||||
|
||||
%build
|
||||
|
||||
%if %{with python2}
|
||||
pushd ../p2dir
|
||||
PBR_VERSION="%{version}" CFLAGS="%{build_cflags}" python2 setup.py build
|
||||
popd
|
||||
%endif
|
||||
|
||||
PBR_VERSION="%{version}" CFLAGS="%{build_cflags}" python3 setup.py build
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
%if %{with python2}
|
||||
pushd ../p2dir
|
||||
env PYTHONPATH=%{buildroot}/%{python2_sitelib} \
|
||||
PBR_VERSION="%{version}" \
|
||||
python2 setup.py install -O1 --skip-build --root %{buildroot} --prefix=%{_prefix}
|
||||
rm -rf %{buildroot}/usr/bin/*.bat
|
||||
popd
|
||||
%endif
|
||||
|
||||
env PYTHONPATH=%{buildroot}/%{python3_sitelib} \
|
||||
PBR_VERSION="%{version}" \
|
||||
python3 setup.py install -O1 --skip-build --root %{buildroot} --prefix=%{_prefix}
|
||||
rm -rf %{buildroot}/usr/bin/*.bat
|
||||
|
||||
%files -n python3-%{pkgname}
|
||||
%license LICENSE.txt
|
||||
%{python3_sitelib}/*.egg-info
|
||||
%{python3_sitelib}/pywbem
|
||||
%{python3_sitelib}/pywbem_mock
|
||||
%{_bindir}/mof_compiler
|
||||
%doc README.rst
|
||||
|
||||
%if %{with python2}
|
||||
%files -n python2-%{pkgname}
|
||||
%license LICENSE.txt
|
||||
%{python2_sitelib}/*.egg-info
|
||||
%{python2_sitelib}/pywbem
|
||||
%{python2_sitelib}/pywbem_mock
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> - 1.0.1-2
|
||||
- Initial CBL-Mariner import from Fedora 33 (license: MIT)
|
||||
|
||||
* Mon Aug 10 2020 Gris Ge <fge@redhat.com> - 1.0.1-1
|
||||
- Upgrade to 1.0.1
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.6-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.14.6-3
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Oct 17 2019 Tony Asleson <tasleson@redhat.com> - 0.14.6-1
|
||||
- Upgrade to 0.14.6
|
||||
|
||||
* Mon Sep 23 2019 Gris Ge <fge@redhat.com> - 0.14.4-1
|
||||
- Upgrade to 0.14.4
|
||||
|
||||
* Fri Sep 13 2019 Gris Ge <fge@redhat.com> - 0.14.3-5
|
||||
- Fix pywbemcli ModuleNotFoundError: RHBZ #1743784
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.14.3-4
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Jul 13 2019 Gris Ge <fge@redhat.com> - 0.14.3-2
|
||||
- Fix the conflict with sblim-wbemcli: RHBZ #1724104
|
||||
|
||||
* Sat Jul 13 2019 Gris Ge <fge@redhat.com> - 0.14.3-1
|
||||
- Upgrade to 0.14.3 and removed python2 stuff
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.6-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jan 11 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.6-2
|
||||
- Enable python dependency generator
|
||||
|
||||
* Wed Dec 26 2018 Gris Ge <fge@redhat.com> - 0.12.6-1
|
||||
- Upgrade to 0.12.6
|
||||
|
||||
* Tue Jul 24 2018 Gris Ge <fge@redhat.com> - 0.12.4-1
|
||||
- Upgrade to 0.12.4
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.3-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 0.12.3-5
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Tue Jun 26 2018 Gris Ge <fge@redhat.com> - 0.12.3-4
|
||||
- iAdd missing dependency -- python3-devel
|
||||
|
||||
* Tue Jun 26 2018 Gris Ge <fge@redhat.com> - 0.12.3-3
|
||||
- Rebuild again with --target=f29-python.
|
||||
|
||||
* Thu Jun 21 2018 Gris Ge <fge@redhat.com> - 0.12.3-2
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Tue May 22 2018 Gris Ge <fge@redhat.com> - 0.12.3-1
|
||||
- Upgrade to 0.12.3
|
||||
|
||||
* Fri May 18 2018 Gris Ge <fge@redhat.com> - 0.12.2-3
|
||||
- Fix build failure on F28- where python2 is enabled.
|
||||
Use %license macro.
|
||||
|
||||
* Fri May 18 2018 Gris Ge <fge@redhat.com> - 0.12.2-2
|
||||
- Remove python2 for F29+. Add missing python3-pbr runtime requirement.
|
||||
|
||||
* Fri May 04 2018 Gris Ge <fge@redhat.com> - 0.12.2-1
|
||||
- Upgrade to 0.12.2.
|
||||
|
||||
* Wed Feb 14 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.11.0-6
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jan 04 2018 Lumír Balhar <lbalhar@redhat.com> - 0.11.0-4
|
||||
- Fix directory ownership
|
||||
|
||||
* Thu Oct 19 2017 Gris Ge <fge@redhat.com> - 0.11.0-3
|
||||
- Fedora 25 does not have python2-pip, use python-pip instead.
|
||||
|
||||
* Thu Oct 19 2017 Gris Ge <fge@redhat.com> - 0.11.0-2
|
||||
- Add missing runtime dependency python2-ply and python3-ply
|
||||
|
||||
* Wed Oct 11 2017 Gris Ge <fge@redhat.com> - 0.11.0-1
|
||||
- Upgrade to 0.11.0
|
||||
|
||||
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.10.0-3
|
||||
- Python 2 binary package renamed to python2-pywbem
|
||||
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Thu Feb 23 2017 Gris Ge <fge@redhat.com> - 0.10.0-1
|
||||
- Upgrade to 0.10.0
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Dec 22 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-2
|
||||
- Rebuild for Python 3.6
|
||||
|
||||
* Thu Dec 08 2016 Gris Ge <fge@redhat.com> 0.9.1-1
|
||||
- Upgrade to 0.9.1
|
||||
|
||||
* Wed Oct 19 2016 Gris Ge <fge@redhat.com> 0.9.0-3
|
||||
- Add missing runtime dependency python3-six and python-six
|
||||
|
||||
* Tue Sep 27 2016 Gris Ge <fge@redhat.com> 0.9.0-2
|
||||
- Add missing runtime dependency python3-PyYAML and PyYAML.
|
||||
|
||||
* Wed Sep 14 2016 Gris Ge <fge@redhat.com> - 0.9.0-1
|
||||
- Upgrade to 0.9.0 and add python3 pacakge -- python3-pywbem.
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-30.20131121svn626
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-29.20131121svn626
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-28.20131121svn626
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Jun 30 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 0.7.0-27.svn
|
||||
- Replace python-setuptools-devel BR with python-setuptools
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-26.20131121svn626
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Mon Feb 24 2014 Michal Minar <miminar@redhat.com> 0.7.0-25.20131121svn656
|
||||
- Fixed local authentication under root.
|
||||
|
||||
* Thu Jan 23 2014 Michal Minar <miminar@redhat.com> 0.7.0-24.20131121svn656
|
||||
- Added support for non-ascii strings.
|
||||
|
||||
* Fri Jan 03 2014 Michal Minar <miminar@redhat.com> 0.7.0-23.20131121svn656
|
||||
- Skip hostname check when no verification is desired.
|
||||
|
||||
* Fri Dec 27 2013 Michal Minar <miminar@redhat.com> 0.7.0-22.20131121svn656
|
||||
- Work around M2Crypto's inability to handle unicode strings.
|
||||
|
||||
* Wed Dec 18 2013 Michal Minar <miminar@redhat.com> 0.7.0-21.20131121svn656
|
||||
- Adjusted default certificates paths searched for cert validation.
|
||||
|
||||
* Tue Dec 17 2013 Michal Minar <miminar@redhat.com> 0.7.0-20.20131121svn656
|
||||
- Tweaked the ssl_verify_host patch.
|
||||
|
||||
* Mon Dec 16 2013 Michal Minar <miminar@redhat.com> 0.7.0-18.20131121svn656
|
||||
- Fixes TOCTOU vulnerability in certificate validation.
|
||||
- Resolves: rhbz#1026891
|
||||
|
||||
* Thu Nov 21 2013 Jan Safranek <jsafrane@redhat.com> 0.7.0-17.20131121svn626
|
||||
- Added '-d' option to /usr/bin/mofcomp to just check mof files and their
|
||||
includes.
|
||||
|
||||
* Tue Aug 27 2013 Jan Safranek <jsafrane@redhat.com> 0.7.0-16.20130827svn625
|
||||
- Fixed parsing of IPv6 addresses.
|
||||
|
||||
* Fri Aug 09 2013 Michal Minar <miminar@redhat.com> 0.7.0-15.20130723svn623
|
||||
- Fixed certificate verification issue.
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-14.20130723svn623
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Wed Jul 24 2013 <jsafrane@redhat.com> 0.7.0-13.20130702svn623
|
||||
- Added subpackage with Twisted module to reduce dependencies of the main package.
|
||||
|
||||
* Tue Jul 23 2013 <jsafrane@redhat.com> 0.7.0-12.20130702svn623
|
||||
- Fixed checking of CIMVERSION in CIM-XML.
|
||||
|
||||
* Tue Jul 2 2013 Jan Safranek <jsafrane@redhat.com> 0.7.0-11.20130702svn622
|
||||
- New upstream version.
|
||||
- Method parameters are now case-insensitive.
|
||||
|
||||
* Fri May 24 2013 Tomas Bzatek <tbzatek@redhat.com> 0.7.0-10.20130411svn619
|
||||
- Fix module imports in /usr/bin/mofcomp
|
||||
|
||||
* Thu Apr 11 2013 Jan Safranek <jsafrane@redhat.com> 0.7.0-9.20130411svn619
|
||||
- New upstream version.
|
||||
- Removed debug 'print' statements.
|
||||
|
||||
* Mon Jan 28 2013 Michal Minar <miminar@redhat.com> 0.7.0-8.20130128svn613
|
||||
- New upstream version.
|
||||
- Added post-release snapshot version info.
|
||||
- Removed obsoleted BuildRoot,
|
||||
|
||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.7.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
||||
|
||||
* Fri Jan 01 2010 David Nalley <david@gnsa.us> 0.7.0-3
|
||||
- refined requires for epel compat
|
||||
* Sun Jun 28 2009 David Nalley <david@gnsa.us> 0.7.0-2
|
||||
- Added some verbiage regarding what WBEM is and expanding WBEM and CIM acronyms
|
||||
- Added python-twisted as a dependency
|
||||
* Thu Jun 25 2009 David Nalley <david@gnsa.us> 0.7.0-1
|
||||
- Initial packaging
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"remoto-1.2.0.tar.gz": "86ede243083d498a26b907a33a913c0a0dcd8cef01e941c98548553f1eb6ffa8"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,64 @@
|
|||
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
|
||||
%bcond_without check
|
||||
%define pkgname remoto
|
||||
|
||||
Summary: A very simplistic remote-command-executor
|
||||
Name: python-%{pkgname}
|
||||
Version: 1.2.0
|
||||
Release: 1%{?dist}
|
||||
License: MIT
|
||||
URL: https://github.com/alfredodeza/remoto
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
Source0: https://pypi.io/packages/source/r/%{pkgname}/%{pkgname}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%global _description %{expand:
|
||||
A very simplistic remote-command-executor using connections to hosts (ssh, local, containers, and several others are supported) and Python in the remote end.
|
||||
|
||||
All the heavy lifting is done by execnet, while this minimal API provides the bare minimum to handle easy logging and connections from the remote end.
|
||||
|
||||
remoto is a bit opinionated as it was conceived to replace helpers and remote utilities for ceph-deploy, a tool to run remote commands to configure and setup the distributed file system Ceph. ceph-medic uses remoto as well to inspect Ceph clusters.}
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-%{pkgname}
|
||||
Summary: A very simplistic remote-command-executor
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-xml
|
||||
BuildRequires: python3-setuptools
|
||||
Requires: python3
|
||||
Requires: python3-execnet
|
||||
%if %{with check}
|
||||
BuildRequires: python3-pip
|
||||
%endif
|
||||
|
||||
|
||||
%description -n python3-%{pkgname} %_description
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkgname}-%{version}
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python3 setup.py install --root=%{buildroot}
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
pip3 install tox
|
||||
tox
|
||||
%endif
|
||||
|
||||
%files -n python3-%{pkgname}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> 1.2.0-1
|
||||
- Original CBL-Mariner version
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"repoze-lru-0.7.tar.gz": "0429a75e19380e4ed50c0694e26ac8819b4ea7851ee1fc7583c8572db80aff77"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
|
||||
%bcond_without check
|
||||
%define pkgname repoze-lru
|
||||
%define pypiname repoze.lru
|
||||
|
||||
Summary: A tiny LRU cache implementation and decorator
|
||||
Name: python-%{pkgname}
|
||||
Version: 0.7
|
||||
Release: 1%{?dist}
|
||||
License: BSD
|
||||
URL: https://github.com/repoze/repoze.lru
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
#Source0: https://pypi.io/packages/source/r/%{pypiname}/%{pypiname}-%{version}.tar.gz
|
||||
Source0: %{pkgname}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%global _description %{expand:
|
||||
A tiny LRU cache implementation and decorator.}
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-%{pkgname}
|
||||
Summary: A tiny LRU cache implementation and decorator
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-xml
|
||||
BuildRequires: python3-setuptools
|
||||
Requires: python3
|
||||
%if %{with check}
|
||||
BuildRequires: python3-pip
|
||||
%endif
|
||||
|
||||
|
||||
%description -n python3-%{pkgname} %_description
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pypiname}-%{version}
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python3 setup.py install --root=%{buildroot}
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
pip3 install tox
|
||||
tox
|
||||
%endif
|
||||
|
||||
%files -n python3-%{pkgname}
|
||||
%license LICENSE.txt
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> 2.4.1-1
|
||||
- Original CBL-Mariner version
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"Routes-2.4.1.tar.gz": "26ee43340fca5a32769ffe0c58edcb396ccce6bc1dfa689ddf844d50877355fd"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,65 @@
|
|||
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
|
||||
%bcond_without check
|
||||
%define pkgname routes
|
||||
%define upname Routes
|
||||
|
||||
Summary: Python re-implementation of the Rails routes system
|
||||
Name: python-%{pkgname}
|
||||
Version: 2.4.1
|
||||
Release: 1%{?dist}
|
||||
License: MIT
|
||||
URL: https://routes.readthedocs.io/en/latest/
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
Source0: https://pypi.io/packages/source/R/%{upname}/%{upname}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%global _description %{expand:
|
||||
Routes is a Python re-implementation of the Rails routes system for mapping URL's to Controllers/Actions and generating URL's. Routes makes it easy to create pretty and concise URL's that are RESTful with little effort.
|
||||
|
||||
Speedy and dynamic URL generation means you get a URL with minimal cruft (no big dangling query args). Shortcut features like Named Routes cut down on repetitive typing.}
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-%{pkgname}
|
||||
Summary: Python re-implementation of the Rails routes system
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-xml
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-six
|
||||
BuildRequires: python3-repoze-lru
|
||||
Requires: python3
|
||||
|
||||
%if %{with check}
|
||||
BuildRequires: python3-pip
|
||||
%endif
|
||||
|
||||
|
||||
%description -n python3-%{pkgname} %_description
|
||||
|
||||
%prep
|
||||
%setup -q -n %{upname}-%{version}
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python3 setup.py install --root=%{buildroot}
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
pip3 install tox
|
||||
tox
|
||||
%endif
|
||||
|
||||
%files -n python3-%{pkgname}
|
||||
%license LICENSE.txt
|
||||
%doc README.rst CHANGELOG.rst
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> 2.4.1-1
|
||||
- Original CBL-Mariner version
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"rsa-4.6.tar.gz": "109ea5a66744dd859bf16fe904b8d8b627adafb9408753161e766a92e7d681fa"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,49 @@
|
|||
%{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
%global pkgname rsa
|
||||
|
||||
Summary: Purely Python RSA implementation
|
||||
Name: python-%{pkgname}
|
||||
Version: 4.6
|
||||
Release: 1%{?dist}
|
||||
License: ASL 2.0
|
||||
URL: https://stuvel.eu/software/rsa/
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
Source0: https://pypi.python.org/packages/source/r/%{pkgname}/%{pkgname}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Python-RSA is a pure-Python RSA implementation. It supports encryption and decryption, signing and verifying signatures, and key generation according to PKCS#1 version 1.5.
|
||||
|
||||
%package -n python3-%{pkgname}
|
||||
Summary: Various memoizing collections and decorators
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-xml
|
||||
Requires: python3
|
||||
Requires: python3-pyasn1
|
||||
|
||||
%description -n python3-%{pkgname}
|
||||
Python-RSA is a pure-Python RSA implementation. It supports encryption and decryption, signing and verifying signatures, and key generation according to PKCS#1 version 1.5.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkgname}-%{version}
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python3 setup.py install --skip-build --root=%{buildroot}
|
||||
|
||||
%files -n python3-%{pkgname}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python3_sitelib}/%{pkgname}
|
||||
%{python3_sitelib}/*.egg-info
|
||||
%{_bindir}/*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> - 4.6-1
|
||||
- Original CBL-Mariner version
|
|
@ -4,9 +4,9 @@
|
|||
Summary: Python documentation generator
|
||||
Name: python-sphinx
|
||||
Version: 1.7.9
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
Group: Development/Tools
|
||||
License: BSD-2-Clause
|
||||
License: BSD
|
||||
URL: https://www.sphinx-doc.org
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
|
@ -42,6 +42,7 @@ Requires: python-imagesize
|
|||
Requires: python-requests
|
||||
Requires: python-snowballstemmer
|
||||
Requires: python-typing
|
||||
Requires: python2-sphinxcontrib-websupport
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
|
@ -81,6 +82,7 @@ Requires: python3-sphinx-theme-alabaster
|
|||
Requires: python3-imagesize
|
||||
Requires: python3-requests
|
||||
Requires: python3-snowballstemmer
|
||||
Requires: python3-sphinxcontrib-websupport
|
||||
|
||||
%description -n python3-sphinx
|
||||
|
||||
|
@ -104,6 +106,10 @@ mv %{buildroot}/%{_bindir}/sphinx-quickstart %{buildroot}/%{_bindir}/sphinx-quic
|
|||
mv %{buildroot}/%{_bindir}/sphinx-build %{buildroot}/%{_bindir}/sphinx-build3
|
||||
mv %{buildroot}/%{_bindir}/sphinx-autogen %{buildroot}/%{_bindir}/sphinx-autogen3
|
||||
mv %{buildroot}/%{_bindir}/sphinx-apidoc %{buildroot}/%{_bindir}/sphinx-apidoc3
|
||||
ln -sfv sphinx-quickstart3 %{buildroot}%{_bindir}/sphinx-quickstart-3
|
||||
ln -sfv sphinx-build3 %{buildroot}%{_bindir}/sphinx-build-3
|
||||
ln -sfv sphinx-autogen3 %{buildroot}%{_bindir}/sphinx-autogen-3
|
||||
ln -sfv sphinx-apidoc3 %{buildroot}%{_bindir}/sphinx-apidoc-3
|
||||
popd
|
||||
python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
|
@ -127,9 +133,17 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
|
|||
%{_bindir}/sphinx-build3
|
||||
%{_bindir}/sphinx-autogen3
|
||||
%{_bindir}/sphinx-apidoc3
|
||||
%{_bindir}/sphinx-quickstart-3
|
||||
%{_bindir}/sphinx-build-3
|
||||
%{_bindir}/sphinx-autogen-3
|
||||
%{_bindir}/sphinx-apidoc-3
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> 1.7.9-11
|
||||
- Add sphinx-*-3 binary symlinks for Fedora compatibility
|
||||
- Add Requires: python(2/3)-sphinxcontrib-websupport
|
||||
- Correct license shortname
|
||||
* Tue Jun 02 2020 Jon Slobodzian <joslobo@microsoft.com> 1.7.9-10
|
||||
- Add python-typing back.
|
||||
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> 1.7.9-9
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"sphinxcontrib-websupport-1.1.2.tar.gz": "c47faef4355390160d586bfbd1345052dfd663391014091e2eb13425dcb56ba7"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,96 @@
|
|||
%{!?python2_sitelib: %define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
|
||||
%bcond_without python2
|
||||
%define pkgname sphinxcontrib-websupport
|
||||
|
||||
Summary: Python API to integrate Sphinx into a web application
|
||||
Name: python-%{pkgname}
|
||||
Version: 1.1.2
|
||||
Release: 1%{?dist}
|
||||
License: BSD
|
||||
URL: https://github.com/sphinx-doc/sphinxcontrib-websupport
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
#Source0: https://github.com/sphinx-doc/%{pkgname}/archive/%{version}.tar.gz
|
||||
Source0: %{pkgname}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
%global _description %{expand:
|
||||
The python-sphinxcontrib-websupport package provides a Python API to easily integrate Sphinx documentation into your Web application.}
|
||||
|
||||
%description %_description
|
||||
|
||||
|
||||
%if %{with python2}
|
||||
%package -n python2-%{pkgname}
|
||||
Summary: %{summary}
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-xml
|
||||
Requires: python2
|
||||
%if %{with check}
|
||||
BuildRequires: python-pip
|
||||
%endif
|
||||
|
||||
%description -n python2-%{pkgname} %_description
|
||||
%endif
|
||||
|
||||
%package -n python3-%{pkgname}
|
||||
Summary: %{summary}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-xml
|
||||
Requires: python3
|
||||
%if %{with check}
|
||||
BuildRequires: python3-pip
|
||||
%endif
|
||||
|
||||
%description -n python3-%{pkgname} %_description
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkgname}-%{version} -p 1
|
||||
rm -rf *.egg-info
|
||||
|
||||
|
||||
%build
|
||||
%if %{with python2}
|
||||
python2 setup.py build
|
||||
%endif
|
||||
python3 setup.py build
|
||||
|
||||
|
||||
%install
|
||||
%if %{with python2}
|
||||
python2 setup.py install --skip-build --root=%{buildroot}
|
||||
%endif
|
||||
python3 setup.py install --skip-build --root=%{buildroot}
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
pip3 install tox
|
||||
tox
|
||||
%endif
|
||||
|
||||
%if %{with python2}
|
||||
%files -n python2-%{pkgname}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python2_sitelib}/sphinxcontrib/*
|
||||
%{python2_sitelib}/*.egg-info
|
||||
%{python2_sitelib}/*.pth
|
||||
%endif
|
||||
|
||||
|
||||
%files -n python3-%{pkgname}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/sphinxcontrib/*
|
||||
%{python3_sitelib}/*.egg-info
|
||||
%{python3_sitelib}/*.pth
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> - 0.5.0-1
|
||||
- Original CBL-Mariner version.
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"yamlloader-0.5.4.tar.gz": "9137cc79f58438007ae0ba63581cdba8167eeeed51e451323b64df2e44c02f10"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,89 @@
|
|||
%{!?python2_sitelib: %define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
|
||||
%bcond_without python2
|
||||
%define pkgname yamlloader
|
||||
|
||||
Summary: Loaders and dumpers for PyYAML
|
||||
Name: python-%{pkgname}
|
||||
Version: 0.5.4
|
||||
Release: 1%{?dist}
|
||||
License: MIT
|
||||
URL: https://github.com/Phynix/yamlloader
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
#Source0: https://github.com/Phynix/%{pkgname}/archive/%{version}.tar.gz
|
||||
Source0: %{pkgname}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
This module provides loaders and dumpers for PyYAML.
|
||||
|
||||
|
||||
%if %{with python2}
|
||||
%package -n python2-%{pkgname}
|
||||
Summary: %{summary}
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-xml
|
||||
BuildRequires: PyYAML
|
||||
Requires: python2
|
||||
Requires: PyYAML
|
||||
|
||||
%description -n python2-%{pkgname}
|
||||
This module provides loaders and dumpers for PyYAML.
|
||||
%endif
|
||||
|
||||
|
||||
%package -n python3-%{pkgname}
|
||||
Summary: %{summary}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-xml
|
||||
BuildRequires: python3-PyYAML
|
||||
Requires: python3
|
||||
Requires: python3-PyYAML
|
||||
|
||||
|
||||
%description -n python3-%{pkgname}
|
||||
The NocaseDict class supports the functionality of the built-in dict class of Python 3.8.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkgname}-%{version} -p 1
|
||||
rm -rf *.egg-info
|
||||
|
||||
|
||||
%build
|
||||
%if %{with python2}
|
||||
python2 setup.py build
|
||||
%endif
|
||||
python3 setup.py build
|
||||
|
||||
|
||||
%install
|
||||
%if %{with python2}
|
||||
python2 setup.py install --skip-build --root=%{buildroot}
|
||||
%endif
|
||||
python3 setup.py install --skip-build --root=%{buildroot}
|
||||
|
||||
|
||||
%if %{with python2}
|
||||
%files -n python2-%{pkgname}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python2_sitelib}/%{pkgname}
|
||||
%{python2_sitelib}/*.egg-info
|
||||
%endif
|
||||
|
||||
|
||||
%files -n python3-%{pkgname}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/%{pkgname}
|
||||
%{python3_sitelib}/*.egg-info
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> - 0.5.4-1
|
||||
- Original CBL-Mariner version.
|
|
@ -0,0 +1,33 @@
|
|||
From d9a376151c8a0d30ea814704e844f3aa3359d984 Mon Sep 17 00:00:00 2001
|
||||
From: "Goldman, Adam" <adam.goldman@intel.com>
|
||||
Date: Tue, 4 Feb 2020 08:55:20 -0500
|
||||
Subject: [PATCH] kernel-boot: Do not perform device rename on OPA devices
|
||||
|
||||
PSM2 will not run with recent rdma-core releases. Several tools and
|
||||
libraries like PSM2, require the hfi1 name to be present.
|
||||
|
||||
Recent rdma-core releases added a new feature to rename kernel devices,
|
||||
but the default configuration will not work with hfi1 fabrics.
|
||||
|
||||
Related opa-psm2 github issue:
|
||||
https://github.com/intel/opa-psm2/issues/43
|
||||
|
||||
Fixes: 5b4099d47be3 ("kernel-boot: Perform device rename to make stable names")
|
||||
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
|
||||
Signed-off-by: Goldman, Adam <adam.goldman@intel.com>
|
||||
---
|
||||
kernel-boot/rdma-persistent-naming.rules | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/kernel-boot/rdma-persistent-naming.rules b/kernel-boot/rdma-persistent-naming.rules
|
||||
index 9b61e1630d56..95d6851fb97a 100644
|
||||
--- a/kernel-boot/rdma-persistent-naming.rules
|
||||
+++ b/kernel-boot/rdma-persistent-naming.rules
|
||||
@@ -25,4 +25,4 @@
|
||||
# Device type = RoCE
|
||||
# mlx5_0 -> rocex525400c0fe123455
|
||||
#
|
||||
-ACTION=="add", SUBSYSTEM=="infiniband", PROGRAM="rdma_rename %k NAME_FALLBACK"
|
||||
+ACTION=="add", SUBSYSTEM=="infiniband", KERNEL!="hfi1*", PROGRAM="rdma_rename %k NAME_FALLBACK"
|
||||
--
|
||||
2.24.1
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"rdma-core-31.0.tar.gz": "51ae9a3ab81cd6834436813fafc310c8b7007feae9d09a53fdd5c169e648d50b"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,717 @@
|
|||
%define python3_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib(1))")
|
||||
%{!?__python3: %global __python3 /usr/bin/python3}
|
||||
|
||||
Summary: RDMA core userspace libraries and daemons
|
||||
Name: rdma-core
|
||||
Version: 31.0
|
||||
Release: 2%{?dist}
|
||||
URL: https://github.com/linux-rdma/rdma-core
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
|
||||
# Almost everything is licensed under the OFA dual GPLv2, 2 Clause BSD license
|
||||
# providers/ipathverbs/ Dual licensed using a BSD license with an extra patent clause
|
||||
# providers/rxe/ Incorporates code from ipathverbs and contains the patent clause
|
||||
# providers/hfi1verbs Uses the 3 Clause BSD license
|
||||
License: GPLv2 or BSD
|
||||
Source0: https://github.com/linux-rdma/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||
Patch1: 0001-kernel-boot-Do-not-perform-device-rename-on-OPA-devi.patch
|
||||
|
||||
# Do not build static libs by default.
|
||||
%define with_static %{?_with_static: 1} %{?!_with_static: 0}
|
||||
|
||||
# 32-bit arm is missing required arch-specific memory barriers,
|
||||
ExcludeArch: %{arm}
|
||||
|
||||
BuildRequires: binutils
|
||||
BuildRequires: cmake >= 2.8.11
|
||||
BuildRequires: gcc
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(libnl-3.0)
|
||||
BuildRequires: pkgconfig(libnl-route-3.0)
|
||||
BuildRequires: python3-Cython
|
||||
BuildRequires: python-docutils
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-xml
|
||||
BuildRequires: systemd
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: valgrind
|
||||
Requires: pciutils
|
||||
|
||||
Provides: rdma = %{version}-%{release}
|
||||
|
||||
BuildRequires: ninja-build
|
||||
%define CMAKE_FLAGS -GNinja
|
||||
%define make_jobs ninja-build -C . -v %{?_smp_mflags}
|
||||
%define cmake_install DESTDIR=%{buildroot} ninja-build -C . install
|
||||
|
||||
%description
|
||||
RDMA core userspace infrastructure and documentation, including initialization
|
||||
scripts, kernel driver-specific modprobe override configs, IPoIB network
|
||||
scripts, dracut rules, and the rdma-ndd utility.
|
||||
|
||||
%package devel
|
||||
Summary: RDMA core development libraries and headers
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: libibverbs%{?_isa} = %{version}-%{release}
|
||||
Provides: libibverbs-devel = %{version}-%{release}
|
||||
Obsoletes: libibverbs-devel < %{version}-%{release}
|
||||
Requires: libibumad%{?_isa} = %{version}-%{release}
|
||||
Provides: libibumad-devel = %{version}-%{release}
|
||||
Obsoletes: libibumad-devel < %{version}-%{release}
|
||||
Requires: librdmacm%{?_isa} = %{version}-%{release}
|
||||
Provides: librdmacm-devel = %{version}-%{release}
|
||||
Obsoletes: librdmacm-devel < %{version}-%{release}
|
||||
Requires: ibacm%{?_isa} = %{version}-%{release}
|
||||
Provides: ibacm-devel = %{version}-%{release}
|
||||
Obsoletes: ibacm-devel < %{version}-%{release}
|
||||
Requires: infiniband-diags%{?_isa} = %{version}-%{release}
|
||||
Provides: infiniband-diags-devel = %{version}-%{release}
|
||||
Obsoletes: infiniband-diags-devel < %{version}-%{release}
|
||||
Provides: libibmad-devel = %{version}-%{release}
|
||||
Obsoletes: libibmad-devel < %{version}-%{release}
|
||||
%if %{with_static}
|
||||
# Since our pkg-config files include private references to these packages they
|
||||
# need to have their .pc files installed too, even for dynamic linking, or
|
||||
# pkg-config breaks.
|
||||
BuildRequires: pkgconfig(libnl-3.0)
|
||||
BuildRequires: pkgconfig(libnl-route-3.0)
|
||||
%endif
|
||||
|
||||
%description devel
|
||||
RDMA core development libraries and headers.
|
||||
|
||||
%package -n infiniband-diags
|
||||
Summary: InfiniBand Diagnostic Tools
|
||||
Requires: libibumad%{?_isa} = %{version}-%{release}
|
||||
Provides: perl(IBswcountlimits)
|
||||
Provides: libibmad = %{version}-%{release}
|
||||
Obsoletes: libibmad < %{version}-%{release}
|
||||
|
||||
%description -n infiniband-diags
|
||||
This package provides IB diagnostic programs and scripts needed to diagnose an
|
||||
IB subnet. infiniband-diags now also provides libibmad. libibmad provides
|
||||
low layer IB functions for use by the IB diagnostic and management
|
||||
programs. These include MAD, SA, SMP, and other basic IB functions.
|
||||
|
||||
%package -n infiniband-diags-compat
|
||||
Summary: OpenFabrics Alliance InfiniBand Diagnostic Tools
|
||||
|
||||
%description -n infiniband-diags-compat
|
||||
Deprecated scripts and utilities which provide duplicated functionality, most
|
||||
often at a reduced performance. These are maintained for the time being for
|
||||
compatibility reasons.
|
||||
|
||||
%package -n libibverbs
|
||||
Summary: A library and drivers for direct userspace use of RDMA (InfiniBand/iWARP/RoCE) hardware
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Provides: libcxgb4 = %{version}-%{release}
|
||||
Obsoletes: libcxgb4 < %{version}-%{release}
|
||||
Provides: libefa = %{version}-%{release}
|
||||
Obsoletes: libefa < %{version}-%{release}
|
||||
Provides: libhfi1 = %{version}-%{release}
|
||||
Obsoletes: libhfi1 < %{version}-%{release}
|
||||
Provides: libi40iw = %{version}-%{release}
|
||||
Obsoletes: libi40iw < %{version}-%{release}
|
||||
Provides: libipathverbs = %{version}-%{release}
|
||||
Obsoletes: libipathverbs < %{version}-%{release}
|
||||
Provides: libmlx4 = %{version}-%{release}
|
||||
Obsoletes: libmlx4 < %{version}-%{release}
|
||||
Provides: libmlx5 = %{version}-%{release}
|
||||
Obsoletes: libmlx5 < %{version}-%{release}
|
||||
Provides: libmthca = %{version}-%{release}
|
||||
Obsoletes: libmthca < %{version}-%{release}
|
||||
Provides: libocrdma = %{version}-%{release}
|
||||
Obsoletes: libocrdma < %{version}-%{release}
|
||||
Provides: librxe = %{version}-%{release}
|
||||
Obsoletes: librxe < %{version}-%{release}
|
||||
|
||||
%description -n libibverbs
|
||||
libibverbs is a library that allows userspace processes to use RDMA
|
||||
"verbs" as described in the InfiniBand Architecture Specification and
|
||||
the RDMA Protocol Verbs Specification. This includes direct hardware
|
||||
access from userspace to InfiniBand/iWARP adapters (kernel bypass) for
|
||||
fast path operations.
|
||||
|
||||
Device-specific plug-in ibverbs userspace drivers are included:
|
||||
|
||||
- libcxgb4: Chelsio T4 iWARP HCA
|
||||
- libefa: Amazon Elastic Fabric Adapter
|
||||
- libhfi1: Intel Omni-Path HFI
|
||||
- libhns: HiSilicon Hip06 SoC
|
||||
- libi40iw: Intel Ethernet Connection X722 RDMA
|
||||
- libipathverbs: QLogic InfiniPath HCA
|
||||
- libmlx4: Mellanox ConnectX-3 InfiniBand HCA
|
||||
- libmlx5: Mellanox Connect-IB/X-4+ InfiniBand HCA
|
||||
- libmthca: Mellanox InfiniBand HCA
|
||||
- libocrdma: Emulex OneConnect RDMA/RoCE Device
|
||||
- libqedr: QLogic QL4xxx RoCE HCA
|
||||
- librxe: A software implementation of the RoCE protocol
|
||||
- libsiw: A software implementation of the iWarp protocol
|
||||
- libvmw_pvrdma: VMware paravirtual RDMA device
|
||||
|
||||
%package -n libibverbs-utils
|
||||
Summary: Examples for the libibverbs library
|
||||
Requires: libibverbs%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n libibverbs-utils
|
||||
Useful libibverbs example programs such as ibv_devinfo, which
|
||||
displays information about RDMA devices.
|
||||
|
||||
%package -n ibacm
|
||||
Summary: InfiniBand Communication Manager Assistant
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n ibacm
|
||||
The ibacm daemon helps reduce the load of managing path record lookups on
|
||||
large InfiniBand fabrics by providing a user space implementation of what
|
||||
is functionally similar to an ARP cache. The use of ibacm, when properly
|
||||
configured, can reduce the SA packet load of a large IB cluster from O(n^2)
|
||||
to O(n). The ibacm daemon is started and normally runs in the background,
|
||||
user applications need not know about this daemon as long as their app
|
||||
uses librdmacm to handle connection bring up/tear down. The librdmacm
|
||||
library knows how to talk directly to the ibacm daemon to retrieve data.
|
||||
|
||||
%package -n iwpmd
|
||||
Summary: iWarp Port Mapper userspace daemon
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n iwpmd
|
||||
iwpmd provides a userspace service for iWarp drivers to claim
|
||||
tcp ports through the standard socket interface.
|
||||
|
||||
%package -n libibumad
|
||||
Summary: OpenFabrics Alliance InfiniBand umad (userspace management datagram) library
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n libibumad
|
||||
libibumad provides the userspace management datagram (umad) library
|
||||
functions, which sit on top of the umad modules in the kernel. These
|
||||
are used by the IB diagnostic and management tools, including OpenSM.
|
||||
|
||||
%package -n librdmacm
|
||||
Summary: Userspace RDMA Connection Manager
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n librdmacm
|
||||
librdmacm provides a userspace RDMA Communication Management API.
|
||||
|
||||
%package -n librdmacm-utils
|
||||
Summary: Examples for the librdmacm library
|
||||
Requires: librdmacm%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n librdmacm-utils
|
||||
Example test programs for the librdmacm library.
|
||||
|
||||
%package -n srp_daemon
|
||||
Summary: Tools for using the InfiniBand SRP protocol devices
|
||||
Obsoletes: srptools <= 1.0.3
|
||||
Provides: srptools = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n srp_daemon
|
||||
In conjunction with the kernel ib_srp driver, srp_daemon allows you to
|
||||
discover and use SCSI devices via the SCSI RDMA Protocol over InfiniBand.
|
||||
|
||||
%package -n python3-pyverbs
|
||||
Summary: Python3 API over IB verbs
|
||||
%{?python_provide:%python_provide python3-pyverbs}
|
||||
|
||||
%description -n python3-pyverbs
|
||||
Pyverbs is a Cython-based Python API over libibverbs, providing an
|
||||
easy, object-oriented access to IB verbs.
|
||||
|
||||
%prep
|
||||
%autosetup -v -p1
|
||||
|
||||
%build
|
||||
# This package uses top level ASM constructs which are incompatible with LTO.
|
||||
# Top level ASMs are often used to implement symbol versioning. gcc-10
|
||||
# introduces a new mechanism for symbol versioning which works with LTO.
|
||||
# Converting packages to use that mechanism instead of toplevel ASMs is
|
||||
# recommended.
|
||||
# Disable LTO
|
||||
%define _lto_cflags %{nil}
|
||||
|
||||
# New RPM defines _rundir, usually as /run
|
||||
%if 0%{?_rundir:1}
|
||||
%else
|
||||
%define _rundir /var/run
|
||||
%endif
|
||||
|
||||
%{!?EXTRA_CMAKE_FLAGS: %define EXTRA_CMAKE_FLAGS %{nil}}
|
||||
|
||||
# Pass all of the rpm paths directly to GNUInstallDirs and our other defines.
|
||||
%cmake %{CMAKE_FLAGS} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_BINDIR:PATH=%{_bindir} \
|
||||
-DCMAKE_INSTALL_SBINDIR:PATH=%{_sbindir} \
|
||||
-DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \
|
||||
-DCMAKE_INSTALL_LIBEXECDIR:PATH=%{_libexecdir} \
|
||||
-DCMAKE_INSTALL_LOCALSTATEDIR:PATH=%{_localstatedir} \
|
||||
-DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=%{_sharedstatedir} \
|
||||
-DCMAKE_INSTALL_INCLUDEDIR:PATH=%{_includedir} \
|
||||
-DCMAKE_INSTALL_INFODIR:PATH=%{_infodir} \
|
||||
-DCMAKE_INSTALL_MANDIR:PATH=%{_mandir} \
|
||||
-DCMAKE_INSTALL_SYSCONFDIR:PATH=%{_sysconfdir} \
|
||||
-DCMAKE_INSTALL_SYSTEMD_SERVICEDIR:PATH=%{_unitdir} \
|
||||
-DCMAKE_INSTALL_INITDDIR:PATH=%{_initrddir} \
|
||||
-DCMAKE_INSTALL_RUNDIR:PATH=%{_rundir} \
|
||||
-DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name} \
|
||||
-DCMAKE_INSTALL_UDEV_RULESDIR:PATH=%{_udevrulesdir} \
|
||||
-DCMAKE_INSTALL_PERLDIR:PATH=%{perl_vendorlib} \
|
||||
-DENABLE_IBDIAGS_COMPAT:BOOL=True \
|
||||
%if %{with_static}
|
||||
-DENABLE_STATIC=1 \
|
||||
%endif
|
||||
%{EXTRA_CMAKE_FLAGS} \
|
||||
-DPYTHON_EXECUTABLE:PATH=%{__python3} \
|
||||
-DCMAKE_INSTALL_PYTHON_ARCH_LIB:PATH=%{python3_sitearch} \
|
||||
-DNO_PYVERBS=0
|
||||
%make_jobs
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
mkdir -p %{buildroot}/%{_sysconfdir}/rdma
|
||||
|
||||
# Red Hat specific glue
|
||||
%global dracutlibdir %{_prefix}/lib/dracut
|
||||
%global sysmodprobedir %{_prefix}/lib/modprobe.d
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/udev/rules.d
|
||||
mkdir -p %{buildroot}%{_libexecdir}
|
||||
mkdir -p %{buildroot}%{_udevrulesdir}
|
||||
mkdir -p %{buildroot}%{dracutlibdir}/modules.d/05rdma
|
||||
mkdir -p %{buildroot}%{sysmodprobedir}
|
||||
install -D -m0644 redhat/rdma.conf %{buildroot}/%{_sysconfdir}/rdma/rdma.conf
|
||||
install -D -m0644 redhat/rdma.sriov-vfs %{buildroot}/%{_sysconfdir}/rdma/sriov-vfs
|
||||
install -D -m0644 redhat/rdma.mlx4.conf %{buildroot}/%{_sysconfdir}/rdma/mlx4.conf
|
||||
install -D -m0644 redhat/rdma.service %{buildroot}%{_unitdir}/rdma.service
|
||||
install -D -m0755 redhat/rdma.modules-setup.sh %{buildroot}%{dracutlibdir}/modules.d/05rdma/module-setup.sh
|
||||
install -D -m0644 redhat/rdma.udev-rules %{buildroot}%{_udevrulesdir}/98-rdma.rules
|
||||
install -D -m0644 redhat/rdma.mlx4.sys.modprobe %{buildroot}%{sysmodprobedir}/libmlx4.conf
|
||||
install -D -m0755 redhat/rdma.kernel-init %{buildroot}%{_libexecdir}/rdma-init-kernel
|
||||
install -D -m0755 redhat/rdma.sriov-init %{buildroot}%{_libexecdir}/rdma-set-sriov-vf
|
||||
install -D -m0755 redhat/rdma.mlx4-setup.sh %{buildroot}%{_libexecdir}/mlx4-setup.sh
|
||||
|
||||
# ibacm
|
||||
bin/ib_acme -D . -O
|
||||
install -D -m0644 ibacm_opts.cfg %{buildroot}%{_sysconfdir}/rdma/
|
||||
|
||||
# Delete the package's init.d scripts
|
||||
rm -rf %{buildroot}/%{_initrddir}/
|
||||
rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh
|
||||
|
||||
%post -n libibverbs -p /sbin/ldconfig
|
||||
%postun -n libibverbs -p /sbin/ldconfig
|
||||
|
||||
%post -n libibumad -p /sbin/ldconfig
|
||||
%postun -n libibumad -p /sbin/ldconfig
|
||||
|
||||
%post -n librdmacm -p /sbin/ldconfig
|
||||
%postun -n librdmacm -p /sbin/ldconfig
|
||||
|
||||
%post -n rdma-core
|
||||
if [ -x /sbin/udevadm ]; then
|
||||
/sbin/udevadm trigger --subsystem-match=infiniband --action=change || true
|
||||
/sbin/udevadm trigger --subsystem-match=net --action=change || true
|
||||
/sbin/udevadm trigger --subsystem-match=infiniband_mad --action=change || true
|
||||
fi
|
||||
|
||||
%post -n ibacm
|
||||
%systemd_post ibacm.service
|
||||
%preun -n ibacm
|
||||
%systemd_preun ibacm.service
|
||||
%postun -n ibacm
|
||||
%systemd_postun_with_restart ibacm.service
|
||||
|
||||
%post -n srp_daemon
|
||||
%systemd_post srp_daemon.service
|
||||
%preun -n srp_daemon
|
||||
%systemd_preun srp_daemon.service
|
||||
%postun -n srp_daemon
|
||||
%systemd_postun_with_restart srp_daemon.service
|
||||
|
||||
%post -n iwpmd
|
||||
%systemd_post iwpmd.service
|
||||
%preun -n iwpmd
|
||||
%systemd_preun iwpmd.service
|
||||
%postun -n iwpmd
|
||||
%systemd_postun_with_restart iwpmd.service
|
||||
|
||||
%files
|
||||
%license COPYING.BSD_FB COPYING.BSD_MIT COPYING.GPL2 COPYING.md
|
||||
%dir %{_sysconfdir}/rdma
|
||||
%dir %{_docdir}/%{name}
|
||||
%doc %{_docdir}/%{name}/README.md
|
||||
%doc %{_docdir}/%{name}/rxe.md
|
||||
%doc %{_docdir}/%{name}/udev.md
|
||||
%doc %{_docdir}/%{name}/tag_matching.md
|
||||
%config(noreplace) %{_sysconfdir}/rdma/mlx4.conf
|
||||
%config(noreplace) %{_sysconfdir}/rdma/modules/infiniband.conf
|
||||
%config(noreplace) %{_sysconfdir}/rdma/modules/iwarp.conf
|
||||
%config(noreplace) %{_sysconfdir}/rdma/modules/opa.conf
|
||||
%config(noreplace) %{_sysconfdir}/rdma/modules/rdma.conf
|
||||
%config(noreplace) %{_sysconfdir}/rdma/modules/roce.conf
|
||||
%config(noreplace) %{_sysconfdir}/rdma/rdma.conf
|
||||
%config(noreplace) %{_sysconfdir}/rdma/sriov-vfs
|
||||
%config(noreplace) %{_sysconfdir}/udev/rules.d/*
|
||||
%dir %{_sysconfdir}/modprobe.d
|
||||
%config(noreplace) %{_sysconfdir}/modprobe.d/mlx4.conf
|
||||
%config(noreplace) %{_sysconfdir}/modprobe.d/truescale.conf
|
||||
%{_unitdir}/rdma-hw.target
|
||||
%{_unitdir}/rdma-load-modules@.service
|
||||
%{_unitdir}/rdma.service
|
||||
%dir %{dracutlibdir}
|
||||
%dir %{dracutlibdir}/modules.d
|
||||
%dir %{dracutlibdir}/modules.d/05rdma
|
||||
%{dracutlibdir}/modules.d/05rdma/module-setup.sh
|
||||
%dir %{_udevrulesdir}
|
||||
%{_udevrulesdir}/../rdma_rename
|
||||
%{_udevrulesdir}/60-rdma-ndd.rules
|
||||
%{_udevrulesdir}/60-rdma-persistent-naming.rules
|
||||
%{_udevrulesdir}/75-rdma-description.rules
|
||||
%{_udevrulesdir}/90-rdma-hw-modules.rules
|
||||
%{_udevrulesdir}/90-rdma-ulp-modules.rules
|
||||
%{_udevrulesdir}/90-rdma-umad.rules
|
||||
%{_udevrulesdir}/98-rdma.rules
|
||||
%dir %{sysmodprobedir}
|
||||
%{sysmodprobedir}/libmlx4.conf
|
||||
%{_libexecdir}/rdma-init-kernel
|
||||
%{_libexecdir}/rdma-set-sriov-vf
|
||||
%{_libexecdir}/mlx4-setup.sh
|
||||
%{_libexecdir}/truescale-serdes.cmds
|
||||
%{_sbindir}/rdma-ndd
|
||||
%{_unitdir}/rdma-ndd.service
|
||||
%{_mandir}/man7/rxe*
|
||||
%{_mandir}/man8/rdma-ndd.*
|
||||
|
||||
%files devel
|
||||
%doc %{_docdir}/%{name}/MAINTAINERS
|
||||
%dir %{_includedir}/infiniband
|
||||
%dir %{_includedir}/rdma
|
||||
%{_includedir}/infiniband/*
|
||||
%{_includedir}/rdma/*
|
||||
%if %{with_static}
|
||||
%{_libdir}/lib*.a
|
||||
%endif
|
||||
%{_libdir}/lib*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_mandir}/man3/efadv*
|
||||
%{_mandir}/man3/ibv_*
|
||||
%{_mandir}/man3/rdma*
|
||||
%{_mandir}/man3/umad*
|
||||
%{_mandir}/man3/*_to_ibv_rate.*
|
||||
%{_mandir}/man7/rdma_cm.*
|
||||
%{_mandir}/man3/mlx5dv*
|
||||
%{_mandir}/man3/mlx4dv*
|
||||
%{_mandir}/man7/efadv*
|
||||
%{_mandir}/man7/mlx5dv*
|
||||
%{_mandir}/man7/mlx4dv*
|
||||
%{_mandir}/man3/ibnd_*
|
||||
|
||||
%files -n infiniband-diags-compat
|
||||
%{_sbindir}/ibcheckerrs
|
||||
%{_mandir}/man8/ibcheckerrs*
|
||||
%{_sbindir}/ibchecknet
|
||||
%{_mandir}/man8/ibchecknet*
|
||||
%{_sbindir}/ibchecknode
|
||||
%{_mandir}/man8/ibchecknode*
|
||||
%{_sbindir}/ibcheckport
|
||||
%{_mandir}/man8/ibcheckport.*
|
||||
%{_sbindir}/ibcheckportwidth
|
||||
%{_mandir}/man8/ibcheckportwidth*
|
||||
%{_sbindir}/ibcheckportstate
|
||||
%{_mandir}/man8/ibcheckportstate*
|
||||
%{_sbindir}/ibcheckwidth
|
||||
%{_mandir}/man8/ibcheckwidth*
|
||||
%{_sbindir}/ibcheckstate
|
||||
%{_mandir}/man8/ibcheckstate*
|
||||
%{_sbindir}/ibcheckerrors
|
||||
%{_mandir}/man8/ibcheckerrors*
|
||||
%{_sbindir}/ibdatacounts
|
||||
%{_mandir}/man8/ibdatacounts*
|
||||
%{_sbindir}/ibdatacounters
|
||||
%{_mandir}/man8/ibdatacounters*
|
||||
%{_sbindir}/ibdiscover.pl
|
||||
%{_mandir}/man8/ibdiscover*
|
||||
%{_sbindir}/ibswportwatch.pl
|
||||
%{_mandir}/man8/ibswportwatch*
|
||||
%{_sbindir}/ibqueryerrors.pl
|
||||
%{_sbindir}/iblinkinfo.pl
|
||||
%{_sbindir}/ibprintca.pl
|
||||
%{_mandir}/man8/ibprintca*
|
||||
%{_sbindir}/ibprintswitch.pl
|
||||
%{_mandir}/man8/ibprintswitch*
|
||||
%{_sbindir}/ibprintrt.pl
|
||||
%{_mandir}/man8/ibprintrt*
|
||||
%{_sbindir}/set_nodedesc.sh
|
||||
|
||||
%files -n infiniband-diags
|
||||
%{_sbindir}/ibaddr
|
||||
%{_mandir}/man8/ibaddr*
|
||||
%{_sbindir}/ibnetdiscover
|
||||
%{_mandir}/man8/ibnetdiscover*
|
||||
%{_sbindir}/ibping
|
||||
%{_mandir}/man8/ibping*
|
||||
%{_sbindir}/ibportstate
|
||||
%{_mandir}/man8/ibportstate*
|
||||
%{_sbindir}/ibroute
|
||||
%{_mandir}/man8/ibroute.*
|
||||
%{_sbindir}/ibstat
|
||||
%{_mandir}/man8/ibstat.*
|
||||
%{_sbindir}/ibsysstat
|
||||
%{_mandir}/man8/ibsysstat*
|
||||
%{_sbindir}/ibtracert
|
||||
%{_mandir}/man8/ibtracert*
|
||||
%{_sbindir}/perfquery
|
||||
%{_mandir}/man8/perfquery*
|
||||
%{_sbindir}/sminfo
|
||||
%{_mandir}/man8/sminfo*
|
||||
%{_sbindir}/smpdump
|
||||
%{_mandir}/man8/smpdump*
|
||||
%{_sbindir}/smpquery
|
||||
%{_mandir}/man8/smpquery*
|
||||
%{_sbindir}/saquery
|
||||
%{_mandir}/man8/saquery*
|
||||
%{_sbindir}/vendstat
|
||||
%{_mandir}/man8/vendstat*
|
||||
%{_sbindir}/iblinkinfo
|
||||
%{_mandir}/man8/iblinkinfo*
|
||||
%{_sbindir}/ibqueryerrors
|
||||
%{_mandir}/man8/ibqueryerrors*
|
||||
%{_sbindir}/ibcacheedit
|
||||
%{_mandir}/man8/ibcacheedit*
|
||||
%{_sbindir}/ibccquery
|
||||
%{_mandir}/man8/ibccquery*
|
||||
%{_sbindir}/ibccconfig
|
||||
%{_mandir}/man8/ibccconfig*
|
||||
%{_sbindir}/dump_fts
|
||||
%{_mandir}/man8/dump_fts*
|
||||
%{_sbindir}/ibhosts
|
||||
%{_mandir}/man8/ibhosts*
|
||||
%{_sbindir}/ibswitches
|
||||
%{_mandir}/man8/ibswitches*
|
||||
%{_sbindir}/ibnodes
|
||||
%{_mandir}/man8/ibnodes*
|
||||
%{_sbindir}/ibrouters
|
||||
%{_mandir}/man8/ibrouters*
|
||||
%{_sbindir}/ibfindnodesusing.pl
|
||||
%{_mandir}/man8/ibfindnodesusing*
|
||||
%{_sbindir}/ibidsverify.pl
|
||||
%{_mandir}/man8/ibidsverify*
|
||||
%{_sbindir}/check_lft_balance.pl
|
||||
%{_mandir}/man8/check_lft_balance*
|
||||
%{_sbindir}/dump_lfts.sh
|
||||
%{_mandir}/man8/dump_lfts*
|
||||
%{_sbindir}/dump_mfts.sh
|
||||
%{_mandir}/man8/dump_mfts*
|
||||
%{_sbindir}/ibclearerrors
|
||||
%{_mandir}/man8/ibclearerrors*
|
||||
%{_sbindir}/ibclearcounters
|
||||
%{_mandir}/man8/ibclearcounters*
|
||||
%{_sbindir}/ibstatus
|
||||
%{_mandir}/man8/ibstatus*
|
||||
%{_mandir}/man8/infiniband-diags*
|
||||
%{_libdir}/libibmad*.so.*
|
||||
%{_libdir}/libibnetdisc*.so.*
|
||||
%{perl_vendorlib}/IBswcountlimits.pm
|
||||
%config(noreplace) %{_sysconfdir}/infiniband-diags/error_thresholds
|
||||
%config(noreplace) %{_sysconfdir}/infiniband-diags/ibdiag.conf
|
||||
|
||||
%files -n libibverbs
|
||||
%dir %{_sysconfdir}/libibverbs.d
|
||||
%dir %{_libdir}/libibverbs
|
||||
%{_libdir}/libefa.so.*
|
||||
%{_libdir}/libibverbs*.so.*
|
||||
%{_libdir}/libibverbs/*.so
|
||||
%{_libdir}/libmlx5.so.*
|
||||
%{_libdir}/libmlx4.so.*
|
||||
%config(noreplace) %{_sysconfdir}/libibverbs.d/*.driver
|
||||
%doc %{_docdir}/%{name}/libibverbs.md
|
||||
|
||||
%files -n libibverbs-utils
|
||||
%{_bindir}/ibv_*
|
||||
%{_mandir}/man1/ibv_*
|
||||
|
||||
%files -n ibacm
|
||||
%config(noreplace) %{_sysconfdir}/rdma/ibacm_opts.cfg
|
||||
%{_bindir}/ib_acme
|
||||
%{_sbindir}/ibacm
|
||||
%{_mandir}/man1/ib_acme.*
|
||||
%{_mandir}/man7/ibacm.*
|
||||
%{_mandir}/man7/ibacm_prov.*
|
||||
%{_mandir}/man8/ibacm.*
|
||||
%{_unitdir}/ibacm.service
|
||||
%{_unitdir}/ibacm.socket
|
||||
%dir %{_libdir}/ibacm
|
||||
%{_libdir}/ibacm/*
|
||||
%doc %{_docdir}/%{name}/ibacm.md
|
||||
|
||||
%files -n iwpmd
|
||||
%{_sbindir}/iwpmd
|
||||
%{_unitdir}/iwpmd.service
|
||||
%config(noreplace) %{_sysconfdir}/rdma/modules/iwpmd.conf
|
||||
%config(noreplace) %{_sysconfdir}/iwpmd.conf
|
||||
%{_udevrulesdir}/90-iwpmd.rules
|
||||
%{_mandir}/man8/iwpmd.*
|
||||
%{_mandir}/man5/iwpmd.*
|
||||
|
||||
%files -n libibumad
|
||||
%{_libdir}/libibumad*.so.*
|
||||
|
||||
%files -n librdmacm
|
||||
%{_libdir}/librdmacm*.so.*
|
||||
%dir %{_libdir}/rsocket
|
||||
%{_libdir}/rsocket/*.so*
|
||||
%doc %{_docdir}/%{name}/librdmacm.md
|
||||
%{_mandir}/man7/rsocket.*
|
||||
|
||||
%files -n librdmacm-utils
|
||||
%{_bindir}/cmtime
|
||||
%{_bindir}/mckey
|
||||
%{_bindir}/rcopy
|
||||
%{_bindir}/rdma_client
|
||||
%{_bindir}/rdma_server
|
||||
%{_bindir}/rdma_xclient
|
||||
%{_bindir}/rdma_xserver
|
||||
%{_bindir}/riostream
|
||||
%{_bindir}/rping
|
||||
%{_bindir}/rstream
|
||||
%{_bindir}/ucmatose
|
||||
%{_bindir}/udaddy
|
||||
%{_bindir}/udpong
|
||||
%{_mandir}/man1/cmtime.*
|
||||
%{_mandir}/man1/mckey.*
|
||||
%{_mandir}/man1/rcopy.*
|
||||
%{_mandir}/man1/rdma_client.*
|
||||
%{_mandir}/man1/rdma_server.*
|
||||
%{_mandir}/man1/rdma_xclient.*
|
||||
%{_mandir}/man1/rdma_xserver.*
|
||||
%{_mandir}/man1/riostream.*
|
||||
%{_mandir}/man1/rping.*
|
||||
%{_mandir}/man1/rstream.*
|
||||
%{_mandir}/man1/ucmatose.*
|
||||
%{_mandir}/man1/udaddy.*
|
||||
%{_mandir}/man1/udpong.*
|
||||
|
||||
%files -n srp_daemon
|
||||
%config(noreplace) %{_sysconfdir}/srp_daemon.conf
|
||||
%config(noreplace) %{_sysconfdir}/rdma/modules/srp_daemon.conf
|
||||
%{_libexecdir}/srp_daemon/start_on_all_ports
|
||||
%{_unitdir}/srp_daemon.service
|
||||
%{_unitdir}/srp_daemon_port@.service
|
||||
%{_sbindir}/ibsrpdm
|
||||
%{_sbindir}/srp_daemon
|
||||
%{_sbindir}/run_srp_daemon
|
||||
%{_udevrulesdir}/60-srp_daemon.rules
|
||||
%{_mandir}/man5/srp_daemon.service.5*
|
||||
%{_mandir}/man5/srp_daemon_port@.service.5*
|
||||
%{_mandir}/man8/ibsrpdm.8*
|
||||
%{_mandir}/man8/srp_daemon.8*
|
||||
%doc %{_docdir}/%{name}/ibsrpdm.md
|
||||
|
||||
%files -n python3-pyverbs
|
||||
%{python3_sitearch}/pyverbs
|
||||
%{_docdir}/%{name}/tests/*.py
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> - 31.0-2
|
||||
- Initial CBL-Mariner import from Fedora 33 (license: MIT)
|
||||
|
||||
* Wed Aug 19 2020 Honggang Li <honli@redhat.com> - 31.0-1
|
||||
- Rebase to upstream release v31.0
|
||||
|
||||
* Thu Jul 30 2020 Honggang Li <honli@redhat.com> - 30.0-6
|
||||
- Update cmake options
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 30.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Thu Jul 02 2020 Stephen Gallagher <sgallagh@redhat.com> - 30.0-4
|
||||
- Don't throw script errors if udev is not installed
|
||||
|
||||
* Wed Jul 1 2020 Jeff Law <law@redhat.com> - 30.0-3
|
||||
- Disable LTO
|
||||
|
||||
* Thu Jun 25 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 30.0-2
|
||||
- Drop dependencies on systemd (#1837812)
|
||||
|
||||
* Mon Jun 15 2020 Honggang Li <honli@redhat.com> - 30.0-1
|
||||
- Rebase to upstream release v30.0
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 29.0-2
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Mon Apr 13 2020 Honggang Li <honli@redhat.com> - 29.0-1
|
||||
- Rebase to upstream release v29.0
|
||||
|
||||
* Wed Feb 12 2020 Honggang Li <honli@redhat.com> - 28.0-1
|
||||
- Rebase to upstream release v28.0
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 27.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2020 Orion Poplawski <orion@nwra.com> - 27.0-3
|
||||
- Fix typo in requires
|
||||
|
||||
* Sun Jan 19 2020 Honggang Li <honli@redhat.com> - 27.0-2
|
||||
- Backport some spec improvement from upstream
|
||||
|
||||
* Thu Dec 12 2019 Honggang Li <honli@redhat.com> - 27.0-1
|
||||
- Rebase to upstream release v27.0
|
||||
|
||||
* Thu Nov 28 2019 Honggang Li <honli@redhat.com> - 26.1-1
|
||||
- Rebase to upstream release v26.1
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Wed Jan 23 2019 Björn Esser <besser82@fedoraproject.org> - 20.1-2
|
||||
- Append curdir to CMake invokation. (#1668512)
|
||||
|
||||
* Fri Oct 19 2018 Jarod Wilson <jarod@redhat.com> - 20.1-1
|
||||
- Long overdue update to upstream v20.1 stable release
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 16.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Sun Mar 18 2018 Iryna Shcherbina <ishcherb@redhat.com> - 16.2-4
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Tue Feb 06 2018 Orion Poplawski <orion@nwra.com> - 16.2-3
|
||||
- Build for s390/x
|
||||
|
||||
* Tue Feb 06 2018 Patrick Uiterwijk <patrick@puiterwijk.org> - 16.2-2
|
||||
- Fix escaped macro
|
||||
|
||||
* Sun Feb 04 2018 Doug Ledford <dledford@redhat.com> - 16.2-1
|
||||
- Update to rdma-core-16.2
|
||||
- Drop the old sysv initscript files
|
||||
|
||||
* Wed Aug 09 2017 Jarod Wilson <jarod@redhat.com> - 14-4
|
||||
- Make use of systemd_requires, own srp_daemon dir
|
||||
|
||||
* Tue Aug 01 2017 Jarod Wilson <jarod@redhat.com> - 14-3
|
||||
- Revert work-around for ppc64le library issues
|
||||
- Add Obsoletes/Provides for libusnic_verbs
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 14-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Tue Jul 25 2017 Jarod Wilson <jarod@redhat.com> - 14-1
|
||||
- Update to upstream v14 release
|
||||
- Sync packaging updates from RHEL and upstream
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 12-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Fri Jan 27 2017 Jarod Wilson <jarod@redhat.com> - 12-1
|
||||
- Update to upstream final v12 release
|
||||
|
||||
* Wed Jan 25 2017 Jarod Wilson <jarod@redhat.com> - 12-0.1.rc3.1
|
||||
- Initial import to Fedora package database via post-v12-rc3 git snapshot
|
|
@ -0,0 +1,402 @@
|
|||
<!-- DTD for XML Schemas: Part 1: Structures
|
||||
Public Identifier: "-//W3C//DTD XMLSCHEMA 200102//EN"
|
||||
Official Location: http://www.w3.org/2001/XMLSchema.dtd -->
|
||||
<!-- $Id: XMLSchema.dtd,v 1.31 2001/10/24 15:50:16 ht Exp $ -->
|
||||
<!-- Note this DTD is NOT normative, or even definitive. --> <!--d-->
|
||||
<!-- prose copy in the structures REC is the definitive version --> <!--d-->
|
||||
<!-- (which shouldn't differ from this one except for this --> <!--d-->
|
||||
<!-- comment and entity expansions, but just in case) --> <!--d-->
|
||||
<!-- With the exception of cases with multiple namespace
|
||||
prefixes for the XML Schema namespace, any XML document which is
|
||||
not valid per this DTD given redefinitions in its internal subset of the
|
||||
'p' and 's' parameter entities below appropriate to its namespace
|
||||
declaration of the XML Schema namespace is almost certainly not
|
||||
a valid schema. -->
|
||||
|
||||
<!-- The simpleType element and its constituent parts
|
||||
are defined in XML Schema: Part 2: Datatypes -->
|
||||
<!ENTITY % xs-datatypes PUBLIC 'datatypes' 'datatypes.dtd' >
|
||||
|
||||
<!ENTITY % p 'xs:'> <!-- can be overriden in the internal subset of a
|
||||
schema document to establish a different
|
||||
namespace prefix -->
|
||||
<!ENTITY % s ':xs'> <!-- if %p is defined (e.g. as foo:) then you must
|
||||
also define %s as the suffix for the appropriate
|
||||
namespace declaration (e.g. :foo) -->
|
||||
<!ENTITY % nds 'xmlns%s;'>
|
||||
|
||||
<!-- Define all the element names, with optional prefix -->
|
||||
<!ENTITY % schema "%p;schema">
|
||||
<!ENTITY % complexType "%p;complexType">
|
||||
<!ENTITY % complexContent "%p;complexContent">
|
||||
<!ENTITY % simpleContent "%p;simpleContent">
|
||||
<!ENTITY % extension "%p;extension">
|
||||
<!ENTITY % element "%p;element">
|
||||
<!ENTITY % unique "%p;unique">
|
||||
<!ENTITY % key "%p;key">
|
||||
<!ENTITY % keyref "%p;keyref">
|
||||
<!ENTITY % selector "%p;selector">
|
||||
<!ENTITY % field "%p;field">
|
||||
<!ENTITY % group "%p;group">
|
||||
<!ENTITY % all "%p;all">
|
||||
<!ENTITY % choice "%p;choice">
|
||||
<!ENTITY % sequence "%p;sequence">
|
||||
<!ENTITY % any "%p;any">
|
||||
<!ENTITY % anyAttribute "%p;anyAttribute">
|
||||
<!ENTITY % attribute "%p;attribute">
|
||||
<!ENTITY % attributeGroup "%p;attributeGroup">
|
||||
<!ENTITY % include "%p;include">
|
||||
<!ENTITY % import "%p;import">
|
||||
<!ENTITY % redefine "%p;redefine">
|
||||
<!ENTITY % notation "%p;notation">
|
||||
|
||||
<!-- annotation elements -->
|
||||
<!ENTITY % annotation "%p;annotation">
|
||||
<!ENTITY % appinfo "%p;appinfo">
|
||||
<!ENTITY % documentation "%p;documentation">
|
||||
|
||||
<!-- Customisation entities for the ATTLIST of each element type.
|
||||
Define one of these if your schema takes advantage of the
|
||||
anyAttribute='##other' in the schema for schemas -->
|
||||
|
||||
<!ENTITY % schemaAttrs ''>
|
||||
<!ENTITY % complexTypeAttrs ''>
|
||||
<!ENTITY % complexContentAttrs ''>
|
||||
<!ENTITY % simpleContentAttrs ''>
|
||||
<!ENTITY % extensionAttrs ''>
|
||||
<!ENTITY % elementAttrs ''>
|
||||
<!ENTITY % groupAttrs ''>
|
||||
<!ENTITY % allAttrs ''>
|
||||
<!ENTITY % choiceAttrs ''>
|
||||
<!ENTITY % sequenceAttrs ''>
|
||||
<!ENTITY % anyAttrs ''>
|
||||
<!ENTITY % anyAttributeAttrs ''>
|
||||
<!ENTITY % attributeAttrs ''>
|
||||
<!ENTITY % attributeGroupAttrs ''>
|
||||
<!ENTITY % uniqueAttrs ''>
|
||||
<!ENTITY % keyAttrs ''>
|
||||
<!ENTITY % keyrefAttrs ''>
|
||||
<!ENTITY % selectorAttrs ''>
|
||||
<!ENTITY % fieldAttrs ''>
|
||||
<!ENTITY % includeAttrs ''>
|
||||
<!ENTITY % importAttrs ''>
|
||||
<!ENTITY % redefineAttrs ''>
|
||||
<!ENTITY % notationAttrs ''>
|
||||
<!ENTITY % annotationAttrs ''>
|
||||
<!ENTITY % appinfoAttrs ''>
|
||||
<!ENTITY % documentationAttrs ''>
|
||||
|
||||
<!ENTITY % complexDerivationSet "CDATA">
|
||||
<!-- #all or space-separated list drawn from derivationChoice -->
|
||||
<!ENTITY % blockSet "CDATA">
|
||||
<!-- #all or space-separated list drawn from
|
||||
derivationChoice + 'substitution' -->
|
||||
|
||||
<!ENTITY % mgs '%all; | %choice; | %sequence;'>
|
||||
<!ENTITY % cs '%choice; | %sequence;'>
|
||||
<!ENTITY % formValues '(qualified|unqualified)'>
|
||||
|
||||
|
||||
<!ENTITY % attrDecls '((%attribute;| %attributeGroup;)*,(%anyAttribute;)?)'>
|
||||
|
||||
<!ENTITY % particleAndAttrs '((%mgs; | %group;)?, %attrDecls;)'>
|
||||
|
||||
<!-- This is used in part2 -->
|
||||
<!ENTITY % restriction1 '((%mgs; | %group;)?)'>
|
||||
|
||||
%xs-datatypes;
|
||||
|
||||
<!-- the duplication below is to produce an unambiguous content model
|
||||
which allows annotation everywhere -->
|
||||
<!ELEMENT %schema; ((%include; | %import; | %redefine; | %annotation;)*,
|
||||
((%simpleType; | %complexType;
|
||||
| %element; | %attribute;
|
||||
| %attributeGroup; | %group;
|
||||
| %notation; ),
|
||||
(%annotation;)*)* )>
|
||||
<!ATTLIST %schema;
|
||||
targetNamespace %URIref; #IMPLIED
|
||||
version CDATA #IMPLIED
|
||||
%nds; %URIref; #FIXED 'http://www.w3.org/2001/XMLSchema'
|
||||
xmlns CDATA #IMPLIED
|
||||
finalDefault %complexDerivationSet; ''
|
||||
blockDefault %blockSet; ''
|
||||
id ID #IMPLIED
|
||||
elementFormDefault %formValues; 'unqualified'
|
||||
attributeFormDefault %formValues; 'unqualified'
|
||||
xml:lang CDATA #IMPLIED
|
||||
%schemaAttrs;>
|
||||
<!-- Note the xmlns declaration is NOT in the Schema for Schemas,
|
||||
because at the Infoset level where schemas operate,
|
||||
xmlns(:prefix) is NOT an attribute! -->
|
||||
<!-- The declaration of xmlns is a convenience for schema authors -->
|
||||
|
||||
<!-- The id attribute here and below is for use in external references
|
||||
from non-schemas using simple fragment identifiers.
|
||||
It is NOT used for schema-to-schema reference, internal or
|
||||
external. -->
|
||||
|
||||
<!-- a type is a named content type specification which allows attribute
|
||||
declarations-->
|
||||
<!-- -->
|
||||
|
||||
<!ELEMENT %complexType; ((%annotation;)?,
|
||||
(%simpleContent;|%complexContent;|
|
||||
%particleAndAttrs;))>
|
||||
|
||||
<!ATTLIST %complexType;
|
||||
name %NCName; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
abstract %boolean; #IMPLIED
|
||||
final %complexDerivationSet; #IMPLIED
|
||||
block %complexDerivationSet; #IMPLIED
|
||||
mixed (true|false) 'false'
|
||||
%complexTypeAttrs;>
|
||||
|
||||
<!-- particleAndAttrs is shorthand for a root type -->
|
||||
<!-- mixed is disallowed if simpleContent, overriden if complexContent
|
||||
has one too. -->
|
||||
|
||||
<!-- If anyAttribute appears in one or more referenced attributeGroups
|
||||
and/or explicitly, the intersection of the permissions is used -->
|
||||
|
||||
<!ELEMENT %complexContent; ((%annotation;)?, (%restriction;|%extension;))>
|
||||
<!ATTLIST %complexContent;
|
||||
mixed (true|false) #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%complexContentAttrs;>
|
||||
|
||||
<!-- restriction should use the branch defined above, not the simple
|
||||
one from part2; extension should use the full model -->
|
||||
|
||||
<!ELEMENT %simpleContent; ((%annotation;)?, (%restriction;|%extension;))>
|
||||
<!ATTLIST %simpleContent;
|
||||
id ID #IMPLIED
|
||||
%simpleContentAttrs;>
|
||||
|
||||
<!-- restriction should use the simple branch from part2, not the
|
||||
one defined above; extension should have no particle -->
|
||||
|
||||
<!ELEMENT %extension; ((%annotation;)?, (%particleAndAttrs;))>
|
||||
<!ATTLIST %extension;
|
||||
base %QName; #REQUIRED
|
||||
id ID #IMPLIED
|
||||
%extensionAttrs;>
|
||||
|
||||
<!-- an element is declared by either:
|
||||
a name and a type (either nested or referenced via the type attribute)
|
||||
or a ref to an existing element declaration -->
|
||||
|
||||
<!ELEMENT %element; ((%annotation;)?, (%complexType;| %simpleType;)?,
|
||||
(%unique; | %key; | %keyref;)*)>
|
||||
<!-- simpleType or complexType only if no type|ref attribute -->
|
||||
<!-- ref not allowed at top level -->
|
||||
<!ATTLIST %element;
|
||||
name %NCName; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
ref %QName; #IMPLIED
|
||||
type %QName; #IMPLIED
|
||||
minOccurs %nonNegativeInteger; #IMPLIED
|
||||
maxOccurs CDATA #IMPLIED
|
||||
nillable %boolean; #IMPLIED
|
||||
substitutionGroup %QName; #IMPLIED
|
||||
abstract %boolean; #IMPLIED
|
||||
final %complexDerivationSet; #IMPLIED
|
||||
block %blockSet; #IMPLIED
|
||||
default CDATA #IMPLIED
|
||||
fixed CDATA #IMPLIED
|
||||
form %formValues; #IMPLIED
|
||||
%elementAttrs;>
|
||||
<!-- type and ref are mutually exclusive.
|
||||
name and ref are mutually exclusive, one is required -->
|
||||
<!-- In the absence of type AND ref, type defaults to type of
|
||||
substitutionGroup, if any, else the ur-type, i.e. unconstrained -->
|
||||
<!-- default and fixed are mutually exclusive -->
|
||||
|
||||
<!ELEMENT %group; ((%annotation;)?,(%mgs;)?)>
|
||||
<!ATTLIST %group;
|
||||
name %NCName; #IMPLIED
|
||||
ref %QName; #IMPLIED
|
||||
minOccurs %nonNegativeInteger; #IMPLIED
|
||||
maxOccurs CDATA #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%groupAttrs;>
|
||||
|
||||
<!ELEMENT %all; ((%annotation;)?, (%element;)*)>
|
||||
<!ATTLIST %all;
|
||||
minOccurs (1) #IMPLIED
|
||||
maxOccurs (1) #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%allAttrs;>
|
||||
|
||||
<!ELEMENT %choice; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)>
|
||||
<!ATTLIST %choice;
|
||||
minOccurs %nonNegativeInteger; #IMPLIED
|
||||
maxOccurs CDATA #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%choiceAttrs;>
|
||||
|
||||
<!ELEMENT %sequence; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)>
|
||||
<!ATTLIST %sequence;
|
||||
minOccurs %nonNegativeInteger; #IMPLIED
|
||||
maxOccurs CDATA #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%sequenceAttrs;>
|
||||
|
||||
<!-- an anonymous grouping in a model, or
|
||||
a top-level named group definition, or a reference to same -->
|
||||
|
||||
<!-- Note that if order is 'all', group is not allowed inside.
|
||||
If order is 'all' THIS group must be alone (or referenced alone) at
|
||||
the top level of a content model -->
|
||||
<!-- If order is 'all', minOccurs==maxOccurs==1 on element/any inside -->
|
||||
<!-- Should allow minOccurs=0 inside order='all' . . . -->
|
||||
|
||||
<!ELEMENT %any; (%annotation;)?>
|
||||
<!ATTLIST %any;
|
||||
namespace CDATA '##any'
|
||||
processContents (skip|lax|strict) 'strict'
|
||||
minOccurs %nonNegativeInteger; '1'
|
||||
maxOccurs CDATA '1'
|
||||
id ID #IMPLIED
|
||||
%anyAttrs;>
|
||||
|
||||
<!-- namespace is interpreted as follows:
|
||||
##any - - any non-conflicting WFXML at all
|
||||
|
||||
##other - - any non-conflicting WFXML from namespace other
|
||||
than targetNamespace
|
||||
|
||||
##local - - any unqualified non-conflicting WFXML/attribute
|
||||
one or - - any non-conflicting WFXML from
|
||||
more URI the listed namespaces
|
||||
references
|
||||
|
||||
##targetNamespace ##local may appear in the above list,
|
||||
with the obvious meaning -->
|
||||
|
||||
<!ELEMENT %anyAttribute; (%annotation;)?>
|
||||
<!ATTLIST %anyAttribute;
|
||||
namespace CDATA '##any'
|
||||
processContents (skip|lax|strict) 'strict'
|
||||
id ID #IMPLIED
|
||||
%anyAttributeAttrs;>
|
||||
<!-- namespace is interpreted as for 'any' above -->
|
||||
|
||||
<!-- simpleType only if no type|ref attribute -->
|
||||
<!-- ref not allowed at top level, name iff at top level -->
|
||||
<!ELEMENT %attribute; ((%annotation;)?, (%simpleType;)?)>
|
||||
<!ATTLIST %attribute;
|
||||
name %NCName; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
ref %QName; #IMPLIED
|
||||
type %QName; #IMPLIED
|
||||
use (prohibited|optional|required) #IMPLIED
|
||||
default CDATA #IMPLIED
|
||||
fixed CDATA #IMPLIED
|
||||
form %formValues; #IMPLIED
|
||||
%attributeAttrs;>
|
||||
<!-- type and ref are mutually exclusive.
|
||||
name and ref are mutually exclusive, one is required -->
|
||||
<!-- default for use is optional when nested, none otherwise -->
|
||||
<!-- default and fixed are mutually exclusive -->
|
||||
<!-- type attr and simpleType content are mutually exclusive -->
|
||||
|
||||
<!-- an attributeGroup is a named collection of attribute decls, or a
|
||||
reference thereto -->
|
||||
<!ELEMENT %attributeGroup; ((%annotation;)?,
|
||||
(%attribute; | %attributeGroup;)*,
|
||||
(%anyAttribute;)?) >
|
||||
<!ATTLIST %attributeGroup;
|
||||
name %NCName; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
ref %QName; #IMPLIED
|
||||
%attributeGroupAttrs;>
|
||||
|
||||
<!-- ref iff no content, no name. ref iff not top level -->
|
||||
|
||||
<!-- better reference mechanisms -->
|
||||
<!ELEMENT %unique; ((%annotation;)?, %selector;, (%field;)+)>
|
||||
<!ATTLIST %unique;
|
||||
name %NCName; #REQUIRED
|
||||
id ID #IMPLIED
|
||||
%uniqueAttrs;>
|
||||
|
||||
<!ELEMENT %key; ((%annotation;)?, %selector;, (%field;)+)>
|
||||
<!ATTLIST %key;
|
||||
name %NCName; #REQUIRED
|
||||
id ID #IMPLIED
|
||||
%keyAttrs;>
|
||||
|
||||
<!ELEMENT %keyref; ((%annotation;)?, %selector;, (%field;)+)>
|
||||
<!ATTLIST %keyref;
|
||||
name %NCName; #REQUIRED
|
||||
refer %QName; #REQUIRED
|
||||
id ID #IMPLIED
|
||||
%keyrefAttrs;>
|
||||
|
||||
<!ELEMENT %selector; ((%annotation;)?)>
|
||||
<!ATTLIST %selector;
|
||||
xpath %XPathExpr; #REQUIRED
|
||||
id ID #IMPLIED
|
||||
%selectorAttrs;>
|
||||
<!ELEMENT %field; ((%annotation;)?)>
|
||||
<!ATTLIST %field;
|
||||
xpath %XPathExpr; #REQUIRED
|
||||
id ID #IMPLIED
|
||||
%fieldAttrs;>
|
||||
|
||||
<!-- Schema combination mechanisms -->
|
||||
<!ELEMENT %include; (%annotation;)?>
|
||||
<!ATTLIST %include;
|
||||
schemaLocation %URIref; #REQUIRED
|
||||
id ID #IMPLIED
|
||||
%includeAttrs;>
|
||||
|
||||
<!ELEMENT %import; (%annotation;)?>
|
||||
<!ATTLIST %import;
|
||||
namespace %URIref; #IMPLIED
|
||||
schemaLocation %URIref; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%importAttrs;>
|
||||
|
||||
<!ELEMENT %redefine; (%annotation; | %simpleType; | %complexType; |
|
||||
%attributeGroup; | %group;)*>
|
||||
<!ATTLIST %redefine;
|
||||
schemaLocation %URIref; #REQUIRED
|
||||
id ID #IMPLIED
|
||||
%redefineAttrs;>
|
||||
|
||||
<!ELEMENT %notation; (%annotation;)?>
|
||||
<!ATTLIST %notation;
|
||||
name %NCName; #REQUIRED
|
||||
id ID #IMPLIED
|
||||
public CDATA #REQUIRED
|
||||
system %URIref; #IMPLIED
|
||||
%notationAttrs;>
|
||||
|
||||
<!-- Annotation is either application information or documentation -->
|
||||
<!-- By having these here they are available for datatypes as well
|
||||
as all the structures elements -->
|
||||
|
||||
<!ELEMENT %annotation; (%appinfo; | %documentation;)*>
|
||||
<!ATTLIST %annotation; %annotationAttrs;>
|
||||
|
||||
<!-- User must define annotation elements in internal subset for this
|
||||
to work -->
|
||||
<!ELEMENT %appinfo; ANY> <!-- too restrictive -->
|
||||
<!ATTLIST %appinfo;
|
||||
source %URIref; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%appinfoAttrs;>
|
||||
<!ELEMENT %documentation; ANY> <!-- too restrictive -->
|
||||
<!ATTLIST %documentation;
|
||||
source %URIref; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
xml:lang CDATA #IMPLIED
|
||||
%documentationAttrs;>
|
||||
|
||||
<!NOTATION XMLSchemaStructures PUBLIC
|
||||
'structures' 'http://www.w3.org/2001/XMLSchema.xsd' >
|
||||
<!NOTATION XML PUBLIC
|
||||
'REC-xml-1998-0210' 'http://www.w3.org/TR/1998/REC-xml-19980210' >
|
|
@ -0,0 +1,203 @@
|
|||
<!--
|
||||
DTD for XML Schemas: Part 2: Datatypes
|
||||
$Id: datatypes.dtd,v 1.23 2001/03/16 17:36:30 ht Exp $
|
||||
Note this DTD is NOT normative, or even definitive. - - the
|
||||
prose copy in the datatypes REC is the definitive version
|
||||
(which shouldn't differ from this one except for this comment
|
||||
and entity expansions, but just in case)
|
||||
-->
|
||||
|
||||
<!--
|
||||
This DTD cannot be used on its own, it is intended
|
||||
only for incorporation in XMLSchema.dtd, q.v.
|
||||
-->
|
||||
|
||||
<!-- Define all the element names, with optional prefix -->
|
||||
<!ENTITY % simpleType "%p;simpleType">
|
||||
<!ENTITY % restriction "%p;restriction">
|
||||
<!ENTITY % list "%p;list">
|
||||
<!ENTITY % union "%p;union">
|
||||
<!ENTITY % maxExclusive "%p;maxExclusive">
|
||||
<!ENTITY % minExclusive "%p;minExclusive">
|
||||
<!ENTITY % maxInclusive "%p;maxInclusive">
|
||||
<!ENTITY % minInclusive "%p;minInclusive">
|
||||
<!ENTITY % totalDigits "%p;totalDigits">
|
||||
<!ENTITY % fractionDigits "%p;fractionDigits">
|
||||
<!ENTITY % length "%p;length">
|
||||
<!ENTITY % minLength "%p;minLength">
|
||||
<!ENTITY % maxLength "%p;maxLength">
|
||||
<!ENTITY % enumeration "%p;enumeration">
|
||||
<!ENTITY % whiteSpace "%p;whiteSpace">
|
||||
<!ENTITY % pattern "%p;pattern">
|
||||
|
||||
<!--
|
||||
Customisation entities for the ATTLIST of each element
|
||||
type. Define one of these if your schema takes advantage
|
||||
of the anyAttribute='##other' in the schema for schemas
|
||||
-->
|
||||
|
||||
<!ENTITY % simpleTypeAttrs "">
|
||||
<!ENTITY % restrictionAttrs "">
|
||||
<!ENTITY % listAttrs "">
|
||||
<!ENTITY % unionAttrs "">
|
||||
<!ENTITY % maxExclusiveAttrs "">
|
||||
<!ENTITY % minExclusiveAttrs "">
|
||||
<!ENTITY % maxInclusiveAttrs "">
|
||||
<!ENTITY % minInclusiveAttrs "">
|
||||
<!ENTITY % totalDigitsAttrs "">
|
||||
<!ENTITY % fractionDigitsAttrs "">
|
||||
<!ENTITY % lengthAttrs "">
|
||||
<!ENTITY % minLengthAttrs "">
|
||||
<!ENTITY % maxLengthAttrs "">
|
||||
<!ENTITY % enumerationAttrs "">
|
||||
<!ENTITY % whiteSpaceAttrs "">
|
||||
<!ENTITY % patternAttrs "">
|
||||
|
||||
<!-- Define some entities for informative use as attribute
|
||||
types -->
|
||||
<!ENTITY % URIref "CDATA">
|
||||
<!ENTITY % XPathExpr "CDATA">
|
||||
<!ENTITY % QName "NMTOKEN">
|
||||
<!ENTITY % QNames "NMTOKENS">
|
||||
<!ENTITY % NCName "NMTOKEN">
|
||||
<!ENTITY % nonNegativeInteger "NMTOKEN">
|
||||
<!ENTITY % boolean "(true|false)">
|
||||
<!ENTITY % simpleDerivationSet "CDATA">
|
||||
<!--
|
||||
#all or space-separated list drawn from derivationChoice
|
||||
-->
|
||||
|
||||
<!--
|
||||
Note that the use of 'facet' below is less restrictive
|
||||
than is really intended: There should in fact be no
|
||||
more than one of each of minInclusive, minExclusive,
|
||||
maxInclusive, maxExclusive, totalDigits, fractionDigits,
|
||||
length, maxLength, minLength within datatype,
|
||||
and the min- and max- variants of Inclusive and Exclusive
|
||||
are mutually exclusive. On the other hand, pattern and
|
||||
enumeration may repeat.
|
||||
-->
|
||||
<!ENTITY % minBound "(%minInclusive; | %minExclusive;)">
|
||||
<!ENTITY % maxBound "(%maxInclusive; | %maxExclusive;)">
|
||||
<!ENTITY % bounds "%minBound; | %maxBound;">
|
||||
<!ENTITY % numeric "%totalDigits; | %fractionDigits;">
|
||||
<!ENTITY % ordered "%bounds; | %numeric;">
|
||||
<!ENTITY % unordered
|
||||
"%pattern; | %enumeration; | %whiteSpace; | %length; |
|
||||
%maxLength; | %minLength;">
|
||||
<!ENTITY % facet "%ordered; | %unordered;">
|
||||
<!ENTITY % facetAttr
|
||||
"value CDATA #REQUIRED
|
||||
id ID #IMPLIED">
|
||||
<!ENTITY % fixedAttr "fixed %boolean; #IMPLIED">
|
||||
<!ENTITY % facetModel "(%annotation;)?">
|
||||
<!ELEMENT %simpleType;
|
||||
((%annotation;)?, (%restriction; | %list; | %union;))>
|
||||
<!ATTLIST %simpleType;
|
||||
name %NCName; #IMPLIED
|
||||
final %simpleDerivationSet; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%simpleTypeAttrs;>
|
||||
<!-- name is required at top level -->
|
||||
<!ELEMENT %restriction; ((%annotation;)?,
|
||||
(%restriction1; |
|
||||
((%simpleType;)?,(%facet;)*)),
|
||||
(%attrDecls;))>
|
||||
<!ATTLIST %restriction;
|
||||
base %QName; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%restrictionAttrs;>
|
||||
<!--
|
||||
base and simpleType child are mutually exclusive,
|
||||
one is required.
|
||||
|
||||
restriction is shared between simpleType and
|
||||
simpleContent and complexContent (in XMLSchema.xsd).
|
||||
restriction1 is for the latter cases, when this
|
||||
is restricting a complex type, as is attrDecls.
|
||||
-->
|
||||
<!ELEMENT %list; ((%annotation;)?,(%simpleType;)?)>
|
||||
<!ATTLIST %list;
|
||||
itemType %QName; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%listAttrs;>
|
||||
<!--
|
||||
itemType and simpleType child are mutually exclusive,
|
||||
one is required
|
||||
-->
|
||||
<!ELEMENT %union; ((%annotation;)?,(%simpleType;)*)>
|
||||
<!ATTLIST %union;
|
||||
id ID #IMPLIED
|
||||
memberTypes %QNames; #IMPLIED
|
||||
%unionAttrs;>
|
||||
<!--
|
||||
At least one item in memberTypes or one simpleType
|
||||
child is required
|
||||
-->
|
||||
|
||||
<!ELEMENT %maxExclusive; %facetModel;>
|
||||
<!ATTLIST %maxExclusive;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%maxExclusiveAttrs;>
|
||||
<!ELEMENT %minExclusive; %facetModel;>
|
||||
<!ATTLIST %minExclusive;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%minExclusiveAttrs;>
|
||||
|
||||
<!ELEMENT %maxInclusive; %facetModel;>
|
||||
<!ATTLIST %maxInclusive;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%maxInclusiveAttrs;>
|
||||
<!ELEMENT %minInclusive; %facetModel;>
|
||||
<!ATTLIST %minInclusive;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%minInclusiveAttrs;>
|
||||
|
||||
<!ELEMENT %totalDigits; %facetModel;>
|
||||
<!ATTLIST %totalDigits;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%totalDigitsAttrs;>
|
||||
<!ELEMENT %fractionDigits; %facetModel;>
|
||||
<!ATTLIST %fractionDigits;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%fractionDigitsAttrs;>
|
||||
|
||||
<!ELEMENT %length; %facetModel;>
|
||||
<!ATTLIST %length;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%lengthAttrs;>
|
||||
<!ELEMENT %minLength; %facetModel;>
|
||||
<!ATTLIST %minLength;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%minLengthAttrs;>
|
||||
<!ELEMENT %maxLength; %facetModel;>
|
||||
<!ATTLIST %maxLength;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%maxLengthAttrs;>
|
||||
|
||||
<!-- This one can be repeated -->
|
||||
<!ELEMENT %enumeration; %facetModel;>
|
||||
<!ATTLIST %enumeration;
|
||||
%facetAttr;
|
||||
%enumerationAttrs;>
|
||||
|
||||
<!ELEMENT %whiteSpace; %facetModel;>
|
||||
<!ATTLIST %whiteSpace;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%whiteSpaceAttrs;>
|
||||
|
||||
<!-- This one can be repeated -->
|
||||
<!ELEMENT %pattern; %facetModel;>
|
||||
<!ATTLIST %pattern;
|
||||
%facetAttr;
|
||||
%patternAttrs;>
|
|
@ -0,0 +1,88 @@
|
|||
<!SGML "ISO 8879:1986"
|
||||
--
|
||||
SGML Declaration for HyperText Markup Language (HTML).
|
||||
|
||||
--
|
||||
|
||||
CHARSET
|
||||
BASESET "ISO 646:1983//CHARSET
|
||||
International Reference Version
|
||||
(IRV)//ESC 2/5 4/0"
|
||||
DESCSET 0 9 UNUSED
|
||||
9 2 9
|
||||
11 2 UNUSED
|
||||
13 1 13
|
||||
14 18 UNUSED
|
||||
32 95 32
|
||||
127 1 UNUSED
|
||||
BASESET "ISO Registration Number 100//CHARSET
|
||||
ECMA-94 Right Part of
|
||||
Latin Alphabet Nr. 1//ESC 2/13 4/1"
|
||||
|
||||
DESCSET 128 32 UNUSED
|
||||
160 96 32
|
||||
|
||||
CAPACITY SGMLREF
|
||||
TOTALCAP 150000
|
||||
GRPCAP 150000
|
||||
ENTCAP 150000
|
||||
|
||||
SCOPE DOCUMENT
|
||||
SYNTAX
|
||||
SHUNCHAR CONTROLS 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
||||
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 127
|
||||
BASESET "ISO 646:1983//CHARSET
|
||||
International Reference Version
|
||||
(IRV)//ESC 2/5 4/0"
|
||||
DESCSET 0 128 0
|
||||
FUNCTION
|
||||
RE 13
|
||||
RS 10
|
||||
SPACE 32
|
||||
TAB SEPCHAR 9
|
||||
|
||||
|
||||
NAMING LCNMSTRT ""
|
||||
UCNMSTRT ""
|
||||
LCNMCHAR ".-"
|
||||
UCNMCHAR ".-"
|
||||
NAMECASE GENERAL YES
|
||||
ENTITY NO
|
||||
DELIM GENERAL SGMLREF
|
||||
SHORTREF SGMLREF
|
||||
NAMES SGMLREF
|
||||
QUANTITY SGMLREF
|
||||
ATTSPLEN 2100
|
||||
LITLEN 1024
|
||||
NAMELEN 72 -- somewhat arbitrary; taken from
|
||||
internet line length conventions --
|
||||
PILEN 1024
|
||||
TAGLVL 100
|
||||
TAGLEN 2100
|
||||
GRPGTCNT 150
|
||||
GRPCNT 64
|
||||
|
||||
FEATURES
|
||||
MINIMIZE
|
||||
DATATAG NO
|
||||
OMITTAG YES
|
||||
RANK NO
|
||||
SHORTTAG YES
|
||||
LINK
|
||||
SIMPLE NO
|
||||
IMPLICIT NO
|
||||
EXPLICIT NO
|
||||
OTHER
|
||||
CONCUR NO
|
||||
SUBDOC NO
|
||||
FORMAL YES
|
||||
APPINFO "SDA" -- conforming SGML Document Access application
|
||||
--
|
||||
>
|
||||
<!--
|
||||
$Id: html.dcl,v 1.1 2004/09/09 12:19:26 cvsdist Exp $
|
||||
|
||||
Author: Daniel W. Connolly <connolly@w3.org>
|
||||
|
||||
See also: http://www.w3.org/hypertext/WWW/MarkUp/MarkUp.html
|
||||
-->
|
|
@ -0,0 +1,31 @@
|
|||
-- catalog: SGML Open style entity catalog for HTML --
|
||||
-- $Id: html.soc,v 1.1 2004/09/09 12:19:26 cvsdist Exp $ --
|
||||
-- Hacked by jjc --
|
||||
|
||||
-- Ways to refer to Level 2: most general to most specific --
|
||||
PUBLIC "-//IETF//DTD HTML//EN" html.dtd
|
||||
PUBLIC "-//IETF//DTD HTML 2.0//EN" html.dtd
|
||||
PUBLIC "-//IETF//DTD HTML Level 2//EN" html.dtd
|
||||
PUBLIC "-//IETF//DTD HTML 2.0 Level 2//EN" html.dtd
|
||||
|
||||
-- Ways to refer to Level 1: most general to most specific --
|
||||
PUBLIC "-//IETF//DTD HTML Level 1//EN" html-1.dtd
|
||||
PUBLIC "-//IETF//DTD HTML 2.0 Level 1//EN" html-1.dtd
|
||||
|
||||
-- Ways to refer to
|
||||
Strict Level 2: most general to most specific --
|
||||
PUBLIC "-//IETF//DTD HTML Strict//EN" html-s.dtd
|
||||
PUBLIC "-//IETF//DTD HTML 2.0 Strict//EN" html-s.dtd
|
||||
PUBLIC "-//IETF//DTD HTML Strict Level 2//EN" html-s.dtd
|
||||
PUBLIC "-//IETF//DTD HTML 2.0 Strict Level 2//EN" html-s.dtd
|
||||
|
||||
-- Ways to refer to
|
||||
Strict Level 1: most general to most specific --
|
||||
PUBLIC "-//IETF//DTD HTML Strict Level 1//EN" html-1s.dtd
|
||||
PUBLIC "-//IETF//DTD HTML 2.0 Strict Level 1//EN" html-1s.dtd
|
||||
|
||||
-- ISO latin 1 entity set for HTML --
|
||||
PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML" ISOlat1.sgm
|
||||
|
||||
SGMLDECL html.dcl
|
||||
DOCTYPE html html.dtd
|
|
@ -0,0 +1,94 @@
|
|||
--- sgml-common-0.6.3/bin/install-catalog.in.quotes Mon Nov 5 11:19:23 2001
|
||||
+++ sgml-common-0.6.3/bin/install-catalog.in Mon Nov 5 11:20:12 2001
|
||||
@@ -39,8 +39,8 @@
|
||||
# Process actions
|
||||
case $1 in
|
||||
-a|--add) SGML_ACTION="addition"
|
||||
- SGML_CENTRALIZED=$2
|
||||
- SGML_ORDINARY=$3
|
||||
+ SGML_CENTRALIZED="$2"
|
||||
+ SGML_ORDINARY="$3"
|
||||
;;
|
||||
-r|--remove) if [ -z "$3" -o "$3" = "--version" ]
|
||||
then
|
||||
@@ -48,8 +48,8 @@
|
||||
exit 0
|
||||
fi
|
||||
SGML_ACTION="removal"
|
||||
- SGML_CENTRALIZED=$2
|
||||
- SGML_ORDINARY=$3
|
||||
+ SGML_CENTRALIZED="$2"
|
||||
+ SGML_ORDINARY="$3"
|
||||
;;
|
||||
-h|--help) echo -e $SGML_HELP_MESSAGE
|
||||
exit 0
|
||||
@@ -96,14 +96,14 @@
|
||||
fi
|
||||
case $SGML_ACTION in
|
||||
addition)
|
||||
- if [ -e $SGML_CENTRALIZED -a ! -w $SGML_CENTRALIZED ]
|
||||
+ if [ -e "$SGML_CENTRALIZED" -a ! -w "$SGML_CENTRALIZED" ]
|
||||
then
|
||||
echo "`basename $0`: can not modify \"$SGML_CENTRALIZED\"." >&2
|
||||
exit 2
|
||||
fi
|
||||
;;
|
||||
removal)
|
||||
- if [ ! -w $SGML_CENTRALIZED ]
|
||||
+ if [ ! -w "$SGML_CENTRALIZED" ]
|
||||
then
|
||||
echo "`basename $0`: can not modify \"$SGML_CENTRALIZED\"." >&2
|
||||
exit 2
|
||||
@@ -119,7 +119,7 @@
|
||||
fi
|
||||
case $SGML_ACTION in
|
||||
addition)
|
||||
- if [ ! -s $SGML_ORDINARY ]
|
||||
+ if [ ! -s "$SGML_ORDINARY" ]
|
||||
then
|
||||
echo "`basename $0`: \"$SGML_ORDINARY\" does not exist or is empty." >&2
|
||||
exit 2
|
||||
@@ -131,33 +131,33 @@
|
||||
case $SGML_ACTION in
|
||||
addition)
|
||||
echo "`basename $0`: addition of $SGML_ORDINARY in $SGML_CENTRALIZED"
|
||||
- if grep -q $SGML_ORDINARY $SGML_CENTRALIZED 2>/dev/null
|
||||
+ if grep -q "$SGML_ORDINARY" "$SGML_CENTRALIZED" 2>/dev/null
|
||||
then
|
||||
echo "Warning: $SGML_ORDINARY is already installed in the centralized catalog $SGML_CENTRALIZED" >&2
|
||||
else
|
||||
- echo "$SGML_POINTER $SGML_ORDINARY" >> $SGML_CENTRALIZED
|
||||
+ echo "$SGML_POINTER \"$SGML_ORDINARY\"" >> "$SGML_CENTRALIZED"
|
||||
fi
|
||||
- grep -q $SGML_CENTRALIZED /etc/sgml/catalog 2>/dev/null
|
||||
+ grep -q "$SGML_CENTRALIZED" /etc/sgml/catalog 2>/dev/null
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo "`basename $0`: addition of $SGML_CENTRALIZED in /etc/sgml/catalog"
|
||||
- echo "$SGML_POINTER $SGML_CENTRALIZED" >> /etc/sgml/catalog
|
||||
+ echo "$SGML_POINTER \"$SGML_CENTRALIZED\"" >> /etc/sgml/catalog
|
||||
fi
|
||||
;;
|
||||
removal)
|
||||
echo "`basename $0`: removal of $SGML_ORDINARY from $SGML_CENTRALIZED"
|
||||
- if grep -q $SGML_ORDINARY $SGML_CENTRALIZED 2>/dev/null
|
||||
+ if grep -q "$SGML_ORDINARY" "$SGML_CENTRALIZED" 2>/dev/null
|
||||
then
|
||||
- sed -e "\:$SGML_POINTER $SGML_ORDINARY:d" < $SGML_CENTRALIZED > ${SGML_CENTRALIZED}.new
|
||||
- mv ${SGML_CENTRALIZED}.new $SGML_CENTRALIZED
|
||||
+ sed -e "\:$SGML_POINTER \"\\?$SGML_ORDINARY\"\\?:d" < "$SGML_CENTRALIZED" > "${SGML_CENTRALIZED}.new"
|
||||
+ mv "${SGML_CENTRALIZED}.new" "$SGML_CENTRALIZED"
|
||||
else
|
||||
echo "Warning: $SGML_ORDINARY was not found in the centralized catalog $SGML_CENTRALIZED" >&2
|
||||
fi
|
||||
- if [ ! -s $SGML_CENTRALIZED ]
|
||||
+ if [ ! -s "$SGML_CENTRALIZED" ]
|
||||
then
|
||||
- rm $SGML_CENTRALIZED
|
||||
+ rm "$SGML_CENTRALIZED"
|
||||
echo "`basename $0`: removal of $SGML_CENTRALIZED from /etc/sgml/catalog"
|
||||
- sed -e "\:$SGML_POINTER $SGML_CENTRALIZED:d" < /etc/sgml/catalog > /etc/sgml/catalog.new
|
||||
+ sed -e "\:$SGML_POINTER \"\\?$SGML_CENTRALIZED\"\\?:d" < /etc/sgml/catalog > /etc/sgml/catalog.new
|
||||
mv /etc/sgml/catalog.new /etc/sgml/catalog
|
||||
fi
|
||||
;;
|
|
@ -0,0 +1,12 @@
|
|||
--- sgml-common-0.6.3/bin/install-catalog.in.umask Mon May 21 11:48:37 2001
|
||||
+++ sgml-common-0.6.3/bin/install-catalog.in Mon May 21 12:00:34 2001
|
||||
@@ -13,6 +13,9 @@
|
||||
\040 -h, --help: \t\t\t\t Print this help message and exit\n\
|
||||
\040 -v, --version: \t\t\t Print the version number and exit\n"
|
||||
|
||||
+# We need the files we create to be world readable
|
||||
+umask 022
|
||||
+
|
||||
# Set version message
|
||||
SGML_VERSION_MESSAGE="sgml-common version @VERSION@ (install-catalog version 1.0)"
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
--- sgml-common-0.6.3/xml-iso-entities/Makefile.am.xmldir Fri Oct 5 16:37:43 2001
|
||||
+++ sgml-common-0.6.3/xml-iso-entities/Makefile.am Fri Oct 5 16:37:57 2001
|
||||
@@ -1,4 +1,4 @@
|
||||
-isoentdir = $(prefix)/share/sgml/xml-iso-entities-8879.1986
|
||||
+isoentdir = $(prefix)/share/xml/xml-iso-entities-8879.1986
|
||||
isoent_DATA = ISOamsa.ent ISOamsb.ent ISOamsc.ent ISOamsn.ent ISOamso.ent ISOamsr.ent \
|
||||
ISObox.ent ISOcyr1.ent ISOcyr2.ent ISOdia.ent ISOgrk1.ent ISOgrk2.ent \
|
||||
ISOgrk3.ent ISOgrk4.ent ISOlat1.ent ISOlat2.ent ISOnum.ent ISOpub.ent \
|
||||
--- sgml-common-0.6.3/xml-iso-entities/Makefile.in.xmldir 2007-05-15 17:21:31.000000000 +0100
|
||||
+++ sgml-common-0.6.3/xml-iso-entities/Makefile.in 2007-05-15 17:21:43.000000000 +0100
|
||||
@@ -62,7 +62,7 @@
|
||||
VERSION = @VERSION@
|
||||
docdir = @docdir@
|
||||
|
||||
-isoentdir = $(prefix)/share/sgml/xml-iso-entities-8879.1986
|
||||
+isoentdir = $(prefix)/share/xml/xml-iso-entities-8879.1986
|
||||
isoent_DATA = ISOamsa.ent ISOamsb.ent ISOamsc.ent ISOamsn.ent ISOamso.ent ISOamsr.ent ISObox.ent ISOcyr1.ent ISOcyr2.ent ISOdia.ent ISOgrk1.ent ISOgrk2.ent ISOgrk3.ent ISOgrk4.ent ISOlat1.ent ISOlat2.ent ISOnum.ent ISOpub.ent ISOtech.ent catalog
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"datatypes.dtd": "6946432ca7af2e9584f91b48564111fd2c73c8debbbcd9a0e3f5ddd382eeb51c",
|
||||
"html.dcl": "2c60aa036c12f9643d8408ed4b79efa6e28f15021dcaa41fca67b33aa1d4309a",
|
||||
"html.soc": "661b4ed0d5757e5a3f328fb347b6719165fd9acbc8eef918358a9cc3a9df6e39",
|
||||
"sgml-common-0.6.3.tgz": "7dc418c1d361123ffc5e45d61f1b97257940a8eb35d0bfbbc493381cc5b1f959",
|
||||
"sgml.conf.5": "74a44c17cf21bac20259f9458018db4d76c3d6e848f42ca8cfbd1c10bd652563",
|
||||
"sgmlwhich.1": "a4409d4913c6f2c08c762dfd64828b4a89f4941a9ee05370e21804b13e81e73b",
|
||||
"xml.dcl": "1068e172c737baefc5217b20631771ef83e4c5dd704f3f560a9f16c04f247d16",
|
||||
"xml.soc": "e9d7967c700a7155a99c9490b8eee9364a9e20addbc5eee0dae203480782c2c1",
|
||||
"xml.xsd": "cc701736c42cc64126fad063bb95f94484b5de3b5f808a86ea098b0957aff829",
|
||||
"xmldsig-core-schema.xsd": "5baf55ea1ef7cfb89ca33209d7a764c594d26feca814116dacc04bee51b868ce",
|
||||
"XMLSchema.dtd": "2032ead9fd47a61b22fe56aa02be1840bd9bb9015b0c0d3f1e8aac75dd91c3b9"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,428 @@
|
|||
%global xmlxsdver 2009/01
|
||||
|
||||
Summary: Common SGML catalog and DTD files
|
||||
Name: sgml-common
|
||||
Version: 0.6.3
|
||||
Release: 56%{?dist}
|
||||
License: GPL+
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
#Actually - there is no homepage of this project, on that URL
|
||||
#page you could get complete ISO 8879 listing as was on the
|
||||
#old page - only part of it is included in sgml-common package.
|
||||
URL: http://www.w3.org/2003/entities/
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
Source0: ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/%{name}-%{version}.tgz
|
||||
# Following 4 from openjade/pubtext - same maintainer as in SGML-common, so up2date:
|
||||
Source1: xml.dcl
|
||||
Source2: xml.soc
|
||||
Source3: html.dcl
|
||||
Source4: html.soc
|
||||
Source5: xml.xsd
|
||||
Source6: xmldsig-core-schema.xsd
|
||||
Source7: XMLSchema.dtd
|
||||
Source8: datatypes.dtd
|
||||
Source9: sgmlwhich.1
|
||||
Source10: sgml.conf.5
|
||||
|
||||
Patch0: sgml-common-umask.patch
|
||||
Patch1: sgml-common-xmldir.patch
|
||||
Patch2: sgml-common-quotes.patch
|
||||
|
||||
BuildRequires: libxml2
|
||||
BuildRequires: automake
|
||||
Requires: %{_bindir}/basename
|
||||
|
||||
%description
|
||||
The sgml-common package contains a collection of entities and DTDs
|
||||
that are useful for processing SGML, but that don't need to be
|
||||
included in multiple packages. Sgml-common also includes an
|
||||
up-to-date Open Catalog file.
|
||||
|
||||
%package -n xml-common
|
||||
Summary: Common XML catalog and DTD files
|
||||
License: GPL+
|
||||
Requires(pre): %{_bindir}/xmlcatalog
|
||||
|
||||
%description -n xml-common
|
||||
The xml-common is a subpackage of sgml-common which contains
|
||||
a collection XML catalogs that are useful for processing XML,
|
||||
but that don't need to be included in main package.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .umask
|
||||
%patch1 -p1 -b .xmldir
|
||||
%patch2 -p1 -b .quotes
|
||||
|
||||
# replace bogus links with files
|
||||
automakedir=`ls -1d /usr/share/automake* | head -n +1`
|
||||
for file in COPYING INSTALL install-sh missing mkinstalldirs; do
|
||||
rm $file
|
||||
cp -p $automakedir/$file .
|
||||
done
|
||||
|
||||
%build
|
||||
%configure
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR="$RPM_BUILD_ROOT" htmldir='%{_datadir}/doc' INSTALL='install -p'
|
||||
mkdir $RPM_BUILD_ROOT%{_sysconfdir}/xml
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sgml/docbook
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/sgml/docbook
|
||||
# Touch SGML catalog
|
||||
touch $RPM_BUILD_ROOT%{_sysconfdir}/sgml/catalog
|
||||
# Create an empty XML catalog.
|
||||
XMLCATALOG=$RPM_BUILD_ROOT%{_sysconfdir}/xml/catalog
|
||||
%{_bindir}/xmlcatalog --noout --create $XMLCATALOG
|
||||
# ...and add xml.xsd in it
|
||||
for type in system uri ; do
|
||||
for path in 2001 %{xmlxsdver} ; do
|
||||
%{_bindir}/xmlcatalog --noout --add $type \
|
||||
"http://www.w3.org/$path/xml.xsd" \
|
||||
"file://%{_datadir}/xml/xml.xsd" $XMLCATALOG
|
||||
done
|
||||
# Add xmldsig-core-schema.xsd to catalog
|
||||
%{_bindir}/xmlcatalog --noout --add $type \
|
||||
"http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd" \
|
||||
"file://%{_datadir}/xml/xmldsig-core-schema.xsd" $XMLCATALOG
|
||||
done
|
||||
# Now put the common DocBook entries in it
|
||||
%{_bindir}/xmlcatalog --noout --add "delegatePublic" \
|
||||
"-//OASIS//ENTITIES DocBook XML" \
|
||||
"file://%{_sysconfdir}/sgml/docbook/xmlcatalog" $XMLCATALOG
|
||||
%{_bindir}/xmlcatalog --noout --add "delegatePublic" \
|
||||
"-//OASIS//DTD DocBook XML" \
|
||||
"file://%{_sysconfdir}/sgml/docbook/xmlcatalog" $XMLCATALOG
|
||||
%{_bindir}/xmlcatalog --noout --add "delegatePublic" \
|
||||
"ISO 8879:1986" \
|
||||
"file://%{_sysconfdir}/sgml/docbook/xmlcatalog" $XMLCATALOG
|
||||
%{_bindir}/xmlcatalog --noout --add "delegateSystem" \
|
||||
"http://www.oasis-open.org/docbook/" \
|
||||
"file://%{_sysconfdir}/sgml/docbook/xmlcatalog" $XMLCATALOG
|
||||
%{_bindir}/xmlcatalog --noout --add "delegateURI" \
|
||||
"http://www.oasis-open.org/docbook/" \
|
||||
"file://%{_sysconfdir}/sgml/docbook/xmlcatalog" $XMLCATALOG
|
||||
for public in "-//W3C//DTD XMLSchema 200102//EN" "-//W3C//DTD XMLSCHEMA 200102//EN" ; do
|
||||
%{_bindir}/xmlcatalog --noout --add "public" \
|
||||
"$public" \
|
||||
"file://%{_datadir}/xml/XMLSchema.dtd" $XMLCATALOG
|
||||
done
|
||||
%{_bindir}/xmlcatalog --noout --add "system" \
|
||||
"http://www.w3.org/2001/XMLSchema.dtd" \
|
||||
"file://%{_datadir}/xml/XMLSchema.dtd" $XMLCATALOG
|
||||
|
||||
# Also create the common DocBook catalog
|
||||
%{_bindir}/xmlcatalog --noout --create \
|
||||
$RPM_BUILD_ROOT%{_sysconfdir}/sgml/docbook/xmlcatalog
|
||||
ln -sf %{_sysconfdir}/sgml/docbook/xmlcatalog\
|
||||
$RPM_BUILD_ROOT%{_datadir}/sgml/docbook/xmlcatalog
|
||||
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/sgml/xml.dcl
|
||||
install -p -m0644 %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} \
|
||||
$RPM_BUILD_ROOT%{_datadir}/sgml
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/xml/*
|
||||
install -p -m0644 %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} \
|
||||
$RPM_BUILD_ROOT%{_datadir}/xml
|
||||
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
||||
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man5
|
||||
install -p -m0644 %{SOURCE9} $RPM_BUILD_ROOT%{_mandir}/man1
|
||||
install -p -m0644 %{SOURCE10} $RPM_BUILD_ROOT%{_mandir}/man5
|
||||
|
||||
# remove installed doc file and prepare installation with %%doc
|
||||
rm $RPM_BUILD_ROOT%{_datadir}/doc/*.html
|
||||
rm -rf __dist_doc/html/
|
||||
mkdir -p __dist_doc/html/
|
||||
cp -p doc/HTML/*.html __dist_doc/html/
|
||||
|
||||
|
||||
%pre -n xml-common
|
||||
if [ $1 -gt 1 ] && [ -e %{_sysconfdir}/xml/catalog ]; then
|
||||
for type in system uri ; do
|
||||
for path in 2001 %{xmlxsdver} ; do
|
||||
%{_bindir}/xmlcatalog --noout --add $type \
|
||||
"http://www.w3.org/$path/xml.xsd" \
|
||||
"file://%{_datadir}/xml/xml.xsd" \
|
||||
%{_sysconfdir}/xml/catalog
|
||||
done
|
||||
%{_bindir}/xmlcatalog --noout --add $type \
|
||||
"http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd" \
|
||||
"file://%{_datadir}/xml/xmldsig-core-schema.xsd" %{_sysconfdir}/xml/catalog
|
||||
done
|
||||
for public in "-//W3C//DTD XMLSchema 200102//EN" "-//W3C//DTD XMLSCHEMA 200102//EN" ; do
|
||||
%{_bindir}/xmlcatalog --noout --add "public" \
|
||||
"$public" \
|
||||
"file://%{_datadir}/xml/XMLSchema.dtd" %{_sysconfdir}/xml/catalog
|
||||
done
|
||||
fi
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc __dist_doc/html/ AUTHORS NEWS ChangeLog README
|
||||
%dir %{_sysconfdir}/sgml
|
||||
%config(noreplace) %{_sysconfdir}/sgml/sgml.conf
|
||||
%ghost %verify(not md5 size mtime) %config(noreplace,missingok) %{_sysconfdir}/sgml/catalog
|
||||
%dir %{_datadir}/sgml
|
||||
%dir %{_datadir}/sgml/sgml-iso-entities-8879.1986
|
||||
%{_datadir}/sgml/sgml-iso-entities-8879.1986/*
|
||||
%{_datadir}/sgml/xml.dcl
|
||||
%{_datadir}/sgml/xml.soc
|
||||
%{_datadir}/sgml/html.dcl
|
||||
%{_datadir}/sgml/html.soc
|
||||
%{_bindir}/sgmlwhich
|
||||
%{_bindir}/install-catalog
|
||||
%{_mandir}/man8/install-catalog.8*
|
||||
%{_mandir}/man1/sgmlwhich.1*
|
||||
%{_mandir}/man5/sgml.conf.5*
|
||||
|
||||
%files -n xml-common
|
||||
%dir %{_sysconfdir}/xml
|
||||
%dir %{_sysconfdir}/sgml
|
||||
%dir %{_sysconfdir}/sgml/docbook
|
||||
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/xml/catalog
|
||||
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sgml/docbook/xmlcatalog
|
||||
%dir %{_datadir}/sgml
|
||||
%dir %{_datadir}/sgml/docbook
|
||||
%{_datadir}/sgml/docbook/xmlcatalog
|
||||
%dir %{_datadir}/xml
|
||||
%{_datadir}/xml/xml.xsd
|
||||
%{_datadir}/xml/xmldsig-core-schema.xsd
|
||||
%{_datadir}/xml/XMLSchema.dtd
|
||||
%{_datadir}/xml/datatypes.dtd
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> - 0.6.3-56
|
||||
- Initial CBL-Mariner import from Fedora 33 (license: MIT)
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-55
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-54
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-53
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-52
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Oct 05 2018 Ondrej Vasik <ovasik@redhat.com> - 0.6.3-51
|
||||
- add basic manpages for sgml.conf(5) and sgmlwhich(1) (#1612272)
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-50
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Jun 12 2018 Jan Pazdziora <jpazdziora@redhat.com> - 0.6.3-49
|
||||
- Package and catalog xmldsig-core-schema.xsd, XMLSchema.dtd, and datatypes.dtd
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-48
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Tue Oct 31 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.6.3-47
|
||||
- Use /usr/bin instead of /bin in Requires
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-46
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-45
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-44
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-43
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Dec 15 2014 Ondrej Vasik <ovasik@redhat.com> 0.6.3-42
|
||||
- add /etc/sgml ownership to xml-common subpackage (#1173925)
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-41
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-40
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-39
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Thu Oct 11 2012 Ondrej Vasik <ovasik@redhat.com> 0.6.3-38
|
||||
- get rid of the explicit automake14 requirement
|
||||
|
||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-37
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-36
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Sun Oct 30 2011 Ville Skyttä <ville.skytta@iki.fi> - 0.6.3-35
|
||||
- Include xml.xsd in xml-common (#750073).
|
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-34
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Mon Jul 12 2010 Ondrej Vasik <ovasik@redhat.com> 0.6.3-33
|
||||
- ship COPYING file with both sgml-common and xml-common
|
||||
- ship documentation with xml-common
|
||||
|
||||
* Fri Jan 15 2010 Ondrej Vasik <ovasik@redhat.com> 0.6.3-32
|
||||
- Merge review #226415: remove unapplied patches, remove
|
||||
versioned BR
|
||||
|
||||
* Wed Nov 11 2009 Ondrej Vasik <ovasik@redhat.com> 0.6.3-31
|
||||
- apply quotes patch once again (accidently deleted in Nov07-#533058)
|
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-30
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Thu May 28 2009 Ondrej Vasik <ovasik@redhat.com> 0.6.3-29
|
||||
- do own /etc/sgml/catalog
|
||||
|
||||
* Tue May 19 2009 Ondrej Vasik <ovasik@redhat.com> 0.6.3-28
|
||||
- do not provide explicit url for xml-common subpackage,
|
||||
fix trailing spaces
|
||||
- add Requires: /bin/basename (#501360)
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-27
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Thu Aug 07 2008 Ondrej Vasik <ovasik@redhat.com> 0.6.3-26
|
||||
- /etc/sgml/docbook dir now owned by package(#458230)
|
||||
- get rid off fuzz in patches
|
||||
|
||||
* Tue Jul 01 2008 Ondrej Vasik <ovasik@redhat.com> 0.6.3-25
|
||||
- mark xmlcatalog config(noreplace) to prevent overwriting
|
||||
of the content, move it to sysconfdir and make symlink for
|
||||
it to silence rpmlint
|
||||
|
||||
* Mon Jun 30 2008 Ondrej Vasik <ovasik@redhat.com> 0.6.3-24
|
||||
- mark catalog files as (not md5 size mtime) for verify to
|
||||
prevent info about changed files (#453271)
|
||||
|
||||
* Thu Nov 22 2007 Ondrej Vasik <ovasik@redhat.com> 0.6.3-23
|
||||
- Another MergeReview improvements(provided by Patrice Dumas)
|
||||
- copy Automake-1.4 files instead of rerunning autotools,
|
||||
- better preserving timestamps, better handling of documentation
|
||||
- improved XML-common description
|
||||
|
||||
* Thu Nov 15 2007 Ondrej Vasik <ovasik@redhat.com> 0.6.3-22
|
||||
- Merge Review(226415)
|
||||
- changed: License Tag, using RPM macros instead of hardcoded
|
||||
dirs, summary ended with dot, added URL, removed CHANGES
|
||||
file as obsolete, preserved timestamps and some other cosmetic
|
||||
changes
|
||||
- no longer shipping old automake tarball, fixed issue with man8_DATA,
|
||||
BuildRequire:Automake,Autoconf again(see MergeReview discussion)
|
||||
|
||||
* Mon May 28 2007 Ondrej Vasik <ovasik@redhat.com> 0.6.3-21
|
||||
- Fixed broken URL (changed to XML entity declarations) (bug #237726)
|
||||
- Rebuilt
|
||||
|
||||
* Tue May 15 2007 Tim Waugh <twaugh@redhat.com> 0.6.3-20
|
||||
- Added dist tag.
|
||||
- Fixed summary.
|
||||
- Removed build dependency on autoconf/automake.
|
||||
|
||||
* Tue Oct 24 2006 Tim Waugh <twaugh@redhat.com> 0.6.3-19
|
||||
- Removed stale URL (bug #210848).
|
||||
|
||||
* Mon Jun 12 2006 Tim Waugh <twaugh@redhat.com> 0.6.3-18
|
||||
- Build requires automake and autoconf (bug #194709).
|
||||
|
||||
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Wed Sep 22 2004 Than Ngo <than@redhat.com> 0.6.3-17
|
||||
- rebuilt
|
||||
|
||||
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Mon Dec 8 2003 Tim Waugh <twaugh@redhat.com> 0.6.3-15
|
||||
- Patch from Ville Skyttä <ville.skytta@iki.fi> (bug #111625):
|
||||
- Include /usr/share/xml in xml-common.
|
||||
- Own /usr/share/sgml and /usr/share/xml.
|
||||
|
||||
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Wed Oct 23 2002 Tim Waugh <twaugh@redhat.com> 0.6.3-13
|
||||
- Ship the installed documentation.
|
||||
- Don't install files not packaged.
|
||||
|
||||
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
||||
- automated rebuild
|
||||
|
||||
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
||||
- automated rebuild
|
||||
|
||||
* Wed Apr 24 2002 Tim Waugh <twaugh@redhat.com> 0.6.3-10
|
||||
- Ship {xml,html}.{dcl,soc} (bug #63500, bug #62980).
|
||||
- Work around broken tarball packaging.
|
||||
|
||||
* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 0.6.3-9
|
||||
- Rebuild in new environment.
|
||||
|
||||
* Thu Jan 17 2002 Tim Waugh <twaugh@redhat.com> 0.6.3-8
|
||||
- Back to /usr/share/sgml. Now install docbook-dtds.
|
||||
- Use a real install-sh, not the symlink shipped in the tarball.
|
||||
|
||||
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 0.6.3-7
|
||||
- automated rebuild
|
||||
|
||||
* Mon Nov 5 2001 Tim Waugh <twaugh@redhat.com> 0.6.3-6
|
||||
- Don't create a useless empty catalog.
|
||||
- Don't try to put install things outside the build root.
|
||||
- Build requires a libxml2 that actually works.
|
||||
|
||||
* Mon Nov 5 2001 Tim Waugh <twaugh@redhat.com> 0.6.3-4
|
||||
- Use (and handle) catalog files with quotes in install-catalog.
|
||||
|
||||
* Thu Nov 1 2001 Tim Waugh <twaugh@redhat.com> 0.6.3-3
|
||||
- Create default XML Catalog at build time, not install time.
|
||||
|
||||
* Fri Oct 5 2001 Tim Waugh <twaugh@redhat.com> 0.6.3-2
|
||||
- Move XML things into /usr/share/xml, and split them out into separate
|
||||
xml-common package.
|
||||
|
||||
* Mon Oct 1 2001 Tim Waugh <twaugh@redhat.com> 0.6.3-1
|
||||
- 0.6.3. Incorporates oldsyntax and quiet patches.
|
||||
- Make /etc/sgml/sgml.conf noreplace.
|
||||
- Own /etc/sgml, various other directories (bug #47485, bug #54180).
|
||||
|
||||
* Wed May 23 2001 Tim Waugh <twaugh@redhat.com> 0.5-7
|
||||
- Remove execute bit from data files.
|
||||
|
||||
* Mon May 21 2001 Tim Waugh <twaugh@redhat.com> 0.5-6
|
||||
- install-catalog needs to make sure that it creates world-readable files
|
||||
(bug #41552).
|
||||
|
||||
* Wed Mar 14 2001 Tim Powers <timp@redhat.com> 0.5-5
|
||||
- fixed license
|
||||
|
||||
* Wed Jan 24 2001 Tim Waugh <twaugh@redhat.com>
|
||||
- Make install-catalog quieter during normal operation.
|
||||
|
||||
* Tue Jan 23 2001 Tim Waugh <twaugh@redhat.com>
|
||||
- Require textutils, fileutils, grep (bug #24719).
|
||||
|
||||
* Wed Jan 17 2001 Tim Waugh <twaugh@redhat.com>
|
||||
- Require sh-utils.
|
||||
|
||||
* Mon Jan 15 2001 Tim Waugh <twaugh@redhat.com>
|
||||
- Don't play so many macro games.
|
||||
- Fix typo in install-catalog patch.
|
||||
|
||||
* Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com>
|
||||
- Change group.
|
||||
- Install by hand (man/en/...). Use %%{_mandir}.
|
||||
- Use %%{_tmppath}.
|
||||
- Make install-catalog fail silently if given the old syntax.
|
||||
- Add CHANGES file.
|
||||
- Change Copyright: to License:.
|
||||
- Remove Packager: line.
|
||||
|
||||
* Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com>
|
||||
- Based on Eric Bischoff's new-trials packages.
|
|
@ -0,0 +1,40 @@
|
|||
.TH SGML.CONF 5
|
||||
.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
|
||||
.\" other parms are allowed: see man(7), man(1)
|
||||
.SH NAME
|
||||
sgml.conf \- basic configuration file for SGML environment variables
|
||||
|
||||
.SH "DESCRIPTION"
|
||||
This file contains basic variables for SGML environment.
|
||||
.HP
|
||||
Format of this file is straightforward:
|
||||
|
||||
- Lines are either empty lines, comment lines (starting with hash mark) or variable assignments.
|
||||
|
||||
- Assigments take form of "variable=value" where whitespace is not allowed. This makes the format Bourne-shell includable.
|
||||
|
||||
.SH "VARIABLES"
|
||||
.TP
|
||||
.B SGML_BASE_DIR
|
||||
This variable contains root of the location of sgml components. Suggested value for this variable is /usr/share/sgml.
|
||||
.TP
|
||||
.B SGML_CATALOGS_DIRS
|
||||
This variable contains location of sgml catalog files. Suggested value is /etc/sgml.
|
||||
.TP
|
||||
.B SGML_EXTRA_BASE_DIRS
|
||||
This variable contains the directory name(s) of the root of the location(s) of optional sgml components that the system administrator doesn't want to install to primary SGML_BASE_DIR directory. If multiple directory names are mentioned, they are separated by colons.
|
||||
.TP
|
||||
.B SGML_BIN_DIR
|
||||
This variable contains the directory where executables should be placed. By default /usr/bin.
|
||||
.TP
|
||||
.B SGML_EXTRA_BIN_DIRS
|
||||
This variable contains the directory name(s) where optional executables can be placed. Suggested and default value is /usr/local/bin. If multiple directory names are mentioned, they are separated by colons.
|
||||
.TP
|
||||
.B SGML_TMP_DIR
|
||||
A hint to components where to put temporary files. The suggested and default value is /tmp.
|
||||
.TP
|
||||
.B SGML_POSTINSTALL_CMD
|
||||
A command that is to be executed when new components have been installed. This mechanism is not used by default, sgml components are usually registered by %post scriptlets.
|
||||
.SH "SEE ALSO"
|
||||
.\" Always quote multiple words for .SH
|
||||
.BR xsltproc (1)
|
|
@ -0,0 +1,21 @@
|
|||
.TH SGMLWHICH 1
|
||||
.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
|
||||
.\" other parms are allowed: see man(7), man(1)
|
||||
.SH NAME
|
||||
sgmlwhich \- prints location of main sgml configuration file
|
||||
.SH SYNOPSIS
|
||||
.B sgmlwhich
|
||||
|
||||
.SH "DESCRIPTION"
|
||||
Simple script which prints location of main sgml configuration file.
|
||||
It is provided for consistency with non-LSB platforms.
|
||||
|
||||
.SH OPTIONS
|
||||
Script doesn't accept any options.
|
||||
|
||||
.SH "SEE ALSO"
|
||||
.\" Always quote multiple words for .SH
|
||||
.BR sgml.conf (5)
|
||||
|
||||
.SH AUTHOR
|
||||
Eric Bischoff <eric@caldera.de>
|
|
@ -0,0 +1,179 @@
|
|||
<!SGML -- SGML Declaration for valid XML documents --
|
||||
"ISO 8879:1986 (WWW)"
|
||||
|
||||
CHARSET
|
||||
BASESET
|
||||
"ISO Registration Number 176//CHARSET
|
||||
ISO/IEC 10646-1:1993 UCS-4 with implementation
|
||||
level 3//ESC 2/5 2/15 4/6"
|
||||
DESCSET
|
||||
0 9 UNUSED
|
||||
9 2 9
|
||||
11 2 UNUSED
|
||||
13 1 13
|
||||
14 18 UNUSED
|
||||
32 95 32
|
||||
127 1 UNUSED
|
||||
128 32 UNUSED
|
||||
-- use this instead of the official declaration because SP only
|
||||
supports 16-bit characters --
|
||||
160 65374 160
|
||||
65534 2 UNUSED
|
||||
-- 55296 2048 UNUSED
|
||||
57344 8190 57344
|
||||
65534 2 UNUSED
|
||||
65536 1048576 65536 --
|
||||
CAPACITY NONE
|
||||
|
||||
SCOPE DOCUMENT
|
||||
|
||||
SYNTAX
|
||||
SHUNCHAR NONE
|
||||
BASESET "ISO Registration Number 176//CHARSET
|
||||
ISO/IEC 10646-1:1993 UCS-4 with implementation
|
||||
level 3//ESC 2/5 2/15 4/6"
|
||||
DESCSET
|
||||
0 1114112 0
|
||||
FUNCTION
|
||||
RE 13
|
||||
RS 10
|
||||
SPACE 32
|
||||
TAB SEPCHAR 9
|
||||
|
||||
NAMING
|
||||
LCNMSTRT ""
|
||||
UCNMSTRT ""
|
||||
NAMESTRT
|
||||
58 95 192-214 216-246 248-305 308-318 321-328
|
||||
330-382 384-451 461-496 500-501 506-535 592-680
|
||||
699-705 902 904-906 908 910-929 931-974 976-982
|
||||
986 988 990 992 994-1011 1025-1036 1038-1103
|
||||
1105-1116 1118-1153 1168-1220 1223-1224
|
||||
1227-1228 1232-1259 1262-1269 1272-1273
|
||||
1329-1366 1369 1377-1414 1488-1514 1520-1522
|
||||
1569-1594 1601-1610 1649-1719 1722-1726
|
||||
1728-1742 1744-1747 1749 1765-1766 2309-2361
|
||||
2365 2392-2401 2437-2444 2447-2448 2451-2472
|
||||
2474-2480 2482 2486-2489 2524-2525 2527-2529
|
||||
2544-2545 2565-2570 2575-2576 2579-2600
|
||||
2602-2608 2610-2611 2613-2614 2616-2617
|
||||
2649-2652 2654 2674-2676 2693-2699 2701
|
||||
2703-2705 2707-2728 2730-2736 2738-2739
|
||||
2741-2745 2749 2784 2821-2828 2831-2832
|
||||
2835-2856 2858-2864 2866-2867 2870-2873 2877
|
||||
2908-2909 2911-2913 2949-2954 2958-2960
|
||||
2962-2965 2969-2970 2972 2974-2975 2979-2980
|
||||
2984-2986 2990-2997 2999-3001 3077-3084
|
||||
3086-3088 3090-3112 3114-3123 3125-3129
|
||||
3168-3169 3205-3212 3214-3216 3218-3240
|
||||
3242-3251 3253-3257 3294 3296-3297 3333-3340
|
||||
3342-3344 3346-3368 3370-3385 3424-3425
|
||||
3585-3630 3632 3634-3635 3648-3653 3713-3714
|
||||
3716 3719-3720 3722 3725 3732-3735 3737-3743
|
||||
3745-3747 3749 3751 3754-3755 3757-3758 3760
|
||||
3762-3763 3773 3776-3780 3904-3911 3913-3945
|
||||
4256-4293 4304-4342 4352 4354-4355 4357-4359
|
||||
4361 4363-4364 4366-4370 4412 4414 4416 4428
|
||||
4430 4432 4436-4437 4441 4447-4449 4451 4453
|
||||
4455 4457 4461-4462 4466-4467 4469 4510 4520
|
||||
4523 4526-4527 4535-4536 4538 4540-4546 4587
|
||||
4592 4601 7680-7835 7840-7929 7936-7957
|
||||
7960-7965 7968-8005 8008-8013 8016-8023 8025
|
||||
8027 8029 8031-8061 8064-8116 8118-8124 8126
|
||||
8130-8132 8134-8140 8144-8147 8150-8155
|
||||
8160-8172 8178-8180 8182-8188 8486 8490-8491
|
||||
8494 8576-8578 12295 12321-12329 12353-12436
|
||||
12449-12538 12549-12588 19968-40869 44032-55203
|
||||
|
||||
LCNMCHAR ""
|
||||
UCNMCHAR ""
|
||||
NAMECHAR
|
||||
45-46 183 720-721 768-837 864-865 903 1155-1158
|
||||
1425-1441 1443-1465 1467-1469 1471 1473-1474
|
||||
1476 1600 1611-1618 1632-1641 1648 1750-1764
|
||||
1767-1768 1770-1773 1776-1785 2305-2307 2364
|
||||
2366-2381 2385-2388 2402-2403 2406-2415
|
||||
2433-2435 2492 2494-2500 2503-2504 2507-2509
|
||||
2519 2530-2531 2534-2543 2562 2620 2622-2626
|
||||
2631-2632 2635-2637 2662-2673 2689-2691 2748
|
||||
2750-2757 2759-2761 2763-2765 2790-2799
|
||||
2817-2819 2876 2878-2883 2887-2888 2891-2893
|
||||
2902-2903 2918-2927 2946-2947 3006-3010
|
||||
3014-3016 3018-3021 3031 3047-3055 3073-3075
|
||||
3134-3140 3142-3144 3146-3149 3157-3158
|
||||
3174-3183 3202-3203 3262-3268 3270-3272
|
||||
3274-3277 3285-3286 3302-3311 3330-3331
|
||||
3390-3395 3398-3400 3402-3405 3415 3430-3439
|
||||
3633 3636-3642 3654-3662 3664-3673 3761
|
||||
3764-3769 3771-3772 3782 3784-3789 3792-3801
|
||||
3864-3865 3872-3881 3893 3895 3897 3902-3903
|
||||
3953-3972 3974-3979 3984-3989 3991 3993-4013
|
||||
4017-4023 4025 8400-8412 8417 12293 12330-12335
|
||||
12337-12341 12441-12442 12445-12446 12540-12542
|
||||
|
||||
NAMECASE
|
||||
GENERAL NO
|
||||
ENTITY NO
|
||||
|
||||
DELIM
|
||||
GENERAL SGMLREF
|
||||
HCRO "&#x" -- 38 is the number for ampersand --
|
||||
NESTC "/"
|
||||
NET ">"
|
||||
PIC "?>"
|
||||
SHORTREF NONE
|
||||
|
||||
NAMES
|
||||
SGMLREF
|
||||
|
||||
QUANTITY NONE
|
||||
|
||||
ENTITIES
|
||||
"amp" 38
|
||||
"lt" 60
|
||||
"gt" 62
|
||||
"quot" 34
|
||||
"apos" 39
|
||||
|
||||
FEATURES
|
||||
MINIMIZE
|
||||
DATATAG NO
|
||||
OMITTAG NO
|
||||
RANK NO
|
||||
SHORTTAG
|
||||
STARTTAG
|
||||
EMPTY NO
|
||||
UNCLOSED NO
|
||||
NETENABL IMMEDNET
|
||||
ENDTAG
|
||||
EMPTY NO
|
||||
UNCLOSED NO
|
||||
ATTRIB
|
||||
DEFAULT YES
|
||||
OMITNAME NO
|
||||
VALUE NO
|
||||
EMPTYNRM YES
|
||||
IMPLYDEF
|
||||
ATTLIST NO
|
||||
DOCTYPE NO
|
||||
ELEMENT NO
|
||||
ENTITY NO
|
||||
NOTATION NO
|
||||
LINK
|
||||
SIMPLE NO
|
||||
IMPLICIT NO
|
||||
EXPLICIT NO
|
||||
OTHER
|
||||
CONCUR NO
|
||||
SUBDOC NO
|
||||
FORMAL NO
|
||||
URN NO
|
||||
KEEPRSRE YES
|
||||
VALIDITY TYPE
|
||||
ENTITIES
|
||||
REF ANY
|
||||
INTEGRAL YES
|
||||
APPINFO NONE
|
||||
SEEALSO "ISO 8879:1986//NOTATION
|
||||
Extensible Markup Language (XML) 1.0//EN"
|
||||
>
|
|
@ -0,0 +1 @@
|
|||
SGMLDECL "xml.dcl"
|
|
@ -0,0 +1,286 @@
|
|||
<?xml version='1.0'?>
|
||||
<?xml-stylesheet href="../../2008/09/xsd.xsl" type="text/xsl"?>
|
||||
<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns ="http://www.w3.org/1999/xhtml"
|
||||
xml:lang="en">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<div>
|
||||
<h1>About the XML namespace</h1>
|
||||
|
||||
<div class="bodytext">
|
||||
<p>
|
||||
This schema document describes the XML namespace, in a form
|
||||
suitable for import by other schema documents.
|
||||
</p>
|
||||
<p>
|
||||
See <a href="http://www.w3.org/XML/1998/namespace.html">
|
||||
http://www.w3.org/XML/1998/namespace.html</a> and
|
||||
<a href="http://www.w3.org/TR/REC-xml">
|
||||
http://www.w3.org/TR/REC-xml</a> for information
|
||||
about this namespace.
|
||||
</p>
|
||||
<p>
|
||||
Note that local names in this namespace are intended to be
|
||||
defined only by the World Wide Web Consortium or its subgroups.
|
||||
The names currently defined in this namespace are listed below.
|
||||
They should not be used with conflicting semantics by any Working
|
||||
Group, specification, or document instance.
|
||||
</p>
|
||||
<p>
|
||||
See further below in this document for more information about <a
|
||||
href="#usage">how to refer to this schema document from your own
|
||||
XSD schema documents</a> and about <a href="#nsversioning">the
|
||||
namespace-versioning policy governing this schema document</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:attribute name="lang">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<div>
|
||||
|
||||
<h3>lang (as an attribute name)</h3>
|
||||
<p>
|
||||
denotes an attribute whose value
|
||||
is a language code for the natural language of the content of
|
||||
any element; its value is inherited. This name is reserved
|
||||
by virtue of its definition in the XML specification.</p>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<h4>Notes</h4>
|
||||
<p>
|
||||
Attempting to install the relevant ISO 2- and 3-letter
|
||||
codes as the enumerated possible values is probably never
|
||||
going to be a realistic possibility.
|
||||
</p>
|
||||
<p>
|
||||
See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
|
||||
http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
|
||||
and the IANA language subtag registry at
|
||||
<a href="http://www.iana.org/assignments/language-subtag-registry">
|
||||
http://www.iana.org/assignments/language-subtag-registry</a>
|
||||
for further information.
|
||||
</p>
|
||||
<p>
|
||||
The union allows for the 'un-declaration' of xml:lang with
|
||||
the empty string.
|
||||
</p>
|
||||
</div>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:union memberTypes="xs:language">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value=""/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:union>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
|
||||
<xs:attribute name="space">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<div>
|
||||
|
||||
<h3>space (as an attribute name)</h3>
|
||||
<p>
|
||||
denotes an attribute whose
|
||||
value is a keyword indicating what whitespace processing
|
||||
discipline is intended for the content of the element; its
|
||||
value is inherited. This name is reserved by virtue of its
|
||||
definition in the XML specification.</p>
|
||||
|
||||
</div>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="default"/>
|
||||
<xs:enumeration value="preserve"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
|
||||
<xs:attribute name="base" type="xs:anyURI"> <xs:annotation>
|
||||
<xs:documentation>
|
||||
<div>
|
||||
|
||||
<h3>base (as an attribute name)</h3>
|
||||
<p>
|
||||
denotes an attribute whose value
|
||||
provides a URI to be used as the base for interpreting any
|
||||
relative URIs in the scope of the element on which it
|
||||
appears; its value is inherited. This name is reserved
|
||||
by virtue of its definition in the XML Base specification.</p>
|
||||
|
||||
<p>
|
||||
See <a
|
||||
href="http://www.w3.org/TR/xmlbase/">http://www.w3.org/TR/xmlbase/</a>
|
||||
for information about this attribute.
|
||||
</p>
|
||||
</div>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
|
||||
<xs:attribute name="id" type="xs:ID">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<div>
|
||||
|
||||
<h3>id (as an attribute name)</h3>
|
||||
<p>
|
||||
denotes an attribute whose value
|
||||
should be interpreted as if declared to be of type ID.
|
||||
This name is reserved by virtue of its definition in the
|
||||
xml:id specification.</p>
|
||||
|
||||
<p>
|
||||
See <a
|
||||
href="http://www.w3.org/TR/xml-id/">http://www.w3.org/TR/xml-id/</a>
|
||||
for information about this attribute.
|
||||
</p>
|
||||
</div>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
|
||||
<xs:attributeGroup name="specialAttrs">
|
||||
<xs:attribute ref="xml:base"/>
|
||||
<xs:attribute ref="xml:lang"/>
|
||||
<xs:attribute ref="xml:space"/>
|
||||
<xs:attribute ref="xml:id"/>
|
||||
</xs:attributeGroup>
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<div>
|
||||
|
||||
<h3>Father (in any context at all)</h3>
|
||||
|
||||
<div class="bodytext">
|
||||
<p>
|
||||
denotes Jon Bosak, the chair of
|
||||
the original XML Working Group. This name is reserved by
|
||||
the following decision of the W3C XML Plenary and
|
||||
XML Coordination groups:
|
||||
</p>
|
||||
<blockquote>
|
||||
<p>
|
||||
In appreciation for his vision, leadership and
|
||||
dedication the W3C XML Plenary on this 10th day of
|
||||
February, 2000, reserves for Jon Bosak in perpetuity
|
||||
the XML name "xml:Father".
|
||||
</p>
|
||||
</blockquote>
|
||||
</div>
|
||||
</div>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<div xml:id="usage" id="usage">
|
||||
<h2><a name="usage">About this schema document</a></h2>
|
||||
|
||||
<div class="bodytext">
|
||||
<p>
|
||||
This schema defines attributes and an attribute group suitable
|
||||
for use by schemas wishing to allow <code>xml:base</code>,
|
||||
<code>xml:lang</code>, <code>xml:space</code> or
|
||||
<code>xml:id</code> attributes on elements they define.
|
||||
</p>
|
||||
<p>
|
||||
To enable this, such a schema must import this schema for
|
||||
the XML namespace, e.g. as follows:
|
||||
</p>
|
||||
<pre>
|
||||
<schema . . .>
|
||||
. . .
|
||||
<import namespace="http://www.w3.org/XML/1998/namespace"
|
||||
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
|
||||
</pre>
|
||||
<p>
|
||||
or
|
||||
</p>
|
||||
<pre>
|
||||
<import namespace="http://www.w3.org/XML/1998/namespace"
|
||||
schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
|
||||
</pre>
|
||||
<p>
|
||||
Subsequently, qualified reference to any of the attributes or the
|
||||
group defined below will have the desired effect, e.g.
|
||||
</p>
|
||||
<pre>
|
||||
<type . . .>
|
||||
. . .
|
||||
<attributeGroup ref="xml:specialAttrs"/>
|
||||
</pre>
|
||||
<p>
|
||||
will define a type which will schema-validate an instance element
|
||||
with any of those attributes.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<div id="nsversioning" xml:id="nsversioning">
|
||||
<h2><a name="nsversioning">Versioning policy for this schema document</a></h2>
|
||||
<div class="bodytext">
|
||||
<p>
|
||||
In keeping with the XML Schema WG's standard versioning
|
||||
policy, this schema document will persist at
|
||||
<a href="http://www.w3.org/2009/01/xml.xsd">
|
||||
http://www.w3.org/2009/01/xml.xsd</a>.
|
||||
</p>
|
||||
<p>
|
||||
At the date of issue it can also be found at
|
||||
<a href="http://www.w3.org/2001/xml.xsd">
|
||||
http://www.w3.org/2001/xml.xsd</a>.
|
||||
</p>
|
||||
<p>
|
||||
The schema document at that URI may however change in the future,
|
||||
in order to remain compatible with the latest version of XML
|
||||
Schema itself, or with the XML namespace itself. In other words,
|
||||
if the XML Schema or XML namespaces change, the version of this
|
||||
document at <a href="http://www.w3.org/2001/xml.xsd">
|
||||
http://www.w3.org/2001/xml.xsd
|
||||
</a>
|
||||
will change accordingly; the version at
|
||||
<a href="http://www.w3.org/2009/01/xml.xsd">
|
||||
http://www.w3.org/2009/01/xml.xsd
|
||||
</a>
|
||||
will not change.
|
||||
</p>
|
||||
<p>
|
||||
Previous dated (and unchanging) versions of this schema
|
||||
document are at:
|
||||
</p>
|
||||
<ul>
|
||||
<li><a href="http://www.w3.org/2009/01/xml.xsd">
|
||||
http://www.w3.org/2009/01/xml.xsd</a></li>
|
||||
<li><a href="http://www.w3.org/2007/08/xml.xsd">
|
||||
http://www.w3.org/2007/08/xml.xsd</a></li>
|
||||
<li><a href="http://www.w3.org/2004/10/xml.xsd">
|
||||
http://www.w3.org/2004/10/xml.xsd</a></li>
|
||||
<li><a href="http://www.w3.org/2001/03/xml.xsd">
|
||||
http://www.w3.org/2001/03/xml.xsd</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
</xs:schema>
|
|
@ -0,0 +1,318 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE schema
|
||||
PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd"
|
||||
[
|
||||
<!ATTLIST schema
|
||||
xmlns:ds CDATA #FIXED "http://www.w3.org/2000/09/xmldsig#">
|
||||
<!ENTITY dsig 'http://www.w3.org/2000/09/xmldsig#'>
|
||||
<!ENTITY % p ''>
|
||||
<!ENTITY % s ''>
|
||||
]>
|
||||
|
||||
<!-- Schema for XML Signatures
|
||||
http://www.w3.org/2000/09/xmldsig#
|
||||
$Revision: 1.2 $ on $Date: 2013-04-16 12:48:49 $ by $Author: denis $
|
||||
|
||||
Copyright 2001 The Internet Society and W3C (Massachusetts Institute
|
||||
of Technology, Institut National de Recherche en Informatique et en
|
||||
Automatique, Keio University). All Rights Reserved.
|
||||
http://www.w3.org/Consortium/Legal/
|
||||
|
||||
This document is governed by the W3C Software License [1] as described
|
||||
in the FAQ [2].
|
||||
|
||||
[1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
|
||||
[2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
|
||||
-->
|
||||
|
||||
|
||||
<schema xmlns="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
|
||||
targetNamespace="http://www.w3.org/2000/09/xmldsig#"
|
||||
version="0.1" elementFormDefault="qualified">
|
||||
|
||||
<!-- Basic Types Defined for Signatures -->
|
||||
|
||||
<simpleType name="CryptoBinary">
|
||||
<restriction base="base64Binary">
|
||||
</restriction>
|
||||
</simpleType>
|
||||
|
||||
<!-- Start Signature -->
|
||||
|
||||
<element name="Signature" type="ds:SignatureType"/>
|
||||
<complexType name="SignatureType">
|
||||
<sequence>
|
||||
<element ref="ds:SignedInfo"/>
|
||||
<element ref="ds:SignatureValue"/>
|
||||
<element ref="ds:KeyInfo" minOccurs="0"/>
|
||||
<element ref="ds:Object" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</sequence>
|
||||
<attribute name="Id" type="ID" use="optional"/>
|
||||
</complexType>
|
||||
|
||||
<element name="SignatureValue" type="ds:SignatureValueType"/>
|
||||
<complexType name="SignatureValueType">
|
||||
<simpleContent>
|
||||
<extension base="base64Binary">
|
||||
<attribute name="Id" type="ID" use="optional"/>
|
||||
</extension>
|
||||
</simpleContent>
|
||||
</complexType>
|
||||
|
||||
<!-- Start SignedInfo -->
|
||||
|
||||
<element name="SignedInfo" type="ds:SignedInfoType"/>
|
||||
<complexType name="SignedInfoType">
|
||||
<sequence>
|
||||
<element ref="ds:CanonicalizationMethod"/>
|
||||
<element ref="ds:SignatureMethod"/>
|
||||
<element ref="ds:Reference" maxOccurs="unbounded"/>
|
||||
</sequence>
|
||||
<attribute name="Id" type="ID" use="optional"/>
|
||||
</complexType>
|
||||
|
||||
<element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType"/>
|
||||
<complexType name="CanonicalizationMethodType" mixed="true">
|
||||
<sequence>
|
||||
<any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<!-- (0,unbounded) elements from (1,1) namespace -->
|
||||
</sequence>
|
||||
<attribute name="Algorithm" type="anyURI" use="required"/>
|
||||
</complexType>
|
||||
|
||||
<element name="SignatureMethod" type="ds:SignatureMethodType"/>
|
||||
<complexType name="SignatureMethodType" mixed="true">
|
||||
<sequence>
|
||||
<element name="HMACOutputLength" minOccurs="0" type="ds:HMACOutputLengthType"/>
|
||||
<any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<!-- (0,unbounded) elements from (1,1) external namespace -->
|
||||
</sequence>
|
||||
<attribute name="Algorithm" type="anyURI" use="required"/>
|
||||
</complexType>
|
||||
|
||||
<!-- Start Reference -->
|
||||
|
||||
<element name="Reference" type="ds:ReferenceType"/>
|
||||
<complexType name="ReferenceType">
|
||||
<sequence>
|
||||
<element ref="ds:Transforms" minOccurs="0"/>
|
||||
<element ref="ds:DigestMethod"/>
|
||||
<element ref="ds:DigestValue"/>
|
||||
</sequence>
|
||||
<attribute name="Id" type="ID" use="optional"/>
|
||||
<attribute name="URI" type="anyURI" use="optional"/>
|
||||
<attribute name="Type" type="anyURI" use="optional"/>
|
||||
</complexType>
|
||||
|
||||
<element name="Transforms" type="ds:TransformsType"/>
|
||||
<complexType name="TransformsType">
|
||||
<sequence>
|
||||
<element ref="ds:Transform" maxOccurs="unbounded"/>
|
||||
</sequence>
|
||||
</complexType>
|
||||
|
||||
<element name="Transform" type="ds:TransformType"/>
|
||||
<complexType name="TransformType" mixed="true">
|
||||
<choice minOccurs="0" maxOccurs="unbounded">
|
||||
<any namespace="##other" processContents="lax"/>
|
||||
<!-- (1,1) elements from (0,unbounded) namespaces -->
|
||||
<element name="XPath" type="string"/>
|
||||
</choice>
|
||||
<attribute name="Algorithm" type="anyURI" use="required"/>
|
||||
</complexType>
|
||||
|
||||
<!-- End Reference -->
|
||||
|
||||
<element name="DigestMethod" type="ds:DigestMethodType"/>
|
||||
<complexType name="DigestMethodType" mixed="true">
|
||||
<sequence>
|
||||
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</sequence>
|
||||
<attribute name="Algorithm" type="anyURI" use="required"/>
|
||||
</complexType>
|
||||
|
||||
<element name="DigestValue" type="ds:DigestValueType"/>
|
||||
<simpleType name="DigestValueType">
|
||||
<restriction base="base64Binary"/>
|
||||
</simpleType>
|
||||
|
||||
<!-- End SignedInfo -->
|
||||
|
||||
<!-- Start KeyInfo -->
|
||||
|
||||
<element name="KeyInfo" type="ds:KeyInfoType"/>
|
||||
<complexType name="KeyInfoType" mixed="true">
|
||||
<choice maxOccurs="unbounded">
|
||||
<element ref="ds:KeyName"/>
|
||||
<element ref="ds:KeyValue"/>
|
||||
<element ref="ds:RetrievalMethod"/>
|
||||
<element ref="ds:X509Data"/>
|
||||
<element ref="ds:PGPData"/>
|
||||
<element ref="ds:SPKIData"/>
|
||||
<element ref="ds:MgmtData"/>
|
||||
<any processContents="lax" namespace="##other"/>
|
||||
<!-- (1,1) elements from (0,unbounded) namespaces -->
|
||||
</choice>
|
||||
<attribute name="Id" type="ID" use="optional"/>
|
||||
</complexType>
|
||||
|
||||
<element name="KeyName" type="string"/>
|
||||
<element name="MgmtData" type="string"/>
|
||||
|
||||
<element name="KeyValue" type="ds:KeyValueType"/>
|
||||
<complexType name="KeyValueType" mixed="true">
|
||||
<choice>
|
||||
<element ref="ds:DSAKeyValue"/>
|
||||
<element ref="ds:RSAKeyValue"/>
|
||||
<any namespace="##other" processContents="lax"/>
|
||||
</choice>
|
||||
</complexType>
|
||||
|
||||
<element name="RetrievalMethod" type="ds:RetrievalMethodType"/>
|
||||
<complexType name="RetrievalMethodType">
|
||||
<sequence>
|
||||
<element ref="ds:Transforms" minOccurs="0"/>
|
||||
</sequence>
|
||||
<attribute name="URI" type="anyURI"/>
|
||||
<attribute name="Type" type="anyURI" use="optional"/>
|
||||
</complexType>
|
||||
|
||||
<!-- Start X509Data -->
|
||||
|
||||
<element name="X509Data" type="ds:X509DataType"/>
|
||||
<complexType name="X509DataType">
|
||||
<sequence maxOccurs="unbounded">
|
||||
<choice>
|
||||
<element name="X509IssuerSerial" type="ds:X509IssuerSerialType"/>
|
||||
<element name="X509SKI" type="base64Binary"/>
|
||||
<element name="X509SubjectName" type="string"/>
|
||||
<element name="X509Certificate" type="base64Binary"/>
|
||||
<element name="X509CRL" type="base64Binary"/>
|
||||
<any namespace="##other" processContents="lax"/>
|
||||
</choice>
|
||||
</sequence>
|
||||
</complexType>
|
||||
|
||||
<complexType name="X509IssuerSerialType">
|
||||
<sequence>
|
||||
<element name="X509IssuerName" type="string"/>
|
||||
<element name="X509SerialNumber" type="integer"/>
|
||||
</sequence>
|
||||
</complexType>
|
||||
|
||||
<!-- End X509Data -->
|
||||
|
||||
<!-- Begin PGPData -->
|
||||
|
||||
<element name="PGPData" type="ds:PGPDataType"/>
|
||||
<complexType name="PGPDataType">
|
||||
<choice>
|
||||
<sequence>
|
||||
<element name="PGPKeyID" type="base64Binary"/>
|
||||
<element name="PGPKeyPacket" type="base64Binary" minOccurs="0"/>
|
||||
<any namespace="##other" processContents="lax" minOccurs="0"
|
||||
maxOccurs="unbounded"/>
|
||||
</sequence>
|
||||
<sequence>
|
||||
<element name="PGPKeyPacket" type="base64Binary"/>
|
||||
<any namespace="##other" processContents="lax" minOccurs="0"
|
||||
maxOccurs="unbounded"/>
|
||||
</sequence>
|
||||
</choice>
|
||||
</complexType>
|
||||
|
||||
<!-- End PGPData -->
|
||||
|
||||
<!-- Begin SPKIData -->
|
||||
|
||||
<element name="SPKIData" type="ds:SPKIDataType"/>
|
||||
<complexType name="SPKIDataType">
|
||||
<sequence maxOccurs="unbounded">
|
||||
<element name="SPKISexp" type="base64Binary"/>
|
||||
<any namespace="##other" processContents="lax" minOccurs="0"/>
|
||||
</sequence>
|
||||
</complexType>
|
||||
|
||||
<!-- End SPKIData -->
|
||||
|
||||
<!-- End KeyInfo -->
|
||||
|
||||
<!-- Start Object (Manifest, SignatureProperty) -->
|
||||
|
||||
<element name="Object" type="ds:ObjectType"/>
|
||||
<complexType name="ObjectType" mixed="true">
|
||||
<sequence minOccurs="0" maxOccurs="unbounded">
|
||||
<any namespace="##any" processContents="lax"/>
|
||||
</sequence>
|
||||
<attribute name="Id" type="ID" use="optional"/>
|
||||
<attribute name="MimeType" type="string" use="optional"/> <!-- add a grep facet -->
|
||||
<attribute name="Encoding" type="anyURI" use="optional"/>
|
||||
</complexType>
|
||||
|
||||
<element name="Manifest" type="ds:ManifestType"/>
|
||||
<complexType name="ManifestType">
|
||||
<sequence>
|
||||
<element ref="ds:Reference" maxOccurs="unbounded"/>
|
||||
</sequence>
|
||||
<attribute name="Id" type="ID" use="optional"/>
|
||||
</complexType>
|
||||
|
||||
<element name="SignatureProperties" type="ds:SignaturePropertiesType"/>
|
||||
<complexType name="SignaturePropertiesType">
|
||||
<sequence>
|
||||
<element ref="ds:SignatureProperty" maxOccurs="unbounded"/>
|
||||
</sequence>
|
||||
<attribute name="Id" type="ID" use="optional"/>
|
||||
</complexType>
|
||||
|
||||
<element name="SignatureProperty" type="ds:SignaturePropertyType"/>
|
||||
<complexType name="SignaturePropertyType" mixed="true">
|
||||
<choice maxOccurs="unbounded">
|
||||
<any namespace="##other" processContents="lax"/>
|
||||
<!-- (1,1) elements from (1,unbounded) namespaces -->
|
||||
</choice>
|
||||
<attribute name="Target" type="anyURI" use="required"/>
|
||||
<attribute name="Id" type="ID" use="optional"/>
|
||||
</complexType>
|
||||
|
||||
<!-- End Object (Manifest, SignatureProperty) -->
|
||||
|
||||
<!-- Start Algorithm Parameters -->
|
||||
|
||||
<simpleType name="HMACOutputLengthType">
|
||||
<restriction base="integer"/>
|
||||
</simpleType>
|
||||
|
||||
<!-- Start KeyValue Element-types -->
|
||||
|
||||
<element name="DSAKeyValue" type="ds:DSAKeyValueType"/>
|
||||
<complexType name="DSAKeyValueType">
|
||||
<sequence>
|
||||
<sequence minOccurs="0">
|
||||
<element name="P" type="ds:CryptoBinary"/>
|
||||
<element name="Q" type="ds:CryptoBinary"/>
|
||||
</sequence>
|
||||
<element name="G" type="ds:CryptoBinary" minOccurs="0"/>
|
||||
<element name="Y" type="ds:CryptoBinary"/>
|
||||
<element name="J" type="ds:CryptoBinary" minOccurs="0"/>
|
||||
<sequence minOccurs="0">
|
||||
<element name="Seed" type="ds:CryptoBinary"/>
|
||||
<element name="PgenCounter" type="ds:CryptoBinary"/>
|
||||
</sequence>
|
||||
</sequence>
|
||||
</complexType>
|
||||
|
||||
<element name="RSAKeyValue" type="ds:RSAKeyValueType"/>
|
||||
<complexType name="RSAKeyValueType">
|
||||
<sequence>
|
||||
<element name="Modulus" type="ds:CryptoBinary"/>
|
||||
<element name="Exponent" type="ds:CryptoBinary"/>
|
||||
</sequence>
|
||||
</complexType>
|
||||
|
||||
<!-- End KeyValue Element-types -->
|
||||
|
||||
<!-- End Signature -->
|
||||
|
||||
</schema>
|
|
@ -0,0 +1,10 @@
|
|||
`diff -uNr xmlstarlet-1.6.1-orig/configure.ac xmlstarlet-1.6.1/configure.ac
|
||||
--- xmlstarlet-1.6.1-orig/configure.ac 2013-12-22 17:00:28.000000000 -0500
|
||||
+++ xmlstarlet-1.6.1/configure.ac 2014-12-08 17:12:47.836499274 -0500
|
||||
@@ -1,5 +1,5 @@
|
||||
AC_PREREQ([2.62])
|
||||
-AC_INIT([XMLStarlet], [m4_esyscmd_s([git describe --tags --dirty])],
|
||||
+AC_INIT([XMLStarlet], [m4_esyscmd_s([if test -d .git ; then git describe --tags --dirty ; fi])],
|
||||
[http://sourceforge.net/projects/xmlstar/support],
|
||||
[],
|
||||
[http://xmlstar.sourceforge.net/])
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"xmlstarlet-1.6.1.tar.gz": "15d838c4f3375332fd95554619179b69e4ec91418a3a5296e7c631b7ed19e7ca"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,207 @@
|
|||
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
||||
|
||||
Summary: Command Line XML Toolkit
|
||||
Name: xmlstarlet
|
||||
Version: 1.6.1
|
||||
Release: 16%{?dist}
|
||||
License: MIT
|
||||
URL: http://xmlstar.sourceforge.net/
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
Source0: https://downloads.sourceforge.net/project/xmlstar/%{name}/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
# https://sourceforge.net/p/xmlstar/bugs/109/
|
||||
Patch0: xmlstarlet-1.6.1-nogit.patch
|
||||
# http://sourceforge.net/tracker/?func=detail&aid=3266898&group_id=66612&atid=515106
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: automake
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: libxslt-devel
|
||||
BuildRequires: libxml2-devel >= 2.6.23
|
||||
BuildRequires: docbook5-schemas
|
||||
|
||||
|
||||
%description
|
||||
XMLStarlet is a set of command line utilities which can be used
|
||||
to transform, query, validate, and edit XML documents and files
|
||||
using simple set of shell commands in similar way it is done for
|
||||
plain text files using UNIX grep, sed, awk, diff, patch, join, etc
|
||||
commands.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .nogit
|
||||
|
||||
|
||||
%build
|
||||
autoreconf -i
|
||||
%configure --disable-static-libs --with-libxml-include-prefix=%{_includedir}/libxml2 --docdir=%{_pkgdocdir} # --libdir=%{_libdir}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -fr %{buildroot}
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
# Avoid name kludging in autotools
|
||||
mv $RPM_BUILD_ROOT%{_bindir}/xml $RPM_BUILD_ROOT%{_bindir}/xmlstarlet
|
||||
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
|
||||
%files
|
||||
%doc AUTHORS ChangeLog NEWS README Copyright TODO
|
||||
%doc %{_pkgdocdir}/*
|
||||
%{_mandir}/man1/xmlstarlet.1*
|
||||
%{_bindir}/xmlstarlet
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> - 1.6.1-16
|
||||
* Initial CBL-Mariner import from Fedora 33 (license: MIT)
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Tue Mar 01 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 1.6.1-6
|
||||
- Mark installed documentation as %%doc (#1308255)
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Dec 8 2014 Paul W. Frields <stickster@gmail.com> - 1.6.1-3
|
||||
- Fix noisy git related spew (#1171864)
|
||||
|
||||
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Wed Aug 13 2014 Paul W. Frields <stickster@gmail.com> - 1.6.1-1
|
||||
- Update to upstream 1.6.1 (#1129106)
|
||||
|
||||
* Mon Jun 16 2014 Paul W. Frields <stickster@gmail.com> - 1.6.0-1
|
||||
- Update to upstream 1.6.0 (#1037400, #1107292)
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sat Jul 27 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.5.0-2
|
||||
- Install docs to %%{_pkgdocdir} where available.
|
||||
|
||||
* Wed Jul 10 2013 Paul W. Frields <stickster@gmail.com> - 1.5.0-1
|
||||
- Update to upstream 1.5.0 (#983025)
|
||||
- Fix man page rendering (#981050)
|
||||
- Use standard docdir
|
||||
|
||||
* Mon Mar 25 2013 Paul W. Frields <stickster@gmail.com> - 1.4.2-1
|
||||
- Update to upstream 1.4.2 (#851880)
|
||||
|
||||
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Wed Feb 15 2012 Paul W. Frields <stickster@gmail.com> - 1.3.1-2
|
||||
- Fix build with configure flag
|
||||
|
||||
* Wed Feb 15 2012 Paul W. Frields <stickster@gmail.com> - 1.3.1-1
|
||||
- Update to upstream 1.3.1 (#782066)
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Mon Oct 3 2011 Paul W. Frields <stickster@gmail.com> - 1.3.0-1
|
||||
- Update to upstream 1.3.0
|
||||
|
||||
* Fri Aug 26 2011 Paul W. Frields <stickster@gmail.com> - 1.2.1-1
|
||||
- Update to upstream 1.2.1
|
||||
|
||||
* Sun Apr 10 2011 Paul W. Frields <stickster@gmail.com> - 1.1.0-1
|
||||
- Update to upstream 1.1.0
|
||||
|
||||
* Thu Apr 07 2011 Dan Horák <dan[at]danny.cz> - 1.0.6-2
|
||||
- fix build on 64-bit big-endians
|
||||
|
||||
* Sat Mar 26 2011 Paul W. Frields <stickster@gmail.com> - 1.0.6-1
|
||||
- Update to upstream 1.0.6
|
||||
- Drop obsolete patch
|
||||
|
||||
* Thu Feb 17 2011 Paul W. Frields <stickster@gmail.com> - 1.0.5-1
|
||||
- Update to upstream 1.0.5
|
||||
- Update libxml2 requirement
|
||||
- Drop unnecessary patch, naming issue fixed upstream
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Wed Jan 19 2011 Paul W. Frields <stickster@gmail.com> - 1.0.4-1
|
||||
- Update to new upstream 1.0.4
|
||||
- Drop patches for fixed upstream issues
|
||||
|
||||
* Fri Dec 17 2010 Paul W. Frields <stickster@gmail.com> - 1.0.3-1
|
||||
- Update to new upstream 1.0.3
|
||||
- Add %%check section for validation testing
|
||||
|
||||
* Mon Nov 1 2010 Paul W. Frields <stickster@gmail.com> - 1.0.2-1
|
||||
- Update to new upstream 1.0.2
|
||||
|
||||
* Sun Jan 10 2010 Paul W. Frields <stickster@gmail.com> - 1.0.1-9
|
||||
- Correct source URL
|
||||
|
||||
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Fri Mar 21 2008 Paul W. Frields <stickster@gmail.com> - 1.0.1-6
|
||||
- Rebuild to use FORTIFY_SOURCE correctly
|
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.1-5
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
* Sat Sep 2 2006 Paul W. Frields <stickster@gmail.com> - 1.0.1-4
|
||||
- Bump release for FC6 mass rebuild
|
||||
|
||||
* Fri Feb 17 2006 Paul W. Frields <stickster@gmail.com> - 1.0.1-3
|
||||
- FESCo mandated rebuild
|
||||
|
||||
* Wed Nov 23 2005 Paul W. Frields <stickster@gmail.com> - 1.0.1-2
|
||||
- Minor changes per review
|
||||
|
||||
* Tue Nov 22 2005 Paul W. Frields <stickster@gmail.com> - 1.0.1-1.2
|
||||
- Improve patching to conquer inconsistent naming
|
||||
|
||||
* Tue Nov 22 2005 Paul W. Frields <stickster@gmail.com> - 1.0.1-1.1
|
||||
- Initial RPM version
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
From c7d58a55ace0fe4233aac8dc335bea0745ef7dd9 Mon Sep 17 00:00:00 2001
|
||||
From: kalebskeithley <kaleb@redhat.com>
|
||||
Date: Thu, 21 May 2020 09:12:36 -0400
|
||||
Subject: [PATCH] Update elf-objfmt.c
|
||||
|
||||
tl;dnr: add support for note.gnu.property note sections.
|
||||
|
||||
ceph has a few optimized crc32 routines hand written in assembly in yasm format. (Nobody appears to have the stomach for rewriting them in another format.) Fedora requires that libraries be CET enabled. IOW all .o comprising a shared library need a note.gnu.properties NOTE section with some magic bits that tell the linker that the .o was compiled with the appropriate options.
|
||||
|
||||
I can add such a note section, but without this change yasm will not set the correct section flag and I have to resort to some dd magic to set the correct section type before linking all the .o files into the shlib.
|
||||
---
|
||||
modules/objfmts/elf/elf-objfmt.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/modules/objfmts/elf/elf-objfmt.c b/modules/objfmts/elf/elf-objfmt.c
|
||||
index 0c3a1426..c4360c03 100644
|
||||
--- a/modules/objfmts/elf/elf-objfmt.c
|
||||
+++ b/modules/objfmts/elf/elf-objfmt.c
|
||||
@@ -1077,6 +1077,10 @@ elf_objfmt_section_switch(yasm_object *object, yasm_valparamhead *valparams,
|
||||
align = 0;
|
||||
data.type = SHT_PROGBITS;
|
||||
data.flags = 0;
|
||||
+ } else if (strcmp(sectname, ".note.gnu.property") == 0) {
|
||||
+ align = 8;
|
||||
+ data.type = SHT_NOTE;
|
||||
+ data.flags = 0;
|
||||
} else {
|
||||
/* Default to code */
|
||||
align = 1;
|
||||
--
|
||||
2.26.2
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"yasm-1.3.0.tar.gz": "3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,229 @@
|
|||
Summary: Modular Assembler
|
||||
Name: yasm
|
||||
Version: 1.3.0
|
||||
Release: 13%{?dist}
|
||||
License: BSD and (GPLv2+ or Artistic or LGPLv2+) and LGPLv2
|
||||
URL: https://yasm.tortall.net/
|
||||
Vendor: Microsoft
|
||||
Distribution: Mariner
|
||||
Source0: http://www.tortall.net/projects/%{name}/releases/%{name}-%{version}.tar.gz
|
||||
Patch1: 0001-Update-elf-objfmt.c.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: bison
|
||||
BuildRequires: byacc
|
||||
BuildRequires: gettext
|
||||
BuildRequires: xmlto
|
||||
Provides: bundled(md5-plumb)
|
||||
|
||||
|
||||
%description
|
||||
Yasm is a complete rewrite of the NASM assembler under the "new" BSD License
|
||||
(some portions are under other licenses, see COPYING for details). It is
|
||||
designed from the ground up to allow for multiple assembler syntaxes to be
|
||||
supported (eg, NASM, TASM, GAS, etc.) in addition to multiple output object
|
||||
formats and even multiple instruction sets. Another primary module of the
|
||||
overall design is an optimizer module.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Header files and static libraries for the yasm Modular Assembler
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Provides: %{name}-static = %{version}-%{release}
|
||||
Provides: bundled(md5-plumb)
|
||||
|
||||
%description devel
|
||||
Yasm is a complete rewrite of the NASM assembler under the "new" BSD License
|
||||
(some portions are under other licenses, see COPYING for details). It is
|
||||
designed from the ground up to allow for multiple assembler syntaxes to be
|
||||
supported (eg, NASM, TASM, GAS, etc.) in addition to multiple output object
|
||||
formats and even multiple instruction sets. Another primary module of the
|
||||
overall design is an optimizer module.
|
||||
Install this package if you need to rebuild applications that use yasm.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%files
|
||||
%license Artistic.txt BSD.txt COPYING GNU_GPL-2.0 GNU_LGPL-2.0
|
||||
%doc AUTHORS
|
||||
%{_bindir}/vsyasm
|
||||
%{_bindir}/yasm
|
||||
%{_bindir}/ytasm
|
||||
%{_mandir}/man1/yasm.1*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/libyasm/
|
||||
%{_includedir}/libyasm-stdint.h
|
||||
%{_includedir}/libyasm.h
|
||||
%{_libdir}/libyasm.a
|
||||
%{_mandir}/man7/yasm_*.7*
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 Thomas Crain <thcrain@microsoft.com> 1.3.0-13
|
||||
- Initial CBL-Mariner version imported from Fedora 33 (license: MIT)
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Oct 01 2015 Christian Dersch <lupinix@mailbox.org> - 1.3.0-2
|
||||
- Fixed bogus date (RHBZ #1190908)
|
||||
|
||||
* Wed Sep 30 2015 Christian Dersch <lupinix@mailbox.org> - 1.3.0-1
|
||||
- new version
|
||||
- spec cleanup
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Wed Oct 17 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.0-3
|
||||
- Add missing Provides: bundled(md5-plumb)
|
||||
|
||||
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Thu Mar 15 2012 Matthias Saou <matthias@saou.eu> 1.2.0-1
|
||||
- Update to 1.2.0 (#750234).
|
||||
- Minor spec file cleanups (keep EPEL compatibility, #802162).
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Sun Aug 15 2010 Matthias Saou <http://freshrpms.net/> 1.1.0-1
|
||||
- Update to 1.1.0 (#622240).
|
||||
|
||||
* Thu Jul 29 2010 Matthias Saou <http://freshrpms.net/> 1.0.1-2
|
||||
- Provide static sub-package from devel (#609626).
|
||||
|
||||
* Sun May 23 2010 Matthias Saou <http://freshrpms.net/> 1.0.1-1
|
||||
- Update to 1.0.1 (#593250).
|
||||
|
||||
* Wed Apr 28 2010 Matthias Saou <http://freshrpms.net/> 1.0.0-1
|
||||
- Update to 1.0.0 (#580872).
|
||||
- Include new vsyasm binary.
|
||||
|
||||
* Mon Dec 7 2009 Matthias Saou <http://freshrpms.net/> 0.8.0-1
|
||||
- Update to 0.8.0 (#523729).
|
||||
- Include new ytasm binary.
|
||||
|
||||
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Wed Dec 24 2008 Matthias Saou <http://freshrpms.net/> 0.7.2-1
|
||||
- Update to 0.7.2.
|
||||
- Remove useless /sbin/ldconfig calls, as we don't ship any shared library.
|
||||
- Update summary.
|
||||
|
||||
* Sat Sep 6 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.7.1-2
|
||||
- fix license tag so that it doesn't trigger a false positive on the check
|
||||
script.
|
||||
|
||||
* Tue May 20 2008 Matthias Saou <http://freshrpms.net/> 0.7.1-1
|
||||
- Update to 0.7.1.
|
||||
|
||||
* Tue May 13 2008 Matthias Saou <http://freshrpms.net/> 0.7.0-1
|
||||
- Update to 0.7.0.
|
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org>
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
* Mon Sep 24 2007 Matthias Saou <http://freshrpms.net/> 0.6.2-1
|
||||
- Update to 0.6.2.
|
||||
|
||||
* Thu Aug 23 2007 Matthias Saou <http://freshrpms.net/> 0.6.1-3
|
||||
- Rebuild for new BuildID feature.
|
||||
|
||||
* Fri Aug 3 2007 Matthias Saou <http://freshrpms.net/> 0.6.1-2
|
||||
- Update License field, it wasn't simply "BSD"...
|
||||
|
||||
* Tue Jun 19 2007 Matthias Saou <http://freshrpms.net/> 0.6.1-1
|
||||
- Update to 0.6.1.
|
||||
|
||||
* Sun Feb 25 2007 Matthias Saou <http://freshrpms.net/> 0.6.0-1
|
||||
- Update to 0.6.0.
|
||||
|
||||
* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 0.5.0-2
|
||||
- FC6 rebuild.
|
||||
- Require the same release in the devel sub-package.
|
||||
|
||||
* Fri Jul 14 2006 Matthias Saou <http://freshrpms.net/> 0.5.0-1
|
||||
- Update to 0.5.0.
|
||||
- Remove empty files from %%doc.
|
||||
- There are no more shared libraries, only a static one, so update %%files.
|
||||
|
||||
* Mon Mar 6 2006 Matthias Saou <http://freshrpms.net/> 0.4.0-6
|
||||
- FC5 rebuild.
|
||||
|
||||
* Thu Feb 9 2006 Matthias Saou <http://freshrpms.net/> 0.4.0-5
|
||||
- Rebuild for new gcc/glibc.
|
||||
|
||||
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.4.0-4
|
||||
- rebuild on all arches
|
||||
|
||||
* Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
||||
- rebuilt
|
||||
|
||||
* Mon Feb 14 2005 David Woodhouse <dwmw2@infradead.org> 0.4.0-2
|
||||
- Fix corruption in genmacro
|
||||
|
||||
* Fri Jan 28 2005 Matthias Saou <http://freshrpms.net/> 0.4.0-1
|
||||
- Initial RPM release.
|
294
cgmanifest.json
294
cgmanifest.json
|
@ -460,6 +460,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "byacc",
|
||||
"version": "1.9.20200330",
|
||||
"downloadUrl": "https://invisible-mirror.net/archives/byacc/byacc-20200330.tgz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -540,6 +550,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "ceph",
|
||||
"version": "15.2.4",
|
||||
"downloadUrl": "https://download.ceph.com/tarballs/ceph-15.2.4.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -670,13 +690,23 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "CUnit",
|
||||
"version": "2.1.3",
|
||||
"downloadUrl": "https://downloads.sourceforge.net/CUnit/CUnit-2.1-3.tar.bz2"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "Cython",
|
||||
"version": "0.28.5",
|
||||
"downloadUrl": "https://github.com/cython/cython/archive/0.28.5.tar.gz"
|
||||
"version": "0.29.13",
|
||||
"downloadUrl": "https://github.com/cython/cython/archive/0.29.13.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -860,6 +890,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "docbook5-schemas",
|
||||
"version": "5.1",
|
||||
"downloadUrl": "https://www.docbook.org/xml/5.1/docbook-v5.1-os.zip"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -1970,6 +2010,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "leveldb",
|
||||
"version": "1.22",
|
||||
"downloadUrl": "https://github.com/google/leveldb/archive/1.22/leveldb-1.22.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -2580,6 +2630,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "libstoragemgmt",
|
||||
"version": "1.8.4",
|
||||
"downloadUrl": "https://github.com/libstorage/libstoragemgmt/releases/download/1.8.4/libstoragemgmt-1.8.4.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -2820,6 +2880,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "lsb-release",
|
||||
"version": "1.4",
|
||||
"downloadUrl": "https://downloads.sourceforge.net/lsb/lsb-release-1.4.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -2950,6 +3020,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "mailcap",
|
||||
"version": "2.1.49",
|
||||
"downloadUrl": "https://pagure.io/releases/mailcap/mailcap-2.1.49.tar.xz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -3360,6 +3440,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "oath-toolkit",
|
||||
"version": "2.6.2",
|
||||
"downloadUrl": "https://download.savannah.gnu.org/releases/oath-toolkit/oath-toolkit-2.6.2.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -4250,6 +4340,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "python-cachetools",
|
||||
"version": "4.1.1",
|
||||
"downloadUrl": "https://pypi.python.org/packages/source/c/cachetools/cachetools-4.1.1.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -4280,6 +4380,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "python-cherrypy",
|
||||
"version": "18.6.0",
|
||||
"downloadUrl": "https://pypi.io/packages/source/C/CherryPy/CherryPy-18.6.0.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -4400,6 +4510,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "python-execnet",
|
||||
"version": "1.7.1",
|
||||
"downloadUrl": "https://pypi.io/packages/source/e/execnet/execnet-1.7.1.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -4430,6 +4550,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "python-google-auth",
|
||||
"version": "1.20.1",
|
||||
"downloadUrl": "https://pypi.python.org/packages/source/g/google-auth/google-auth-1.20.1.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -4560,6 +4690,26 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "python-jwt",
|
||||
"version": "1.0.0",
|
||||
"downloadUrl": "https://github.com/GehirnInc/python-jwt/archive/v1.0.0.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "python-kubernetes",
|
||||
"version": "11.0.0",
|
||||
"downloadUrl": "https://github.com/kubernetes-client/python/archive/v11.0.0.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -4570,6 +4720,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "python-logutils",
|
||||
"version": "0.3.5",
|
||||
"downloadUrl": "https://pypi.io/packages/source/l/logutils/logutils-0.3.5.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -4650,6 +4810,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "python-nocasedict",
|
||||
"version": "0.5.0",
|
||||
"downloadUrl": "https://github.com/pywbem/nocasedict/archive/0.5.0.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -4700,6 +4870,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "python-pecan",
|
||||
"version": "1.4.0",
|
||||
"downloadUrl": "https://pypi.io/packages/source/p/pecan/pecan-1.4.0.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -4830,6 +5010,36 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "python-pywbem",
|
||||
"version": "1.0.1",
|
||||
"downloadUrl": "https://github.com/pywbem/pywbem/archive/1.0.1.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "python-remoto",
|
||||
"version": "1.2.0",
|
||||
"downloadUrl": "https://pypi.io/packages/source/r/remoto/remoto-1.2.0.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "python-repoze-lru",
|
||||
"version": "0.7",
|
||||
"downloadUrl": "https://pypi.io/packages/source/r/remoto/remoto-0.7.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -4840,6 +5050,26 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "python-routes",
|
||||
"version": "2.4.1",
|
||||
"downloadUrl": "https://pypi.io/packages/source/R/Routes/Routes-2.4.1.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "python-rsa",
|
||||
"version": "4.6",
|
||||
"downloadUrl": "https://pypi.python.org/packages/source/r/rsa/rsa-4.6.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -4900,6 +5130,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "python-sphinxcontrib-websupport",
|
||||
"version": "1.1.2",
|
||||
"downloadUrl": " https://github.com/sphinx-doc/sphinxcontrib-websupport/archive/1.1.2.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -5010,6 +5250,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "python-yamlloader",
|
||||
"version": "0.5.4",
|
||||
"downloadUrl": "https://github.com/Phynix/yamlloader/archive/0.5.4.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -5100,6 +5350,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "rdma-core",
|
||||
"version": "31.0",
|
||||
"downloadUrl": "https://github.com/linux-rdma/rdma-core/releases/download/v31.0/rdma-core-31.0.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -5270,6 +5530,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "sgml-common",
|
||||
"version": "0.6.3",
|
||||
"downloadUrl": "ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/sgml-common-0.6.3.tgz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -5730,6 +6000,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "yasm",
|
||||
"version": "1.3.0",
|
||||
"downloadUrl": " http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -5740,6 +6020,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "xmlstarlet",
|
||||
"version": "1.6.1",
|
||||
"downloadUrl": "https://downloads.sourceforge.net/project/xmlstar/xmlstarlet/1.6.1/xmlstarlet-1.6.1.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
|
|
@ -78,7 +78,7 @@ zstd-libs-1.4.4-1.cm1.aarch64.rpm
|
|||
libtool-2.4.6-6.cm1.aarch64.rpm
|
||||
flex-2.6.4-6.cm1.aarch64.rpm
|
||||
flex-devel-2.6.4-6.cm1.aarch64.rpm
|
||||
bison-3.1-3.cm1.aarch64.rpm
|
||||
bison-3.1-4.cm1.aarch64.rpm
|
||||
popt-1.16-7.cm1.aarch64.rpm
|
||||
popt-devel-1.16-7.cm1.aarch64.rpm
|
||||
popt-lang-1.16-7.cm1.aarch64.rpm
|
||||
|
|
|
@ -78,7 +78,7 @@ zstd-libs-1.4.4-1.cm1.x86_64.rpm
|
|||
libtool-2.4.6-6.cm1.x86_64.rpm
|
||||
flex-2.6.4-6.cm1.x86_64.rpm
|
||||
flex-devel-2.6.4-6.cm1.x86_64.rpm
|
||||
bison-3.1-3.cm1.x86_64.rpm
|
||||
bison-3.1-4.cm1.x86_64.rpm
|
||||
popt-1.16-7.cm1.x86_64.rpm
|
||||
popt-devel-1.16-7.cm1.x86_64.rpm
|
||||
popt-lang-1.16-7.cm1.x86_64.rpm
|
||||
|
|
|
@ -11,8 +11,8 @@ bash-lang-4.4.18-5.cm1.aarch64.rpm
|
|||
binutils-2.32-3.cm1.aarch64.rpm
|
||||
binutils-debuginfo-2.32-3.cm1.aarch64.rpm
|
||||
binutils-devel-2.32-3.cm1.aarch64.rpm
|
||||
bison-3.1-3.cm1.aarch64.rpm
|
||||
bison-debuginfo-3.1-3.cm1.aarch64.rpm
|
||||
bison-3.1-4.cm1.aarch64.rpm
|
||||
bison-debuginfo-3.1-4.cm1.aarch64.rpm
|
||||
bzip2-1.0.6-15.cm1.aarch64.rpm
|
||||
bzip2-debuginfo-1.0.6-15.cm1.aarch64.rpm
|
||||
bzip2-devel-1.0.6-15.cm1.aarch64.rpm
|
||||
|
|
|
@ -11,8 +11,8 @@ bash-lang-4.4.18-5.cm1.x86_64.rpm
|
|||
binutils-2.32-3.cm1.x86_64.rpm
|
||||
binutils-debuginfo-2.32-3.cm1.x86_64.rpm
|
||||
binutils-devel-2.32-3.cm1.x86_64.rpm
|
||||
bison-3.1-3.cm1.x86_64.rpm
|
||||
bison-debuginfo-3.1-3.cm1.x86_64.rpm
|
||||
bison-3.1-4.cm1.x86_64.rpm
|
||||
bison-debuginfo-3.1-4.cm1.x86_64.rpm
|
||||
bzip2-1.0.6-15.cm1.x86_64.rpm
|
||||
bzip2-debuginfo-1.0.6-15.cm1.x86_64.rpm
|
||||
bzip2-devel-1.0.6-15.cm1.x86_64.rpm
|
||||
|
|
Загрузка…
Ссылка в новой задаче