Re: rc.subr(8) capabilities - echo and custom rc_${SUB}

2014-04-27 Thread Stuart Henderson
On 2014-04-27, Michał Lesiak wrote: > Hi Ingo, > > On Sun, Apr 27, 2014 at 12:33 PM, Ingo Schwarze wrote: > >> That's not a good plan at all. Sometimes, new binaries work on >> old versions and vice versa, but in general, that's not the case. >> So if you ship packages for 5.2-stable (well, actu

Re: rc.subr(8) capabilities - echo and custom rc_${SUB}

2014-04-27 Thread Michał Lesiak
Hi Theo, On Sun, Apr 27, 2014 at 3:21 PM, Theo de Raadt wrote: > Huh? You've understood incorrectly. Each release of OpenBSD is ABI > incompatible > with the previous, or next. We make no promises about ABI. Making such > promises > would be incompatible with making progress. If you want

Re: rc.subr(8) capabilities - echo and custom rc_${SUB}

2014-04-27 Thread Theo de Raadt
>Ok, got it. My understanding was that binaries complied on older systems have a >better chance of running correctly on newer systems than the other way around. Huh? You've understood incorrectly. Each release of OpenBSD is ABI incompatible with the previous, or next. We make no promises about

Re: rc.subr(8) capabilities - echo and custom rc_${SUB}

2014-04-27 Thread Michał Lesiak
Hi Ingo, On Sun, Apr 27, 2014 at 12:33 PM, Ingo Schwarze wrote: > That's not a good plan at all. Sometimes, new binaries work on > old versions and vice versa, but in general, that's not the case. > So if you ship packages for 5.2-stable (well, actually, 5.2-obsolete), > you force your users to

Re: rc.subr(8) capabilities - echo and custom rc_${SUB}

2014-04-27 Thread Ingo Schwarze
Hi Michal, Michal Lesiak wrote on Sun, Apr 27, 2014 at 12:01:54PM +0200: > I know, but I'll never know what ancient versions my users will use, > so I'm using a (reasonably) old version to build the package and > compile stuff to retain some backwards-compatibility. That's not a good plan at all

Re: rc.subr(8) capabilities - echo and custom rc_${SUB}

2014-04-27 Thread Michał Lesiak
Hi Ingo, On Sun, Apr 27, 2014 at 1:30 AM, Ingo Schwarze wrote: > > > I'm working on 5.2 version. > > That's unsupported for nearly a year now. > Consider upgrading to 5.5 after May 1. I know, but I'll never know what ancient versions my users will use, so I'm using a (reasonably) old version to

Re: rc.subr(8) capabilities - echo and custom rc_${SUB}

2014-04-26 Thread Ingo Schwarze
Hi Michal, Michal Lesiak wrote on Sat, Apr 26, 2014 at 11:47:00PM +0200: > I'm converting a .rc script made by someone a coupe of years ago for > the same product I'm currently working on. It's important for this > tale as this may mean that this actually worked for some previous > versions. > I'

Re: rc.subr(8) capabilities - echo and custom rc_${SUB}

2014-04-26 Thread Antoine Jacoutot
On Sat, Apr 26, 2014 at 11:47:00PM +0200, Michał Lesiak wrote: > Hello, > > I'm converting a .rc script made by someone a coupe of years ago for the > same product I'm currently working on. It's important for this tale as this > may mean that this actually worked for some previous versions. > I'm

rc.subr(8) capabilities - echo and custom rc_${SUB}

2014-04-26 Thread Michał Lesiak
Hello, I'm converting a .rc script made by someone a coupe of years ago for the same product I'm currently working on. It's important for this tale as this may mean that this actually worked for some previous versions. I'm working on 5.2 version. 1. I have a custom "rc_register()" sub defined