|
|
@ -3,34 +3,50 @@
|
|
|
|
%global rpcbind_state_dir %{_rundir}/rpcbind
|
|
|
|
%global rpcbind_state_dir %{_rundir}/rpcbind
|
|
|
|
|
|
|
|
|
|
|
|
Name: rpcbind
|
|
|
|
Name: rpcbind
|
|
|
|
Version: 1.2.6
|
|
|
|
Version: 1.2.5
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Release: 10%{?dist}
|
|
|
|
Summary: Universal Addresses to RPC Program Number Mapper
|
|
|
|
Summary: Universal Addresses to RPC Program Number Mapper
|
|
|
|
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
URL: https://sourceforge.net/projects/rpcbind/
|
|
|
|
URL: http://git.linux-nfs.org/?p=steved/rpcbind.git;a=summary
|
|
|
|
|
|
|
|
|
|
|
|
Source0: http://downloads.sourceforge.net/rpcbind/%{name}-%{version}.tar.bz2
|
|
|
|
Source0: http://downloads.sourceforge.net/rpcbind/%{name}-%{version}.tar.bz2
|
|
|
|
Source1: %{name}.sysconfig
|
|
|
|
Source1: %{name}.sysconfig
|
|
|
|
|
|
|
|
|
|
|
|
Requires: glibc-common setup
|
|
|
|
Requires: glibc-common setup
|
|
|
|
Conflicts: man-pages < 2.43-12
|
|
|
|
Conflicts: man-pages < 2.43-12
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: automake, autoconf, libtool, systemd, systemd-devel
|
|
|
|
BuildRequires: automake, autoconf, libtool, systemd, systemd-devel
|
|
|
|
BuildRequires: libtirpc-devel, quota-devel
|
|
|
|
BuildRequires: libtirpc-devel, quota-devel
|
|
|
|
Requires(pre): coreutils shadow-utils
|
|
|
|
Requires(pre): coreutils shadow-utils
|
|
|
|
Requires(post): systemd policycoreutils
|
|
|
|
Requires(post): chkconfig systemd policycoreutils
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(postun): systemd coreutils
|
|
|
|
Requires(postun): systemd coreutils
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# RHEL9.1
|
|
|
|
# RHEL 8.0
|
|
|
|
#
|
|
|
|
#
|
|
|
|
Patch001: rpcbind-1.2.6-double-free.patch
|
|
|
|
Patch001: rpcbind-1.2.5-rpcinfo-bufoverflow.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
# RHEL 8.2
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
Patch002: rpcbind-1.2.5-covscan-resource-leaks.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
# RHEL 8.4
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
Patch003: rpcbind-1.2.5-dowgrade-priority-callit.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
# RHEL 8.7
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
Patch004: rpcbind-1.2.5-network_init.patch
|
|
|
|
|
|
|
|
Patch005: rpcbind-1.2.5-double-free.patch
|
|
|
|
|
|
|
|
|
|
|
|
Patch100: rpcbind-0.2.3-systemd-envfile.patch
|
|
|
|
Patch100: rpcbind-0.2.3-systemd-envfile.patch
|
|
|
|
Patch101: rpcbind-0.2.3-systemd-tmpfiles.patch
|
|
|
|
Patch101: rpcbind-0.2.3-systemd-tmpfiles.patch
|
|
|
|
Patch102: rpcbind-0.2.4-runstatdir.patch
|
|
|
|
Patch102: rpcbind-0.2.4-runstatdir.patch
|
|
|
|
Patch103: rpcbind-1.2.6-systemd-service.patch
|
|
|
|
Patch103: rpcbind-0.2.4-systemd-service.patch
|
|
|
|
Patch104: rpcbind-0.2.4-systemd-rundir.patch
|
|
|
|
Patch104: rpcbind-0.2.4-systemd-rundir.patch
|
|
|
|
|
|
|
|
|
|
|
|
Provides: portmap = %{version}-%{release}
|
|
|
|
Provides: portmap = %{version}-%{release}
|
|
|
@ -42,8 +58,28 @@ universal addresses. It must be running on the host to be able to make
|
|
|
|
RPC calls on a server on that machine.
|
|
|
|
RPC calls on a server on that machine.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 1637565 - rpcinfo: Fix stack buffer overflow
|
|
|
|
|
|
|
|
%patch001 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 1602680 - Please review important issues found by covscan...
|
|
|
|
|
|
|
|
%patch002 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 1897122 - rpcbind : downgrade priority for non-libwrap CALLIT logging
|
|
|
|
|
|
|
|
%patch003 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 1959003 - network_init: initialize response addrinfo list to NULL
|
|
|
|
|
|
|
|
%patch004 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 2115209 - rpcbind: free(): double free detected in tcache 2
|
|
|
|
|
|
|
|
%patch005 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%patch100 -p1
|
|
|
|
|
|
|
|
%patch101 -p1
|
|
|
|
|
|
|
|
%patch102 -p1
|
|
|
|
|
|
|
|
%patch103 -p1
|
|
|
|
|
|
|
|
%patch104 -p1
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
autoreconf -fisv
|
|
|
|
autoreconf -fisv
|
|
|
|
%configure \
|
|
|
|
%configure \
|
|
|
@ -57,6 +93,7 @@ autoreconf -fisv
|
|
|
|
make all
|
|
|
|
make all
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
mkdir -p %{buildroot}{%{_sbindir},%{_bindir},/etc/sysconfig}
|
|
|
|
mkdir -p %{buildroot}{%{_sbindir},%{_bindir},/etc/sysconfig}
|
|
|
|
mkdir -p %{buildroot}%{_unitdir}
|
|
|
|
mkdir -p %{buildroot}%{_unitdir}
|
|
|
|
mkdir -p %{buildroot}%{_tmpfilesdir}
|
|
|
|
mkdir -p %{buildroot}%{_tmpfilesdir}
|
|
|
@ -96,6 +133,12 @@ fi
|
|
|
|
%postun
|
|
|
|
%postun
|
|
|
|
%systemd_postun_with_restart rpcbind.service rpcbind.socket
|
|
|
|
%systemd_postun_with_restart rpcbind.service rpcbind.socket
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%triggerun -- rpcbind < 0.2.0-15
|
|
|
|
|
|
|
|
%{_bindir}/systemd-sysv-convert --save rpcbind >/dev/null 2>&1 ||:
|
|
|
|
|
|
|
|
/bin/systemctl --no-reload enable rpcbind.service >/dev/null 2>&1
|
|
|
|
|
|
|
|
/sbin/chkconfig --del rpcbind >/dev/null 2>&1 || :
|
|
|
|
|
|
|
|
/bin/systemctl try-restart rpcbind.service >/dev/null 2>&1 || :
|
|
|
|
|
|
|
|
|
|
|
|
%triggerin -- rpcbind > 0.2.2-2.0
|
|
|
|
%triggerin -- rpcbind > 0.2.2-2.0
|
|
|
|
if systemctl -q is-enabled rpcbind.socket
|
|
|
|
if systemctl -q is-enabled rpcbind.socket
|
|
|
|
then
|
|
|
|
then
|
|
|
@ -110,8 +153,9 @@ then
|
|
|
|
/usr/sbin/restorecon /var/lib/rpcbind
|
|
|
|
/usr/sbin/restorecon /var/lib/rpcbind
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license COPYING
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%config(noreplace) /etc/sysconfig/rpcbind
|
|
|
|
%config(noreplace) /etc/sysconfig/rpcbind
|
|
|
|
%doc AUTHORS ChangeLog README
|
|
|
|
%doc AUTHORS ChangeLog README
|
|
|
|
%{_bindir}/rpcbind
|
|
|
|
%{_bindir}/rpcbind
|
|
|
@ -125,71 +169,39 @@ fi
|
|
|
|
%attr(0700, %{rpcbind_user_group}, %{rpcbind_user_group}) %dir %{rpcbind_state_dir}
|
|
|
|
%attr(0700, %{rpcbind_user_group}, %{rpcbind_user_group}) %dir %{rpcbind_state_dir}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Sep 6 2022 Steve Dickson <steved@redhat.com> - 1.2.6-5
|
|
|
|
* Thu Aug 4 2022 Steve Dickson <steved@redhat.com> - 1.2.5-10
|
|
|
|
- Fixed a typo in changelog (bz 2115517)
|
|
|
|
- rpcbind: fix double free in init_transport (bz 2115209)
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 16 2022 Steve Dickson <steved@redhat.com> - 1.2.6-4
|
|
|
|
|
|
|
|
- Use %autosetup -p1 to make sure patches apply (bz 2115517)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 16 2022 Steve Dickson <steved@redhat.com> - 1.2.6-3
|
|
|
|
|
|
|
|
- Fixed a double free in init_transport (bz 2115517)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.6-2
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 23 2021 Steve Dickson <steved@redhat.com> - 1.2.6-1
|
|
|
|
|
|
|
|
- Use sysconfig variable in service file (bz 1972094)
|
|
|
|
|
|
|
|
- Make sure policycoreutils is installed before using it (bz 1972133)
|
|
|
|
|
|
|
|
- Make sure /var/lib/rpcbind exists (bz 1972133)
|
|
|
|
|
|
|
|
- Corrected the URL reference (bz 1972117)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 22 2021 Steve Dickson <steved@redhat.com> - 1.2.6-0
|
|
|
|
|
|
|
|
- Rebased to latest upstream release: rpcbind-1-2-6 (bz 1959128)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 7 2021 Steve Dickson <steved@redhat.com> - 1.2.5-6.rc1
|
|
|
|
|
|
|
|
- Disable remote calls (bz 1923041)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.5-5.rc1.5
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-5.rc1.4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-5.rc1.3
|
|
|
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-5.rc1.2
|
|
|
|
* Tue May 31 2022 Steve Dickson <steved@redhat.com> - 1.2.5-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
- network_init: initialize response addrinfo list to NULL (bz 1959003)
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-5.rc1.1
|
|
|
|
* Thu Nov 19 2020 Steve Dickson <steved@redhat.com> - 1.2.5-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
- security: dowgrade priority for non-libwrap CALLIT logging (bz 1897122)
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 11 2019 Steve Dickson <steved@redhat.com> - 1.2.5-5.rc1
|
|
|
|
* Thu Feb 6 2020 Steve Dickson <steved@redhat.com> - 1.2.5-7
|
|
|
|
- Updated to latest upstream RC release: rpcbind-1_2_5-rc1 (bz 1431574)
|
|
|
|
- Clean up a error path found by a covscan (bz 1602680)
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Sep 19 2019 Steve Dickson <steved@redhat.com> - 1.2.5-5
|
|
|
|
* Thu Jan 16 2020 Steve Dickson <steved@redhat.com> - 1.2.5-6
|
|
|
|
- Enable remote calls which are used by NIS and other packages (bz 1630672)
|
|
|
|
- Use sysconfig variable in service file (bz 1764985)
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-4
|
|
|
|
* Mon Nov 11 2019 Steve Dickson <steved@redhat.com> - 1.2.5-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
- Removed some issues found by covscan (bz 1602680)
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-3
|
|
|
|
* Fri Jul 26 2019 Steve Dickson <steved@redhat.com> - 1.2.5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
- Enable gating using reverse dependency testing of nfs-utils (bz 1681967
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Oct 17 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.5-2
|
|
|
|
* Sat Oct 20 2018 Steve Dickson <steved@redhat.com> - 1.2.5-3
|
|
|
|
- Drop old sys-v migration bits
|
|
|
|
- Update the URL (bz 1638664)
|
|
|
|
- Ship the license file, minor spec cleanups
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Oct 9 2018 Steve Dickson <steved@redhat.com> - 1.2.5-1
|
|
|
|
* Mon Oct 15 2018 Josh Boyer <jwboyer@redhat.com> - 1.2.5-2
|
|
|
|
- Fixed stack buffer overflow in rpcinfo (bz 1637562)
|
|
|
|
- Make sure policycoreutils is installed before using it (bz 1628901)
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 15 2018 Steve Dickson <steved@redhat.com> - 1.2.5-0
|
|
|
|
* Wed Oct 10 2018 Steve Dickson <steved@redhat.com> - 1.2.5-1
|
|
|
|
- Updated to latest upstream release: 1_2_5
|
|
|
|
- Fixed stack buffer overflow in rpcinfo (bz 1637565)
|
|
|
|
|
|
|
|
- Make sure /var/lib/rpcbind exists (bz 1628901)
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-10.rc3.1
|
|
|
|
* Tue Aug 21 2018 Steve Dickson <steved@redhat.com> - 1.2.5-0
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
- Updated to upstream lastest release: 1_2_5 (bz 1605131)
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 24 2018 Florian Weimer <fweimer@redhat.com> - 0.2.4-10.rc3
|
|
|
|
* Sat Feb 24 2018 Florian Weimer <fweimer@redhat.com> - 0.2.4-10.rc3
|
|
|
|
- Use default build flags from redhat-rpm-config
|
|
|
|
- Use default build flags from redhat-rpm-config
|
|
|
|