marcus: server/kolabd/kolabd kolabdcachetool.in, NONE, 1.1 ChangeLog, 1.97, 1.98 Makefile.am, 1.23, 1.24 kolabdcachetool, 1.2, NONE
cvs at kolab.org
cvs at kolab.org
Thu Jun 21 21:29:53 CEST 2007
Author: marcus
Update of /kolabrepository/server/kolabd/kolabd
In directory doto:/tmp/cvs-serv31908
Modified Files:
ChangeLog Makefile.am
Added Files:
kolabdcachetool.in
Removed Files:
kolabdcachetool
Log Message:
* Makefile.am:
fixed kolab/issue1804 (Several files apparently missing in kolabd 2.1.0 package)
"dirservnotify", "dirservupdate" and "kolabdcachetool" are a part of a normal
kolabd installation (they will be installed to $(kolab_scriptsdir))
* kolabdcachetool.in:
autoconfiscated version of kolabdcachetool (renamed kolabdcachetool to
kolabdcachetool.in)
--- NEW FILE: kolabdcachetool.in ---
#!/kolab/bin/perl -w
use strict;
use Getopt::Long;
use DB_File;
use POSIX qw(strftime);
my $progname = `basename $0`;
chomp($progname);
sub usage
{
print "Usage: $progname CACHE FUNCTION
where CACHE is one of `mbox' or `gyard' (i.e. the cache to operate
on) and FUNCION is one of `list', `delete' or `flush' (i.e. the
function to perform on CACHE)\n";
exit(1);
1;
}
my $cache = shift || usage;
my $func = shift || usage;
my (%db, %db2, %sorted);
usage if ($func !~ /list/i && $func !~ /del/i && $func !~ /flush/i);
if ($cache =~ /mbox/i) {
dbmopen(%db, '@kolab_mailboxuiddb@', 0666)
|| die "Unable to open mail uid cache";
} elsif ($cache =~ /gyard/i) {
dbmopen(%db, '@graveyard_uidcache@', 0666)
|| die "Unable to open graveyard uid cache";
dbmopen(%db2, '@graveyard_tscache@', 0666)
|| die "Unable to open graveyard timestamp cache";
} else { usage; }
my ($guid, $ts);
foreach $guid (keys %db) {
#$sorted{
$ts = "";
$ts = ", deleted " . strftime("%F %T", localtime($db2{$guid})) if exists($db2{$guid});
print "GUID: `$guid', mailbox: `" . $db{$guid} . "'$ts\n";
}
dbmclose(%db);
dbmclose(%db2);
Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/ChangeLog,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -d -r1.97 -r1.98
--- ChangeLog 21 Jun 2007 14:48:24 -0000 1.97
+++ ChangeLog 21 Jun 2007 19:29:51 -0000 1.98
@@ -5,11 +5,20 @@
fixed kolab/issue1805 (Uncleaned files in kolabd source package)
Added missing Makefile dependencies (pointed out by Peter Eisentraut)
+ fixed kolab/issue1804 (Several files apparently missing in kolabd 2.1.0 package)
+ "dirservnotify", "dirservupdate" and "kolabdcachetool" are a part of a normal
+ kolabd installation (they will be installed to $(kolab_scriptsdir))
+
* kolabd.spec.in:
removed "rm -rf $RPM_BUILD_ROOT" from the %install section as this opens
a possible race condition (see http://lists.opensuse.org/opensuse-packaging/2007-02/msg00005.html
for more information)
+
+ * kolabdcachetool.in:
+
+ autoconfiscated version of kolabdcachetool (renamed kolabdcachetool to
+ kolabdcachetool.in)
2007-05-11 Gunnar Wrobel <p at rdus.de>
Index: Makefile.am
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/Makefile.am,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- Makefile.am 21 Jun 2007 14:37:34 -0000 1.23
+++ Makefile.am 21 Jun 2007 19:29:51 -0000 1.24
@@ -26,8 +26,13 @@
workaround.sh \
kolabquotawarn \
kolab_upgrade \
- kolab_smtpdpolicy
+ kolab_smtpdpolicy \
+ dirservnotify \
+ dirservupdate \
+ kolabdcachetool
+EXTRA_DIST += dirservnotify \
+ dirservupdate
kolabconfig_FILES = kolab.conf \
kolab.globals \
@@ -231,6 +236,13 @@
chmod a+x kolabquotawarn
CLEANFILES += kolabquotawarn
EXTRA_DIST += kolabquotawarn.in
+
+kolabdcachetool: kolabdcachetool.in
+ @$(mkinstalldirs) .
+ $(do_subst) <$(srcdir)/kolabdcachetool.in >$@
+ chmod a+x kolabdcachetool
+CLEANFILES += kolabdcachetool
+EXTRA_DIST += kolabdcachetool.in
namespace/libexec/adduser: namespace/libexec/adduser.in
@$(mkinstalldirs) namespace/libexec
--- kolabdcachetool DELETED ---
More information about the commits
mailing list