pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Updated shells/bash-completion version



The package shells/bash-completion has a noted vulnerability: 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=259987

In that page, it talks about a new version of the bash-completion tools, which is now at 1.0. It appears to me to require only a simple fix to the Makefile and PLIST to use the new version (included below).

Note, that in order to use it successfully, I either have to set:

BASH_COMPLETION='/ports/share/bash-completion/bash_completion'
BASH_COMPLETION_DIR='/ports/share/bash-completion/contrib'

or modify the scripts to not look in /etc. This problem exists with the current version in pkgsrc too.

-- Norm.


--- shells/bash-completion/Makefile     2008-06-20 02:09:35.000000000 +0100
+++ local/bash-completion/Makefile      2009-09-22 14:47:33.000000000 +0100
@@ -1,19 +1,19 @@
+
 # $NetBSD: Makefile,v 1.2 2008/06/20 01:09:35 joerg Exp $
 #

-DISTNAME=      bash-completion-20060301
+DISTNAME=      bash-completion-1.0
 CATEGORIES=    shells
-MASTER_SITES=  http://www.caliban.org/files/bash/
+MASTER_SITES=  http://bash-completion.alioth.debian.org/files/

 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.caliban.org/bash/index.shtml
+HOMEPAGE=      http://bash-completion.alioth.debian.org/
 COMMENT=       Programmable completion specifications for bash

 PKG_DESTDIR_SUPPORT=   user-destdir

 USE_TOOLS+=    bash:run

-WRKSRC=                ${WRKDIR}/bash_completion
 USE_LANGUAGES= # none

 NO_BUILD=      yes


--- shells/bash-completion/PLIST        2009-06-14 19:14:20.000000000 +0100
+++ local/bash-completion/PLIST 2009-09-22 15:32:45.000000000 +0100
@@ -1,32 +1,48 @@
 @comment $NetBSD: PLIST,v 1.2 2009/06/14 18:14:20 joerg Exp $
 share/bash-completion/bash_completion
 share/bash-completion/bash_completion.sh
+share/bash-completion/contrib/_subversion
+share/bash-completion/contrib/apache2ctl
 share/bash-completion/contrib/bitkeeper
 share/bash-completion/contrib/bittorrent
+share/bash-completion/contrib/brctl
 share/bash-completion/contrib/cksfv
 share/bash-completion/contrib/clisp
+share/bash-completion/contrib/cowsay
+share/bash-completion/contrib/cpan2dist
 share/bash-completion/contrib/dsniff
 share/bash-completion/contrib/freeciv
 share/bash-completion/contrib/gcl
 share/bash-completion/contrib/gkrellm
 share/bash-completion/contrib/gnatmake
+share/bash-completion/contrib/gpg2
 share/bash-completion/contrib/harbour
-share/bash-completion/contrib/hg
 share/bash-completion/contrib/isql
 share/bash-completion/contrib/larch
 share/bash-completion/contrib/lilypond
 share/bash-completion/contrib/lisp
+share/bash-completion/contrib/lzma
+share/bash-completion/contrib/lzop
 share/bash-completion/contrib/mailman
 share/bash-completion/contrib/mcrypt
+share/bash-completion/contrib/minicom
 share/bash-completion/contrib/modules
+share/bash-completion/contrib/monodevelop
 share/bash-completion/contrib/mtx
+share/bash-completion/contrib/net-tools
 share/bash-completion/contrib/p4
 share/bash-completion/contrib/povray
+share/bash-completion/contrib/qdbus
+share/bash-completion/contrib/qemu
+share/bash-completion/contrib/quota-tools
+share/bash-completion/contrib/rdesktop
 share/bash-completion/contrib/ri
 share/bash-completion/contrib/sbcl
 share/bash-completion/contrib/sitecopy
+share/bash-completion/contrib/ssh
 share/bash-completion/contrib/snownews
 share/bash-completion/contrib/svk
 share/bash-completion/contrib/unace
 share/bash-completion/contrib/unrar
+share/bash-completion/contrib/vncviewer
 share/doc/bash-completion/README



Home | Main Index | Thread Index | Old Index