Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > b789c8040700533c1a5545adf2f6155f > files > 7

rpcbind-1.2.6-2.mga9.src.rpm

Name:		rpcbind
Version:	1.2.6
Release:	%mkrel 2
Summary:	Universal Addresses to RPC Program Number Napper
License:	BSD
Group:		System/Servers
URL:		http://rpcbind.sourceforge.net/
Source0:	https://downloads.sourceforge.net/rpcbind/%{name}-%{version}.tar.bz2
Source1:	rpcbind.sysconfig

Patch100: rpcbind-0.2.3-systemd-envfile.patch
Patch101: rpcbind-0.2.3-systemd-tmpfiles.patch
Patch102: rpcbind-0.2.4-runstatdir.patch
Patch103: rpcbind-0.2.4-systemd-service.patch
Patch104: rpcbind-0.2.4-systemd-rundir.patch

BuildRequires:	pkgconfig(libtirpc) >= 0.1.7
BuildRequires:	quota-devel
BuildRequires:	pkgconfig(libsystemd)
BuildRequires:	wrap-devel
Conflicts:	apparmor-profiles < 2.1-1.961.4md
Requires(post):	rpm-helper >= 0.24.8-1
Requires(preun): rpm-helper >= 0.24.8-1

%description
The rpcbind utility is a server that converts RPC program numbers into
universal addresses.  It must be running on the host to be able to make RPC
calls on a server on that machine.

%prep
%setup -q
%autopatch -p1

%build
%serverbuild
autoreconf -fi
%configure \
    --enable-warmstarts \
    --with-statedir="/run/rpcbind" \
    --with-rpcuser="rpc" \
    --with-nss-modules="files altfiles" \
    --sbindir=%{_bindir} \
    --enable-debug

%make_build

%install
%make_install
install -d %{buildroot}%{_localstatedir}/lib/%{name}

install -d %{buildroot}%{_sysconfdir}/sysconfig
install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/rpcbind

install -d %{buildroot}%{_sbindir}
pushd %{buildroot}/%{_sbindir}
ln -sf ../bin/rpcbind
ln -sf ../bin/rpcinfo
popd

%pre
%_pre_useradd rpc %{_localstatedir}/lib/%{name} /sbin/nologin

%post 
%_post_service %{name}
# restart running services depending on portmapper
for service in amd autofs bootparamd clusternfs mcserv \
		nfs-common nfs-server \
		ypserv ypbind yppasswdd ypxfrd; do
	if [ -f /var/lock/subsys/$service ]; then
		/sbin/service $service restart > /dev/null 2>/dev/null || :
	fi
done

%preun
%_preun_service %{name}

%files
%doc AUTHORS ChangeLog README
%{_unitdir}/rpcbind.service
%{_unitdir}/rpcbind.socket
%config(noreplace) %{_sysconfdir}/sysconfig/rpcbind
%{_bindir}/rpcbind
%{_bindir}/rpcinfo
%{_sbindir}/rpcbind
%{_sbindir}/rpcinfo
%{_mandir}/man8/*
%{_tmpfilesdir}/%{name}.conf


%changelog
* Thu Mar 17 2022 neoclust <neoclust> 1.2.6-2.mga9
+ Revision: 1797248
- Remove portmap provide ( not used  and unversionned )
  Fix mixed tabs/spaces

* Tue Aug 03 2021 luigiwalser <luigiwalser> 1.2.6-1.mga9
+ Revision: 1738723
- 1.2.6

* Wed Feb 12 2020 umeabot <umeabot> 1.2.5-2.mga8
+ Revision: 1507505
- Mageia 8 Mass Rebuild
+ wally <wally>
- replace deprecated %%configure2_5x

* Thu Sep 20 2018 guillomovitch <guillomovitch> 1.2.5-1.mga7
+ Revision: 1288762
- new version 1.2.5

* Mon Jul 17 2017 guillomovitch <guillomovitch> 0.2.4-1.mga7
+ Revision: 1124459
- new version 0.2.4

* Mon Jul 10 2017 tmb <tmb> 0.2.3-9.mga6
+ Revision: 1109610
- revert useless tmpfiles abuse
- revert socket file path change
+ ghibo <ghibo>
- Rebuild against libtirpc

* Thu Jul 06 2017 luigiwalser <luigiwalser> 0.2.3-7.mga6
+ Revision: 1109094
- add _tmpfilescreate call in post

* Thu Jul 06 2017 ghibo <ghibo> 0.2.3-6.mga6
+ Revision: 1109082
- Fix bug #21181.
- Cleanup spec file, removing the needs of renaming rpcinfo to rpcbind-rpcinfo.

* Sat May 06 2017 neoclust <neoclust> 0.2.3-5.mga6
+ Revision: 1099235
- Add P3 - Fixes CVE-2017-8779 (mga#20788)

* Sat Jan 02 2016 luigiwalser <luigiwalser> 0.2.3-4.mga6
+ Revision: 918188
- add patch from fedora to fix build with new libtirpc
- add patch from fedora to only delete unix socket we create (rhbz#1279076)
+ tv <tv>
- rebuild for new libtirpc

* Mon Oct 12 2015 guillomovitch <guillomovitch> 0.2.3-3.mga6
+ Revision: 890019
- enable tcpwrapper support (bug #16866

* Thu Sep 24 2015 luigiwalser <luigiwalser> 0.2.3-2.mga6
+ Revision: 883315
- add patch from suse via debian to fix CVE-2015-7236

* Sat Jul 25 2015 blino <blino> 0.2.3-1.mga6
+ Revision: 857219
- 0.2.3

* Tue Dec 02 2014 luigiwalser <luigiwalser> 0.2.2-1.mga5
+ Revision: 800325
- 0.2.2

* Wed Oct 15 2014 umeabot <umeabot> 0.2.1-5.mga5
+ Revision: 742976
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 0.2.1-4.mga5
+ Revision: 688700
- Mageia 5 Mass Rebuild

* Sat Oct 19 2013 umeabot <umeabot> 0.2.1-3.mga4
+ Revision: 533632
- Mageia 4 Mass Rebuild

* Mon Sep 02 2013 luigiwalser <luigiwalser> 0.2.1-2.mga4
+ Revision: 474221
- fix BR for quota package split

* Tue Aug 20 2013 luigiwalser <luigiwalser> 0.2.1-1.mga4
+ Revision: 468535
- 0.2.1
- partial merge of systemd files from fedora

* Mon Jan 14 2013 umeabot <umeabot> 0.2.0-9.mga3
+ Revision: 380436
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Wed Aug 08 2012 guillomovitch <guillomovitch> 0.2.0-8.mga3
+ Revision: 279960
- drop sysinit support

* Sun May 20 2012 colin <colin> 0.2.0-7.mga2
+ Revision: 235959
- Ensure that common NFS services are started before any shares are mounted (mga#5890)

* Sat Apr 28 2012 tmb <tmb> 0.2.0-6.mga2
+ Revision: 233852
- Require rpm-helper >= 0.24.8-1 for systemd support

* Tue Mar 13 2012 guillomovitch <guillomovitch> 0.2.0-5.mga2
+ Revision: 223233
- drop apparmor support
- add systemd support
- rename README.urpmi to README.mga, a file renaming isn't worth a
  popup windows at install time...

* Sun Jan 23 2011 ennael <ennael> 0.2.0-4.mga1
+ Revision: 33368
- imported package rpcbind


* Fri Dec 03 2010 Oden Eriksson <oeriksson@mandriva.com> 0.2.0-4mdv2011.0
+ Revision: 607373
- rebuild

* Sun Mar 14 2010 Oden Eriksson <oeriksson@mandriva.com> 0.2.0-3mdv2010.1
+ Revision: 519067
- rebuild

* Sun Jun 07 2009 Guillaume Rousse <guillomovitch@mandriva.org> 0.2.0-2mdv2010.0
+ Revision: 383680
- rebuild with latest libtirpc

* Sun Jun 07 2009 Guillaume Rousse <guillomovitch@mandriva.org> 0.2.0-1mdv2010.0
+ Revision: 383524
- new version

* Tue May 05 2009 Guillaume Rousse <guillomovitch@mandriva.org> 0.1.7-2mdv2010.0
+ Revision: 372316
- rpcbind now replaces portmap

* Mon Jan 19 2009 Guillaume Rousse <guillomovitch@mandriva.org> 0.1.7-1mdv2009.1
+ Revision: 331276
- new version
- drop patches 1 and 2, merged upstream
- drop unapplied patch 3, seems to have been merged anyway

* Wed Dec 17 2008 Oden Eriksson <oeriksson@mandriva.com> 0.1.5-3mdv2009.1
+ Revision: 315260
- rebuild

* Fri Sep 05 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.1.5-2mdv2009.0
+ Revision: 281717
- don't try to source localization configuration file in service script, as there is no output to localize (bug #43227)

* Fri Jun 20 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.1.5-1mdv2009.0
+ Revision: 227546
- new version
- drop fedora patches, merged upstream
- disable temporarily apparmor patch, as it doesn't apply

* Wed Jun 18 2008 Thierry Vignaud <tv@mandriva.org> 0.1.4-11mdv2009.0
+ Revision: 225331
- rebuild

  + Pixel <pixel@mandriva.com>
    - adapt to %%_localstatedir now being /var instead of /var/lib (#22312)

* Thu Feb 28 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.1.4-10mdv2008.1
+ Revision: 176249
- fix crash when ipv6 is disabled

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tv@mandriva.org>
    - kill re-definition of %%buildroot on Pixel's request

* Thu Nov 22 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.1.4-9mdv2008.1
+ Revision: 111196
- drop useless libtool build dependency
- file list cleanup
- don't remove data dir on uninstallation
- restart other services depending on portmapper after restarting itself

* Thu Sep 20 2007 Andreas Hasenack <andreas@mandriva.com> 0.1.4-8mdv2008.0
+ Revision: 91560
- add proper conflicts with apparmor-profiles (thanks soig)

* Wed Sep 19 2007 Andreas Hasenack <andreas@mandriva.com> 0.1.4-7mdv2008.0
+ Revision: 91065
- adjust (lib)tirpc-devel buildrequires
- fix warmstart (#31465, #31469)
- fix frequent user remove/add (#31467)
- add apparmor profile and use it if apparmor-parser
  is installed and running
- also drop to unprivileged group (and not just user)
- added some errno logging in the case of failures

* Fri Jun 22 2007 Andreas Hasenack <andreas@mandriva.com> 0.1.4-6mdv2008.0
+ Revision: 43185
- use %%serverbuild macro

* Tue May 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.1.4-5mdv2008.0
+ Revision: 26904
- don't obsolete portmap
  provides portmapper virtual package
  spec cleanup (we don't have s390 arch)

* Mon Apr 23 2007 Oden Eriksson <oeriksson@mandriva.com> 0.1.4-4mdv2008.0
+ Revision: 17344
- fix provides in lsb header (blino)

* Fri Apr 20 2007 Oden Eriksson <oeriksson@mandriva.com> 0.1.4-3mdv2008.0
+ Revision: 15359
- fix another file conflict

* Thu Apr 19 2007 Oden Eriksson <oeriksson@mandriva.com> 0.1.4-2mdv2008.0
+ Revision: 15028
- fix a file clash
- fix the initscript
- fix the %%post stuff

* Tue Apr 17 2007 Oden Eriksson <oeriksson@mandriva.com> 0.1.4-1mdv2008.0
+ Revision: 14046
- Import rpcbind



* Tue Apr 10 2007 Oden Eriksson <oeriksson@mandriva.com> 0.1.4-1mdv2007.1
- initial Mandriva package

* Fri Apr  6 2007 Steve Dickson <steved@redhat.com> 0.1.4-3
- Fixed the Provides and Obsoletes statments to correctly
  obsolete the portmap package.

* Tue Apr  3 2007 Steve Dickson <steved@redhat.com> 0.1.4-2
- Added dependency on glibc-common which allows the
  rpcinfo command to be installed in the correct place.
- Added dependency on man-pages so the rpcinfo man 
  pages don't conflict.
- Added the creation of /var/lib/rpcbind which will be
  used to store state files.
- Make rpcbind run with the 'rpc' uid/gid when it exists.

* Wed Feb 21 2007 Steve Dickson <steved@redhat.com> 0.1.4-1
- Initial commit
- Spec reviewed (bz 228894)
- Added the Provides/Obsoletes which should
  cause rpcbind to replace portmapper