OBS User unknown 2007-01-15 23:34:54 +00:00 committed by Git OBS Bridge
commit d4e7995c94
11 changed files with 1019 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

3
quota-3.14-SUSE.tar.gz Normal file
View File

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

38
quota-3.14-man.diff Normal file
View File

@ -0,0 +1,38 @@
--- 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
]

35
quota-3.14-pie.diff Normal file
View File

@ -0,0 +1,35 @@
--- Makefile.in
+++ Makefile.in
@@ -50,6 +50,10 @@
all: $(PROGS)
+
+svc_socket.o rquota_server.o rquota_svc.o $(filter-out rquota_xdr.o,$(LIBOBJS)): %.o: %.c
+ $(CC) $(CFLAGS) -fPIE -c $<
+
clean:
-rm -f core *.o .*.d
@@ -126,10 +130,10 @@
convertquota: convertquota.o $(LIBOBJS)
rpc.rquotad: rquota_server.o rquota_svc.o svc_socket.o $(LIBOBJS)
- $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(LDFLAGS) -pie -o $@ $^ $(LIBS)
+ @if readelf -d $@|fgrep -q TEXTREL; then echo "*** Text relocation"; false; else true; fi
pot.o: pot.c pot.h
- $(CC) $(CFLAGS) -c $<
rquota.h: rquota.x
$(RPCGEN) -h -o $@ $<
@@ -138,7 +142,7 @@
$(RPCGEN) -c -o $@ $<
rquota_xdr.o: rquota_xdr.c rquota.h
- $(CC) $(CFLAGS) -Wno-unused -c $<
+ $(CC) $(CFLAGS) -Wno-unused -fPIE -c $<
rquota_clnt.c: rquota.x
$(RPCGEN) -l -o $@ $<

15
quota-3.14-type.diff Normal file
View File

@ -0,0 +1,15 @@
--- quotasys.c
+++ quotasys.c
@@ -366,10 +366,10 @@
if (format)
for (i = 3; i > 0; i--)
if (space >= (1LL << (QUOTABLOCK_BITS*i))*100) {
- sprintf(buf, "%Lu%c", (space+(1 << (QUOTABLOCK_BITS*i))-1) >> (QUOTABLOCK_BITS*i), suffix[i]);
+ sprintf(buf, "%llu%c", ((space+(1 << (QUOTABLOCK_BITS*i))-1) >> (QUOTABLOCK_BITS*i)), suffix[i]);
return;
}
- sprintf(buf, "%Lu", space);
+ sprintf(buf, "%llu", space);
}
/*

154
quota-3.14-warnquota.diff Normal file
View File

@ -0,0 +1,154 @@
--- warnquota.conf
+++ warnquota.conf
@@ -1,53 +1,111 @@
-# this is an example warnquota.conf
+###################################################################
+# Configuration file for the warnquota utility
#
-; ; and # type comments are allowed
-# and even blank lines
+# File Format:
+# ^^^^^^^^^^^^
+# (1) lines begining with # or ; are comments
+# (2) blank lines are ignored
+# (3) other lines have the form 'value = string'
+# (4) strings may be quoted (double quotes) but they don't have to
+# (5) strings may end with backslash in order to continue
+# on the next line
+# (6) line breaks are marked with '|' character
+###################################################################
-# values can be quoted:
-MAIL_CMD = "/usr/my/sendmail/instead/sendmail -t"
-FROM = "bas@localhost"
-# but they don't have to be:
-SUBJECT = Hey, user, clean up your account!
-CC_TO = "sysadm@localhost"
+#
+# Comment this out or remove it once you have edited this config file
+#
+FAIL = "configure /etc/warnquota.conf before running warnquota"
+
+#
+# command used for sending mails
+#
+MAIL_CMD = "/usr/lib/sendmail -t"
+
+#
+# Standard mail fields
+#
+FROM = "root@localhost"
+SUBJECT = "Your account quota has exceeded!"
+CC_TO = "root@localhost"
+
+#
# If you set this variable CC will be used only when user has less than
# specified grace time left (examples of possible times: 5 seconds, 1 minute,
# 12 hours, 5 days)
+#
# CC_BEFORE = 2 days
-SUPPORT = "support@myhost.com"
-PHONE = "(123) 456-1111 or (222) 333-4444"
+
+#
+# These variables are used in the default signatures,
+# provided SIGNATURE or GROUP_SIGNATURE is not specified (see below)
+#
+SUPPORT = "root@localhost"
+PHONE = "123 456 789"
+
+#
# Text in the beginning of the mail (if not specified, default text is used)
-# This way text can be split to more lines
-# Line breaks are done by '|' character
+#
# The expressions %i, %h, %d, and %% are substituted for user/group name,
# host name, domain name, and '%' respectively. For backward compatibility
# %s behaves as %i but is deprecated.
MESSAGE = Hello user %i, I've noticed you use too much space\
on my disk in %h.%d.|Delete your files on the following filesystems:|
-# Text in the end of the mail (if not specified, default text using SUPPORT and PHONE
-# is created)
+
+#
+# Text in the end of the mail.
+# If not specified, default text using SUPPORT and PHONE is created.
+#
SIGNATURE = See you!| Your admin of %h|
-# Following text is used for mails about group exceeding quotas
+
+#
+# The following text is used for mails about group exceeding quotas
+#
GROUP_MESSAGE = Hello, a group '%i' you're member of use too much space at %h.|\
I chose you to do the cleanup.|Delete group files on the following filesystems:|
-# Text in the end of the mail to the group (if not specified, default text using SUPPORT
-# and PHONE is created).
+
+#
+# Text in the end of the mail to the group.
+# If not specified, default text using SUPPORT and PHONE is created.
+#
GROUP_SIGNATURE = See you!| Your admin|
+
#
-#If you are running warnquota on a mail server, and don't want bounces
-#because clients cannot receive mail setting this to "any" will cause
-#warnquota to not send them mail for all devices. If you set this to the
-#device name (for example /dev/hdb1) then they will not be sent mail if they
-#are overquota on that device only, and will be sent mail for all other
-#devices.
-#MAILDEV =
+# If you are running warnquota on a mail server, and don't want bounces
+# because clients can not receive mail setting this to "any" will cause
+# warnquota to not send them mail for all devices. If you set this to the
+# device name (for example /dev/hdb1) then they will not be sent mail if they
+# are overquota on that device only, and will be sent mail for all other
+# devices.
#
-# If you are using LDAP mail lookups.
+#MAILDEV =
+
+##############################################################
+# Configuration for LDAP (if you are using LDAP mail lookups)
# host, port, tls, binddn, and bindpw are straight forward.
-# LDAP_BASEDN is your search base dn
-# LDAP_SEARCH_ATTRIBUTE is the attr for the value you are looking for
-# LDAP_MAIL_ATTRIBUTE is the attribute you want used for the mail address
-# LDAP_DEFAULT_MAIL_DOMAIN is the default domain
-# if the attribute isn't found
+##############################################################
+
+#
+# Your search base dn
+#
+# LDAP_BASEDN
+
+#
+# The attr for the value you are looking for
+#
+# LDAP_SEARCH_ATTRIBUTE
+#
+
+#
+# The attribute you want used for the mail address
+#
+# LDAP_MAIL_ATTRIBUTE
+
+#
+# The default domain if the attribute isn't found
+#
+# LDAP_DEFAULT_MAIL_DOMAIN
+
# if binddn and bindpw are blank or left out, an anonymous bind is used
#
# LDAP_MAIL = false # or false if you don't want to use it
@@ -59,6 +117,5 @@
# LDAP_SEARCH_ATTRIBUTE = uid
# LDAP_MAIL_ATTRIBUTE = mailLocalAddress
# LDAP_DEFAULT_MAIL_DOMAIN = YourDefaultMailDomain.com
-#
-# end of example warnquota.conf file
-#
+
+# end of warnquota.conf file

33
quota-3.14.diff Normal file
View File

@ -0,0 +1,33 @@
--- 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

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

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

415
quota.changes Normal file
View File

@ -0,0 +1,415 @@
-------------------------------------------------------------------
Thu Oct 5 18:38:28 CEST 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)
* added option --always-resolve to force resolving even names with digits only (Jan Kara)
* minor language corrections in manpages (Jan Kara)
* implemented long options parsing for all quota tools (Jan Kara)
* quota(1) has -f option to specify filesystem list (Jan Kara)
* corrected some informal language in messages (Jan Kara)
* we cannot even stat NFS mounts in local mode as server may be unreachable (Jan Kara)
* fixed error messages in getprivs() (Jan Kara, Brian Morris)
* made UID/GID prints unsigned (Matthew Kent)
* fixed very verbose printing for quotacheck (Jan Kara)
* fixed off-by-one bug in mount options parsing (Jan Kara)
* implemented nicer message formatting for warnquota(8) (Jan Kara)
* 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 13:28:16 CEST 2006 - olh@suse.de
- boot.swap, boot.clock and boot.localfs are optional for boot.quota (#181972)
-------------------------------------------------------------------
Fri Apr 7 11:29:35 CEST 2006 - mjancar@suse.cz
- fix garbage in error messages (#164377)
-------------------------------------------------------------------
Fri Jan 27 02:22:46 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Wed Jan 25 14:25:24 CET 2006 - mjancar@suse.cz
- ask kernel instead of runfile for status (#58564)
-------------------------------------------------------------------
Fri Jan 20 17:45:15 CET 2006 - mjancar@suse.cz
- verbose quotacheck on boot (#71077)
-------------------------------------------------------------------
Fri Jan 20 17:06:45 CET 2006 - schwab@suse.de
- Don't strip binaries.
-------------------------------------------------------------------
Wed Nov 2 21:55:23 CET 2005 - dmueller@suse.de
- don't build as root
-------------------------------------------------------------------
Wed Jul 13 20:30:17 CEST 2005 - mjancar@suse.cz
- update to 3.13
- run quotacheck only when fsck returns error or quota files are missing
-------------------------------------------------------------------
Thu Jun 23 02:01:31 CEST 2005 - ro@suse.de
- added pie patch from FC
-------------------------------------------------------------------
Mon Mar 7 16:28:26 CET 2005 - mjancar@suse.cz
- use RPM_OPT_FLAGS
-------------------------------------------------------------------
Thu Feb 17 19:28:18 CET 2005 - mjancar@suse.cz
- update to 3.12
-------------------------------------------------------------------
Mon Nov 01 15:33:45 CET 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 13:08:09 CEST 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 1 14:56:42 CEST 2004 - meissner@suse.de
- removed typedef which is no longer needed and causes
problems on ppc64.
-------------------------------------------------------------------
Mon Mar 08 17:52:01 CET 2004 - tcrhak@suse.cz
- update to version 3.11
-------------------------------------------------------------------
Wed Oct 08 17:40:24 CEST 2003 - tcrhak@suse.cz
- use 'rcnfsserver status' rather then 'rcnfs status'
in script rcquotad (bug #32131)
-------------------------------------------------------------------
Wed Jul 30 09:50:40 CEST 2003 - tcrhak@suse.cz
- update to version 3.10pre1
-------------------------------------------------------------------
Wed Jul 23 16:06:04 CEST 2003 - tcrhak@suse.cz
- update to version 3.09
-------------------------------------------------------------------
Fri Mar 7 15:57:53 CET 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 09:45:40 CET 2003 - kukuk@suse.de
- Use own rquota.[xh] for building
-------------------------------------------------------------------
Thu Jan 09 15:54:05 CET 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 18:21:35 CET 2002 - tcrhak@suse.cz
- update to version 3.08
-------------------------------------------------------------------
Wed Oct 02 09:37:50 CEST 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 17:34:28 CEST 2002 - ro@suse.de
- removed bogus self-provides
-------------------------------------------------------------------
Fri Sep 06 14:12:04 CEST 2002 - tcrhak@suse.cz
- further to the previous fix: really do not start
quotad unless all the services are running
-------------------------------------------------------------------
Thu Sep 05 18:09:49 CEST 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 02:48:00 CEST 2002 - mmj@suse.de
- Correct PreReq
-------------------------------------------------------------------
Sat Jul 27 19:06:44 CEST 2002 - adrian@suse.de
- really do not source rc.config ;)
-------------------------------------------------------------------
Wed Jul 24 10:48:56 CEST 2002 - kukuk@suse.de
- Don't source rc.config
-------------------------------------------------------------------
Mon Jun 24 00:44:55 CEST 2002 - ro@suse.de
- fixed directory permissions
-------------------------------------------------------------------
Wed May 29 01:47:18 CEST 2002 - ro@suse.de
- define FIOSIZE ioctl for x86_64
-------------------------------------------------------------------
Wed Mar 20 18:19:43 CET 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 01:42:18 CET 2002 - ro@suse.de
- moved boot.quota from aaa_base to this package
-------------------------------------------------------------------
Tue Jan 8 09:58:03 CET 2002 - vinil@suse.cz
- init scripts LSBed #12696
- removed START_QUOTA{,D} variables
- update to 3.03
- removed quotatool utility
-------------------------------------------------------------------
Tue Nov 20 14:34:40 CET 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 17:25:42 CET 2001 - vinil@suse.cz
- update to 3.01-final
- QUOTAOFF_BIN corrected to quotaoff in rcquota
- URL fixed for uptodate path
-------------------------------------------------------------------
Tue Aug 14 09:46:01 CEST 2001 - dan@suse.cz
- ppc architecture dependent patch removed
-------------------------------------------------------------------
Mon Aug 13 11:26:33 CEST 2001 - dan@suse.cz
- update to 3.01-pre8
- convertquota listed in spec file (#9403)
-------------------------------------------------------------------
Thu Jul 5 16:53:51 CEST 2001 - olh@suse.de
- seems to work with stock 2.4.6 on ppc and 2.4.6ac1 on i386
-------------------------------------------------------------------
Wed Jul 4 16:32:00 CEST 2001 - olh@suse.de
- update to 3.01-pre7 and fix compile on ppc
-------------------------------------------------------------------
Fri Jun 29 13:12:09 CEST 2001 - pblaha@suse.cz
- rewrite init script to LSB
-------------------------------------------------------------------
Mon Jun 18 14:33:01 CEST 2001 - poeml@suse.de
- correct pathnames in README.SuSE
- add conveniency links to init scripts
-------------------------------------------------------------------
Wed May 2 16:57:48 CEST 2001 - pblaha@suse.cz
- update for better quota support in reiser fs
-------------------------------------------------------------------
Sun Apr 15 20:55:46 CEST 2001 - schwab@suse.de
- Add %suse_update_config.
-------------------------------------------------------------------
Thu Mar 29 12:21:52 CEST 2001 - pblaha@suse.cz
- add quotatool utility for set qouta from command line
-------------------------------------------------------------------
Wed Mar 21 14:24:52 CET 2001 - schwab@suse.de
- Don't use _syscallX on ia64.
-------------------------------------------------------------------
Mon Jan 29 16:06:46 CET 2001 - pblaha@suse.cz
- update on current stable 2.00 and add doc
-------------------------------------------------------------------
Thu Jan 11 18:14:22 CET 2001 - ro@suse.de
- replace linux/quota.h by sys/quota.h to make it compile
-------------------------------------------------------------------
Tue Jan 2 00:16:34 CET 2001 - olh@suse.de
- use script name in %post
-------------------------------------------------------------------
Fri Dec 15 11:07:16 CET 2000 - pblaha@suse.cz
- applied patch for support upport multiple NFS servers
-------------------------------------------------------------------
Sun Dec 10 19:27:07 CET 2000 - schwab@suse.de
- Don't use _syscallX on ia64.
-------------------------------------------------------------------
Fri Dec 8 14:50:43 CET 2000 - kukuk@suse.de
- Fix Provides of init.d scripts
-------------------------------------------------------------------
Fri Dec 1 13:05:50 CET 2000 - kukuk@suse.de
- Add info section to init scripts
- Move init scripts sbin/init.d -> etc/init.d
-------------------------------------------------------------------
Fri Oct 27 13:48:49 CEST 2000 - bg@suse.de
- changed return value of getopt from char to int for all occurances
(Fix Bug #4122)
-------------------------------------------------------------------
Tue Oct 3 13:49:12 CEST 2000 - smid@suse.cz
- bug in warnquota fixed [#4052]
-------------------------------------------------------------------
Thu Jun 8 11:02:35 MEST 2000 - cihlar@suse.cz
- added %clean
-------------------------------------------------------------------
Wed Jun 7 09:39:53 MEST 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 18:02:45 CEST 2000 - kukuk@suse.de
- Fix buildroot
- Don't use kernel header files
-------------------------------------------------------------------
Tue Apr 11 13:29:04 CEST 2000 - smid@suse.cz
- buildroot added
-------------------------------------------------------------------
Wed Feb 16 15:50:49 CET 2000 - kukuk@suse.de
- Fill in the Group tag.
-------------------------------------------------------------------
Thu Jan 27 18:06:00 CET 2000 - kukuk@suse.de
- Use %{_mandir} macro
-------------------------------------------------------------------
Mon Jan 24 17:00:10 CET 2000 - kukuk@suse.de
- Add patch for SPARC
- Fix 4GB limit
-------------------------------------------------------------------
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
-------------------------------------------------------------------
Sat Mar 27 17:39:31 MET 1999 - kukuk@suse.de
- Show quota on NFS automounted filesystems
- Update rc scripts
- Fix some compiler warnings
-------------------------------------------------------------------
Thu Oct 29 01:48:28 MET 1998 - ro@suse.de
- added MNTOPT_xxx if not defined (for glibc)
- only use -lbsd if available
-------------------------------------------------------------------
Thu Jul 16 11:18:25 MEST 1998 - tmg@suse.de
- fixed install section
----------------------------------------------------------------------
Tue Jul 7 15:52:01 MET 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 12:52:01 MET 1997 - florian@suse.de
- do not install include files
- compile with -DRPC
----------------------------------------------------------------------
Tue Jun 3 02:50:31 CEST 1997 - bs@suse.de
removed man page quotactl.2.gz (included in ldpman)
----------------------------------------------------------------------
Sun Aug 25 19:28:50 MET DST 1996 - florian@suse.de
new version 1.55

300
quota.spec Normal file
View File

@ -0,0 +1,300 @@
#
# spec file for package quota (Version 3.14)
#
# Copyright (c) 2006 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.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: quota
BuildRequires: e2fsprogs-devel tcpd-devel
Version: 3.14
Release: 1
PreReq: %insserv_prereq %fillup_prereq
Autoreqprov: on
Group: System/Filesystems
License: GPL
URL: http://sourceforge.net/projects/linuxquota/
Summary: Disk Quota System
Source: %{name}-%{version}.tar.bz2
Source1: %{name}-%{version}-SUSE.tar.gz
Patch0: %{name}-%{version}.diff
Patch1: %{name}-%{version}-man.diff
Patch2: %{name}-%{version}-warnquota.diff
Patch3: %{name}-%{version}-type.diff
Patch4: %{name}-%{version}-pie.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The quota subsystem allows a system administrator to set soft and hard
limits on used space and the number of inodes used for users and
groups. The kernel must be compiled with disk quota support enabled
(SUSE kernels have this support).
Authors:
--------
Marco van Wieringen <mvw@planets.ow.nl>
Johan Ekenberg <johan@ekenberg.nu>
Jan Kara <jack@suse.cz>
%prep
%setup -q -n quota-tools -a 1
%patch0
%patch1
%patch2
%patch3
%patch4
find -type d -name CVS -exec rm -rf {} \; -prune
find -type d | xargs chmod 755
%build
%{suse_update_config -f}
aclocal --force
autoconf --force
CFLAGS="$RPM_OPT_FLAGS -Wall -fPIE" \
./configure \
--prefix=%{_prefix} \
--mandir=%{_mandir} \
--sysconfdir=%{_sysconfdir}
make CC="gcc"
%install
install -d -m 755 ${RPM_BUILD_ROOT}/etc/init.d
install -d -m 755 ${RPM_BUILD_ROOT}/sbin
make install ROOTDIR=${RPM_BUILD_ROOT}
mv ${RPM_BUILD_ROOT}%{_sbindir}/{quotacheck,quotaon,quotaoff} ${RPM_BUILD_ROOT}/sbin/
#ln -sf ../../sbin/quotacheck ${RPM_BUILD_ROOT}/usr/sbin/quotacheck
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}
%clean
rm -rf $RPM_BUILD_ROOT
%post
%{fillup_and_insserv boot.quota quotad}
%postun
%{insserv_cleanup}
%files -f %{name}.lang
%defattr(-,root,root)
%config /etc/quotagrpadmins
%config /etc/init.d/boot.quota
%config /etc/init.d/quotad
%config /etc/quotatab
%config /etc/warnquota.conf
%doc SUSE/README.SUSE README.* doc
%doc %{_mandir}/man?/*
/sbin/*
%{_bindir}/*
%{_sbindir}/*
%changelog -n quota
* 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)
* added option --always-resolve to force resolving even names with digits only (Jan Kara)
* minor language corrections in manpages (Jan Kara)
* implemented long options parsing for all quota tools (Jan Kara)
* quota(1) has -f option to specify filesystem list (Jan Kara)
* corrected some informal language in messages (Jan Kara)
* we cannot even stat NFS mounts in local mode as server may be unreachable (Jan Kara)
* fixed error messages in getprivs() (Jan Kara, Brian Morris)
* made UID/GID prints unsigned (Matthew Kent)
* fixed very verbose printing for quotacheck (Jan Kara)
* fixed off-by-one bug in mount options parsing (Jan Kara)
* implemented nicer message formatting for warnquota(8) (Jan Kara)
* 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
- boot.swap, boot.clock and boot.localfs are optional for boot.quota (#181972)
* Fri Apr 07 2006 - mjancar@suse.cz
- fix garbage in error messages (#164377)
* Fri Jan 27 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 25 2006 - mjancar@suse.cz
- ask kernel instead of runfile for status (#58564)
* Fri Jan 20 2006 - mjancar@suse.cz
- verbose quotacheck on boot (#71077)
* Fri Jan 20 2006 - schwab@suse.de
- Don't strip binaries.
* Wed Nov 02 2005 - dmueller@suse.de
- don't build as root
* 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
- added pie patch from FC
* Mon Mar 07 2005 - mjancar@suse.cz
- use RPM_OPT_FLAGS
* Thu Feb 17 2005 - mjancar@suse.cz
- update to 3.12
* 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
- 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
- removed typedef which is no longer needed and causes
problems on ppc64.
* Mon Mar 08 2004 - tcrhak@suse.cz
- update to version 3.11
* 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
- update to version 3.10pre1
* Wed Jul 23 2003 - tcrhak@suse.cz
- update to version 3.09
* 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
- Use own rquota.[xh] for building
* 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
- update to version 3.08
* 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
- removed bogus self-provides
* 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
- 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
- Correct PreReq
* Sat Jul 27 2002 - adrian@suse.de
- really do not source rc.config ;)
* Wed Jul 24 2002 - kukuk@suse.de
- Don't source rc.config
* Mon Jun 24 2002 - ro@suse.de
- fixed directory permissions
* Wed May 29 2002 - ro@suse.de
- define FIOSIZE ioctl for x86_64
* 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
- moved boot.quota from aaa_base to this package
* 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
- 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
- update to 3.01-final
- QUOTAOFF_BIN corrected to quotaoff in rcquota
- URL fixed for uptodate path
* Tue Aug 14 2001 - dan@suse.cz
- ppc architecture dependent patch removed
* 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
- seems to work with stock 2.4.6 on ppc and 2.4.6ac1 on i386
* Wed Jul 04 2001 - olh@suse.de
- update to 3.01-pre7 and fix compile on ppc
* Fri Jun 29 2001 - pblaha@suse.cz
- rewrite init script to LSB
* 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
- update for better quota support in reiser fs
* Sun Apr 15 2001 - schwab@suse.de
- Add %%suse_update_config.
* Thu Mar 29 2001 - pblaha@suse.cz
- add quotatool utility for set qouta from command line
* Wed Mar 21 2001 - schwab@suse.de
- Don't use _syscallX on ia64.
* Mon Jan 29 2001 - pblaha@suse.cz
- update on current stable 2.00 and add doc
* 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
- use script name in %%post
* Fri Dec 15 2000 - pblaha@suse.cz
- applied patch for support upport multiple NFS servers
* Sun Dec 10 2000 - schwab@suse.de
- Don't use _syscallX on ia64.
* Fri Dec 08 2000 - kukuk@suse.de
- Fix Provides of init.d scripts
* 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
- changed return value of getopt from char to int for all occurances
(Fix Bug #4122)
* Tue Oct 03 2000 - smid@suse.cz
- bug in warnquota fixed [#4052]
* Thu Jun 08 2000 - cihlar@suse.cz
- added %%clean
* 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
- Fix buildroot
- Don't use kernel header files
* Tue Apr 11 2000 - smid@suse.cz
- buildroot added
* Wed Feb 16 2000 - kukuk@suse.de
- Fill in the Group tag.
* Thu Jan 27 2000 - kukuk@suse.de
- Use %%{_mandir} macro
* Mon Jan 24 2000 - kukuk@suse.de
- Add patch for SPARC
- Fix 4GB limit
* 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
- Show quota on NFS automounted filesystems
- Update rc scripts
- Fix some compiler warnings
* 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
- fixed install section
* 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
- do not install include files
- compile with -DRPC
* Tue Jun 03 1997 - bs@suse.de
removed man page quotactl.2.gz (included in ldpman)
* Thu Jan 02 1997 - florian@suse.de
new version 1.55

0
ready Normal file
View File