From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 9efdbe103b8d98b80125407443e906373c534269 Date: Fri, 29 Apr 2022 19:48:42 +0000 Message-ID: <4Kqjj71J2rz2xgR@people01.haj.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2867771832650312151==" List-Id: --===============2867771832650312151== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree". The branch, next has been updated via 9efdbe103b8d98b80125407443e906373c534269 (commit) via 8b97a537f5f9e798a1ab307b2c32bd9a8b0f6913 (commit) via 2f908d96489d6de9f1acc783c23f7fbe0057ed1d (commit) via f02dc11a38c1144fcef322cf34fc6417aae4355f (commit) from 3421b1abd824d680c68948a83123469737b1bbfa (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9efdbe103b8d98b80125407443e906373c534269 Author: Peter M=C3=BCller Date: Fri Apr 29 19:48:26 2022 +0000 Core Update 168: Ship changed rules.pl =20 Signed-off-by: Peter M=C3=BCller commit 8b97a537f5f9e798a1ab307b2c32bd9a8b0f6913 Author: Stefan Schantl Date: Mon Apr 25 21:04:53 2022 +0200 rules.pl: Fix automatic ipset sets cleanup. =20 The array of used/loaded ipsets needs to be reloaded before the cleanup can be started to also handle sets which are loaded during runtime. =20 Signed-off-by: Stefan Schantl Acked-by: Peter M=C3=BCller commit 2f908d96489d6de9f1acc783c23f7fbe0057ed1d Author: Peter M=C3=BCller Date: Fri Apr 29 19:47:31 2022 +0000 Core Update 168: Ship libinih =20 Signed-off-by: Peter M=C3=BCller commit f02dc11a38c1144fcef322cf34fc6417aae4355f Author: Adolf Belka Date: Wed Apr 27 19:17:42 2022 +0200 libinih: Update to version r55 =20 - Update from version r53 to r55 - Update of rootfile not required - Changelog inih version 55 Added "version" to meson.build config: #135 (but bumped up to 55 in = a subsequent commit, for this release). inih version 54 Mainly #134, adding the visibility symbols to the Meson build config= , but also other small tweaks to tests and so on. =20 Signed-off-by: Adolf Belka Reviewed-by: Peter M=C3=BCller ----------------------------------------------------------------------- Summary of changes: config/firewall/rules.pl | 14 +++++++++++--- config/rootfiles/core/168/filelists/files | 1 + config/rootfiles/core/168/filelists/libinih | 1 + lfs/libinih | 4 ++-- 4 files changed, 15 insertions(+), 5 deletions(-) create mode 120000 config/rootfiles/core/168/filelists/libinih Difference in files: diff --git a/config/firewall/rules.pl b/config/firewall/rules.pl index 19dc7a6d1..432619184 100644 --- a/config/firewall/rules.pl +++ b/config/firewall/rules.pl @@ -122,7 +122,7 @@ undef (@dummy); =20 sub main { # Get currently used ipset sets. - &ipset_get_sets(); + @ipset_used_sets =3D &ipset_get_sets(); =20 # Flush all chains. &flush(); @@ -922,6 +922,8 @@ sub firewall_is_in_subnet { } =20 sub ipset_get_sets () { + my @sets; + # Get all currently used ipset lists and store them in an array. my @output =3D `$IPSET -n list`; =20 @@ -931,14 +933,17 @@ sub ipset_get_sets () { chomp($set); =20 # Add the set the array of used sets. - push(@ipset_used_sets, $set); + push(@sets, $set); } =20 # Display used sets in debug mode. if($DEBUG) { print "Used ipset sets:\n"; - print "@ipset_used_sets\n\n"; + print "@sets\n\n"; } + + # Return the array of sets. + return @sets; } =20 sub ipset_restore ($) { @@ -998,6 +1003,9 @@ sub ipset_call_restore ($) { } =20 sub ipset_cleanup () { + # Reload the array of used sets. + @ipset_used_sets =3D &ipset_get_sets(); + # Loop through the array of used sets. foreach my $set (@ipset_used_sets) { # Check if this set is still in use. diff --git a/config/rootfiles/core/168/filelists/files b/config/rootfiles/cor= e/168/filelists/files index 95bae91db..858809caf 100644 --- a/config/rootfiles/core/168/filelists/files +++ b/config/rootfiles/core/168/filelists/files @@ -390,6 +390,7 @@ lib/firmware/rtw88/rtw8821c_fw.bin lib/firmware/rtw88/rtw8822c_fw.bin lib/firmware/rtw89/rtw8852a_fw.bin lib/firmware/wfx/wfm_wf200_C0.sec +usr/lib/firewall/rules.pl srv/web/ipfire/cgi-bin/media.cgi srv/web/ipfire/cgi-bin/wakeonlan.cgi srv/web/ipfire/html/themes/ipfire/include/functions.pl diff --git a/config/rootfiles/core/168/filelists/libinih b/config/rootfiles/c= ore/168/filelists/libinih new file mode 120000 index 000000000..7f703bed7 --- /dev/null +++ b/config/rootfiles/core/168/filelists/libinih @@ -0,0 +1 @@ +../../../common/libinih \ No newline at end of file diff --git a/lfs/libinih b/lfs/libinih index df46d5218..0b4793d5d 100644 --- a/lfs/libinih +++ b/lfs/libinih @@ -24,7 +24,7 @@ =20 include Config =20 -VER =3D r53 +VER =3D r55 =20 THISAPP =3D inih-$(VER) DL_FILE =3D $(THISAPP).tar.gz @@ -42,7 +42,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_BLAKE2 =3D 1242e6273c9dd9a11ea026a3495a487b2aa72d8e01f34304d8568c= 88897ae9c9bb425246f992dc16f4dc2210ec14c597d0ef595cec84ff98a5d6101ee5a643b9 +$(DL_FILE)_BLAKE2 =3D 28b5e04e54e31b3e0392b44799a2c2e75c1fe00527491a857480b7= e960302f2438d29652b131dae5147487c863d93f577b67aeff3ab5f863546d3661628d8236 =20 install : $(TARGET) =20 hooks/post-receive -- IPFire 2.x development tree --===============2867771832650312151==--