Date: Thu, 19 Jan 2012 08:00:48 +0100 From: vermaden <vermaden@interia.pl> To: freebsd-hackers@freebsd.org Subject: FreeBSD has serious problems with focus, longevity, and lifecycle Message-ID: <jcmlctthomijzcvyfyst@aytd> In-Reply-To: <hspnzfadjueiouakcbby@isuh> References: <iwnlzjkfomlarmtwnxdp@dbyr> <hspnzfadjueiouakcbby@isuh>
next in thread | previous in thread | raw e-mail | index | archive | help
A simple sollution (at least for a start), for backporting various bugfixes from STABLE to RELEASE. Currently we have /var/db/pkg 'db' for installed ports, where an installed port is like /var/db/pkg/portname-1.0 lets provide another one, /var/db/patch, a separated 'repository' that would list installed patches/backports from STABLE to RELEASE, for example: # pkg_info aspell-0.60.6.1 Spelling checker with better suggestion logic than ispell automake-1.11.1 GNU Standards-compliant Makefile generator (1.11) binutils-2.22 GNU binary tools bison-2.4.3,1 A parser generator from FSF, (mostly) compatible with Yacc blogbench-1.1 Performance Test of Filesystem I/O (...) # patch_into network-intel_drivers-em-1.0 Some fancy descritpion here usb-hubfix-3.0 Some other fancy descritpion Similar for patch_add(1)/patch_delete(1) etc. LOGIC/THEORY: Adding a PATCH network-intel_drivers-em-1.0 would first move all files that will be overwritten to /var/db/patch/files, for example /boot/kernel/if_em.ko to /var/db/patch/files/network-intel_drivers-em-1.0/boot/kernel/if_em.ko and then install the new backported/updatet files into the base system or should I say RELEASE. The only other thing needed to do is to make freebsd-update AWARE of the files that are under /var/db/patch/files/*/ to omit them when checking the checksums for updating process. I will not write that as I only know basics of C programming and creating this in SH and then porting it to C seems useless efort to me. Regards, vermaden
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?jcmlctthomijzcvyfyst>