steffen: server/kolab kolab.spec,1.34,1.35
cvs at intevation.de
cvs at intevation.de
Wed Apr 28 01:55:03 CEST 2004
- Previous message: martin: server/kolab/kolab/admin/user create_user.php, 1.9.2.6, 1.9.2.7 forward.php, 1.5.2.2, 1.5.2.3 index.php, 1.10.2.1, 1.10.2.2 vacation.php, 1.5.2.6, 1.5.2.7
- Next message: steffen: server/kolab/kolab kolabquotawarn, NONE, 1.1 quotawarning.txt, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: steffen
Update of /kolabrepository/server/kolab
In directory doto:/tmp/cvs-serv26103
Modified Files:
kolab.spec
Log Message:
script for spewing out quota warning messages
Index: kolab.spec
===================================================================
RCS file: /kolabrepository/server/kolab/kolab.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- kolab.spec 26 Apr 2004 12:49:33 -0000 1.34
+++ kolab.spec 27 Apr 2004 23:55:01 -0000 1.35
@@ -42,7 +42,7 @@
Group: Mail
License: GPL
Version: 1.9.0
-Release: 20040426
+Release: 20040428
# package options
%option with_genuine no
@@ -66,6 +66,7 @@
PreReq: perl-kolab, perl-db
PreReq: amavisd
PreReq: clamav
+PreReq: dcron
%endif
AutoReq: no
AutoReqProv: no
@@ -115,10 +116,11 @@
%{l_shtool} install -c -m 744 %{l_value -s -a} \
kolab_sslcert.sh kolab kolab_bootstrap workaround.sh \
+ kolabquotawarn \
$RPM_BUILD_ROOT%{l_prefix}/etc/kolab/
%{l_shtool} install -c -m 644 %{l_value -s -a} \
- kolab.conf *.template \
+ kolab.conf *.template quotawarning.txt \
$RPM_BUILD_ROOT%{l_prefix}/etc/kolab/
%if "%{with_genuine}" == "no"
@@ -162,7 +164,8 @@
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \
'%config %{l_prefix}/etc/kolab/*.pem' \
'%config %{l_prefix}/etc/kolab/*.schema' \
- '%config %{l_prefix}/etc/kolab/kolab.conf'
+ '%config %{l_prefix}/etc/kolab/kolab.conf' \
+ '%config %{l_prefix}/etc/kolab/quotawarning.txt'
%files -f files
@@ -170,5 +173,10 @@
rm -rf $RPM_BUILD_ROOT
%post
+ # Install crontab entry for quota warnings
+ %{l_shtool} echo -e "Installing crontab entry"
+ %{l_shtool} echo -e "`%{l_prefix}/bin/crontab -l %{l_musr} | grep -v %{l_prefix}/etc/kolab/kolabquotawarn`" \
+ '
+*/10 * * * * %{l_prefix}/etc/kolab/kolabquotawarn' | %{l_prefix}/bin/crontab - -u %{l_musr}
echo "please run '$RPM_INSTALL_PREFIX/etc/kolab/kolab_bootstrap -b'"
- Previous message: martin: server/kolab/kolab/admin/user create_user.php, 1.9.2.6, 1.9.2.7 forward.php, 1.5.2.2, 1.5.2.3 index.php, 1.10.2.1, 1.10.2.2 vacation.php, 1.5.2.6, 1.5.2.7
- Next message: steffen: server/kolab/kolab kolabquotawarn, NONE, 1.1 quotawarning.txt, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the commits
mailing list