Hi, I've written some patches for the ports infrastructure importing the fakeroot implementation from midnightbsd ports.
In my first implementation the fake directory was enabled by default, no ports had to be modified to support it. My second implementation added a knob to add to make.conf (USE_FAKE) to enable it for people wanting it and want to tested. still no ports to be modified (except perhaps some buggy one) Now the patches are quite old (they won't apply cleanly) so I'm on updating it again. Before rewriting it, I think it is a better idea to first discuss about it, to improve it, see if there are interests, etc. So basically here is what is done and how it works. the changes are only in the infrastructure not in ports themselves (except that some will be able to benefit some cleanup) do-fake (with post and pre) replaces do-install (pre/post) it creates a $WRKSRC/fakeroot where the binaries are copied by the ports (during the do-install of the port) then do-package create a package using pkg-plist (or the generated one) using the binary in fakeroot. do-install (ie make install) now only does a pkg_add of the created pkg. What is the interest of that : the installed files will now always respects the pkg-plist which simplify the QA work. the developpers will have to focus on the pkg-plist to choose which file will be installed according to the desired KNOBS/OPTIONS : no more ugly hack to respect NOPORTDOCS and NOPORTDATA for example. certainly a lot more that i don't see now. what could be seen in the future is an equivalent of the update-plist target of openbsd ports infrastructure. it will easier implementation of multipackage ports (if ever wanted :)), one port with multiple pkg-plist. the discussion is open :) here is the PR concerned : http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/133815 regards, Bapt _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"