forked from rpms/rpcbind
Added /etc/sysconfig/rpcbind config file (bz 861025)
Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
parent
88d609af69
commit
283dad33f1
@ -5,7 +5,8 @@ After=syslog.target network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
ExecStart=/sbin/rpcbind -w
|
EnvironmentFile=/etc/sysconfig/rpcbind
|
||||||
|
ExecStart=/sbin/rpcbind -w ${RPCBINDOPTS}
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -10,6 +10,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
|
|||||||
Source0: http://downloads.sourceforge.net/rpcbind/%{name}-%{version}.tar.bz2
|
Source0: http://downloads.sourceforge.net/rpcbind/%{name}-%{version}.tar.bz2
|
||||||
Source1: rpcbind.service
|
Source1: rpcbind.service
|
||||||
Source2: rpcbind.socket
|
Source2: rpcbind.socket
|
||||||
|
Source3: rpcbind.sysconfig
|
||||||
|
|
||||||
Patch001: rpcbind-0_2_1-rc3.patch
|
Patch001: rpcbind-0_2_1-rc3.patch
|
||||||
Patch002: rpcbind-0.2.0-rpcuser.patch
|
Patch002: rpcbind-0.2.0-rpcuser.patch
|
||||||
@ -60,7 +61,7 @@ make all
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
mkdir -p %{buildroot}{/sbin,/usr/sbin}
|
mkdir -p %{buildroot}{/sbin,/usr/sbin,/etc/sysconfig}
|
||||||
mkdir -p %{buildroot}%{_unitdir}
|
mkdir -p %{buildroot}%{_unitdir}
|
||||||
mkdir -p %{buildroot}%{_mandir}/man8
|
mkdir -p %{buildroot}%{_mandir}/man8
|
||||||
mkdir -p %{buildroot}/var/lib/rpcbind
|
mkdir -p %{buildroot}/var/lib/rpcbind
|
||||||
@ -70,6 +71,7 @@ mv -f ${RPM_BUILD_ROOT}%{_bindir}/rpcbind ${RPM_BUILD_ROOT}/sbin
|
|||||||
mv -f ${RPM_BUILD_ROOT}%{_bindir}/rpcinfo ${RPM_BUILD_ROOT}%{_sbindir}
|
mv -f ${RPM_BUILD_ROOT}%{_bindir}/rpcinfo ${RPM_BUILD_ROOT}%{_sbindir}
|
||||||
install -m644 %{SOURCE1} %{buildroot}%{_unitdir}
|
install -m644 %{SOURCE1} %{buildroot}%{_unitdir}
|
||||||
install -m644 %{SOURCE2} %{buildroot}%{_unitdir}
|
install -m644 %{SOURCE2} %{buildroot}%{_unitdir}
|
||||||
|
install -m644 %{SOURCE3} %{buildroot}/etc/sysconfig/rpcbind
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -122,6 +124,7 @@ fi
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%config(noreplace) /etc/sysconfig/rpcbind
|
||||||
%doc AUTHORS ChangeLog README
|
%doc AUTHORS ChangeLog README
|
||||||
/sbin/rpcbind
|
/sbin/rpcbind
|
||||||
%{_sbindir}/rpcinfo
|
%{_sbindir}/rpcinfo
|
||||||
@ -134,6 +137,7 @@ fi
|
|||||||
%changelog
|
%changelog
|
||||||
* Sun Oct 14 2012 Steve Dickson <steved@redhat.com> - 0.2.0-18
|
* Sun Oct 14 2012 Steve Dickson <steved@redhat.com> - 0.2.0-18
|
||||||
- Fixed typo causing rpcbind to run as root (bz 734598)
|
- Fixed typo causing rpcbind to run as root (bz 734598)
|
||||||
|
- Added /etc/sysconfig/rpcbind config file (bz 861025)
|
||||||
|
|
||||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-17
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-17
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user