I've been using the SRPM files from Fedora to build my own distribution. It is a fairly simple matter to edit the specfile to create an rpm file that uses directory structures and user/groups that you want. Here's a trail head tutorial to get you started.

https://wiki.centos.org/HowTos/RebuildSRPM

I've scripted this process to make it repeatable. That includes presetting the rpm shell environment variables appropriately. It is a bit more work but you do get the installation you want. I've done this to produce a clamav installation that is compatible with my entire sendmail/milter messaging configuration.

The process applies to any Redhat derivative including Oracle's versions. It also applies to pretty much every package on the EPEL site. It's not a bad skill to own because it allows you to create local repositories that are finessed to support your enterprise and makes it possible to update products long before the repositories get around to it (Fedora EPEL, for example).

dp

On 1/15/16 1:49 PM, Peter Bonivart wrote:
On Fri, Jan 15, 2016 at 10:33 PM, Walter H. <walte...@mathemainzel.info> wrote:
that sounds quite surprising to me; as I did this with the EPEL repository
but with CentOS 6
and had no problems;
Even though it's the same guy packaging ClamAV for both CentOS 6 & 7
he's gone crazy splitting it for 7 and it's not a good experience
using it anymore.
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to