FreeBSD 8.0 has the security problem. but, Gentoo/FreeBSD doesn't solve it. I thought patches were put on ${FILESDIR} first. However, I thought that it was a failure. because two or more packages use the same source file. Instead, I propose an automatic patch approach by the patchset and eclass. Thanks in advance. Reproducible: Always
Created attachment 269129 [details, diff] patch for freebsd.eclass eclass/freebsd.eclass added function to apply official patches by automatic operation
Created attachment 269131 [details, diff] patch for sys-freebsd/freebsd*-8.0.ebuild
Created attachment 269133 [details] freebsd-patches-8.0-p6.tar.bz2 FreeBSD 8.0 p6 patchset
Created attachment 269135 [details] make_patches.sh Sample script to make patchset.
good idea but imho: - the SRC_URI stuff shouldnt be duplicated in ebuilds but put into the eclass - dont you have a better way to generate the patches than diff'ing the whole tree ? (eg fetching the actual patches...) - epatch can accept a "directory" and iterate over it; patches are generally named ala "010_all_name.patch" so you probably dont need to iterate manually
Add new function, freebsd_upstream_patches to freebsd.eclass. https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/121