Re: Quick fun question: only set an rc.d variable sometimes?

2021-09-28 Thread Miroslav Lachman
On 28/09/2021 05:23, Dan Mahoney (Gushi) wrote: Hey all, I'm dealing with rc.d scripting and reading https://docs.freebsd.org/en/articles/rc-scripting/ Here's my question: Is there a sane way to have something like foo_pid *completely unset* in one case, but overridable by rc.conf after? I

Re: Quick fun question: only set an rc.d variable sometimes?

2021-09-28 Thread Dan Mahoney
Miroslav, Thanks much for this! Some of this would be useful additions/further-reading to the handbook page I originally quoted. I'm happy to prepare a diff, if there's reasonable chance it would be accepted. -Dan > On Sep 28, 2021, at 4:59 AM, Miroslav Lachman <000.f...@quip.cz> wrote: > >

Re: I get odd time reports from poudriere on armv7 system, under a (non-debug) main [so: 14] FreeBSD.

2021-09-28 Thread Bryan Drewery
On 9/26/2021 11:05 PM, Mark Millard wrote: > On 2021-Sep-26, at 10:02, Ian Lepore wrote: > >> On Sun, 2021-09-26 at 02:27 -0700, Mark Millard via freebsd-current >> wrote: >>> On 2021-Sep-25, at 23:25, Mark Millard wrote: >>> >>> >>> [...] >>> if (argc == 3 && strcmp(argv[2], "-nsec") ==

pytest ffi failure with a new port

2021-09-28 Thread Evgeniy Khramtsov via FreeBSD-ports
Hi. I am trying to get Wayland backend for x11-wm/qtile running, which requires three new dependencies: https://codeberg.org/ei/ports/commits/branch/qtile I want to use tests/ in ports (i.e. x11/py-xkbcommon), so I added: +do-test: + @cd ${WRKSRC}/tests && ${PYTHON_CMD} -m pytest -v -rs +

Re: Quick fun question: only set an rc.d variable sometimes?

2021-09-28 Thread Tatsuki Makino
The rcscript is a /bin/sh script first, so all of Miroslav's replies are written in man sh. However, the following differences > : ${dummy_enable:=no} > : ${dummy_msg="Nothing started."} are only mentioned in manpage > In the parameter expansions shown previously, use of the colon in the >

Re: pytest ffi failure with a new port

2021-09-28 Thread Kubilay Kocak
On 29/09/2021 7:38 am, Evgeniy Khramtsov via FreeBSD-ports wrote: Hi. I am trying to get Wayland backend for x11-wm/qtile running, which requires three new dependencies: https://codeberg.org/ei/ports/commits/branch/qtile I want to use tests/ in ports (i.e. x11/py-xkbcommon), so I added: +do-t