Commit graph

580 commits

Author SHA1 Message Date
wiz
786fb816f3 + bash-completion. 2008-03-12 09:48:18 +00:00
wiz
f80633cd80 Initial import of bash-completion-20060301:
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.
2008-03-12 09:47:58 +00:00
tnn
882d3eb4fe Put back a couple of IRIX conditionals the way they used to behave,
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.
2008-03-11 18:47:40 +00:00
obache
6a6d8bb2e2 Change hack of MACHINE_GNU_PLATFORM for Solaris to catch up framework's change?
Fixes PR 38195.
2008-03-11 11:57:46 +00:00
jlam
9b3c0a4b25 Remove unnecessary hack to force the configure script to use only our
termcap library -- revision 1.2 of termcap.buildlink3.mk already fixes
this issue.
2008-03-02 07:08:39 +00:00
jlam
a2b9ff7333 Catch up with rename of termlib.* to termcap.*. 2008-02-29 22:42:02 +00:00
jlam
8ed0c8a489 + Teach shells/tcsh to use the terminal library required by pkgsrc
instead of self-detecting what's in the base system.

Bump the PKGREVISION to 1.
2008-02-29 22:23:50 +00:00
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
rillig
9a9f25896f Broken gettext detection. 2008-01-13 23:08:35 +00:00
heinz
f484c25be4 Added support for installation to DESTDIR. 2008-01-03 23:18:07 +00:00
wiz
542e619325 Standardize statvfs test. From Sergey Svishchev. 2007-12-02 12:55:08 +00:00
wiz
7df37351d3 Remove Ex-MASTER_SITE. From Zafer Aydogan. 2007-12-02 12:29:02 +00:00
rillig
f338d15c24 Some more packages need lex and yacc. Patch by Aleksey Cheusov on
pkgsrc-users.
2007-12-02 08:32:23 +00:00
bjs
7ac931559a Update from version R30 to R32, with myriad changes:
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
2007-11-23 07:58:57 +00:00
heinz
0f470ec87d Removed ftp.rge.com from MASTER_SITES, doesn't resolve anymore
in DNS. Mentioned by Zafer Aydogan in PR pkg/37321.
2007-11-12 20:05:38 +00:00
bjs
39b78b5308 Add support for pcre to options.mk if ZSH_STATIC is undefined. Bump rev. 2007-11-07 09:59:27 +00:00
agc
29df3ccee5 Mark zsh packages as MAKE_JOBS_SAFE=no (from ASau in pkgthon). 2007-11-04 15:58:24 +00:00
jlam
56ba4d2690 Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
can handle packages having no PLIST files.
2007-10-25 16:54:26 +00:00
tnn
24d5b54409 Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead. 2007-10-16 23:48:58 +00:00
uebayasi
445e230543 Fix embedded paths to /bin/env and /usr/local/bin/zsh. Reported by joerg. 2007-10-01 04:16:07 +00:00
uebayasi
ffcc8022b6 Fix build when ZSH_STATIC=yes; from Kouichirou Hiratsuka. 2007-09-21 13:59:16 +00:00
uebayasi
f2102e51bc Oops - forgot to re-run make mps after fixing RCS Id of patches/patch-??
files.  Pointed out by Hiratsuka-san.
2007-09-21 08:04:45 +00:00
uebayasi
ce7552cec0 Update zsh-current to 4.3.4.
Several fixes of multi-byte character support.

Patch from Chris Ross, thanks.
2007-09-21 05:24:43 +00:00
wiz
cbac8e6251 Update to patchlevel 3.2.25: Various bugfixes. 2007-09-18 21:20:12 +00:00
jlam
48bbc6ce1f Conver to use the features framework and include do-build and do-install
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.
2007-09-08 21:57:13 +00:00
jlam
df7d10dbeb Convert all libnbcompat/buildlink3.mk references to inplace.mk. 2007-09-06 21:51:52 +00:00
taca
0db0300389 Oops, I accidently typed wrong key and commited wrong one.
This is corrected one.

FreeBSD needs PLIST.shlibs as DraonFly.
2007-08-24 15:20:43 +00:00
taca
15a7776425 *** empty log message *** 2007-08-24 15:16:21 +00:00
rillig
d49c1dac9c Removed the MD5, SHA256 and TIGER checksums. How did they get in here? 2007-08-18 16:47:48 +00:00
joerg
dbede5c887 Add DESTDIR support. 2007-08-17 22:11:35 +00:00
tron
69b94468b0 Compare "MKDYNAMICROOT" with "no" to figure out the desirable static
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.
2007-08-13 19:43:30 +00:00
rillig
6aecf48699 Added mk/misc/category.mk, which contains the definitions that are only
useful for category Makefiles, as opposed to bsd.pkg.subdir.mk, which is
also relevant for the top-level directory. Adjusted the category Makefiles.
2007-08-13 08:12:41 +00:00
jlam
096522cddc Update shells/mksh to version 30. Changes from version 29.6 include:
* 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.
2007-08-07 19:38:11 +00:00
jlam
e56ad6ef02 Fix DESTDIR-handling for zsh-current by ensuring that the destdir-support
line is defined before bsd.prefs.mk is included.
2007-08-07 18:54:31 +00:00
joerg
e3040e75e0 Fix path to newly installed es in esdump. Bump revision. 2007-08-04 12:33:45 +00:00
joerg
e088637dee On FreeBSD, terminfo.so gets installed like on Linux. 2007-07-20 16:36:59 +00:00
joerg
ac24d53756 Maintainer/author update to mksh-R29f to fix a regression in the last
version. Some other small bugfixes and portability fixes are included
as well. From Thorsten Glaser.
2007-06-20 17:20:45 +00:00
joerg
d8a79343a1 Update to mksh-R29e. Fixes a number of display bugs, cursor positioning
bugs and issues shown by Coverity Prevent. From Thorsten Glaser.

Add DESTDIR support.
2007-05-23 11:02:32 +00:00
heinz
e20b55a52d The package supports installation to DESTDIR. 2007-05-12 16:18:55 +00:00
obache
b36465614d PKGNAME must be defined before include bsd.pkg.mk,
if not, in 'package' phase, PKGNAME==DISTNAME.

Remove WRKSRC definision, it equals to default value.
2007-04-25 13:26:42 +00:00
obache
1c26be520c Enable to overrite CONFLICTS by static-tcsh. 2007-04-25 13:21:43 +00:00
joerg
055d54daff Always build with tcsetpgrp support on DragonFly, makig zsh not
depend on a control terminal during build.
2007-04-16 19:01:28 +00:00
wiz
e5d830e1e7 Set maintainer to agc (original importer). 2007-04-14 11:43:13 +00:00
wiz
e9b6958d37 Fix some pkglint warnings. 2007-04-11 06:13:57 +00:00
wiz
3c939d02bc Add checksums for patches. 2007-04-11 06:12:10 +00:00
christos
47b8b067df fix the names, silly me. 2007-04-11 04:56:56 +00:00
christos
214fdf7a22 add new files 2007-04-10 00:50:24 +00:00
christos
33c150724b update to tcsh-6.15 2007-04-10 00:49:32 +00:00
wiz
4b17df0924 Remove shells/zsh3 -- old version of shells/zsh{,-current}.
No disagreement on pkgsrc-users.
2007-04-01 21:22:05 +00:00
reed
d6c5898466 Revert PLIST.
Use different install target.

Bump PKGREVISION.

This is also for PR 36080.

(TODO: look at SYSCONFDIR which is /etc.)
2007-03-26 17:01:59 +00:00