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 simpli

Re: CFT: new BSD-licensed sort available

2012-03-18 Thread Gabor Kovesdan
On 2012.03.14. 19:01, Mark Felder wrote: Would it be appropriate to perhaps have a port option to OVERWRITE_BASE and then people could just install that port, build world and kernel... build a ton of ports. See if anything that might possibly use it breaks? Yes, I'm working on the update and i

Re: CFT: new BSD-licensed sort available

2012-03-18 Thread Eitan Adler
On Wed, Mar 14, 2012 at 11:59 AM, 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 > showed i

Re: CFT: new BSD-licensed sort available

2012-03-17 Thread Adrian Chadd
On 17 March 2012 17:15, Doug Barton 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 much. The shared roo

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 conf

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
-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 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

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-syst

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 tha

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 runti

Re: CFT: new BSD-licensed sort available

2012-03-15 Thread Adrian Chadd
On 14 March 2012 19:32, Mark Felder wrote: > I've seen several discussions on the bsd lists with everyone against the > debian alternatives way. I don't know the history but I don't think it has > much support. I assume it has to do with binaries passing through /etc via > symlinks. I don't perso

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 showed interest in continuing thi

RE: CFT: new BSD-licensed sort available

2012-03-14 Thread Oleg Moskalenko
add Cc: Gabor Kovesdan; freebsd-current@freebsd.org; Oleg Moskalenko; freebsd-po...@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 p

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

Re: CFT: new BSD-licensed sort available

2012-03-14 Thread Mark Felder
On Wed, 14 Mar 2012 20:26:23 -0500, Adrian Chadd wrote: I must be thinking of our mailer trick then? I know i've seen it somewhere before. Alternatives sounds fun though? I've seen several discussions on the bsd lists with everyone against the debian alternatives way. I don't know the

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-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any

Re: CFT: new BSD-licensed sort available

2012-03-14 Thread Adrian Chadd
On 14 March 2012 08:59, 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 > showed interest in continuing

Re: CFT: new BSD-licensed sort available

2012-03-14 Thread Mark Felder
Would it be appropriate to perhaps have a port option to OVERWRITE_BASE and then people could just install that port, build world and kernel... build a ton of ports. See if anything that might possibly use it breaks? ___ freebsd-current@freebsd.org m

CFT: new BSD-licensed sort available

2012-03-14 Thread Gabor Kovesdan
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 showed interest in continuing this version and he has made a very goo