Accepting request 123133 from home:rudi_m:branches:Base:System
- unroll binary file list - remove install_nld.patch, not needed since 4.00-pre1 - remove automake dependency - prepare UsrMerge (UsrMerge project), this obsoletes man.patch OBS-URL: https://build.opensuse.org/request/show/123133 OBS-URL: https://build.opensuse.org/package/show/Base:System/quota?expand=0&rev=25
This commit is contained in:
parent
4bf8b2ebb6
commit
73422b178a
@ -1,11 +0,0 @@
|
|||||||
--- Makefile.in
|
|
||||||
+++ Makefile.in
|
|
||||||
@@ -84,7 +84,7 @@
|
|
||||||
-mkdir -p $(ROOTDIR)$(bindir)
|
|
||||||
-mkdir -p $(ROOTDIR)$(root_sbindir)
|
|
||||||
-$(INSTALL) $(STRIP) -m $(DEF_SBIN_MODE) \
|
|
||||||
- quotacheck quotaon $(ROOTDIR)$(root_sbindir)
|
|
||||||
+ quotacheck quotaon quota_nld $(ROOTDIR)$(root_sbindir)
|
|
||||||
-$(LN) quotaon $(ROOTDIR)$(root_sbindir)/quotaoff
|
|
||||||
-$(INSTALL) $(STRIP) -m $(DEF_SBIN_MODE) \
|
|
||||||
edquota repquota warnquota quotastats setquota quot xqmstats \
|
|
@ -1,38 +0,0 @@
|
|||||||
--- quotaon.8
|
|
||||||
+++ quotaon.8
|
|
||||||
@@ -3,7 +3,7 @@
|
|
||||||
.SH NAME
|
|
||||||
quotaon, quotaoff \- turn filesystem quotas on and off
|
|
||||||
.SH SYNOPSIS
|
|
||||||
-.B /usr/sbin/quotaon
|
|
||||||
+.B /sbin/quotaon
|
|
||||||
[
|
|
||||||
.B \-vugfp
|
|
||||||
] [
|
|
||||||
@@ -12,7 +12,7 @@
|
|
||||||
]
|
|
||||||
.IR filesystem .\|.\|.
|
|
||||||
.br
|
|
||||||
-.B /usr/sbin/quotaon
|
|
||||||
+.B /sbin/quotaon
|
|
||||||
[
|
|
||||||
.B \-avugfp
|
|
||||||
] [
|
|
||||||
@@ -20,7 +20,7 @@
|
|
||||||
.I format-name
|
|
||||||
]
|
|
||||||
.LP
|
|
||||||
-.B /usr/sbin/quotaoff
|
|
||||||
+.B /sbin/quotaoff
|
|
||||||
[
|
|
||||||
.B \-vugp
|
|
||||||
]
|
|
||||||
@@ -30,7 +30,7 @@
|
|
||||||
]
|
|
||||||
.IR filesystem .\|.\|.
|
|
||||||
.br
|
|
||||||
-.B /usr/sbin/quotaoff
|
|
||||||
+.B /sbin/quotaoff
|
|
||||||
[
|
|
||||||
.B \-avugp
|
|
||||||
]
|
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 31 19:36:13 UTC 2012 - sweet_f_a@gmx.de
|
||||||
|
|
||||||
|
- unroll binary file list
|
||||||
|
- remove install_nld.patch, not needed since 4.00-pre1
|
||||||
|
- remove automake dependency
|
||||||
|
- prepare UsrMerge (UsrMerge project), this obsoletes man.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 21 10:31:45 UTC 2011 - coolo@suse.com
|
Wed Dec 21 10:31:45 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
45
quota.spec
45
quota.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package quota
|
# spec file for package quota
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: quota
|
Name: quota
|
||||||
BuildRequires: automake
|
|
||||||
BuildRequires: dbus-1-devel
|
BuildRequires: dbus-1-devel
|
||||||
BuildRequires: e2fsprogs-devel
|
BuildRequires: e2fsprogs-devel
|
||||||
BuildRequires: libnl-1_1-devel
|
BuildRequires: libnl-1_1-devel
|
||||||
@ -33,9 +32,7 @@ Group: System/Filesystems
|
|||||||
Source: %{name}-%{version}-pre1.tar.gz
|
Source: %{name}-%{version}-pre1.tar.gz
|
||||||
Source1: %{name}-SUSE.tar.bz2
|
Source1: %{name}-SUSE.tar.bz2
|
||||||
Patch1: %{name}-3.17-makefile.patch
|
Patch1: %{name}-3.17-makefile.patch
|
||||||
Patch2: %{name}-3.17-man.patch
|
|
||||||
Patch3: %{name}-3.17-warnquota.patch
|
Patch3: %{name}-3.17-warnquota.patch
|
||||||
Patch7: %{name}-3.17-install_nld.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -54,11 +51,12 @@ Authors:
|
|||||||
|
|
||||||
%package nfs
|
%package nfs
|
||||||
Summary: Disk Quota System on NFS
|
Summary: Disk Quota System on NFS
|
||||||
|
Group: System/Filesystems
|
||||||
Requires: quota = %version
|
Requires: quota = %version
|
||||||
PreReq: %insserv_prereq %fillup_prereq
|
PreReq: %insserv_prereq %fillup_prereq
|
||||||
# Require the services needed to be present for quotad service: portmap, nfsserver, network
|
# Require the services needed to be present for quotad service: portmap, nfsserver, network
|
||||||
Requires: portmap
|
|
||||||
Requires: nfs-kernel-server
|
Requires: nfs-kernel-server
|
||||||
|
Requires: portmap
|
||||||
Requires: sysconfig
|
Requires: sysconfig
|
||||||
# Split provides
|
# Split provides
|
||||||
Provides: quota:/etc/init.d/quotad
|
Provides: quota:/etc/init.d/quotad
|
||||||
@ -77,15 +75,11 @@ Authors:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n quota-tools -a 1
|
%setup -q -n quota-tools -a 1
|
||||||
%patch1
|
%patch1
|
||||||
%patch2
|
|
||||||
%patch3
|
%patch3
|
||||||
%patch7
|
|
||||||
find -type d -name CVS -exec rm -rf {} \; -prune
|
find -type d -name CVS -exec rm -rf {} \; -prune
|
||||||
find -type d | xargs chmod 755
|
find -type d | xargs chmod 755
|
||||||
|
|
||||||
%build
|
%build
|
||||||
aclocal --force
|
|
||||||
autoconf --force
|
|
||||||
%configure \
|
%configure \
|
||||||
--sysconfdir=%{_sysconfdir} \
|
--sysconfdir=%{_sysconfdir} \
|
||||||
--enable-netlink
|
--enable-netlink
|
||||||
@ -98,13 +92,13 @@ install -d -m 755 ${RPM_BUILD_ROOT}/var/adm/fillup-templates
|
|||||||
make install ROOTDIR=${RPM_BUILD_ROOT}
|
make install ROOTDIR=${RPM_BUILD_ROOT}
|
||||||
#quotactl.2 manual page was moved from quota to man-pages[bnc#587393]
|
#quotactl.2 manual page was moved from quota to man-pages[bnc#587393]
|
||||||
rm ${RPM_BUILD_ROOT}/%{_mandir}/man?/quotactl.*
|
rm ${RPM_BUILD_ROOT}/%{_mandir}/man?/quotactl.*
|
||||||
mv ${RPM_BUILD_ROOT}%{_sbindir}/{quotacheck,quotaon,quotaoff} ${RPM_BUILD_ROOT}/sbin/
|
#UsrMerge
|
||||||
|
ln -s %{_sbindir}/{quotacheck,quotaon,quotaoff} ${RPM_BUILD_ROOT}/sbin/
|
||||||
|
#EndUsrMerge
|
||||||
#installing ldap-scripts
|
#installing ldap-scripts
|
||||||
install -m 755 ldap-scripts/*pl ${RPM_BUILD_ROOT}/usr/sbin/
|
install -m 755 ldap-scripts/*pl ${RPM_BUILD_ROOT}/usr/sbin/
|
||||||
install -m 755 ldap-scripts/edquota_editor ${RPM_BUILD_ROOT}/usr/sbin/
|
install -m 755 ldap-scripts/edquota_editor ${RPM_BUILD_ROOT}/usr/sbin/
|
||||||
#ln -sf ../../sbin/quotacheck ${RPM_BUILD_ROOT}/usr/sbin/quotacheck
|
|
||||||
cp SUSE/{quotad,boot.quota} ${RPM_BUILD_ROOT}/etc/init.d
|
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
|
ln -s ../../etc/init.d/quotad ${RPM_BUILD_ROOT}/usr/sbin/rcquotad
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
cp SUSE/sysconfig.nfs-quota $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.nfs-quota
|
cp SUSE/sysconfig.nfs-quota $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.nfs-quota
|
||||||
@ -138,11 +132,28 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%config /etc/warnquota.conf
|
%config /etc/warnquota.conf
|
||||||
%doc SUSE/README.SUSE README.* doc
|
%doc SUSE/README.SUSE README.* doc
|
||||||
%doc %{_mandir}/man?/*
|
%doc %{_mandir}/man?/*
|
||||||
/sbin/*
|
#UsrMerge
|
||||||
%{_bindir}/*
|
/sbin/quotacheck
|
||||||
%{_sbindir}/*
|
/sbin/quotaoff
|
||||||
%exclude %{_sbindir}/rpc.rquotad
|
/sbin/quotaon
|
||||||
%exclude %{_sbindir}/rcquotad
|
#EndUsrMerge
|
||||||
|
%{_bindir}/quota
|
||||||
|
%{_sbindir}/applySystemQuotas.pl
|
||||||
|
%{_sbindir}/convertquota
|
||||||
|
%{_sbindir}/edquota
|
||||||
|
%{_sbindir}/edquota_editor
|
||||||
|
%{_sbindir}/quot
|
||||||
|
%{_sbindir}/quota_nld
|
||||||
|
%{_sbindir}/quotacheck
|
||||||
|
%{_sbindir}/quotaoff
|
||||||
|
%{_sbindir}/quotaon
|
||||||
|
%{_sbindir}/quotastats
|
||||||
|
%{_sbindir}/repquota
|
||||||
|
%{_sbindir}/setSystemQuotas.pl
|
||||||
|
%{_sbindir}/setquota
|
||||||
|
%{_sbindir}/setquota-ldap.pl
|
||||||
|
%{_sbindir}/warnquota
|
||||||
|
%{_sbindir}/xqmstats
|
||||||
|
|
||||||
%files nfs
|
%files nfs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user