mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-14 00:16:59 +02:00
bump(app-shells/bash-completion): required by util-linux
This commit is contained in:
parent
437cd53129
commit
dd8bfc92d1
@ -1,6 +1,53 @@
|
||||
# ChangeLog for app-shells/bash-completion
|
||||
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/ChangeLog,v 1.233 2011/04/11 23:05:10 flameeyes Exp $
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/ChangeLog,v 1.246 2013/05/20 17:59:41 ago Exp $
|
||||
|
||||
20 May 2013; Agostino Sarubbo <ago@gentoo.org> bash-completion-1.3-r2.ebuild:
|
||||
Stable for s390, wrt bug #468554
|
||||
|
||||
07 May 2013; Jeroen Roovers <jer@gentoo.org> bash-completion-1.3-r2.ebuild:
|
||||
Stable for HPPA (bug #468554).
|
||||
|
||||
07 May 2013; Agostino Sarubbo <ago@gentoo.org> bash-completion-1.3-r2.ebuild:
|
||||
Stable for ppc64, wrt bug #468554
|
||||
|
||||
07 May 2013; Agostino Sarubbo <ago@gentoo.org> bash-completion-1.3-r2.ebuild:
|
||||
Stable for ppc, wrt bug #468554
|
||||
|
||||
07 May 2013; Agostino Sarubbo <ago@gentoo.org> bash-completion-1.3-r2.ebuild:
|
||||
Stable for sparc, wrt bug #468554
|
||||
|
||||
07 May 2013; Agostino Sarubbo <ago@gentoo.org> bash-completion-1.3-r2.ebuild:
|
||||
Stable for ia64, wrt bug #468554
|
||||
|
||||
05 May 2013; Agostino Sarubbo <ago@gentoo.org> bash-completion-1.3-r2.ebuild:
|
||||
Stable for alpha, wrt bug #468554
|
||||
|
||||
05 May 2013; Agostino Sarubbo <ago@gentoo.org> bash-completion-1.3-r2.ebuild:
|
||||
Stable for arm, wrt bug #468554
|
||||
|
||||
05 May 2013; Agostino Sarubbo <ago@gentoo.org> bash-completion-1.3-r2.ebuild:
|
||||
Stable for x86, wrt bug #468554
|
||||
|
||||
05 May 2013; Agostino Sarubbo <ago@gentoo.org> bash-completion-1.3-r2.ebuild:
|
||||
Stable for amd64, wrt bug #468554
|
||||
|
||||
*bash-completion-1.3-r2 (04 May 2013)
|
||||
|
||||
04 May 2013; Samuli Suominen <ssuominen@gentoo.org>
|
||||
+bash-completion-1.3-r2.ebuild:
|
||||
Remove "rtcwake" completion since it's part of >=sys-apps/util-linux-2.23 wrt
|
||||
#468544
|
||||
|
||||
*bash-completion-1.3-r1 (01 Nov 2012)
|
||||
|
||||
01 Nov 2012; Samuli Suominen <ssuominen@gentoo.org>
|
||||
+bash-completion-1.3-r1.ebuild, +files/bash-completion.pc:
|
||||
Backport modified bash-completion.pc pkg-config file from upstream 2.0
|
||||
release.
|
||||
|
||||
04 May 2012; Alexis Ballier <aballier@gentoo.org> bash-completion-1.3.ebuild:
|
||||
keyword ~amd64-fbsd
|
||||
|
||||
11 Apr 2011; Diego E. Pettenò <flameeyes@gentoo.org>
|
||||
bash-completion-1.3.ebuild:
|
||||
|
@ -1 +1,31 @@
|
||||
DIST bash-completion-1.3.tar.bz2 211899 RMD160 222be4aee5a9542e5b27133d8bfd697c2c95262d SHA1 6a46b93f44c56cc336632ab28d90c0595fbcc98f SHA256 8ebe30579f0f3e1a521013bcdd183193605dab353d7a244ff2582fb3a36f7bec
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
AUX bash-completion.pc 282 SHA256 9167632403986bae490182d4177e2e49e4b442b3f6dca14e4358db97890ab677 SHA512 ed413f7bb5decc8b0336d1d383dfd8c9b9d5b709369adec1c5c1b62cf5c602fe8d1281d35d7cc2879e016acda83402a56be9538b708e3c251331e22f8fbdc8c8 WHIRLPOOL df61bc53db7f7a0b37783acee93ff9fa7ca1d6a88fd5f944e9ad87067af10cff12b18c4af60888fd96e48236eca271540e3de3028607c4e5f95c52ae9d48f801
|
||||
AUX bash-completion.sh 2109 SHA256 98022951b80b4af62cb254b5b738592835785784b5ddad4b8f71187f15f03b80 SHA512 b8c817ee3bcafcac0546f3de1a1c8e8e9ae0a7456255a9d591fb9831f78719f6aa6a6141d00447d7e069b5daff78dded22fa647997b4d51c58c0ccedc17824a1 WHIRLPOOL a2b39c9dad7a23b1561325dd4fb3685b0d73aac59037011675a6681d1228d8f2c51242b1d97c431b050b4989113075b1d18368cfed67be2512340f7fa494ac00
|
||||
AUX bash-completion.sh-gentoo-1.2 2118 SHA256 219c4618936960a2b97c0a237c36961835ae21d819e29239a5d4466b75695ebb SHA512 c73f91b05d87b646a9a10ed29f7003fca27dc65dd1a0435f65d9bac34f8b9968c31475962b773d0d8a22705beddace552d03c84bd0ca1f1ca858c0aabe17e9f5 WHIRLPOOL 5dea0101b053137da4d6de3907f77fed1bf7868741dd8da5e7fccb834b06f5f0432c0da29e223b2e2e601489a8f9e2354e3e1d37e74e589011e16dfb3e4370ce
|
||||
DIST bash-completion-1.2.tar.bz2 197574 SHA256 dd09a86134204e4c6b860bfbd5ee8ac46c6b32a54478b967dcf81e8a7839d354 SHA512 7e4e051dcdffdb3722c3e9def8186a3686da4f0b67302c0354900b60224e06e06a30238e496e5a27e4a893acfe896d5e0f8d1b71ff56cc540b969a40e25d54c7 WHIRLPOOL a9650e2e52e03cdebf4318b3baafb322ef3802aced7acb7f26915bcc8ad12d08e6770bac12cca50f9452072001b67f0476e669084ebfed11c9882296d0f3ea21
|
||||
DIST bash-completion-1.3.tar.bz2 211899 SHA256 8ebe30579f0f3e1a521013bcdd183193605dab353d7a244ff2582fb3a36f7bec SHA512 f0c6eb3edce982d1306fdb7ba2cb598c08cff4bde8496fca369b3c4d2d3af0ef48dd494ab96258cc90f30b875a56759aad13a6b1bfb4928bfba4634cce6bf8be WHIRLPOOL 9ea16b019eadcdcf60046b58d2c0f3ab68c189f461842d3d9f585ff25d8ba1bd48bf847868c2cc7e5475320d9c7aeaf21ce74818345c7fe648500549d51f29f8
|
||||
EBUILD bash-completion-1.2.ebuild 2815 SHA256 d65c732ae621225f0b3e528005e0a4fb31c2d1de2fe8a2e6ed0be699dc6145a9 SHA512 455f8288f863d01b4f3cad126c6d42e13d1807814861e0220f06fc7e3fdb353ff92400ab82eab438366d6d4440a1f90175d62f8ca635dddb02a3af328a0ceaae WHIRLPOOL 1ca6e12af23b1e2bae709ddfcbfbe535d9431a558744ad8b05490f66a7f46d2e8f2d73dbe7e73f2649ae79064db8b1fc1a215dbbb45155daf7a1264ea41056df
|
||||
EBUILD bash-completion-1.3-r1.ebuild 3104 SHA256 fde0cc88a372247e55767b71b1136a1696e25246dfc269e56910c58560434e4d SHA512 e26c81b08e1a787d0d19b4b1749128ded0d5609801beaaa78fc79d4b1485a3fc7bdbc57f08ab41f009ce6ba5e2b35267d320b81cd301038efc17d95a05a4c418 WHIRLPOOL d4c215db3850c8d3f7c17278a7353537ffe56cd8bfc8131113a4b8a7bda65fb02f8dd492141728a736daf15627eadc341a02ef616addbdff650a67f3536a6ef4
|
||||
EBUILD bash-completion-1.3-r2.ebuild 3169 SHA256 8f1e5482e35daf47313a82eea9e2eb878cdfa103741208f2156c78d1756be353 SHA512 12208783704ea28a4f724368cc11a3795e614ea121cb806b92f52104d4b77d0c3a985bbfa8fa6bcb9edab463618ca984534102a6c1dac664b7cd8b17bfa3e7b2 WHIRLPOOL 248bb57cd01a9028ba0f4c19ce7f30ef2ce3ba97cf93e408d5233e51cfea98347de522ff46730efb8910b25636751101aef8fe948b2d76863e6145fd395155b3
|
||||
EBUILD bash-completion-1.3.ebuild 2765 SHA256 861a98ec3f944fa89c464172acbd7c8a6bbf8ccafb15bdefbb24774c8158561a SHA512 da3438c89b1e119bbc3f356257e287b6570e3693045ac2909436625a6fd099c2ff5959704bbce848e1ea519cca1fb04a2f5a4385fedc190da90d70414aa40d0f WHIRLPOOL d1e4682a06c18415e2d1640432e93408d9e1ee35dd97901c3046b52540d8e0995d3fbba46fd430b45bdc51a9a25ecec3c237a24af4ca5dc231ad61151e87f292
|
||||
MISC ChangeLog 41804 SHA256 cf3622b5e93c5ae0da817f6b432512425372740cc4c88696e33e874b8c4e2972 SHA512 0a0c589d2b555f2570ec7ec111cdd9bc3a300ccc437d46b2fb64ab3eed91a2086ed6d2a82f6dd90202338b0715b7def32deac698b3cae9aaed52fbc4a3d23df1 WHIRLPOOL fa3715e75f991a66af1afb99da97b264c1cba0b170922b5dc428de64997364ec4eb73b882e5641f2251c7860bb306b77799dc5306f88758e1b3280ed68e05f23
|
||||
MISC metadata.xml 930 SHA256 281bfd91145b2ae2a5c2774802dee741bbe625777b1c4e3eaefdca406e534ba9 SHA512 3410bd40fd29b9a140e1508c0fea5aed6ad95c8c05b6ab5bca83dfd1a82ed617fe086b45677d971a21cb62c6e7e3f9ade43793b4b1eba978ae6ab0e6a88c3ce7 WHIRLPOOL 8d49a80655a987ea098a7185664f37549a99a54e1da4082ec614ae7b4a4361c3368ca47c857a92e6b5a8c21ecf9a650a9dab6f99bcbcfd22aa0c448f2240b790
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCgAGBQJRmmPoAAoJELp701BxlEWfTQwP/3wN6JutEK0S1pBEsgVxqE43
|
||||
B44lmei8y/LWIB1Q+xWa8Ft0dUPf65Q2oCOARPlTx9PRqo7wJ45fJuTYJdEs7Fdv
|
||||
0RxOgFt6S4ilLjEyt2u1fVjuezzrsS82jKeVY0ERt3PAVDbnpqxdpeIRkI2Y3KyX
|
||||
U4jRj+RIAI5OCFzE4QzMG+b1wLXFVDrDr2x9ZGksA3rxCaqhppAbnvLgMkmuqWgV
|
||||
eCYRTx5ZyxHdST+/r4uef/WGOTg2YYyzO87oZtKc1G4Dh3g4I+ITd7jcosnNjYvC
|
||||
jAvk2gS+/EA9YMibOWSPUqvBK7PR/ZOYV28NZdnmGYON7diz+wzKfo4/2vawcAVu
|
||||
mfBeH5jhL43mZfv5L20Ytpt/9egS7v/nApTQU1y+Yk76qU3smoVtHxdK1zLhIZGy
|
||||
T7Wad5m3Yf5gwH1/jPrCxuPFfrVDOBTXyBHGc9liU1GibJNFkYVIzlfALQi8RmNd
|
||||
XYDLCNmJFvfjkhCV4O7KlqVkaz9Fy0FAezstsYg0AW3SLMV0GGWiv3FemfI0mep7
|
||||
I0rNN/vhYRNOgrGg4OBHbIDzhwypxu1CKSaJTelQ6QBhqOOYuzdrcXPFUFlhz5I7
|
||||
XyrlpHNGSvY97Sa1GQI4J6UXIQXt2FamD8OBF1OWI/VaOcKmrypVh4EHy+OJdD1F
|
||||
CshLUAaqiDxy/2GpYhlm
|
||||
=FE4Y
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-1.2.ebuild,v 1.10 2010/10/03 13:07:45 armin76 Exp $
|
||||
|
||||
EAPI=3
|
||||
inherit prefix
|
||||
|
||||
DESCRIPTION="Programmable Completion for bash"
|
||||
HOMEPAGE="http://bash-completion.alioth.debian.org/"
|
||||
SRC_URI="http://bash-completion.alioth.debian.org/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-admin/eselect
|
||||
|| ( >=app-shells/bash-3.2 app-shells/zsh )
|
||||
sys-apps/miscfiles"
|
||||
PDEPEND="app-shells/gentoo-bashcomp"
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/bash-completion.sh-gentoo-1.2 "${T}"/bash-completion.sh || die
|
||||
eprefixify "${T}"/bash-completion.sh
|
||||
}
|
||||
|
||||
src_configure() { :; } # no-op
|
||||
src_compile() { :; } # no-op
|
||||
|
||||
src_install() {
|
||||
# Gentoo specific bash-completion.sh file.
|
||||
dodir /etc/profile.d
|
||||
cp "${T}"/bash-completion.sh \
|
||||
"${ED}"/etc/profile.d/bash-completion.sh || die "cp failed"
|
||||
|
||||
# All files from contrib/ in source package get installed
|
||||
dodir /usr/share/bash-completion
|
||||
cp "${S}"/contrib/* "${ED}"/usr/share/bash-completion/ \
|
||||
|| die "installation failed to move files"
|
||||
awk -v D="$ED" '
|
||||
BEGIN { out=".pre" }
|
||||
/^# A lot of the following one-liners/ { out="base" }
|
||||
/^# start of section containing completion functions called by other functions/ { out=".pre" }
|
||||
/^# start of section containing completion functions for external programs/ { out="base" }
|
||||
/^# source completion directory/ { out="" }
|
||||
/^unset -f have/ { out=".post" }
|
||||
out != "" { print > D"/usr/share/bash-completion/"out }' \
|
||||
bash_completion || die "failed to split bash_completion"
|
||||
|
||||
dodoc AUTHORS CHANGES README TODO || die "dodocs failes"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Any user can enable the module completions without editing their"
|
||||
elog ".bashrc by running:"
|
||||
elog
|
||||
elog " eselect bashcomp enable <module>"
|
||||
elog
|
||||
elog "The system administrator can also be enable this globally with"
|
||||
elog
|
||||
elog " eselect bashcomp enable --global <module>"
|
||||
elog
|
||||
elog "Make sure you at least enable the base module! Additional completion"
|
||||
elog "modules can be found by running"
|
||||
elog
|
||||
elog " eselect bashcomp list"
|
||||
elog
|
||||
elog "If you use non-login shells you still need to source"
|
||||
elog "/etc/profile.d/bash-completion.sh in your ~/.bashrc."
|
||||
|
||||
if has_version 'app-shells/zsh' ; then
|
||||
elog "If you are interested in using the provided bash completion functions with"
|
||||
elog "zsh, valuable tips on the effective use of bashcompinit are available:"
|
||||
elog " http://www.zsh.org/mla/workers/2003/msg00046.html"
|
||||
elog
|
||||
fi
|
||||
}
|
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-1.3-r1.ebuild,v 1.1 2012/11/01 09:06:05 ssuominen Exp $
|
||||
|
||||
EAPI=3
|
||||
inherit prefix
|
||||
|
||||
DESCRIPTION="Programmable Completion for bash"
|
||||
HOMEPAGE="http://bash-completion.alioth.debian.org/"
|
||||
SRC_URI="http://bash-completion.alioth.debian.org/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-admin/eselect
|
||||
|| ( >=app-shells/bash-3.2 app-shells/zsh )
|
||||
sys-apps/miscfiles"
|
||||
PDEPEND="app-shells/gentoo-bashcomp"
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/bash-completion.sh-gentoo-1.2 "${T}"/bash-completion.sh || die
|
||||
eprefixify "${T}"/bash-completion.sh
|
||||
|
||||
find "${S}"/completions -name 'Makefile*' -delete
|
||||
}
|
||||
|
||||
src_configure() { :; } # no-op
|
||||
src_compile() { :; } # no-op
|
||||
|
||||
src_install() {
|
||||
# Gentoo specific bash-completion.sh file.
|
||||
insinto /etc/profile.d
|
||||
doins "${T}"/bash-completion.sh || die
|
||||
|
||||
# All files from contrib/ in source package get installed
|
||||
insinto /usr/share/bash-completion
|
||||
doins -r "${S}"/completions/* || die
|
||||
|
||||
awk -v D="$ED" '
|
||||
BEGIN { out=".pre" }
|
||||
/^# A lot of the following one-liners/ { out="base" }
|
||||
/^# start of section containing completion functions called by other functions/ { out=".pre" }
|
||||
/^# start of section containing completion functions for external programs/ { out="base" }
|
||||
/^# source completion directory/ { out="" }
|
||||
/^unset -f have/ { out=".post" }
|
||||
out != "" { print > D"/usr/share/bash-completion/"out }' \
|
||||
bash_completion || die "failed to split bash_completion"
|
||||
|
||||
dodoc AUTHORS CHANGES README TODO || die "dodocs failes"
|
||||
|
||||
# This is backported from upstream 2.0 release. You can stop installing
|
||||
# this file after 2.0 is in Portage and use the one from the tarball
|
||||
# instead.
|
||||
# Installed to datadir instead of libdir because bash-completion(s)
|
||||
# are not ELF files.
|
||||
insinto /usr/share/pkgconfig
|
||||
doins "${FILESDIR}"/bash-completion.pc || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Any user can enable the module completions without editing their"
|
||||
elog ".bashrc by running:"
|
||||
elog
|
||||
elog " eselect bashcomp enable <module>"
|
||||
elog
|
||||
elog "The system administrator can also be enable this globally with"
|
||||
elog
|
||||
elog " eselect bashcomp enable --global <module>"
|
||||
elog
|
||||
elog "Make sure you at least enable the base module! Additional completion"
|
||||
elog "modules can be found by running"
|
||||
elog
|
||||
elog " eselect bashcomp list"
|
||||
elog
|
||||
elog "If you use non-login shells you still need to source"
|
||||
elog "/etc/profile.d/bash-completion.sh in your ~/.bashrc."
|
||||
|
||||
if has_version 'app-shells/zsh' ; then
|
||||
elog "If you are interested in using the provided bash completion functions with"
|
||||
elog "zsh, valuable tips on the effective use of bashcompinit are available:"
|
||||
elog " http://www.zsh.org/mla/workers/2003/msg00046.html"
|
||||
elog
|
||||
fi
|
||||
}
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-1.3-r2.ebuild,v 1.11 2013/05/20 17:59:41 ago Exp $
|
||||
|
||||
EAPI=3
|
||||
inherit prefix
|
||||
|
||||
DESCRIPTION="Programmable Completion for bash"
|
||||
HOMEPAGE="http://bash-completion.alioth.debian.org/"
|
||||
SRC_URI="http://bash-completion.alioth.debian.org/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-admin/eselect
|
||||
|| ( >=app-shells/bash-3.2 app-shells/zsh )
|
||||
sys-apps/miscfiles"
|
||||
PDEPEND="app-shells/gentoo-bashcomp"
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/bash-completion.sh-gentoo-1.2 "${T}"/bash-completion.sh || die
|
||||
eprefixify "${T}"/bash-completion.sh
|
||||
|
||||
find completions -name 'Makefile*' -exec rm -f {} +
|
||||
|
||||
# Part of >=sys-apps/util-linux-2.23 wrt #468544
|
||||
rm -f completions/rtcwake
|
||||
}
|
||||
|
||||
src_configure() { :; } # no-op
|
||||
src_compile() { :; } # no-op
|
||||
|
||||
src_install() {
|
||||
# Gentoo specific bash-completion.sh file.
|
||||
insinto /etc/profile.d
|
||||
doins "${T}"/bash-completion.sh || die
|
||||
|
||||
# All files from contrib/ in source package get installed
|
||||
insinto /usr/share/bash-completion
|
||||
doins -r "${S}"/completions/* || die
|
||||
|
||||
awk -v D="$ED" '
|
||||
BEGIN { out=".pre" }
|
||||
/^# A lot of the following one-liners/ { out="base" }
|
||||
/^# start of section containing completion functions called by other functions/ { out=".pre" }
|
||||
/^# start of section containing completion functions for external programs/ { out="base" }
|
||||
/^# source completion directory/ { out="" }
|
||||
/^unset -f have/ { out=".post" }
|
||||
out != "" { print > D"/usr/share/bash-completion/"out }' \
|
||||
bash_completion || die "failed to split bash_completion"
|
||||
|
||||
dodoc AUTHORS CHANGES README TODO || die "dodocs failes"
|
||||
|
||||
# This is backported from upstream 2.0 release. You can stop installing
|
||||
# this file after 2.0 is in Portage and use the one from the tarball
|
||||
# instead.
|
||||
# Installed to datadir instead of libdir because bash-completion(s)
|
||||
# are not ELF files.
|
||||
insinto /usr/share/pkgconfig
|
||||
doins "${FILESDIR}"/bash-completion.pc || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Any user can enable the module completions without editing their"
|
||||
elog ".bashrc by running:"
|
||||
elog
|
||||
elog " eselect bashcomp enable <module>"
|
||||
elog
|
||||
elog "The system administrator can also be enable this globally with"
|
||||
elog
|
||||
elog " eselect bashcomp enable --global <module>"
|
||||
elog
|
||||
elog "Make sure you at least enable the base module! Additional completion"
|
||||
elog "modules can be found by running"
|
||||
elog
|
||||
elog " eselect bashcomp list"
|
||||
elog
|
||||
elog "If you use non-login shells you still need to source"
|
||||
elog "/etc/profile.d/bash-completion.sh in your ~/.bashrc."
|
||||
|
||||
if has_version 'app-shells/zsh' ; then
|
||||
elog "If you are interested in using the provided bash completion functions with"
|
||||
elog "zsh, valuable tips on the effective use of bashcompinit are available:"
|
||||
elog " http://www.zsh.org/mla/workers/2003/msg00046.html"
|
||||
elog
|
||||
fi
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-1.3.ebuild,v 1.7 2011/04/11 23:05:10 flameeyes Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-1.3.ebuild,v 1.8 2012/05/04 11:08:39 aballier Exp $
|
||||
|
||||
EAPI=3
|
||||
inherit prefix
|
||||
@ -11,7 +11,7 @@ SRC_URI="http://bash-completion.alioth.debian.org/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
@ -0,0 +1,9 @@
|
||||
prefix=/usr
|
||||
compatdir=/etc/bash_completion.d
|
||||
completionsdir=${prefix}/share/bash-completion
|
||||
helpersdir=${prefix}/share/bash-completion/helpers
|
||||
|
||||
Name: bash-completion
|
||||
Description: programmable completion for the bash shell
|
||||
URL: http://bash-completion.alioth.debian.org/
|
||||
Version: 1.3
|
53
sdk_container/src/third_party/portage-stable/app-shells/bash-completion/files/bash-completion.sh
vendored
Normal file
53
sdk_container/src/third_party/portage-stable/app-shells/bash-completion/files/bash-completion.sh
vendored
Normal file
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License, v2 or later
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/files/bash-completion.sh,v 1.8 2010/01/11 17:39:57 darkside Exp $
|
||||
|
||||
# Check for interactive bash and that we haven't already been sourced.
|
||||
[ -z "$BASH_VERSION" -o -z "$PS1" -o -n "$BASH_COMPLETION" ] && return
|
||||
|
||||
# Check for recent enough version of bash.
|
||||
bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.}
|
||||
if [ $bmajor -eq 2 -a $bminor '>' 04 ] || [ $bmajor -gt 2 ]; then
|
||||
_load_completions() {
|
||||
declare f x loaded_pre=false
|
||||
for f; do
|
||||
if [[ -f $f ]]; then
|
||||
# Prevent loading base twice, initially and via glob
|
||||
if $loaded_pre && [[ $f == */base ]]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
# Some modules, including base, depend on the definitions
|
||||
# in .pre. See the ebuild for how this is created.
|
||||
if ! $loaded_pre; then
|
||||
if [[ ${BASH_COMPLETION-unset} == unset ]]; then
|
||||
BASH_COMPLETION="@GENTOO_PORTAGE_EPREFIX@/usr/share/bash-completion/base"
|
||||
fi
|
||||
source "@GENTOO_PORTAGE_EPREFIX@/usr/share/bash-completion/.pre"
|
||||
loaded_pre=true
|
||||
fi
|
||||
|
||||
source "$f"
|
||||
fi
|
||||
done
|
||||
|
||||
# Clean up
|
||||
$loaded_pre && source "@GENTOO_PORTAGE_EPREFIX@/usr/share/bash-completion/.post"
|
||||
unset -f _load_completions # not designed to be called more than once
|
||||
}
|
||||
|
||||
# 1. Load base, if eselected. This was previously known as
|
||||
# /etc/bash_completion
|
||||
# 2. Load completion modules, maintained via eselect bashcomp --global
|
||||
# 3. Load user completion modules, maintained via eselect bashcomp
|
||||
# 4. Load user completion file last, overrides modules at user discretion
|
||||
# This order is subject to change once upstream decides on something.
|
||||
_load_completions \
|
||||
"@GENTOO_PORTAGE_EPREFIX@/etc/bash_completion.d/base" \
|
||||
~/.bash_completion.d/base \
|
||||
"@GENTOO_PORTAGE_EPREFIX@/etc/bash_completion.d/"* \
|
||||
~/.bash_completion.d/* \
|
||||
~/.bash_completion
|
||||
fi
|
||||
|
||||
unset bash bminor bmajor
|
Loading…
Reference in New Issue
Block a user