5 |
Summary: Transport Independent RPC Library |
Summary: Transport Independent RPC Library |
6 |
Name: libtirpc |
Name: libtirpc |
7 |
Version: 0.2.5 |
Version: 0.2.5 |
8 |
%define subrel 1 |
%define subrel 2 |
9 |
Release: %mkrel 3 |
Release: %mkrel 3 |
10 |
License: GPL |
License: GPL |
11 |
Group: System/Libraries |
Group: System/Libraries |
12 |
URL: http://sourceforge.net/projects/libtirpc |
URL: http://sourceforge.net/projects/libtirpc |
13 |
Source0: http://downloads.sourceforge.net/libtirpc/%{name}-%{version}.tar.bz2 |
Source0: http://downloads.sourceforge.net/libtirpc/%{name}-%{version}.tar.bz2 |
14 |
Patch0: libtirpc-1.0.2-rc3-CVE-2016-4429.patch |
Patch0: libtirpc-1.0.2-rc3-CVE-2016-4429.patch |
15 |
|
Patch1: libtirpc-0.2.5-CVE-2017-8779.patch |
16 |
BuildRequires: pkgconfig |
BuildRequires: pkgconfig |
17 |
BuildRequires: krb5-devel |
BuildRequires: krb5-devel |
18 |
|
|
71 |
%prep |
%prep |
72 |
%setup -q |
%setup -q |
73 |
%patch0 -p1 |
%patch0 -p1 |
74 |
|
%patch1 -p1 -b .CVE-2017-8779 |
75 |
|
|
76 |
%build |
%build |
77 |
autoreconf -fi |
autoreconf -fi |
78 |
export CFLAGS="%{optflags} -fPIC" |
export CFLAGS="%{optflags} -fPIC" |
79 |
%configure2_5x |
%configure2_5x |
80 |
%make all |
%make_build |
81 |
|
|
82 |
%install |
%install |
83 |
|
|
84 |
%makeinstall_std |
%make_install |
85 |
install -m 755 -d %{buildroot}%{_sysconfdir} |
install -m 755 -d %{buildroot}%{_sysconfdir} |
86 |
install -m 644 doc/netconfig %{buildroot}%{_sysconfdir}/netconfig |
install -m 644 doc/netconfig %{buildroot}%{_sysconfdir}/netconfig |
87 |
|
|