Changes since 6.23.00:
8. V6.23.01 - 20211209
7. add \cc and \Uhhh, and document escape sequences
6. add $'string with escapes' ("dollar-single-quotes") (Kimmo Suominen)
5. don't glob the filetest builtin arguments twice
4. remove the duplicate echo escape parsing code and use parseescape
3. add \x{hh} \xhh \uhhh (H.Merijn Brand)
2. fix and document ln=target
1. Merge in patches from pkgsrc:
- Modernize the installation targets so that they use INSTALL_DATA,
INSTALL_PROGRAM, and MKDIR_P.
- Enable SYSMALLOC and SHORT_STRINGS on NetBSD.
- Enable NO_FIX_MALLOC and SHORT_STRINGS on OpenBSD.
For pkgsrc, items 1, 2, and 5 had already been applied via patches.
For tcsh and defaults for other variants, unless otherwise noted:
- Option nls enables building of NLS catalogs. Enabled by default.
- Option static enables static linking. Disabled by default.
For standalone-tcsh:
- Option static is enabled by default, except on SunOS.
- Fix building of NLS catalogs, which possibly worked at some point
in time given the existence of the NLSDIR variable in Makefile.
- Use PLIST from tcsh, with some awk to transform the entries.
- Use DESCR from tcsh as base, with an additional local DESCR. Adjust the
local DESCR to not say that the package is static, as that is controlled
by an option now (and never was true for all platforms).
- Remove unnecessary DISTINFO_FILE, INSTALLATION_DIRS, and WRKSRC.
For static-tcsh:
- Option static is not available: the package is always built like tcsh
with the static option enabled.
- Remove unnecessary DISTINFO_FILE.
Additionally, since the binary package will not include the locale
catalogues, disable building them (and unnecessarily stuffing them
in DESTDIR/share/locale).
Finally, fix installation of example files, so that the completion
rules (and csh-mode.el) are included with the package.
pkgsrc changes:
- Add patch-nls_Makefile.in to avoid +x bit in *.cat files
- Remove no longer needed patches (all applied upstream):
patch-ed.chared.c, patch-ed.inputl.c, patch-nls-catgen, patch-sh.func.c,
patch-tw.init.c
Changes:
V6.21.00 - 20190508
-------------------
- Abort history loading on words and lines too long
https://bugzilla.redhat.com/show_bug.cgi?id=1598502
- PR/37: Introduce GetCmdChar() to avoid open coding array access.
make closem() not close sockets so as not to affect nss_ldap.
tcsh never creates sockets so that's ok (Miloslav Trmac)
- PR/597: Make rmstar work with aliased rm
- convert match() from recursive to backtracking.
- Handle 8 bit characters in bindkey (Werner Fink)
- Look for tgetent in libtinfo as well (Werner Fink)
- Don't play pointer tricks that are undefined in modern c (Brooks Davis)
- Fix out of bounds read (Brooks Davis)
- Fix type of read in prompt confirmation (eg. rmstar) (David Kaspar)
- PR/471: Delay arginp parsing
ok <kim>, thanks!
The tcsh package Makefile is included directly by the static-tcsh
and standalone-tcsh Makefiles. Modify some of the variables that
really need to be package-specific to be set with ?= in
tcsh/Makefile and document the package Makefiles that directly
include it.
Set PKGREVISION directly in static-tcsh and standalone-tcsh now
that they can have independent PKGREVISION values.
Bump the PKGREVISION of static-tcsh due to the MAINTAINER now
correctly being listed as agc@ due to this change.
OmniOS is an Illumos distro which falls under the SunOS variant for us.
Include mk/bsd.prefs.mk before the shells/tcsh/Makefile so the
OS_VARIANT variable is available for testing.
Reviewed by agc@ wiz@
already in /bin. Otherwise, building and installing it naively clobbers
the native tcsh, which isn't what anyone wants.
I believe these platforms to be: NetBSD, OpenBSD, Solaris -- if anyone
can confirm that others (especially old ones I can't readily check)
don't have a native tcsh, please add.
This package will install tcsh in the /bin directory (not ${LOCALBASE}/bin).
DragonFly already has tcsh in the base system, so this package will replace
it with no ability to restore the system version. This is not desired.
shells/tcsh still works should there be any need for a pkgsrc version installed
at ${LOCALBASE}/bin.
+SHELL.
* Turn PKG_REGISTER_SHELLS into a variable that can be set in the shell
environment so that admins can make a choice when installing from
binary packages.
* PKG_SHELL is now a list of paths, and if the path is relative, then it
is taken to be relative to ${PREFIX}. Convert packages that set
PKG_SHELL to take advantage of this new feature by changing the full
paths to the shells into relative paths.
${LOCALBASE} - makes this package install successfully on systems where the
package tools may reside under ${LOCALBASE}.
On Solaris, don't set "-static" into LDFLAGS, so that the package builds
properly.