From: Cedric Veilleux (cveilleux_at_videotron.ca)
Date: Sun 24 Mar 2002 - 07:22:14 GMT
I would like to use vsersvers on a Gentoo linux system. Gentoo linux is a
remarkably clean and easy to maintain source distro. The Gentoo package
system (portage) keeps lists of installed files for each packages. The format
is the following:
--- $ cat /var/db/pkg/net-mail/qmail-1.03-r7/CONTENTS dir /var dir /var/qmail dir /var/qmail/bin obj /var/qmail/bin/qmail-queue 070C8E96438FFA9F45E04DECF4E6A76B 1015772773 obj /var/qmail/bin/qmail-lspawn BF64FC5258A1C18832B72FC2BD9B9CCB 1015772773 [...] ---
As you can see, configuration files are not distinguished from other files. Although, a list of directories containing configuration files is maintained. On my workstation, this list looks like:
-- /etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config [...] --
I know the "vbuild" program relies on rpm's to get the list of files. I am not familiar with rpm's nor vservers (yet), so forgive me if I am mistaken. So the vbuild program is the one I should modify to make it use gentoo's portage system to get the list of installed packages and their files, right?
Any advice on this subject is of course very appreciated.