pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

import ksh93u+



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Sun Jun 12 16:45:04 2022 +0200
Changeset:	748a5f018db9189a008ba4329da8e4d199411ef7

Modified Files:
	Makefile
Added Files:
	ksh93u+/DESCR
	ksh93u+/Makefile
	ksh93u+/PLIST
	ksh93u+/distinfo

Log Message:
import ksh93u+

Provided via e-mail by MAINTAINER.
Minor review and test build by myself.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=748a5f018db9189a008ba4329da8e4d199411ef7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile         |  1 +
 ksh93u+/DESCR    | 12 ++++++++++++
 ksh93u+/Makefile | 34 ++++++++++++++++++++++++++++++++++
 ksh93u+/PLIST    |  3 +++
 ksh93u+/distinfo |  5 +++++
 5 files changed, 55 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 3f437886e1..00d36edc9b 100644
--- a/Makefile
+++ b/Makefile
@@ -1980,6 +1980,7 @@ SUBDIR+=	kontactinterface
 SUBDIR+=	korganizer
 SUBDIR+=	krename
 SUBDIR+=	kronometer
+SUBDIR+=	ksh93u+
 SUBDIR+=	kscreen
 SUBDIR+=	kscreenlocker
 SUBDIR+=	ksshaskpass
diff --git a/ksh93u+/DESCR b/ksh93u+/DESCR
new file mode 100644
index 0000000000..8a3d156261
--- /dev/null
+++ b/ksh93u+/DESCR
@@ -0,0 +1,12 @@
+Between 2017 and 2020 there was an ultimately unsuccessful attempt to breathe
+new life into the KornShell by extensively refactoring the last unstable AST
+beta version (93v-). While that ksh2020 effort is now abandoned and still has
+many critical bugs, it also had a lot of bugs fixed. More importantly, the AST
+issue tracker now contains a lot of documentation on how to fix those bugs,
+which made it possible to backport many of them to the last stable release
+instead. This ksh 93u+m reboot now incorporates many of these bugfixes, plus
+patches from OpenSUSE, Red Hat, and Solaris, as well as many new fixes from the
+community (1, 2). Though there are many bugs left to fix, we are confident at
+this point that 93u+m is already the least buggy version of ksh93 ever
+released. As of late 2021, distributions such as Debian and Slackware have
+begun to package it as their default version of ksh93.
diff --git a/ksh93u+/Makefile b/ksh93u+/Makefile
new file mode 100644
index 0000000000..b19870dc21
--- /dev/null
+++ b/ksh93u+/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD$
+
+DISTNAME=	v1.0.0-beta.2
+PKGNAME=	${GITHUB_PROJECT}93u+m-${DISTNAME:S,^v,,}
+CATEGORIES=	shells
+MASTER_SITES=	${MASTER_SITE_GITHUB:=ksh93/}
+GITHUB_PROJECT=	ksh
+GITHUB_TAG=	${DISTNAME}
+
+MAINTAINER=	vms%retrobsd.ddns.net@localhost
+HOMEPAGE=	https://github.com/ksh93/ksh/
+COMMENT=	Actively developed fork of AT&T KornShell 93u+
+LICENSE=	epl-v1.0
+
+CONFLICTS+=	ast-ksh-[0-9]* static-ast-ksh-[0-9]*
+
+USE_LANGUAGES=		c c++
+FORTIFY_SUPPORTED=	no
+
+PKG_SHELL=		bin/ksh93
+
+INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
+
+do-build:
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+	${TOOLS_SHELL}  ${WRKSRC}/bin/package make
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/arch/*/bin/ksh \
+		${DESTDIR}${PREFIX}/bin/ksh93
+	${INSTALL_MAN} ${WRKSRC}/src/cmd/ksh93/sh.1 \
+		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ksh93.1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/ksh93u+/PLIST b/ksh93u+/PLIST
new file mode 100644
index 0000000000..6c70f0ba7b
--- /dev/null
+++ b/ksh93u+/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/ksh93
+man/man1/ksh93.1
diff --git a/ksh93u+/distinfo b/ksh93u+/distinfo
new file mode 100644
index 0000000000..1582a9cfca
--- /dev/null
+++ b/ksh93u+/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (v1.0.0-beta.2.tar.gz) = 1852a7f7963978ea6b80d47a915fe0da868bb91f8d9830056dfc6ea1b3303165
+SHA512 (v1.0.0-beta.2.tar.gz) = c2cd5a4b442bcff1dd2c1c054ee79c4cb131dce28d811dcd3476164d6cb7e88e6b317a094b16f227564a1266708ef0cfeca2af0929c00a19497cf1b67c647cf2
+Size (v1.0.0-beta.2.tar.gz) = 2238224 bytes


Home | Main Index | Thread Index | Old Index