pkgutils: deprecate perverse configurations #5
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As illustrated by Vitaly in August 2016, the current documentation does not warn users against clever definitions of PKGMK_PACKAGE_DIR or PKGMK_SOURCE_DIR. Some clever configurations are perfectly compatible with running pkgmk and pkgadd manually, but they break when the process is orchestrated by prt-get.
Attached is a patch that expands Pkgfile(5) and pkgmk.conf(5) to address Vitaly's report. Also included in the patch are some formatting fixes, and a section on the simple overlay proposal (#4).
Heh, I needed to do sed -e "s,/usr/sources,/var/work/sources," on that patch. Looks like I went back and got ppetrov^s actual configuration after trying to reconstruct the example from memory, but only replaced the first of two appearances.
The original patch needed cleanup in other places, too. Rather than clutter this issue with more attachments and comments, I created a fork of tools/pkgutils and pushed a commit there. If I find more typos, I'll keep the forked repository updated.