62b4f2
# These are macros to be usable outside of the build section
62b4f2
%global rpcbind_user_group rpc
62b4f2
%global rpcbind_state_dir %{_rundir}/rpcbind
62b4f2
62b4f2
Name:           rpcbind
62b4f2
Version:        1.2.6
6ca954
Release:        5%{?dist}
62b4f2
Summary:        Universal Addresses to RPC Program Number Mapper
62b4f2
License:        BSD
62b4f2
URL:            https://sourceforge.net/projects/rpcbind/
62b4f2
62b4f2
Source0:        http://downloads.sourceforge.net/rpcbind/%{name}-%{version}.tar.bz2
62b4f2
Source1: %{name}.sysconfig
62b4f2
62b4f2
Requires: glibc-common setup
62b4f2
Conflicts: man-pages < 2.43-12
62b4f2
BuildRequires: make
62b4f2
BuildRequires: automake, autoconf, libtool, systemd, systemd-devel
62b4f2
BuildRequires: libtirpc-devel, quota-devel
62b4f2
Requires(pre): coreutils shadow-utils
62b4f2
Requires(post): systemd policycoreutils
62b4f2
Requires(preun): systemd
62b4f2
Requires(postun): systemd coreutils
62b4f2
6ca954
#
6ca954
# RHEL9.1
6ca954
#
6ca954
Patch001: rpcbind-1.2.6-double-free.patch
6ca954
62b4f2
Patch100: rpcbind-0.2.3-systemd-envfile.patch
62b4f2
Patch101: rpcbind-0.2.3-systemd-tmpfiles.patch
62b4f2
Patch102: rpcbind-0.2.4-runstatdir.patch
62b4f2
Patch103: rpcbind-1.2.6-systemd-service.patch
62b4f2
Patch104: rpcbind-0.2.4-systemd-rundir.patch
62b4f2
62b4f2
Provides: portmap = %{version}-%{release}
62b4f2
Obsoletes: portmap <= 4.0-65.3
62b4f2
62b4f2
%description
62b4f2
The rpcbind utility is a server that converts RPC program numbers into
62b4f2
universal addresses.  It must be running on the host to be able to make
62b4f2
RPC calls on a server on that machine.
62b4f2
62b4f2
%prep
6ca954
%autosetup -p1
62b4f2
62b4f2
%build
62b4f2
autoreconf -fisv
62b4f2
%configure \
62b4f2
    --enable-warmstarts \
62b4f2
    --with-statedir="%rpcbind_state_dir" \
62b4f2
    --with-rpcuser="%rpcbind_user_group" \
62b4f2
    --with-nss-modules="files altfiles" \
62b4f2
    --sbindir=%{_bindir} \
62b4f2
    --enable-debug
62b4f2
62b4f2
make all
62b4f2
62b4f2
%install
62b4f2
mkdir -p %{buildroot}{%{_sbindir},%{_bindir},/etc/sysconfig}
62b4f2
mkdir -p %{buildroot}%{_unitdir}
62b4f2
mkdir -p %{buildroot}%{_tmpfilesdir}
62b4f2
mkdir -p %{buildroot}%{_mandir}/man8
62b4f2
mkdir -p %{buildroot}%{rpcbind_state_dir}
62b4f2
make DESTDIR=$RPM_BUILD_ROOT install
62b4f2
62b4f2
install -m644 %{SOURCE1} %{buildroot}/etc/sysconfig/rpcbind
62b4f2
62b4f2
# The binaries now live in /usr/bin, moving from /usr/sbin
62b4f2
# For compatibility create a couple symlinks. 
62b4f2
cd ${RPM_BUILD_ROOT}%{_sbindir}
62b4f2
ln -sf ../bin/rpcbind
62b4f2
ln -sf ../bin/rpcinfo
62b4f2
62b4f2
62b4f2
%pre
62b4f2
62b4f2
# Softly static allocate the rpc uid and gid.
62b4f2
getent group rpc >/dev/null || groupadd -f -g 32 -r rpc
62b4f2
if ! getent passwd rpc >/dev/null ; then
62b4f2
	if ! getent passwd 32 >/dev/null ; then
62b4f2
	   useradd -l -c "Rpcbind Daemon" -d /var/lib/rpcbind  \
62b4f2
	      -g rpc -M -s /sbin/nologin -o -u 32 rpc > /dev/null 2>&1
62b4f2
	else
62b4f2
	   useradd -l -c "Rpcbind Daemon" -d /var/lib/rpcbind  \
62b4f2
	      -g rpc -M -s /sbin/nologin rpc > /dev/null 2>&1
62b4f2
	fi
62b4f2
fi
62b4f2
62b4f2
%post
62b4f2
%systemd_post rpcbind.service rpcbind.socket
62b4f2
62b4f2
%preun
62b4f2
%systemd_preun rpcbind.service rpcbind.socket
62b4f2
62b4f2
%postun
62b4f2
%systemd_postun_with_restart rpcbind.service rpcbind.socket
62b4f2
62b4f2
%triggerin -- rpcbind > 0.2.2-2.0
62b4f2
if systemctl -q is-enabled rpcbind.socket
62b4f2
then
62b4f2
	/bin/systemctl reenable rpcbind.socket  >/dev/null 2>&1 || :
62b4f2
	/bin/systemctl restart rpcbind.socket >/dev/null 2>&1 || :
62b4f2
fi
62b4f2
if [ ! -d /var/lib/rpcbind ]
62b4f2
then
62b4f2
	mkdir /var/lib/rpcbind
62b4f2
	chown rpc:rpc /var/lib/rpcbind
62b4f2
	[ -x /usr/sbin/restorecon ] && \
62b4f2
		/usr/sbin/restorecon /var/lib/rpcbind
62b4f2
fi
62b4f2
62b4f2
%files
62b4f2
%license COPYING
62b4f2
%config(noreplace) /etc/sysconfig/rpcbind
62b4f2
%doc AUTHORS ChangeLog README
62b4f2
%{_bindir}/rpcbind
62b4f2
%{_bindir}/rpcinfo
62b4f2
%{_sbindir}/rpcbind
62b4f2
%{_sbindir}/rpcinfo
62b4f2
%{_mandir}/man8/*
62b4f2
%{_unitdir}/%{name}.service
62b4f2
%{_unitdir}/%{name}.socket
62b4f2
%{_tmpfilesdir}/%{name}.conf
62b4f2
%attr(0700, %{rpcbind_user_group}, %{rpcbind_user_group}) %dir %{rpcbind_state_dir}
62b4f2
62b4f2
%changelog
6ca954
* Tue Sep  6 2022 Steve Dickson <steved@redhat.com> - 1.2.6-5
6ca954
- Fixed a typo in changelog (bz 2115517)
6ca954
6ca954
* Tue Aug 16 2022 Steve Dickson <steved@redhat.com> - 1.2.6-4
6ca954
- Use %autosetup -p1 to make sure patches apply (bz 2115517)
6ca954
6ca954
* Tue Aug 16 2022 Steve Dickson <steved@redhat.com> - 1.2.6-3
6ca954
- Fixed a double free in init_transport (bz 2115517)
6ca954
62b4f2
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.6-2
62b4f2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
62b4f2
  Related: rhbz#1991688
62b4f2
62b4f2
* Wed Jun 23 2021 Steve Dickson <steved@redhat.com> - 1.2.6-1
62b4f2
- Use sysconfig variable in service file (bz 1972094)
62b4f2
- Make sure policycoreutils is installed before using it (bz 1972133)
62b4f2
- Make sure /var/lib/rpcbind exists (bz 1972133)
62b4f2
- Corrected the URL reference (bz 1972117)
62b4f2
62b4f2
* Tue Jun 22 2021 Steve Dickson <steved@redhat.com> - 1.2.6-0
62b4f2
- Rebased to latest upstream release: rpcbind-1-2-6 (bz 1959128)
62b4f2
62b4f2
* Mon Jun  7 2021 Steve Dickson <steved@redhat.com> - 1.2.5-6.rc1
62b4f2
- Disable remote calls (bz 1923041)
62b4f2
62b4f2
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.5-5.rc1.5
62b4f2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
62b4f2
62b4f2
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-5.rc1.4
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
62b4f2
62b4f2
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-5.rc1.3
62b4f2
- Second attempt - Rebuilt for
62b4f2
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
62b4f2
62b4f2
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-5.rc1.2
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
62b4f2
62b4f2
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-5.rc1.1
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
62b4f2
62b4f2
* Mon Nov 11 2019 Steve Dickson <steved@redhat.com> - 1.2.5-5.rc1
62b4f2
- Updated to latest upstream RC release: rpcbind-1_2_5-rc1 (bz 1431574)
62b4f2
62b4f2
* Thu Sep 19 2019 Steve Dickson <steved@redhat.com> - 1.2.5-5
62b4f2
- Enable remote calls which are used by NIS and other packages (bz 1630672)
62b4f2
62b4f2
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-4
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
62b4f2
62b4f2
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-3
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
62b4f2
62b4f2
* Wed Oct 17 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.5-2
62b4f2
- Drop old sys-v migration bits
62b4f2
- Ship the license file, minor spec cleanups
62b4f2
62b4f2
* Tue Oct  9 2018 Steve Dickson <steved@redhat.com> - 1.2.5-1
62b4f2
- Fixed stack buffer overflow in rpcinfo (bz 1637562)
62b4f2
62b4f2
* Wed Aug 15 2018 Steve Dickson <steved@redhat.com> - 1.2.5-0
62b4f2
- Updated to latest upstream release: 1_2_5
62b4f2
62b4f2
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-10.rc3.1
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
62b4f2
62b4f2
* Sat Feb 24 2018 Florian Weimer <fweimer@redhat.com> - 0.2.4-10.rc3
62b4f2
- Use default build flags from redhat-rpm-config
62b4f2
62b4f2
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-9.rc3.1
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
62b4f2
62b4f2
* Mon Dec 18 2017 Steve Dickson <steved@redhat.com> - 0.2.4-9.rc3
62b4f2
- Removed tcp_wrappers dependency (bz 1518780)
62b4f2
62b4f2
* Sat Dec 16 2017 Steve Dickson <steved@redhat.com> - 0.2.4-8.rc3
62b4f2
- Updated to latest upstream RC release: rpcbind-0_2_5-rc3 (bz 1431574)
62b4f2
62b4f2
* Wed Sep 06 2017 Nils Philippsen <nils@redhat.com> - 0.2.4-8.rc2
62b4f2
- create and formally own the state directory so it is available from the time
62b4f2
  of first installation until reboot
62b4f2
62b4f2
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-7.rc2.2
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
62b4f2
62b4f2
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-7.rc2.1
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
62b4f2
62b4f2
* Tue May 30 2017 Steve Dickson <steved@redhat.com> - 0.2.4-7.rc2
62b4f2
- Updated to latest upstream RC release: rpcbind-0_2_5-rc2  (bz 1450765)
62b4f2
62b4f2
* Mon May 15 2017 Steve Dickson <steved@redhat.com> - 0.2.4-7.rc1
62b4f2
- Fixed typo in memory leaks patch (bz 1448128)
62b4f2
62b4f2
* Thu May 11 2017 Steve Dickson <steved@redhat.com> - 0.2.4-6.rc1
62b4f2
- Fixed memory leaks (bz 1448128)
62b4f2
62b4f2
* Tue Mar 21 2017 Steve Dickson <steved@redhat.com> - 0.2.4-6
62b4f2
- Try creating statdir once when opening lock file fails (bz 1401561)
62b4f2
62b4f2
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-5
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
62b4f2
62b4f2
* Sat Jan 28 2017 Steve Dickson <steved@redhat.com> - 0.2.4-4
62b4f2
- Corrected boot dependency in systemd files (bz 1401561)
62b4f2
62b4f2
* Mon Jan 23 2017 Steve Dickson <steved@redhat.com> - 0.2.4-3
62b4f2
- Create a systemd dependency for tmpfiles-setup.service (bz 1401561)
62b4f2
62b4f2
* Mon Jan 16 2017 Steve Dickson <steved@redhat.com> - 0.2.4-2
62b4f2
- Document /run/rpcbind is the state directory (bz 1401561)
62b4f2
62b4f2
* Tue Jan  3 2017 Steve Dickson <steved@redhat.com> - 0.2.4-1
62b4f2
- Fix boot dependency in systemd service file (bz 1401561)
62b4f2
62b4f2
* Wed Nov 30 2016 Steve Dickson <steved@redhat.com> - 0.2.4-0
62b4f2
- Update to the latest upstream release: 0.2.4
62b4f2
62b4f2
* Sat Nov 19 2016 Steve Dickson <steved@redhat.com> - 0.2.3-13.rc2
62b4f2
- Create the statedir under /run/rpcbind by systemd-tmpfiles.
62b4f2
62b4f2
* Sat Nov 12 2016 Steve Dickson <steved@redhat.com> - 0.2.3-12.rc2
62b4f2
- Stop enable rpcbind.socket with every update (bz 1393721)
62b4f2
62b4f2
* Mon Nov  7 2016 Steve Dickson <steved@redhat.com> - 0.2.3-11.rc2
62b4f2
- Updated to the latest RC release rpcbind-0_2_4-rc1
62b4f2
62b4f2
* Mon Aug  1 2016 Steve Dickson <steved@redhat.com> - 0.2.3-11.rc1
62b4f2
- Removing the braces from the ${RPCBIND_ARGS} in rpcbind.service (bz 1362201)
62b4f2
- Stop enable rpcbind.socket with every update (bz 1324666)
62b4f2
62b4f2
* Mon Apr  4 2016 Steve Dickson <steved@redhat.com> - 0.2.3-10.rc1
62b4f2
- Restart rpcbind.socket on restarts (bz 1306824)
62b4f2
- Soft static allocate rpc uid/gid (bz 1301288)
62b4f2
62b4f2
* Sat Feb 20 2016 Steve Dickson <steved@redhat.com> - 0.2.3-9.rc1
62b4f2
- Updated to the latest RC release rpcbind-0_2_4-rc1
62b4f2
62b4f2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-8
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
62b4f2
62b4f2
* Wed Nov 18 2015 Steve Dickson <steved@redhat.com> - 0.2.3-7
62b4f2
- Delete the unix socket only if we have created it (bz 1279076)
62b4f2
62b4f2
* Tue Nov  3 2015 Steve Dickson <steved@redhat.com> - 0.2.3-0.6
62b4f2
- handle_reply: Don't use the xp_auth pointer directly
62b4f2
62b4f2
* Mon Nov  2 2015 Steve Dickson <steved@redhat.com> - 0.2.3-0.5
62b4f2
- Support nss-altfiles by adding 'altfiles' to nss lookup path (bz 1159941).
62b4f2
62b4f2
* Mon Nov  2 2015 Steve Dickson <steved@redhat.com> - 0.2.3-0.4
62b4f2
- Fixed Seg fault in PMAP_CALLIT code (bz1264351)
62b4f2
62b4f2
* Sun Nov 01 2015 Kalev Lember <klember@redhat.com> - 0.2.3-0.3
62b4f2
- Rebuilt for libtirpc soname bump
62b4f2
62b4f2
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-0.2
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
62b4f2
62b4f2
* Wed Jun 10 2015 Steve Dickson <steved@redhat.com> - 0.2.3-0.0
62b4f2
- Make sure rpcbind.socket always gets enabled (bz 1214496)
62b4f2
62b4f2
* Tue Apr 28 2015 Steve Dickson <steved@redhat.com> - 0.2.3-0.0
62b4f2
- Updated to latest upstream release: 0.2.3
62b4f2
- Change RPCBDIR to be /tmp since that will exist after a 
62b4f2
  reboot and bindings wil be perserved during upgrades
62b4f2
  but not reboots.
62b4f2
62b4f2
* Thu Mar 19 2015 Steve Dickson <steved@redhat.com> - 0.2.2-2.2
62b4f2
- Changed RPCBDIR to be /var/run so bindings are perserved
62b4f2
  during upgrades but not reboots.
62b4f2
- Make sure rpcbind.socket gets enabled
62b4f2
62b4f2
* Thu Feb  5 2015 Steve Dickson <steved@redhat.com> - 0.2.2-2.1
62b4f2
- Added xlogging debugging to rpcbind
62b4f2
62b4f2
* Wed Feb  4 2015 Steve Dickson <steved@redhat.com> - 0.2.2-2.0
62b4f2
- Updated to the latest rc release: rpcbind-0_2_3-rc1 (bz 1095021)
62b4f2
62b4f2
* Wed Dec 17 2014 Steve Dickson <steved@redhat.com> - 0.2.2-1.1
62b4f2
- Fixed NULL fp problem remove error message on warmstart patch
62b4f2
62b4f2
* Tue Dec 16 2014 Steve Dickson <steved@redhat.com> - 0.2.2-1.0
62b4f2
- Updated to the latest rc release: rpcbind-0_2_3-rc1
62b4f2
62b4f2
* Wed Nov 26 2014 Steve Dickson <steved@redhat.com> - 0.2.2-0.0
62b4f2
- Updated to the latest upstream release: 0.2.2 (bz 747363)
62b4f2
- Added BuildRequires systemd-compat-libs
62b4f2
62b4f2
* Mon Nov 10 2014 Steve Dickson <steved@redhat.com> - 0.2.1-4.0
62b4f2
- Updated to the latest rc release: rpcbind-0_2_2-rc3
62b4f2
62b4f2
* Mon Oct 27 2014 Steve Dickson <steved@redhat.com> - 0.2.1-3.0
62b4f2
- Updated to the latest rc release: rpcbind-0_2_2-rc2 (bz 1015283)
62b4f2
62b4f2
* Thu Oct 23 2014 Steve Dickson <steved@redhat.com> - 0.2.1-2.1
62b4f2
- Stop re-enabling with systemd (bz 1087951)
62b4f2
62b4f2
* Thu Aug 21 2014 Kevin Fenzi <kevin@scrye.com> - 0.2.1-2.0
62b4f2
- Rebuild for rpm bug 1131960
62b4f2
62b4f2
* Mon Aug 18 2014 Steve Dickson <steved@redhat.com> - 0.2.1-1.0
62b4f2
- Updated to the latest rc release: rpcbind-0_2_2-rc1
62b4f2
62b4f2
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-0.4
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
62b4f2
62b4f2
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-0.3
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
62b4f2
62b4f2
* Mon Dec  2 2013 Steve Dickson <steved@redhat.com> - 0.2.1-0.2
62b4f2
- Removed unnecessary targets from rpcbind.service (bz 963189)
62b4f2
62b4f2
* Wed Aug 21 2013 Steve Dickson <steved@redhat.com> - 0.2.1-0.1
62b4f2
- Fixed typo in configure.ac file causing rpcuser not to be set.
62b4f2
62b4f2
* Mon Aug 19 2013 Steve Dickson <steved@redhat.com> - 0.2.1-0
62b4f2
- Update to the latest upstream release: 0.2.1
62b4f2
62b4f2
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-22
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
62b4f2
62b4f2
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-21
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
62b4f2
62b4f2
* Tue Oct 23 2012 Steve Dickson <steved@redhat.com> - 0.2.0-20
62b4f2
- Update to the latest upstream release: rpcbind-0_2_1-rc4 (bz 869365)
62b4f2
62b4f2
* Tue Oct 16 2012 Steve Dickson <steved@redhat.com> - 0.2.0-19
62b4f2
- Renamed RPCBINDOPTS to RPCBIND_ARGS for backward compatibility (bz 861025)
62b4f2
62b4f2
* Sun Oct 14 2012 Steve Dickson <steved@redhat.com> - 0.2.0-18
62b4f2
- Fixed typo causing rpcbind to run as root (bz 734598)
62b4f2
- Added /etc/sysconfig/rpcbind config file (bz 861025)
62b4f2
62b4f2
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-17
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
62b4f2
62b4f2
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-16
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
62b4f2
62b4f2
* Mon Sep 12 2011 Steve Dickson <steved@redhat.com> - 0.2.0-15
62b4f2
- Bumped up the tigger version to this version, 0.2.0-15 (bz 713574)
62b4f2
62b4f2
* Fri Sep  9 2011 Tom Callaway <spot@fedoraproject.org> - 0.2.0-14
62b4f2
- fix scriptlets to enable service by default
62b4f2
62b4f2
* Fri Jul  8 2011 Steve Dickson <steved@redhat.com> - 0.2.0-13
62b4f2
- Spec file clean up
62b4f2
62b4f2
* Thu Jul  7 2011 Steve Dickson <steved@redhat.com> - 0.2.0-12
62b4f2
- Migrated SysV initscripts to systemd (bz 713574)
62b4f2
62b4f2
* Thu Mar 17 2011 Steve Dickson <steved@redhat.com> - 0.2.0-11
62b4f2
- Updated to the latest upstream release: rpcbind-0_2_1-rc3
62b4f2
62b4f2
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-10
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
62b4f2
62b4f2
* Mon Dec 13 2010 Steve Dickson <steved@redhat.com> - 0.2.0-9
62b4f2
- Fixed an incorrect exit code for service rpcbind status (bz 662411)
62b4f2
62b4f2
* Tue Nov 30 2010 Steve Dickson <steved@redhat.com> - 0.2.0-8
62b4f2
- Updated to the latest upstream release: rpcbind-0.2.1-rc2
62b4f2
62b4f2
* Fri Jul 16 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 0.2.0-7
62b4f2
- correct license tag to BSD
62b4f2
62b4f2
* Tue Jul 13 2010 Steve Dickson <steved@redhat.com> - 0.2.0-6
62b4f2
- Made initscript LSB compliant (bz 614193)
62b4f2
- Added no fork patch
62b4f2
62b4f2
* Tue Jul  6 2010 Steve Dickson <steved@redhat.com> - 0.2.0-5
62b4f2
- Set SO_REUSEADDR on listening sockets (bz 597356)
62b4f2
62b4f2
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-4
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
62b4f2
62b4f2
* Mon Jul 06 2009 Adam Jackson <ajax@redhat.com> 0.2.0-3
62b4f2
- Requires(pre): coreutils for cut(1).
62b4f2
62b4f2
* Thu Jun 25 2009 Steve Dickson <steved@redhat.com> - 0.2.0-2
62b4f2
- Fixed pre scriptle failure during upgrades (bz 507364)
62b4f2
- Corrected the usage info to match what the rpcbind man
62b4f2
    page says. (bz 466332)
62b4f2
- Correct package issues (bz 503508)
62b4f2
62b4f2
* Fri May 29 2009 Steve Dickson <steved@redhat.com> - 0.2.0-1
62b4f2
- Updated to latest upstream release: 0.2.0
62b4f2
62b4f2
* Tue May 19 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.1.7-3
62b4f2
- Replace the Sun RPC license with the BSD license, with the explicit permission of Sun Microsystems
62b4f2
62b4f2
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-2
62b4f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
62b4f2
62b4f2
* Wed Nov 19 2008 Steve Dickson <steved@redhat.com>  0.1.7-1
62b4f2
- Update to latest upstream release: 0.1.7
62b4f2
62b4f2
* Tue Sep 30 2008 Steve Dickson <steved@redhat.com>  0.1.6-3
62b4f2
- Fixed a typo in the rpcbind.init script that stop warm starts
62b4f2
  from happening with conrestarts
62b4f2
- Fixed scriptlet failure (bz 462533)
62b4f2
62b4f2
* Tue Sep 16 2008 Steve Dickson <steved@redhat.com> 0.1.6-2
62b4f2
- Added usptream patches 01 thru 03 that do:
62b4f2
    * Introduce helpers for ipprot/netid mapping
62b4f2
    * Change how we decide on the netids to use for portmap
62b4f2
    * Simplify port live check in pmap_svc.c
62b4f2
62b4f2
* Wed Jul  9 2008 Steve Dickson <steved@redhat.com> 0.1.6-1
62b4f2
- Updated to latest upstream release 0.1.6
62b4f2
62b4f2
* Wed Jul  2 2008 Steve Dickson <steved@redhat.com> 0.1.5-5
62b4f2
- Fixed SYNOPSIS section in the rpcinfo man page (bz 453729)
62b4f2
62b4f2
* Fri Jun 27 2008 Steve Dickson <steved@redhat.com> 0.1.5-4
62b4f2
- Removed the documentation about the non-existent 
62b4f2
  '-L' flag (bz 446915)
62b4f2
62b4f2
* Fri Jun 27 2008 Steve Dickson <steved@redhat.com> 0.1.5-3
62b4f2
- Set password and service lookups to be local (bz 447092)
62b4f2
62b4f2
* Mon Jun 23 2008 Steve Dickson <steved@redhat.com> 0.1.5-2
62b4f2
- rpcbind needs to downgrade to non-priviledgied group.
62b4f2
62b4f2
* Mon Jun 23 2008 Steve Dickson <steved@redhat.com> 0.1.5-1
62b4f2
- Updated to latest upstream release 0.1.5
62b4f2
62b4f2
* Mon Feb 11 2008 Steve Dickson <steved@redhat.com> 0.1.4-14
62b4f2
- Fixed a warning in pmap_svc.c
62b4f2
- Cleaned up warmstarts so uid are longer needed, also
62b4f2
  changed condrestarts to use warmstarts. (bz 428496)
62b4f2
62b4f2
* Thu Jan 24 2008 Steve Dickson <steved@redhat.com> 0.1.4-13
62b4f2
- Fixed connectivity with Mac OS clients by making sure handle_reply()
62b4f2
  sets the correct fromlen in its recvfrom() call (bz 244492)
62b4f2
62b4f2
* Mon Dec 17 2007 Steve Dickson <steved@redhat.com> 0.1.4-12
62b4f2
- Changed is_loopback() and check_access() see if the calling
62b4f2
  address is an address on a local interface, just not a loopback
62b4f2
  address (bz 358621).
62b4f2
62b4f2
* Wed Oct 17 2007 Steve Dickson <steved@redhat.com> 0.1.4-11
62b4f2
- Reworked logic in initscript so the correct exit is 
62b4f2
  used when networking does not exist or is set up
62b4f2
  incorrectly.
62b4f2
62b4f2
* Tue Oct 16 2007 Steve Dickson <steved@redhat.com> 0.1.4-10
62b4f2
- Corrected a typo in the initscript from previous 
62b4f2
  commit.
62b4f2
62b4f2
* Mon Oct 15 2007 Steve Dickson <steved@redhat.com> 0.1.4-9
62b4f2
- Fixed typo in Summary (bz 331811)
62b4f2
- Corrected init script (bz 247046)
62b4f2
62b4f2
* Sat Sep 15 2007 Steve Dickson <steved@redhat.com> 0.1.4-8
62b4f2
- Fixed typo in init script (bz 248285)
62b4f2
- Added autoconf rules to turn on secure host checking
62b4f2
  via libwrap. Also turned on host check by default (bz 248284)
62b4f2
- Changed init script to start service in runlevel 2 (bz 251568)
62b4f2
- Added a couple missing Requires(pre) (bz 247134)
62b4f2
62b4f2
* Fri May 25 2007 Steve Dickson <steved@redhat.com> 0.1.4-7
62b4f2
- Fixed condrestarts (bz 241332)
62b4f2
62b4f2
* Tue May 22 2007 Steve Dickson <steved@redhat.com> 0.1.4-6
62b4f2
- Fixed an ipv6 related segfault on startup (bz 240873)
62b4f2
62b4f2
* Wed Apr 18 2007 Steve Dickson <steved@redhat.com> 0.1.4-5
62b4f2
- Added dependency on setup which contains the correct
62b4f2
  rpcbind /etc/service entry which in turns stops 
62b4f2
  rpcbind from haning when NIS is enabled. (bz 236865)
62b4f2
62b4f2
* Wed Apr 11 2007 Jeremy Katz <katzj@redhat.com> - 0.1.4-4
62b4f2
- change man-pages requires into a conflicts as we don't have to have 
62b4f2
  man-pages installed, but if we do, we need the newer version
62b4f2
62b4f2
* Fri Apr  6 2007 Steve Dickson <steved@redhat.com> 0.1.4-3
62b4f2
- Fixed the Provides and Obsoletes statments to correctly
62b4f2
  obsolete the portmap package.
62b4f2
* Tue Apr  3 2007 Steve Dickson <steved@redhat.com> 0.1.4-2
62b4f2
- Added dependency on glibc-common which allows the
62b4f2
  rpcinfo command to be installed in the correct place.
62b4f2
- Added dependency on man-pages so the rpcinfo man 
62b4f2
  pages don't conflict.
62b4f2
- Added the creation of /var/lib/rpcbind which will be
62b4f2
  used to store state files.
62b4f2
- Make rpcbind run with the 'rpc' uid/gid when it exists.
62b4f2
62b4f2
* Wed Feb 21 2007 Steve Dickson <steved@redhat.com> 0.1.4-1
62b4f2
- Initial commit
62b4f2
- Spec reviewed (bz 228894)
62b4f2
- Added the Provides/Obsoletes which should
62b4f2
  cause rpcbind to replace portmapper