Re: CFT: new BSD-licensed sort available

2012-03-18 Thread Lowell Gilbert
Oleg Moskalenko oleg.moskale...@citrix.com writes: Yes, indeed, there was an old sort syntax, where they supported it in a form +POS1 -POS2. It is a non-POSIX obsolete syntax, so we did not implement it in the new BSD sort. I can add it, if necessary. If anyone asked for my opinion, I'd say

Re: CFT: new BSD-licensed sort available

2012-03-18 Thread Roger Marquis
Why to symlink, this is 1/ because it concerns user/admin configuration, I get that, but why is a conf file not the right answer? We could even put the conf file in /etc if we decide that this is a feature that should be in the base. Having 2 symlinks just seems like overkill. IMO nether

Re: CFT: new BSD-licensed sort available

2012-03-18 Thread Chad Perrin
On Sun, Mar 18, 2012 at 11:33:06AM -0400, Lowell Gilbert wrote: Oleg Moskalenko oleg.moskale...@citrix.com writes: Yes, indeed, there was an old sort syntax, where they supported it in a form +POS1 -POS2. It is a non-POSIX obsolete syntax, so we did not implement it in the new BSD sort. I

RE: CFT: new BSD-licensed sort available

2012-03-18 Thread Oleg Moskalenko
compatibility, he can easily remove -D option from the Makefile. Regards, Oleg -Original Message- From: owner-freebsd-po...@freebsd.org [mailto:owner-freebsd-po...@freebsd.org] On Behalf Of Chad Perrin Sent: Sunday, March 18, 2012 11:15 AM To: freebsd-ports@freebsd.org Subject: Re: CFT: new BSD

Re: CFT: new BSD-licensed sort available

2012-03-18 Thread Eitan Adler
On Wed, Mar 14, 2012 at 11:59 AM, Gabor Kovesdan ga...@freebsd.org wrote: Hi Folks, some time ago I started writing a BSDL sort variant from scratch since the OpenBSD version did not support multibyte locales and was hard to modify. The development was a bit stalled but recently, Oleg

Re: CFT: new BSD-licensed sort available

2012-03-18 Thread Gabor Kovesdan
On 2012.03.14. 22:10, Adrian Chadd wrote: So you could intall gnusort, bsdsort, and then some config file would determine which was used. 'sort' would then be a symlink to said magic program, that'd look at its argv[0], look at the contents of that file, and exec() the right one. I prefer

Re: CFT: new BSD-licensed sort available

2012-03-17 Thread Baptiste Daroussin
On Fri, Mar 16, 2012 at 09:08:52PM -0700, Doug Barton wrote: On 03/16/2012 18:47, Eric van Gyzen wrote: On 03/16/2012 08:25 PM, Doug Barton wrote: On 03/14/2012 15:14, Jonathan Anderson wrote: In fact, the runtime behaviour of the Debian alternatives system is simpler than that:

Re: CFT: new BSD-licensed sort available

2012-03-17 Thread Doug Barton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 03/17/2012 03:27, Baptiste Daroussin wrote: Why to symlink, this is 1/ because it concerns user/admin configuration, I get that, but why is a conf file not the right answer? We could even put the conf file in /etc if we decide that this is a

Re: CFT: new BSD-licensed sort available

2012-03-17 Thread Adrian Chadd
I can imagine a netboot'ed system where the config in /etc/alternates/ is different for individual hosts, which have a shared root. That way you can have two netbooted hosts with a shared read-only rootfs, but a ramdisk /etc, with the locally configured mailer, alternates, etc. Adrian

Re: CFT: new BSD-licensed sort available

2012-03-17 Thread Doug Barton
On 03/17/2012 17:08, Adrian Chadd wrote: I can imagine a netboot'ed system where the config in /etc/alternates/ is different for individual hosts, which have a shared root. That way you can have two netbooted hosts with a shared read-only rootfs, but a ramdisk /etc, with the locally

Re: CFT: new BSD-licensed sort available

2012-03-17 Thread Adrian Chadd
On 17 March 2012 17:15, Doug Barton do...@freebsd.org wrote: Sure, and in that situation the conf file in /etc would still work just as well. How will the conf file work? If there's a program like what mailer.conf uses, sure. If the symlink is directly from sort to /usr/bin/bsdsort, no so

Re: CFT: new BSD-licensed sort available

2012-03-16 Thread Torfinn Ingolfsen
On Fri, Mar 16, 2012 at 1:05 AM, Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org wrote: Thanks, it does help somewhat. Unfortunately, I had already tried to instrument that line, and didn't get anything useful. I probably still need to learn a bit more ruby in order to figure out precisely

Re: CFT: new BSD-licensed sort available

2012-03-16 Thread Lowell Gilbert
Chris Rees cr...@freebsd.org writes: On 15 March 2012 19:18, Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org wrote: Gabor Kovesdan ga...@freebsd.org writes: some time ago I started writing a BSDL sort variant from scratch since the OpenBSD version did not support multibyte locales and

Re: CFT: new BSD-licensed sort available

2012-03-16 Thread Lowell Gilbert
Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org writes: It wouldn't be bad if BSD sort supported it, but it should definitely be fixed in the ports Makefile. I have submitted the fix in a PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=166188 And I forgot to mark the PR with [PATCH]...

RE: CFT: new BSD-licensed sort available

2012-03-16 Thread Oleg Moskalenko
...@be-well.ilk.org] Sent: Friday, March 16, 2012 3:37 PM To: freebsd-ports@freebsd.org Cc: Chris Rees; Gabor Kovesdan; Oleg Moskalenko Subject: Re: CFT: new BSD-licensed sort available Chris Rees cr...@freebsd.org writes: On 15 March 2012 19:18, Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org

Re: CFT: new BSD-licensed sort available

2012-03-16 Thread Chris Rees
On 16 March 2012 22:39, Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org wrote: Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org writes: It wouldn't be bad if BSD sort supported it, but it should definitely be fixed in the ports Makefile. I have submitted the fix in a PR:

Re: CFT: new BSD-licensed sort available

2012-03-16 Thread Doug Barton
On 03/14/2012 15:14, Jonathan Anderson wrote: In fact, the runtime behaviour of the Debian alternatives system is simpler than that: http://segfault.in/2010/04/using-the-debian-alternatives-system/ The custom Perl script with a config file is used to set up symlinks, which at runtime

Re: CFT: new BSD-licensed sort available

2012-03-16 Thread Eric van Gyzen
On 03/16/2012 08:25 PM, Doug Barton wrote: On 03/14/2012 15:14, Jonathan Anderson wrote: In fact, the runtime behaviour of the Debian alternatives system is simpler than that: http://segfault.in/2010/04/using-the-debian-alternatives-system/ [...] This sounds like a good solution to more than

Re: CFT: new BSD-licensed sort available

2012-03-16 Thread Doug Barton
On 03/16/2012 18:47, Eric van Gyzen wrote: On 03/16/2012 08:25 PM, Doug Barton wrote: On 03/14/2012 15:14, Jonathan Anderson wrote: In fact, the runtime behaviour of the Debian alternatives system is simpler than that: http://segfault.in/2010/04/using-the-debian-alternatives-system/ [...]

Re: CFT: new BSD-licensed sort available

2012-03-15 Thread Kazuaki ODA
(12/03/15 0:59), Gabor Kovesdan wrote: Hi Folks, some time ago I started writing a BSDL sort variant from scratch since the OpenBSD version did not support multibyte locales and was hard to modify. The development was a bit stalled but recently, Oleg Moskalenko oleg.moskale...@citrix.com showed

Re: CFT: new BSD-licensed sort available

2012-03-15 Thread Chad Perrin
On Wed, Mar 14, 2012 at 10:14:28PM +, Jonathan Anderson wrote: In fact, the runtime behaviour of the Debian alternatives system is simpler than that: http://segfault.in/2010/04/using-the-debian-alternatives-system/ The custom Perl script with a config file is used to set up symlinks,

Re: CFT: new BSD-licensed sort available

2012-03-15 Thread Lowell Gilbert
Gabor Kovesdan ga...@freebsd.org writes: some time ago I started writing a BSDL sort variant from scratch since the OpenBSD version did not support multibyte locales and was hard to modify. The development was a bit stalled but recently, Oleg Moskalenko oleg.moskale...@citrix.com showed

Re: CFT: new BSD-licensed sort available

2012-03-15 Thread Chris Rees
On 15 March 2012 19:18, Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org wrote: Gabor Kovesdan ga...@freebsd.org writes: some time ago I started writing a BSDL sort variant from scratch since the OpenBSD version did not support multibyte locales and was hard to modify. The development was a

RE: CFT: new BSD-licensed sort available

2012-03-15 Thread Oleg Moskalenko
: Thursday, March 15, 2012 12:50 PM To: Lowell Gilbert Cc: Gabor Kovesdan; Oleg Moskalenko; freebsd-ports@freebsd.org Subject: Re: CFT: new BSD-licensed sort available On 15 March 2012 19:18, Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org wrote: Gabor Kovesdan ga...@freebsd.org writes: some time ago

RE: CFT: new BSD-licensed sort available

2012-03-15 Thread Oleg Moskalenko
Rees Sent: Thursday, March 15, 2012 12:50 PM To: Lowell Gilbert Cc: Gabor Kovesdan; Oleg Moskalenko; freebsd-ports@freebsd.org Subject: Re: CFT: new BSD-licensed sort available On 15 March 2012 19:18, Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org wrote: Gabor Kovesdan ga...@freebsd.org writes

Re: CFT: new BSD-licensed sort available

2012-03-15 Thread Lowell Gilbert
Oleg Moskalenko oleg.moskale...@citrix.com writes: There is no option -2 in the new BSD sort or in the GNU sort. There is no such option in Posix standard, too. What is this option about, do we need to add something ? No, clearly I have misdiagnosed the problem. I'll take another look.

Re: CFT: new BSD-licensed sort available

2012-03-15 Thread Lowell Gilbert
Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org writes: Oleg Moskalenko oleg.moskale...@citrix.com writes: There is no option -2 in the new BSD sort or in the GNU sort. There is no such option in Posix standard, too. What is this option about, do we need to add something ? No, clearly

Re: CFT: new BSD-licensed sort available

2012-03-15 Thread Lowell Gilbert
Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org writes: Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org writes: Oleg Moskalenko oleg.moskale...@citrix.com writes: There is no option -2 in the new BSD sort or in the GNU sort. There is no such option in Posix standard, too. What is

Re: CFT: new BSD-licensed sort available

2012-03-15 Thread Jos Backus
On Thu, Mar 15, 2012 at 4:27 PM, Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org wrote: Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org writes: Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org writes: Oleg Moskalenko oleg.moskale...@citrix.com writes: There is no option -2 in the

Re: CFT: new BSD-licensed sort available

2012-03-15 Thread Lowell Gilbert
Jos Backus j...@catnook.com writes: On Thu, Mar 15, 2012 at 4:27 PM, Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org wrote: Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org writes: Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org writes: Oleg Moskalenko oleg.moskale...@citrix.com

Re: CFT: new BSD-licensed sort available

2012-03-14 Thread Adrian Chadd
On 14 March 2012 08:59, Gabor Kovesdan ga...@freebsd.org wrote: some time ago I started writing a BSDL sort variant from scratch since the OpenBSD version did not support multibyte locales and was hard to modify. The development was a bit stalled but recently, Oleg Moskalenko

Re: CFT: new BSD-licensed sort available

2012-03-14 Thread Chad Perrin
On Wed, Mar 14, 2012 at 04:59:21PM +0100, Gabor Kovesdan wrote: some time ago I started writing a BSDL sort variant from scratch since the OpenBSD version did not support multibyte locales and was hard to modify. The development was a bit stalled but recently, Oleg Moskalenko

Re: CFT: new BSD-licensed sort available

2012-03-14 Thread Jonathan Anderson
On 14 Mar 2012, at 21:10, Adrian Chadd wrote: Hi, This makes me think of the whole debian-y way of replacing the mailer programs using some magic alias program. So you could intall gnusort, bsdsort, and then some config file would determine which was used. 'sort' would then be a

RE: CFT: new BSD-licensed sort available

2012-03-14 Thread Oleg Moskalenko
: Gabor Kovesdan; freebsd-curr...@freebsd.org; Oleg Moskalenko; freebsd-ports@freebsd.org Subject: Re: CFT: new BSD-licensed sort available On 14 Mar 2012, at 21:10, Adrian Chadd wrote: Hi, This makes me think of the whole debian-y way of replacing the mailer programs using some magic alias program

Re: CFT: new BSD-licensed sort available

2012-03-14 Thread Adrian Chadd
I must be thinking of our mailer trick then? I know i've seen it somewhere before. Alternatives sounds fun though? ADrian ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any