diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-06-14 00:00:09 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-06-14 00:00:09 +0000 |
commit | df19277b3b367155e0e0e31228ed5b7aaaa2378a (patch) | |
tree | ef680762a42c3c5f19599eda684eb9c76a28d36d /net-misc/netctl | |
parent | Don't let openmpi override malloc, works around sandbox issue in #462602 (diff) | |
download | gentoo-2-df19277b3b367155e0e0e31228ed5b7aaaa2378a.tar.gz gentoo-2-df19277b3b367155e0e0e31228ed5b7aaaa2378a.tar.bz2 gentoo-2-df19277b3b367155e0e0e31228ed5b7aaaa2378a.zip |
Document optional runtime deps, bug 473186 by Alexander Tsoy.
(Portage version: 2.2.0_alpha179/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'net-misc/netctl')
-rw-r--r-- | net-misc/netctl/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/netctl/netctl-0.8.ebuild | 37 | ||||
-rw-r--r-- | net-misc/netctl/netctl-1.0.ebuild | 37 | ||||
-rw-r--r-- | net-misc/netctl/netctl-1.1-r1.ebuild | 29 | ||||
-rw-r--r-- | net-misc/netctl/netctl-1.1.ebuild | 40 | ||||
-rw-r--r-- | net-misc/netctl/netctl-9999.ebuild | 29 |
6 files changed, 62 insertions, 117 deletions
diff --git a/net-misc/netctl/ChangeLog b/net-misc/netctl/ChangeLog index 714fb98aa6bb..b54bd43c9110 100644 --- a/net-misc/netctl/ChangeLog +++ b/net-misc/netctl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/netctl # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/netctl/ChangeLog,v 1.10 2013/06/08 17:24:36 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/netctl/ChangeLog,v 1.11 2013/06/14 00:00:09 floppym Exp $ + + 14 Jun 2013; Mike Gilbert <floppym@gentoo.org> -netctl-0.8.ebuild, + -netctl-1.0.ebuild, -netctl-1.1.ebuild, netctl-1.1-r1.ebuild, + netctl-9999.ebuild: + Document optional runtime deps, bug 473186 by Alexander Tsoy. 08 Jun 2013; Mike Gilbert <floppym@gentoo.org> netctl-1.1-r1.ebuild, netctl-9999.ebuild: diff --git a/net-misc/netctl/netctl-0.8.ebuild b/net-misc/netctl/netctl-0.8.ebuild deleted file mode 100644 index 4901df0198a4..000000000000 --- a/net-misc/netctl/netctl-0.8.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/netctl/netctl-0.8.ebuild,v 1.2 2013/04/30 14:27:32 floppym Exp $ - -EAPI=5 - -inherit eutils - -if [[ ${PV} = *9999* ]]; then - EGIT_REPO_URI="git://projects.archlinux.org/netctl.git" - inherit git-2 -else - SRC_URI="ftp://ftp.archlinux.org/other/packages/${PN}/${P}.tar.xz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Profile based network connection tool from Arch Linux" -HOMEPAGE="https://www.archlinux.org/netctl/" -LICENSE="BSD" -SLOT="0" -IUSE="" - -RDEPEND=" - >=app-shells/bash-4.0 - >=net-dns/openresolv-3.5.4-r1 - sys-apps/iproute2 - sys-apps/systemd -" - -src_compile() { - return 0 -} - -src_install() { - emake DESTDIR="${D%/}" SHELL=bash install - dodoc AUTHORS NEWS README -} diff --git a/net-misc/netctl/netctl-1.0.ebuild b/net-misc/netctl/netctl-1.0.ebuild deleted file mode 100644 index 0124e23f421b..000000000000 --- a/net-misc/netctl/netctl-1.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/netctl/netctl-1.0.ebuild,v 1.1 2013/04/30 14:27:32 floppym Exp $ - -EAPI=5 - -inherit eutils - -if [[ ${PV} = *9999* ]]; then - EGIT_REPO_URI="git://projects.archlinux.org/netctl.git" - inherit git-2 -else - SRC_URI="ftp://ftp.archlinux.org/other/packages/${PN}/${P}.tar.xz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Profile based network connection tool from Arch Linux" -HOMEPAGE="https://www.archlinux.org/netctl/" -LICENSE="BSD" -SLOT="0" -IUSE="" - -RDEPEND=" - >=app-shells/bash-4.0 - >=net-dns/openresolv-3.5.4-r1 - sys-apps/iproute2 - sys-apps/systemd -" - -src_compile() { - return 0 -} - -src_install() { - emake DESTDIR="${D%/}" SHELL=bash install - dodoc AUTHORS NEWS README -} diff --git a/net-misc/netctl/netctl-1.1-r1.ebuild b/net-misc/netctl/netctl-1.1-r1.ebuild index 7185a4068a8b..2519714899f8 100644 --- a/net-misc/netctl/netctl-1.1-r1.ebuild +++ b/net-misc/netctl/netctl-1.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/netctl/netctl-1.1-r1.ebuild,v 1.4 2013/06/08 17:24:36 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/netctl/netctl-1.1-r1.ebuild,v 1.5 2013/06/14 00:00:09 floppym Exp $ EAPI=5 @@ -49,3 +49,30 @@ src_install() { insinto /usr/share/zsh/site-functions newins contrib/zsh-completion _netctl } + +optfeature() { + local desc=$1 + shift + while (( $# )); do + if has_version "$1"; then + elog " [I] $1 for ${desc}" + else + elog " [ ] $1 for ${desc}" + fi + shift + done +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "To get additional features, a number of option runtime dependencies may be" + elog "installed." + optfeature "DHCP support" net-misc/dhcpcd ">=net-misc/dhcp-5.6.7[client]" + optfeature "WPA support" net-wireless/wpa_supplicant + optfeature "interactive assistant" dev-util/dialog + optfeature "automatic connection" sys-apps/ifplugd + optfeature "bonding support" net-misc/ifenslave + optfeature "bridge support" net-misc/bridge-utils + optfeature "dialup support" net-dialup/ppp + fi +} diff --git a/net-misc/netctl/netctl-1.1.ebuild b/net-misc/netctl/netctl-1.1.ebuild deleted file mode 100644 index 8287d3f60dad..000000000000 --- a/net-misc/netctl/netctl-1.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/netctl/netctl-1.1.ebuild,v 1.1 2013/05/25 19:07:31 floppym Exp $ - -EAPI=5 - -inherit bash-completion-r1 eutils - -if [[ ${PV} = *9999* ]]; then - EGIT_REPO_URI="git://projects.archlinux.org/netctl.git" - inherit git-2 -else - SRC_URI="ftp://ftp.archlinux.org/other/packages/${PN}/${P}.tar.xz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Profile based network connection tool from Arch Linux" -HOMEPAGE="https://www.archlinux.org/netctl/" -LICENSE="BSD" -SLOT="0" -IUSE="" - -RDEPEND=" - >=app-shells/bash-4.0 - >=net-dns/openresolv-3.5.4-r1 - sys-apps/iproute2 - sys-apps/systemd -" - -src_compile() { - return 0 -} - -src_install() { - emake DESTDIR="${D%/}" SHELL=bash install - dodoc AUTHORS NEWS README - newbashcomp contrib/bash-completion netctl - insinto /usr/share/zsh/site-functions - newins contrib/zsh-completion _netctl -} diff --git a/net-misc/netctl/netctl-9999.ebuild b/net-misc/netctl/netctl-9999.ebuild index 9637ca655f77..642982932a74 100644 --- a/net-misc/netctl/netctl-9999.ebuild +++ b/net-misc/netctl/netctl-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/netctl/netctl-9999.ebuild,v 1.8 2013/06/08 17:24:36 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/netctl/netctl-9999.ebuild,v 1.9 2013/06/14 00:00:09 floppym Exp $ EAPI=5 @@ -49,3 +49,30 @@ src_install() { insinto /usr/share/zsh/site-functions newins contrib/zsh-completion _netctl } + +optfeature() { + local desc=$1 + shift + while (( $# )); do + if has_version "$1"; then + elog " [I] $1 for ${desc}" + else + elog " [ ] $1 for ${desc}" + fi + shift + done +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "To get additional features, a number of option runtime dependencies may be" + elog "installed." + optfeature "DHCP support" net-misc/dhcpcd ">=net-misc/dhcp-5.6.7[client]" + optfeature "WPA support" net-wireless/wpa_supplicant + optfeature "interactive assistant" dev-util/dialog + optfeature "automatic connection" sys-apps/ifplugd + optfeature "bonding support" net-misc/ifenslave + optfeature "bridge support" net-misc/bridge-utils + optfeature "dialup support" net-dialup/ppp + fi +} |