FreeBSD Bugzilla – Attachment 204048 Details for
Bug 237332
Update shells/ksh93 to 2020.0.0-alpha1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed new ksh93 port
ksh93-2020.diff (text/plain), 4.36 KB, created by
Cy Schubert
on 2019-04-26 19:48:44 UTC
(
hide
)
Description:
Proposed new ksh93 port
Filename:
MIME Type:
Creator:
Cy Schubert
Created:
2019-04-26 19:48:44 UTC
Size:
4.36 KB
patch
obsolete
>Index: shells/ksh93-2020/Makefile >=================================================================== >--- shells/ksh93-2020/Makefile (nonexistent) >+++ shells/ksh93-2020/Makefile (working copy) >@@ -0,0 +1,50 @@ >+# $FreeBSD$ >+ >+PORTNAME= ksh93 >+DISTVERSION=2020.0.0-alpha1 >+CATEGORIES= shells >+ >+MAINTAINER= saper@saper.info >+COMMENT= AT&T KornShell 93 >+ >+LICENSE= EPL >+ >+USES= compiler:c11 meson ninja python:build >+ >+USE_GITHUB= yes >+GH_ACCOUNT= att >+GH_PROJECT= ast >+GH_TAGNAME= ${HASH} >+ >+KSH_CONFLICTS= pdksh-* >+KSH93_CONFLICTS= ksh93-devel >+ >+LDFLAGS+= -lm >+MESON_BUILD_DIR= build >+MAKE_ENV= CCFLAGS="${CFLAGS}" >+ >+OPTIONS_DEFAULT= KSH93 >+OPTIONS_SINGLE= BIN_KSH >+OPTIONS_SINGLE_BIN_KSH= KSH KSH93 >+KSH_DESC= Install to ${PREFIX}/bin/ksh >+KSH93_DESC= Install to ${PREFIX}/bin/ksh93 >+ >+KSH93_EXTRA_PATCHES= ${FILESDIR}/extra-patch-install-as-ksh93 >+KSH93_DESC= Install to ${PREFIX}/bin/ksh93 >+ >+KSH_PLIST_SUB= 93="" >+KSH93_PLIST_SUB= 93="93" >+ >+.include <bsd.port.options.mk> >+ >+post-patch: >+ @${REINPLACE_CMD} -e '/for name in/ s|python.*|${PYTHON_CMD}|g' ${WRKSRC}/scripts/python.sh >+ @${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' ${WRKSRC}/src/lib/libast/include/sfio*.h ${WRKSRC}/src/lib/libast/sfio/*.c >+.if ${PORT_OPTIONS:MKSH93} >+ @${MV} ${WRKSRC}/src/cmd/ksh93/ksh.1 ${WRKSRC}/src/cmd/ksh93/ksh93.1 >+.endif >+.if ${PORT_OPTIONS:MKSH} >+ @# Keep portlint happy >+.endif >+ >+.include <bsd.port.mk> >Index: shells/ksh93-2020/distinfo >=================================================================== >--- shells/ksh93-2020/distinfo (nonexistent) >+++ shells/ksh93-2020/distinfo (working copy) >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1556307803 >+SHA256 (att-ast-2020.0.0-alpha1_GH0.tar.gz) = a9c6a9291ee1a2a5169cdebfe601124e53ae15f83d0857c166d9f2d86c1d4294 >+SIZE (att-ast-2020.0.0-alpha1_GH0.tar.gz) = 2041318 >Index: shells/ksh93-2020/files/extra-patch-install-as-ksh93 >=================================================================== >--- shells/ksh93-2020/files/extra-patch-install-as-ksh93 (nonexistent) >+++ shells/ksh93-2020/files/extra-patch-install-as-ksh93 (working copy) >@@ -0,0 +1,25 @@ >+--- src/cmd/ksh93/meson.build.orig 2018-09-25 15:33:55.000000000 -0700 >++++ src/cmd/ksh93/meson.build 2018-09-25 19:00:44.313649000 -0700 >+@@ -26,19 +26,19 @@ >+ dependencies: [libm_dep, libexecinfo_dep, libdl_dep], >+ install: false) >+ >+-ksh93_exe = executable('ksh', ['sh/pmain.c'], c_args: shared_c_args, >++ksh93_exe = executable('ksh93', ['sh/pmain.c'], c_args: shared_c_args, >+ include_directories: [configuration_incdir, ksh93_incdir], >+ link_with: [libksh, libast, libcmd, libdll], >+ dependencies: [libm_dep, libexecinfo_dep, libdl_dep], >+ install: true) >+ >+-shcomp_exe = executable('shcomp', ['sh/shcomp.c'], c_args: shared_c_args, >++shcomp_exe = executable('shcomp93', ['sh/shcomp.c'], c_args: shared_c_args, >+ include_directories: [configuration_incdir, ksh93_incdir], >+ link_with: [libksh, libast, libcmd, libdll], >+ dependencies: [libm_dep, libexecinfo_dep, libdl_dep], >+ install: true) >+ >+-install_man('ksh.1') >++install_man('ksh93.1') >+ >+ test_dir = join_paths(meson.current_source_dir(), 'tests') >+ test_driver = join_paths(test_dir, 'util', 'run_test.sh') >Index: shells/ksh93-2020/pkg-descr >=================================================================== >--- shells/ksh93-2020/pkg-descr (nonexistent) >+++ shells/ksh93-2020/pkg-descr (working copy) >@@ -0,0 +1,13 @@ >+KSH-93 is the most recent version of the KornShell Language described >+in "The KornShell Command and Programming Language," by Morris >+Bolsky and David Korn of AT&T Bell Laboratories. The KornShell is >+a shell programming language, which is upward compatible with "sh" >+(the Bourne Shell), and is intended to conform to the IEEE P1003.2/ISO >+9945.2 Shell and Utilities standard. KSH-93 provides an enhanced >+programming environment in addition to the major command-entry >+features of the BSD shell "csh". With KSH-93, medium-sized programming >+tasks can be performed at shell-level without a significant loss >+in performance. In addition, "sh" scripts can be run on KSH-93 >+without modification. >+ >+WWW: http://www.kornshell.com/ >Index: shells/ksh93-2020/pkg-plist >=================================================================== >--- shells/ksh93-2020/pkg-plist (nonexistent) >+++ shells/ksh93-2020/pkg-plist (working copy) >@@ -0,0 +1,3 @@ >+@shell bin/ksh%%93%% >+bin/shcomp%%93%% >+man/man1/ksh%%93%%.1.gz
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 237332
:
204021
|
204047
| 204048