git: 7af5c1da2887 - stable/15 - blocklist: Fix rcorder(8)

From: Jose Luis Duran <jlduran_at_FreeBSD.org>
Date: Thu, 30 Oct 2025 01:52:19 UTC
The branch stable/15 has been updated by jlduran:

URL: https://cgit.FreeBSD.org/src/commit/?id=7af5c1da28872fcd7824662853c84eb1ae05f368

commit 7af5c1da28872fcd7824662853c84eb1ae05f368
Author:     Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2025-10-27 15:46:32 +0000
Commit:     Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2025-10-30 01:47:37 +0000

    blocklist: Fix rcorder(8)
    
    The blocklist daemon depends on a packet filter in order to block.
    
    Add all supported packet filters to the REQUIRE line, not just pf, to
    indicate rcorder(8) that it should start after the packet filter service
    has started.
    
    While here, change the mode of the rc file to include the executable
    bit, just like the rest of the files in the rc.d source directory.
    
    Reviewed by:    0mp
    MFC after:      2 days
    Differential Revision:  https://reviews.freebsd.org/D53364
    
    (cherry picked from commit 79e374217d69a98161fc91a286dacf1f78090894)
---
 libexec/rc/rc.d/blacklistd | 2 +-
 libexec/rc/rc.d/blocklistd | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libexec/rc/rc.d/blacklistd b/libexec/rc/rc.d/blacklistd
index 9157e258f43f..175e3e8c56b3 100755
--- a/libexec/rc/rc.d/blacklistd
+++ b/libexec/rc/rc.d/blacklistd
@@ -29,7 +29,7 @@
 #
 
 # PROVIDE: blacklistd
-# REQUIRE: netif pf
+# REQUIRE: netif ipfilter ipfw pf
 
 . /etc/rc.subr
 
diff --git a/libexec/rc/rc.d/blocklistd b/libexec/rc/rc.d/blocklistd
old mode 100644
new mode 100755
index 24cbae77fd40..f979162ec3e0
--- a/libexec/rc/rc.d/blocklistd
+++ b/libexec/rc/rc.d/blocklistd
@@ -29,7 +29,7 @@
 #
 
 # PROVIDE: blocklistd
-# REQUIRE: netif pf
+# REQUIRE: netif ipfilter ipfw pf
 
 . /etc/rc.subr