From: Bruno C. <Bru...@hp...> - 2007-11-20 15:23:43
|
Bryan Gartner said on Tue, Nov 20, 2007 at 07:45:30AM -0700: > > Ok, I did the perl modules, and also mkisofs and sendmail which may not > > be in a VM either. (The rest is really part of core distros). > > Excellent, thanks! And I am hoping you have added all of these > as RPM dependencies, since you have now effectively disabled the > checks. yes, for the moment I have: $ grep Requires pbconf/linuxcoe-sd-base/rpm/linuxcoe-sd-base.spec Requires: php >= 4.0.4, perl, sudo, PBDEP $ pbg PBDEP | grep = [...] ./pbconf/linuxcoe-sd-base/pbfilter/rpm.pbf:filter PBDEP = httpd, mkisofs ./pbconf/linuxcoe-sd-base/pbfilter/md.pbf:filter PBDEP = apache, cdrkit-genisoimage I need to re-intriduce a dependency on perl-CGI, when that package exist separately and is needed. Later :-( > We may also need to revisit this issue with the post-install > script, to repopulate some values on the target install system. > > I've now been able to generate RPMs for quite a lot of distro. The only > > one for which I have a pb I need to see is fedora 7 (my VM may have > > something wrong BTW, need to check). > > > > Could some of you please check whether it works also for them ? (I know > > that the removal of packages needs more work, again more on that later > > on). Well I found an interesting issue on RHEL 4 for which I'm doing some tests for my training. The tool in charge of computing dependencies for perl as a bug ;-) When it encounter that pattern: '^[ \t]*use' it thinks this is a perl require, even if it's in a printf :-( So my last commit 'fixes' 2 messages which created false dependencies on "it" and "the" !! > If I install, say linuxcoe-sd-data-opensuse*, I should get > linuxcoe-sd-base due to a dependency, correct? Yep: $ grep Requires pbconf/linuxcoe-sd-data-opensuse/rpm/linuxcoe-sd-data-opensuse.spec Requires: linuxcoe-sd-base, PBDEP > > Next step is to produce .deb packages, but may be later in December, as > > I need now to work on a LinuxCOE training with my packages ;-) > > I will be doing a couple of tweaks to the debian packaging (and will > do my best to migrate those updates to the pbuilder equivalents). Ok, feel free to ask help for that. I've documented how to use pb at http://trac.project-builder.org/wiki/NetPerfExample I do not have pb packages for deb based distro yet :-( Also for pb to work you need a patch to AppConfig. > And I will be starting on my prep to deliver MondoRescue training > in early December. he he !! > BTW, I have gotten OCSinventory/OpenVAS/OpenNMS up and running > as well. Since the first two (at least) are likely candidates > for dploy.org, we may want to help them out with some packaging > as well. Good stuff. Packages exist for OCS for Mandriva, and from the person who did it, it was a sort of nightmare :-( They do not seem to be good at separating stuff, so packaging is much more complex. But at least I can derive easily a .spec for it. Greetings, Bruno. -- Linux Profession Lead EMEA / Open Source Evangelist \ HP C&I EMEA IET http://www.mondorescue.org / HP/Intel Solution Center \ http://hpintelco.net Des infos sur Linux? http://www.HyPer-Linux.org http://www.hp.com/linux La musique ancienne? http://www.musique-ancienne.org http://www.medieval.org |