<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>Found another thing broken in the rules file :</div><div><div>        for i in master reconstruct quota deliver ; do \                                           </div><div>                ln -s $(TMPPKG)/usr/sbin/cyrus $(TMPPKG)/usr/sbin/cyr$$i ;\                        </div>
<div>        done                                                                                       </div><div>        for i in mbpath ctl_mboxlist ctl_deliver ctl_cyrusdb squatter \                            </div><div>
                 tls_prune ipurge cyrdump cvt_cyrusdb chk_cyrus arbitron \                         </div><div>                 cyr_expire unexpunge sync_client sync_reset cyr_synclog \                         </div><div>                 cyr_dbtool cyr_df cyrus-makedirs ; do \                                           </div>
<div>                ln -s $(TMPPKG)/usr/sbin/cyrus $(TMPPKG)/usr/sbin/$$i ;\                           </div><div>        done                                               </div></div><div><br></div><div>This will create broken symlinks with the build path hardcoded in the link :</div>
<div><br></div><div><div># ls -l cyrdeliver </div><div>lrwxrwxrwx 1 root root 82 2010-12-20 20:49 cyrdeliver -&gt; /var/lib/hudson/jobs/cyrus-2.4-debian-officiel/workspace/debian/tmp/usr/sbin/cyrus</div></div><div><br></div>
<div>For example.</div><div><br></div></div>