Commit graph

27 commits

Author SHA1 Message Date
jlam
9813468816 * Separate out the shell registration into a separately unpacked script
+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.
2005-07-29 18:32:17 +00:00
jlam
e46a9dd380 Create directories before installing files into them. 2005-06-17 03:50:19 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tv
3980c78f5a Turn off on Interix, as it takes almost a day to build to the point of dying.
Will investigate and fix later....
2005-04-08 12:56:33 +00:00
wiz
494514760e Remove OpenBSD RCS Id, not really useful here. 2005-03-24 21:16:14 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
jlam
a2cb0e6a3e Wrapper scripts break when passed an argument that contains a newline
character, so remove it from the ast-ksh make.probe.
2004-11-12 18:08:54 +00:00
uebayasi
b68b052553 This can be built on Linux. No longer restricted only for NetBSD.
Reported by Roland Illig, PR26623.
2004-08-13 09:10:07 +00:00
jlam
435108aef7 bl3ify 2004-02-09 18:32:02 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
reed
aa42f1c5ce Capitalize first letter of COMMENT. 2003-12-09 00:54:29 +00:00
kristerw
9ba443237d Update ast-ksh (and static-ast-ksh) to version 20030724.
Changes since 20030621:
* A bug in which could cause memory corruption when a posix
  function invoked another one has been fixed.
* A bug in which a file descriptor>2 could be closed before
  executing a script has been fixed.
* A parsing error for <() and >() process subsitituions inside
  command substitution has been fixed.
* A parsing error for patterns of the form {...}(...) when
  used inside ${...} has been fixed.
* An error in which expanding an indexed array inside a compound
  variable could cause a core dump has been fixed.
* A bug in which under on rare ocassions a job completion interrupt
  could cause to core dump has been fixed.
* A bug in which process substitution embeded within command
  substitution would generate a syntax error has been fixed.

This update does also fix the build problems on NetBSD-current reported
by Steven M. Bellovin in PR pkg/22422.
2003-08-12 23:28:58 +00:00
wiz
4fc5371add Replace inclusion of a file that just contains
.include "../../mk/bsd.pkg.mk"
with that line instead.
2003-08-11 17:27:55 +00:00
kristerw
b600fbe54e Update ast-ksh (and static-ast-ksh) to version 20030621.
Changes since 20030422 (from the release notes):
   A source and binary update. There are few small but significant patches
   for ksh and nmake. nmake -l/+l library list generation is much improved.
   IBM z-series { linux.s390, linux.s390-64 } and i-series { linux.ppc64 }
   binary architectures have been added, and the ebcdic { mvs.390 } has
   been updated after a long absence.
2003-07-25 18:02:37 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
agc
6205ac1da0 Add a mirror for the INIT... distfile 2003-07-17 10:21:03 +00:00
jschauma
874df2b597 s/packages@/tech-pkg@/g
(Forgot the last time we did this.  Pointed out by Sergey
Svishchev (svs at ropnet dot ru))
2003-06-23 14:23:13 +00:00
uebayasi
b8adf442de Add static version of ast-ksh.
Requested by Steven M. Bellovin <smb at netbsd dot org> on
netbsd-users@netbsd.org.
2003-05-31 16:14:47 +00:00
uebayasi
705ac1032c Update to 2003-04-22.
Tested on 1.6R (i386).

Changes:

03-03-18  --- Release ksh93o  ---
03-03-18  A -N unary operator was added to test and [[...]] which returns
	  true if the file exists and the file has been modified since it
	  was last read.
03-03-18  The TIMEFORMAT variable was added to control the format for
	  the time compound command.  The formatting description is
	  described in the man page.
03-03-06  A -N n option was added to read which causes exactly n bytes
	  to be read unlike -n n which causes at most n bytes to be read.
03-03-03  Three new shell variables were added.  The variable .sh.file
	  stores the full pathname of the file that the current command
	  was found in.  The variable .sh.fun names the current function
	  that is running.  The variable .sh.subshell contains the depth
	  of the current subshell or command substitution.
03-03-03  When the DEBUG trap is executed, the current command line after
	  expansions is placed in the variable .sh.command.  The trap
	  is also now triggered before each iteration of a for, select,
	  and case command and before each assignment and redirection.
03-02-28  Function definitions are no longer stored in the history file so
	  that set -o nolog no longer has any meaning.
03-02-28  All function definitions can be displayed with typeset -f not
	  just those stored in the history file.  In addition, typeset +f
	  displays the function name followed by a comment containg the
	  line number and the path name for the file that defined this function.
03-02-28  A bug in which the value of $LINENO was not correct when executing
	  command contained inside mult-line command substitutions has been
	  fixed.
03-02-19  Since some existing ksh88 scripts use the undocumented and
	  unintended ability to insert a : in front of the % and # parameter
	  expansion operators, ksh93 was modified to accept :% as equivalent
	  to % and :# as equivalent to # with ${name op word}.
03-02-14  A bug which could cause a core dump when reading from standard
	  error when standard error was a pty has been fixed.
03-02-14  The shell arithmetic was modified to use long double on systems
	  that provide this data type.
03-02-09  A bug in which a function located in the first directory in FPATH
	  would not be found when the last component of PATH was . and the
	  current directory was one of the directories in PATH has been fixed.
03-02-07  The trap and kill builtin commands now accept a leading SIG prefix
	  on the signal names as documented.
03-02-05  A bug in the expansion of ${var/$pattern}, when pattern contained
	  \[ has been fixed.
03-02-05  A bug in which .sh.match[n], n>0, was not being set for substring
	  matches with % and %% has been fixed.
03-01-15  A bug in which getopts did not work for numerical arguments specified
	  as n#var in the getopts string has been fixed.
03-01-09  A bug in which using ${.sh.match} multiple times could lead to
	  a memory exception has been fixed.
03-01-06  A bug in the expansion of ${var/pattern/$string} in the case that
	  $string contains \digit has been fixed.
03-01-02  A -P option was added for systems such as Solaris 8 that support
	  profile shell.
03-01-02  For backward compatibility with ksh88, arithmetic expansion
	  with ((...)) and let has been modified so that if x is a zero-filled
	  variable, $x will not be treated as an octal constant.
2003-05-28 01:22:43 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
wiz
246e1b5e85 s/${ENV}/${SETENV}/, noted by Kevin P. Neal in connection with PR 19586. 2003-02-09 14:38:51 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
uebayasi
2bcdefbecb Update ast-ksh to 20021221.
Changes from 20020922 (other than bug fixes) are:

	* The code to display compound objects was rewritten to make it easier
	  for runtime extensions to reuse this code.
	* A change was made to allow runtime builtins to be notified when a
	  signal is received so that cleanup can be performed.
	* User applications can now trap the ALRM signal.  Previously, the ALRM
	  signal was used internally and could not be used by applications.
2003-01-08 07:04:13 +00:00
uebayasi
0f0c3011f4 Build script needs to be run with Pdksh. Reconverted to Buildlink2.
Fix provided in PR19190 by Greg A. Woods.
2002-11-29 04:16:45 +00:00
salo
80f17bf2ba Convert packages to PKG_REGISTER_SHELLS framework. 2002-11-17 09:01:59 +00:00
jlam
ba7f4abc85 Explicitly note that this package doesn't yet work with buildlink2. 2002-10-08 14:18:56 +00:00
uebayasi
dc3ff60087 Initial import of ast-ksh-20020922, "The Korn Shell".
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.
2002-10-04 02:19:13 +00:00