pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Update osh to 040216 and enable pkgviews installation.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/56e276197f50
branches:  trunk
changeset: 474112:56e276197f50
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Apr 25 15:49:57 2004 +0000

description:
Update osh to 040216 and enable pkgviews installation.
This closes PR pkg/25314.

Changes:
        * Made various changes to hopefully improve the clarity.
          Added COMPATIBILITY, HISTORY, and NOTES sections.
        * Made changes to how the shell handles terminating `\' characters
          w/ the `-c' and `-t' flags.  This is a simple extension of the
          same behaviour exhibited when the shell is interactive or when it
          executes a command file, the only difference being that where a
          terminating `\' character causes the shell to read the next line
          of input in an interactive shell or command file, w/ the `-c' and
          `-t' flags the shell terminates w/o executing the command line.
        * Allow parameter substitution w/ the `-c' and `-t' flags.  This
          feature is not documented.  For example, invoking the shell as
          follows allows parameter substitution to take place:
          % osh -t one two three
          echo $0 $1 $2 $3
          -t one two three
        * The shell now ignores SIGINT and SIGQUIT when the `-c' or `-t' flag
          is used.  Thus, asynchronous commands invoked in this way ignore
          interrupts as they should.
        * Ignore SIGINT and SIGQUIT for all commands started from asynchronous
          subshells.  For example, `( sleep 300; some_command ) >outfile&' now
          ignores `^C' and `^\' as it should.
        * Don't ignore SIGINT and SIGQUIT for asynchronous commands started
          in command files.  If a command file is terminated by one of these
          signals, the asynchronous commands should also terminate.
        * Reverted a change made to termination reporting in osh-040216 that
          was not actually compatible w/ the V6 shell.
        * Always terminate the shell when read(2) fails.
          This fixes a possible infinite loop.
        * Fixed a bug in the parser that caused syntactically incorrect
          subshell commands not to be detected as such when preceded by
          redirection arguments (e.g., `<infile >outfile ( | )').
          This bug was introduced in osh-040216.
        * Fixed possible buffer overflows in substparm(); added a new error
          message, "Too many characters", and made other changes necessary to
          properly deal w/ the new error condition.  This problem had been
          present since at least osh-020214.
        * Made some changes to how globbing is handled by the shell.
          Specifically, glob(3) should only be called when an argument contains
          unquoted occurrences of any of the glob characters `*', `?', or `['.
          Previously, it was being called for every argument of an external
          command.  This change improves run-time performance slightly as
          judged by time(1) and information returned by getrusage(2).
        * The above-mentioned change also allows the following compatibility
          feature.  Added globbing compatibility when the shell is compiled
          w/ -DCLONE so that when no matches are found a diagnostic,
          "No match", is printed.

diffstat:

 doc/CHANGES         |  3 ++-
 shells/osh/Makefile |  6 ++++--
 shells/osh/distinfo |  6 +++---
 3 files changed, 9 insertions(+), 6 deletions(-)

diffs (47 lines):

diff -r 70f83b6f1dc8 -r 56e276197f50 doc/CHANGES
--- a/doc/CHANGES       Sun Apr 25 15:06:10 2004 +0000
+++ b/doc/CHANGES       Sun Apr 25 15:49:57 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.5734 2004/04/25 13:22:36 tron Exp $
+$NetBSD: CHANGES,v 1.5735 2004/04/25 15:49:57 minskim Exp $
 
 Changes to the packages collection and infrastructure in 2004:
 
@@ -2239,3 +2239,4 @@
        Added mstream-0.2 [kim 2004-04-24]
        Updated gdk-pixbuf to 0.22.0nb2 [xtraeme 2004-04-25]
        Updated p5-HTML-SimpleParse to 0.12 [minskim 2004-04-25]
+       Updated osh to 040216 [minskim 2004-04-25]
diff -r 70f83b6f1dc8 -r 56e276197f50 shells/osh/Makefile
--- a/shells/osh/Makefile       Sun Apr 25 15:06:10 2004 +0000
+++ b/shells/osh/Makefile       Sun Apr 25 15:49:57 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2004/02/23 01:58:41 xtraeme Exp $
+# $NetBSD: Makefile,v 1.7 2004/04/25 15:49:57 minskim Exp $
 # FreeBSD Id: ports/shells/osh/Makefile,v 1.3 2002/01/29 11:58:43 knu Exp
 
-DISTNAME=      osh-040216
+DISTNAME=      osh-040421
 CATEGORIES=    shells
 MASTER_SITES=  http://jneitzel.sdf1.org/osh/src/
 
@@ -9,6 +9,8 @@
 MAINTAINER=    tech-pkg%NetBSD.org@localhost
 COMMENT=       Implementation of the UNIX 6th Edition shell
 
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
 USE_BUILDLINK3=        yes
 USE_PKGINSTALL=        yes
 PKG_SHELL=     ${PREFIX}/bin/osh
diff -r 70f83b6f1dc8 -r 56e276197f50 shells/osh/distinfo
--- a/shells/osh/distinfo       Sun Apr 25 15:06:10 2004 +0000
+++ b/shells/osh/distinfo       Sun Apr 25 15:49:57 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2004/02/23 01:58:41 xtraeme Exp $
+$NetBSD: distinfo,v 1.4 2004/04/25 15:49:57 minskim Exp $
 
-SHA1 (osh-040216.tar.gz) = faa372d7efda3e7235a5c5f1d1091c440841bef8
-Size (osh-040216.tar.gz) = 34235 bytes
+SHA1 (osh-040421.tar.gz) = acce1ea52d7ceec5b802bebbb1da900cbfb4745d
+Size (osh-040421.tar.gz) = 36508 bytes



Home | Main Index | Thread Index | Old Index