Summary: | ports-mgmt/pkg plugins: configuration settings not provided due to missing object allocation | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Markus Stoff <markus> |
Component: | Ports Framework | Assignee: | freebsd-pkg (Nobody) <pkg> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | markus, pkg, ports-bugs |
Priority: | --- | Flags: | linimon:
maintainer-feedback?
(pkg) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
Attachments: |
Created attachment 215228 [details]
Suggested fix for libpkg/plugins.c
Created attachment 215229 [details] Updated examples in pkg-plugins repository Diff is based on github repo at https://github.com/freebsd/pkg-plugins/ Fix up assignment. fwiw Ports Infrastructure is, and only is, about the *.FreeBSD.org package building machines. Created attachment 215243 [details] Updated examples in pkg-plugins repository Based on: https://github.com/freebsd/pkg-plugins/ |
Created attachment 215227 [details] Suggested fix for libpkg/plugins.c and updated examples Due to a missing allocation of the UCL base object the configuration is parsed but not provided to the plugin. See 'pkg.diff' in the attached archive for a suggested fix of libpkg/plugins.c. Also the examples in the 'pkg-plugins' repository are severely outdated. Please see the other diff on some improvements, notably of the template and the zfssnap plugins.