[arch-commits] Commit in bash-completion/trunk (PKGBUILD modinfo-path.diff)
Eric Bélanger
eric at archlinux.org
Tue Jun 19 22:03:44 UTC 2012
Date: Tuesday, June 19, 2012 @ 18:03:43
Author: eric
Revision: 162102
upgpkg: bash-completion 2.0-1
Upstream update, Disable SMP build, Remove old patch
Modified:
bash-completion/trunk/PKGBUILD
Deleted:
bash-completion/trunk/modinfo-path.diff
-------------------+
PKGBUILD | 13 +++++--------
modinfo-path.diff | 15 ---------------
2 files changed, 5 insertions(+), 23 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-06-19 20:30:13 UTC (rev 162101)
+++ PKGBUILD 2012-06-19 22:03:43 UTC (rev 162102)
@@ -2,22 +2,19 @@
# Maintainer: Eric Bélanger <eric at archlinux.org>
pkgname=bash-completion
-pkgver=1.99
-pkgrel=2
+pkgver=2.0
+pkgrel=1
pkgdesc="Programmable completion for the bash shell"
arch=('any')
url="http://bash-completion.alioth.debian.org/"
license=('GPL')
depends=('bash')
-options=('!emptydirs')
-source=(http://bash-completion.alioth.debian.org/files/${pkgname}-${pkgver}.tar.bz2 \
- modinfo-path.diff)
-md5sums=('3cf478b7f1065f424d3d6ec35f80e4f2'
- '7047eb6f484323e8d1d22fb260a43a8e')
+options=('!emptydirs' '!makeflags')
+source=(http://bash-completion.alioth.debian.org/files/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('0d903f398be8c8f24bc5ffa6f86127f8')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 -i "${srcdir}/modinfo-path.diff"
./configure --prefix=/usr --sysconfdir=/etc
make
}
Deleted: modinfo-path.diff
===================================================================
--- modinfo-path.diff 2012-06-19 20:30:13 UTC (rev 162101)
+++ modinfo-path.diff 2012-06-19 22:03:43 UTC (rev 162102)
@@ -1,15 +0,0 @@
-Subject: [PATCH 1/1] insmod, modprobe: Don't hardcode path to modinfo (Alioth: #313569)
-
---- a/completions/insmod
-+++ b/completions/insmod
-@@ -9,8 +9,8 @@ _insmod()
-
- if [[ $cword -gt 1 && "${words[cword-1]}" != -* ]]; then
- # do module parameter completion
-- COMPREPLY=( $( compgen -W "$( /sbin/modinfo -p ${words[1]} | \
-- cut -d: -f1 )" -- "$cur" ) )
-+ COMPREPLY=( $( compgen -W "$( PATH="$PATH:/sbin" modinfo \
-+ -p ${words[1]} 2>/dev/null | cut -d: -f1 )" -- "$cur" ) )
- else
- _modules $(uname -r)
- fi
More information about the arch-commits
mailing list