summaryrefslogtreecommitdiff
path: root/bash-completion
diff options
context:
space:
mode:
authorJohannes Winkelmann <jw@smts.ch>2009-08-01 14:35:08 +0200
committerJohannes Winkelmann <jw@smts.ch>2009-08-01 14:35:52 +0200
commitd48235f7e0c0a08bd2dc9b764ad8d2f9fc8fe33e (patch)
tree0197f25caf98f74931c741911f5cb0aec8853559 /bash-completion
parentf4306c168516c4c537847666a5f1c6c01a356b7d (diff)
downloadopt-d48235f7e0c0a08bd2dc9b764ad8d2f9fc8fe33e.tar.gz
opt-d48235f7e0c0a08bd2dc9b764ad8d2f9fc8fe33e.tar.xz
bash-completion: update to 1.0
Diffstat (limited to 'bash-completion')
-rw-r--r--bash-completion/.footprint53
-rw-r--r--bash-completion/.md5sum3
-rw-r--r--bash-completion/Pkgfile14
-rw-r--r--bash-completion/init_bc23
4 files changed, 54 insertions, 39 deletions
diff --git a/bash-completion/.footprint b/bash-completion/.footprint
index a8a85ed09..85cc25276 100644
--- a/bash-completion/.footprint
+++ b/bash-completion/.footprint
@@ -1,7 +1,46 @@
-drwxr-xr-x root/root usr/
-drwxr-xr-x root/root usr/lib/
-drwxr-xr-x root/root usr/lib/bash-completion/
-drwxr-xr-x root/root usr/share/
-drwxr-xr-x root/root usr/share/bash-completion/
--rw-r--r-- root/root usr/share/bash-completion/bash_completion
--rwxr-xr-x root/root usr/share/bash-completion/init_bc
+drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/bash_completion
+drwxr-xr-x root/root etc/bash_completion.d/
+-rw-r--r-- root/root etc/bash_completion.d/_subversion
+-rw-r--r-- root/root etc/bash_completion.d/apache2ctl
+-rw-r--r-- root/root etc/bash_completion.d/bitkeeper
+-rw-r--r-- root/root etc/bash_completion.d/bittorrent
+-rw-r--r-- root/root etc/bash_completion.d/brctl
+-rw-r--r-- root/root etc/bash_completion.d/cksfv
+-rw-r--r-- root/root etc/bash_completion.d/clisp
+-rw-r--r-- root/root etc/bash_completion.d/cowsay
+-rw-r--r-- root/root etc/bash_completion.d/cpan2dist
+-rw-r--r-- root/root etc/bash_completion.d/dsniff
+-rw-r--r-- root/root etc/bash_completion.d/freeciv
+-rw-r--r-- root/root etc/bash_completion.d/gcl
+-rw-r--r-- root/root etc/bash_completion.d/gkrellm
+-rw-r--r-- root/root etc/bash_completion.d/gnatmake
+-rw-r--r-- root/root etc/bash_completion.d/gpg2
+-rw-r--r-- root/root etc/bash_completion.d/harbour
+-rw-r--r-- root/root etc/bash_completion.d/isql
+-rw-r--r-- root/root etc/bash_completion.d/larch
+-rw-r--r-- root/root etc/bash_completion.d/lilypond
+-rw-r--r-- root/root etc/bash_completion.d/lisp
+-rw-r--r-- root/root etc/bash_completion.d/lzma
+-rw-r--r-- root/root etc/bash_completion.d/lzop
+-rw-r--r-- root/root etc/bash_completion.d/mailman
+-rw-r--r-- root/root etc/bash_completion.d/mcrypt
+-rw-r--r-- root/root etc/bash_completion.d/minicom
+-rw-r--r-- root/root etc/bash_completion.d/modules
+-rw-r--r-- root/root etc/bash_completion.d/monodevelop
+-rw-r--r-- root/root etc/bash_completion.d/mtx
+-rw-r--r-- root/root etc/bash_completion.d/net-tools
+-rw-r--r-- root/root etc/bash_completion.d/p4
+-rw-r--r-- root/root etc/bash_completion.d/povray
+-rw-r--r-- root/root etc/bash_completion.d/qdbus
+-rw-r--r-- root/root etc/bash_completion.d/qemu
+-rw-r--r-- root/root etc/bash_completion.d/quota-tools
+-rw-r--r-- root/root etc/bash_completion.d/rdesktop
+-rw-r--r-- root/root etc/bash_completion.d/ri
+-rw-r--r-- root/root etc/bash_completion.d/sbcl
+-rw-r--r-- root/root etc/bash_completion.d/sitecopy
+-rw-r--r-- root/root etc/bash_completion.d/snownews
+-rw-r--r-- root/root etc/bash_completion.d/ssh
+-rw-r--r-- root/root etc/bash_completion.d/svk
+-rw-r--r-- root/root etc/bash_completion.d/unace
+-rw-r--r-- root/root etc/bash_completion.d/unrar
diff --git a/bash-completion/.md5sum b/bash-completion/.md5sum
index 31651c2b7..00208f69e 100644
--- a/bash-completion/.md5sum
+++ b/bash-completion/.md5sum
@@ -1,2 +1 @@
-9bca1cf97e8f8c73e3ef560cc9dead21 bash-completion-20060301.tar.gz
-cee11381ec9d2dbe72e5c9d568bafa73 init_bc
+cd1c5648272917fbe0eef4ba30bb93f4 bash-completion-1.0.tar.gz
diff --git a/bash-completion/Pkgfile b/bash-completion/Pkgfile
index a9f11678d..08b72936d 100644
--- a/bash-completion/Pkgfile
+++ b/bash-completion/Pkgfile
@@ -1,15 +1,15 @@
# Maintainer: Johannes Winkelmann, jw at smts dot ch
-# URL: http://www.caliban.org/bash/index.shtml#completion
+# URL: http://bash-completion.alioth.debian.org/
# Description: Bash completion functions
name=bash-completion
-version=20060301
+version=1.0
release=1
-source=(http://www.caliban.org/files/bash/$name-$version.tar.gz init_bc)
+source=(http://$name.alioth.debian.org/files/$name-$version.tar.gz)
build() {
- mkdir -p $PKG/usr/share/bash-completion
- cp bash_completion/bash_completion $PKG/usr/share/bash-completion
- install -m 0755 init_bc $PKG/usr/share/bash-completion
- install -d -m 0755 $PKG/usr/lib/bash-completion
+ cd $name-$version
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+ make DESTDIR=$PKG install
}
diff --git a/bash-completion/init_bc b/bash-completion/init_bc
deleted file mode 100644
index 14f67d90b..000000000
--- a/bash-completion/init_bc
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-export BASH_COMPLETION=/usr/share/bash-completion/bash_completion
-bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.}
-if [ "$PS1" ] && [ $bmajor -eq 2 ] && [ $bminor '>' 04 ] \
- && [ -f "$BASH_COMPLETION" ]; then # interactive shell
- # Source completion code
- . $BASH_COMPLETION
-fi
-
-# also support bash v3...
-if [ "$PS1" ] && [ $bmajor -eq 3 ] && [ -f "$BASH_COMPLETION" ]; then
- # interactive shell
- . $BASH_COMPLETION
-fi
-
-unset bash bmajor bminor
-
-files=`find /usr/lib/bash-completion/ -type f`
-if [ ! "$files" = "" ]; then
- for f in /usr/lib/bash-completion/*; do
- . $f
- done
-fi

Generated by cgit