On Sat, 9 May 2015 22:17:27 +0200, Michael Grimm stated:>Hi ? > >Timo Sirainen <tss at iki.fi> wrote: > >> Please test especially non-Linux systems as there are some larger >> configure/Makefile changes done since v2.2.16. > >2.2.17.rc1 will compile on FBSD 10.1 only, if bash has been installed (see ><554773D2.9060609 at dovecot.fi> from Teemu Huovila). This is from my point of >view regarding portability issues "suboptimal". Both, word-break-data.sh and >word-boundary-data.sh have comments about preferable use awk, perl, or ? >instead, IIRC. Teemu himself already mentioned in ><554773D2.9060609 at dovecot.fi> that this is suboptimal, and that he is >willing to solve that issue, thus, I am extremely far from blaming anyone >involved in making this great software available. But, maybe it's worth >solving this issue for those non-linux systems without bash installed per >default before releasing dovecot v2.2.17, finally. > >Besides that: Thanks for all of you involved making dovecot available! > >Regards, >Michael >For what its worth, I run FreeBSD 10.1 and I have Bash. Personally, I could not work without it. It is not a big deal to install it on FreeBSD. My question is does it have to be the default shell in dovecot v2.2.17 or just installed? -- Jerry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20150509/95c71029/attachment.sig>
On May 9, 2015, at 19:13 , Jerry <jerry at seibercom.net> wrote:>> 2.2.17.rc1 will compile on FBSD 10.1 only, if bash has been installed (see >> <554773D2.9060609 at dovecot.fi> from Teemu Huovila).[...]. But, maybe it's worth >> solving this issue for those non-linux systems without bash installed per >> default before releasing dovecot v2.2.17, finally. >> >> Besides that: Thanks for all of you involved making dovecot available! > > For what its worth, I run FreeBSD 10.1 and I have Bash. Personally, I could > not work without it. It is not a big deal to install it on FreeBSD. My > question is does it have to be the default shell in dovecot v2.2.17 or just > installed?I run FreeBSD 9, 10, and 10.1. And I don't have bash installed except on the one system I use to build lots of ports. Because, there are other ports that also presume the availability of bash, and therefore require it. I'd much rather be able to build dovecot without bash, because I don't have bash installed on my FreeBSD 10.1 mail server, where I run dovecot. I'd also be willing to help by porting any of the scripts that require bash to something else that is available in the base installation of FreeBSD as well as the variety of Linux distributions. I agree that it's not hard to install the bash port. But if you don't plan to use it for anything else, it's better not to have to. - Chris
Chris Ross <cross+dovecot at distal.com> wrote:> I'd much rather be able to build dovecot without bash, because I don't > have bash installed on my FreeBSD 10.1 mail server, where I run dovecot. > > I'd also be willing to help by porting any of the scripts that require > bash to something else that is available in the base installation of > FreeBSD as well as the variety of Linux distributions.I started to learn awk today ;-) See an awk script attached that simulates "src/lib-fts/word-break-data.sh < src/lib-fts/PropList.txt > src/lib-fts/word-break-data.c". This script is pretty preliminary, although it does what it is supposed to do, if I am not mistaken. Please, give it a try. It lacks a proper way of referencing stolen code in function mystrtonum (never wrote open source code); I did steal that code in order to stick to awk instead of gawk, which might be a portability issue as well. This script lacks any error handling, as well. Thus, consider it pre-alpha. I do not have the time to continue for the coming days. Thus, anyone feeling to jump in: just do it ;-) Regards, Michael -------------- next part -------------- A non-text attachment was scrubbed... Name: word-break-data.awk Type: application/octet-stream Size: 1848 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20150510/35f3f67e/attachment.obj>