From owner-dev-commits-doc-all@freebsd.org Tue May 25 06:38:08 2021 Return-Path: Delivered-To: dev-commits-doc-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5EDF56459C5 for ; Tue, 25 May 2021 06:38:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fq4CN209rz3rm5; Tue, 25 May 2021 06:38:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2C99B18E26; Tue, 25 May 2021 06:38:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14P6c8xM005238; Tue, 25 May 2021 06:38:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14P6c87j005237; Tue, 25 May 2021 06:38:08 GMT (envelope-from git) Date: Tue, 25 May 2021 06:38:08 GMT Message-Id: <202105250638.14P6c87j005237@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Wolfram Schneider Subject: git: ade023a359 - main - fix cgi permissions for the website MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wosch X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ade023a35909a87cfe9489eeb9b3bd3b096f3d93 Auto-Submitted: auto-generated X-BeenThere: dev-commits-doc-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the doc repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2021 06:38:08 -0000 The branch main has been updated by wosch: URL: https://cgit.FreeBSD.org/doc/commit/?id=ade023a35909a87cfe9489eeb9b3bd3b096f3d93 commit ade023a35909a87cfe9489eeb9b3bd3b096f3d93 Author: Wolfram Schneider AuthorDate: 2021-05-25 06:33:48 +0000 Commit: Wolfram Schneider 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 +