diff options
4 files changed, 90 insertions, 12 deletions
diff --git a/app-shells/bash-completion/ChangeLog b/app-shells/bash-completion/ChangeLog index 3ad188b0163c..92662f99654c 100644 --- a/app-shells/bash-completion/ChangeLog +++ b/app-shells/bash-completion/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-shells/bash-completion # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/ChangeLog,v 1.78 2004/11/09 12:30:13 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/ChangeLog,v 1.79 2004/11/12 10:57:56 ka0ttic Exp $ + +*bash-completion-20041017-r1 (12 Nov 2004) + + 12 Nov 2004; Aaron Walker <ka0ttic@gentoo.org> + +bash-completion-20041017-r1.ebuild: + Don't install subversion completion since >=dev-util/subversion-1.1.1-r1 + provides a much better one. 09 Nov 2004; Aaron Walker <ka0ttic@gentoo.org> files/bash-completion: Updated profile.d file to also source anything in ~/.bash_completion.d diff --git a/app-shells/bash-completion/Manifest b/app-shells/bash-completion/Manifest index 5d1e33eba9c9..5e096c689ea0 100644 --- a/app-shells/bash-completion/Manifest +++ b/app-shells/bash-completion/Manifest @@ -1,21 +1,13 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 022c988852069741ed3657d87ba5884c bash-completion-20041017-r1.ebuild 2235 MD5 50f43407f43fdbbfa26b4d63f947497a bash-completion-20040711.ebuild 2088 MD5 f6bee54f0c35dc47430924ecb49c03fb bash-completion-20040704.ebuild 2092 MD5 7d4aeaf81dd9f767c41a81c3e47d01a2 bash-completion-20040704-r1.ebuild 2087 -MD5 98b0e051f057ec0472f6994d9e709982 ChangeLog 11147 +MD5 c84959c3155963c11b8505580561782a ChangeLog 11385 MD5 00e8cae3d9ece63e4be61f4a2b3afd5e metadata.xml 930 MD5 3790b4d8b911d7cb16effa66acdc6e93 bash-completion-20041017.ebuild 2123 +MD5 236fd9c517ac5642cae8df109dbaf9f6 files/digest-bash-completion-20041017-r1 152 MD5 5592b40975f8bc675c05dec7e52ca6ff files/bash-completion 790 MD5 49e9f0b0674471ff56169ce7d9265fb2 files/digest-bash-completion-20040704 151 MD5 73c3177da25971c1db7bb6482b5d1580 files/digest-bash-completion-20040711 151 MD5 236fd9c517ac5642cae8df109dbaf9f6 files/digest-bash-completion-20041017 152 MD5 49e9f0b0674471ff56169ce7d9265fb2 files/digest-bash-completion-20040704-r1 151 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFBkLhrEZCkKN40op4RApAiAJ4wOTjUXODbkFKLzdhaCZPUwi6EMgCZAQQp -kvC5Y94AH1nzD0bFFPH96SU= -=iWU8 ------END PGP SIGNATURE----- diff --git a/app-shells/bash-completion/bash-completion-20041017-r1.ebuild b/app-shells/bash-completion/bash-completion-20041017-r1.ebuild new file mode 100644 index 000000000000..399d2026783f --- /dev/null +++ b/app-shells/bash-completion/bash-completion-20041017-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-20041017-r1.ebuild,v 1.1 2004/11/12 10:57:56 ka0ttic Exp $ + +GENCOMP_VERS="1.0_beta2" + +DESCRIPTION="Programmable Completion for bash (includes emerge and ebuild commands)" +HOMEPAGE="http://www.caliban.org/bash/index.shtml#completion" +SRC_URI="http://www.caliban.org/files/bash/${P}.tar.bz2 + mirror://sourceforge/gentoo-bashcomp/gentoo-bashcomp-${GENCOMP_VERS}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~s390 ~sparc ~x86 ~ppc64" +IUSE="" + +DEPEND="app-arch/tar + app-arch/bzip2" +RDEPEND=">=app-shells/bash-2.05a" + +S=${WORKDIR}/${PN/-/_} + +src_install() { + insinto /etc + doins bash_completion + + insinto /usr/share/bash-completion + # don't install subversion completion, since the subversion + # package provides its own + rm contrib/subversion + doins contrib/* + + exeinto /etc/profile.d + doexe ${FILESDIR}/bash-completion + + dodoc Changelog README + + cd ${WORKDIR}/gentoo-bashcomp-${GENCOMP_VERS} + insinto /etc/bash_completion.d + doins src/gentoo + + docinto gentoo + dodoc AUTHORS NEWS TODO +} + +pkg_postinst() { + echo + einfo "Add the following line to your ~/.bashrc to" + einfo "activate completion support in your bash:" + einfo "[ -f /etc/profile.d/bash-completion ] && source /etc/profile.d/bash-completion" + einfo + einfo "Additional complete functions can be enabled by symlinking them from" + einfo "/usr/share/bash-completion to /etc/bash_completion.d" + + if [ -f ${ROOT}/etc/bash_completion.d/gentoo.completion ] + then + echo + ewarn "The file 'gentoo.completion' in '/etc/bash_completion.d/' has been" + ewarn "replaced with 'gentoo'. Remove gentoo.completion to avoid problems." + fi + + local bcfile moved + for bcfile in ${ROOT}/etc/bash_completion.d/{unrar,harbour,isql,larch,lilypond,p4,ri} + do + + [ -f "${bcfile}" -a ! -L "${bcfile}" ] && moved="${bcfile##*/} ${moved}" + done + + if [ -n "${moved}" ] + then + echo + ewarn "The contrib files: ${moved}" + ewarn "have been moved to /usr/share/bash-completion. Please DELETE" + ewarn "those old files in /etc/bash_completion.d and create symlinks." + fi + echo +} diff --git a/app-shells/bash-completion/files/digest-bash-completion-20041017-r1 b/app-shells/bash-completion/files/digest-bash-completion-20041017-r1 new file mode 100644 index 000000000000..192b9cf05a2b --- /dev/null +++ b/app-shells/bash-completion/files/digest-bash-completion-20041017-r1 @@ -0,0 +1,2 @@ +MD5 3fd0836127d01606a9dc4262f3e2e1fb bash-completion-20041017.tar.bz2 86227 +MD5 1d4fb21337ed341334188fed97fa0745 gentoo-bashcomp-1.0_beta2.tar.gz 15025 |