1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
11 url = http://sourceforge.net/projects/linuxquota/
12 license = BSD and GPLv2+
13 summary = System administration tools for monitoring users' disk usage
16 The quota package contains system administration tools for monitoring
17 and limiting user and or group disk usage per file system.
20 source_dl = http://downloads.sourceforge.net/linuxquota/
27 glibc-headers >= 2.17-2
33 DIR_APP = %{DIR_SRC}/quota-tools
35 configure_options += \
39 --enable-rpcsetquota \
40 --disable-strip-binaries
42 make_install_targets += ROOTDIR=%{BUILDROOT}
45 mkdir -pv %{BUILDROOT}%{sysconfdir}
46 install -m 644 warnquota.conf %{BUILDROOT}%{sysconfdir}
49 rm -vf %{BUILDROOT}{%{mandir},%{sbindir}}/{quot,xqmstats}*
57 summary = The quota_nld daemon.
60 Daemon that listens on netlink socket and processes received quota warnings.
61 The daemon supports forwarding warning messages to the system D-Bus
62 (so that desktop manager can display a dialog) and writing them to the
63 terminal user has last accessed.
71 %{unitdir}/quota_nld.service
73 %{mandir}/man8/quota_nld.8*
77 systemctl daemon-reload >/dev/null 2>&1 || :
81 systemctl daemon-reload >/dev/null 2>&1 || :
82 systemctl try-restart quota_nld.service >/dev/null 2>&1 || :
86 systemctl --no-reload disable quota_nld.service >/dev/null 2>&1 || :
87 systemctl stop quota_nld.service >/dev/null 2>&1 || :
91 systemctl daemon-reload >/dev/null 2>&1 || :
95 package %{name}-warnquota
96 summary = Send e-mail to users over quota.
98 Utility that checks disk quota for each local file system and mails a warning
99 message to those users who have reached their soft limit. It is typically run
108 %{sysconfdir}/quotagrpadmins
109 %{sysconfdir}/quotatab
110 %{sysconfdir}/warnquota.conf
116 %{mandir}/man8/warnquota.8*
120 package %{name}-devel
123 # Some header files have previously been
124 # shipped with glibc-headers.
126 glibc-headers < 2.17-2
130 package %{name}-debuginfo