On Mon, Apr 12, 2021 at 11:34:11AM +0200, Adriaan de Groot wrote: > As prep-work for CMake updates I locally "exp-run" all the ports that use > CMake. I use poudriere for this, with the `-t` flag to test each port. > > dns/knot-resolver fails to package like that, with this error: > > =======================<phase: package >============================ > ===> Building package for knot-resolver-5.3.0 > @sample with 1 single argument expect ".sample" extension > pkg-static: Fail to apply keyword 'sample' > *** Error code 1 > > > The same failure occurs on the build cluster. I checked the porter's handbook > and it describes 1- and 2-argument forms of @sample, but neither seemed > applicable here without digging into the port itself to rename the installed > configuration file. What's the right approach here? > > (CC'ed maintainer and last committer; I'm going to locally stop building this > one in preparation of a CMake update)
This makes me happy to have implemented this prepacking tests in pkg for keywords. The port is clearly buggy here, the right approach is to move the %%ETCDIR%%/kresd.conf into %%ETCDIR%%/kresd.conf.sample in the post-install And change the plist Best regards, Bapt _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"