Age | Commit message (Collapse) | Author | Files | Lines |
|
Bugfixes, mostly affecting readline stuff.
|
|
No changes in mksh R33c except for Ultrix support. None in R33d.
In mksh R33b, much more compilers are detected, even if not all of
them are supported. The OE (OS and CC/LD) versions are now dumped
too. Instead of #error, forced link failures are now used as the
mechanism to auto-detect some things in the target environment.
Features are now much better detected, and some annoying warnings
don't show up any longer due to this. Less tools are required to
build.
Please be reminded that you should run ./test.sh -v inside an
environment with /dev/tty available (as device node) and usable
(e.g. use script(1) or GNU screen if you're doing auto-builds
detached from controlling terminal). Use -v to see failures.
No surprises in mksh R33 either, but the build system now gives
more detailed output on the version actually built, to aid tracking
down FTBFSen (build errors) with access to only the build logs.
Regression tests now work with Intel's compiler on SLES too, which
requires a custom LD_LIBRARY_PATH formerly stripped by the script.
|
|
|
|
|
|
A relatively new feature in bash is programmable completion, which
has been available since the beta version of 2.04. Programmable
completion will be familiar to you if you are a zsh user. It also
exists, albeit in a much less usable form, in tcsh.
Standard completion
bash has offered many forms of completion since its inception,
including path, file, user, host and variable completion.
* Path-name completion
* File-name completion
* User-name completion
* Host-name completion
* Variable-name completion
Programmable completion indefinitely extends the type of completion
you can perform.
This package contains a variety of completions for various programs.
|
|
e.g. match IRIX 5.x but not 6.x. Some of these may indeed apply to 6.x
too, but let's be conservative. PR pkg/38224.
|
|
Fixes PR 38195.
|
|
termcap library -- revision 1.2 of termcap.buildlink3.mk already fixes
this issue.
|
|
|
|
instead of self-detecting what's in the base system.
Bump the PKGREVISION to 1.
|
|
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...
|
|
|
|
|
|
|
|
|
|
pkgsrc-users.
|
|
R32:
* Make checks for symbol declarations compile checks instead of link
checks, as the binding may not succeed due to different symbol types,
for instance on AIX, if the declaration does not match
* Widen the range of array indices to [0..2^3ý-1], with negative values
being mapped into the high-bit31 range for simplicity
* Fix the pipeline-as-coprocess internal error
* Do not require certain integer types to be defined any more
R31d:
* Support pcc (the ragge version of the Portable C Compiler)
* Add pushd/popd/dirs functions (csh) and precmd/chpwd hooks (zsh) to
dot.mkshrc which now requires readlink(1) with -f; requested by many
(e.g. some Gentoo users; XTaran of symlink.ch)
* Enable colour escapes in dot.mkshrc since almost nobody groks how to
do it right from the manual
* Remove -DMKSH_NEED_MKNOD checks from Build.sh, people should use the
HAVE_MKNOD environment variable
* Implement parallel make in Build.sh
* Fix another busy-loop spinning problem introduced by an icc warning,
thanks to spaetzle@freewrt.org for keeping to bug me to look for it,
as it affected GNU/Linux most, followed by Solaris, rarely BSD
* Improve standard integer type detection in Build.sh
* Cleanups in code, build script and manual page
R31b:
* Fix typo (blsk -> bksl) in check.t test naming
* Autoscan for uint32_t, u_int etc. presence
* Fix some memory leaks, mostly by NetBSD(R) via OpenBSD
* The "unset" builtin always returns zero, even if the variable was
already unset, as per SUSv3 (reported by Arkadiusz Miskiewicz via
pld-linux -> oksh)
* In tab-completion, escape the question mark, reminded by
cbiere@netbsd.org, via oksh
* Fix a busy-loop problem, Debian #296446 via oksh
* Fix a few display output problems in the build script
* Shut up some gcc warnings on Fedora; beautify some code
* Support OSF/1 with gcc2.8, thanks to Jupp Schugt
* Fix gcc4 detection of __attribute__() on non-SSP targets
R31:
* Support the TenDRA compiler (possibly also Ten15, not tried)
* Begin supporting Fabrice Bellard's Tiny C Compiler (tcc on Debian
cannot link due to duplicate symbols in GNU libc, thus unfinished)
* Improve some mirtoconf checks (most notably, mknod(2) and macros)
* Add new emacs editing command "clear-screen" (ESC ^L) as requested by
D. Adam Karim <archite@midnightbsd.org>
* Support building for MidnightBSD
* Add new shell alias "source", semantics like the GNU bash builtin
* Add new shell option "set ño arc4random", controlling whether rand(3)
or arc4random(3) is used for the $RANDOM value, use
arc4random_pushb(3)
* Add new builtin "rename" (just calls rename(2) on its arguments)
* Fix the inofficial OpenBSD port, from D. Adam "Archite" Karim, 10x
* Disable the less(1) history file by default (privacy issues) in the
sample dot.mkshrc file; mention other things in etc_profile
* Fix a syntax error in Build.sh checking for TenDRA
|
|
in DNS. Mentioned by Zafer Aydogan in PR pkg/37321.
|
|
|
|
|
|
can handle packages having no PLIST files.
|
|
|
|
|
|
|
|
files. Pointed out by Hiratsuka-san.
|
|
Several fixes of multi-byte character support.
Patch from Chris Ross, thanks.
|
|
|
|
targets so that we don't rely on BSD make for the build and install.
Bump the PKGREVISION to 2 as we no longer install the catman page.
|
|
|
|
This is corrected one.
FreeBSD needs PLIST.shlibs as DraonFly.
|
|
|
|
|
|
|
|
linking behavior under NetBSD. This matches what "bsd.shlib.mk" does
and avoids "Malformed conditional" warnings under other platforms.
This fixes PR pkg/36769 by Yakovetsky Vladimir.
|
|
useful for category Makefiles, as opposed to bsd.pkg.subdir.mk, which is
also relevant for the top-level directory. Adjusted the category Makefiles.
|
|
* If the basename of argv[0] starts with "sh", activate FPOSIX early,
preventing some typical ksh aliases from being defined.
* If FPOSIX, don't pre-define aliases (except integer and local) to
benefit operating environments that never heard of the great Korn Shell.
* Support x=(a b c) bash-like array initialisation
* Support ${foo:2:3} bash-like substring expansion
* Don't try to execute ELF, a.out, COFF, gzip or MZ binaries, e.g.
mksh /bin/sh.
* Prefer well-known signal names to alphabetically earlier ones
* Fix a bug delivering ERR and EXIT pseudo-signals to traps combined
with "set -e".
Update from mirabilos#pkgsrc with small fixups by me.
|
|
line is defined before bsd.prefs.mk is included.
|
|
|
|
|
|
version. Some other small bugfixes and portability fixes are included
as well. From Thorsten Glaser.
|
|
bugs and issues shown by Coverity Prevent. From Thorsten Glaser.
Add DESTDIR support.
|
|
|
|
if not, in 'package' phase, PKGNAME==DISTNAME.
Remove WRKSRC definision, it equals to default value.
|
|
|
|
depend on a control terminal during build.
|
|
|
|
|
|
|
|
|
|
|