From nobody Sat Oct 23 03:31:12 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3E92A1827C71; Sat, 23 Oct 2021 03:31:13 +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 4Hbmw11KF4z3Cyt; Sat, 23 Oct 2021 03:31:13 +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 0DEA71AE70; Sat, 23 Oct 2021 03:31:13 +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 19N3VCce034766; Sat, 23 Oct 2021 03:31:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19N3VCkS034765; Sat, 23 Oct 2021 03:31:12 GMT (envelope-from git) Date: Sat, 23 Oct 2021 03:31:12 GMT Message-Id: <202110230331.19N3VCkS034765@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mikhail Teterin Subject: git: d3d311b045cc - main - www/tclhttpd: Add a patch to work with newer Tcl (8.6+) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mi X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d3d311b045cc0dc9a10f76f65a77a508b5dc4f63 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mi: URL: https://cgit.FreeBSD.org/ports/commit/?id=d3d311b045cc0dc9a10f76f65a77a508b5dc4f63 commit d3d311b045cc0dc9a10f76f65a77a508b5dc4f63 Author: Mikhail Teterin AuthorDate: 2021-10-23 03:25:14 +0000 Commit: Mikhail Teterin CommitDate: 2021-10-23 03:25:14 +0000 www/tclhttpd: Add a patch to work with newer Tcl (8.6+) The subcommands of file(n) aren't available in safe interpreters. Bump PORTREVISION. PR: 259053 Submitted by: Peter Dean --- www/tclhttpd/Makefile | 2 +- www/tclhttpd/files/patch-lib__config.tcl | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/www/tclhttpd/Makefile b/www/tclhttpd/Makefile index 81627be5d10c..fe8429dabc39 100644 --- a/www/tclhttpd/Makefile +++ b/www/tclhttpd/Makefile @@ -2,7 +2,7 @@ PORTNAME= tclhttpd PORTVERSION= 3.5.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www tcl MASTER_SITES= TCLTK/httpd DISTNAME= ${PORTNAME}${PORTVERSION} diff --git a/www/tclhttpd/files/patch-lib__config.tcl b/www/tclhttpd/files/patch-lib__config.tcl new file mode 100644 index 000000000000..ad4f7dfcc09c --- /dev/null +++ b/www/tclhttpd/files/patch-lib__config.tcl @@ -0,0 +1,10 @@ +--- lib/config.tcl 2000-08-02 03:06:52.000000000 -0400 ++++ lib/config.tcl 2016-06-05 14:51:18.000000000 -0400 +@@ -52,6 +52,9 @@ + + set i [interp create -safe] + interp expose $i file ++ foreach subcommand {isdirectory exists dirname} { ++ interp alias $i ::tcl::file::$subcommand {} file $subcommand ++ } +