From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] ebtables: Update to version 2.0.11 Date: Tue, 18 Jul 2023 22:04:26 +0200 Message-ID: <20230718200426.1961914-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8443418043924970949==" List-Id: --===============8443418043924970949== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - Update from version 2.0.10-4 (Sep 2014) to 2.0.11 (Dec 2019) - Update of rootfile - Deletion of patch to prevent installing in usr/local as new tarball now has= a ./configure file that enables setting prefix to /usr and sysconfdir to /etc Signed-off-by: Adolf Belka --- config/rootfiles/packages/ebtables | 36 +++++-------------- lfs/ebtables | 14 ++++---- ...-should-install-nothing-in-usr-local.patch | 28 --------------- 3 files changed, 17 insertions(+), 61 deletions(-) delete mode 100644 src/patches/ebtables/0001-ebtables-should-install-nothing= -in-usr-local.patch diff --git a/config/rootfiles/packages/ebtables b/config/rootfiles/packages/e= btables index 8eab1f62a..fac1cecaa 100644 --- a/config/rootfiles/packages/ebtables +++ b/config/rootfiles/packages/ebtables @@ -1,29 +1,11 @@ etc/ethertypes -#etc/rc.d/init.d/ebtables -#etc/sysconfig/ebtables-config -usr/lib/libebt_802_3.so -usr/lib/libebt_among.so -usr/lib/libebt_arp.so -usr/lib/libebt_arpreply.so -usr/lib/libebt_ip.so -usr/lib/libebt_ip6.so -usr/lib/libebt_limit.so -usr/lib/libebt_log.so -usr/lib/libebt_mark.so -usr/lib/libebt_mark_m.so -usr/lib/libebt_nat.so -usr/lib/libebt_nflog.so -usr/lib/libebt_pkttype.so -usr/lib/libebt_redirect.so -usr/lib/libebt_standard.so -usr/lib/libebt_stp.so -usr/lib/libebt_ulog.so -usr/lib/libebt_vlan.so -usr/lib/libebtable_broute.so -usr/lib/libebtable_filter.so -usr/lib/libebtable_nat.so +usr/lib/libebtc.la usr/lib/libebtc.so -#usr/man/man8/ebtables.8 -usr/sbin/ebtables -usr/sbin/ebtables-restore -usr/sbin/ebtables-save +usr/lib/libebtc.so.0 +usr/lib/libebtc.so.0.0.0 +usr/sbin/ebtables-legacy +usr/sbin/ebtables-legacy-restore +usr/sbin/ebtables-legacy-save +usr/sbin/ebtablesd +usr/sbin/ebtablesu +#usr/share/man/man8/ebtables-legacy.8 diff --git a/lfs/ebtables b/lfs/ebtables index fae20359f..35f158032 100644 --- a/lfs/ebtables +++ b/lfs/ebtables @@ -1,7 +1,7 @@ ############################################################################= ### # = # # IPFire.org - A linux based firewall = # -# Copyright (C) 2007-2018 IPFire Team = # +# Copyright (C) 2007-2023 IPFire Team = # # = # # This program is free software: you can redistribute it and/or modify = # # it under the terms of the GNU General Public License as published by = # @@ -26,15 +26,15 @@ include Config =20 SUMMARY =3D Ethernet Bridge Tables =20 -VER =3D 2.0.10-4 +VER =3D 2.0.11 =20 -THISAPP =3D ebtables-v$(VER) +THISAPP =3D ebtables-$(VER) DL_FILE =3D $(THISAPP).tar.gz DL_FROM =3D $(URL_IPFIRE) DIR_APP =3D $(DIR_SRC)/$(THISAPP) TARGET =3D $(DIR_INFO)/$(THISAPP) PROG =3D ebtables -PAK_VER =3D 3 +PAK_VER =3D 4 =20 DEPS =3D =20 @@ -48,7 +48,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_BLAKE2 =3D 01995c701c6dbc7495bdf1f0fce61dce51a379dd1a304d2a5174e0= 190c040ee958833c65be9fd9d6a7601a2f81461ce1f2e9db989081b4fe7dabc5bfcecd57d6 +$(DL_FILE)_BLAKE2 =3D 62af4c38ad21498e43f41ef96c8abb5704e8d8a48f1327c587b664= f36fdfa9849a9a37e59958db56d38019465d8bf1775914f7387fde99a441615913702cf504 =20 install : $(TARGET) =20 @@ -81,7 +81,9 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ebtables/0001-ebtable= s-should-install-nothing-in-usr-local.patch + cd $(DIR_APP) && ./configure \ + --prefix=3D/usr \ + --sysconfdir=3D/etc cd $(DIR_APP) && make $(MAKETUNING) CFLAGS=3D"$(CFLAGS)" cd $(DIR_APP) && make install @rm -rf $(DIR_APP) diff --git a/src/patches/ebtables/0001-ebtables-should-install-nothing-in-usr= -local.patch b/src/patches/ebtables/0001-ebtables-should-install-nothing-in-u= sr-local.patch deleted file mode 100644 index 2cccb9073..000000000 --- a/src/patches/ebtables/0001-ebtables-should-install-nothing-in-usr-local.= patch +++ /dev/null @@ -1,28 +0,0 @@ -From 373fb7d2d22fcf3328702e719793526e215822ca Mon Sep 17 00:00:00 2001 -From: Jonatan Schlag -Date: Thu, 24 Mar 2016 18:35:51 +0100 -Subject: [PATCH] ebtables should install nothing in usr local - -Signed-off-by: Jonatan Schlag ---- - Makefile | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Makefile b/Makefile -index c1106a4..b5f4447 100644 ---- a/Makefile -+++ b/Makefile -@@ -10,8 +10,8 @@ LOCKDIR:=3D$(shell echo $(LOCKFILE) | sed 's/\(.*\)\/.*/\1= /')/ -=20 - # default paths - LIBDIR:=3D/usr/lib --MANDIR:=3D/usr/local/man --BINDIR:=3D/usr/local/sbin -+MANDIR:=3D/usr/man -+BINDIR:=3D/usr/sbin - ETCDIR:=3D/etc - INITDIR:=3D/etc/rc.d/init.d - SYSCONFIGDIR:=3D/etc/sysconfig ---=20 -2.1.4 - --=20 2.41.0 --===============8443418043924970949==--