From nobody Tue Oct 12 15:02:31 2021 X-Original-To: dev-commits-ports-main@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 452A617E1E70; Tue, 12 Oct 2021 15:02:32 +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 4HTJml6h5yz3N31; Tue, 12 Oct 2021 15:02:31 +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 BD41F1693A; Tue, 12 Oct 2021 15:02:31 +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 19CF2VgF096754; Tue, 12 Oct 2021 15:02:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19CF2VXn096753; Tue, 12 Oct 2021 15:02:31 GMT (envelope-from git) Date: Tue, 12 Oct 2021 15:02:31 GMT Message-Id: <202110121502.19CF2VXn096753@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Tobias Kortkamp Subject: git: 2b412b769e9f - main - shells/oksh: Update to 7.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tobik X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2b412b769e9fbc361f25afa757e0bfb68f78d792 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tobik: URL: https://cgit.FreeBSD.org/ports/commit/?id=2b412b769e9fbc361f25afa757e0bfb68f78d792 commit 2b412b769e9fbc361f25afa757e0bfb68f78d792 Author: Tobias Kortkamp AuthorDate: 2021-10-10 08:44:39 +0000 Commit: Tobias Kortkamp CommitDate: 2021-10-12 15:01:33 +0000 shells/oksh: Update to 7.0 - Add a static flavor and install in /rescue same as editors/mg@static Changes: https://github.com/ibara/oksh/releases/tag/oksh-7.0 --- shells/oksh/Makefile | 25 +++++++++++++++++++++---- shells/oksh/distinfo | 6 +++--- 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/shells/oksh/Makefile b/shells/oksh/Makefile index b20851d6a119..cbc3c58f7b71 100644 --- a/shells/oksh/Makefile +++ b/shells/oksh/Makefile @@ -1,5 +1,5 @@ PORTNAME= oksh -DISTVERSION= 6.9 +DISTVERSION= 7.0 PORTEPOCH= 1 CATEGORIES= shells MASTER_SITES= https://github.com/ibara/oksh/releases/download/oksh-${DISTVERSION}/ @@ -9,9 +9,22 @@ COMMENT= Portable OpenBSD Korn shell LICENSE= PD -HAS_CONFIGURE= yes +FLAVORS= dynamic static +FLAVOR?= ${FLAVORS:[1]} -OPTIONS_DEFINE= CURSES STATIC +static_PKGNAMESUFFIX= -static +.if ${FLAVOR} == static +COMMENT+= (rescue(8) version) +.endif + +HAS_CONFIGURE= yes +.if ${FLAVOR} == static +CONFIGURE_ARGS+= --enable-static +PLIST= /dev/null +PLIST_FILES= "@shell /rescue/oksh" +.endif + +OPTIONS_DEFINE= CURSES OPTIONS_DEFAULT= CURSES CURSES_DESC= Use ncurses for screen clearing routines @@ -19,6 +32,10 @@ CURSES_DESC= Use ncurses for screen clearing routines CURSES_USES= ncurses CURSES_CONFIGURE_ENABLE= curses -STATIC_CONFIGURE_ENABLE= static +.if ${FLAVOR} == static +do-install: + @${MKDIR} ${STAGEDIR}/rescue + ${INSTALL_PROGRAM} ${WRKSRC}/oksh ${STAGEDIR}/rescue +.endif .include diff --git a/shells/oksh/distinfo b/shells/oksh/distinfo index e73a043997b5..b07a0ab6c869 100644 --- a/shells/oksh/distinfo +++ b/shells/oksh/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1619847915 -SHA256 (oksh-6.9.tar.gz) = c08d97b2ac9ee5d88e9e508d27c75502b2d06c20d4c5ab87b496cb3b9951bd35 -SIZE (oksh-6.9.tar.gz) = 307338 +TIMESTAMP = 1633855474 +SHA256 (oksh-7.0.tar.gz) = 21d5891f38ffea3a5d1aa8c494f0a5579c93778535e0a92275b102dec3221da1 +SIZE (oksh-7.0.tar.gz) = 308707