- Version update to 4.03 release

* Various small updates and fixes
  * Translations update
  * autotools based buildsystem

OBS-URL: https://build.opensuse.org/package/show/Base:System/quota?expand=0&rev=43
This commit is contained in:
Tomáš Chvátal 2016-01-04 15:11:02 +00:00 committed by Git OBS Bridge
parent 3bdb06c223
commit de454bf52f
6 changed files with 45 additions and 54 deletions

View File

@ -1,20 +0,0 @@
--- Makefile.in.orig 2011-02-01 16:47:41.000000000 +0100
+++ Makefile.in 2012-05-31 21:02:43.495728986 +0200
@@ -14,12 +14,12 @@ STRIP = @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

View File

@ -1,3 +1,5 @@
Index: warnquota.conf
===================================================================
--- warnquota.conf.orig
+++ warnquota.conf
@@ -1,21 +1,37 @@
@ -20,11 +22,11 @@
+#
+FAIL = "configure /etc/warnquota.conf before running warnquota"
+
+#
+# command used for sending mails
#
-; ; and # type comments are allowed
-# and even blank lines
+# command used for sending mails
+#
+MAIL_CMD ▷⋅= "/usr/lib/sendmail -t"
-# values can be quoted:
@ -50,12 +52,15 @@
# 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
@@ -45,27 +61,31 @@ GROUP_SIGNATURE = See you!| Your admin
@@ -45,33 +61,27 @@ GROUP_SIGNATURE = See you!| Your admin
#
#Here you can set a charset for emails sent by warnquota (e.g. UTF-8)
#CHARSET =
-# If you are using LDAP mail lookups.
-# host, port, tls, binddn, and bindpw are straight forward.
+
+##############################################################
+# 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
@ -69,38 +74,35 @@
-# Otherwise you should specify LDAP_HOST and LDAP_PORT
-# LDAP_HOST = ldap
-# LDAP_PORT = 389
-# LDAP_TLS = false (false|never|allow|try|demand) use StarTLS
-# false - don't use starTLS
-# never - don't ask for a certificate
-# allow - request certificate, proceed even if not verified
-# try - request certificate, terminate if bad, proceed if not sent
-# demand - request certificate, proceed only if verified
-# LDAP_BINDDN = uid=ReadOnlyUser,o=YourOrg
-# LDAP_BINDPW = YourReadOnlyUserPassword
-# LDAP_BASEDN = YourSearchBase
-# LDAP_SEARCH_ATTRIBUTE = uid
-# LDAP_MAIL_ATTRIBUTE = mailLocalAddress
-# LDAP_DEFAULT_MAIL_DOMAIN = YourDefaultMailDomain.com
+
+##############################################################
+# Configuration for LDAP (if you are using LDAP mail lookups)
+ # host, port, tls, binddn, and bindpw are straight forward.
+##############################################################
+
#
-# end of example warnquota.conf file
+# 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
+
+# end of warnquota.conf file
#
# end of example warnquota.conf file
#

View File

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

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

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jan 4 15:07:35 UTC 2016 - tchvatal@suse.com
- Version update to 4.03 release
* Various small updates and fixes
* Translations update
* autotools based buildsystem
-------------------------------------------------------------------
Fri Nov 28 10:19:05 UTC 2014 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package quota
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,19 +17,19 @@
Name: quota
Version: 4.02
Version: 4.03
Release: 0
Summary: Disk Quota System
License: GPL-2.0 and BSD-3-Clause
Group: System/Filesystems
Url: http://sourceforge.net/projects/linuxquota/
Source0: http://downloads.sourceforge.net/project/linuxquota/quota-tools/%{version}/%{name}-%{version}.tar.gz
#Source0: http://downloads.sourceforge.net/project/linuxquota/quota-tools/%{version}/%{name}-%{version}.tar.gz
# Tarball repacked, missing subfolder, will be fixed in next release
Source0: %{name}-%{version}.tar.gz
Source1: sysconfig.nfs-quota
Source2: quotad.service
Source3: quotad_env.sh
Patch1: %{name}-4.00-makefile.patch
Patch2: %{name}-4.01-warnquota.patch
BuildRequires: automake
BuildRequires: dbus-1-devel
BuildRequires: e2fsprogs-devel
BuildRequires: pkg-config
@ -54,27 +54,27 @@ Requires: quota = %{version}
Requires: rpcbind
Requires: sysconfig
Requires(post): %fillup_prereq
Provides: quota:%{_initddir}/quotad
%{?systemd_requires}
%description nfs
The quotad init script, which provides quota support on NFS mounts.
%prep
%setup -q -n quota-tools
%patch1
%setup -q
%patch2
%build
autoreconf -fiv
export CFLAGS="%{optflags} -fPIE"
export LDFLAGS="-pie"
%configure \
--sysconfdir=%{_sysconfdir} \
--enable-netlink \
--enable-strip-binaries=no
--docdir=%{_docdir}/%{name} \
--disable-silent-rules \
--disable-ldapmail \
--enable-rpcsetquota
make %{?_smp_mflags}
%install
make install ROOTDIR=%{buildroot}
%make_install
#installing ldap-scripts
install -m 755 ldap-scripts/*pl %{buildroot}%{_sbindir}/
@ -110,8 +110,9 @@ cp %{SOURCE1} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.nfs-q
%config %{_sysconfdir}/quotagrpadmins
%config %{_sysconfdir}/quotatab
%config %{_sysconfdir}/warnquota.conf
%doc README.* doc
%doc %{_mandir}/man?/*
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/*
%{_mandir}/man?/*
%{_bindir}/quota
%{_bindir}/quotasync
%{_sbindir}/applySystemQuotas.pl