[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

using rpm to simply install files



I am wanting to organize all my kickstart %post shell scripts into an RPM 
format instead.

One script installs oinkmaster (perl program that checks for snort rule 
updates). I am looking for an example on how to do this as the rpm.org 
docs and info I have been reading only say i need to make an installer 
script if the program doesnt have one. 

Are there any RPMs that do this so I can have an example to work from? Or 
can anyone show me what is needed in the %install section to make this 
work?

Example file listing from Oinkmaster:

oinkmaster-0.8/ChangeLog
oinkmaster-0.8/oinkmaster.pl
oinkmaster-0.8/UPGRADING
oinkmaster-0.8/README
oinkmaster-0.8/README.win32
oinkmaster-0.8/LICENSE
oinkmaster-0.8/INSTALL
oinkmaster-0.8/oinkmaster.conf
oinkmaster-0.8/contrib
oinkmaster-0.8/contrib/create-sidmap.pl
oinkmaster-0.8/contrib/addsid.pl
oinkmaster-0.8/contrib/makesidex.pl
oinkmaster-0.8/contrib/addmsg.pl
oinkmaster-0.8/contrib/README.contrib

I want the files to be put into
/usr/local/oinkmaster

thanks,

Greg




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]