Accepting request 123446 from home:rudi_m:branches:Base:System

- update to 4.00 final

OBS-URL: https://build.opensuse.org/request/show/123446
OBS-URL: https://build.opensuse.org/package/show/Base:System/quota?expand=0&rev=27
This commit is contained in:
Marcus Meissner 2012-06-09 09:14:44 +00:00 committed by Git OBS Bridge
parent 73422b178a
commit 692ad9ab4b
6 changed files with 66 additions and 27 deletions

View File

@ -1,13 +1,6 @@
Index: Makefile.in --- Makefile.in.orig 2011-02-01 16:47:41.000000000 +0100
=================================================================== +++ Makefile.in 2012-05-31 21:02:43.495728986 +0200
--- Makefile.in.orig @@ -14,12 +14,12 @@ STRIP = @STRIP@
+++ Makefile.in
@@ -10,16 +10,16 @@ LDFLAGS = @LDFLAGS@
LDAPLIBS = @LDAPLIBS@
INSTALL = @INSTALL@
-STRIP = -s
+STRIP =
LN = ln -sf LN = ln -sf
ROOTDIR = ROOTDIR =
SUPER_OWNER = root SUPER_OWNER = root

View File

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

View File

@ -1,4 +1,4 @@
--- ./warnquota.conf --- ./warnquota.conf.orig
+++ ./warnquota.conf +++ ./warnquota.conf
@@ -1,55 +1,116 @@ @@ -1,55 +1,116 @@
-# this is an example warnquota.conf -# this is an example warnquota.conf
@ -20,10 +20,10 @@
-# values can be quoted: -# values can be quoted:
-MAIL_CMD = "/usr/my/sendmail/instead/sendmail -t" -MAIL_CMD = "/usr/my/sendmail/instead/sendmail -t"
-FROM = "bas@localhost" -FROM = "bas@example.com"
-# but they don't have to be: -# but they don't have to be:
-SUBJECT = Hey, user, clean up your account! -SUBJECT = Hey, user, clean up your account!
-CC_TO = "sysadm@localhost" -CC_TO = "sysadm@example.com"
+# +#
+# Comment this out or remove it once you have edited this config file +# Comment this out or remove it once you have edited this config file
+# +#
@ -47,7 +47,7 @@
# 12 hours, 5 days) # 12 hours, 5 days)
+# +#
# CC_BEFORE = 2 days # CC_BEFORE = 2 days
-SUPPORT = "support@myhost.com" -SUPPORT = "support@example.com"
-PHONE = "(123) 456-1111 or (222) 333-4444" -PHONE = "(123) 456-1111 or (222) 333-4444"
+ +
+# +#
@ -147,7 +147,7 @@
+ +
# if binddn and bindpw are blank or left out, an anonymous bind is used # 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 # LDAP_MAIL = false # or true if you want to use it
@@ -64,6 +125,5 @@ @@ -64,6 +125,5 @@
# LDAP_SEARCH_ATTRIBUTE = uid # LDAP_SEARCH_ATTRIBUTE = uid
# LDAP_MAIL_ATTRIBUTE = mailLocalAddress # LDAP_MAIL_ATTRIBUTE = mailLocalAddress

3
quota-4.00.tar.gz Normal file
View File

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

View File

@ -1,3 +1,51 @@
-------------------------------------------------------------------
Mon Jun 4 09:42:56 UTC 2012 - sweet_f_a@gmx.de
- update to 4.00 final
- Changes in quota-tools from 4.00-pre1 to 4.00:
* get_qf_name() does not check quota file presence (Petr Pisar)
* report quotacheck failures by return code (Petr Pisar)
* make global symbols static as possible (Petr Pisar)
* implement repquota for filesystems without quota files (Jan Kara)
* initialize v2r1 ddquot padding in dump (Jan Kara)
* fix ddquot buffer leak (Petr Pisar)
* fix check in setgraces() in setquota.c (Petr Pisar)
* forbid grace time setting over RPC (Jan Kara)
* fix synopsis and properly report errors during remote grace period setting (Jan Kara)
* do not use real domains in warnquota example (Petr Pisar)
* make RPC handle properly host names with colons (Jan Kara)
* explain meaning of the second column in repquota output (Jan Kara)
* initialize vfsold block and inode value boundaries for new quota file (Petr Pisar)
* setquota manpage typo fix (John Bradshaw)
* implement quotacheck for GFS2 (Abhijith Das)
* add quotasync tool (Abhijith Das)
* correct --no-mixed-pathnames documentation (Petr Pisar)
* allow admin to not strip quota binaries while installing them (Jan Kara)
* document --always-resolve at edquota and setquota (Petr Pisar)
* comment example quotatab to silent warnquota (Petr Pisar)
* improve comments in warnquota.conf (Ondrej Vasik)
* fix help text for quotaoff (Ondrej Vasik)
* make quota, setquota, and edquota recognize -h option (Ondrej Vasik)
* check whether set limits fit into range supported by quota format (Jan Kara)
* add next3 support (Amir G)
* remove checking of filesystem type from hasquota() (Jan Kara)
* create quota-nfs.sh script for nicer quota(1) output formatting on some NFS clients (Jan Kara)
* add options for quota(1) modifying formatting of filesystem identificaion (Jan Kara)
* minor updates of manpages (Jan Kara)
* quotactl manpage was moved to man-pages package (Jan Kara)
* fix quotaon to work properly with XFS filesystems (Eric Sandeen, Jan Kara)
* fix quotaon to print all informational messages only in verbose mode (Jan Kara)
* fix warnquota manpage to not speak about RPC (Jan Kara)
* fix repquota to get latest quota info header (Jan Kara)
* do not count system inodes into quota for ext[234] (Jan Kara)
* improve detection of XFS kernel quota interface (Jan Kara)
* support of GFS2 filesystem (Christoph Hellwig)
* avoid memory corruption of NULL address (Petr Pisar)
* fixup typos in manpages (Michael Meskes)
* added german translation (Michael Bunk)
* added --enable-static-link configure option (Jan Kara)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 31 19:36:13 UTC 2012 - sweet_f_a@gmx.de Thu May 31 19:36:13 UTC 2012 - sweet_f_a@gmx.de

View File

@ -29,10 +29,10 @@ Url: http://sourceforge.net/projects/linuxquota/
Summary: Disk Quota System Summary: Disk Quota System
License: GPL-2.0 and BSD-3-Clause License: GPL-2.0 and BSD-3-Clause
Group: System/Filesystems Group: System/Filesystems
Source: %{name}-%{version}-pre1.tar.gz Source: %{name}-%{version}.tar.gz
Source1: %{name}-SUSE.tar.bz2 Source1: %{name}-SUSE.tar.bz2
Patch1: %{name}-3.17-makefile.patch Patch1: %{name}-4.00-makefile.patch
Patch3: %{name}-3.17-warnquota.patch Patch2: %{name}-4.00-warnquota.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -75,14 +75,13 @@ Authors:
%prep %prep
%setup -q -n quota-tools -a 1 %setup -q -n quota-tools -a 1
%patch1 %patch1
%patch3 %patch2
find -type d -name CVS -exec rm -rf {} \; -prune
find -type d | xargs chmod 755
%build %build
%configure \ %configure \
--sysconfdir=%{_sysconfdir} \ --sysconfdir=%{_sysconfdir} \
--enable-netlink --enable-netlink \
--enable-strip-binaries=no
make make
%install %install
@ -90,8 +89,6 @@ 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}/sbin
install -d -m 755 ${RPM_BUILD_ROOT}/var/adm/fillup-templates 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]
rm ${RPM_BUILD_ROOT}/%{_mandir}/man?/quotactl.*
#UsrMerge #UsrMerge
ln -s %{_sbindir}/{quotacheck,quotaon,quotaoff} ${RPM_BUILD_ROOT}/sbin/ ln -s %{_sbindir}/{quotacheck,quotaon,quotaoff} ${RPM_BUILD_ROOT}/sbin/
#EndUsrMerge #EndUsrMerge
@ -138,6 +135,7 @@ rm -rf $RPM_BUILD_ROOT
/sbin/quotaon /sbin/quotaon
#EndUsrMerge #EndUsrMerge
%{_bindir}/quota %{_bindir}/quota
%{_bindir}/quotasync
%{_sbindir}/applySystemQuotas.pl %{_sbindir}/applySystemQuotas.pl
%{_sbindir}/convertquota %{_sbindir}/convertquota
%{_sbindir}/edquota %{_sbindir}/edquota