Oh,
ok i make new...
it's working with --prefix=/usr
Best, Marcel
Am 2016-06-01 22:55, schrieb Michael Tremer:
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@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)