Merge pull request #75 from marineam/eselect

bump(app-admin/eselect): sync with upstream
This commit is contained in:
Michael Marineau 2013-12-19 16:58:52 -08:00
commit c279534b4f
21 changed files with 1558 additions and 278 deletions

View File

@ -0,0 +1,32 @@
# ChangeLog for app-admin/eselect-bashcomp
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-bashcomp/ChangeLog,v 1.8 2013/12/17 10:54:23 armin76 Exp $
17 Dec 2013; Raúl Porcel <armin76@gentoo.org> eselect-bashcomp-1.3.6.ebuild:
alpha/ia64/s390/sh/sparc stable wrt #485502
27 Sep 2013; Agostino Sarubbo <ago@gentoo.org> eselect-bashcomp-1.3.6.ebuild:
Stable for arm, wrt bug #485502
23 Sep 2013; Rick Farina <zerochaos@gentoo.org> eselect-bashcomp-1.3.6.ebuild:
Stable for x86, wrt bug #485502
22 Sep 2013; Jeroen Roovers <jer@gentoo.org> eselect-bashcomp-1.3.6.ebuild:
Stable for HPPA (bug #485502).
21 Sep 2013; Agostino Sarubbo <ago@gentoo.org> eselect-bashcomp-1.3.6.ebuild:
Stable for amd64, wrt bug #485502
28 Aug 2013; Raúl Porcel <armin76@gentoo.org> eselect-bashcomp-1.3.6.ebuild:
Add ~s390 wrt #482782
28 Aug 2013; Ulrich Müller <ulm@gentoo.org> eselect-bashcomp-1.3.6.ebuild:
Add proper version information to the module.
*eselect-bashcomp-1.3.6 (28 Aug 2013)
28 Aug 2013; Ulrich Müller <ulm@gentoo.org> +eselect-bashcomp-1.3.6.ebuild,
+metadata.xml:
Initial import, split off from app-admin/eselect, keywords carried over from
there. This package is a stopgap solution to make the bashcomp.eselect module
available to previous versions of app-shells/bash-completion.

View File

@ -0,0 +1,14 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST eselect-1.3.6.tar.xz 166976 SHA256 5a2d7c69ed6f668bee60a72f742a768fec4006b05255b0f79a4ebac86dbd0c2b SHA512 a1fb0f9216eb87365c19480b9a63b9d050630329e1e6697427408393b07a3e3c0165296dea48badfe97ab6a651fee7e3f312e640d7cb32626249de876d242d9c WHIRLPOOL 716db4e6d12088f77368f3115c1196b64b71b1d3931c728adc20ca4fb6cd719fc4da6e648df15531ff02d7200459577a606bac2e239286f8dc0f2c54eaa61d6b
EBUILD eselect-bashcomp-1.3.6.ebuild 992 SHA256 f451e508c69e9231973afa99bebf9769a5f03bdc9d5edb781eb059422af599cc SHA512 a7dd9040fdd506101d7f7aa70de3d34e34c5799d4cd0f397a6ac38b67e2b2f2b095c0b430cdd88879578c2bea6422c5df9e15f81fba0f86bd28cc1170556e7f5 WHIRLPOOL 9f198104d70135d28e80a836dbab9b0a12d51e8c20b3217f79ceb2a3d34dc18983a18b2d17af14f9a20a0031262c5cdd98a752e6b92f2f3b5da98318b26ed12f
MISC ChangeLog 1403 SHA256 b30195d1d465e6c28b22131733917006d6a89004d5f0cb2cdeaa18d262993b14 SHA512 094fa8dcf74d7fa5d89d18988f7460dd2337d1b6565d1b58ab19f27687737e8102c6179d99a117858ecc6b65e7fa525956ef55205777bc12f006fea907112599 WHIRLPOOL e8e17beee0b38d1518265a92c68ad8dfd3fb80c9381bfbfa72cae8e19288927004e109c4ef153218c281995e411f2a680b8015197569eab92a2cb84ef78dbdf3
MISC metadata.xml 202 SHA256 4734bc1332c7d5cb2724d9266d647c195fa114a891f503e04bda1ff96e63b596 SHA512 bdd75d28e57f8855efb6e66f0a1e67a8344b6dc2b95391e75d446d272bcc04170c83dc84f447cf957e020799a41e40a2e7cb55a2fdec4f2ea87039f70572bbf6 WHIRLPOOL 20cbbba5aabed9f251e6c5239a24290461ce961adddc218cd029dcb2efc2382a26282cc9dfed3c7bd82a6181ac76acbfd3ab74daab38a6ea4f9d432d2254c36b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iEYEAREIAAYFAlKwLWEACgkQuQc30/atMkDj3ACfXTvBTH4MjZGo2pElwzG9pDlM
masAn1Z1ptvEEROt8hT3lxMjUqoACRp0
=jeBt
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,31 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-bashcomp/eselect-bashcomp-1.3.6.ebuild,v 1.9 2013/12/17 10:54:23 armin76 Exp $
EAPI=4
DESCRIPTION="Manage contributed bash-completion scripts"
HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Eselect"
SRC_URI="mirror://gentoo/eselect-${PV}.tar.xz"
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"
RDEPEND=">=app-admin/eselect-1.3.8"
S="${WORKDIR}/eselect-${PV}"
src_prepare() {
sed -i -e "/^MAINTAINER/aVERSION=\"${PV}\"" modules/bashcomp.eselect || die
}
src_configure() { :; }
src_compile() { :; }
src_install() {
insinto /usr/share/eselect/modules
doins modules/bashcomp.eselect
doman man/bashcomp.eselect.5
}

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>eselect@gentoo.org</email>
</maintainer>
</pkgmetadata>

File diff suppressed because it is too large Load Diff

View File

@ -1 +1,28 @@
DIST eselect-1.3.1.tar.xz 163908 RMD160 343f297d397952d23e24bd3cc0c6a652178d1a65 SHA1 ba99ce4b93f7268ef7d8ec50cfe85a6a8567eddc SHA256 4fc1c3f1b021dd8d28475ab2115f6a2de843bbbb941a0f70999389d1e0d56444 -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST eselect-1.3.1.tar.xz 163908 SHA256 4fc1c3f1b021dd8d28475ab2115f6a2de843bbbb941a0f70999389d1e0d56444 SHA512 b62e3e9f9c145a92625d136ea14ffa9705fa312971160ee3bb33f285dd67f6e6f415c7b9909b902b872500663a7a79c6fe53f52d179de7b7e120c5de994effd3 WHIRLPOOL a04a20c25617c3a53b0937c7f01f6dc89677beb5e1917a8d078a7f4403d4d77b7342da47766a061bc9158962ada190901db5b99d4b9603c49d9b90d3ad57feb5
DIST eselect-1.3.6.tar.xz 166976 SHA256 5a2d7c69ed6f668bee60a72f742a768fec4006b05255b0f79a4ebac86dbd0c2b SHA512 a1fb0f9216eb87365c19480b9a63b9d050630329e1e6697427408393b07a3e3c0165296dea48badfe97ab6a651fee7e3f312e640d7cb32626249de876d242d9c WHIRLPOOL 716db4e6d12088f77368f3115c1196b64b71b1d3931c728adc20ca4fb6cd719fc4da6e648df15531ff02d7200459577a606bac2e239286f8dc0f2c54eaa61d6b
DIST eselect-1.3.8.tar.xz 168040 SHA256 d0c50bfe0faaddc54fc184f698ee74a6029a21f5155c4670a2bea3ead954c138 SHA512 159bf3ddb05b1966318eaf62d09e454a024f8be7ead2300392abbcbaa54ef748a1c4db1b2f96162994bcab43071396eb96a0b47268f04cb8557f8804818da18e WHIRLPOOL 9c4da0bde2ae2b53e8949d59b13498f55ef2c849dcc8cac503a7d0dda2511311d94dfc7aa27a97432f13aa0b430fec0ab280594dc165bbb40e573dce8c8a74b0
DIST eselect-1.4.tar.xz 168580 SHA256 38f457567ac6a400763e49c215a78d5a7efc3edad589dda37bbd70847e3e7260 SHA512 4c28df99d3a235ccda60cb576634cde6110d3b7bc2fb7b8e3e9a69f7e09377dd9a5c615d6bf0ab8d668c137e8f658484fd28c0fe45e6ad3b7915925a3384b999 WHIRLPOOL 6646c023283b111bf7a973993dfe8537bdd3fab4c6c738af1f37c1aed1bddefbf834562036386dce1359d1b04da89049e7c60e4498733ac56587e037ca0ea87f
EBUILD eselect-1.3.1.ebuild 1900 SHA256 e074c14c109901748c36558e952f5ebd05c00d0c46e294bdecd3b85dbf8533ee SHA512 afc5de731a51976f69766165c97f16fef1a0e0c362e7bc6990f47b4ff9df3f6e61f1c309466701be920927e559c6feb230ed949c11304ab723e9f03310b2fc96 WHIRLPOOL fe96be86d4b55e500d0101f85d90500350b69d32078602dfd517c7969c5187dd73fe9cd5533b57a4a0c5210366edb5f5d88c47aa549471a6aa71484a05bf11d2
EBUILD eselect-1.3.6.ebuild 1795 SHA256 624738e70f94608736c7af6bd5d029acc92b0b03569a813db53f0b38890b265a SHA512 cc30b150f6d3783c7fa74afcbc855bdfcefac0c65446a77e6d05fc01b4c7dbbb1b9b6545ed6e335f6f2f6bacd45fa4493656f55260150b13de1381b55f5802ea WHIRLPOOL b00844e81a7f0a2df2ec204a1ab050d395b6076376bd031f42fc5547283a1b577cacbdb278034a34d7a824ab8a737e19ef9f2b801091abcc2bbbe9a2a616b787
EBUILD eselect-1.3.8.ebuild 1822 SHA256 3da3100a307bf71dcf18378fe5b3c445b7f47c2615ef1912486ff4a838acef57 SHA512 12caab10c300ba9f4ccacee6681f778a1290b05f6f4b58517aac0323f20dde9a708f5bfa17fd3152212a9ce2fec9b5b7e371b7a0b87f2e9562a74881a059003b WHIRLPOOL f73d39c66ef7a32116db77cd1e9a600334e4a46502885bcad079104dba486a5d5af50b7ef33dbf80983c2be3b25f47e62dd22dea60c15ed37bb3e0362a3a4411
EBUILD eselect-1.4.ebuild 1827 SHA256 5c0f5d90a186b9e66e8c389b8ec05c4fe14ff923d13970528b29fbf2c7fa9858 SHA512 31395dc9d94f608d566ba37bab3b002746bb07b8954a70464d189b03faaf921dec398ceb02c658f4053a512c1678b07ac533a21a57ba1471df02b68441ebd1fc WHIRLPOOL 0184fc081a39bb5766ca2072ec9fdc2f16a3d2499c94cb6e64311f468d2c4be68502a2c9e76e5cab9c3c6b5b6efdacdc09a14bde54f1aadbea011540e76e5988
EBUILD eselect-9999.ebuild 1518 SHA256 a77d8aed47a955d240898d9ac16d109e100755e4161483d15603abb9e2e1d976 SHA512 6eadab15b307bad131ed84f2692d9de9a1fea0833adbdd81bbbe5869ccc3bf0579edfe9615269225c7686481407d5504cc052e890c267a1b595498c61c952b88 WHIRLPOOL 0b2e4758f05ecfcb3ffcf6aa5c4923cfd003e53d6dbec04cf50e0a055cb4cd628c277797be5aad5c3c71e2fcafd42a280a8a4b094c562e494f0bd05c97bdba5d
MISC ChangeLog 35576 SHA256 80534750df7fad313bdeaf76088699fbe5b942a38f55ed782340df77e1cdeb14 SHA512 f9918d435f168a49731859d4961e1543232cd3ceffebf188535703a6fc670dd7b58af7dc30c64b87988662b5c0c253d99f3e69b43fefd245e1a99744061b7a7c WHIRLPOOL 87b1fa3b5275ff257cd0584ee825e2a176933b16b861395d3dfecb74fe4e97fda3d3a9efc05a00575d0f5c27b61990500716b46925142c349ef6b5b7518d797d
MISC metadata.xml 202 SHA256 4734bc1332c7d5cb2724d9266d647c195fa114a891f503e04bda1ff96e63b596 SHA512 bdd75d28e57f8855efb6e66f0a1e67a8344b6dc2b95391e75d446d272bcc04170c83dc84f447cf957e020799a41e40a2e7cb55a2fdec4f2ea87039f70572bbf6 WHIRLPOOL 20cbbba5aabed9f251e6c5239a24290461ce961adddc218cd029dcb2efc2382a26282cc9dfed3c7bd82a6181ac76acbfd3ab74daab38a6ea4f9d432d2254c36b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQGcBAEBCAAGBQJSo3LwAAoJEJQzkH1pP7W4Jj4L/jyvEVnm+FBs7/N09Jha73qM
/TfGlta9g4T1w8pjhni4qHoe5ZH1ugjnUq46JJSjk+DVBaBoZ/eMFVqVoJtY2U9v
QAmx10RaC5IENeYUB8rMc5os8E1XkHhilb1H5UZQEYdW6FiUPXyNOLtKIFdj28gh
g8xxw6U3L53sBqBGZYJkMAgC7uFsvjNz0+TCBku5iiazbGQ/5+HpZYgsOdSTS9Ko
XA1JhBIJlUCeKxi6kKEw80s+GFRWsDUC4Va0b0q1WGW3OmdCfYpOpMEa9cAVYik6
blVghuKwWZrNCcsk33JScYVn4j20gvzcajGGJh5XxXqgvqQPsfaD4MDZLFX6wGAj
rx6bqNGPAqA0b9azYUii8NjzGw0SfU3g0FhN+Jd/LOoSC6a+gga+b5eayluFE3LK
FxGGCjdJAy0yBJvnlegIMS7stpclWebXxIBsWybaH1FMHKld7DFVKV+Pah94jakR
bQ+b/bGH1jl+bH07JUh9YC8doH6OXR1TGteSIEDN9A==
=mfG7
-----END PGP SIGNATURE-----

View File

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-1.3.1.ebuild,v 1.11 2012/07/31 16:30:56 ulm Exp $ # $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-1.3.1.ebuild,v 1.13 2013/12/07 19:08:28 ulm Exp $
EAPI=3 EAPI=3
@ -8,9 +8,9 @@ inherit bash-completion-r1
DESCRIPTION="Gentoo's multi-purpose configuration and management tool" DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
HOMEPAGE="http://www.gentoo.org/proj/en/eselect/" HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
SRC_URI="mirror://gentoo/${P}.tar.xz" SRC_URI="http://dev.gentoo.org/~ulm/eselect/${P}.tar.xz"
LICENSE="GPL-2" LICENSE="GPL-2+"
SLOT="0" SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc" IUSE="doc"

View File

@ -0,0 +1,61 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-1.3.6.ebuild,v 1.13 2013/12/07 19:08:28 ulm Exp $
EAPI=4
inherit eutils bash-completion-r1
DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Eselect"
SRC_URI="http://dev.gentoo.org/~ulm/eselect/${P}.tar.xz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc emacs vim-syntax"
RDEPEND="sys-apps/sed
|| (
sys-apps/coreutils
sys-freebsd/freebsd-bin
app-misc/realpath
)"
DEPEND="${RDEPEND}
app-arch/xz-utils
doc? ( dev-python/docutils )"
RDEPEND="!app-admin/eselect-news
${RDEPEND}
sys-apps/file
sys-libs/ncurses"
PDEPEND="emacs? ( app-emacs/eselect-mode )
vim-syntax? ( app-vim/eselect-syntax )"
src_compile() {
emake
use doc && emake html
}
src_install() {
emake DESTDIR="${D}" install
newbashcomp misc/${PN}.bashcomp ${PN}
dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt
use doc && dohtml *.html doc/*
# needed by news module
keepdir /var/lib/gentoo/news
if ! use prefix; then
fowners root:portage /var/lib/gentoo/news
fperms g+w /var/lib/gentoo/news
fi
}
pkg_postinst() {
# fowners in src_install doesn't work for the portage group:
# merging changes the group back to root
if ! use prefix; then
chgrp portage "${EROOT}/var/lib/gentoo/news" \
&& chmod g+w "${EROOT}/var/lib/gentoo/news"
fi
}

View File

@ -0,0 +1,61 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-1.3.8.ebuild,v 1.11 2013/12/07 19:08:28 ulm Exp $
EAPI=4
inherit eutils bash-completion-r1
DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Eselect"
SRC_URI="http://dev.gentoo.org/~ulm/eselect/${P}.tar.xz"
LICENSE="GPL-2+ || ( GPL-2+ CC-BY-SA-2.5 )"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc emacs vim-syntax"
RDEPEND="sys-apps/sed
|| (
sys-apps/coreutils
sys-freebsd/freebsd-bin
app-misc/realpath
)"
DEPEND="${RDEPEND}
app-arch/xz-utils
doc? ( dev-python/docutils )"
RDEPEND="!app-admin/eselect-news
${RDEPEND}
sys-apps/file
sys-libs/ncurses"
PDEPEND="emacs? ( app-emacs/eselect-mode )
vim-syntax? ( app-vim/eselect-syntax )"
src_compile() {
emake
use doc && emake html
}
src_install() {
emake DESTDIR="${D}" install
newbashcomp misc/${PN}.bashcomp ${PN}
dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt
use doc && dohtml *.html doc/*
# needed by news module
keepdir /var/lib/gentoo/news
if ! use prefix; then
fowners root:portage /var/lib/gentoo/news
fperms g+w /var/lib/gentoo/news
fi
}
pkg_postinst() {
# fowners in src_install doesn't work for the portage group:
# merging changes the group back to root
if ! use prefix; then
chgrp portage "${EROOT}/var/lib/gentoo/news" \
&& chmod g+w "${EROOT}/var/lib/gentoo/news"
fi
}

View File

@ -0,0 +1,61 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-1.4.ebuild,v 1.1 2013/12/07 13:23:29 ulm Exp $
EAPI=4
inherit eutils bash-completion-r1
DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Eselect"
SRC_URI="http://dev.gentoo.org/~ulm/eselect/${P}.tar.xz"
LICENSE="GPL-2+ || ( GPL-2+ CC-BY-SA-2.5 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc emacs vim-syntax"
RDEPEND="sys-apps/sed
|| (
sys-apps/coreutils
sys-freebsd/freebsd-bin
app-misc/realpath
)"
DEPEND="${RDEPEND}
app-arch/xz-utils
doc? ( dev-python/docutils )"
RDEPEND="!app-admin/eselect-news
${RDEPEND}
sys-apps/file
sys-libs/ncurses"
PDEPEND="emacs? ( app-emacs/eselect-mode )
vim-syntax? ( app-vim/eselect-syntax )"
src_compile() {
emake
use doc && emake html
}
src_install() {
emake DESTDIR="${D}" install
newbashcomp misc/${PN}.bashcomp ${PN}
dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt
use doc && dohtml *.html doc/*
# needed by news module
keepdir /var/lib/gentoo/news
if ! use prefix; then
fowners root:portage /var/lib/gentoo/news
fperms g+w /var/lib/gentoo/news
fi
}
pkg_postinst() {
# fowners in src_install doesn't work for the portage group:
# merging changes the group back to root
if ! use prefix; then
chgrp portage "${EROOT}/var/lib/gentoo/news" \
&& chmod g+w "${EROOT}/var/lib/gentoo/news"
fi
}

View File

@ -0,0 +1,64 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-9999.ebuild,v 1.16 2013/10/29 21:08:27 ulm Exp $
EAPI=5
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/eselect.git"
inherit autotools git-r3 bash-completion-r1
DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Eselect"
LICENSE="GPL-2+ || ( GPL-2+ CC-BY-SA-2.5 )"
SLOT="0"
IUSE="doc emacs vim-syntax"
RDEPEND="sys-apps/sed
|| (
sys-apps/coreutils
sys-freebsd/freebsd-bin
app-misc/realpath
)"
DEPEND="${RDEPEND}
doc? ( dev-python/docutils )"
RDEPEND="!app-admin/eselect-news
${RDEPEND}
sys-apps/file
sys-libs/ncurses"
PDEPEND="emacs? ( app-emacs/eselect-mode )
vim-syntax? ( app-vim/eselect-syntax )"
src_prepare() {
eautoreconf
}
src_compile() {
emake
use doc && emake html
}
src_install() {
emake DESTDIR="${D}" install
newbashcomp misc/${PN}.bashcomp ${PN}
dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt
use doc && dohtml *.html doc/*
# needed by news module
keepdir /var/lib/gentoo/news
if ! use prefix; then
fowners root:portage /var/lib/gentoo/news
fperms g+w /var/lib/gentoo/news
fi
}
pkg_postinst() {
# fowners in src_install doesn't work for the portage group:
# merging changes the group back to root
if ! use prefix; then
chgrp portage "${EROOT}/var/lib/gentoo/news" \
&& chmod g+w "${EROOT}/var/lib/gentoo/news"
fi
}

View File

@ -1,11 +0,0 @@
--- a/bin/eselect.in
+++ b/bin/eselect.in
@@ -43,7 +43,7 @@
# Support variables for Gentoo Prefix
EPREFIX="@EPREFIX@"
-EROOT="${ROOT%/}${EPREFIX}"
+EROOT="${ROOT%${EPREFIX:+/}}${EPREFIX}"
# Remove all alias definitions. Unset functions and variables that are
# known to cause trouble.

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>eselect@gentoo.org</email>
</maintainer>
</pkgmetadata>

View File

@ -1,6 +1,59 @@
# ChangeLog for app-shells/bash-completion # ChangeLog for app-shells/bash-completion
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # 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 $ # $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/ChangeLog,v 1.259 2013/08/28 08:38:08 ulm Exp $
28 Aug 2013; Ulrich Müller <ulm@gentoo.org> bash-completion-1.3-r2.ebuild,
bash-completion-2.1.ebuild:
Add app-admin/eselect-bashcomp as alternative dependency for providing the
bashcomp.eselect module, as discussed with ssuominen.
25 Aug 2013; Samuli Suominen <ssuominen@gentoo.org>
bash-completion-2.1-r1.ebuild:
Skip testsuite because of interactive shell wrt #477066 by Jeroen Roovers
24 Aug 2013; Ulrich Müller <ulm@gentoo.org> bash-completion-1.3-r2.ebuild,
bash-completion-2.1.ebuild:
Depend on <eselect-1.3.7 because newer versions don't install the bashcomp
module any more, bug 476992.
16 Jul 2013; Samuli Suominen <ssuominen@gentoo.org>
bash-completion-2.1-r1.ebuild:
Remove the bashcomp blocker and let the broken files be for now
16 Jul 2013; Samuli Suominen <ssuominen@gentoo.org>
bash-completion-2.1-r1.ebuild:
Post installation warning about re-emerging packages for the completions/
sub directory change.
16 Jul 2013; Samuli Suominen <ssuominen@gentoo.org>
bash-completion-2.1-r1.ebuild:
Post installation message about non-login shells wrt #472938#c4 by Alexander
Tsoy
*bash-completion-2.1-r1 (16 Jul 2013)
16 Jul 2013; Samuli Suominen <ssuominen@gentoo.org>
+bash-completion-2.1-r1.ebuild:
Migrate to upstream build system and directory structure wrt #472938
17 Jun 2013; Jeroen Roovers <jer@gentoo.org> bash-completion-2.1.ebuild:
Remove nmcli completion (bug #472844).
04 Jun 2013; Samuli Suominen <ssuominen@gentoo.org>
-bash-completion-1.2.ebuild, -bash-completion-1.3-r1.ebuild,
-bash-completion-1.3.ebuild, -files/bash-completion.sh:
old
04 Jun 2013; Jeroen Roovers <jer@gentoo.org> bash-completion-2.1.ebuild:
Remove more files already owned by >=sys-apps/util-linux-2.23 (bug #395091).
*bash-completion-2.1 (03 Jun 2013)
03 Jun 2013; Jeroen Roovers <jer@gentoo.org> +bash-completion-2.1.ebuild:
Version bump (bug #395091).
02 Jun 2013; Agostino Sarubbo <ago@gentoo.org> bash-completion-1.3-r2.ebuild:
Stable for sh, wrt bug #468554
20 May 2013; Agostino Sarubbo <ago@gentoo.org> bash-completion-1.3-r2.ebuild: 20 May 2013; Agostino Sarubbo <ago@gentoo.org> bash-completion-1.3-r2.ebuild:
Stable for s390, wrt bug #468554 Stable for s390, wrt bug #468554

View File

@ -1,31 +1,26 @@
-----BEGIN PGP SIGNED MESSAGE----- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512 Hash: SHA256
AUX bash-completion.pc 282 SHA256 9167632403986bae490182d4177e2e49e4b442b3f6dca14e4358db97890ab677 SHA512 ed413f7bb5decc8b0336d1d383dfd8c9b9d5b709369adec1c5c1b62cf5c602fe8d1281d35d7cc2879e016acda83402a56be9538b708e3c251331e22f8fbdc8c8 WHIRLPOOL df61bc53db7f7a0b37783acee93ff9fa7ca1d6a88fd5f944e9ad87067af10cff12b18c4af60888fd96e48236eca271540e3de3028607c4e5f95c52ae9d48f801 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 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 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 DIST bash-completion-2.1.tar.bz2 265329 SHA256 2b606804a7d5f823380a882e0f7b6c8a37b0e768e72c3d4107c51fbe8a46ae4f SHA512 0bc71039ef136b1ccb72527eb40f2ed4068a58dc31b1ac1ee52a40e7c950ea4cfbb4f1bee2f0da6774e56062578fa3653096e6d306eea7f028dd55ff737e92fe WHIRLPOOL 0275d8ac99a0ac5b12637bf2b13561d656b239ba7c166071cb283a481df2fdd904ad1c18608ea35b9af4f0f4db3b034f833f0fd586a0096626d1b268bcd8fc00
EBUILD bash-completion-1.3-r1.ebuild 3104 SHA256 fde0cc88a372247e55767b71b1136a1696e25246dfc269e56910c58560434e4d SHA512 e26c81b08e1a787d0d19b4b1749128ded0d5609801beaaa78fc79d4b1485a3fc7bdbc57f08ab41f009ce6ba5e2b35267d320b81cd301038efc17d95a05a4c418 WHIRLPOOL d4c215db3850c8d3f7c17278a7353537ffe56cd8bfc8131113a4b8a7bda65fb02f8dd492141728a736daf15627eadc341a02ef616addbdff650a67f3536a6ef4 EBUILD bash-completion-1.3-r2.ebuild 3209 SHA256 496d581098077ca98ef5e6b6497e5bfc25d6d2799afcd80254c9cfbd712f7c82 SHA512 12874d6890d85996b5f9aac1f7060af473d07cea3684373836973ff172e236cd9d62800b529a19545f50d3b661b6a0671d1296069677591deeead51d80cc600f WHIRLPOOL 23f4e941430388255d54cba4509bd86f7a67cd2c4c52928a459cbf3896b3bf051618309387f3544752ea8f635f76cc5094e331a38e1cb04bf1f11dc89ca17ab0
EBUILD bash-completion-1.3-r2.ebuild 3169 SHA256 8f1e5482e35daf47313a82eea9e2eb878cdfa103741208f2156c78d1756be353 SHA512 12208783704ea28a4f724368cc11a3795e614ea121cb806b92f52104d4b77d0c3a985bbfa8fa6bcb9edab463618ca984534102a6c1dac664b7cd8b17bfa3e7b2 WHIRLPOOL 248bb57cd01a9028ba0f4c19ce7f30ef2ce3ba97cf93e408d5233e51cfea98347de522ff46730efb8910b25636751101aef8fe948b2d76863e6145fd395155b3 EBUILD bash-completion-2.1-r1.ebuild 2277 SHA256 8c3b7ac7b4d3b250dc1d48269acc1cf484034358b6944e6abcf44ee177b45781 SHA512 0740f2a183c29e4a0acfea2446be33da02dd56fb312f96fccab1e622d3765ded6849ae66ccf8319e56213aa110e929a0db464ef1bf8cc5d0aeeec09ee9337c93 WHIRLPOOL d4554b913b2e6a6bc6c533f8c7d43169346faf74875fa643373498d1be3fce6c59124fd4f9364be2ec7a0159c427de533815044d0c5d4fc8234f1624329b7b9b
EBUILD bash-completion-1.3.ebuild 2765 SHA256 861a98ec3f944fa89c464172acbd7c8a6bbf8ccafb15bdefbb24774c8158561a SHA512 da3438c89b1e119bbc3f356257e287b6570e3693045ac2909436625a6fd099c2ff5959704bbce848e1ea519cca1fb04a2f5a4385fedc190da90d70414aa40d0f WHIRLPOOL d1e4682a06c18415e2d1640432e93408d9e1ee35dd97901c3046b52540d8e0995d3fbba46fd430b45bdc51a9a25ecec3c237a24af4ca5dc231ad61151e87f292 EBUILD bash-completion-2.1.ebuild 3419 SHA256 a4c49714a7b69c88b9614d3b00d6744363b4c4d852a3d7ef0684f2583f00d628 SHA512 04a0be7547a25b29ef8f48a0495a47efa940019e80df4f895d3bdfde1a74972cb3fd37c19e0834160100d372621b0973117f0740f75450305fea9269e2dcbbbc WHIRLPOOL 25d56228157e65264d67f06542e843a40097e3deef00fbc561c8d38d3d0e76ac24cd6e719a71644318da134128d79ae59a1587efa9a53a392ef0893dbeda5ac3
MISC ChangeLog 41804 SHA256 cf3622b5e93c5ae0da817f6b432512425372740cc4c88696e33e874b8c4e2972 SHA512 0a0c589d2b555f2570ec7ec111cdd9bc3a300ccc437d46b2fb64ab3eed91a2086ed6d2a82f6dd90202338b0715b7def32deac698b3cae9aaed52fbc4a3d23df1 WHIRLPOOL fa3715e75f991a66af1afb99da97b264c1cba0b170922b5dc428de64997364ec4eb73b882e5641f2251c7860bb306b77799dc5306f88758e1b3280ed68e05f23 MISC ChangeLog 43853 SHA256 78365695f8558e3067ef03b3eb556d875384d0eb1b112d4c94dcbabb78ec05e5 SHA512 e1d2232796d7b0b197b0fc53e1468dd165568c56632a5d011ffe1bc2dfad3a943179c8518c3ee4db90d1e9f6c08301e122de9d19f6b49782995ad3a191b9fba2 WHIRLPOOL 8980e4e25cd4efc0f84d1ba73840101a347757e5e5353a7fb2b5bae1310848fc791c9f1bc2b3a41d8b9675915dd2f119a269caca72de2b6246aa0cea0b342166
MISC metadata.xml 930 SHA256 281bfd91145b2ae2a5c2774802dee741bbe625777b1c4e3eaefdca406e534ba9 SHA512 3410bd40fd29b9a140e1508c0fea5aed6ad95c8c05b6ab5bca83dfd1a82ed617fe086b45677d971a21cb62c6e7e3f9ade43793b4b1eba978ae6ab0e6a88c3ce7 WHIRLPOOL 8d49a80655a987ea098a7185664f37549a99a54e1da4082ec614ae7b4a4361c3368ca47c857a92e6b5a8c21ecf9a650a9dab6f99bcbcfd22aa0c448f2240b790 MISC metadata.xml 930 SHA256 281bfd91145b2ae2a5c2774802dee741bbe625777b1c4e3eaefdca406e534ba9 SHA512 3410bd40fd29b9a140e1508c0fea5aed6ad95c8c05b6ab5bca83dfd1a82ed617fe086b45677d971a21cb62c6e7e3f9ade43793b4b1eba978ae6ab0e6a88c3ce7 WHIRLPOOL 8d49a80655a987ea098a7185664f37549a99a54e1da4082ec614ae7b4a4361c3368ca47c857a92e6b5a8c21ecf9a650a9dab6f99bcbcfd22aa0c448f2240b790
-----BEGIN PGP SIGNATURE----- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux) Version: GnuPG v2.0.21 (GNU/Linux)
iQIcBAEBCgAGBQJRmmPoAAoJELp701BxlEWfTQwP/3wN6JutEK0S1pBEsgVxqE43 iQGcBAEBCAAGBQJSHbcmAAoJEJQzkH1pP7W4TBoL/2eshTkqo5+AQ2amiffE+qX/
B44lmei8y/LWIB1Q+xWa8Ft0dUPf65Q2oCOARPlTx9PRqo7wJ45fJuTYJdEs7Fdv 2f0JNCrZ5Q7f+r4+Pm2LS5NERrfPQzhprSmilqaeVCGYh2cKpAHaUI+GBx+wNVFo
0RxOgFt6S4ilLjEyt2u1fVjuezzrsS82jKeVY0ERt3PAVDbnpqxdpeIRkI2Y3KyX 9316rTGBbeu6VMAq3BQ/Wv/p9/hvAx/oWRcpZHrRvF3/RgGw+qoLyZY9XKNw756f
U4jRj+RIAI5OCFzE4QzMG+b1wLXFVDrDr2x9ZGksA3rxCaqhppAbnvLgMkmuqWgV hH6EYHnyfMYi7+wP5YSUHjDk2mywCJJYKjA8cXdEqEtAcKw5Qk1XfXyKcUn7G430
eCYRTx5ZyxHdST+/r4uef/WGOTg2YYyzO87oZtKc1G4Dh3g4I+ITd7jcosnNjYvC KzONkE0/bXmiT+H3G16Ndd2QmAzfYsgQWNMF0IhB7iOkGNsO8AtXhBFrrgsfEJ8n
jAvk2gS+/EA9YMibOWSPUqvBK7PR/ZOYV28NZdnmGYON7diz+wzKfo4/2vawcAVu BbkhxXtqJ5+8oP9V8BSVxhEg3HJAkp+RqFzVkcTUGRE0RuRjNUaEHl6mF6gYLH7c
mfBeH5jhL43mZfv5L20Ytpt/9egS7v/nApTQU1y+Yk76qU3smoVtHxdK1zLhIZGy 7rrpj9mr/ZV4VJQ7BvUdd9uscvAXxL1t2wduEW6dwgEhnHZJY6B6S11YBfHVh81U
T7Wad5m3Yf5gwH1/jPrCxuPFfrVDOBTXyBHGc9liU1GibJNFkYVIzlfALQi8RmNd mYpkJXo62bK02i92IlTc8NvZ/AqfDFXN+lW/X72WaEqhISsp+gHReoSYpahrVK7Z
XYDLCNmJFvfjkhCV4O7KlqVkaz9Fy0FAezstsYg0AW3SLMV0GGWiv3FemfI0mep7 7U+DYcJ+mYro67EMzUKewo7AQTy1kN3+Lw332y5dVA==
I0rNN/vhYRNOgrGg4OBHbIDzhwypxu1CKSaJTelQ6QBhqOOYuzdrcXPFUFlhz5I7 =gFY9
XyrlpHNGSvY97Sa1GQI4J6UXIQXt2FamD8OBF1OWI/VaOcKmrypVh4EHy+OJdD1F
CshLUAaqiDxy/2GpYhlm
=FE4Y
-----END PGP SIGNATURE----- -----END PGP SIGNATURE-----

View File

@ -1,78 +0,0 @@
# 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
}

View File

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation # Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # 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 $ # $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-1.3-r2.ebuild,v 1.14 2013/08/28 08:38:08 ulm Exp $
EAPI=3 EAPI=3
inherit prefix inherit prefix
@ -11,11 +11,11 @@ SRC_URI="http://bash-completion.alioth.debian.org/files/${P}.tar.bz2"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" 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" 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="" IUSE=""
DEPEND="" DEPEND=""
RDEPEND="app-admin/eselect RDEPEND="|| ( app-admin/eselect-bashcomp <app-admin/eselect-1.3.7 )
|| ( >=app-shells/bash-3.2 app-shells/zsh ) || ( >=app-shells/bash-3.2 app-shells/zsh )
sys-apps/miscfiles" sys-apps/miscfiles"
PDEPEND="app-shells/gentoo-bashcomp" PDEPEND="app-shells/gentoo-bashcomp"

View File

@ -1,79 +0,0 @@
# 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.8 2012/05/04 11:08:39 aballier 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"
}
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
}

View File

@ -0,0 +1,61 @@
# 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-2.1-r1.ebuild,v 1.6 2013/08/25 17:05:36 ssuominen Exp $
EAPI=5
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=""
RDEPEND="|| ( >=app-shells/bash-4.1 app-shells/zsh )
sys-apps/miscfiles"
src_test() { :; } # Skip testsuite because of interactive shell wrt #477066
src_install() {
default
# use the copies from >=sys-apps/util-linux-2.23 wrt #468544 -> hd and ncal
# becomes dead symlinks as a result
local file
for file in cal dmesg eject hd hexdump hwclock ionice look ncal renice rtcwake; do
rm -f "${ED}"/usr/share/bash-completion/completions/${file}
done
# use the copy from app-editors/vim-core:
rm -f "${ED}"/usr/share/bash-completion/completions/xxd
# use the copy from net-misc/networkmanager:
rm -f "${ED}"/usr/share/bash-completion/completions/nmcli
dodoc AUTHORS CHANGES README
}
pkg_postinst() {
if [[ -z ${REPLACING_VERSIONS} ]]; then
elog "If you use non-login shells you still need to source"
elog "/usr/share/bash-completion/bash_completion in your ~/.bashrc."
else
ewarn "Please re-emerge all packages on your system which install"
ewarn "completions in /usr/share/bash-completion."
ewarn "They should now be in their own completions/ sub directory."
ewarn
ewarn "One way to do this is to run the following command:"
ewarn "emerge -av1 \$(qfile -q -S -C /usr/share/bash-completion)"
ewarn "Note that qfile can be found in app-portage/portage-utils"
fi
if has_version 'app-shells/zsh'; then
elog
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
}

View File

@ -1,8 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # 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 $ # $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-2.1.ebuild,v 1.5 2013/08/28 08:38:08 ulm Exp $
EAPI=3 EAPI=5
inherit prefix inherit prefix
DESCRIPTION="Programmable Completion for bash" DESCRIPTION="Programmable Completion for bash"
@ -14,8 +14,7 @@ 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" 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="" IUSE=""
DEPEND="" RDEPEND="|| ( app-admin/eselect-bashcomp <app-admin/eselect-1.3.7 )
RDEPEND="app-admin/eselect
|| ( >=app-shells/bash-3.2 app-shells/zsh ) || ( >=app-shells/bash-3.2 app-shells/zsh )
sys-apps/miscfiles" sys-apps/miscfiles"
PDEPEND="app-shells/gentoo-bashcomp" PDEPEND="app-shells/gentoo-bashcomp"
@ -24,7 +23,19 @@ src_prepare() {
cp "${FILESDIR}"/bash-completion.sh-gentoo-1.2 "${T}"/bash-completion.sh || die cp "${FILESDIR}"/bash-completion.sh-gentoo-1.2 "${T}"/bash-completion.sh || die
eprefixify "${T}"/bash-completion.sh eprefixify "${T}"/bash-completion.sh
find "${S}"/completions -name 'Makefile*' -delete find completions -name 'Makefile*' -exec rm -f {} +
# Part of >=sys-apps/util-linux-2.23 wrt #468544
local file
for file in cal dmesg eject hexdump hwclock ionice look renice rtcwake; do
rm -f completions/${file}
done
# app-editors/vim-core:
rm -f completions/xxd
# net-misc/networkmanager:
rm -f completions/nmcli
} }
src_configure() { :; } # no-op src_configure() { :; } # no-op
@ -33,11 +44,11 @@ src_compile() { :; } # no-op
src_install() { src_install() {
# Gentoo specific bash-completion.sh file. # Gentoo specific bash-completion.sh file.
insinto /etc/profile.d insinto /etc/profile.d
doins "${T}"/bash-completion.sh || die doins "${T}"/bash-completion.sh
# All files from contrib/ in source package get installed # All files from contrib/ in source package get installed
insinto /usr/share/bash-completion insinto /usr/share/bash-completion
doins -r "${S}"/completions/* || die doins -r "${S}"/completions/*
awk -v D="$ED" ' awk -v D="$ED" '
BEGIN { out=".pre" } BEGIN { out=".pre" }
@ -49,7 +60,7 @@ src_install() {
out != "" { print > D"/usr/share/bash-completion/"out }' \ out != "" { print > D"/usr/share/bash-completion/"out }' \
bash_completion || die "failed to split bash_completion" bash_completion || die "failed to split bash_completion"
dodoc AUTHORS CHANGES README TODO || die "dodocs failes" dodoc AUTHORS CHANGES README
# This is backported from upstream 2.0 release. You can stop installing # 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 # this file after 2.0 is in Portage and use the one from the tarball
@ -57,26 +68,28 @@ src_install() {
# Installed to datadir instead of libdir because bash-completion(s) # Installed to datadir instead of libdir because bash-completion(s)
# are not ELF files. # are not ELF files.
insinto /usr/share/pkgconfig insinto /usr/share/pkgconfig
doins "${FILESDIR}"/bash-completion.pc || die doins "${FILESDIR}"/bash-completion.pc
} }
pkg_postinst() { pkg_postinst() {
elog "Any user can enable the module completions without editing their" if ! has_version "${CATEGORY}/${PN}"; then
elog ".bashrc by running:" elog "Any user can enable the module completions without editing their"
elog elog ".bashrc by running:"
elog " eselect bashcomp enable <module>" elog
elog elog " eselect bashcomp enable <module>"
elog "The system administrator can also be enable this globally with" elog
elog elog "The system administrator can also be enable this globally with"
elog " eselect bashcomp enable --global <module>" elog
elog elog " eselect bashcomp enable --global <module>"
elog "Make sure you at least enable the base module! Additional completion" elog
elog "modules can be found by running" elog "Make sure you at least enable the base module! Additional completion"
elog elog "modules can be found by running"
elog " eselect bashcomp list" elog
elog elog " eselect bashcomp list"
elog "If you use non-login shells you still need to source" elog
elog "/etc/profile.d/bash-completion.sh in your ~/.bashrc." elog "If you use non-login shells you still need to source"
elog "/etc/profile.d/bash-completion.sh in your ~/.bashrc."
fi
if has_version 'app-shells/zsh' ; then if has_version 'app-shells/zsh' ; then
elog "If you are interested in using the provided bash completion functions with" elog "If you are interested in using the provided bash completion functions with"

View File

@ -1,53 +0,0 @@
# 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