From nobody Sat Nov 18 20:22:42 2023 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 4SXlZB5Srvz51ZbB; Sat, 18 Nov 2023 20:22:42 +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 4SXlZB4vmmz4T2w; Sat, 18 Nov 2023 20:22:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700338962; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wBEgXAuTLMSHw1hHvDsFkWUR4yjGr9WjMiJeMeXaaOw=; b=wIYSeQFFahKKDtM210KtPRO0IupI8IWqzKZhvBkxHlaBp6j6X2+espcULr5MZ7gz47GCCK Au+0/vBegDoCLWdaoD2ZioGYgTcLoqUkkSUjAt71OBFBdrKJi2JF+fy/IDr9u8k3We7Skq L1GOfcIC8hCOj/6+yORIqZVXjhN/t0+7GEVBlZPKale85Q/IV3MP1FbMIvRXDNwCc6ZU/s +2JCjBwF9wFtxwqSc/btqPcZIJ6COHhtl7ZqC/BjQAiKaD5glyiIwek9lDo2maWcLTZ06r E+esO0xhbdVw97u7ev+NHiwa3l/0/Lm+Z7S+RlELuu82u24BNMf1BhIRkUDrEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700338962; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wBEgXAuTLMSHw1hHvDsFkWUR4yjGr9WjMiJeMeXaaOw=; b=hao7q9Tcof0+00vrW20F1OlAHS70lPyj5FD7h6C8cq7QmkmfLEXBHwwwQPq7xG2kpOUkW4 cEdodKBdmBVasuq58WwguAgglbqqqr7JG0ErKmlIX6XQYxZmnsDdnV1QnyS6/r79KQMkdS L1uHJcATM3nROj+pQ+10ptWzFgvo86LD5BB+xRBXI6BLopUuS/ZpHVdi3MqtPARzKSDOmn PUIRGx6UDdA4rr4XG9i5EOnPKBkLTehieK2ksLmTeCQng93yk23FbcSm9QNh56Cdddzi5J sU1Za+gVMuKpeDp2+wdnet6YgluYFAPxkxCpalxaUJs9QByqmw7NsqEye0OZfQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700338962; a=rsa-sha256; cv=none; b=ZWobIP7FHsyn3eX5FgU9wIGzJ0+ZfNOSZ4LkVz8FsM5RYG6X2faiDvjMoQZMzew5sOF7ZN BcStWDiax3vJ/9ja/h1dvPzFBhxYvzLe8Vbk8BWvOaJB3PvD+dB9BdQGtKWzuTFgG1ObDU kZc3n6JeYpKk8knKLezYPJgOv19dKL3lJoNDF0yETqWFAjU9dDfNtNGnmZlkx5PGRWaEew wATIOFFZaJZJ/hkU0QaLP10pl3UOY9tToC+hRX/5yPFYPKdtq2t4rBRTRtJN/gYQhKyjxe D9Onnqf8IIpqcJfD4+Rm+7GIT4VW/1UL+xPZPdg6sLQONx+VFReyG1iMLCnVUg== 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 4SXlZB3vVwzgwH; Sat, 18 Nov 2023 20:22:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AIKMgIh015405; Sat, 18 Nov 2023 20:22:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AIKMgIJ015402; Sat, 18 Nov 2023 20:22:42 GMT (envelope-from git) Date: Sat, 18 Nov 2023 20:22:42 GMT Message-Id: <202311182022.3AIKMgIJ015402@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: f8a14bbc742c - main - sysutils/modules: update to v5.3.1 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: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f8a14bbc742c277973378faca7f7bf3263426c71 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=f8a14bbc742c277973378faca7f7bf3263426c71 commit f8a14bbc742c277973378faca7f7bf3263426c71 Author: Laurent AuthorDate: 2023-11-14 10:07:06 +0000 Commit: Robert Clausecker CommitDate: 2023-11-18 20:20:41 +0000 sysutils/modules: update to v5.3.1 Changelog: https://modules.readthedocs.io/en/latest/changes.html#modules-5 PR: 275080 --- sysutils/modules/Makefile | 4 +- sysutils/modules/distinfo | 6 +- sysutils/modules/files/patch-Makefile | 11 ++++ sysutils/modules/files/patch-doc_Makefile | 53 +++++++++++++++++ sysutils/modules/files/patch-doc__Makefile | 66 ---------------------- .../modules/files/patch-doc_build_modulefile.5 | 11 ++++ sysutils/modules/pkg-plist | 13 +++-- 7 files changed, 88 insertions(+), 76 deletions(-) diff --git a/sysutils/modules/Makefile b/sysutils/modules/Makefile index 675dea731435..5fd92800b207 100644 --- a/sysutils/modules/Makefile +++ b/sysutils/modules/Makefile @@ -1,9 +1,9 @@ PORTNAME= modules -PORTVERSION= 4.6.0 +DISTVERSION= 5.3.1 CATEGORIES= sysutils tcl MASTER_SITES= https://github.com/cea-hpc/modules/releases/download/v${PORTVERSION}/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= laurent.chardon@gmail.com COMMENT= Dynamic modification of a user environment WWW= https://modules.sourceforge.net/ diff --git a/sysutils/modules/distinfo b/sysutils/modules/distinfo index 9f0450b98cd9..c9d965bc29e6 100644 --- a/sysutils/modules/distinfo +++ b/sysutils/modules/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1601457747 -SHA256 (modules-4.6.0.tar.bz2) = 616f994384adf4faf91df7d8b7ae2dab5bad20d642509c1a8e189e159968f911 -SIZE (modules-4.6.0.tar.bz2) = 1589367 +TIMESTAMP = 1699876784 +SHA256 (modules-5.3.1.tar.bz2) = 171f7faebc1363c8738a6905b31074636dd81d303098002b1c25801ee5483d86 +SIZE (modules-5.3.1.tar.bz2) = 1820274 diff --git a/sysutils/modules/files/patch-Makefile b/sysutils/modules/files/patch-Makefile new file mode 100644 index 000000000000..d479ec3e10d5 --- /dev/null +++ b/sysutils/modules/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2023-06-27 17:22:08 UTC ++++ Makefile +@@ -763,7 +763,7 @@ dist-tar: ChangeLog.gz contrib/rpm/environment-modules + lib/configure lib/config.h.in $(DIST_AUTORECONF_EXTRA) ChangeLog.gz \ + doc/build/MIGRATING.txt doc/build/changes.txt doc/build/INSTALL.txt \ + doc/build/INSTALL-win.txt doc/build/NEWS.txt doc/build/CONTRIBUTING.txt \ +- doc/build/module.1.in doc/build/ml.1 doc/build/modulefile.4 \ ++ doc/build/module.1.in doc/build/ml.1 doc/build/modulefile.5 \ + contrib/rpm/environment-modules.spec + + dist-gzip: dist-tar diff --git a/sysutils/modules/files/patch-doc_Makefile b/sysutils/modules/files/patch-doc_Makefile new file mode 100644 index 000000000000..b4ff4d40f60e --- /dev/null +++ b/sysutils/modules/files/patch-doc_Makefile @@ -0,0 +1,53 @@ +--- doc/Makefile.orig 2023-06-27 17:22:08 UTC ++++ doc/Makefile +@@ -37,7 +37,7 @@ ALL_RST := $(wildcard $(SOURCE_DIR)/*.rst $(SOURCE_DIR + $(SOURCE_DIR)/design/*.rst) + ALL_TXT := $(patsubst $(SOURCE_DIR)/%,$(BUILD_DIR)/%,$(patsubst %.rst,%.txt,$(ALL_RST))) + ALL_HTML := $(patsubst $(SOURCE_DIR)/%,$(BUILD_DIR)/%,$(patsubst %.rst,%.html,$(ALL_RST))) +-ALL_MAN := $(BUILD_DIR)/module.1 $(BUILD_DIR)/ml.1 $(BUILD_DIR)/modulefile.4 ++ALL_MAN := $(BUILD_DIR)/module.1 $(BUILD_DIR)/ml.1 $(BUILD_DIR)/modulefile.5 + + all: man txt + +@@ -97,10 +97,10 @@ $(BUILD_DIR)/%.txt: $(SOURCE_DIR)/%.rst $(SOURCE_DIR)/ + $(ECHO_GEN2) $(ECHO_DIR_PREFIX)$(BUILD_DIR)/*.txt + $(SPHINXBUILD) $(SPHINXOPTS) -b text "$(SOURCE_DIR)" "$(BUILD_DIR)" + +-$(BUILD_DIR)/module.1.in $(BUILD_DIR)/modulefile.4 $(BUILD_DIR)/ml.1: $(ALL_RST) $(SOURCE_DIR)/version.py ++$(BUILD_DIR)/module.1.in $(BUILD_DIR)/modulefile.5 $(BUILD_DIR)/ml.1: $(ALL_RST) $(SOURCE_DIR)/version.py + $(ECHO_GEN2) $(ECHO_DIR_PREFIX)$(BUILD_DIR)/ml.1 + $(ECHO_GEN2) $(ECHO_DIR_PREFIX)$(BUILD_DIR)/module.1.in +- $(ECHO_GEN2) $(ECHO_DIR_PREFIX)$(BUILD_DIR)/modulefile.4 ++ $(ECHO_GEN2) $(ECHO_DIR_PREFIX)$(BUILD_DIR)/modulefile.5 + $(SPHINXBUILD) $(SPHINXOPTS) -t pathsubs -b man "$(SOURCE_DIR)" "$(BUILD_DIR)" + $(if $(findstring module.1.in,$@),mv $(BUILD_DIR)/module.1 $@) + endif +@@ -109,7 +109,7 @@ $(BUILD_DIR)/module.1: $(BUILD_DIR)/module.1.in + $(translate-in-script) + + install: man txt +- $(INSTALL_DIR) '$(DESTDIR)$(mandir)/man1' '$(DESTDIR)$(mandir)/man4' ++ $(INSTALL_DIR) '$(DESTDIR)$(mandir)/man1' '$(DESTDIR)$(mandir)/man5' + ifeq ($(docinstall),y) + $(INSTALL_DIR) '$(DESTDIR)$(docdir)' + $(INSTALL_DATA) $(BUILD_DIR)/changes.txt '$(DESTDIR)$(docdir)/' +@@ -121,7 +121,7 @@ ifeq ($(docinstall),y) + endif + $(INSTALL_DATA) $(BUILD_DIR)/module.1 '$(DESTDIR)$(mandir)/man1/' + $(INSTALL_DATA) $(BUILD_DIR)/ml.1 '$(DESTDIR)$(mandir)/man1/' +- $(INSTALL_DATA) $(BUILD_DIR)/modulefile.4 '$(DESTDIR)$(mandir)/man4/' ++ $(INSTALL_DATA) $(BUILD_DIR)/modulefile.5 '$(DESTDIR)$(mandir)/man5/' + + uninstall: + ifeq ($(docinstall),y) +@@ -135,8 +135,8 @@ ifeq ($(docinstall),y) + endif + rm -f '$(DESTDIR)$(mandir)/man1/module.1' + rm -f '$(DESTDIR)$(mandir)/man1/ml.1' +- rm -f '$(DESTDIR)$(mandir)/man4/modulefile.4' +- rmdir '$(DESTDIR)$(mandir)/man1' '$(DESTDIR)$(mandir)/man4' ++ rm -f '$(DESTDIR)$(mandir)/man5/modulefile.5' ++ rmdir '$(DESTDIR)$(mandir)/man1' '$(DESTDIR)$(mandir)/man5' + rmdir '$(DESTDIR)$(mandir)' + + clean: diff --git a/sysutils/modules/files/patch-doc__Makefile b/sysutils/modules/files/patch-doc__Makefile deleted file mode 100644 index c35e5419dde6..000000000000 --- a/sysutils/modules/files/patch-doc__Makefile +++ /dev/null @@ -1,66 +0,0 @@ ---- doc/Makefile.orig 2020-09-30 09:23:59 UTC -+++ doc/Makefile -@@ -22,9 +22,9 @@ ifeq ($(builddoc),n) - $(error No 'sphinx-build' command defined, cannot build documentation) - endif - --man: $(BUILD_DIR)/module.1 $(BUILD_DIR)/ml.1 $(BUILD_DIR)/modulefile.4 -+man: $(BUILD_DIR)/module.1 $(BUILD_DIR)/ml.1 $(BUILD_DIR)/modulefile.5 - ifeq ($(compatversion),y) --man: $(COMPAT_MAN_DIR)/module.1 $(COMPAT_MAN_DIR)/modulefile.4 -+man: $(COMPAT_MAN_DIR)/module.1 $(COMPAT_MAN_DIR)/modulefile.5 - endif - - txt: $(BUILD_DIR)/diff_v3_v4.txt $(BUILD_DIR)/MIGRATING.txt \ -@@ -70,7 +70,7 @@ $(BUILD_DIR)/%.html: $(SOURCE_DIR)/%.rst $(SOURCE_DIR) - $(BUILD_DIR)/%.txt: $(SOURCE_DIR)/%.rst $(SOURCE_DIR)/version.py - $(SPHINXBUILD) $(SPHINXOPTS) -b text "$(SOURCE_DIR)" "$(BUILD_DIR)" - --$(BUILD_DIR)/%.4 $(BUILD_DIR)/%.1: $(SOURCE_DIR)/%.rst $(SOURCE_DIR)/version.py -+$(BUILD_DIR)/%.5 $(BUILD_DIR)/%.1: $(SOURCE_DIR)/%.rst $(SOURCE_DIR)/version.py - $(SPHINXBUILD) $(SPHINXOPTS) -t pathsubs -b man "$(SOURCE_DIR)" "$(BUILD_DIR)" - - $(BUILD_DIR)/module.1.in: $(SOURCE_DIR)/module.rst $(SOURCE_DIR)/version.py -@@ -82,11 +82,11 @@ $(BUILD_DIR)/module.1: $(BUILD_DIR)/module.1.in - $(translate-in-script) - - # compatibility version-related rules --$(COMPAT_MAN_DIR)/module.1 $(COMPAT_MAN_DIR)/modulefile.4: -+$(COMPAT_MAN_DIR)/module.1 $(COMPAT_MAN_DIR)/modulefile.5: - $(MAKE) -C $(COMPAT_MAN_DIR) $(@F) - - install: man txt -- mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man4 -+ mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 - ifeq ($(docinstall),y) - mkdir -p $(DESTDIR)$(docdir) - cp $(BUILD_DIR)/diff_v3_v4.txt $(DESTDIR)$(docdir)/ -@@ -99,10 +99,10 @@ ifeq ($(docinstall),y) - endif - cp $(BUILD_DIR)/module.1 $(DESTDIR)$(mandir)/man1/ - cp $(BUILD_DIR)/ml.1 $(DESTDIR)$(mandir)/man1/ -- cp $(BUILD_DIR)/modulefile.4 $(DESTDIR)$(mandir)/man4/ -+ cp $(BUILD_DIR)/modulefile.5 $(DESTDIR)$(mandir)/man5/ - ifeq ($(compatversion),y) - cp $(COMPAT_MAN_DIR)/module.1 $(DESTDIR)$(mandir)/man1/module-compat.1 -- cp $(COMPAT_MAN_DIR)/modulefile.4 $(DESTDIR)$(mandir)/man4/modulefile-compat.4 -+ cp $(COMPAT_MAN_DIR)/modulefile.5 $(DESTDIR)$(mandir)/man5/modulefile-compat.5 - endif - - uninstall: -@@ -118,12 +118,12 @@ ifeq ($(docinstall),y) - endif - rm -f $(DESTDIR)$(mandir)/man1/module.1 - rm -f $(DESTDIR)$(mandir)/man1/ml.1 -- rm -f $(DESTDIR)$(mandir)/man4/modulefile.4 -+ rm -f $(DESTDIR)$(mandir)/man5/modulefile.5 - ifeq ($(compatversion),y) - rm -f $(DESTDIR)$(mandir)/man1/module-compat.1 -- rm -f $(DESTDIR)$(mandir)/man4/modulefile-compat.4 -+ rm -f $(DESTDIR)$(mandir)/man5/modulefile-compat.5 - endif -- rmdir $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man4 -+ rmdir $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 - rmdir $(DESTDIR)$(mandir) - - clean: diff --git a/sysutils/modules/files/patch-doc_build_modulefile.5 b/sysutils/modules/files/patch-doc_build_modulefile.5 new file mode 100644 index 000000000000..04fac3c56cea --- /dev/null +++ b/sysutils/modules/files/patch-doc_build_modulefile.5 @@ -0,0 +1,11 @@ +--- doc/build/modulefile.5.orig 2023-06-27 17:25:15 UTC ++++ doc/build/modulefile.5 +@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-lev + .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] + .in \\n[rst2man-indent\\n[rst2man-indent-level]]u + .. +-.TH "MODULEFILE" "4" "2023-06-27" "5.3.1" "Modules" ++.TH "MODULEFILE" "5" "2023-06-27" "5.3.1" "Modules" + .SH NAME + modulefile \- files containing Tcl code for the Modules package + .SH DESCRIPTION diff --git a/sysutils/modules/pkg-plist b/sysutils/modules/pkg-plist index 4fad880a088b..6eccc115f841 100644 --- a/sysutils/modules/pkg-plist +++ b/sysutils/modules/pkg-plist @@ -1,8 +1,8 @@ Modules/%%MODULES_VERSION%%/bin/add.modules -Modules/%%MODULES_VERSION%%/bin/createmodule.py Modules/%%MODULES_VERSION%%/bin/envml Modules/%%MODULES_VERSION%%/bin/mkroot Modules/%%MODULES_VERSION%%/bin/modulecmd +Modules/%%MODULES_VERSION%%/etc/initrc Modules/%%MODULES_VERSION%%/etc/siteconfig.tcl Modules/%%MODULES_VERSION%%/init/bash Modules/%%MODULES_VERSION%%/init/bash_completion @@ -14,7 +14,6 @@ Modules/%%MODULES_VERSION%%/init/ksh Modules/%%MODULES_VERSION%%/init/ksh-functions/ml Modules/%%MODULES_VERSION%%/init/ksh-functions/module Modules/%%MODULES_VERSION%%/init/lisp -Modules/%%MODULES_VERSION%%/init/modulerc Modules/%%MODULES_VERSION%%/init/perl.pm Modules/%%MODULES_VERSION%%/init/profile.csh Modules/%%MODULES_VERSION%%/init/profile.sh @@ -37,14 +36,18 @@ Modules/%%MODULES_VERSION%%/modulefiles/null Modules/%%MODULES_VERSION%%/modulefiles/use.own Modules/%%MODULES_VERSION%%/share/doc/CONTRIBUTING.txt Modules/%%MODULES_VERSION%%/share/doc/COPYING.GPLv2 -Modules/%%MODULES_VERSION%%/share/doc/ChangeLog +Modules/%%MODULES_VERSION%%/share/doc/ChangeLog.gz Modules/%%MODULES_VERSION%%/share/doc/INSTALL-win.txt Modules/%%MODULES_VERSION%%/share/doc/INSTALL.txt Modules/%%MODULES_VERSION%%/share/doc/MIGRATING.txt Modules/%%MODULES_VERSION%%/share/doc/NEWS.txt Modules/%%MODULES_VERSION%%/share/doc/README -Modules/%%MODULES_VERSION%%/share/doc/diff_v3_v4.txt -Modules/%%MODULES_VERSION%%/share/doc/example.txt +Modules/%%MODULES_VERSION%%/share/doc/changes.txt +Modules/%%MODULES_VERSION%%/share/nagelfar/plugin_globalrc.tcl +Modules/%%MODULES_VERSION%%/share/nagelfar/plugin_modulefile.tcl +Modules/%%MODULES_VERSION%%/share/nagelfar/plugin_modulerc.tcl +Modules/%%MODULES_VERSION%%/share/nagelfar/syntaxdb_modulefile.tcl +Modules/%%MODULES_VERSION%%/share/nagelfar/syntaxdb_modulerc.tcl Modules/%%MODULES_VERSION%%/share/vim/vimfiles/ftdetect/modulefile.vim Modules/%%MODULES_VERSION%%/share/vim/vimfiles/ftplugin/modulefile.vim Modules/%%MODULES_VERSION%%/share/vim/vimfiles/syntax/modulefile.vim