pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/shells/etsh shells/etsh: import package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/69a801d978c4
branches:  trunk
changeset: 381319:69a801d978c4
user:      pin <pin%pkgsrc.org@localhost>
date:      Mon Jul 04 08:31:43 2022 +0000

description:
shells/etsh: import package

Packaged in wip by Paolo Vincenzo Olivo.

Etsh provides two ports of the original /bin/sh from Version 6 (V6) UNIX
(circa 1975).

Etsh(1) is an enhanced, backward-compatible port of the V6 Thompson shell.
Tsh(1) is an unenhanced port of the shell, and glob(1) is a port of its
global command.  Together, tsh and glob provide a user interface which
is backward compatible with that provided by the V6 Thompson shell and
global command, but without the obvious enhancements found in etsh.

The original Thompson shell was principally written by Ken Thompson
of Bell Labs.

This package also includes the following shell utilities:

- if(1) - conditional command (ported from V6 UNIX)
- goto(1) - transfer command (ported from V6 UNIX)
- fd2(1) - redirect from/to file descriptor 2

diffstat:

 shells/etsh/DESCR    |  17 +++++++++++++++++
 shells/etsh/Makefile |  39 +++++++++++++++++++++++++++++++++++++++
 shells/etsh/PLIST    |  36 ++++++++++++++++++++++++++++++++++++
 shells/etsh/distinfo |   5 +++++
 4 files changed, 97 insertions(+), 0 deletions(-)

diffs (113 lines):

diff -r 59d550d03293 -r 69a801d978c4 shells/etsh/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/etsh/DESCR Mon Jul 04 08:31:43 2022 +0000
@@ -0,0 +1,17 @@
+Etsh provides two ports of the original /bin/sh from Version 6 (V6) UNIX
+(circa 1975).
+
+Etsh(1) is an enhanced, backward-compatible port of the V6 Thompson shell.
+Tsh(1) is an unenhanced port of the shell, and glob(1) is a port of its
+global command.  Together, tsh and glob provide a user interface which
+is backward compatible with that provided by the V6 Thompson shell and
+global command, but without the obvious enhancements found in etsh.
+
+The original Thompson shell was principally written by Ken Thompson
+of Bell Labs.
+
+This package also includes the following shell utilities:
+
+- if(1) - conditional command (ported from V6 UNIX)
+- goto(1) - transfer command (ported from V6 UNIX)
+- fd2(1) - redirect from/to file descriptor 2
diff -r 59d550d03293 -r 69a801d978c4 shells/etsh/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/etsh/Makefile      Mon Jul 04 08:31:43 2022 +0000
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1 2022/07/04 08:31:43 pin Exp $
+
+DISTNAME=      etsh-5.4.0
+CATEGORIES=    shells
+MASTER_SITES=  https://etsh.nl/src/etsh_5.4.0/
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    vms%retrobsd.ddns.net@localhost
+HOMEPAGE=      https://etsh.nl/
+COMMENT=       Enhanced port of Thompson shell from V6 UNIX
+LICENSE=       original-bsd AND modified-bsd AND 2-clause-bsd
+
+HAS_CONFIGURE= yes
+
+PKG_SHELL=     bin/etsh
+
+EXPDIR:=       ${PREFIX}/share/examples/etsh
+DOCDIR:=       ${PREFIX}/share/doc/etsh
+
+MAKEFLAGS+=    PREFIX=${PREFIX}
+MAKEFLAGS+=    DESTDOCDIR=${DESTDIR}${DOCDIR}
+MAKEFLAGS+=    DESTEXPDIR=${DESTDIR}${EXPDIR}
+MAKEFLAGS+=    MANGRP:='' BINGRP:=''
+
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     pre-configure
+SUBST_FILES.paths+=    libexec.etsh/etshdir
+SUBST_FILES.paths+=    libexec.etsh/history
+SUBST_FILES.paths+=    libexec.etsh/pev
+SUBST_SED.paths=       -e 's|/usr/bin/env |${PREFIX}/bin/|'
+
+post-build:
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} exp
+
+post-install:
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} install-exp \
+       install-doc
+
+.include "../../mk/bsd.pkg.mk"
diff -r 59d550d03293 -r 69a801d978c4 shells/etsh/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/etsh/PLIST Mon Jul 04 08:31:43 2022 +0000
@@ -0,0 +1,36 @@
+@comment $NetBSD: PLIST,v 1.1 2022/07/04 08:31:43 pin Exp $
+bin/etsh
+bin/tsh
+libexec/${PKGNAME}/README
+libexec/${PKGNAME}/etsh/README
+libexec/${PKGNAME}/etsh/SetP
+libexec/${PKGNAME}/etsh/SetTandCTTY
+libexec/${PKGNAME}/etsh/SetV
+libexec/${PKGNAME}/etsh/etshdir
+libexec/${PKGNAME}/etsh/history
+libexec/${PKGNAME}/etsh/history.help
+libexec/${PKGNAME}/etsh/pev
+libexec/${PKGNAME}/tsh/README
+libexec/${PKGNAME}/tsh/fd2
+libexec/${PKGNAME}/tsh/glob
+libexec/${PKGNAME}/tsh/goto
+libexec/${PKGNAME}/tsh/if
+man/man1/etsh.1
+man/man1/fd2.1
+man/man1/glob.1
+man/man1/goto.1
+man/man1/if.1
+man/man1/tsh.1
+share/doc/etsh/AUTHORS
+share/doc/etsh/DEDICATIONS
+share/doc/etsh/LICENSE
+share/doc/etsh/NOTES
+share/doc/etsh/PROJECT
+share/doc/etsh/README
+share/examples/etsh/.etsh.login
+share/examples/etsh/.etsh.logout
+share/examples/etsh/.etsh.prompt
+share/examples/etsh/.etshrc
+share/examples/etsh/etsh.etshrc
+share/examples/etsh/etsh.login
+share/examples/etsh/etsh.logout
diff -r 59d550d03293 -r 69a801d978c4 shells/etsh/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/etsh/distinfo      Mon Jul 04 08:31:43 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/07/04 08:31:43 pin Exp $
+
+BLAKE2s (etsh-5.4.0.tar.xz) = 7aeb84e45ec79f2850c93fcd87078959a887f26d6e94f36716106e73db384f70
+SHA512 (etsh-5.4.0.tar.xz) = 7360da1e9bc6a7ed8c38e95eb1e2159bd2803ffa1a032235380d5901a1a6e0399d418b532917e8578bdab53fb43f99d35affc7753da0ec5612bbb8d47715970a
+Size (etsh-5.4.0.tar.xz) = 92388 bytes



Home | Main Index | Thread Index | Old Index