pkgsrc/shells
obache 1fccd09af4 Update osh to 20080109.
Based on patch provided by Jeffrey Allen Neitzel in PR 37737.
My modification:
 * Honor PKGMANDIR
 * Update MASTER_SITES and HOMEPAGE to new location.

Changes:
[osh-20080109]:
	* New file:  mkconfig  (see Build/Install Changes)

	* Moved files:	Moved manual pages from *.1 to *.1.in to make their
			generation and installation simpler in the Makefile.

Build/Install Changes:
	* Stopped defining _XOPEN_SOURCE when compiling on Mac OS X, NetBSD,
	  and OpenBSD.  It is simply not necessary.  However, _XOPEN_SOURCE
	  and _BSD_SOURCE are necessary on GNU/Linux systems.

	* Added a simple configure script, mkconfig.  It is automatically
	  invoked from the Makefile to write out an appropriate "config.h"
	  file according to the osh package's needs on the given system.  It
	  simply sets PATH_LOGIN, PATH_NEWGRP, _XOPEN_SOURCE, and _BSD_SOURCE
	  as needed so that the user does not need to bother w/ doing it
	  manually at build time.

osh.c:
	* Patched the code to fix a "$0" parameter-substitution problem w/
	  the `source' command in the following interactive context:

		% cat >file
		echo \$0 == \"$0\"
		echo \$1 == \"$1\"
		^D
		% source file ;		: ... gives correct value for "$0".
		$0 == ""
		$1 == ""
		% source file arg ;	: ... gives incorrect value for "$0".
		$0 == "0"
		$1 == "arg"

	  getdolp() indirectly caused the problem by returning a NULL pointer
	  when the intended result was a pointer to the empty string.  This
	  problem was not fatal, as the shell handles NULL pointers from
	  getdolp() anyway.  However, NULL is supposed to indicate an
	  error where the specified parameter means nothing to the shell...
	  For example:

		% echo \$Z == \"$Z\"
		$Z == "Z"

	* Changed the source command's parameter-substitution behavior so
	  that $0 always results in the name of the sourced command file,
	  not the name inherited from the main shell context.  This makes
	  the parameter-substitution behavior of sourced command files
	  just like that of any other osh command file.  Plus, this is
	  the documented behavior.

osh.1.in, sh6.1.in:
	* Revised some wording to remove some cases of possible ambiguity.

-------------------------------------------------------------------------------
[osh-20070707]:
	* Added a new file, INSTALL, which contains build and install
	  instructions.  Made reference to INSTALL in Makefile and README.

Makefile:
	* Added 3 new variables, MOXARCH, MOXSHELLARCH, and MOXUTILSARCH, to
	  simplify building universal binaries for Mac OS X.  These are unset
	  by default.  See INSTALL for more info.

	* Changed the default value for SYSCONFDIR from /etc to $(PREFIX)/etc.

osh.c:
	* Changed the reserved file descriptors from (7 - 9) to (10 - 12) in
	  order to avoid fd conflict w/ rxvt-unicode (version 8.2).  This
	  conflict prevented `chdir -' from functioning correctly, but this
	  problem is now fixed.

	  The problem was clearly visible when running an interactive instance
	  of osh under the rxvt-unicode daemon (urxvtd) on Mac OS X.  However,
	  I never saw this type of conflict when running under any other type
	  of terminal emulator on any OS.  Thus, I do not know if this was
	  only an osh problem, a urxvtd problem, a Mac OS X problem, or some
	  combination of the 3...
2008-01-19 12:08:29 +00:00
..
ast-ksh Standardize statvfs test. From Sergey Svishchev. 2007-12-02 12:55:08 +00:00
bash Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead. 2007-10-16 23:48:58 +00:00
bash2 Broken gettext detection. 2008-01-13 23:08:35 +00:00
bash2-doc Drop maintainership, I don't use this old version any longer. 2006-06-15 13:24:50 +00:00
eltclsh pkglint cleanup; update HOMEPAGE/MASTER_SITES. 2007-02-22 19:01:13 +00:00
es Some more packages need lex and yacc. Patch by Aleksey Cheusov on 2007-12-02 08:32:23 +00:00
esh share/emacs/site-lisp now exists by default -- don't try to remove it. 2007-02-20 19:04:10 +00:00
mksh Update from version R30 to R32, with myriad changes: 2007-11-23 07:58:57 +00:00
mudsh Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no 2006-03-04 21:28:51 +00:00
nologinmsg Conver to use the features framework and include do-build and do-install 2007-09-08 21:57:13 +00:00
osh Update osh to 20080109. 2008-01-19 12:08:29 +00:00
pdksh Remove Ex-MASTER_SITE. From Zafer Aydogan. 2007-12-02 12:29:02 +00:00
perlsh pkglint cleanup; update HOMEPAGE/MASTER_SITES. 2007-02-22 19:01:13 +00:00
posh Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no 2006-03-04 21:28:51 +00:00
rc Remove version, de-indent 2007-03-19 20:30:26 +00:00
rssh Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no 2006-03-04 21:28:51 +00:00
scponly Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk 2005-12-29 06:21:30 +00:00
scsh Don't require mtree. 2007-03-16 23:18:42 +00:00
standalone-tcsh Prevent this package from scanning the whole filesystem during the 2006-10-05 01:11:41 +00:00
static-ast-ksh Mark as BROKEN_IN pkgsrc-2006Q4, based on 2007-01-31 00:04:11 +00:00
static-tcsh PKGNAME must be defined before include bsd.pkg.mk, 2007-04-25 13:26:42 +00:00
tcsh Added support for installation to DESTDIR. 2008-01-03 23:18:07 +00:00
xsh Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk 2007-10-25 16:54:26 +00:00
zsh Mark zsh packages as MAKE_JOBS_SAFE=no (from ASau in pkgthon). 2007-11-04 15:58:24 +00:00
zsh-current Add support for pcre to options.mk if ZSH_STATIC is undefined. Bump rev. 2007-11-07 09:59:27 +00:00
Makefile Added mk/misc/category.mk, which contains the definitions that are only 2007-08-13 08:12:41 +00:00