This is a programmable completion convenience library for the Bash shell. It
features the ability to tab-complete arguments for many common programs.
Completion functions for FreeBSD-specific software are developed independently
as an extension to the official bash-completion library. The development takes
place on GitHub: https://github.com/0mp/bash-completion-freebsd
===> The following configuration options are available for bash-completion-2.18.0,2:
CMAKE_MODULES=on: Install bash-completion modules for cmake
FREEBSD=on: Add FreeBSD-specific completion
ZFS=on: Add OpenZFS completion
===> Use 'make config' to modify these settings
shells/bash-completion: Clean up after b6ec06f079e1c883d32c788c0285c6d492eeb1c0
.include <bsd.port.options.mk> is not needed after the removal of ARCH check.
*/*: Use C.UTF-8 locale
Ports 02f27a83b44d fixed the ports tree to the C locale so it would work
correctly in environments where users use a locale that isn't compatible
with the C locale, e.g. xx_YY.UTF-8 where [A-Z] includes more than just
upper case letters. USE_LOCALE was introduced to let ports use another
locale if they needed it. The C.UTF-8 locale was created later on to be
mostly compatible with the C locale.
Switch the ports tree locale to C.UTF-8 and remove USE_LOCALE. The
world has moved to Unicode so all ports either require it or know how to
build correctly in a Unicode environment.
PR: 295945
Exp-run by: antoine
shells/bash-completion: Remove completion for interdiff
- Bump PORTREVISION for package change
Do not install interdiff completion to avoid conflict with misc/patchutils.
PR: 295257
Reported by: Piotr Smyrak <ps.ports@smyrak.com>
shells/bash-completion: Don't depend on shells/bash{,-static}
Depending on the shell itself during build time create a large dependency
chain. E.g., using the pc file of this port requires bash being built although
technically not required at all. Have the user install bash as a direct
dependency.
PR: 292501
Tested by: michaelo
Approved by: sunpoet (maintainer)
Mk/bsd.commands.mk: Use absolute path to define GMAKE
Same as BSDMAKE variable. It is needed by some ports.
Some ports needed fixes:
- devel/rcs57: Regenerate configure with newer autoconf so it can deal
with MAKE set to an absolute path. While here fix issues with
(un)escaping double quotes. The warnings about this were in
WRKSRC/src/conf.err.
- lang/gnu-cobol: Patch configure.ac so the MAKE environment variable
can contain an absolute path, and define MAKE before it is used in
AM_INIT_AUTOMAKE. Remove post-patch patching of configure. It appears
to have been fixed upstream.
- math/unuran: Remove post-patch, fixed upstream.
- net-mgmt/kismet: Fix post-patch.
PR: 283534
Exp-run by: antoine
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Update to 2.4, and switch from the alioth sources to the Github project
that the old WWW redirects to.
Among other changes, this port now optionally installs some cmake modules,
which I hope I'm installing into the correct place.
Use USES=pathfix where applicable.
PR: 213195
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D8093
Stop installing the reptyr completion.
Import an upstream commit that installs the reptyr completion as _reptyr to
avoid conflicts with the version that reptyr itself has started shipping.
It is required for bash-completion not to conflict with sysutils/reptyr.
PR: 206541
Approved by: adamw (maintainer)
MFH: 2016Q1
Add completions for portsnap and freebsd-update. Both were obtained from
upstream git.
Given the infrequency with which new versions of bash-completion are released,
it
seems appropriate to just add them in here.
Submitted by: Peter Dave Hello (author of the two completions)
While here, add in LICENSE.
Add a patch to fix tab on an empty line producing:
$ bash: words: bad array subscript
PR: 196713
Submitted by: gnudalf@yandex.com
Obtained from: upstream bug #1289597
Host the bash-completion-2.1 distfile on MASTER_SITE_LOCAL.
I really have no idea what is going on with the distfile. The 2.1 tag
has been in the b-c git tree for 9 months now, but their website hasn't
been updated to reflect this. Their alioth area now shows no files
whatsoever, which makes this version (and any other) unfetchable. Some
distros are also using 2.1, some aren't. So, let's cut our losses and
just host it ourselves. Hopefully this can help some other distros too.
While I'm here, clean up the Makefile a bit to feed my OCD.
shells/bash-completion: Fix installation
The bash-completion.pc and bash_completion.sh files were not getting
installed in the correct location per pkg-plist, mainly because the
Makefile.in was modified *after* the configuration target was complete,
that is to say after Makefile has been generated.
By improving the Makefile.am patch, the post-configure target can be
simplified.
Approved by: maintainer (adamw)
Update to 2.0.
Please note that the mechanism for activating the completions
library has changed. You must source
${PREFIX}/share/bash-completion/bash_completion.sh from your .bashrc.
Feature safe: yes
Fix a variable substitution.
Note that this was the intended fix in PORTREVISION 3, the previous
commit, and was the change intended by ports/161999.
PR: ports/161999
Submitted by: Eugene Paskevich <eugene@raptor.kiev.ua>
Update to 1.3.
According to the CHANGES file, the avahi-browse error is patched in this
version, though in a manner a bit different from our patch. Please test
on amd64 and let me know if the problem has regressed.
This patch hopefully fixes bash freezing on amd64 when using host-based
completions. Tons of thanks to Raphael Kubo da Costa for identifying the
fix and providing us with a patch, and to ehaupt for testing!
PR: ports/150322
Submitted by: Raphael Kubo da Costa <kubito@gmail.com>
Reviewed by: ehaupt
Now that shells/bash-completion-classic is in the tree, register a
conflict with it. Also, remove the rsync-disable hack on amd64, and
replace it with a simple BROKEN message.
Note that shells/bash-completion-classic is currently an unedited
repocopy, but I know ehaupt is working to get it up and running.
The rsync completion plugin causes the shell to freeze on amd64.
Until that gets resolved, I'm disconnecting the rsync plugin from
the build on amd64.
PR: ports/150322
Submitted by: ehaupt
Replace bash-completion with a new package.
The previous bash-completion package hadn't been updated since 2006. A
new group has picked up the package and continued development. The old
completions should remain, so I'm not going to update UPDATING.
I'm taking maintainership of this as well. Many thanks to Kirk, the
previous maintainer!
Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)
. drop OPTIONS for BASH2;
. drop variable RUN_DEPENDS for shells/bash2;
. do not bump PORTREVISION since this dependency is not default.
PR: 108626
Submitted by: bsam (me)
Approved by: kirk at strauser.com (maintainer timeout -- 2 weeks)
[1]:
- Update to 20050721
- OPTIONSify
Moreover:
- Improve the FreeBSD integration by fixing paths in the script
- Use SUB_FILES=pkg-message
[1]:
PR: ports/84305
Submitted by: maintainer
- Postfix fix: don't expect postconf be in /usr/sbin, rely on it being in PATH
PR: ports/63314
Submitted by: Toni Viemero <toni.viemero@iki.fi>
Approved by: maintainer timeout (1 month)
New port: shells/bash-completion
The shells/bash-completion port installs Ian Macdonald's
programmable completion library for Bash 2.04 and above.
This gives users context- sensitive tab-completion for such
things as program arguments, SSH hostnames, NFS mounts, and
so on.
PR: ports/52790
Submitted by: Kirk Strauser <kirk@strauser.com>