<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pkgsrc/shells/osh, branch cube-native-xorg</title>
<subtitle>[no description]</subtitle>
<id>https://git.osdyson.ru/mirror/pkgsrc/atom?h=cube-native-xorg</id>
<link rel='self' href='https://git.osdyson.ru/mirror/pkgsrc/atom?h=cube-native-xorg'/>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/'/>
<updated>2008-07-18T14:58:31Z</updated>
<entry>
<title>Update osh to 20080629, requested by PR 39067.</title>
<updated>2008-07-18T14:58:31Z</updated>
<author>
<name>obache</name>
<email>obache@pkgsrc.org</email>
</author>
<published>2008-07-18T14:58:31Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=7cdc0a67be54eab067161347cf3cfd4e5f46f322'/>
<id>urn:sha1:7cdc0a67be54eab067161347cf3cfd4e5f46f322</id>
<content type='text'>
Significant changes include the following:

1) Support was added for 3 new command-line options: "-i", "-l", and "-v".

2) Support was added for 3 new rc files.

   *) This includes a system-wide "osh.oshrc",
      a system-wide "osh.logout", and a user ".osh.logout".

See http://v6shell.org/src/CHANGES for full details.</content>
</entry>
<entry>
<title>Update osh to 20080109.</title>
<updated>2008-01-19T12:08:29Z</updated>
<author>
<name>obache</name>
<email>obache@pkgsrc.org</email>
</author>
<published>2008-01-19T12:08:29Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=1fccd09af43172687274ddb61f53eb3cf006e469'/>
<id>urn:sha1:1fccd09af43172687274ddb61f53eb3cf006e469</id>
<content type='text'>
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 &gt;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...</content>
</entry>
<entry>
<title>The package supports installation to DESTDIR.</title>
<updated>2007-05-12T16:18:55Z</updated>
<author>
<name>heinz</name>
<email>heinz@pkgsrc.org</email>
</author>
<published>2007-05-12T16:18:55Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=e20b55a52d56e4dc66abfe55f653e87e839a845e'/>
<id>urn:sha1:e20b55a52d56e4dc66abfe55f653e87e839a845e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert PLIST.</title>
<updated>2007-03-26T17:01:59Z</updated>
<author>
<name>reed</name>
<email>reed@pkgsrc.org</email>
</author>
<published>2007-03-26T17:01:59Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=d6c5898466ce55d5bc67fe84c18483e3140823e8'/>
<id>urn:sha1:d6c5898466ce55d5bc67fe84c18483e3140823e8</id>
<content type='text'>
Use different install target.

Bump PKGREVISION.

This is also for PR 36080.

(TODO: look at SYSCONFDIR which is /etc.)</content>
</entry>
<entry>
<title>Add glob6 and sh6 and respective manpages to PLIST.</title>
<updated>2007-03-26T16:58:25Z</updated>
<author>
<name>reed</name>
<email>reed@pkgsrc.org</email>
</author>
<published>2007-03-26T16:58:25Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=480487fae331dd0e5f5403cddea018038ccf3984'/>
<id>urn:sha1:480487fae331dd0e5f5403cddea018038ccf3984</id>
<content type='text'>
Not bumping PKGREVISION as my update was a few minutes ago.

This is for PR 36080.</content>
</entry>
<entry>
<title>Update osh to version 20070324. This is for PR 36080 from upstream</title>
<updated>2007-03-26T16:43:34Z</updated>
<author>
<name>reed</name>
<email>reed@pkgsrc.org</email>
</author>
<published>2007-03-26T16:43:34Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=2a6757e6038b8bfcd721756388a886bf6fff106e'/>
<id>urn:sha1:2a6757e6038b8bfcd721756388a886bf6fff106e</id>
<content type='text'>
developer.

pkgsrc changes include:

Use BUILD_TARGET=oshall as request in PR.
And make it work with PKGMANDIR.

CHANGES file includes:

Changes that improve compatibility w/ the Sixth Edition Unix shell
are marked w/ a `C:' in the details below.

-------------------------------------------------------------------------------
[osh-20070324]:
osh.c:
	* In main(), changed when fdfree() is called so that it is in a more
	  ideal sequence with other operations according to how the shell is
	  invoked (e.g., interactive shell vs. non-interactive shell).

-------------------------------------------------------------------------------
[osh-20070321]:
	* Imported the project into a local subversion repository.

	* Changed the all of the code to "#include &lt;stdbool.h&gt;" and to use
	  the "bool" data-type macro where appropriate.

Makefile:
	* Added SYSCONFDIR and a new `man' target.

osh.c:
	* Defined _PATH_SYSTEM_LOGIN as `SYSCONFDIR/**/"/osh.login"' instead
	  of "/etc/osh.login" so that the user can use SYSCONFDIR (/etc by
	  default) at build-time to specify the directory where the shell
	  shall search for its system-wide initialization file.

	* Added a new special parameter, $v, which makes the version of the
	  osh package available as a read-only string.  The format is
	  `osh-YYYYMMDD' for official releases and `osh-current (YYYYMMDD)'
	  (interpreted as one word) for development snapshots.

	* Fixed a bug where interactive shells were no longer ignoring SIGTERM
	  when invoked, as they are supposed to.  Now, SIGTERM is being ignored
	  again upon invocation of all interactive shells.

	* Fixed the output from doing a `sigign' so that it matches its
	  documentation in osh.1: "..., a list is printed of those signals
	  which are ignored by sigign in the current shell."

	  Previously, the output from a `sigign' could be a little confusing.
	  Now, its output only indicates those cases where a given signal is
	  being ignored w/ the possibility that it can then be unignored
	  (reset) in the current shell context.

if.c:
	* Added 3 new primaries: -ef (equal files - same device, same inode),
	  -nt (newer than), -ot (older than).  See the if(1) manual page for
	  full details.

-------------------------------------------------------------------------------
[osh-20070131]:
osh.1:
	* Made a few minimal changes to synchronize the manual w/ the code.

osh.c	1.2 (jneitzel) 2007/01/14:
	* Changed the `chdir: No old directory' diagnostic to
	  `chdir: No previous directory' to match the manual.

-------------------------------------------------------------------------------
[osh-20061230]:
	The following files have been removed in this release:
		examples/*: These files are now available at:
			    http://jneitzel.sdf1.org/osh/initialization_files/
		   tests/*: ... until I have a chance to rewrite them ...

*.1:
	* Changed all instances of `UNIX' to `Unix' since the name
	  of the Unix operating system is not an acronym.

pexec.c:
	* Fixed a possible, but very unlikely, memory leak.

osh.c:
	C: Rewrote the shell!  It is now a combination of the ports of the
	   original source code from sh6.c and glob6.c (see CHANGES_sh-to-sh6)
	   w/ the prior enhancements which were found in osh-060124/osh*.[ch] .

fd2.c:
	* Removed the call to lseek(2) to end-of-file for errors.
	  The shell determines when this is necessary.

	* Changed the `: no shell' diagnostic to `: No shell!'
	  in the spirit of sh6(1).

goto.c:
	* Fixed a bug which interfered w/ finding a requested label when
	  its first character had the high-order bit set.  The value of the
	  first character is now passed to getlabel() as an unsigned char
	  converted to an int to allow correct comparison in such a case.

if.c:
	* Removed the call to lseek(2) to end-of-file for errors.
	  The shell determines when this is necessary.

	* Changed the method used to build the argument list for all commands
	  executed by this utility, and removed the `Too many args' diagnostic.
	  The maximum length of the argument list for a command is now limited
	  only by the maximum length that the invoker can pass and by any
	  system-imposed limit for execve(2) (see E2BIG in errno(2)).

	* Changed the `: no shell' diagnostic to `: No shell!'
	  in the spirit of sh6(1).

	* Changed the diagnostic used for `!', `-a', `-o', and `(' operator
	  errors from `: argument expected' to `: expression expected'.</content>
</entry>
<entry>
<title>Update osh to 060124.</title>
<updated>2006-10-17T12:31:22Z</updated>
<author>
<name>obache</name>
<email>obache@pkgsrc.org</email>
</author>
<published>2006-10-17T12:31:22Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=72be67100e633619b357e34c18def87f807977bc'/>
<id>urn:sha1:72be67100e633619b357e34c18def87f807977bc</id>
<content type='text'>
Patch provided by Martin Wilke via PR 34313.

[osh-060124]:
Makefile:
	* Added targets for building/installing sh6(1) and glob6(1).
	  Refer to the README file for further details.

	* Removed the `check-sh6' target since the tests were originally
	  written for osh(1) and sh6(1) as Thompson-shell reimplementations,
	  not ports.

sh6:
	* Changed sh6(1) from being a reimplementation which is compiled from
	  the same sources as osh(1) to being a port of the original Thompson
	  shell from Sixth Edition Unix.  Refer to the CHANGES_sh-to-sh6 file
	  for further details.

osh:
	C: Treat both `( ; )' and `( &amp; )' as syntax errors.

	C: Print the process ID for each command of an asynchronous pipeline,
	   not just the last command.

	C: Added the `newgrp' special command.  It is similar to `login'
	   except that the newgrp(1) utility replaces the current interactive
	   shell rather than the login(1) utility.

	* When opening `/dev/null' is needed for an asynchronous command,
	  call open(2) w/ the O_RDONLY flag instead of O_RDWR.</content>
</entry>
<entry>
<title>Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no</title>
<updated>2006-03-04T21:28:51Z</updated>
<author>
<name>jlam</name>
<email>jlam@pkgsrc.org</email>
</author>
<published>2006-03-04T21:28:51Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=9c8b5ede437e0b7c2f7b0cdd5f8500d619968fdb'/>
<id>urn:sha1:9c8b5ede437e0b7c2f7b0cdd5f8500d619968fdb</id>
<content type='text'>
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.</content>
</entry>
<entry>
<title>Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk</title>
<updated>2005-12-29T06:21:30Z</updated>
<author>
<name>jlam</name>
<email>jlam@pkgsrc.org</email>
</author>
<published>2005-12-29T06:21:30Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=dc9594e09db96635641a7e05b49d34b554b9bb21'/>
<id>urn:sha1:dc9594e09db96635641a7e05b49d34b554b9bb21</id>
<content type='text'>
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.</content>
</entry>
<entry>
<title>Teach the +SHELLS helper script to not create an /etc/shells file if</title>
<updated>2005-09-20T04:23:48Z</updated>
<author>
<name>jlam</name>
<email>jlam@pkgsrc.org</email>
</author>
<published>2005-09-20T04:23:48Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=5b62763c632fec2c0d7cc1986b8a5942802e1fb4'/>
<id>urn:sha1:5b62763c632fec2c0d7cc1986b8a5942802e1fb4</id>
<content type='text'>
one doesn't exist.  From now on, we only add the listed PKG_SHELL to
the /etc/shells file if it already exists.  This fixes PR pkg/27162.</content>
</entry>
</feed>
