<br><br><div class="gmail_quote">On Tue, Dec 21, 2010 at 10:22 AM, 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;">
Anthony,<br>
<br>
thanks for quick fix. I have pulled your changes. I think you are free<br>
to commit fixes directly in our debian repository if you want.<br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
I have pushed some more changes:<br>
<br></blockquote><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br class="Apple-interchange-newline">Not ok :-)</div><div><br></div><div><div>cp: cannot stat `debian/tmp/usr/lib/cyrus/bin/deliver&#39;: No such file or directory</div>
<div>dh_install: cp -a debian/tmp/usr/lib/cyrus/bin/deliver debian/cyrus-common-2.4//usr/lib/cyrus/bin/ returned exit code 1</div><div>make: *** [binary] Error 2</div><div>dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2</div>
</div><div><br></div><div> </div></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
ec9106b WS fixes in cyrus-common-2.4.postinst<br>
bdce33d Fix cyrus-makedirs by installing it as<br>
/usr/lib/cyrus/bin/makedirs and fix /usr/bin/cyrus accordingly<br>
d45f7f4 Remove master and deliver from /usr/sbin/cyrus tool<br>
4809052 Revert &quot;Fix PID file name&quot;<br>
a6277a6 Revert changes to master and deliver, keep them as cyrmaster<br>
and cyrdeliver.<br>
b8bca9d Add support for sourcing /etc/default/cyrus-imapd to get CONF value<br>
0888b46 WS fix in debian/cyrus<br>
<br>
I have reverted the changes to master and deliver binaries. They are<br>
called independently (master is a master process and deliver is called<br>
from MTA), so I don&#39;t think there is a need for unification inside the<br>
master-tool.<br>
<br>
Also Anthony, I have noticed that you use four spaces instead of TAB.<br>
Please try to keep the WS same with the rest of team, since it creates<br>
mess. Quick peak with some editor or viewer which has TAB width set to<br>
8 will reveal that.<br>
<br>
Thanks,<br>
Ondrej<br>
<div><div></div><div class="h5"><br>
On Tue, Dec 21, 2010 at 01:31, Anthony Prades &lt;<a href="mailto:toony.debian@chezouam.net">toony.debian@chezouam.net</a>&gt; wrote:<br>
&gt; On 12/20/2010 10:34 PM, Thomas Cataldo wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Dec 20, 2010 at 5:52 PM, Ondřej Surý &lt;<a href="mailto:ondrej@sury.org">ondrej@sury.org</a><br>
&gt;&gt; &lt;mailto:<a href="mailto:ondrej@sury.org">ondrej@sury.org</a>&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;    Hi all,<br>
&gt;&gt;<br>
&gt;&gt;    I have pushed my repository to alioth which introduces two major<br>
&gt;&gt;    changes:<br>
&gt;&gt;<br>
&gt;&gt;    - Introduction of versionless virtual packages (ie. cyrus-imapd<br>
&gt;&gt;    depending on cyrus-imapd-2.4, etc.)<br>
&gt;&gt;<br>
&gt;&gt;    - New /usr/sbin/cyrus tool (which is just crude shell script right<br>
&gt;&gt;    now) which &quot;knows&quot; all the cyrus commands located in<br>
&gt;&gt;    /usr/lib/cyrus/bin/*<br>
&gt;&gt;<br>
&gt;&gt;    I have tried to preserve backwards compatibility (installing symlinks<br>
&gt;&gt;    everywhere) with our old cyrus-imapd-2.2, but anyway this is a change<br>
&gt;&gt;    which needs to be discussed with upstream. Jeroen, what do you think<br>
&gt;&gt;    as a release manager? Is the /usr/sbin/cyrus a way which could<br>
&gt;&gt;    possibly be adopted by upstream? (I was also thinking about calling it<br>
&gt;&gt;    just &#39;cyr&#39;, but there is a name clash with console-cyrilic package<br>
&gt;&gt;    :-(.)<br>
&gt;&gt;<br>
&gt;&gt;    I tried to follow the git path as much as possible (manpages are<br>
&gt;&gt;    renamed to cyrus-{something}) and the script tries hard to find the<br>
&gt;&gt;    relevant command (it automatically prepends cyr_{command} and<br>
&gt;&gt;    ctl_{command} and knows the check = chk_cyrus). More tweaks can be<br>
&gt;&gt;    added later (f.e. we can introduce cyrus control {subcommand} to call<br>
&gt;&gt;    /usr/lib/cyrus/bin/ctl_{subcommand}).<br>
&gt;&gt;<br>
&gt;&gt;    Again I have finished this just before my end of worktime, so it just<br>
&gt;&gt;    builds in the pbuilder. Brave hearts are welcomed to test the result<br>
&gt;&gt;    using git-buildpackage. I do not guarantee anything, it may eat your<br>
&gt;&gt;    system or your dog :).<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Found another thing broken in the rules file :<br>
&gt;&gt;         for i in master reconstruct quota deliver ; do \<br>
&gt;&gt;                 ln -s $(TMPPKG)/usr/sbin/cyrus<br>
&gt;&gt; $(TMPPKG)/usr/sbin/cyr$$i ;\<br>
&gt;&gt;         done<br>
&gt;&gt;         for i in mbpath ctl_mboxlist ctl_deliver ctl_cyrusdb squatter \<br>
&gt;&gt;                  tls_prune ipurge cyrdump cvt_cyrusdb chk_cyrus arbitron \<br>
&gt;&gt;                  cyr_expire unexpunge sync_client sync_reset cyr_synclog \<br>
&gt;&gt;                  cyr_dbtool cyr_df cyrus-makedirs ; do \<br>
&gt;&gt;                 ln -s $(TMPPKG)/usr/sbin/cyrus $(TMPPKG)/usr/sbin/$$i ;\<br>
&gt;&gt;         done<br>
&gt;&gt;<br>
&gt;&gt; This will create broken symlinks with the build path hardcoded in the link<br>
&gt;&gt; :<br>
&gt;&gt;<br>
&gt;&gt; # ls -l cyrdeliver<br>
&gt;&gt; lrwxrwxrwx 1 root root 82 2010-12-20 20:49 cyrdeliver -&gt;<br>
&gt;&gt;<br>
&gt;&gt; /var/lib/hudson/jobs/cyrus-2.4-debian-officiel/workspace/debian/tmp/usr/sbin/cyrus<br>
&gt;&gt;<br>
&gt;&gt; For example.<br>
&gt;&gt;<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; Here is a pull request, including your patch and some fixes:<br>
&gt;<br>
&gt; The following changes since commit b49677b1be536d0b97b9f70ed1dee3a1d3511584:<br>
&gt;<br>
&gt;  Buildable snapshot build (2010-12-20 17:45:34 +0100)<br>
&gt;<br>
&gt; are available in the git repository at:<br>
&gt;  git@github.com:toony/pkg-cyrus-imapd-2.4-toony.git debian-sid-toony<br>
&gt;<br>
&gt; Anthony Prades (5):<br>
&gt;      Fix in packaging by Thomas Cataldo<br>
&gt;      Fix /usr/sbin/* symlinks creation     Fix universal command interface<br>
&gt; call<br>
&gt;      Add cyrus-makedirs support for &#39;lock&#39; directory<br>
&gt;      Add creation of USERDENY database (flat) if doesn&#39;t exist<br>
&gt;      Fix PID file name     Fix cyrus-imapd init script to new process and<br>
&gt; pid file names<br>
&gt;<br>
&gt;  debian/cyrus                             |    4 +++-<br>
&gt;  debian/cyrus-common-2.4.cyrus-imapd.init |    2 +-<br>
&gt;  debian/cyrus-common-2.4.postinst         |   26 ++++++++++++++++++++++++--<br>
&gt;  debian/cyrus-makedirs                    |    4 ++--<br>
&gt;  debian/rules                             |    6 +++---<br>
&gt;  5 files changed, 33 insertions(+), 9 deletions(-)<br>
&gt;<br>
&gt; Anthony<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Pkg-Cyrus-imapd-Debian-devel mailing list<br>
&gt;&gt; <a href="mailto:Pkg-Cyrus-imapd-Debian-devel@lists.alioth.debian.org">Pkg-Cyrus-imapd-Debian-devel@lists.alioth.debian.org</a><br>
&gt;&gt;<br>
&gt;&gt; <a href="http://lists.alioth.debian.org/mailman/listinfo/pkg-cyrus-imapd-debian-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/pkg-cyrus-imapd-debian-devel</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Pkg-Cyrus-imapd-Debian-devel mailing list<br>
&gt; <a href="mailto:Pkg-Cyrus-imapd-Debian-devel@lists.alioth.debian.org">Pkg-Cyrus-imapd-Debian-devel@lists.alioth.debian.org</a><br>
&gt; <a href="http://lists.alioth.debian.org/mailman/listinfo/pkg-cyrus-imapd-debian-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/pkg-cyrus-imapd-debian-devel</a><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Ondřej Surý &lt;<a href="mailto:ondrej@sury.org">ondrej@sury.org</a>&gt;<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Pkg-Cyrus-imapd-Debian-devel mailing list<br>
<a href="mailto:Pkg-Cyrus-imapd-Debian-devel@lists.alioth.debian.org">Pkg-Cyrus-imapd-Debian-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/mailman/listinfo/pkg-cyrus-imapd-debian-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/pkg-cyrus-imapd-debian-devel</a></div></div></blockquote></div><br>