diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2022-12-22 03:40:55 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2022-12-22 06:39:00 +0100 |
commit | a5f767fffe7172091d0fa77224372a1c35c4eb49 (patch) | |
tree | 823c738ffd0bb6a8799f9050525088b97c3e1e42 /source/a | |
parent | a1d6f79ce8795d190466bd6e4cc3c191df8741e9 (diff) | |
download | current-a5f767fffe7172091d0fa77224372a1c35c4eb49.tar.gz current-a5f767fffe7172091d0fa77224372a1c35c4eb49.tar.xz |
Thu Dec 22 03:40:55 UTC 202220221222034055
a/sysvinit-scripts-15.1-noarch-3.txz: Rebuilt.
rc.6: support an optional rc.firewall_shutdown script. Most firewall scripts
don't need a formal shutdown, but in some cases it can be useful. If your
rc.firewall script supports a stop parameter, the shutdown script should just
contain "/etc/rc.d/rc.firewall stop", or rc.firewall_shutdown could also be
a symlink to the rc.firewall script in that case. But how the script works
is (like the rc.firewall script support) completely up to the admin.
Thanks to metaed for the suggestion.
Please note that contrary to the request, I placed this *after* the network
is shut down to avoid removing firewall protection while the interfaces are
still active. Whether it'll work in this place for metaed's (or anyone
else's) needs, I'm not sure. It's a start. Feel free to weigh in on the LQ
thread if you have any ideas for improvement, but the goal here is to keep
this support as simple and flexible as possible.
d/nasm-2.16-x86_64-1.txz: Upgraded.
d/parallel-20221222-noarch-1.txz: Upgraded.
n/bind-9.18.10-x86_64-1.txz: Upgraded.
n/curl-7.87.0-x86_64-1.txz: Upgraded.
xap/mozilla-thunderbird-102.6.1-x86_64-1.txz: Upgraded.
This release contains a security fix and improvements.
For more information, see:
https://www.mozilla.org/en-US/thunderbird/102.6.1/releasenotes/
https://www.mozilla.org/en-US/security/advisories/mfsa2022-54/
https://www.cve.org/CVERecord?id=CVE-2022-46874
(* Security fix *)
xfce/xfce4-screenshooter-1.10.0-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/a')
-rw-r--r-- | source/a/sysvinit-scripts/scripts/rc.6 | 15 | ||||
-rwxr-xr-x | source/a/sysvinit-scripts/sysvinit-scripts.SlackBuild | 2 |
2 files changed, 16 insertions, 1 deletions
diff --git a/source/a/sysvinit-scripts/scripts/rc.6 b/source/a/sysvinit-scripts/scripts/rc.6 index d63a77bf3..47cf292ff 100644 --- a/source/a/sysvinit-scripts/scripts/rc.6 +++ b/source/a/sysvinit-scripts/scripts/rc.6 @@ -179,6 +179,21 @@ if /bin/ls /etc/dhcpc/*.pid 1> /dev/null 2> /dev/null ; then sleep 2 fi +# If there is a firewall_shutdown script, run it. Most firewall setups +# will not need to be formally shut down, but in case yours needs that +# (perhaps to do some shutdown-time cleanup or to save the state), then +# create an /etc/rc.d/rc.firewall_shutdown script to do these things. +# If your rc.firewall script supports a "stop" parameter, you might only +# need this in your rc.firewall_shutdown script: +# +# /etc/rc.d/rc.firewall stop +# +# Or in that case you could also just make rc.firewall_shutdown a symlink +# to the rc.firewall script, since we also provide the stop parameter here. +if [ -x /etc/rc.d/rc.firewall_shutdown ]; then + /etc/rc.d/rc.firewall_shutdown stop +fi + # Shut down PCMCIA devices: if [ -x /etc/rc.d/rc.pcmcia -a -z "$container" ]; then /etc/rc.d/rc.pcmcia stop diff --git a/source/a/sysvinit-scripts/sysvinit-scripts.SlackBuild b/source/a/sysvinit-scripts/sysvinit-scripts.SlackBuild index d81fb3019..289227e5c 100755 --- a/source/a/sysvinit-scripts/sysvinit-scripts.SlackBuild +++ b/source/a/sysvinit-scripts/sysvinit-scripts.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=sysvinit-scripts VERSION=${VERSION:-15.1} ARCH=noarch -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} # If the variable PRINT_PACKAGE_NAME is set, then this script will report what # the name of the created package would be, and then exit. This information |