On Wed, 17 Nov 2010 19:35:25 +0100, Ondřej Surý wrote:

cyrus-imapd-2.4 has been uploaded to experimental.

That said, we still don't have a clear upgrade path from 2.2 to 2.4.

[...]

I'm testing cyrus-imapd-2.4.4-1 on a ubuntu lucid 64bit and seems to work
fine
Only problem so far is file

cat /usr/lib/cyrus/cyrus-hardwired-config.txt
PACKAGE_VERSION
USE_DIR_FULL 0

init.d script check this file but for some reason PACKAGE_VERSION is null
and cyrus not start. commenting out

grep -qE '^PACKAGE_VERSION[[:blank:]]+([0-9]+:|)2[.]3' \
       /usr/lib/cyrus/cyrus-hardwired-config.txt >/dev/null 2>&1 || exit 0


Hi,

I write a patch to this (see attachment). You can apply it over GIT current HEAD (commit fed08249274550f6a8a0ac26f42d446edf42f2d6).

You need to rebuild packages.

Anthony

cyrus start without problem. note that this is a clean installation not
an upgrade from old cyrus

btw I imported mail and configuration from an old installation cyrus-
imapd-2.2 2.2.13-19 and db upgrade works flawless (only skiplist in this
case)


--
Cordiali saluti

Alessandro Bono

diff --git a/debian/cyrus-common-2.4.cyrus-imapd.init 
b/debian/cyrus-common-2.4.cyrus-imapd.init
index a0a3984..7ad5bb4 100755
--- a/debian/cyrus-common-2.4.cyrus-imapd.init
+++ b/debian/cyrus-common-2.4.cyrus-imapd.init
@@ -46,7 +46,7 @@ DESC="Cyrus IMAPd"
 
 # Check if Cyrus is installed
 test -x ${DAEMON} || exit 0
-grep -qE '^PACKAGE_VERSION[[:blank:]]+([0-9]+:|)2[.]3' \
+grep -qE '^PACKAGE_VERSION[[:blank:]]+([0-9]+:|)2[.]4' \
        /usr/lib/cyrus/cyrus-hardwired-config.txt >/dev/null 2>&1 || exit 0
 
 set -e
diff --git a/debian/rules b/debian/rules
index 4dd25a6..c4289c3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,6 +24,9 @@ export DOCDIR := 
$(CURDIR)/debian/$(DOCPKG)/usr/share/doc/$(DOCPKG)
 DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
+# Extra version information to add to Cyrus IMAPd ID
+DEBVERSION ?= $(shell LCALL=C dpkg-parsechangelog | sed -ne 's/^Version: 
\(.*-\)/\1/p')
+
 # DB engine version
 export BDB_VERSION ?= $(shell LC_ALL=C dpkg-query -l 'libdb4.[2-8]-dev' | grep 
^ii | sed -e 's|.*\s\libdb\(4\.[0-9]\)-dev\s.*|\1|')
 DBENGINE := BerkeleyDB$(BDB_VERSION)
_______________________________________________
Pkg-Cyrus-imapd-Debian-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-cyrus-imapd-debian-devel

Reply via email to