IGMPproxy is a simple dynamic Multicast Routing Daemon using only IGMP signalling (Internet Group Management Protocol). It's intended for simple forwarding of Multicast traffic between networks. (from http://sourceforge.net/projects/igmpproxy)
Created attachment 162018 [details] ebuild for version 0.1-beta2
Created attachment 162019 [details] init.d script
Created attachment 162020 [details] conf.d script
I caught two problems. At start igmpproxy prints its banner on stderr. This violates rule that program must be silent if all goes right. We cannot hide this annoying banner because stderr may be used for reporting errors. Straightforward solution: remove line 91 from src/igmpproxy.c. By default igmpproxy send all log messages (really many messages) to syslog, and they fall into /var/log/messages. I suggest two possible solutions: - Add einfo with advise for user to add filter for syslog to send igmpproxy's messages to separate file or to drop it. - Create patch which will fix inconvenient behavior.
Created attachment 165622 [details] igmpproxy-0.1_beta2.ebuild igmpproxy-0.1_beta2.ebuild
Created attachment 165624 [details, diff] igmpproxy-remove-banner.patch igmpproxy-remove-banner.patch
Created attachment 165625 [details] igmpproxy-init.d igmpproxy-init.d
Created attachment 165626 [details] igmpproxy-conf.d igmpproxy-conf.d
Here is a new version from me. There is the patch for removing the banner. So igmpproxy is starting silent. Also added a valid header for init.d and conf.d. And a postinstall info about loggin to syslog. Its imho better than a patch.
Created attachment 166759 [details] igmpproxy-0.1_beta2.ebuild
Created attachment 166895 [details] igmpproxy-init.d Added depend() Section in init.d script.
igmpproxy is now in the sunrise overlay. You can find it at: https://overlays.gentoo.org/svn/proj/sunrise/reviewed/net-misc/igmpproxy
Created attachment 174203 [details] Autotools-enabled version I've packaged igmpproxy with GNU autotools, which will allow for a better experience on Gentoo (CFLAGS, directory structure etc). Also, compile-time warnings are fixed. As the project is dead, this is not even a fork :)
Created attachment 174204 [details] My ebuild for the autotools-enabled version Probably the remove-banner patch should also be applied, and the init-script reviewed (my version differs slightly, as I started working on it before searching Bugzilla).
Created attachment 182819 [details] igmpproxy-9999.ebuild I have incorporated all modifications published here into the git repository. You can view it at http://const.mimas.ru/gitweb/?p=igmpproxy This is the ebuild for HEAD version.
(In reply to comment #15) > Created an attachment (id=182819) [edit] > igmpproxy-9999.ebuild > > I have incorporated all modifications published here into the git repository. > You can view it at http://const.mimas.ru/gitweb/?p=igmpproxy > > This is the ebuild for HEAD version. > Looks pretty nice. However, I suggest removing autotools-generated files from the live repository and just calling eautoreconf in the ebuild instead (through git bootstrap stage). Constantin, what about commit rights to the repo? ;)
Created attachment 186725 [details, diff] 0001-Improved-logging-and-a-command-line-option-to-set-th.patch (In reply to comment #15) > Created an attachment (id=182819) [edit] > igmpproxy-9999.ebuild > > I have incorporated all modifications published here into the git repository. > You can view it at http://const.mimas.ru/gitweb/?p=igmpproxy > > This is the ebuild for HEAD version. > Hey Constantin, first a big thanks to you! I made a tarball of commit 4c36c1ea8f9822f96031cff8f40ca3fc7cb93db3 and bumped igmpproxy in sunrise. Could you please take a look at my patch? It is attached and should improve the logging behavior. Its not properly tested but should work, maybe you want to use/commit it or even make some further improvements :P
Created attachment 187337 [details] igmpproxy-9999.ebuild New live ebuild reflecting latest igmpproxy updates: Logging was reworked -> einfo about log flood removed from ebuild. FreeBSD support was integrated -> add keyword ~x86-fbsd (tested on i686-gentoo-freebsd7.1).
Created attachment 187338 [details] igmpproxy.init init-script
Created attachment 187340 [details] igmpproxy.conf configuration file for init-script
Created attachment 190240 [details] 0.1_beta3 0.1_beta3 is released.
net-misc/igmpproxy is now in gentoo-x86. Thanks guys!