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

Michael Tremer michael.tremer at ipfire.org
Wed Jun 1 22:55:47 CEST 2016


Hi,

does the configure script not support --prefix=/usr here?

This would make moving the binary unnecessary and is a cleaner approach.

Best,
-Michael

On Wed, 2016-06-01 at 07:33 +0200, Marcel Lorenz wrote:
> 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ipfire.org/pipermail/development/attachments/20160601/e4380fce/attachment.sig>


More information about the Development mailing list