troglobit / pimd

PIM-SM/SSM multicast routing for UNIX and Linux
http://troglobit.com/projects/pimd/
BSD 3-Clause "New" or "Revised" License
197 stars 87 forks source link

Providing RedHat stuff for this project #28

Closed timeos closed 9 years ago

timeos commented 10 years ago

Hello,

I am big fan of this multicast daemon for several years. Recently I found this successor on git hub with lot of new features (including igmpv3) and so on, so I am very happy that this project still lives in community (and thanks for your work!) :)

I am using it on RH platforms for years and now I have tried to rebuild pimd with your sourcetree (and I did it without any problems). I also wanted to help to improve this project so I am providing RPM SPEC file and initscript for this daemon which are compatible with RedHat-like systems (RHEL, Centos, fedora) so this software can be simply deployed on another platforms. If you are interesting in those files, here are available:

init script - http://pastebin.com/vrefXZe6 rpm spec file - http://pastebin.com/d9Y5VhFW

feel free to use/modify it.

thank you

michal

troglobit commented 10 years ago

Great stuff! :)

Where do you put these files, in the root of the tree? (Debian/Ubuntu has a bunch of files in the debian/ subdirectory...) -- are there any more files necessary to make .rpm happy?

timeos commented 10 years ago

it does not matter where exactly those files will be putted. both of them must be moved in corresponding rpm-build directories on building system (standardly ~/rpmbuild/SPECS for spec files and ~/rpmbuild/SOURCES for init script). you can simply create "contrib/redhat" or just "redhat"directories and put both files there.

timeos commented 10 years ago

are there any more files necessary to make .rpm happy?

no more files needed :)

troglobit commented 9 years ago

Well, of course I was far too slow (life/work etc) to extract these file, and now the files are lost! :-((

If at all possible, could you please upload them again?

Or, could it be that I can use these --> http://git.pld-linux.org/?p=packages/pimd.git;a=tree :-)

timeos commented 9 years ago

Hello, yes, pimd.init. can be used from your link. for SPEC file, you can use this one: http://pastebin.com/2R9ftQrs file on your link I have never tested. michal

troglobit commented 9 years ago

I hope this is OK. Only changed the name of the .init file in the .spec file.