From: Arne Fitzenreiter <git@ipfire.org>
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. bbaf9bdf21bff1a48eef82e6807a28d1e939783d
Date: Sun, 12 Jul 2020 05:31:51 +0000 [thread overview]
Message-ID: <4B4FlD1LYRz2xdw@people01.haj.ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2635 bytes --]
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 bbaf9bdf21bff1a48eef82e6807a28d1e939783d (commit)
via d047b493aaae6cb98e589718b778a67b0566f4e4 (commit)
from d0cbdd63632a23cca03035f2840be0c424933000 (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 bbaf9bdf21bff1a48eef82e6807a28d1e939783d
Author: Stefan Schantl <stefan.schantl(a)ipfire.org>
Date: Sat Jul 11 12:11:02 2020 +0200
convert-to-location: Regenerate firewall chains.
The firewall chain for location based rules has been renamed to
LOCATIONBLOCK and therefore the fiewall needs to be restarted and
the chains regenerated.
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>
commit d047b493aaae6cb98e589718b778a67b0566f4e4
Author: Stefan Schantl <stefan.schantl(a)ipfire.org>
Date: Sat Jul 11 12:11:01 2020 +0200
convert-to-location: Fix double patch declaration
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
src/scripts/convert-to-location | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Difference in files:
diff --git a/src/scripts/convert-to-location b/src/scripts/convert-to-location
index 2d830078a..9149b854d 100755
--- a/src/scripts/convert-to-location
+++ b/src/scripts/convert-to-location
@@ -36,7 +36,7 @@ if [ -f "$FW_CONF_DIR/geoipblock" ]; then
for file in "$FW_CONF_DIR/config" "$FW_CONF_DIR/input" "$FW_CONF_DIR/outgoing"; do
# Convert pattern which indicates location based rules to the new
# ones.
- sed -i 's/cust_geoip/cust_location/g' "$FW_CONF_DIR/$file"
+ sed -i 's/cust_geoip/cust_location/g' "$file"
done
# Rename indicator for location based groups to the new one.
@@ -44,6 +44,9 @@ if [ -f "$FW_CONF_DIR/geoipblock" ]; then
# Rename file to the new name.
mv "$HOSTS_CONF_DIR/customgeoipgrp" "$HOSTS_CONF_DIR/customlocationgrp"
+
+ # Regenerate firewall chains.
+ /etc/init.d/firewall restart
fi
# Finished.
hooks/post-receive
--
IPFire 2.x development tree
reply other threads:[~2020-07-12 5:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B4FlD1LYRz2xdw@people01.haj.ipfire.org \
--to=git@ipfire.org \
--cc=ipfire-scm@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox