git: 8c00446980aa - main - www/apache24: htcacheclean rc.d script appears too early in rcorder
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Jun 2023 18:40:27 UTC
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=8c00446980aa6183cfe318347595900ac8a82d69 commit 8c00446980aa6183cfe318347595900ac8a82d69 Author: Tatsuki Makino <tatsuki_makino@hotmail.com> AuthorDate: 2023-06-03 18:33:34 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2023-06-03 18:40:08 +0000 www/apache24: htcacheclean rc.d script appears too early in rcorder Because htcacheclean has no dependencies set, it runs before the file system is ready, even though it makes changes to the file system. Define FILESYSTEMS as requirement to fix this race condition. PR: 268216 Approved by: portmgr (maintainer timeout, 5+ months) --- www/apache24/Makefile | 1 + www/apache24/files/htcacheclean.in | 2 ++ 2 files changed, 3 insertions(+) diff --git a/www/apache24/Makefile b/www/apache24/Makefile index 96526dddad76..082b18214c93 100644 --- a/www/apache24/Makefile +++ b/www/apache24/Makefile @@ -1,5 +1,6 @@ PORTNAME= apache24 PORTVERSION= 2.4.57 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= APACHE_HTTPD DISTNAME= httpd-${PORTVERSION} diff --git a/www/apache24/files/htcacheclean.in b/www/apache24/files/htcacheclean.in index c99ad8db23fc..b247d7146d63 100644 --- a/www/apache24/files/htcacheclean.in +++ b/www/apache24/files/htcacheclean.in @@ -1,6 +1,8 @@ #!/bin/sh # PROVIDE: htcacheclean +# REQUIRE: FILESYSTEMS +# BEFORE: apache24 # # Configuration settings for htcacheclean in /etc/rc.conf #