Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
libcares2.29101
libcares2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libcares2.spec of Package libcares2.29101
# # spec file for package libcares2 # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define pkg_name c-ares Name: libcares2 Version: 1.9.1 Release: 0 Summary: Library for asynchronous name resolves License: MIT Group: Development/Libraries/C and C++ URL: http://c-ares.haxx.se/ Source0: http://c-ares.haxx.se/download/%{pkg_name}-%{version}.tar.gz Source1: http://c-ares.haxx.se/download/%{pkg_name}-%{version}.tar.gz.asc Source3: libcares2.keyring Source4: baselibs.conf Patch2: c-ares-CVE-2016-5180.patch Patch4: cares-1.9.1-ocloexec.patch Patch5: 0001-cares-1.9.1-add-symbol-versioning-support.patch Patch6: cares-autotools.diff Patch7: CVE-2017-1000381.patch Patch8: CVE-2021-3672.patch Patch9: CVE-2023-31124.patch Patch10: CVE-2023-31147.patch Patch11: CVE-2023-31130.patch Patch12: CVE-2023-32067.patch BuildRequires: libtool BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %description c-ares is a C library that performs DNS requests and name resolves asynchronously. c-ares is a fork of the library named 'ares', written by Greg Hudson at MIT. %package -n libcares-devel Summary: Library for asynchronous name resolves Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: glibc-devel %description -n libcares-devel c-ares is a C library that performs DNS requests and name resolves asynchronously. c-ares is a fork of the library named 'ares', written by Greg Hudson at MIT. %prep %setup -q -n %{pkg_name}-%{version} %patch4 -p1 %patch5 -p1 %patch -P 6 -p1 %patch2 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %build autoreconf -fiv %configure --enable-symbol-hiding --enable-nonblocking --enable-shared --disable-static --with-pic sed -i -e 's@-g0@-g@g' Makefile make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} rm -f %{buildroot}%{_libdir}/*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libcares.so.2* %files -n libcares-devel %defattr(-,root,root) %{_libdir}/libcares.so %{_includedir}/*.h %{_mandir}/man3/ares_* %{_libdir}/pkgconfig/libcares.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor