Commit graph

55 commits

Author SHA1 Message Date
leot
63f55a0c6c {standalone-,static-,}tcsh: Update to 6.22.00
pkgsrc changes:
 - Remove no longer needed patches (both backport from upstream to 6.21.00)

Changes:
V6.22.00 - 20191128
-------------------
 - PR/113: Sobomax: avoid infinite loops for -c commands when stdout is
   not a tty.
 - Avoid infinite loops during history loads when merging, print a better
   error for errors during history load.
 - PR/88: Preserve empty arguments in :q
 - PR/94: Small apple issues (SAVESIGVEC, HOSTTYPE)
 - PR/81: Fix range matching issue where we were comparing with the
   range character instead of the start of range. [l-z]* would match foo
2019-11-28 20:46:39 +00:00
leot
c1087dace4 tcsh: Add upstream patch to address filename expansion test failures
When $HOME environment variable is set, e.g. in pkgrsc where a fake
homedir is injected, ~ is expanded to $HOME while ~user is expanded
to the passwd(5) home_dir field leading to inconsistency in the test.

No PKGREVISION bump since that change only affects tests.
2019-05-15 09:18:01 +00:00
leot
9d3488e9d3 tcsh: Add a newline to make the comment more readable (NFC) 2019-05-09 11:46:21 +00:00
leot
d18ecc5b7c {standalone-,static-,}tcsh: Update to 6.21.00
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!
2019-05-09 11:32:36 +00:00
he
06f67de3d6 Make the <meta> modifier work on Linux again by applying a fix
from upstream, ref.

8e6dfd5332

Unfortunately the AsciiOnly reversion causes a SEGV because
*ch is used to index in the command array, and now contains
INVALID_BYTE.  Reproduce error with:
  env -i ./tcsh
  <meta>b
Bump PKGREVISION.
2017-02-17 19:21:44 +00:00
kim
ca258a3af9 Apply fixes from upstream to prevent a crash and a usability issue:
- Fix type of read in prompt confirmation (eg. rmstar) (David Kaspar)
- Fix out of bounds read (Brooks Davis)
- Don't play pointer tricks that are undefined in modern c (Brooks Davis)
- Use `` instead $() for solaris, bleh.
2016-12-24 13:18:43 +00:00
christos
41a1027d74 Welcome to tcsh-6.20.00 2016-11-24 15:45:06 +00:00
markd
6149938d92 Upstream patch to fix gcc5 optimization issue. 2015-12-13 10:46:26 +00:00
kim
87e8cf7d68 Upgrade to 6.19.00
This is a mainly a bug fix release with few new features:

1. new cdtohome variable
2. locking in history files
3. history speedups.
2015-05-22 08:03:43 +00:00
rodent
544e810c9a Fix build for OpenBSD. 2014-05-25 03:59:17 +00:00
kim
76c0b335fb Fix NLS catalogue installation. Both building and installing
the catalogue files is handled by the upstream Makefile.

Fixes PR pkg/48704 as well.
2014-04-04 12:00:37 +00:00
bsiegert
da038bea3b Fix build under MirBSD. 2013-04-02 20:37:55 +00:00
dholland
bda26b534c oops, actually add the patch. 2012-10-10 19:19:58 +00:00
he
77b8b7f4f2 Add a patch to fix issue with Meta-<key> no longer being recognized.
Patch from christos@.  (Sorry for overlooking "cvs add" earlier...)
2012-05-26 08:34:14 +00:00
he
f19e93583b Add a patch to fix issue with Meta-<key> no longer being recognized.
Patch from christos@.
Add comments to some of the other patch files to appease pkglint.
Bump PKGREVISION.
2012-05-25 20:01:31 +00:00
adam
86bdc156cf Changes 6.18.01:
* new autorehash builtin to control how the internal command hash
  table is maintained.
* globstar globbing to allow ** and *** expansions
* euid, euser, egid variables.
* wait built-in is now interruptible
* new anyerror variable to control error handling in pipelines
2012-03-22 16:54:25 +00:00
agc
18d4c8387b Add a patch (already sent upstream) to fix the behavior (slippery slope,
sorry) of 'b', 'e' and 'w' commands in vi editing, when confronted with
a '_' character - this patch makes tcsh consider '_' characters to be part
of the word.
2010-05-04 00:14:00 +00:00
hauke
c048e7b1af Apply the patch from pkg/40683, which did not make it into the 6.17
update of the package.
2010-03-26 14:09:50 +00:00
adam
70995abe5e Changes 6.17.00:
I am pleased to announce that tcsh-6.17 is now available; this is a mainly a
bug fix release with the exception of these three feature additions:
 10. always save the whole command, not just the first 80 chars of it.
  4. Add autoexpand=onlyhistory (Don Estabrook, m66)
  3. Add history in loops (Laurence Darby, m48)
Please consult the Fixes files for a complete list of changes.
2010-03-14 14:06:09 +00:00
adam
0e4b46698f Changes 6.16.0:
* Bug fixes
2008-11-10 09:45:43 +00:00
markd
7b5b8c8bc5 patch from christos to stop tcsh seg faulting when given the line
/bin/echo "`"
or similar.
2008-06-23 21:09:43 +00:00
christos
47b8b067df fix the names, silly me. 2007-04-11 04:56:56 +00:00
christos
214fdf7a22 add new files 2007-04-10 00:50:24 +00:00
christos
33c150724b update to tcsh-6.15 2007-04-10 00:49:32 +00:00
joerg
88debb5c74 Also patch host.defs for completeness. 2005-11-10 23:04:10 +00:00
joerg
adae134b82 Add DragonFly to the list of BSD derived systems. 2005-11-10 22:54:09 +00:00
tron
44246e4462 Fix build problem under NetBSD-current. 2005-09-20 14:18:02 +00:00
grant
87fa42a177 fix build on OpenBSD, from Jason Lingohr. 2005-07-14 23:58:37 +00:00
kim
f26468b3d9 Make it compile on 1.6.2, I think. But it seems subtly odd, still... 2005-03-29 04:38:10 +00:00
kim
670d32bd4e Upgrade to tcsh 6.14.00
New Features:
    * UTF-8 handling for both singe and double width characters
    * termname builtin for testing whether a terminal type is
      available in termcap/terminfo
2005-03-25 19:13:24 +00:00
kim
16f34eea7e Look for libncurses also. 2004-08-27 15:14:04 +00:00
kim
1b94f19132 Upgrade to tcsh-6.13.00:
36. V6.13.00 - 20040519
 35. V6.12.03 - 20040322
 34. turn on kanji and dspmbyte by default; add check for utf8 locales,
     and turn parsing of that automatically based on $LANG.
 33. Fix compilation issue under Windows/NT and charset incorrect patch
     (Yoshiyuki Sakakibara)
 32. completion additions (Tom Warzeka)
 31. compilation fix (Martin Kraemer)
 30. V6.12.02 - 20040221
 29. Glob completion listing addition (Tom Warzeka)
 28. BS2000 bs2cmd builtin. (Martin Kraemer)
 27. Fix interrupt resetting code when /etc startup scripts have syntax errors
     (Mark A. Grondona)
 26. Clarification of kill-ring commands (Per Hedeland)
 25. Debian completion additions (Martin Godisch)
 24. Japanese character set fixes (Juehiro-san) from debian
 23. NLS charset fixes; disabled since they only work with gnu gencat
     (Martin Godisch)
 22. Fix HPUX >= 11 resource (Jack Cummings)
 21. Handle breaksw that jumps out of loops.
 20. Revert #16. It causes worse problems.
 19. Avoid using execl() because the last NULL does not always promoted to
     a pointer because the function is variadic (Harti Brandt)
 18. revert ignoreeof to the 6.11.00 behavior and document it (Martin Godisch)
 17. do a case insensitive comparison for the multibyte vars (Martin Godisch)
 16. don't sigsuspend() for an already exited job
 15. glob all arguments in source (Martin Godisch)
 14. various debian fixes (Martin Godisch)
 13. setenv syntax check revert (Satoshi I. Nozawa)
 12. EAGAIN typo (dan harkless)
 11. filec compilation issue on hpux (beebe)
 10. win32 compilation fixes for O_LARGEFILE (amol)
  9. Don't go into an infinite loop when tcgetpgrp() returns an error.
  8. Cygwin fixes (Corinna Vinschen)
  7. NLS catclose() bug avoidance (KAJIMOTO Masato)
  6. V6.12.01 - 20030208
  5. Misc NT cleanup. No more GPL code (amol)
  4. use strtol() to detect errors in builtin kill (Peter Jeremy)
  3. Recognize linux systems on mips* (Maciej W. Rozycki)
  2. Enable complete=igncase on unix (Stephen Krauth)
  1. Eliminate maxitems (Todd Miller)
2004-05-19 17:42:35 +00:00
kim
5de86789ec Add utmpx support from the tcsh CVS repo (by christos). 2002-09-15 19:16:44 +00:00
kim
113a9bc8f1 Fix Japanese message support, and enable multibyte character sets.
Note:  users of the meta key may want to "set nokanji" from now on.

Based on patches from Jun Yamashiro <yamajun@ofug.net> in PR 15274.
2002-08-11 05:11:17 +00:00
kim
e56e1884c9 Upgrade to tcsh-6.12.00:
New Features:
	* %j in prompt
	* utf8 support

New Ports:
	* darwin support

Locale Support:
	* russian locale fixes
	* polish locale fixes

Highlights from Bug Fixes:
	* Dissallow setting of environment variables that do not contain
	  alphanumeric names
	* Don't expand path components that don't resolve to path names
	* Make $ignoreeof agree with the man page
	* Don't close file descriptors too early because setuid scripts fail
2002-07-24 17:51:32 +00:00
abs
7654666fdb Imagine my surprise when this failed to build on my -current shark.
Rather than require that _every_ new port update config.guess,
    fall back to using `uname -p`-unknown-netbsd on >= 1.4,
    so we only need to patch for each new machine_arch.
2002-04-11 15:26:19 +00:00
minoura
7d0823fbb4 Changes from basesrc/bin/csh/dol.c:1.18-1.19.
> Fix problem where
>         % echo $20000000000
>         Segmentation fault (core dumped)
I believe the problem is already known to the maintainer of tcsh
(=christos).
2002-01-31 15:02:22 +00:00
tron
0479880c16 Add fix for problems reported in PR kern/14968. The patch was provided
by Christos Zoulas in private e-mail.
2001-12-17 19:26:24 +00:00
kim
f22de89bd8 Upgrade to tcsh-6.11.
NOTE:  Polish translation is excluded from the package due to broken files.

New Features:
        * kill ring                             Per Hedeland
        * bsd style colorls                     Anand
        * big5 multi-byte support               Yen-Ming Lee
        * LARGEFILE support on Linux            Kimmo Suominen
        * jobcmd alias                          Greg Parker

New Ports:
        * concurrent's powermaxos               Matt Majka
        * hpux11                                Joshua Weage

Locale Support:
        * estonian translation                  Toomas Soome
        * russian translation                   Ilmar S. Habibulin
        * polish translation                    Pawe³ New

Complete list of changes:

 40. V6.11.00 - 20010902
 39. Completion fixes (Tom Warzeka)
 38. make c_insert not static so that it can be used from win32 (amol)
 37. Fix rmstar not to corrupt memory when we say no. (Mark Peek)
 36. V6.10.02 - 20010806
 35. polish nls locale (Pawe³ New)
 34. Fix a tcsetattr race running background jobs as the last line on an xterm
     window (Andrew Brown)
 33. jobcmd alias (Greg Parker)
 32. hpux11 support (Joshua Weage)
 31. Fix SHORT_STRINGS compilation (Daniel Trinkle)
 30. Add kill -s (Mark Peek)
 29. Don't recognize all mips as dec (Bjorn Knutsson)
 28. Fix GLOB_QUOTE problem (noted by Per) I introduced in 6.10.01.
 27. Port to concurrent's powermaxos (Matt Majka)
 26. New builtin srcfile (Amol)
 25. Fix bindkey "\\" cmd (reported by Ismail H. Tuncer)
 24. %0Xc was broken in the prompt if the user's home directory was '/'.
     (reported by Edward Glowacki)
 23. V6.10.01 - 20010426
 22. LARGEFILE support on Linux.
 21. Add big5 multibyte support (Yen-Ming Lee)
 20. Check the return value of setpriority (Dima Dorfman)
 19. Avoid constructing paths with // on DomainOS (Nickolai Zeldovich)
 18. Russian translation (Ilmar S. Habibulin)
 17. Fix hostdefs for alpha support in FreeBSD (Andrey A. Chernov)
 16. Add door support in colorls (Shaen)
 15. Add BSD_STYLE_COLORLS for FreeBSD (Anand)
 14. MAXHOSTNAMELEN needs to be 256 (Kris Kennaway)
 13. Document stty -tabs problems on compaq (Nelson H. F. Beebe)
 12. Fix broken comment, and new versions of config.guess and config.sub
     (H.Merijn Brand)
 11. fix redrawing in the recognize case (Andrew Brown)
 10. don't call qsort with 0 items. (Luke Mewburn)
  9. fix echo;echo;echo; not outputing anything (Andrey A. Chernov)
  8. Fix shell word parsing in dabbrev-expand (Per Hedeland)
  7. hpux fixes (Chienting Lin)
  6. Implement kill ring (Per Hedeland)
  5. Avoid core-dumping when a very long $HOME gets passed in (Kris Kennaway)
  4. Add rlimit_vmem for linux based on rlimit_as (N KomaZaki)
  3. back out symlink=expand path check.
  2. Add Estonian translation (Toomas Soome)
  1. Accept empty $savedirs to mean infinity.
2001-09-03 01:57:21 +00:00
wiz
cf6e61598f Recognize mipseb (for NetBSD/sgimips).
Patch from pkg/13132 by Rafal Boni.
2001-06-07 13:28:04 +00:00
hubertf
5a8f2e47e0 Stop the config script from thinking every mips machine is a pmax:
Before:
	raqim# echo $version
	tcsh 6.09.00 (Astron) 1999-08-16 (mipsel-dec-NetBSD) options 8b,nls,dl,al,rh,color
						 ^^^

After:
	raqim# echo $version
	tcsh 6.10.00 (Astron) 2000-11-19 (mipsel-mips-NetBSD) options 8b,nls,dl,al,rh,color
						 ^^^^

Patch contributed by rafal@mediaone.net in PR 12993.
2001-05-24 01:17:28 +00:00
christos
0087f7ea52 update for tcsh-6.10.00 2000-11-19 21:44:06 +00:00
christos
1f1e1f1045 adjust to 6.10.00 2000-11-19 21:40:43 +00:00
agc
8474d59eef Remove obsolete patch, and regen checksum file.
On Solaris, work around a configure script bug - pass the Operating
System version to configure.
1999-08-17 16:00:02 +00:00
kim
a142f32f73 Upgraded to tcsh 6.09.00 1999-08-16 23:01:21 +00:00
agc
1985bb5824 Solaris 2.6 redefines rlimit to rlimit64, to catch the rlimit() call
when function names are re-defined.  Unfortunately, it also does that
after defining "struct rlimit", and so we lose because it can't find
the structure.  So we get to redefine it ourselves before
<sys/resource.h> is included.  Thanks, guys.
1999-07-08 12:48:42 +00:00
kim
7f620c4145 Upgrade to tcsh-6.08.00 1998-10-03 07:06:23 +00:00
kim
7b551dedb1 Revert turning off AUTOLOGOUT. It is not good to change known behaviour
when it does not break anything or cause security problems (i.e. if it is
only a personal preference), especially when the change is configurable
during run-time.  It will just confuse people who run the program on
multiple platforms.
1998-09-13 19:12:05 +00:00
tv
64b8b142df Re-enable REMOTEHOST. Though "autologout" can be set via a `set' command,
you lose functionality by disabling REMOTEHOST at compile time.
1998-09-09 00:17:24 +00:00
tron
fd2e0c1677 Create a sane default path if environment variable "PATH" is not set,
patches supplied by Jim Bernard in PR pkg/6127.
1998-09-08 22:36:34 +00:00