Thanks for your suggestions, @
zirias@. I've tried a couple things, but the
meta/+MANIFEST file is just plain text with leading keywords, not actual UCL syntax:
Code:
name: foobar
version: "1.0.0"
origin: my-pkgs/foobar
...
Your suggestion got me started on experimenting with how to either stuff UCL into that format (and if so, using what "tag" name); and also examining the
pkg(8)
source to see which sources
pkg create
is capable of pulling that information from, and in what format(s).
But taking a step back, yes, I generally create packages which either deal with non-binary files, such as installing a script in
/root/bin and a
cron
job in
/etc/cron.d that runs said script at prescribed times; or occasionally (rarely), I build and package tools for a software version for which the FreeBSD repo does not (yet) have a package, as when package of
foobar
version 1.4.X has a vulnerability, but the FreeBSD pkg repo does not yet have a package for version 1.4.$((X+1)) . Then when the Poudriere build machine does catch up, I generally delete my local package in favor of the standard FreeBSD pkg.
Perhaps one of the handiest of the ".cfg"-modifying scripts I've made is a group of modular enhancements to
sshd(8)
, employing files in
/etc/sshd_config.d/ and
.../ssh_config.d/ and an
AuthorizedKeysCommand
script which supports searching
/etc/ssh/authorized_keys.d/%u/*.conf and
~%u/.ssh/authorized_keys.d/*.conf for public keys which authorize access for user
%u.
So yes, not a lot of binaries involved. Yet.