git: ade023a359 - main - fix cgi permissions for the website

Wolfram Schneider wosch at FreeBSD.org
Tue May 25 06:38:08 UTC 2021


The branch main has been updated by wosch:

URL: https://cgit.FreeBSD.org/doc/commit/?id=ade023a35909a87cfe9489eeb9b3bd3b096f3d93

commit ade023a35909a87cfe9489eeb9b3bd3b096f3d93
Author:     Wolfram Schneider <wosch at FreeBSD.org>
AuthorDate: 2021-05-25 06:33:48 +0000
Commit:     Wolfram Schneider <wosch at FreeBSD.org>
CommitDate: 2021-05-25 06:37:35 +0000

    fix cgi permissions for the website
    
    PR: 256106
    Approved by:    se, philip, lwhsu
    Differential Revision: https://reviews.freebsd.org/D30406
---
 website/Makefile | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

diff --git a/website/Makefile b/website/Makefile
index cc4f66b22f..560c7b8d45 100644
--- a/website/Makefile
+++ b/website/Makefile
@@ -31,14 +31,21 @@ RUBYLIB =	../shared/lib
 .ORDER: starting-message generate-releases
 .ORDER: starting-message build
 .ORDER: generate-releases build
+.ORDER: build post-build
+.ORDER: post-build end-message
 
-all: starting-message generate-releases build
+all: starting-message generate-releases build post-build end-message
 run: starting-message generate-releases run-local
 
 starting-message: .PHONY
-	@echo ---------------------------------------------------------------
-	@echo                   Building the website
-	@echo ---------------------------------------------------------------
+	@echo "---------------------------------------------------------------"
+	@echo "Building the website started on $$(date)"
+	@echo "---------------------------------------------------------------"
+
+end-message: .PHONY
+	@echo "---------------------------------------------------------------"
+	@echo "Building the website completed on $$(date)"
+	@echo "---------------------------------------------------------------"
 
 generate-releases: .PHONY
 	${PYTHON_CMD} ./tools/releases-toml.py -p ./shared/releases.adoc
@@ -48,3 +55,9 @@ run-local: .PHONY
 
 build: .PHONY
 	${HUGO_CMD}
+
+post-build: cgi-permissions
+
+cgi-permissions:
+	@chmod 555 ./public/cgi/*.cgi
+


More information about the dev-commits-doc-all mailing list