yum based install

Hugo van der Kooij hvdkooij at vanderkooij.org
Thu May 24 18:46:05 IST 2007


On Thu, 24 May 2007, Charles Lacroix wrote:

> On Thursday 24 May 2007 12:36, Julian Field wrote:
>> Scott Silva wrote:
>>> Hugo van der Kooij spake the following on 5/24/2007 3:16 AM:
>>>> Hi,
>>>>
>>>> It seems rpmforge will have (or does have by now ;-) a perl-Filesys-Df
>>>> package.
>>>>
>>>> So the only thing one would need to use yum to install MS would be a
>>>> repository with the mailscanner RPM in then for the usual distro's.
>>>>
>>>> There is an issue however that needs to be addressed in the MS rpm file
>>>> to make it work. There is no dependency for perl-Filesys-Df in the MS
>>>> RPM. I noticed the dependency only when I started MS that it needed
>>>> Filesys/Df.pm to run.
>>>>
>>>> I understand Julian is no fan of packagers adding MS to their
>>>> repositories. If keeping it up-to-date and getting some usage figures is
>>>> the main issue then I think it would be almost trivial to setup a
>>>> repository so yum can fetch MS from the right site and Julian will still
>>>> have an up-to-date repository and the download statistics.
>>>
>>> If Julian doesn't want the MailScanner rpm on a repo, you could always do
>>> a yum localinstall with proper repo info in place.
>>
>> Do I need to do anything to make yum installs work more easily?
>
> Basicly, you need to make sure your requirements are in the yum repository and
> yum does the rest :)

In effect you need to explicitly define perl-Filesys-Df a requirement in 
the spec file.

Then store the mailscanner rpm in the right web tree and setup the yum 
repository. For this I found the description on 
http://www.phy.duke.edu/~rgb/General/yum_article/yum_article/node14.html 
rather usefull.

As I think MailScanner will work with most distro's that use yum you could 
propably do with just one part instead of adding one per distro.

If you need any assistence I would be glad to lend a hand but you may want 
to do this off-list.

Hugo.

-- 
 	hvdkooij at vanderkooij.org	http://hugo.vanderkooij.org/
 	    This message is using 100% recycled electrons.

 	Some men see computers as they are and say "Windows"
 	I use computers with Linux and say "Why Windows?"
 		(Thanks JFK, for the insight.)


More information about the MailScanner mailing list