[PATCH] igmpproxy: fix build fail and move binary to /usr/sbin

Marcel Lorenz marcel.lorenz at ipfire.org
Wed Jun 1 07:33:52 CEST 2016


Signed-off-by: Marcel Lorenz <marcel.lorenz at ipfire.org>
---
 config/rootfiles/packages/igmpproxy | 2 +-
 lfs/igmpproxy                       | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/config/rootfiles/packages/igmpproxy b/config/rootfiles/packages/igmpproxy
index 1b34521..dda6dce 100644
--- a/config/rootfiles/packages/igmpproxy
+++ b/config/rootfiles/packages/igmpproxy
@@ -1,5 +1,5 @@
 etc/igmpproxy.conf
-usr/local/sbin/igmpproxy
 #usr/local/share/man/man5/igmpproxy.conf.5
 #usr/local/share/man/man8/igmpproxy.8
+usr/sbin/igmpproxy
 var/ipfire/backup/addons/includes/igmpproxy
diff --git a/lfs/igmpproxy b/lfs/igmpproxy
index fb1426f..256022c 100644
--- a/lfs/igmpproxy
+++ b/lfs/igmpproxy
@@ -82,11 +82,12 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	cd $(DIR_APP) && patch -Np1  < $(DIR_SRC)/src/patches/igmpproxy-003-Restrict-igmp-reports-for-downstream-interfaces-wrt-.patch
 	cd $(DIR_APP) && patch -Np1  < $(DIR_SRC)/src/patches/igmpproxy-004-Restrict-igmp-reports-forwarding-to-upstream-interfa.patch
 	cd $(DIR_APP) && patch -Np1  < $(DIR_SRC)/src/patches/igmpproxy-100-use-monotic-clock-instead-of-time-of-day.patch
-	cd $(DIR_APP) && autoreconf
+	cd $(DIR_APP) && aclocal && automake --add-missing && autoreconf
 	cd $(DIR_APP) && ./configure --sysconfdir=/etc
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install
 	install -v -m 644 $(DIR_SRC)/config/backup/includes/igmpproxy \
 	                 /var/ipfire/backup/addons/includes/igmpproxy
+	mv -vf /usr/local/sbin/igmpproxy /usr/sbin/
 	@rm -rf $(DIR_APP)
 	@$(POSTBUILD)
-- 
1.9.1



More information about the Development mailing list