From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel Lorenz To: development@lists.ipfire.org Subject: Re: [PATCH] igmpproxy: fix build fail and move binary to /usr/sbin Date: Thu, 02 Jun 2016 10:08:57 +0200 Message-ID: <0409596d5de556ef905df3433d81d875@mail01.ipfire.org> In-Reply-To: <1464814547.19435.324.camel@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1388574330697170694==" List-Id: --===============1388574330697170694== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Oh, ok i make new... it's working with --prefix=3D/usr Best, Marcel Am 2016-06-01 22:55, schrieb Michael Tremer: > Hi, >=20 > does the configure script not support --prefix=3D/usr here? >=20 > This would make moving the binary unnecessary and is a cleaner=20 > approach. >=20 > Best, > -Michael >=20 > On Wed, 2016-06-01 at 07:33 +0200, Marcel Lorenz wrote: >> Signed-off-by: Marcel Lorenz >> --- >> =C2=A0config/rootfiles/packages/igmpproxy | 2 +- >> =C2=A0lfs/igmpproxy=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0| 3 ++- >> =C2=A02 files changed, 3 insertions(+), 2 deletions(-) >>=20 >> 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 @@ >> =C2=A0etc/igmpproxy.conf >> -usr/local/sbin/igmpproxy >> =C2=A0#usr/local/share/man/man5/igmpproxy.conf.5 >> =C2=A0#usr/local/share/man/man8/igmpproxy.8 >> +usr/sbin/igmpproxy >> =C2=A0var/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)) >> =C2=A0 cd $(DIR_APP) && patch -Np1=C2=A0=C2=A0< $(DIR_SRC)/src/patches/igm= pproxy-003- >> Restrict-igmp-reports-for-downstream-interfaces-wrt-.patch >> =C2=A0 cd $(DIR_APP) && patch -Np1=C2=A0=C2=A0< $(DIR_SRC)/src/patches/igm= pproxy-004- >> Restrict-igmp-reports-forwarding-to-upstream-interfa.patch >> =C2=A0 cd $(DIR_APP) && patch -Np1=C2=A0=C2=A0< $(DIR_SRC)/src/patches/igm= pproxy-100- >> use-monotic-clock-instead-of-time-of-day.patch >> - cd $(DIR_APP) && autoreconf >> + cd $(DIR_APP) && aclocal && automake --add-missing && autoreconf >> =C2=A0 cd $(DIR_APP) && ./configure --sysconfdir=3D/etc >> =C2=A0 cd $(DIR_APP) && make $(MAKETUNING) >> =C2=A0 cd $(DIR_APP) && make install >> =C2=A0 install -v -m 644 $(DIR_SRC)/config/backup/includes/igmpproxy \ >> =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/var/ipfire/backup/addons/includes/igmppr= oxy >> + mv -vf /usr/local/sbin/igmpproxy /usr/sbin/ >> =C2=A0 @rm -rf $(DIR_APP) >> =C2=A0 @$(POSTBUILD) --===============1388574330697170694==--