<br><br><div class="gmail_quote">On Mon, Dec 20, 2010 at 5:52 PM, Ondřej Surý <span dir="ltr">&lt;<a href="mailto:ondrej@sury.org">ondrej@sury.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<br>
<br>
I have pushed my repository to alioth which introduces two major changes:<br>
<br>
- Introduction of versionless virtual packages (ie. cyrus-imapd<br>
depending on cyrus-imapd-2.4, etc.)<br>
<br>
- New /usr/sbin/cyrus tool (which is just crude shell script right<br>
now) which &quot;knows&quot; all the cyrus commands located in<br>
/usr/lib/cyrus/bin/*<br>
<br>
I have tried to preserve backwards compatibility (installing symlinks<br>
everywhere) with our old cyrus-imapd-2.2, but anyway this is a change<br>
which needs to be discussed with upstream. Jeroen, what do you think<br>
as a release manager? Is the /usr/sbin/cyrus a way which could<br>
possibly be adopted by upstream? (I was also thinking about calling it<br>
just &#39;cyr&#39;, but there is a name clash with console-cyrilic package<br>
:-(.)<br>
<br>
I tried to follow the git path as much as possible (manpages are<br>
renamed to cyrus-{something}) and the script tries hard to find the<br>
relevant command (it automatically prepends cyr_{command} and<br>
ctl_{command} and knows the check = chk_cyrus). More tweaks can be<br>
added later (f.e. we can introduce cyrus control {subcommand} to call<br>
/usr/lib/cyrus/bin/ctl_{subcommand}).<br>
<br>
Again I have finished this just before my end of worktime, so it just<br>
builds in the pbuilder. Brave hearts are welcomed to test the result<br>
using git-buildpackage. I do not guarantee anything, it may eat your<br>
system or your dog :).<br>
<br></blockquote><div><br></div><div>The following patch was needed for correct installation :</div><div><br></div><div><div>diff --git a/debian/cyrus b/debian/cyrus</div><div>index ed7bc5f..3179e75 100755</div><div>--- a/debian/cyrus</div>
<div>+++ b/debian/cyrus</div><div>@@ -64,6 +64,8 @@ if [ ! -f &quot;${CYRUS_BINPATH}/${COMMAND}&quot; ]; then</div><div>        COMMAND=&quot;ctl_${COMMAND}&quot;</div><div>     elif [ &quot;${COMMAND}&quot; = &quot;check&quot; ]; then</div>
<div>        COMMAND=&quot;chk_cyrus&quot;</div><div>+    elif [ &quot;${COMMAND}&quot; = &quot;makedirs&quot; ]; then</div><div>+       COMMAND=&quot;cyrus-makedirs&quot;</div><div>     else</div><div>        echo &quot;ERROR: ${COMMAND}: Unknown command or command not installed&quot;</div>
<div>        echo </div></div><div><br></div><div><br></div></div>