Add compatibility package provides to several packages (#1192)

This commit is contained in:
Thomas Crain 2021-07-27 10:30:08 -07:00 committed by GitHub
parent c75c2d9213
commit 01ba39770c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 738 additions and 644 deletions

View File

@ -1,15 +1,14 @@
Summary: Boost
Name: boost
Version: 1.66.0
Release: 3%{?dist}
License: Boost Software License V1
URL: http://www.boost.org/
Group: System Environment/Security
Summary: Boost
Name: boost
Version: 1.66.0
Release: 4%{?dist}
License: Boost
Vendor: Microsoft Corporation
Distribution: Mariner
Source0: http://downloads.sourceforge.net/boost/boost_1_66_0.tar.bz2
%define sha1 boost=b6b284acde2ad7ed49b44e856955d7b1ea4e9459
BuildRequires: bzip2-devel
Group: System Environment/Security
URL: https://www.boost.org/
Source0: https://downloads.sourceforge.net/boost/boost_1_66_0.tar.bz2
BuildRequires: bzip2-devel
%description
Boost provides a set of free peer-reviewed portable C++ source libraries. It includes libraries for
@ -19,6 +18,7 @@ linear algebra, pseudorandom number generation, multithreading, image processing
Summary: Development files for boost
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Provides: %{name}-signals = %{version}-%{release}
%description devel
The boost-devel package contains libraries, header files and documentation
@ -33,7 +33,7 @@ Requires: %{name} = %{version}-%{release}
The boost-static package contains boost static libraries.
%prep
%setup -qn boost_1_66_0
%autosetup -n %{name}_1_66_0
%build
./bootstrap.sh --prefix=%{buildroot}%{_prefix}
@ -42,11 +42,7 @@ The boost-static package contains boost static libraries.
%install
./b2 install threading=multi
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}/*
%ldconfig_scriptlets
%files
%defattr(-,root,root)
@ -63,22 +59,34 @@ rm -rf %{buildroot}/*
%{_libdir}/libboost_*.a
%changelog
* Sat May 09 00:21:03 PST 2020 Nick Samson <nisamson@microsoft.com> - 1.66.0-3
* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 1.66.0-4
- Add signals subpackage provide from the devel subpackage
- License verified, changed to use short name
- Lint spec
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 1.66.0-3
- Added %%license line automatically
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 1.66.0-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Tue Sep 11 2018 Srivatsa S. Bhat <srivatsa@csail.mit.edu> 1.66.0-1
- Update to version 1.66.0
* Thu Apr 06 2017 Anish Swaminathan <anishs@vmware.com> 1.63.0-1
- Upgraded to version 1.63.0
* Thu Mar 23 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.60.0-3
- Build static libs in additon to shared.
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.60.0-2
- GA - Bump release of all rpms
* Wed Apr 27 2016 Xiaolin Li <xiaolinl@vmware.com> 1.60.0-1
- Update to version 1.60.0.
* Thu Oct 01 2015 Xiaolin Li <xiaolinl@vmware.com> 1.56.0-2
_ Move header files to devel package.
* Tue Feb 10 2015 Divya Thaluru <dthaluru@vmware.com> 1.56.0-1
- Initial build. First version
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 1.66.0-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Tue Sep 11 2018 Srivatsa S. Bhat <srivatsa@csail.mit.edu> - 1.66.0-1
- Update to version 1.66.0
* Thu Apr 06 2017 Anish Swaminathan <anishs@vmware.com> - 1.63.0-1
- Upgraded to version 1.63.0
* Thu Mar 23 2017 Vinay Kulkarni <kulkarniv@vmware.com> - 1.60.0-3
- Build static libs in additon to shared.
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 1.60.0-2
- GA - Bump release of all rpms
* Wed Apr 27 2016 Xiaolin Li <xiaolinl@vmware.com> - 1.60.0-1
- Update to version 1.60.0.
* Thu Oct 01 2015 Xiaolin Li <xiaolinl@vmware.com> - 1.56.0-2
- Move header files to devel package.
* Tue Feb 10 2015 Divya Thaluru <dthaluru@vmware.com> - 1.56.0-1
- Initial build. First version

View File

@ -1,9 +1,7 @@
%{!?python2_sitelib: %global python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
%{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
Summary: Open source antivirus engine
Name: clamav
Version: 0.103.2
Release: 1%{?dist}
Release: 2%{?dist}
License: ASL 2.0 AND BSD AND bzip2-1.0.4 AND GPLv2 AND LGPLv2+ AND MIT AND Public Domain AND UnRar
Vendor: Microsoft Corporation
Distribution: Mariner
@ -19,6 +17,8 @@ BuildRequires: systemd-devel
BuildRequires: zlib-devel
Requires: openssl
Requires: zlib
Provides: %{name}-devel = %{version}-%{release}
Provides: %{name}-lib = %{version}-%{release}
%description
ClamAV® is an open source (GPL) anti-virus engine used in a variety of situations
@ -27,21 +27,19 @@ of utilities including a flexible and scalable multi-threaded daemon, a command
line scanner and an advanced tool for automatic database updates.
%prep
%setup -q
%autosetup
%build
%configure
make %{?_smp_mflags}
%make_build
%install
make install DESTDIR=%{buildroot}
%make_install
%check
make %{?_smp_mflags} check
%make_build check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%defattr(-,root,root)
@ -60,6 +58,10 @@ make %{?_smp_mflags} check
%{_mandir}/man8/*
%changelog
* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 0.103.2-2
- Add provides for devel, lib subpackages
- Use make macros throughout
* Tue Apr 20 2021 Thomas Crain <thcrain@microsoft.com> - 0.103.2-1
- Updating to 0.103.2 to fix CVE-2021-1252, CVE-2021-1404, CVE-2021-1405

View File

@ -1,17 +1,21 @@
Summary: Device Tree Compiler
Name: dtc
Version: 1.5.1
Release: 3%{?dist}
License: BSD or GPLv2+
URL: https://devicetree.org/
Group: Development/Tools
Vendor: Microsoft Corporation
Distribution: Mariner
Source0: https://kernel.org/pub/software/utils/%{name}/%{name}-%{version}.tar.gz
Patch0: dtc-disable-warning.patch
BuildRequires: gcc make
BuildRequires: flex bison swig
Summary: Device Tree Compiler
Name: dtc
Version: 1.5.1
Release: 4%{?dist}
License: BSD OR GPLv2+
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Tools
URL: https://devicetree.org/
Source0: https://kernel.org/pub/software/utils/%{name}/%{name}-%{version}.tar.gz
Patch0: dtc-disable-warning.patch
BuildRequires: bison
BuildRequires: flex
BuildRequires: gcc
BuildRequires: make
BuildRequires: swig
Provides: libfdt = %{name}-%{version}
Provides: python3-libfdt = %{name}-%{version}
%description
Devicetree is a data structure for describing hardware. Rather than hard coding
@ -21,9 +25,11 @@ boot time. The devicetree is used by OpenFirmware, OpenPOWER Abstraction Layer
(OPAL), Power Architecture Platform Requirements (PAPR) and in the standalone
Flattened Device Tree (FDT) form.
%package devel
Summary: Development headers for device tree library
Requires: %{name} = %{version}-%{release}
%package devel
Summary: Development headers for device tree library
Requires: %{name} = %{version}-%{release}
Provides: libfdt-devel = %{version}-%{release}
Provides: libfdt-static = %{version}-%{release}
%description devel
This package provides development files for libfdt
@ -33,16 +39,15 @@ This package provides development files for libfdt
sed -i 's/python2/python3/' pylibfdt/setup.py
sed -i 's/SUBLEVEL = 0/SUBLEVEL = 1/' Makefile
%build
make %{?_smp_mflags} V=1 CC="gcc $RPM_OPT_FLAGS $RPM_LD_FLAGS"
%make_build CC="gcc %{optflags} %{ldflags}"
%install
make install DESTDIR=%{buildroot} PREFIX=%{buildroot}/usr \
LIBDIR=%{_libdir} BINDIR=%{_bindir} INCLUDEDIR=%{_includedir} V=1
%clean
rm -rf %{buildroot}/*
%make_install \
PREFIX=%{buildroot}%{_prefix} \
LIBDIR=%{_libdir} \
BINDIR=%{_bindir} \
INCLUDEDIR=%{_includedir}
%files
%license GPL
@ -58,11 +63,15 @@ rm -rf %{buildroot}/*
%{_includedir}/*
%changelog
* Mon Apr 12 2021 Henry Li <lihl@microsoft.com> 1.5.1-3
* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 1.5.1-4
- Add compatibility provides for libfdt, libfdt-static, libfdt-devel, python3-libfdt packages
- Use make macros throughout, lint spec
* Mon Apr 12 2021 Henry Li <lihl@microsoft.com> - 1.5.1-3
- Apply patch to disable treating cast-qual and missing-prototypes as errors
- Add %{python3_sitearch}/
* Thu Apr 09 2020 Pawel Winogrodzki <pawelwi@microsoft.com> 1.5.1-2
* Thu Apr 09 2020 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.5.1-2
- Fixed "Source0" tag.
- License verified and "License" tag updated.
- Removed "%%define sha1".

View File

@ -1,74 +1,84 @@
Summary: Tools and libraries to manipulate EFI variables
Name: efivar
Version: 37
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2
URL: https://github.com/rhboot/efivar
Group: System Environment/System Utilities
Vendor: Microsoft Corporation
Distribution: Mariner
Group: System Environment/System Utilities
URL: https://github.com/rhboot/efivar
Source0: https://github.com/rhboot/efivar/releases/download/%{version}/%{name}-%{version}.tar.bz2
%define sha1 efivar=1ef24e0a06e1a42d7a93ba7a76b2970659c7c0c0
BuildRequires: popt-devel
BuildRequires: popt-devel
Provides: %{name}-libs = %{version}-%{release}
%description
efivar provides a simle CLI to the UEFI variable facility
%package devel
Summary: Header and development files for efivar
Requires: %{name} = %{version}-%{release}
%package devel
Summary: Header and development files for efivar
Requires: %{name} = %{version}-%{release}
%description devel
It contains the libraries and header files to create applications
%prep
%setup -q
%autosetup
%build
make %{?_smp_mflags} PREFIX=%{_prefix} \
%make_build \
PREFIX=%{_prefix} \
libdir=%{_libdir} \
bindir=%{_bindir} \
CFLAGS="%{build_cflags} -Wno-error=address-of-packed-member"
%install
[ %{buildroot} != "/"] && rm -rf %{buildroot}/*
make DESTDIR=%{buildroot} \
PREFIX=%{_prefix} \
install
%make_install PREFIX=%{_prefix} LIBDIR=%{_libdir}
%check
make %{?_smp_mflags} test
%clean
rm -rf %{buildroot}/*
%make_build test
%files
%defattr(-,root,root)
%license COPYING
%{_bindir}/*
%{_lib64dir}/*.so.*
%{_libdir}/*.so.*
%{_mandir}/man1/*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_lib64dir}/*.so
%{_lib64dir}/pkgconfig/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%{_mandir}/man3/*
%changelog
* Sat May 09 00:21:41 PST 2020 Nick Samson <nisamson@microsoft.com> - 37-3
* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 37-4
- Lint spec, using make macros throughout
- Package libraries in %%{_libdir}, not %%{_lib64dir}
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 37-3
- Added %%license line automatically
* Tue Mar 24 2020 Henry Beberman <henry.beberman@microsoft.com> 37-2
Add -Wno-error=address-of-packed-member to fix gcc9 compat.
* Tue Jan 14 2020 Henry Beberman <hebeberm@microsoft.com> 37-1
- Update to efivar release 37.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 36-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Tue Sep 18 2018 Sujay G <gsujay@vmware.com> 36-1
- Bump efivar version to 36
* Fri Apr 14 2017 Alexey Makhalov <amakhalov@vmware.com> 31-1
- Version update. Added -devel subpackage.
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.20-3
- GA - Bump release of all rpms
* Thu Apr 28 2016 Xiaolin Li <xiaolinl@vmware.com> 0.20-2
- Fix build for linux 4.4.
* Mon Jul 6 2015 Sharath George <sharathg@vmware.com> 0.20-1
- Initial build. First version
* Tue Mar 24 2020 Henry Beberman <henry.beberman@microsoft.com> - 37-2
- Add -Wno-error=address-of-packed-member to fix gcc9 compat.
* Tue Jan 14 2020 Henry Beberman <hebeberm@microsoft.com> - 37-1
- Update to efivar release 37.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 36-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Tue Sep 18 2018 Sujay G <gsujay@vmware.com> - 36-1
- Bump efivar version to 36
* Fri Apr 14 2017 Alexey Makhalov <amakhalov@vmware.com> - 31-1
- Version update. Added -devel subpackage.
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 0.20-3
- GA - Bump release of all rpms
* Thu Apr 28 2016 Xiaolin Li <xiaolinl@vmware.com> - 0.20-2
- Fix build for linux 4.4.
* Mon Jul 6 2015 Sharath George <sharathg@vmware.com> - 0.20-1
- Initial build. First version

View File

@ -1,20 +1,20 @@
Summary: File System in Userspace (FUSE) utilities
Name: fuse
Version: 2.9.7
Release: 7%{?dist}
Release: 8%{?dist}
License: GPL+
URL: http://fuse.sourceforge.net/
Group: System Environment/Base
Vendor: Microsoft Corporation
Distribution: Mariner
Group: System Environment/Base
URL: https://github.com/libfuse/libfuse
Source0: https://github.com/libfuse/libfuse/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
%define sha1 fuse=cd174e3d37995a42fad32fac92f76cd18e24174f
Patch0: fuse-types.patch
Patch1: fuse-prevent-silent-truncation.patch
Patch2: fuse-escaped-commas-CVE-2018-10906.patch
Patch3: fuse-bailout-transient-config-read-failure.patch
Patch4: fuse-refuse-unknown-options-CVE-2018-10906.patch
Patch5: fuse-whitelist-known-good-filesystems.patch
Provides: %{name}-libs = %{version}-%{release}
%description
With FUSE it is possible to implement a fully functional filesystem in a
@ -23,7 +23,8 @@ userspace program.
%package devel
Summary: Header and development files
Group: Development/Libraries
Requires: %{name} = %{version}
Requires: %{name} = %{version}-%{release}
%description devel
It contains the libraries and header files to create fuse applications.
@ -37,19 +38,19 @@ It contains the libraries and header files to create fuse applications.
%patch3 -p1
%patch4 -p1
%patch5 -p1
%build
%configure --disable-static INIT_D_PATH=/tmp/init.d &&
make %{?_smp_mflags}
%make_build
%install
mkdir -p %{buildroot}%{_libdir}/%{name}
make install \
DESTDIR=%{buildroot}
%make_install
install -v -m755 -d /usr/share/doc/%{name}-%{version} &&
install -v -m644 doc/{how-fuse-works,kernel.txt} \
/usr/share/doc/%{name}-%{version}
find %{buildroot} -name '*.la' -delete
install -v -m755 -d %{_docdir}/%{name}-%{version} &&
install -v -m644 doc/{how-fuse-works,kernel.txt} \
%{_docdir}/%{name}-%{version}
find %{buildroot} -type f -name "*.la" -delete -print
%files
%defattr(-, root, root)
@ -71,26 +72,40 @@ find %{buildroot} -name '*.la' -delete
%{_libdir}/pkgconfig/fuse.pc
%changelog
* Sat May 09 00:20:38 PST 2020 Nick Samson <nisamson@microsoft.com> - 2.9.7-7
* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 2.9.7-8
- Add provides for libs subpackages from base package
- Minor linting (make macros, replace source URL)
- License verified
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 2.9.7-7
- Added %%license line automatically
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 2.9.7-6
- Initial CBL-Mariner import from Photon (license: Apache2).
* Fri Jan 18 2019 Ankit Jain <ankitja@vmware.com> 2.9.7-5
- Added patches for CVE-2018-10906 and hardening changes
* Mon Oct 8 2018 Sriram Nambakam <snambakam@vmware.com> 2.9.7-4
- Use %configure and set DESTDIR
* Tue Nov 14 2017 Alexey Makhalov <amakhalov@vmware.com> 2.9.7-3
- Aarch64 support
* Wed Jul 05 2017 Xiaolin Li <xiaolinl@vmware.com> 2.9.7-2
- Move pkgconfig folder to devel package.
* Mon Apr 17 2017 Danut Moraru <dmoraru@vmware.com> 2.9.7-1
- Update to 2.9.7
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.9.5-2
- GA - Bump release of all rpms
* Tue Jan 26 2016 Xiaolin Li <xiaolinl@vmware.com> 2.9.5-1
- Updated to version 2.9.5
* Fri Aug 28 2015 Alexey Makhalov <amakhalov@vmware.com> 2.9.4-2
- post/pre actions are removed.
* Tue Jun 16 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.9.4-1
- Initial version.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 2.9.7-6
- Initial CBL-Mariner import from Photon (license: Apache2).
* Fri Jan 18 2019 Ankit Jain <ankitja@vmware.com> - 2.9.7-5
- Added patches for CVE-2018-10906 and hardening changes
* Mon Oct 8 2018 Sriram Nambakam <snambakam@vmware.com> - 2.9.7-4
- Use %configure and set DESTDIR
* Tue Nov 14 2017 Alexey Makhalov <amakhalov@vmware.com> - 2.9.7-3
- Aarch64 support
* Wed Jul 05 2017 Xiaolin Li <xiaolinl@vmware.com> - 2.9.7-2
- Move pkgconfig folder to devel package.
* Mon Apr 17 2017 Danut Moraru <dmoraru@vmware.com> - 2.9.7-1
- Update to 2.9.7
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 2.9.5-2
- GA - Bump release of all rpms
* Tue Jan 26 2016 Xiaolin Li <xiaolinl@vmware.com> - 2.9.5-1
- Updated to version 2.9.5
* Fri Aug 28 2015 Alexey Makhalov <amakhalov@vmware.com> - 2.9.4-2
- post/pre actions are removed.
* Tue Jun 16 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> - 2.9.4-1
- Initial version.

View File

@ -1,7 +1,7 @@
Summary: C debugger
Name: gdb
Version: 8.3
Release: 4%{?dist}
Release: 5%{?dist}
License: GPLv2+
Vendor: Microsoft Corporation
Distribution: Mariner
@ -24,6 +24,7 @@ Requires: ncurses
Requires: python3
Requires: xz-libs
Provides: %{name}-headless = %{version}-%{release}
Provides: %{name}-gdbserver = %{version}-%{release}
%if %{with_check}
BuildRequires: dejagnu
BuildRequires: systemtap-sdt-devel
@ -38,11 +39,11 @@ another program was doing at the moment it crashed.
%autosetup -p1
%build
%configure --with-python=%{_bindir}/python3
make %{?_smp_mflags}
%configure --with-python=%{python3}
%make_build
%install
make DESTDIR=%{buildroot} install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
rm %{buildroot}%{_infodir}/dir
@ -65,7 +66,7 @@ rm %{buildroot}%{_libdir}/libaarch64-unknown-linux-gnu-sim.a
%check
# disable security hardening for tests
rm -f $(dirname $(gcc -print-libgcc-file-name))/../specs
make %{?_smp_mflags} check TESTS="gdb.base/default.exp"
%make_build check TESTS="gdb.base/default.exp"
%files -f %{name}.lang
%defattr(-,root,root)
@ -82,6 +83,10 @@ make %{?_smp_mflags} check TESTS="gdb.base/default.exp"
%{_mandir}/*/*
%changelog
* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 8.3-5
- Add compatibility provides for gdbserver subpackage
- Use make macros throughout
* Fri Mar 26 2021 Thomas Crain <thcrain@microsoft.com> - 8.3-4
- Merge the following releases from 1.0 to dev branch
- thcrain@microsoft.com, 8.3-3: Patch CVE-2019-1010180

View File

@ -2,45 +2,43 @@ Summary: The GnuTLS Transport Layer Security Library
Name: gnutls
Version: 3.6.14
Release: 5%{?dist}
License: GPLv3+ and LGPLv2+
URL: https://www.gnutls.org
Source0: ftp://ftp.gnutls.org/gcrypt/gnutls/v3.6/%{name}-%{version}.tar.xz
Group: System Environment/Libraries
License: GPLv3+ AND LGPLv2+
Vendor: Microsoft Corporation
Distribution: Mariner
BuildRequires: nettle-devel >= 3.7.2
Group: System Environment/Libraries
URL: https://www.gnutls.org
Source0: ftp://ftp.gnutls.org/gcrypt/gnutls/v3.6/%{name}-%{version}.tar.xz
Patch0: CVE-2020-24659.patch
Patch1: CVE-2021-20231.patch
Patch2: CVE-2021-20232.patch
BuildRequires: autogen-libopts-devel
BuildRequires: libtasn1-devel
BuildRequires: openssl-devel
BuildRequires: guile-devel
BuildRequires: gc-devel
BuildRequires: guile-devel
BuildRequires: libtasn1-devel
BuildRequires: nettle-devel >= 3.7.2
BuildRequires: openssl-devel
%if %{with_check}
BuildRequires: net-tools
BuildRequires: which
%endif
Requires: nettle >= 3.7.2
Requires: autogen-libopts
Requires: libtasn1
Requires: openssl
Requires: gc
Requires: gmp
Requires: guile
Requires: gc
Requires: libtasn1
Requires: nettle >= 3.7.2
Requires: openssl
Provides: %{name}-utils = %{version}-%{release}
Patch0: CVE-2020-24659.patch
Patch1: CVE-2021-20231.patch
Patch2: CVE-2021-20232.patch
Provides: %{name}-c++ = %{version}-%{release}
%description
GnuTLS is a secure communications library implementing the SSL, TLS and DTLS protocols and technologies around them. It provides a simple C language application programming interface (API) to access the secure communications protocols as well as APIs to parse and write X.509, PKCS #12, OpenPGP and other required structures. It is aimed to be portable and efficient with focus on security and interoperability.
%package devel
Summary: Development libraries and header files for gnutls
Requires: gnutls
Requires: libtasn1-devel
Requires: nettle-devel
%package devel
Summary: Development libraries and header files for gnutls
Requires: %{name} = %{version}-%{release}
Requires: libtasn1-devel
Requires: nettle-devel
%description devel
The package contains libraries and header files for
@ -50,7 +48,6 @@ developing applications that use gnutls.
%autosetup -p1
%build
%configure \
--without-p11-kit \
--disable-openssl-compatibility \
@ -58,15 +55,16 @@ developing applications that use gnutls.
--with-system-priority-file=%{_sysconfdir}/gnutls/default-priorities \
--with-default-trust-store-file=%{_sysconfdir}/ssl/certs/ca-bundle.crt \
--with-default-trust-store-dir=%{_sysconfdir}/ssl/certs
make %{?_smp_mflags}
%make_build
%install
make DESTDIR=%{buildroot} install
%make_install
rm %{buildroot}%{_infodir}/*
find %{buildroot}%{_libdir} -name '*.la' -delete
mkdir -p %{buildroot}/etc/%{name}
chmod 755 %{buildroot}/etc/%{name}
cat > %{buildroot}/etc/%{name}/default-priorities << "EOF"
find %{buildroot} -type f -name "*.la" -delete -print
mkdir -p %{buildroot}%{_sysconfdir}/%{name}
chmod 755 %{buildroot}%{_sysconfdir}/%{name}
cat > %{buildroot}%{_sysconfdir}/%{name}/default-priorities << "EOF"
SYSTEM=NONE:!VERS-SSL3.0:!VERS-TLS1.0:+VERS-TLS1.1:+VERS-TLS1.2:+AES-128-CBC:+RSA:+SHA1:+COMP-NULL
EOF
@ -74,13 +72,9 @@ EOF
# Disable test-ciphers-openssl.sh test, which relies on ciphers our openssl.spec has disabled.
# Observed error: "cipher_test:50: EVP_get_cipherbyname failed for chacha20-poly1305"
sed -i 's/TESTS += test-ciphers-openssl.sh//' tests/slow/Makefile.am
make %{?_smp_mflags} check
%make_build check
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%ldconfig_scriptlets
%files
%defattr(-,root,root)
@ -103,6 +97,10 @@ make %{?_smp_mflags} check
%{_mandir}/man3/*
%changelog
* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 3.6.14-6
- Provide compatibility provides for c++ subpackage from base package
- Lint spec
* Fri Apr 02 2021 Thomas Crain <thcrain@microsoft.com> - 3.6.14-5
- Merge the following releases from 1.0 to dev branch
- anphel@microsoft.com, 3.6.14-4: Fix check tests.
@ -111,49 +109,70 @@ make %{?_smp_mflags} check
* Thu Feb 04 2021 Joe Schmitt <joschmit@microsoft.com> - 3.6.14-4
- Provide gnutls-utils.
* Wed Oct 21 2020 Henry Beberman <henry.beberman@microsoft.com> 3.6.14-3
- Apply patch for CVE-2020-24659 from upstream.
- Switch setup to autosetup.
* Wed Oct 07 2020 Pawel Winogrodzki <pawelwi@microsoft.com> 3.6.14-2
- Updating certificate bundle path to include full set of trust information.
* Fri Aug 21 2020 Andrew Phelps <anphel@microsoft.com> 3.6.14-1
- Update to version 3.6.14 for CVE-2020-13777
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> 3.6.8-3
- Added %%license line automatically
* Wed May 06 2020 Pawel Winogrodzki <pawelwi@microsoft.com> 3.6.8-2
- Removing *Requires for "ca-certificates".
- Adding a certs directory through "--with-default-trust-store-dir" at compile time.
* Mon Mar 16 2020 Henry Beberman <henry.beberman@microsoft.com> 3.6.8-1
- Update to 3.6.8. Source0 URL updated. License verified.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 3.6.3-4
- Initial CBL-Mariner import from Photon (license: Apache2).
* Mon Apr 15 2019 Keerthana K <keerthanak@vmware.com> 3.6.3-3
- Fix CVE-2019-3829, CVE-2019-3836
* Wed Oct 03 2018 Tapas Kundu <tkundu@vmware.com> 3.6.3-2
- Including default-priority in the RPM packaging.
* Thu Sep 06 2018 Anish Swaminathan <anishs@vmware.com> 3.6.3-1
- Update version to 3.6.3
* Fri Feb 09 2018 Xiaolin Li <xiaolinl@vmware.com> 3.5.15-2
- Add default_priority.patch.
* Tue Oct 10 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.5.15-1
- Update to 3.5.15. Fixes CVE-2017-7507
* Thu Apr 13 2017 Danut Moraru <dmoraru@vmware.com> 3.5.10-1
- Update to version 3.5.10
* Sun Dec 18 2016 Alexey Makhalov <amakhalov@vmware.com> 3.4.11-4
- configure to use default trust store file
* Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 3.4.11-3
- Moved man3 to devel subpackage.
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.4.11-2
- GA - Bump release of all rpms
* Wed Apr 27 2016 Xiaolin Li <xiaolinl@vmware.com> 3.4.11-1
- Updated to version 3.4.11
* Tue Feb 23 2016 Xiaolin Li <xiaolinl@vmware.com> 3.4.9-1
- Updated to version 3.4.9
* Thu Jan 14 2016 Xiaolin Li <xiaolinl@vmware.com> 3.4.8-1
- Updated to version 3.4.8
* Wed Dec 09 2015 Anish Swaminathan <anishs@vmware.com> 3.4.2-3
- Edit post script.
* Fri Oct 9 2015 Xiaolin Li <xiaolinl@vmware.com> 3.4.2-2
- Removing la files from packages.
* Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> 3.4.2-1
- Initial build. First version
* Wed Oct 21 2020 Henry Beberman <henry.beberman@microsoft.com> - 3.6.14-3
- Apply patch for CVE-2020-24659 from upstream.
- Switch setup to autosetup.
* Wed Oct 07 2020 Pawel Winogrodzki <pawelwi@microsoft.com> - 3.6.14-2
- Updating certificate bundle path to include full set of trust information.
* Fri Aug 21 2020 Andrew Phelps <anphel@microsoft.com> - 3.6.14-1
- Update to version 3.6.14 for CVE-2020-13777
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 3.6.8-3
- Added %%license line automatically
* Wed May 06 2020 Pawel Winogrodzki <pawelwi@microsoft.com> - 3.6.8-2
- Removing *Requires for "ca-certificates".
- Adding a certs directory through "--with-default-trust-store-dir" at compile time.
* Mon Mar 16 2020 Henry Beberman <henry.beberman@microsoft.com> - 3.6.8-1
- Update to 3.6.8. Source0 URL updated. License verified.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 3.6.3-4
- Initial CBL-Mariner import from Photon (license: Apache2).
* Mon Apr 15 2019 Keerthana K <keerthanak@vmware.com> - 3.6.3-3
- Fix CVE-2019-3829, CVE-2019-3836
* Wed Oct 03 2018 Tapas Kundu <tkundu@vmware.com> - 3.6.3-2
- Including default-priority in the RPM packaging.
* Thu Sep 06 2018 Anish Swaminathan <anishs@vmware.com> - 3.6.3-1
- Update version to 3.6.3
* Fri Feb 09 2018 Xiaolin Li <xiaolinl@vmware.com> - 3.5.15-2
- Add default_priority.patch.
* Tue Oct 10 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 3.5.15-1
- Update to 3.5.15. Fixes CVE-2017-7507
* Thu Apr 13 2017 Danut Moraru <dmoraru@vmware.com> - 3.5.10-1
- Update to version 3.5.10
* Sun Dec 18 2016 Alexey Makhalov <amakhalov@vmware.com> - 3.4.11-4
- configure to use default trust store file
* Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> - 3.4.11-3
- Moved man3 to devel subpackage.
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 3.4.11-2
- GA - Bump release of all rpms
* Wed Apr 27 2016 Xiaolin Li <xiaolinl@vmware.com> - 3.4.11-1
- Updated to version 3.4.11
* Tue Feb 23 2016 Xiaolin Li <xiaolinl@vmware.com> - 3.4.9-1
- Updated to version 3.4.9
* Thu Jan 14 2016 Xiaolin Li <xiaolinl@vmware.com> - 3.4.8-1
- Updated to version 3.4.8
* Wed Dec 09 2015 Anish Swaminathan <anishs@vmware.com> - 3.4.2-3
- Edit post script.
* Fri Oct 9 2015 Xiaolin Li <xiaolinl@vmware.com> - 3.4.2-2
- Removing la files from packages.
* Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> - 3.4.2-1
- Initial build. First version

View File

@ -1,70 +1,50 @@
%{!?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: POSIX capability Library
Name: libcap-ng
Version: 0.7.9
Release: 3%{?dist}
Release: 4%{?dist}
License: LGPLv2+
Vendor: Microsoft Corporation
Distribution: Mariner
Group: System Environment/Libraries
URL: http://people.redhat.com/sgrubb/libcap-ng
Source0: http://people.redhat.com/sgrubb/libcap-ng/%{name}-%{version}.tar.gz
%define sha1 libcap-ng=f29f1eefdfbbd93501d9c7a54ac340d4ca660634
URL: https://people.redhat.com/sgrubb/libcap-ng
Source0: https://people.redhat.com/sgrubb/libcap-ng/%{name}-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: swig
Provides: %{name}-utils = %{version}-%{release}
%description
The libcap-ng library is intended to make programming with posix capabilities much easier than the traditional libcap library. It includes utilities that can analyse all currently running applications and print out any capabilities and whether or not it has an open ended bounding set. An open bounding set without the securebits "NOROOT" flag will allow full capabilities escalation for apps retaining uid 0 simply by calling execve.
%package -n python2-libcap-ng
Summary: Python bindings for libcap-ng
License: LGPLv2+
BuildRequires: python2-devel
BuildRequires: python2-libs
BuildRequires: swig
Requires: %{name} = %{version}-%{release}
Requires: python2
%description -n python2-libcap-ng
The python2-libcap-ng package contains the python2 bindings for libcap-ng.
%package -n python3-libcap-ng
%package -n python3-libcap-ng
Summary: Python3 bindings for libaudit
License: LGPLv2+
BuildRequires: python3-devel
BuildRequires: python3-libs
BuildRequires: swig
Requires: %{name} = %{version}-%{release}
Requires: python3
%description -n python3-libcap-ng
The python3-libcap-ng package contains the python3 bindings for libcap-ng.
%package devel
Summary: The libraries and header files needed for libcap-ng development.
Requires: %{name} = %{version}-%{release}
%package devel
Summary: The libraries and header files needed for libcap-ng development.
Requires: %{name} = %{version}-%{release}
%description devel
%description devel
The libraries and header files needed for libcap_ng development.
%prep
%setup -q
%autosetup
%build
./configure \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--with-python \
--with-python3
%configure --with-python=no --with-python3
%make_build
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
find %{buildroot} -name '*.la' -delete
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%check
make check
%make_build check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%defattr(-, root, root)
@ -73,9 +53,6 @@ make check
%{_bindir}/*
%{_mandir}/man8/*
%files -n python2-libcap-ng
%{python2_sitelib}/*
%files -n python3-libcap-ng
%{python3_sitelib}/*
@ -89,21 +66,32 @@ make check
%{_libdir}/*.a
%changelog
* Mon Oct 19 2020 Andrew Phelps <anphel@microsoft.com> 0.7.9-3
- Fix check test
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> 0.7.9-2
- Initial CBL-Mariner import from Photon (license: Apache2).
- Added %%license line automatically
* Thu Sep 13 2018 Siju Maliakkal <smaliakkal@vmware.com> 0.7.9-1
- Updated to latest version
* Mon May 22 2017 Xiaolin Li <xiaolinl@vmware.com> 0.7.8-2
- Added python3 subpackage.
* Mon Apr 03 2017 Divya Thaluru <dthaluru@vmware.com> 0.7.8-1
- Upgrade version to 0.7.8
* Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 0.7.7-3
- Moved man3 to devel subpackage.
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.7.7-2
- GA - Bump release of all rpms
* Fri Aug 28 2015 Divya Thaluru <dthaluru@vmware.com> 0.7.7-1
- Initial version
* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 0.7.9-4
- Add compatibility provides for utils subpackage
- Remove python2 subpackage
- Lint spec, modernize with macros
* Mon Oct 19 2020 Andrew Phelps <anphel@microsoft.com> - 0.7.9-3
- Fix check test
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 0.7.9-2
- Initial CBL-Mariner import from Photon (license: Apache2).
- Added %%license line automatically
* Thu Sep 13 2018 Siju Maliakkal <smaliakkal@vmware.com> - 0.7.9-1
- Updated to latest version
* Mon May 22 2017 Xiaolin Li <xiaolinl@vmware.com> - 0.7.8-2
- Added python3 subpackage.
* Mon Apr 03 2017 Divya Thaluru <dthaluru@vmware.com> - 0.7.8-1
- Upgrade version to 0.7.8
* Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> - 0.7.7-3
- Moved man3 to devel subpackage.
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 0.7.7-2
- GA - Bump release of all rpms
* Fri Aug 28 2015 Divya Thaluru <dthaluru@vmware.com> - 0.7.7-1
- Initial version

View File

@ -1,7 +1,7 @@
Summary: fork of the original IJG libjpeg which uses SIMD.
Name: libjpeg-turbo
Version: 2.0.0
Release: 7%{?dist}
Release: 8%{?dist}
License: IJG
Vendor: Microsoft Corporation
Distribution: Mariner
@ -12,6 +12,8 @@ Patch0: CVE-2018-20330.patch
Patch1: CVE-2018-19664.patch
BuildRequires: cmake
Provides: libjpeg = 6b-47
Provides: turbojpeg = %{version}-%{release}
Provides: %{name}-utils = %{version}-%{release}
%ifarch x86_64
BuildRequires: nasm
%endif
@ -24,29 +26,29 @@ Summary: Header and development files
Requires: %{name} = %{version}-%{release}
Provides: libjpeg-devel = 6b-47
Provides: libjpeg-devel%{?_isa} = 6b-47
Provides: turbojpeg-devel = %{version}-%{release}
%description devel
It contains the libraries and header files to create applications
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%autosetup -p1
%build
mkdir build
cd build
pushd build
%cmake -DCMAKE_SKIP_RPATH:BOOL=YES \
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \
-DENABLE_STATIC:BOOL=NO ..
make %{?_smp_mflags}
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \
-DENABLE_STATIC:BOOL=NO ..
%make_build
popd
%install
cd build
make DESTDIR=%{buildroot} install
pushd build
%make_install
popd
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%defattr(-,root,root)
@ -62,36 +64,39 @@ make DESTDIR=%{buildroot} install
%{_libdir}/pkgconfig/*.pc
%changelog
* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 2.0.0-8
- Add provides for turbojpeg, turbojpeg-devel packages, utils subpackage
* Thu Dec 10 2020 Joe Schmitt <joschmit@microsoft.com> - 2.0.0-7
- Provide libjpeg and libjpeg-devel along with an isa version of libjpeg-devel.
* Sat May 09 00:20:53 PST 2020 Nick Samson <nisamson@microsoft.com> - 2.0.0-6
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 2.0.0-6
- Added %%license line automatically
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 2.0.0-5
- Initial CBL-Mariner import from Photon (license: Apache2).
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 2.0.0-5
- Initial CBL-Mariner import from Photon (license: Apache2).
* Mon Mar 04 2019 Keerthana K <keerthanak@vmware.com> 2.0.0-4
- Update BuildRequires nasm only for x86_64.
* Mon Mar 04 2019 Keerthana K <keerthanak@vmware.com> - 2.0.0-4
- Update BuildRequires nasm only for x86_64.
* Wed Feb 06 2019 Sujay G <gsujay@vmware.com> 2.0.0-3
- Added patch to fix CVE-2018-19664
* Wed Feb 06 2019 Sujay G <gsujay@vmware.com> - 2.0.0-3
- Added patch to fix CVE-2018-19664
* Thu Jan 10 2019 Sujay G <gsujay@vmware.com> 2.0.0-2
- Added patch to fix CVE-2018-20330
* Thu Jan 10 2019 Sujay G <gsujay@vmware.com> - 2.0.0-2
- Added patch to fix CVE-2018-20330
* Sun Sep 20 2018 Bo Gan <ganb@vmware.com> 2.0.0-1
- Update to 2.0.0
- cmake build system
* Sun Sep 20 2018 Bo Gan <ganb@vmware.com> - 2.0.0-1
- Update to 2.0.0
- cmake build system
* Mon Dec 11 2017 Xiaolin Li <xiaolinl@vmware.com> 1.5.2-2
- Fix CVE-2017-15232
* Mon Dec 11 2017 Xiaolin Li <xiaolinl@vmware.com> - 1.5.2-2
- Fix CVE-2017-15232
* Wed Aug 09 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.5.2-1
- Updated to version 1.5.2
* Wed Aug 09 2017 Dheeraj Shetty <dheerajs@vmware.com> - 1.5.2-1
- Updated to version 1.5.2
* Tue Apr 11 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.5.1-1
- Updated to version 1.5.1
* Tue Apr 11 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> - 1.5.1-1
- Updated to version 1.5.1
* Wed Jul 27 2016 Divya Thaluru <dthaluru@vmware.com> 1.5.0-1
- Initial version
* Wed Jul 27 2016 Divya Thaluru <dthaluru@vmware.com> - 1.5.0-1
- Initial version

View File

@ -1,41 +1,43 @@
Summary: Library for talking to WWAN modems and devices
Name: libqmi
Version: 1.22.4
Release: 2%{?dist}
URL: https://www.freedesktop.org/wiki/Software/libqmi/
Source0: https://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz
Release: 3%{?dist}
License: GPLv2+
Group: Applications/System
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Applications/System
URL: https://www.freedesktop.org/wiki/Software/libqmi/
Source0: https://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz
BuildRequires: libmbim-devel
Requires: libmbim
Provides: %{name}-utils = %{version}-%{release}
%description
The libqmi package contains a GLib-based library for talking to WWAN modems
and devices which speak the Qualcomm MSM Interface (QMI) protocol.
%package devel
Summary: Header and development files for libqmi
Requires: %{name} = %{version}
Requires: libmbim-devel
%package devel
Summary: Header and development files for libqmi
Requires: %{name} = %{version}-%{release}
Requires: libmbim-devel
%description devel
It contains the libraries and header files for libqmi
%prep
%setup -q
%autosetup
%build
%configure --disable-static
make %{?_smp_mflags}
%make_build
%install
make DESTDIR=%{buildroot} install
%make_install
%check
make %{?_smp_mflags} check
%make_build check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%defattr(-,root,root)
@ -56,18 +58,27 @@ make %{?_smp_mflags} check
%{_datadir}/gtk-doc/*
%changelog
* Sat May 09 00:21:37 PST 2020 Nick Samson <nisamson@microsoft.com> - 1.22.4-2
* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 1.22.4-3
- Add compatibility provides for utils subpackage
- Lint spec
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 1.22.4-2
- Added %%license line automatically
* Tue Mar 17 2020 Henry Beberman <henry.beberman@microsoft.com> 1.22.4-1
- Update to 1.22.4. Fix URL. License verified.
* Wed Mar 11 2020 Christopher Co <chrco@microsoft.com> 1.20.2-5
- Updated Source URL
* Wed Mar 11 2020 Christopher Co <chrco@microsoft.com> 1.20.2-4
- Updated hash
* Fri Mar 06 2020 Jon Slobodzian <joslobo@microsoft.com> 1.20.2-3
- Fixed Source URL. Verified license.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 1.20.2-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Mon Dec 10 2018 Alexey Makhalov <amakhalov@vmware.com> 1.20.2-1
- Initial build. First version
* Tue Mar 17 2020 Henry Beberman <henry.beberman@microsoft.com> - 1.22.4-1
- Update to 1.22.4. Fix URL. License verified.
* Wed Mar 11 2020 Christopher Co <chrco@microsoft.com> - 1.20.2-5
- Updated Source URL
* Wed Mar 11 2020 Christopher Co <chrco@microsoft.com> - 1.20.2-4
- Updated hash
* Fri Mar 06 2020 Jon Slobodzian <joslobo@microsoft.com> - 1.20.2-3
- Fixed Source URL. Verified license.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 1.20.2-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Mon Dec 10 2018 Alexey Makhalov <amakhalov@vmware.com> - 1.20.2-1
- Initial build. First version

View File

@ -1,7 +1,7 @@
Summary: The lm_sensors package provides user-space support for the hardware monitoring drivers in the Linux kernel.
Name: lm-sensors
Version: 3.5.0
Release: 8%{?dist}
Release: 9%{?dist}
License: GPLv2
Vendor: Microsoft Corporation
Distribution: Mariner
@ -21,6 +21,7 @@ Requires: perl
# which is required by this package.
Conflicts: kernel-hyperv
Provides: lm_sensors = %{version}-%{release}
Provides: %{name}-libs = %{version}-%{release}
%description
The lm_sensors package provides user-space support for the hardware monitoring drivers in the Linux kernel.
@ -29,7 +30,7 @@ This is useful for monitoring the temperature of the CPU and adjusting the perfo
%package devel
Summary: lm-sensors devel
Group: Development/Libraries
Requires: lm-sensors = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Provides: lm_sensors-devel = %{version}-%{release}
%description devel
@ -38,7 +39,7 @@ lm-sensors devel
%package doc
Summary: lm-sensors docs
Group: Development/Libraries
Requires: lm-sensors = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
%description doc
Documentation for lm-sensors.
@ -47,8 +48,7 @@ Documentation for lm-sensors.
%setup -q -n %{name}-3-5-0
%build
make all %{?_smp_mflags}
%make_build all
%install
mkdir -p %{buildroot}%{_libdir}
@ -58,8 +58,8 @@ make PREFIX=%{buildroot}%{_prefix} \
MANDIR=%{buildroot}%{_mandir} install &&
install -v -m755 -d %{buildroot}%{_docdir}/%{name}-%{version} &&
cp -rv README INSTALL doc/* \
%{buildroot}%{_docdir}/%{name}-%{version}
cp -rv README INSTALL doc/* \
%{buildroot}%{_docdir}/%{name}-%{version}
%check
@ -69,10 +69,6 @@ cp -rv README INSTALL doc/* \
%postun
/sbin/modprobe -r i2c-dev
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%license COPYING
@ -92,29 +88,32 @@ rm -rf %{buildroot}/*
%{_mandir}/*
%changelog
* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 3.5.0-9
- Add provides for libs subpackages from base package
* Fri Feb 05 2021 Joe Schmitt <joschmit@microsoft.com> - 3.5.0-8
- Replace incorrect %%{_lib} usage with %%{_libdir}
* Mon Nov 02 2020 Joe Schmitt <joschmit@microsoft.com> - 3.5.0-7
- Provide lm_sensors and lm_sensors-devel.
* Thu Jun 18 2020 Pawel Winogrodzki <pawelwi@microsoft.com> 3.5.0-6
- Removing runtime dependency on a specific kernel package.
* Thu Jun 18 2020 Pawel Winogrodzki <pawelwi@microsoft.com> - 3.5.0-6
- Removing runtime dependency on a specific kernel package.
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> 3.5.0-5
- Added %%license line automatically
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 3.5.0-5
- Added %%license line automatically
* Tue Apr 28 2020 Emre Girgin <mrgirgin@microsoft.com> 3.5.0-4
- Renaming linux to kernel
* Tue Apr 28 2020 Emre Girgin <mrgirgin@microsoft.com> - 3.5.0-4
- Renaming linux to kernel
* Tue Apr 07 2020 Joe Schmitt <joschmit@microsoft.com> 3.5.0-3
- Update Source0 with valid URL.
- Remove sha1 macro.
- Fix changelog styling
- License verified.
* Tue Apr 07 2020 Joe Schmitt <joschmit@microsoft.com> - 3.5.0-3
- Update Source0 with valid URL.
- Remove sha1 macro.
- Fix changelog styling
- License verified.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 3.5.0-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 3.5.0-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Thu Jun 20 2019 Tapas Kundu <tkundu@vmware.com> 3.5.0-1
- Initial packaging with Photon OS.
* Thu Jun 20 2019 Tapas Kundu <tkundu@vmware.com> - 3.5.0-1
- Initial packaging with Photon OS.

View File

@ -2,16 +2,15 @@
Summary: Net-SNMP is a suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6.
Name: net-snmp
Version: 5.9
Release: 4%{?dist}
Release: 5%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Productivity/Networking/Other
URL: http://net-snmp.sourceforge.net/
Source0: http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.gz
URL: https://net-snmp.sourceforge.io/
Source0: https://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.gz
Source1: snmpd.service
Source2: snmptrapd.service
BuildRequires: openssl-devel
BuildRequires: perl
BuildRequires: systemd
@ -21,6 +20,8 @@ BuildRequires: net-tools
Requires: systemd
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Provides: %{name}-utils = %{version}-%{release}
Provides: %{name}-libs = %{version}-%{release}
Provides: %{name}-agent-libs = %{version}-%{release}
%description
Net-SNMP is a suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6.
@ -28,7 +29,7 @@ Provides: %{name}-utils = %{version}-%{release}
%package devel
Summary: The includes and static libraries from the Net-SNMP package.
Group: Development/Libraries
Requires: net-snmp = %{version}
Requires: %{name} = %{version}
%description devel
The net-snmp-devel package contains headers and libraries for building SNMP applications.
@ -38,24 +39,24 @@ The net-snmp-devel package contains headers and libraries for building SNMP appl
%build
%configure \
--host=ia64-linux \
--build=i686 \
--target=ia64-linux \
--sbindir=/sbin \
--with-sys-location="unknown" \
--with-logfile=%{_var}/log/net-snmpd.log \
--with-persistent-directory=%{_sharedstatedir}/net-snmp \
--with-perl-modules="INSTALLDIRS=vendor" \
--with-sys-contact="root@localhost" \
--with-defaults \
--with-systemd \
--disable-static \
--with-x=no \
--enable-as-needed
make
--host=ia64-linux \
--build=i686 \
--target=ia64-linux \
--sbindir=/sbin \
--with-sys-location="unknown" \
--with-logfile=%{_var}/log/net-snmpd.log \
--with-persistent-directory=%{_sharedstatedir}/net-snmp \
--with-perl-modules="INSTALLDIRS=vendor" \
--with-sys-contact="root@localhost" \
-with-defaults \
--with-systemd \
--disable-static \
--with-x=no \
--enable-as-needed
%make_build
%install
make install DESTDIR=%{buildroot}
%make_install
mkdir -p %{buildroot}/lib/systemd/system
install -m 0644 %{SOURCE1} %{buildroot}/lib/systemd/system/snmpd.service
install -m 0644 %{SOURCE2} %{buildroot}/lib/systemd/system/snmptrapd.service
@ -79,10 +80,6 @@ popd
%systemd_postun_with_restart snmpd.service
%systemd_postun_with_restart snmptrapd.service
%clean
rm -rf %{buildroot}/*
%files
%license COPYING
%doc NEWS README ChangeLog
@ -104,6 +101,10 @@ rm -rf %{buildroot}/*
%exclude %{_libdir}/perl5/perllocal.pod
%changelog
* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 5.9-5
- Add provides for libs, agent-libs subpackages from base package
- Minor linting (https source, updated URL, make macros)
* Fri Apr 02 2021 Thomas Crain <thcrain@microsoft.com> - 5.9-4
- Fix man pages being doubly-listed in devel subpackage
- Merge the following releases from dev to 1.0 spec

View File

@ -2,24 +2,26 @@
Summary: OpenLDAP (Lightweight Directory Access Protocol)
Name: openldap
Version: 2.4.57
Release: 2%{?dist}
Release: 4%{?dist}
License: OpenLDAP
URL: https://www.openldap.org/
Group: System Environment/Security
Vendor: Microsoft Corporation
Distribution: Mariner
Group: System Environment/Security
URL: https://www.openldap.org/
# Using Canadian mirror. Original source link didn't work: ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/%{name}-%{version}.tgz
Source0: https://gpl.savoirfairelinux.net/pub/mirrors/openldap/openldap-release/%{name}-%{version}.tgz
Patch0: openldap-2.4.40-gssapi-1.patch
Patch1: openldap-2.4.44-consolidated-2.patch
Patch2: CVE-2015-3276.patch
Patch3: CVE-2021-27212.patch
Requires: openssl >= 1.0.1, cyrus-sasl >= 2.1
BuildRequires: cyrus-sasl >= 2.1
BuildRequires: openssl-devel >= 1.0.1
BuildRequires: groff
BuildRequires: e2fsprogs-devel
BuildRequires: groff
BuildRequires: openssl-devel >= 1.0.1
Requires: cyrus-sasl >= 2.1
Requires: openssl >= 1.0.1
Provides: %{name}-clients = %{version}-%{release}
Provides: %{name}-compat = %{version}-%{release}
Provides: %{name}-devel = %{version}-%{release}
%description
@ -33,37 +35,28 @@ libraries, and documentation for OpenLDAP.
%prep
%autosetup -p1
%build
autoconf
sed -i '/6.0.20/ a\\t__db_version_compat' configure
export CPPFLAGS="-D_REENTRANT -DLDAP_CONNECTIONLESS -D_GNU_SOURCE -D_AVL_H"
%configure \
--disable-static \
--disable-debug \
--disable-slapd \
--with-tls=openssl
%make_build depend
%make_build
make depend
make %{?_smp_mflags}
%install
[ %{buildroot} != "/"] && rm -rf %{buildroot}/*
make install DESTDIR=%{buildroot}
find %{buildroot}/%{_libdir} -name '*.la' -delete
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%{_fixperms} %{buildroot}/*
%check
make %{?_smp_mflags} test
%make_build test
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}/*
%ldconfig_scriptlets
%files
%defattr(-,root,root)
@ -75,55 +68,78 @@ rm -rf %{buildroot}/*
%{_mandir}/man3/*
%{_mandir}/man5/*
%{_mandir}/man8/*
/etc/openldap/*
%{_sysconfdir}/openldap/*
%changelog
* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 2.4.57-4
- Add clients, compat subpackage provides from base package
- Minor macro linting
* Fri Mar 26 2021 Thomas Crain <thcrain@microsoft.com> - 2.4.57-3
- Merge the following releases from dev to 1.0 spec
- v-ruyche@microsoft.com, 2.4.50-2: Explicit provide -devel subpackage
* Thu Feb 25 2021 Nicolas Guibourge <nicolasg@microsoft.com> - 2.4.57-2
- Resolve CVE-2021-27212
* Fri Jan 29 2021 Henry Li <lihl@microsoft.com> - 2.4.57-1
- Upgrade to version 2.4.57
- Resolve CVE-2020-36221, CVE-2020-36222, CVE-2020-36223, CVE-2020-36224, CVE-2020-36225
- Update openldap-2.4.44-consolidated-2.patch
- Remove patch CVE-2020-25962 because the change is included in the newer version
* Wed Dec 09 2020 Joe Schmitt <joschmit@microsoft.com> - 2.4.50-3
- Patch CVE-2020-25692.
* Mon Oct 26 2020 Henry Li <lihl@microsoft.com> 2.4.50-2
- Used autosetup.
- Added patch to resolve CVE-2015-3276.
* Wed Jun 03 2020 Nicolas Ontiveros <niontive@microsoft.com> 2.4.50-1
- Upgrade to version 2.4.50, which resolves CVE-2020-12243.
* Tue May 12 2020 Nicolas Ontiveros <niontive@microsoft.com> 2.4.48-1
- Upgrade to version 2.4.48, which fixes CVE-2019-13057 and CVE-2019-13565.
* Sat May 09 00:20:53 PST 2020 Nick Samson <nisamson@microsoft.com> - 2.4.46-6
- Added %%license line automatically
* Thu Apr 23 2020 Pawel Winogrodzki <pawelwi@microsoft.com> 2.4.46-5
- License verified.
- Fixed 'Source0' tag.
* Fri Mar 03 2020 Jon Slobodzian <joslobo@microsoft.com> 2.4.46-4
- Replaced incorrect URL link. Verified license. Removed incorrect version from Summary.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 2.4.46-3
- Initial CBL-Mariner import from Photon (license: Apache2).
* Mon Nov 5 2018 Sriram Nambakam <snambakam@vmware.com> 2.4.46-2
- export CPPFLAGS before invoking configure
* Mon Sep 10 2018 Him Kalyan Bordoloi <bordoloih@vmware.com> 2.4.46-1
- Upgrade to 2.4.46
* Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 2.4.44-3
- Use standard configure macros
* Tue Jul 11 2017 Divya Thaluru <dthaluru@vmware.com> 2.4.44-2
- Applied patch for CVE-2017-9287
* Sat Apr 15 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.4.44-1
- Update to 2.4.44
* Wed Oct 05 2016 ChangLee <changlee@vmware.com> 2.4.43-3
- Modified %check
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.4.43-2
- GA - Bump release of all rpms
* Thu Jan 21 2016 Xiaolin Li <xiaolinl@vmware.com> 2.4.43-1
- Updated to version 2.4.43
* Fri Aug 14 2015 Vinay Kulkarni <kulkarniv@vmware.com> 2.4.40-2
- Patches for CVE-2015-1545 and CVE-2015-1546.
* Wed Oct 08 2014 Divya Thaluru <dthaluru@vmware.com> 2.4.40-1
- Initial build. First version
* Thu Feb 25 2021 Nicolas Guibourge <nicolasg@microsoft.com> - 2.4.57-2
- Resolve CVE-2021-27212
* Fri Jan 29 2021 Henry Li <lihl@microsoft.com> - 2.4.57-1
- Upgrade to version 2.4.57
- Resolve CVE-2020-36221, CVE-2020-36222, CVE-2020-36223, CVE-2020-36224, CVE-2020-36225
- Update openldap-2.4.44-consolidated-2.patch
- Remove patch CVE-2020-25962 because the change is included in the newer version
* Wed Dec 09 2020 Joe Schmitt <joschmit@microsoft.com> - 2.4.50-3
- Patch CVE-2020-25692.
* Mon Oct 26 2020 Henry Li <lihl@microsoft.com> 2.4.50-2
- Used autosetup.
- Added patch to resolve CVE-2015-3276.
* Wed Jun 03 2020 Nicolas Ontiveros <niontive@microsoft.com> 2.4.50-1
- Upgrade to version 2.4.50, which resolves CVE-2020-12243.
* Tue May 12 2020 Nicolas Ontiveros <niontive@microsoft.com> 2.4.48-1
- Upgrade to version 2.4.48, which fixes CVE-2019-13057 and CVE-2019-13565.
* Sat May 09 00:20:53 PST 2020 Nick Samson <nisamson@microsoft.com> - 2.4.46-6
- Added %%license line automatically
* Thu Apr 23 2020 Pawel Winogrodzki <pawelwi@microsoft.com> 2.4.46-5
- License verified.
- Fixed 'Source0' tag.
* Fri Mar 03 2020 Jon Slobodzian <joslobo@microsoft.com> 2.4.46-4
- Replaced incorrect URL link. Verified license. Removed incorrect version from Summary.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 2.4.46-3
- Initial CBL-Mariner import from Photon (license: Apache2).
* Mon Nov 5 2018 Sriram Nambakam <snambakam@vmware.com> 2.4.46-2
- export CPPFLAGS before invoking configure
* Mon Sep 10 2018 Him Kalyan Bordoloi <bordoloih@vmware.com> 2.4.46-1
- Upgrade to 2.4.46
* Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 2.4.44-3
- Use standard configure macros
* Tue Jul 11 2017 Divya Thaluru <dthaluru@vmware.com> 2.4.44-2
- Applied patch for CVE-2017-9287
* Sat Apr 15 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.4.44-1
- Update to 2.4.44
* Wed Oct 05 2016 ChangLee <changlee@vmware.com> 2.4.43-3
- Modified %check
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.4.43-2
- GA - Bump release of all rpms
* Thu Jan 21 2016 Xiaolin Li <xiaolinl@vmware.com> 2.4.43-1
- Updated to version 2.4.43
* Fri Aug 14 2015 Vinay Kulkarni <kulkarniv@vmware.com> 2.4.40-2
- Patches for CVE-2015-1545 and CVE-2015-1546.
* Wed Oct 08 2014 Divya Thaluru <dthaluru@vmware.com> 2.4.40-1
- Initial build. First version

View File

@ -1,7 +1,7 @@
Summary: Open Source Security Compliance Solution
Name: openscap
Version: 1.3.1
Release: 6%{?dist}
Release: 7%{?dist}
License: LGPLv2+
Vendor: Microsoft Corporation
Distribution: Mariner
@ -20,13 +20,14 @@ BuildRequires: libxslt-devel
BuildRequires: pcre-devel
BuildRequires: perl-XML-Parser
BuildRequires: popt-devel
BuildRequires: python2-devel
BuildRequires: python3-devel
BuildRequires: rpm-devel
BuildRequires: swig
BuildRequires: util-linux-devel
Requires: curl
Requires: popt
Provides: %{name}-engine-sce = %{version}-%{release}
Provides: %{name}-scanner = %{version}-%{release}
Provides: %{name}-utils = %{version}-%{release}
%description
@ -50,33 +51,31 @@ Requires: perl-interpreter
%description perl
Perl scripts.
%package python
%package -n python3-%{name}
Summary: openscap python
Group: Development/Libraries
BuildRequires: python2-devel
Requires: openscap = %{version}-%{release}
%description python
Python bindings.
%description -n python3-%{name}
Python 3 bindings for %{name}.
%prep
%setup -q
%autosetup
mkdir build
%build
cd build
%cmake -DENABLE_PERL=ON \
-DENABLE_SCE=ON \
-DPYTHON_EXECUTABLE:STRING=python2 \
-DPYTHON_VERSION_MAJOR:STRING=$(python2 -c "import sys; print(sys.version_info.major)") \
-DPYTHON_VERSION_MINOR:STRING=$(python2 -c "import sys; print(sys.version_info.minor)") \
-DPYTHON_EXECUTABLE:STRING=%{python3} \
-DPYTHON_VERSION_MAJOR:STRING=$(%{python3} -c "import sys; print(sys.version_info.major)") \
-DPYTHON_VERSION_MINOR:STRING=$(%{python3} -c "import sys; print(sys.version_info.minor)") \
..
make %{?_smp_flags}
%make_build
%install
cd build
%make_install
#make DESTDIR=%{buildroot} install
find %{buildroot} -type f -name "*.la" -delete -print
#%check
@ -91,7 +90,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
%exclude %{_prefix}/src/debug
%exclude %{_libdir}/debug
%{_bindir}/*
#%{_libexecdir}/*
%{_mandir}/man8/*
%{_datadir}/openscap/*
%{_libdir}/libopenscap_sce.so.*
@ -109,46 +107,51 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/perl5/*
%{_datadir}/perl5/vendor_perl/openscap_pm.pm
%files python
%files -n python3-%{name}
%defattr(-,root,root)
%{_libdir}/python2.7/*
%{python3_sitelib}/*
%changelog
* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 1.3.1-7
- Add provides for scanner subpackage from base package
- Remove openscap-python python2 subpackage
- Add python3-openscap subpackage
* Tue Jan 12 2021 Ruying Chen <v-ruyche@microsoft.com> - 1.3.1-6
- Provide openscap-engine-sce and openscap-utils.
* Mon Oct 12 2020 Joe Schmitt <joschmit@microsoft.com> 1.3.1-5
- Use new perl package names.
* Mon Oct 12 2020 Joe Schmitt <joschmit@microsoft.com> - 1.3.1-5
- Use new perl package names.
* Mon Sep 28 2020 Joe Schmitt <joschmit@microsoft.com> 1.3.1-4
- Explicitly set python verison.
* Mon Sep 28 2020 Joe Schmitt <joschmit@microsoft.com> - 1.3.1-4
- Explicitly set python verison.
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> 1.3.1-3
- Added %%license line automatically
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 1.3.1-3
- Added %%license line automatically
* Thu Apr 30 2020 Emre Girgin <mrgirgin@microsoft.com> 1.3.1-2
- Renaming XML-Parser to perl-XML-Parser
* Thu Apr 30 2020 Emre Girgin <mrgirgin@microsoft.com> - 1.3.1-2
- Renaming XML-Parser to perl-XML-Parser
* Tue Mar 17 2020 Henry Beberman <henry.beberman@microsoft.com> 1.3.1-1
- Update to 1.3.1. Remove probe directory. License fixed.
* Tue Mar 17 2020 Henry Beberman <henry.beberman@microsoft.com> - 1.3.1-1
- Update to 1.3.1. Remove probe directory. License fixed.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 1.2.17-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 1.2.17-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Mon Sep 10 2018 Him Kalyan Bordoloi <bordoloih@vmware.com> 1.2.17-1
- Update to 1.2.17
* Mon Sep 10 2018 Him Kalyan Bordoloi <bordoloih@vmware.com> - 1.2.17-1
- Update to 1.2.17
* Thu Aug 10 2017 Rongrong Qiu <rqiu@vmware.com> 1.2.14-3
- Disable make check which need per-XML-XPATH for bug 1900358
* Thu Aug 10 2017 Rongrong Qiu <rqiu@vmware.com> - 1.2.14-3
- Disable make check which need per-XML-XPATH for bug 1900358
* Fri May 5 2017 Alexey Makhalov <amakhalov@vmware.com> 1.2.14-2
- Remove BuildRequires XML-XPath.
* Fri May 5 2017 Alexey Makhalov <amakhalov@vmware.com> - 1.2.14-2
- Remove BuildRequires XML-XPath.
* Mon Mar 27 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.2.14-1
- Update to latest version.
* Mon Mar 27 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 1.2.14-1
- Update to latest version.
* Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 1.2.10-2
- BuildRequires curl-devel.
* Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> - 1.2.10-2
- BuildRequires curl-devel.
* Tue Sep 6 2016 Xiaolin Li <xiaolinl@vmware.com> 1.2.10-1
- Initial build. First version
* Tue Sep 6 2016 Xiaolin Li <xiaolinl@vmware.com> - 1.2.10-1
- Initial build. First version

View File

@ -1,7 +1,7 @@
Summary: Grep for perl compatible regular expressions
Name: pcre
Version: 8.44
Release: 2%{?dist}
Release: 3%{?dist}
License: BSD
Vendor: Microsoft Corporation
Distribution: Mariner
@ -22,13 +22,13 @@ The PCRE package contains Perl Compatible Regular Expression libraries. These ar
Summary: Headers and static lib for pcre development
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Provides: pkgconfig(libpcre)
Provides: %{name}-static = %{version}-%{release}
%description devel
Install this package if you want do compile applications using the pcre
library.
%package libs
%package libs
Summary: Libraries for pcre
Group: System Environment/Libraries
@ -36,32 +36,31 @@ Group: System Environment/Libraries
This package contains minimal set of shared pcre libraries.
%prep
%setup -q
%autosetup
%build
./configure --prefix=%{_prefix} \
--docdir=%{_docdir}/pcre-%{version} \
--enable-unicode-properties \
--enable-pcre16 \
--enable-pcre32 \
--enable-pcregrep-libz \
--enable-pcregrep-libbz2 \
--enable-pcretest-libreadline \
--with-match-limit-recursion=16000 \
--disable-static
make %{?_smp_mflags}
%configure \
--docdir=%{_docdir}/pcre-%{version} \
--enable-unicode-properties \
--enable-pcre16 \
--enable-pcre32 \
--enable-pcregrep-libz \
--enable-pcregrep-libbz2 \
--enable-pcretest-libreadline \
--with-match-limit-recursion=16000
%make_build
%install
make DESTDIR=%{buildroot} install
mv -v %{buildroot}/usr/lib/libpcre.so.* %{buildroot}/lib &&
ln -sfv ../../lib/$(readlink %{buildroot}/usr/lib/libpcre.so) %{buildroot}%{_libdir}/libpcre.so
ln -sfv $(readlink %{buildroot}/usr/lib/libpcre.so) %{buildroot}%{_libdir}/libpcre.so.0
%make_install
mv -v %{buildroot}%{_libdir}/libpcre.so.* %{buildroot}/lib &&
ln -sfv ../../lib/$(readlink %{buildroot}%{_libdir}/libpcre.so) %{buildroot}%{_libdir}/libpcre.so
ln -sfv $(readlink %{buildroot}%{_libdir}/libpcre.so) %{buildroot}%{_libdir}/libpcre.so.0
find %{buildroot} -type f -name "*.la" -delete -print
%check
make %{?_smp_mflags} check
%make_build check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%defattr(-,root,root)
@ -81,7 +80,7 @@ make %{?_smp_mflags} check
%{_defaultdocdir}/%{name}-%{version}/*
%{_mandir}/*/*
%{_libdir}/*.so
%{_libdir}/*.la
%{_libdir}/*.a
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*
@ -90,59 +89,64 @@ make %{?_smp_mflags} check
%{_libdir}/libpcre.so.*
%changelog
* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 8.44-3
- Remove *.la files from devel subpackage
- Build static libraries, add compatibility provides for static subpackage
- Remove manual pkgconfig provides
* Mon Apr 26 2021 Thomas Crain <thcrain@microsoft.com> - 8.44-2
- Replace incorrect %%{_lib} usage with %%{_libdir}
* Thu Oct 29 2020 Joe Schmitt <joschmit@microsoft.com> - 8.44-1
- Update to version 8.44 to fix CVE-2020-14155.
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> 8.42-4
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 8.42-4
- Added %%license line automatically
* Tue Apr 07 2020 Joe Schmitt <joschmit@microsoft.com> 8.42-3
- Update URL.
- Update Source0 with valid URL.
- Remove sha1 macro.
- License verified.
* Tue Apr 07 2020 Joe Schmitt <joschmit@microsoft.com> - 8.42-3
- Update URL.
- Update Source0 with valid URL.
- Remove sha1 macro.
- License verified.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 8.42-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 8.42-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Tue Sep 11 2018 Him Kalyan Bordoloi <bordoloih@vmware.com> 8.42-1
- Update to version 8.42
* Tue Sep 11 2018 Him Kalyan Bordoloi <bordoloih@vmware.com> - 8.42-1
- Update to version 8.42
* Wed Dec 20 2017 Xiaolin Li <xiaolinl@vmware.com> 8.41-1
- Update to version 8.41
* Wed Dec 20 2017 Xiaolin Li <xiaolinl@vmware.com> - 8.41-1
- Update to version 8.41
* Wed Jul 19 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 8.40-4
- Added fix for CVE-2017-11164 by adding stack recursion limit
* Wed Jul 19 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> - 8.40-4
- Added fix for CVE-2017-11164 by adding stack recursion limit
* Wed May 24 2017 Divya Thaluru <dthaluru@vmware.com> 8.40-3
- Added fixes for CVE-2017-7244, CVE-2017-7245, CVE-2017-7246, CVE-2017-7186
* Wed May 24 2017 Divya Thaluru <dthaluru@vmware.com> - 8.40-3
- Added fixes for CVE-2017-7244, CVE-2017-7245, CVE-2017-7246, CVE-2017-7186
* Fri Apr 14 2017 Alexey Makhalov <amakhalov@vmware.com> 8.40-2
- Added -libs subpackage
* Fri Apr 14 2017 Alexey Makhalov <amakhalov@vmware.com> - 8.40-2
- Added -libs subpackage
* Mon Apr 03 2017 Robert Qi <qij@vmware.com> 8.40-1
- Update to 8.40
* Mon Apr 03 2017 Robert Qi <qij@vmware.com> - 8.40-1
- Update to 8.40
* Wed Oct 05 2016 ChangLee <changlee@vmware.com> 8.39-2
- Modified %check
* Wed Oct 05 2016 ChangLee <changlee@vmware.com> - 8.39-2
- Modified %%check
* Fri Sep 9 2016 Xiaolin Li <xiaolinl@vmware.com> 8.39-1
- Update to version 8.39
* Fri Sep 9 2016 Xiaolin Li <xiaolinl@vmware.com> - 8.39-1
- Update to version 8.39
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 8.38-3
- GA - Bump release of all rpms
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 8.38-3
- GA - Bump release of all rpms
* Fri Mar 18 2016 Anish Swaminathan <anishs@vmware.com> 8.38-2
- Add upstream fixes patch
* Fri Mar 18 2016 Anish Swaminathan <anishs@vmware.com> 8.38-2
- Add upstream fixes patch
* Thu Jan 21 2016 Xiaolin Li <xiaolinl@vmware.com> 8.38-1
- Updated to version 8.38
* Thu Jan 21 2016 Xiaolin Li <xiaolinl@vmware.com> - 8.38-1
- Updated to version 8.38
* Mon Nov 30 2015 Sharath George <sharathg@vmware.com> 8.36-2
Add symlink for libpcre.so.1
* Mon Nov 30 2015 Sharath George <sharathg@vmware.com> - 8.36-2
- Add symlink for libpcre.so.1
* Thu Nov 06 2014 Sharath George <sharathg@vmware.com> 8.36-1
Initial version
* Thu Nov 06 2014 Sharath George <sharathg@vmware.com> - 8.36-1
- Initial version

View File

@ -1,29 +1,28 @@
Summary: A library for Perl-compatible regular expressions
Name: pcre2
Version: 10.34
Release: 1%{?dist}
Summary: A library for Perl-compatible regular expressions
Release: 2%{?dist}
License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: https://www.pcre.org/
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Libraries/C and C++
URL: https://www.pcre.org/
Source0: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2
BuildRequires: libgcc
BuildRequires: pkg-config
BuildRequires: zlib-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bzip2-devel
BuildRequires: coreutils
BuildRequires: gcc
BuildRequires: libgcc
BuildRequires: libtool
BuildRequires: make
BuildRequires: bzip2-devel
%if %{with pcre2_enables_readline}
BuildRequires: pkg-config
BuildRequires: readline-devel
%endif
Requires: %{name}-tools
Requires: %{name}-doc
BuildRequires: zlib-devel
Requires: %{name}-doc = %{version}-%{release}
Requires: %{name}-tools = %{version}-%{release}
Requires: libpcre2-8-0 = %{version}-%{release}
Requires: libpcre2-posix2 = %{version}-%{release}
%description
The PCRE2 library is a set of functions that implement regular
@ -36,13 +35,13 @@ API.
%package devel
Summary: A library for Perl-compatible regular expressions
Group: Development/Libraries/C and C++
Requires: libpcre2-16-0 = %{version}
Requires: libpcre2-32-0 = %{version}
Requires: libpcre2-8-0 = %{version}
Requires: libpcre2-posix2 = %{version}
Requires: libpcre2-16-0 = %{version}-%{release}
Requires: libpcre2-32-0 = %{version}-%{release}
Requires: libpcre2-8-0 = %{version}-%{release}
Requires: libpcre2-posix2 = %{version}-%{release}
Requires: libstdc++-devel
%description devel
%description devel
The PCRE2 library is a set of functions that implement regular
expression pattern matching using the same syntax and semantics
as Perl 5.
@ -53,7 +52,7 @@ API.
%package devel-static
Summary: A library for Perl-compatible regular expressions
Group: Development/Libraries/C and C++
Requires: pcre2-devel = %{version}
Requires: pcre2-devel = %{version}-%{release}
%description devel-static
The PCRE2 library is a set of functions that implement regular
@ -65,7 +64,7 @@ API.
This package contains static versions of the PCRE2 libraries.
%package -n libpcre2-8-0
%package -n libpcre2-8-0
Summary: A library for Perl-compatible regular expressions
Group: System/Libraries
@ -80,9 +79,10 @@ API.
This PCRE2 library variant supports 8-bit and UTF-8 strings.
(See also libpcre2-16 and libpcre2-32)
%package -n libpcre2-16-0
%package -n libpcre2-16-0
Summary: A library for Perl-compatible regular expressions
Group: System/Libraries
Provides: %{name}-utf16 = %{version}-%{release}
%description -n libpcre2-16-0
The PCRE2 library is a set of functions that implement regular
@ -97,6 +97,7 @@ libpcre2-16 supports 16-bit and UTF-16 strings.
%package -n libpcre2-32-0
Summary: A library for Perl-compatible regular expressions
Group: System/Libraries
Provides: %{name}-utf32 = %{version}-%{release}
%description -n libpcre2-32-0
The PCRE2 library is a set of functions that implement regular
@ -169,27 +170,14 @@ export LDFLAGS="-Wl,-z,relro,-z,now"
--enable-pcre2grep-libz \
--enable-pcre2grep-libbz2 \
--disable-pcre2test-libedit \
%if %{with pcre2_enables_readline}
--enable-pcre2test-libreadline \
%else
--disable-pcre2test-libreadline \
%endif
--enable-unicode
%if 0%{?do_profiling}
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1
export LANG=POSIX
# do not run profiling in parallel for reproducible builds (boo#1040589 boo#1102408)
make CFLAGS="%{optflags} %{cflags_profile_generate}" check
make %{?_smp_mflags} clean
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1
%else
make %{?_smp_mflags} CFLAGS="%{optflags}"
%endif
%make_build
%install
%make_install
mkdir -p %{buildroot}/%{_defaultdocdir}
mv %{buildroot}%{_datadir}/doc/pcre2 %{buildroot}/%{_defaultdocdir}/pcre2-doc
mv %{buildroot}%{_docdir}/pcre2 %{buildroot}/%{_defaultdocdir}/pcre2-doc
#empty dependecy_libs
find %{buildroot} -type f -name "*.la" -delete -print
@ -197,14 +185,10 @@ find %{buildroot} -type f -name "*.la" -delete -print
export LANG=POSIX
make check -j1
%post -n libpcre2-8-0 -p /sbin/ldconfig
%postun -n libpcre2-8-0 -p /sbin/ldconfig
%post -n libpcre2-16-0 -p /sbin/ldconfig
%postun -n libpcre2-16-0 -p /sbin/ldconfig
%post -n libpcre2-32-0 -p /sbin/ldconfig
%postun -n libpcre2-32-0 -p /sbin/ldconfig
%post -n libpcre2-posix2 -p /sbin/ldconfig
%postun -n libpcre2-posix2 -p /sbin/ldconfig
%ldconfig_scriptlets -n libpcre2-8-0
%ldconfig_scriptlets -n libpcre2-16-0
%ldconfig_scriptlets -n libpcre2-32-0
%ldconfig_scriptlets -n libpcre2-posix2
%files
@ -214,32 +198,32 @@ make check -j1
%{_libdir}/libpcre2-8.so.*
%files -n libpcre2-16-0
%doc LICENCE
%license LICENCE
%{_libdir}/libpcre2-16.so.*
%files -n libpcre2-32-0
%doc LICENCE
%license LICENCE
%{_libdir}/libpcre2-32.so.*
%files -n libpcre2-posix2
%doc LICENCE
%license LICENCE
%{_libdir}/libpcre2-posix.so.*
%files tools
%doc LICENCE
%license LICENCE
%{_bindir}/pcre2grep
%{_bindir}/pcre2test
%{_mandir}/man1/pcre2grep.1.gz
%{_mandir}/man1/pcre2test.1.gz
%files doc
%license COPYING
%doc AUTHORS ChangeLog LICENCE NEWS README
%license COPYING LICENCE
%doc AUTHORS ChangeLog NEWS README
%doc doc/html doc/*.txt
%doc %{_defaultdocdir}/pcre2-doc
%files devel
%doc LICENCE
%license LICENCE
%{_bindir}/pcre2-config
%{_includedir}/*
%{_libdir}/*.so
@ -254,6 +238,11 @@ make check -j1
%{_libdir}/*.a
%changelog
* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 10.34-2
- Unconditionally build with readline support
- Add compatibility provides for pcre2-utf{16,32}
- Require libpcre2-8-0, libpcre2-posix2 from base package
* Tue May 18 2020 Andrew Phelps <anphel@microsoft.com> - 10.34-1
- Update to version 10.34
@ -267,4 +256,3 @@ make check -j1
* Thu Feb 13 2020 Suresh Babu Chalamalasetty <schalam@microsoft.com> 10.32-1
- Original version for CBL-Mariner.

View File

@ -1,7 +1,7 @@
Summary: unbound dns server
Name: unbound
Version: 1.10.0
Release: 4%{?dist}
Release: 5%{?dist}
License: BSD
Vendor: Microsoft Corporation
Distribution: Mariner
@ -15,23 +15,34 @@ Patch0: CVE-2020-12662.patch
Patch1: CVE-2020-12663.nopatch
Patch2: CVE-2020-28935.patch
BuildRequires: expat-devel
BuildRequires: python3-devel
BuildRequires: swig
BuildRequires: systemd
Requires: systemd
Requires(pre): %{_sbindir}/groupadd
Requires(pre): %{_sbindir}/useradd
Provides: %{name}-libs = %{version}-%{release}
%description
Unbound is a validating, recursive, and caching DNS resolver.
%package devel
%package devel
Summary: unbound development libs and headers
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: expat-devel
%description devel
%description devel
Development files for unbound dns server
%package docs
%package -n python3-%{name}
Summary: Python 3 bindings for %{name}
Requires: %{name} = %{version}-%{release}
%description -n python3-%{name}
Python 3 bindings for %{name}
%package docs
Summary: unbound docs
Group: Documentation
@ -42,24 +53,22 @@ unbound dns server docs
%autosetup -p1 -n %{name}-release-%{version}
%build
./configure \
--prefix=%{_prefix} \
--bindir=%{_bindir} \
--libdir=%{_libdir} \
--sysconfdir=%{_sysconfdir} \
%configure \
--with-conf-file=%{_sysconfdir}/%{name}/unbound.conf \
--disable-static
make
--disable-static \
--with-pythonmodule \
--with-pyunbound \
PYTHON=%{python3}
%make_build
%install
make install DESTDIR=%{buildroot}
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
install -vdm755 %{buildroot}%{_unitdir}
install -pm 0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
%check
make check
%make_build check
%pre
getent group unbound >/dev/null || groupadd -r unbound
@ -67,12 +76,7 @@ getent passwd unbound >/dev/null || \
useradd -r -g unbound -d %{_sysconfdir}/unbound -s /sbin/nologin \
-c "Unbound DNS resolver" unbound
%post
/sbin/ldconfig
%clean
rm -rf %{buildroot}/*
%ldconfig_scriptlets
%files
%defattr(-,root,root)
@ -87,10 +91,17 @@ rm -rf %{buildroot}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%files -n python3-%{name}
%{python3_sitelib}/*
%files docs
%{_mandir}/*
%changelog
* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 1.10.0-5
- Add provides for libs subpackage from base package
- Add python3 modules subpackage
* Mon Dec 21 2020 Rachel Menge <rachelmenge@microsoft.com> - 1.10.0-4
- Fix CVE-2020-28935.

View File

@ -203,7 +203,7 @@ libselinux-2.9-6.cm2.aarch64.rpm
glib-2.60.1-5.cm2.aarch64.rpm
libltdl-2.4.6-7.cm2.aarch64.rpm
libltdl-devel-2.4.6-7.cm2.aarch64.rpm
pcre-libs-8.44-2.cm2.aarch64.rpm
pcre-libs-8.44-3.cm2.aarch64.rpm
krb5-1.17-7.cm2.aarch64.rpm
lua-5.3.5-11.cm2.aarch64.rpm
lua-libs-5.3.5-11.cm2.aarch64.rpm

View File

@ -203,7 +203,7 @@ libselinux-2.9-6.cm2.x86_64.rpm
glib-2.60.1-5.cm2.x86_64.rpm
libltdl-2.4.6-7.cm2.x86_64.rpm
libltdl-devel-2.4.6-7.cm2.x86_64.rpm
pcre-libs-8.44-2.cm2.x86_64.rpm
pcre-libs-8.44-3.cm2.x86_64.rpm
krb5-1.17-7.cm2.x86_64.rpm
lua-5.3.5-11.cm2.x86_64.rpm
lua-libs-5.3.5-11.cm2.x86_64.rpm

View File

@ -302,10 +302,10 @@ pam-devel-1.3.1-5.cm2.aarch64.rpm
pam-lang-1.3.1-5.cm2.aarch64.rpm
patch-2.7.6-7.cm2.aarch64.rpm
patch-debuginfo-2.7.6-7.cm2.aarch64.rpm
pcre-8.44-2.cm2.aarch64.rpm
pcre-debuginfo-8.44-2.cm2.aarch64.rpm
pcre-devel-8.44-2.cm2.aarch64.rpm
pcre-libs-8.44-2.cm2.aarch64.rpm
pcre-8.44-3.cm2.aarch64.rpm
pcre-debuginfo-8.44-3.cm2.aarch64.rpm
pcre-devel-8.44-3.cm2.aarch64.rpm
pcre-libs-8.44-3.cm2.aarch64.rpm
perl-5.32.0-463.cm2.aarch64.rpm
perl-Archive-Tar-2.36-463.cm2.noarch.rpm
perl-Attribute-Handlers-1.01-463.cm2.noarch.rpm

View File

@ -302,10 +302,10 @@ pam-devel-1.3.1-5.cm2.x86_64.rpm
pam-lang-1.3.1-5.cm2.x86_64.rpm
patch-2.7.6-7.cm2.x86_64.rpm
patch-debuginfo-2.7.6-7.cm2.x86_64.rpm
pcre-8.44-2.cm2.x86_64.rpm
pcre-debuginfo-8.44-2.cm2.x86_64.rpm
pcre-devel-8.44-2.cm2.x86_64.rpm
pcre-libs-8.44-2.cm2.x86_64.rpm
pcre-8.44-3.cm2.x86_64.rpm
pcre-debuginfo-8.44-3.cm2.x86_64.rpm
pcre-devel-8.44-3.cm2.x86_64.rpm
pcre-libs-8.44-3.cm2.x86_64.rpm
perl-5.32.0-463.cm2.x86_64.rpm
perl-Archive-Tar-2.36-463.cm2.noarch.rpm
perl-Attribute-Handlers-1.01-463.cm2.noarch.rpm