Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233738 - net-misc/igmpproxy (new package)
Summary: net-misc/igmpproxy (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-02 19:23 UTC by Ivan Mironov
Modified: 2017-12-24 19:04 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for version 0.1-beta2 (igmpproxy-0.1_beta2.ebuild,894 bytes, text/plain)
2008-08-02 19:24 UTC, Ivan Mironov
Details
init.d script (igmpproxy-init.d,253 bytes, text/plain)
2008-08-02 19:24 UTC, Ivan Mironov
Details
conf.d script (igmpproxy-conf.d,40 bytes, text/plain)
2008-08-02 19:25 UTC, Ivan Mironov
Details
igmpproxy-0.1_beta2.ebuild (igmpproxy-0.1_beta2.ebuild,1.16 KB, text/plain)
2008-09-17 09:20 UTC, Conrad Kostecki
Details
igmpproxy-remove-banner.patch (igmpproxy-remove-banner.patch,419 bytes, patch)
2008-09-17 09:21 UTC, Conrad Kostecki
Details | Diff
igmpproxy-init.d (igmpproxy-init.d,373 bytes, text/plain)
2008-09-17 09:21 UTC, Conrad Kostecki
Details
igmpproxy-conf.d (igmpproxy-conf.d,96 bytes, text/plain)
2008-09-17 09:21 UTC, Conrad Kostecki
Details
igmpproxy-0.1_beta2.ebuild (igmpproxy-0.1_beta2.ebuild,1.01 KB, text/plain)
2008-09-29 15:21 UTC, Christian Ruppert (idl0r)
Details
igmpproxy-init.d (igmpproxy-init.d,412 bytes, text/plain)
2008-10-01 10:08 UTC, Conrad Kostecki
Details
Autotools-enabled version (igmpproxy-0.1-beta2.tar.gz,111.75 KB, application/octet-stream)
2008-12-03 23:29 UTC, Alexey Charkov
Details
My ebuild for the autotools-enabled version (igmpproxy-0.1_beta2.ebuild,647 bytes, text/plain)
2008-12-03 23:39 UTC, Alexey Charkov
Details
igmpproxy-9999.ebuild (igmpproxy-9999.ebuild,711 bytes, text/plain)
2009-02-22 21:59 UTC, Constantin Baranov
Details
0001-Improved-logging-and-a-command-line-option-to-set-th.patch (0001-Improved-logging-and-a-command-line-option-to-set-th.patch,2.55 KB, patch)
2009-03-30 08:40 UTC, Christian Ruppert (idl0r)
Details | Diff
igmpproxy-9999.ebuild (igmpproxy-9999.ebuild,575 bytes, text/plain)
2009-04-05 00:25 UTC, Constantin Baranov
Details
igmpproxy.init (igmpproxy.init,503 bytes, text/plain)
2009-04-05 00:26 UTC, Constantin Baranov
Details
igmpproxy.conf (igmpproxy.conf,190 bytes, text/plain)
2009-04-05 00:27 UTC, Constantin Baranov
Details
0.1_beta3 (igmpproxy-0.1_beta3.ebuild,536 bytes, text/plain)
2009-05-03 18:40 UTC, Constantin Baranov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Mironov 2008-08-02 19:23:23 UTC
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)
Comment 1 Ivan Mironov 2008-08-02 19:24:21 UTC
Created attachment 162018 [details]
ebuild for version 0.1-beta2
Comment 2 Ivan Mironov 2008-08-02 19:24:50 UTC
Created attachment 162019 [details]
init.d script
Comment 3 Ivan Mironov 2008-08-02 19:25:55 UTC
Created attachment 162020 [details]
conf.d script
Comment 4 Constantin Baranov 2008-09-07 21:07:40 UTC
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.
Comment 5 Conrad Kostecki gentoo-dev 2008-09-17 09:20:55 UTC
Created attachment 165622 [details]
igmpproxy-0.1_beta2.ebuild

igmpproxy-0.1_beta2.ebuild
Comment 6 Conrad Kostecki gentoo-dev 2008-09-17 09:21:22 UTC
Created attachment 165624 [details, diff]
igmpproxy-remove-banner.patch

igmpproxy-remove-banner.patch
Comment 7 Conrad Kostecki gentoo-dev 2008-09-17 09:21:39 UTC
Created attachment 165625 [details]
igmpproxy-init.d

igmpproxy-init.d
Comment 8 Conrad Kostecki gentoo-dev 2008-09-17 09:21:57 UTC
Created attachment 165626 [details]
igmpproxy-conf.d

igmpproxy-conf.d
Comment 9 Conrad Kostecki gentoo-dev 2008-09-17 09:23:26 UTC
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.
Comment 10 Christian Ruppert (idl0r) gentoo-dev 2008-09-29 15:21:36 UTC
Created attachment 166759 [details]
igmpproxy-0.1_beta2.ebuild
Comment 11 Conrad Kostecki gentoo-dev 2008-10-01 10:08:56 UTC
Created attachment 166895 [details]
igmpproxy-init.d

Added depend() Section in init.d script.
Comment 12 Christian Ruppert (idl0r) gentoo-dev 2008-10-05 11:05:20 UTC
igmpproxy is now in the sunrise overlay. You can find it at:
https://overlays.gentoo.org/svn/proj/sunrise/reviewed/net-misc/igmpproxy
Comment 13 Alexey Charkov 2008-12-03 23:29:59 UTC
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 :)
Comment 14 Alexey Charkov 2008-12-03 23:39:31 UTC
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).
Comment 15 Constantin Baranov 2009-02-22 21:59:48 UTC
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.
Comment 16 Alexey Charkov 2009-02-23 13:53:52 UTC
(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? ;)
Comment 17 Christian Ruppert (idl0r) gentoo-dev 2009-03-30 08:40:06 UTC
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
Comment 18 Constantin Baranov 2009-04-05 00:25:45 UTC
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).
Comment 19 Constantin Baranov 2009-04-05 00:26:44 UTC
Created attachment 187338 [details]
igmpproxy.init

init-script
Comment 20 Constantin Baranov 2009-04-05 00:27:32 UTC
Created attachment 187340 [details]
igmpproxy.conf

configuration file for init-script
Comment 21 Constantin Baranov 2009-05-03 18:40:31 UTC
Created attachment 190240 [details]
0.1_beta3

0.1_beta3 is released.
Comment 22 Christian Ruppert (idl0r) gentoo-dev 2009-05-03 20:08:25 UTC
net-misc/igmpproxy is now in gentoo-x86.
Thanks guys!