Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 494098

Summary: net-misc/igmpproxy-0.1 - allow using 0.0.0.0/0 subnet in a config as an altnet parameter
Product: Gentoo Linux Reporter: MageSlayer <denisgolovan>
Component: [OLD] ServerAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED UPSTREAM    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: igmpproxy-0.1-r2.ebuild
altnet-zero.patch
igmpproxy-0.1-r2.ebuild

Description MageSlayer 2013-12-12 21:12:17 UTC
Hi

I'd like to submit an ebuild changes to include an useful patch.
It allows to use 0.0.0.0/0 subnet in a config as a altnet parameter.

See http://www.ps-ax.ru/2013/10/31/%D0%BF%D0%B0%D1%82%D1%87-%D0%B4%D0%BB%D1%8F-igmpproxy/ for details. Sorry for Russian though...

BR
Comment 1 MageSlayer 2013-12-12 21:13:14 UTC
Created attachment 365182 [details]
igmpproxy-0.1-r2.ebuild
Comment 2 MageSlayer 2013-12-12 21:13:37 UTC
Created attachment 365184 [details, diff]
altnet-zero.patch
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-13 14:56:10 UTC
Comment on attachment 365182 [details]
igmpproxy-0.1-r2.ebuild

--- igmpproxy-0.1-r1.ebuild     2013-11-28 18:38:30.209808458 +0100
+++ -   2013-12-13 15:54:57.594104303 +0100
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/igmpproxy/igmpproxy-0.1-r1.ebuild,v 1.3 2013/11/26 22:14:40 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/igmpproxy/igmpproxy-0.1-r1.ebuild,v 1.2 2013/10/19 21:03:08 pacho Exp $
 
 EAPI=5
 inherit linux-info systemd
@@ -11,11 +11,17 @@
 
 LICENSE="GPL-2 Stanford"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~x86"
 IUSE=""
 
 CONFIG_CHECK="~IP_MULTICAST ~IP_MROUTE"
 
+src_unpack() {
+    unpack ${A}
+    cd "${S}"
+    epatch "${FILESDIR}"/altnet-zero.patch
+}
+
 src_install() {
        emake DESTDIR="${D}" install
 


You should use src_prepare() for patching with EAPI>=2.
Comment 4 MageSlayer 2014-01-15 23:20:32 UTC
Created attachment 367920 [details]
igmpproxy-0.1-r2.ebuild
Comment 5 Christian Ruppert (idl0r) gentoo-dev 2014-02-22 14:01:42 UTC
Re-assign to maintainer-needed since I no longer use/maintain igmpproxy.
Comment 6 SpanKY gentoo-dev 2018-01-16 02:07:19 UTC
please send to upstream's github repo instead:
  https://github.com/pali/igmpproxy