- 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:
parent
3bdb06c223
commit
de454bf52f
@ -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
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
|||||||
|
Index: warnquota.conf
|
||||||
|
===================================================================
|
||||||
--- warnquota.conf.orig
|
--- warnquota.conf.orig
|
||||||
+++ warnquota.conf
|
+++ warnquota.conf
|
||||||
@@ -1,21 +1,37 @@
|
@@ -1,21 +1,37 @@
|
||||||
@ -20,11 +22,11 @@
|
|||||||
+#
|
+#
|
||||||
+FAIL = "configure /etc/warnquota.conf before running warnquota"
|
+FAIL = "configure /etc/warnquota.conf before running warnquota"
|
||||||
+
|
+
|
||||||
+#
|
|
||||||
+# command used for sending mails
|
|
||||||
#
|
#
|
||||||
-; ; and # type comments are allowed
|
-; ; and # type comments are allowed
|
||||||
-# and even blank lines
|
-# and even blank lines
|
||||||
|
+# command used for sending mails
|
||||||
|
+#
|
||||||
+MAIL_CMD ▷⋅= "/usr/lib/sendmail -t"
|
+MAIL_CMD ▷⋅= "/usr/lib/sendmail -t"
|
||||||
|
|
||||||
-# values can be quoted:
|
-# values can be quoted:
|
||||||
@ -50,12 +52,15 @@
|
|||||||
# Text in the beginning of the mail (if not specified, default text is used)
|
# Text in the beginning of the mail (if not specified, default text is used)
|
||||||
# This way text can be split to more lines
|
# This way text can be split to more lines
|
||||||
# Line breaks are done by '|' character
|
# 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)
|
#Here you can set a charset for emails sent by warnquota (e.g. UTF-8)
|
||||||
#CHARSET =
|
#CHARSET =
|
||||||
-# If you are using LDAP mail lookups.
|
-# 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_BASEDN is your search base dn
|
||||||
-# LDAP_SEARCH_ATTRIBUTE is the attr for the value you are looking for
|
-# 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_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
|
-# Otherwise you should specify LDAP_HOST and LDAP_PORT
|
||||||
-# LDAP_HOST = ldap
|
-# LDAP_HOST = ldap
|
||||||
-# LDAP_PORT = 389
|
-# 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_BINDDN = uid=ReadOnlyUser,o=YourOrg
|
||||||
-# LDAP_BINDPW = YourReadOnlyUserPassword
|
-# LDAP_BINDPW = YourReadOnlyUserPassword
|
||||||
-# LDAP_BASEDN = YourSearchBase
|
-# LDAP_BASEDN = YourSearchBase
|
||||||
-# LDAP_SEARCH_ATTRIBUTE = uid
|
-# LDAP_SEARCH_ATTRIBUTE = uid
|
||||||
-# LDAP_MAIL_ATTRIBUTE = mailLocalAddress
|
-# LDAP_MAIL_ATTRIBUTE = mailLocalAddress
|
||||||
-# LDAP_DEFAULT_MAIL_DOMAIN = YourDefaultMailDomain.com
|
-# 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
|
+# Your search base dn
|
||||||
+#
|
+#
|
||||||
+# LDAP_BASEDN
|
+# LDAP_BASEDN
|
||||||
+
|
+
|
||||||
#
|
|
||||||
+# The attr for the value you are looking for
|
+# The attr for the value you are looking for
|
||||||
+#
|
+#
|
||||||
+# LDAP_SEARCH_ATTRIBUTE
|
+# LDAP_SEARCH_ATTRIBUTE
|
||||||
+#
|
|
||||||
+
|
+
|
||||||
+#
|
|
||||||
+# The attribute you want used for the mail address
|
+# The attribute you want used for the mail address
|
||||||
+#
|
+#
|
||||||
+# LDAP_MAIL_ATTRIBUTE
|
+# LDAP_MAIL_ATTRIBUTE
|
||||||
+
|
+
|
||||||
+#
|
|
||||||
+# The default domain if the attribute isn't found
|
+# The default domain if the attribute isn't found
|
||||||
+#
|
+#
|
||||||
+# LDAP_DEFAULT_MAIL_DOMAIN
|
+# LDAP_DEFAULT_MAIL_DOMAIN
|
||||||
+
|
+
|
||||||
+# end of warnquota.conf file
|
#
|
||||||
|
# end of example warnquota.conf 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
3
quota-4.03.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e4d3c0312d213d88011a68efd17a8adfadce95b5d54196dea7b9346dadde1151
|
||||||
|
size 570022
|
@ -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
|
Fri Nov 28 10:19:05 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
31
quota.spec
31
quota.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package quota
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,19 +17,19 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: quota
|
Name: quota
|
||||||
Version: 4.02
|
Version: 4.03
|
||||||
Release: 0
|
Release: 0
|
||||||
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
|
||||||
Url: http://sourceforge.net/projects/linuxquota/
|
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
|
Source1: sysconfig.nfs-quota
|
||||||
Source2: quotad.service
|
Source2: quotad.service
|
||||||
Source3: quotad_env.sh
|
Source3: quotad_env.sh
|
||||||
Patch1: %{name}-4.00-makefile.patch
|
|
||||||
Patch2: %{name}-4.01-warnquota.patch
|
Patch2: %{name}-4.01-warnquota.patch
|
||||||
BuildRequires: automake
|
|
||||||
BuildRequires: dbus-1-devel
|
BuildRequires: dbus-1-devel
|
||||||
BuildRequires: e2fsprogs-devel
|
BuildRequires: e2fsprogs-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
@ -54,27 +54,27 @@ Requires: quota = %{version}
|
|||||||
Requires: rpcbind
|
Requires: rpcbind
|
||||||
Requires: sysconfig
|
Requires: sysconfig
|
||||||
Requires(post): %fillup_prereq
|
Requires(post): %fillup_prereq
|
||||||
Provides: quota:%{_initddir}/quotad
|
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|
||||||
%description nfs
|
%description nfs
|
||||||
The quotad init script, which provides quota support on NFS mounts.
|
The quotad init script, which provides quota support on NFS mounts.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n quota-tools
|
%setup -q
|
||||||
%patch1
|
|
||||||
%patch2
|
%patch2
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
export CFLAGS="%{optflags} -fPIE"
|
||||||
|
export LDFLAGS="-pie"
|
||||||
%configure \
|
%configure \
|
||||||
--sysconfdir=%{_sysconfdir} \
|
--docdir=%{_docdir}/%{name} \
|
||||||
--enable-netlink \
|
--disable-silent-rules \
|
||||||
--enable-strip-binaries=no
|
--disable-ldapmail \
|
||||||
|
--enable-rpcsetquota
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install ROOTDIR=%{buildroot}
|
%make_install
|
||||||
|
|
||||||
#installing ldap-scripts
|
#installing ldap-scripts
|
||||||
install -m 755 ldap-scripts/*pl %{buildroot}%{_sbindir}/
|
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}/quotagrpadmins
|
||||||
%config %{_sysconfdir}/quotatab
|
%config %{_sysconfdir}/quotatab
|
||||||
%config %{_sysconfdir}/warnquota.conf
|
%config %{_sysconfdir}/warnquota.conf
|
||||||
%doc README.* doc
|
%dir %{_docdir}/%{name}
|
||||||
%doc %{_mandir}/man?/*
|
%{_docdir}/%{name}/*
|
||||||
|
%{_mandir}/man?/*
|
||||||
%{_bindir}/quota
|
%{_bindir}/quota
|
||||||
%{_bindir}/quotasync
|
%{_bindir}/quotasync
|
||||||
%{_sbindir}/applySystemQuotas.pl
|
%{_sbindir}/applySystemQuotas.pl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user