From patchwork Tue Jul 18 20:04:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 7001 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4R59044KZzz3wgh for ; Tue, 18 Jul 2023 20:04:36 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4R59023QFYzWF; Tue, 18 Jul 2023 20:04:34 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4R59022RhBz2xbq; Tue, 18 Jul 2023 20:04:34 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4R59002XMmz2xRr for ; Tue, 18 Jul 2023 20:04:32 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4R58zy3Yhkz4b; Tue, 18 Jul 2023 20:04:30 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1689710670; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=yMXbX3SE9JrtBQ6modf2BTgLFrYfa+Uyvs/PClzKl3I=; b=YipZk86dlv10hyJ0UfxYx2OiMWwn9ced0+6WjbTSozmWFx/CxR9nJ7JNwV+TEklC+YOtC5 GyH5vbcdoR/s6KDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1689710670; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=yMXbX3SE9JrtBQ6modf2BTgLFrYfa+Uyvs/PClzKl3I=; b=sUj2FCW1GAMC0MxR9kGwi+d+IQSvvUy9ubnhOOPX7u9GjAFrsuX1hTexaIeJn1xmeBvQKg KUJ/MQzv1u9Oar4TVRRUBYegr1Xj+9YAVSgvFsD/nMOtUYlomDKNB3yWRY7oL9lKqu7JM9 Q8QfRh2UxFr5Z0FkzlJ69a8mAaI7aq8pE+GnAuHxn76C0yd+z2VNJSNlMZS4gTqWLQgXFf lmksIlLcNPp38EkyIqKdLGjfpg3IlCz0Q8QQSLjUXuFBkXmlYqh6BRuSlXIk22qsn60OmD r9BOcN3/AHwSZJYq5/Mqf3n38en1KYgq2pncNE6lAsjiNBLs0+1V4MaIYkF3dw== 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 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - 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/ebtables 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 SUMMARY = Ethernet Bridge Tables -VER = 2.0.10-4 +VER = 2.0.11 -THISAPP = ebtables-v$(VER) +THISAPP = ebtables-$(VER) DL_FILE = $(THISAPP).tar.gz DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = ebtables -PAK_VER = 3 +PAK_VER = 4 DEPS = @@ -48,7 +48,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 01995c701c6dbc7495bdf1f0fce61dce51a379dd1a304d2a5174e0190c040ee958833c65be9fd9d6a7601a2f81461ce1f2e9db989081b4fe7dabc5bfcecd57d6 +$(DL_FILE)_BLAKE2 = 62af4c38ad21498e43f41ef96c8abb5704e8d8a48f1327c587b664f36fdfa9849a9a37e59958db56d38019465d8bf1775914f7387fde99a441615913702cf504 install : $(TARGET) @@ -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-ebtables-should-install-nothing-in-usr-local.patch + cd $(DIR_APP) && ./configure \ + --prefix=/usr \ + --sysconfdir=/etc cd $(DIR_APP) && make $(MAKETUNING) CFLAGS="$(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-usr-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:=$(shell echo $(LOCKFILE) | sed 's/\(.*\)\/.*/\1/')/ - - # default paths - LIBDIR:=/usr/lib --MANDIR:=/usr/local/man --BINDIR:=/usr/local/sbin -+MANDIR:=/usr/man -+BINDIR:=/usr/sbin - ETCDIR:=/etc - INITDIR:=/etc/rc.d/init.d - SYSCONFIGDIR:=/etc/sysconfig --- -2.1.4 -