- add port settings to sysconfig (bnc#637382)

OBS-URL: https://build.opensuse.org/package/show/Base:System/quota?expand=0&rev=7
This commit is contained in:
Anna Maresova 2010-09-09 15:02:08 +00:00 committed by Git OBS Bridge
parent 18125a486b
commit a6c703e805
3 changed files with 17 additions and 4 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0a667d05b602e2f31c915dae90c2b3194c3ebee76092629bacda83a1c9db640a
size 4029
oid sha256:60c09f9ff1d62cc00a5dc3a75f189bb6e5063d04dd0e4926eadbc2795835b66c
size 4259

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Sep 9 16:59:51 CEST 2010 - anicka@suse.cz
- add port settings to sysconfig (bnc#637382)
-------------------------------------------------------------------
Wed Jun 23 08:15:39 UTC 2010 - mseben@novell.com
- quotactl.2 manual page was moved from quota to man-pages [bnc#587393]
-------------------------------------------------------------------
Tue Sep 22 09:17:57 CEST 2009 - mseben@novell.com

View File

@ -98,6 +98,7 @@ make CC="gcc"
%install
install -d -m 755 ${RPM_BUILD_ROOT}/etc/init.d
install -d -m 755 ${RPM_BUILD_ROOT}/sbin
install -d -m 755 ${RPM_BUILD_ROOT}/var/adm/fillup-templates
make install ROOTDIR=${RPM_BUILD_ROOT}
#quotactl.2 manual page was moved from quota to man-pages[bnc#587393]
rm ${RPM_BUILD_ROOT}/%{_mandir}/man?/quotactl.*
@ -110,15 +111,16 @@ cp SUSE/{quotad,boot.quota} ${RPM_BUILD_ROOT}/etc/init.d
#ln -s ../../etc/init.d/quota ${RPM_BUILD_ROOT}/usr/sbin/rcquota
ln -s ../../etc/init.d/quotad ${RPM_BUILD_ROOT}/usr/sbin/rcquotad
%find_lang %{name}
cp SUSE/rquotad.sysconfig $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.rquotad
%clean
rm -rf $RPM_BUILD_ROOT
%post
%{fillup_and_insserv -y boot.quota}
%{fillup_and_insserv -f -y boot.quota}
%post nfs
%{fillup_and_insserv quotad}
%{fillup_and_insserv -n rquotad quotad}
%preun
%stop_on_removal boot.quota
@ -152,6 +154,7 @@ rm -rf $RPM_BUILD_ROOT
%doc SUSE/README.quotad.SUSE
%{_sbindir}/rpc.rquotad
%{_sbindir}/rcquotad
/var/adm/fillup-templates/sysconfig.rquotad
# these files conflicts with glibc rpm
%exclude /usr/include/rpcsvc/*