rpms/quota/devel quota-3.06-warnquota.patch, 1.5, 1.6 quota.spec, 1.52, 1.53

Ondrej Vasik ovasik at fedoraproject.org
Fri Mar 13 13:29:35 UTC 2009


Author: ovasik

Update of /cvs/extras/rpms/quota/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16854

Modified Files:
	quota-3.06-warnquota.patch quota.spec 
Log Message:
clarify statements about LDAP in warnquota.conf (related to #490106), fix parsing issue in warnquota.c(#490125), enable rpcsetquota by default (#159292, #469753)

quota-3.06-warnquota.patch:

Index: quota-3.06-warnquota.patch
===================================================================
RCS file: /cvs/extras/rpms/quota/devel/quota-3.06-warnquota.patch,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- quota-3.06-warnquota.patch	15 Feb 2007 22:42:05 -0000	1.5
+++ quota-3.06-warnquota.patch	13 Mar 2009 13:29:34 -0000	1.6
@@ -37,3 +37,29 @@
  # 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:|
+@@ -52,10 +52,10 @@ GROUP_SIGNATURE	= See you!|			Your admin
+ #    if the attribute isn't found
+ # 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
+-# If you have at least LDAP 2.3 installed, you can use LDAP_URI
++# LDAP_MAIL = false # or true if you want to use it
++# If you have at least LDAP 2.3 installed, you should use LDAP_URI
+ # LDAP_URI = ldaps://my.server:389
+-# Otherwise you can specify LDAP_HOST and LDAP_PORT
++# Otherwise you should specify LDAP_HOST and LDAP_PORT
+ # LDAP_HOST = ldap
+ # LDAP_PORT = 389
+ # LDAP_BINDDN = uid=ReadOnlyUser,o=YourOrg
+diff -urNp quota-tools-orig/warnquota.c quota-tools/warnquota.c
+--- quota-tools-orig/warnquota.c	2008-10-13 19:29:18.000000000 +0200
++++ quota-tools/warnquota.c	2009-03-13 14:26:33.000000000 +0100
+@@ -806,7 +806,7 @@ static int readconfigfile(const char *fi
+ 				verify_format(config->group_signature, "GROUP_SIGNATURE");
+ 			}
+ 			else if (!strcmp(var, "LDAP_MAIL")) {
+-				if(strcasecmp(value, "true") == 0) 
++				if(strncasecmp(value, "true", 4) == 0) 
+ 					config->use_ldap_mail = 1;
+ 				else
+ 					config->use_ldap_mail = 0;


Index: quota.spec
===================================================================
RCS file: /cvs/extras/rpms/quota/devel/quota.spec,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- quota.spec	13 Mar 2009 11:07:44 -0000	1.52
+++ quota.spec	13 Mar 2009 13:29:34 -0000	1.53
@@ -1,11 +1,11 @@
-#allow remote set quota by defined rpcsetquota to 1(disabled by default)
-%{!?rpcsetquota:%define rpcsetquota 0}
+#allow remote set quota by defined rpcsetquota to 1(set to 0 to disabled it)
+%{!?rpcsetquota:%define rpcsetquota 1}
 
 Name: quota
 Summary: System administration tools for monitoring users' disk usage
 Epoch: 1
 Version: 3.17
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: BSD and GPLv2+
 URL: http://sourceforge.net/projects/linuxquota/
 Group: System Environment/Base
@@ -110,6 +110,12 @@
 %attr(0644,root,root) %{_mandir}/man3/*
 
 %changelog
+* Fri Mar 13 2009 Ondrej Vasik <ovasik at redhat.com> 1:3.17-4
+- clarify statements about LDAP in warnquota conf
+  (related to #490106)
+- fix parsing issue in warnquota.c(#490125)
+- enable rpcsetquota by default(#159292, #469753)
+
 * Fri Mar 13 2009 Ondrej Vasik <ovasik at redhat.com> 1:3.17-3
 - add missing buildrequires needed to compile with
   enable-ldapmail=try option with LDAP(#490106)




More information about the fedora-extras-commits mailing list