Re: Is there a clean way for waf to test for the distro?

2020-02-22 Thread Richard Laager via devel
On 2/22/20 6:15 PM, Hal Murray via devel wrote: > Context is the seccomp tangle. Issue #633 > > Should I just add a helper that looks in /etc/os-release? Are you really, absolutely, positively sure that you can't check for the feature itself directly. If you start going down the distro-checking

Re: ntpsec | Add dextral mode and srchost variable use options and better column autowidth. (!1033)

2020-02-22 Thread Richard Laager via devel
On 2/22/20 8:57 PM, James Browning via devel wrote: >> Looks like the second test is backwards. It's printing the message on a >> system where pipefail works. >> >> if (set -o pipefail) 2>/dev/null >> then >> echo "### Old sh - no pipefail" >> echo "### We can't test for errors during build" >

Re: ntpsec | Add dextral mode and srchost variable use options and better column autowidth. (!1033)

2020-02-22 Thread James Browning via devel
On Sat, Feb 22, 2020, at 6:40 PM Hal Murray wrote: > > Looks like the second test is backwards. It's printing the message on a > system where pipefail works. > > if (set -o pipefail) 2>/dev/null > then > echo "### Old sh - no pipefail" > echo "### We can't test for errors during build" > ec

Re: Is there a clean way for waf to test for the distro?

2020-02-22 Thread Hal Murray via devel
> lsb_release -a might be useful here. Thanks. Interesting, but the system I'm interested in doesn't have it in the default package collection. I don't think I'll go down that rathole unless waf already knows how to use it and that just pushes the problem over to buildprep. -- These are m

Re: Is there a clean way for waf to test for the distro?

2020-02-22 Thread Eric S. Raymond via devel
Hal Murray via devel : > > Context is the seccomp tangle. Issue #633 > > Should I just add a helper that looks in /etc/os-release? lsb_release -a might be useful here. -- http://www.catb.org/~esr/";>Eric S. Raymond ___ devel mailin

Is there a clean way for waf to test for the distro?

2020-02-22 Thread Hal Murray via devel
Context is the seccomp tangle. Issue #633 Should I just add a helper that looks in /etc/os-release? -- These are my opinions. I hate spam. ___ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel