OBS User unknown 2008-03-13 18:05:52 +00:00 committed by Git OBS Bridge
parent 31dec44679
commit be4e71e2b4
10 changed files with 178 additions and 136 deletions

View File

@ -1,11 +0,0 @@
--- quotaon.c
+++ quotaon.c
@@ -346,7 +346,7 @@
else if (!kernel_formats)
errstr(_("Warning: No quota format detected in the kernel.\n"));
- if (init_mounts_scan(mntcnt, mntpoints, MS_XFS_DISABLED) < 0)
+ if (init_mounts_scan(mntcnt, mntpoints, MS_XFS_DISABLED | MS_LOCALONLY) < 0)
return 1;
while ((mnt = get_next_mount())) {
if (nfs_fstype(mnt->mnt_type)) {

View File

@ -1,33 +0,0 @@
--- Makefile.in
+++ Makefile.in
@@ -17,12 +17,12 @@
LN = ln -sf
ROOTDIR =
SUPER_OWNER = root
-BIN_OWNER = bin
-BIN_GROUP = bin
+BIN_OWNER = root
+BIN_GROUP = root
DEF_SUID_MODE = 4511
-DEF_BIN_MODE = 555
-DEF_SBIN_MODE = 555
-DEF_MAN_MODE = 444
+DEF_BIN_MODE = 755
+DEF_SBIN_MODE = 755
+DEF_MAN_MODE = 644
DEF_CONF_MODE = 644
RPCGEN = rpcgen
@@ -94,10 +94,8 @@
-mkdir -p $(ROOTDIR)$(mandir)/man2
-mkdir -p $(ROOTDIR)$(mandir)/man3
-mkdir -p $(ROOTDIR)$(mandir)/man8
- -$(INSTALL) -m 755 -d $(ROOTDIR)$(includedir)/rpcsvc
- -$(INSTALL) -m 644 rquota.h rquota.x $(ROOTDIR)$(includedir)/rpcsvc
- -$(INSTALL) -s -m $(DEF_SBIN_MODE) quota $(ROOTDIR)$(bindir)
- -$(INSTALL) -s -m $(DEF_SBIN_MODE) rpc.rquotad $(ROOTDIR)$(sbindir)
+ -$(INSTALL) -m $(DEF_SBIN_MODE) quota $(ROOTDIR)$(bindir)
+ -$(INSTALL) -m $(DEF_SBIN_MODE) rpc.rquotad $(ROOTDIR)$(sbindir)
-$(INSTALL) -m $(DEF_MAN_MODE) *.1 $(ROOTDIR)$(mandir)/man1
-$(INSTALL) -m $(DEF_MAN_MODE) *.2 $(ROOTDIR)$(mandir)/man2
-$(INSTALL) -m $(DEF_MAN_MODE) *.3 $(ROOTDIR)$(mandir)/man3

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:58269460ca5a25a1c4dfa05272c8a44802eba0970dd0d0af6980d8496ac12871
size 257883

25
quota-3.16-makefile.patch Normal file
View File

@ -0,0 +1,25 @@
--- Makefile.in
+++ Makefile.in
@@ -16,16 +16,16 @@
CFLAGS += @HOSTS_ACCESS@
INSTALL = @INSTALL@
-STRIP = -s
+STRIP =
LN = ln -sf
ROOTDIR =
SUPER_OWNER = root
-BIN_OWNER = bin
-BIN_GROUP = bin
+BIN_OWNER = root
+BIN_GROUP = root
DEF_SUID_MODE = 4511
-DEF_BIN_MODE = 555
-DEF_SBIN_MODE = 555
-DEF_MAN_MODE = 444
+DEF_BIN_MODE = 755
+DEF_SBIN_MODE = 755
+DEF_MAN_MODE = 644
DEF_CONF_MODE = 644
RPCGEN = rpcgen

3
quota-3.16.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0e91c0f62c203f60e24e79f1fec0b10b651209998d27893177dec5e1cab251b8
size 258562

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Thu Mar 13 16:36:56 CET 2008 - lmichnovic@suse.cz
- update to version 3.16
+ quota_nld should be now usable. It parses messages about
+ exceeded quotas sent by kernel via netlink (works for kernel
+ 2.6.24 and newer) and currently supports printing of these
+ messages to console and/or system DBUS. If someone wanted to
+ write support for GNOME/KDE/other desktop which would show a
+ dialog in case message comes over DBUS, he is most welcome.
- Changes:
* added information message about journaled quota to quotacheck
* added pointers to quota_nld and warnquota to some manpages
* ported quota_nld to libnl-1.1
* let setquota batch mode accept comments and blank lines,
add -c option
* print more verbose list of compile options when --version
specified
* quotaon(8) should work only on local filesystems
* made possible to use quota rpc in mixed NFSv3 and NFSv4
environments
* fixed compilation with openLDAP library versions 2.1 and 2.2
* always define allow_severity and deny_severity for older
versions of libwrap
* cleaned up host_access() handling
* configure script now correctly reports checking of libwrap
* added MPFS to the list of supported filesystems
* updated Polish translations
* fixed typo in a quotaon message
* fixed warnquota to check URI only if LDAP enabled
- obsoletes *ignore_nfs.patch, mode.patch changed to makefile.patch
-------------------------------------------------------------------
Fri Dec 7 16:35:16 CET 2007 - lmichnovic@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package quota (Version 3.15)
# spec file for package quota (Version 3.16)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@ -10,23 +10,23 @@
# norootforbuild
Name: quota
BuildRequires: e2fsprogs-devel tcpd-devel
Version: 3.15
Release: 33
Version: 3.16
Release: 1
PreReq: %insserv_prereq %fillup_prereq
AutoReqProv: on
Group: System/Filesystems
License: GPL v2 or later
License: GPL v2 only
Url: http://sourceforge.net/projects/linuxquota/
Summary: Disk Quota System
Source: %{name}-3.15.tar.bz2
Source: %{name}-%{version}.tar.bz2
Source1: %{name}-SUSE.tar.bz2
Patch1: %{name}-%{version}-mode.patch
Patch1: %{name}-%{version}-makefile.patch
Patch2: %{name}-%{version}-man.patch
Patch3: %{name}-%{version}-warnquota.patch
Patch4: %{name}-%{version}-type.patch
Patch5: %{name}-%{version}-ignore_nfs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -72,7 +72,6 @@ Authors:
%patch2
%patch3
%patch4
%patch5
find -type d -name CVS -exec rm -rf {} \; -prune
find -type d | xargs chmod 755
@ -140,32 +139,62 @@ rm -rf $RPM_BUILD_ROOT
%doc SUSE/README.quotad.SUSE
%{_sbindir}/rpc.rquotad
%{_sbindir}/rcquotad
/usr/include/rpcsvc/*
%changelog
* Fri Dec 07 2007 - lmichnovic@suse.cz
* Thu Mar 13 2008 lmichnovic@suse.cz
- update to version 3.16
+ quota_nld should be now usable. It parses messages about
+ exceeded quotas sent by kernel via netlink (works for kernel
+ 2.6.24 and newer) and currently supports printing of these
+ messages to console and/or system DBUS. If someone wanted to
+ write support for GNOME/KDE/other desktop which would show a
+ dialog in case message comes over DBUS, he is most welcome.
- Changes:
* added information message about journaled quota to quotacheck
* added pointers to quota_nld and warnquota to some manpages
* ported quota_nld to libnl-1.1
* let setquota batch mode accept comments and blank lines,
add -c option
* print more verbose list of compile options when --version
specified
* quotaon(8) should work only on local filesystems
* made possible to use quota rpc in mixed NFSv3 and NFSv4
environments
* fixed compilation with openLDAP library versions 2.1 and 2.2
* always define allow_severity and deny_severity for older
versions of libwrap
* cleaned up host_access() handling
* configure script now correctly reports checking of libwrap
* added MPFS to the list of supported filesystems
* updated Polish translations
* fixed typo in a quotaon message
* fixed warnquota to check URI only if LDAP enabled
- obsoletes *ignore_nfs.patch, mode.patch changed to makefile.patch
* Fri Dec 07 2007 lmichnovic@suse.cz
- quotad service is not enabled during installation any more
[#346541]
- split off quota-nfs which contains only quotad related files
- added Requires on packages with services needed to start
quotad service
- updated README.SUSE and created README.quotad.SUSE
* Wed Nov 14 2007 - lmichnovic@suse.cz
* Wed Nov 14 2007 lmichnovic@suse.cz
- fixed typo in SUSE/README [#341453] and written additional info
regarding managing quota support within YaST since openSUSE 10.3
* Thu Sep 13 2007 - lmichnovic@suse.cz
* Fri Sep 14 2007 lmichnovic@suse.cz
- Ignoring NFS mount points when shutting down quota with quotaoff
[#310426] (ignore_nfs.patch)
* Thu Aug 09 2007 - lmichnovic@suse.cz
* Thu Aug 09 2007 lmichnovic@suse.cz
- fixed running quotacheck on mounted partition [#298713]
- added $network should be enabled when stoping quota service
because nfs mounts are still mounted and cause time out
* Tue Jul 17 2007 - lmichnovic@suse.cz
* Tue Jul 17 2007 lmichnovic@suse.cz
- update to 3.15 final. Changes since 3.15 beta:
* added a wrapper script around setquota which also updates LDAP
- installing ldap-scripts
* Mon Jul 02 2007 - lmichnovic@suse.cz
* Mon Jul 02 2007 lmichnovic@suse.cz
- adjusted print formatting (*type.patch)
* Thu Jun 21 2007 - lmichnovic@suse.cz
* Thu Jun 21 2007 lmichnovic@suse.cz
- rewritten headers of init scripts to fulfill LSB
(quota-SUSE.tar.bz2); obsoletes patch lsb
- now starting boot.quota script during boot automatically
@ -190,14 +219,14 @@ rm -rf $RPM_BUILD_ROOT
* fixed a format string bug in reporting of raw grace times in repquota
* added repquota(8) and quota(1) option for better parsable output
* fixed error handling in edquota(8) when creating tmp file
* Tue Apr 24 2007 - lmichnovic@suse.cz
* Tue Apr 24 2007 lmichnovic@suse.cz
- added Short-Description into quotad script to fulfill LSB
specification (lsb.diff)
* Mon Mar 19 2007 - lmichnovic@suse.cz
* Mon Mar 19 2007 lmichnovic@suse.cz
- fixed compiling some files without RPM_OPT_FLAGS and -fPIE
(cflags.diff)
- patch quota-%%{version}.diff renamed to quota-%%{version}-mode.diff
* Thu Oct 05 2006 - mjancar@suse.cz
* Thu Oct 05 2006 mjancar@suse.cz
- update to 3.14
* updated Polish translations (Jakub Bogusz)
* print user/group names in error messages when cannot get quota information (Michal Marek, Jan Kara)
@ -215,185 +244,185 @@ rm -rf $RPM_BUILD_ROOT
* quota(1) has -w option to supress line wrapping for long device names (Jan Kara)
* quota(1) prints grace time even if hard limit is reached (Jan Kara)
* fixed journaled quota format detection in quotacheck (Jan Kara)
* Fri Jul 28 2006 - olh@suse.de
* Fri Jul 28 2006 olh@suse.de
- boot.swap, boot.clock and boot.localfs are optional for boot.quota (#181972)
* Fri Apr 07 2006 - mjancar@suse.cz
* Fri Apr 07 2006 mjancar@suse.cz
- fix garbage in error messages (#164377)
* Fri Jan 27 2006 - mls@suse.de
* Fri Jan 27 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 25 2006 - mjancar@suse.cz
* Wed Jan 25 2006 mjancar@suse.cz
- ask kernel instead of runfile for status (#58564)
* Fri Jan 20 2006 - mjancar@suse.cz
* Fri Jan 20 2006 mjancar@suse.cz
- verbose quotacheck on boot (#71077)
* Fri Jan 20 2006 - schwab@suse.de
* Fri Jan 20 2006 schwab@suse.de
- Don't strip binaries.
* Wed Nov 02 2005 - dmueller@suse.de
* Wed Nov 02 2005 dmueller@suse.de
- don't build as root
* Wed Jul 13 2005 - mjancar@suse.cz
* Wed Jul 13 2005 mjancar@suse.cz
- update to 3.13
- run quotacheck only when fsck returns error or quota files are missing
* Thu Jun 23 2005 - ro@suse.de
* Thu Jun 23 2005 ro@suse.de
- added pie patch from FC
* Mon Mar 07 2005 - mjancar@suse.cz
* Mon Mar 07 2005 mjancar@suse.cz
- use RPM_OPT_FLAGS
* Thu Feb 17 2005 - mjancar@suse.cz
* Thu Feb 17 2005 mjancar@suse.cz
- update to 3.12
* Mon Nov 01 2004 - tcrhak@suse.cz
* Mon Nov 01 2004 tcrhak@suse.cz
- removed the hard coded limit (256) of mounted file systems,
by making the array dynamic (bug #47259, patch maxmntpoints)
* Thu Sep 23 2004 - tcrhak@suse.cz
* Thu Sep 23 2004 tcrhak@suse.cz
- merged init.d/quota into boot.quota, run quotacheck always (bug #43564)
- added nfsserver to Required-Start to quotad (bug #41800)
- added new variable FAIL to warnquota.conf (bug #45782)
* Tue Jun 01 2004 - meissner@suse.de
* Tue Jun 01 2004 meissner@suse.de
- removed typedef which is no longer needed and causes
problems on ppc64.
* Mon Mar 08 2004 - tcrhak@suse.cz
* Mon Mar 08 2004 tcrhak@suse.cz
- update to version 3.11
* Wed Oct 08 2003 - tcrhak@suse.cz
* Wed Oct 08 2003 tcrhak@suse.cz
- use 'rcnfsserver status' rather then 'rcnfs status'
in script rcquotad (bug #32131)
* Wed Jul 30 2003 - tcrhak@suse.cz
* Wed Jul 30 2003 tcrhak@suse.cz
- update to version 3.10pre1
* Wed Jul 23 2003 - tcrhak@suse.cz
* Wed Jul 23 2003 tcrhak@suse.cz
- update to version 3.09
* Fri Mar 07 2003 - kukuk@suse.de
* Fri Mar 07 2003 kukuk@suse.de
- Fix path in init scripts [Bug #24849]
- Move quotacheck binary to /sbin (boot.quota expects it here,
/usr/sbin must not be accesible at this time)
* Fri Jan 17 2003 - kukuk@suse.de
* Fri Jan 17 2003 kukuk@suse.de
- Use own rquota.[xh] for building
* Thu Jan 09 2003 - tcrhak@suse.cz
* Thu Jan 09 2003 tcrhak@suse.cz
- use glibc-devel's rquota.h and rquota.x for building
- removed rquota.h and rquota.x from the filelist
* Mon Dec 16 2002 - tcrhak@suse.cz
* Mon Dec 16 2002 tcrhak@suse.cz
- update to version 3.08
* Wed Oct 02 2002 - tcrhak@suse.cz
* Wed Oct 02 2002 tcrhak@suse.cz
- fixed bugs #20275 and #20278:
- added warnquota configuration files
- added /etc/quotatab to warnquota manual page
- fixed README.SuSE
- removed quotad and colon patches and applied
them to the SuSE tarball
* Tue Sep 17 2002 - ro@suse.de
* Tue Sep 17 2002 ro@suse.de
- removed bogus self-provides
* Fri Sep 06 2002 - tcrhak@suse.cz
* Fri Sep 06 2002 tcrhak@suse.cz
- further to the previous fix: really do not start
quotad unless all the services are running
* Thu Sep 05 2002 - tcrhak@suse.cz
* Thu Sep 05 2002 tcrhak@suse.cz
- fixed rcquotad script (bug #17319)
- use rc... status to test whether required services
are running
- go through these tests only for `start'
- exit with 1 rather then 0 when some service is
not running
* Tue Aug 20 2002 - mmj@suse.de
* Tue Aug 20 2002 mmj@suse.de
- Correct PreReq
* Sat Jul 27 2002 - adrian@suse.de
* Sat Jul 27 2002 adrian@suse.de
- really do not source rc.config ;)
* Wed Jul 24 2002 - kukuk@suse.de
* Wed Jul 24 2002 kukuk@suse.de
- Don't source rc.config
* Mon Jun 24 2002 - ro@suse.de
* Mon Jun 24 2002 ro@suse.de
- fixed directory permissions
* Wed May 29 2002 - ro@suse.de
* Wed May 29 2002 ro@suse.de
- define FIOSIZE ioctl for x86_64
* Wed Mar 20 2002 - tcrhak@suse.cz
* Wed Mar 20 2002 tcrhak@suse.cz
- put SuSE files into a tarball
- removed colons from quota and quotad init scripts (bug #14704)
- renamed quota.patch to quota-%%{version}.patch
* Sat Feb 16 2002 - ro@suse.de
* Sat Feb 16 2002 ro@suse.de
- moved boot.quota from aaa_base to this package
* Tue Jan 08 2002 - vinil@suse.cz
* Tue Jan 08 2002 vinil@suse.cz
- init scripts LSBed #12696
- removed START_QUOTA{,D} variables
- update to 3.03
- removed quotatool utility
* Tue Nov 20 2001 - vinil@suse.cz
* Tue Nov 20 2001 vinil@suse.cz
- update to 3.02 -> provides 'convertquota -e' for bad compiled 7.3
- get rid of wrong quota_byteswap.h; byteswap.h is provided by glibc
bug #12229
* Wed Oct 31 2001 - vinil@suse.cz
* Wed Oct 31 2001 vinil@suse.cz
- update to 3.01-final
- QUOTAOFF_BIN corrected to quotaoff in rcquota
- URL fixed for uptodate path
* Tue Aug 14 2001 - dan@suse.cz
* Tue Aug 14 2001 dan@suse.cz
- ppc architecture dependent patch removed
* Mon Aug 13 2001 - dan@suse.cz
* Mon Aug 13 2001 dan@suse.cz
- update to 3.01-pre8
- convertquota listed in spec file (#9403)
* Thu Jul 05 2001 - olh@suse.de
* Thu Jul 05 2001 olh@suse.de
- seems to work with stock 2.4.6 on ppc and 2.4.6ac1 on i386
* Wed Jul 04 2001 - olh@suse.de
* Wed Jul 04 2001 olh@suse.de
- update to 3.01-pre7 and fix compile on ppc
* Fri Jun 29 2001 - pblaha@suse.cz
* Fri Jun 29 2001 pblaha@suse.cz
- rewrite init script to LSB
* Mon Jun 18 2001 - poeml@suse.de
* Mon Jun 18 2001 poeml@suse.de
- correct pathnames in README.SuSE
- add conveniency links to init scripts
* Wed May 02 2001 - pblaha@suse.cz
* Wed May 02 2001 pblaha@suse.cz
- update for better quota support in reiser fs
* Sun Apr 15 2001 - schwab@suse.de
* Sun Apr 15 2001 schwab@suse.de
- Add %%suse_update_config.
* Thu Mar 29 2001 - pblaha@suse.cz
* Thu Mar 29 2001 pblaha@suse.cz
- add quotatool utility for set qouta from command line
* Wed Mar 21 2001 - schwab@suse.de
* Wed Mar 21 2001 schwab@suse.de
- Don't use _syscallX on ia64.
* Mon Jan 29 2001 - pblaha@suse.cz
* Mon Jan 29 2001 pblaha@suse.cz
- update on current stable 2.00 and add doc
* Thu Jan 11 2001 - ro@suse.de
* Thu Jan 11 2001 ro@suse.de
- replace linux/quota.h by sys/quota.h to make it compile
* Tue Jan 02 2001 - olh@suse.de
* Tue Jan 02 2001 olh@suse.de
- use script name in %%post
* Fri Dec 15 2000 - pblaha@suse.cz
* Fri Dec 15 2000 pblaha@suse.cz
- applied patch for support upport multiple NFS servers
* Sun Dec 10 2000 - schwab@suse.de
* Sun Dec 10 2000 schwab@suse.de
- Don't use _syscallX on ia64.
* Fri Dec 08 2000 - kukuk@suse.de
* Fri Dec 08 2000 kukuk@suse.de
- Fix Provides of init.d scripts
* Fri Dec 01 2000 - kukuk@suse.de
* Fri Dec 01 2000 kukuk@suse.de
- Add info section to init scripts
- Move init scripts sbin/init.d -> etc/init.d
* Fri Oct 27 2000 - bg@suse.de
* Fri Oct 27 2000 bg@suse.de
- changed return value of getopt from char to int for all occurances
(Fix Bug #4122)
* Tue Oct 03 2000 - smid@suse.cz
* Tue Oct 03 2000 smid@suse.cz
- bug in warnquota fixed [#4052]
* Thu Jun 08 2000 - cihlar@suse.cz
* Thu Jun 08 2000 cihlar@suse.cz
- added %%clean
* Wed Jun 07 2000 - dipa@suse.de
* Wed Jun 07 2000 dipa@suse.de
- fix for 4 GB limit in quota.c, repquota.c, edquota.c and warnquota.c
from Debian Bug report logs - #39249:
"quota programs overflow at about 3GB"
* Fri Apr 28 2000 - kukuk@suse.de
* Fri Apr 28 2000 kukuk@suse.de
- Fix buildroot
- Don't use kernel header files
* Tue Apr 11 2000 - smid@suse.cz
* Tue Apr 11 2000 smid@suse.cz
- buildroot added
* Wed Feb 16 2000 - kukuk@suse.de
* Wed Feb 16 2000 kukuk@suse.de
- Fill in the Group tag.
* Thu Jan 27 2000 - kukuk@suse.de
* Thu Jan 27 2000 kukuk@suse.de
- Use %%{_mandir} macro
* Mon Jan 24 2000 - kukuk@suse.de
* Mon Jan 24 2000 kukuk@suse.de
- Add patch for SPARC
- Fix 4GB limit
* Mon Sep 13 1999 - bs@suse.de
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Sat Mar 27 1999 - kukuk@suse.de
* Sat Mar 27 1999 kukuk@suse.de
- Show quota on NFS automounted filesystems
- Update rc scripts
- Fix some compiler warnings
* Thu Oct 29 1998 - ro@suse.de
* Thu Oct 29 1998 ro@suse.de
- added MNTOPT_xxx if not defined (for glibc)
- only use -lbsd if available
* Thu Jul 16 1998 - tmg@suse.de
* Thu Jul 16 1998 tmg@suse.de
- fixed install section
* Tue Jul 07 1998 - tmg@suse.de
* Tue Jul 07 1998 tmg@suse.de
- updated to quota 1.70 (new program setquota)
- added rc-scripts and quota check support for /sbin/init.d/boot
* Wed Nov 19 1997 - florian@suse.de
* Wed Nov 19 1997 florian@suse.de
- do not install include files
- compile with -DRPC
* Tue Jun 03 1997 - bs@suse.de
* Tue Jun 03 1997 bs@suse.de
removed man page quotactl.2.gz (included in ldpman)
* Thu Jan 02 1997 - florian@suse.de
* Thu Jan 02 1997 florian@suse.de
new version 1.55