summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2013-10-11 12:31:45 +0000
committerThomas Kahle <tomka@gentoo.org>2013-10-11 12:31:45 +0000
commite256bbad186797512c4615836ac194761464d457 (patch)
tree9b4adf1650d2b61bac52b127adbd5aab50f6d3f4 /net-misc/wicd
parentStable on amd64 and x86, wrt bug #449582 (diff)
downloadgentoo-2-e256bbad186797512c4615836ac194761464d457.tar.gz
gentoo-2-e256bbad186797512c4615836ac194761464d457.tar.bz2
gentoo-2-e256bbad186797512c4615836ac194761464d457.zip
use readme.gentoo eclass (bug 487552)
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x89DEB219565C32BC!)
Diffstat (limited to 'net-misc/wicd')
-rw-r--r--net-misc/wicd/ChangeLog5
-rw-r--r--net-misc/wicd/wicd-1.7.2.4-r3.ebuild20
2 files changed, 15 insertions, 10 deletions
diff --git a/net-misc/wicd/ChangeLog b/net-misc/wicd/ChangeLog
index 11551525cd43..f2312ff661ea 100644
--- a/net-misc/wicd/ChangeLog
+++ b/net-misc/wicd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/wicd
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.143 2013/10/10 18:44:13 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.144 2013/10/11 12:31:45 tomka Exp $
+
+ 11 Oct 2013; Thomas Kahle <tomka@gentoo.org> wicd-1.7.2.4-r3.ebuild:
+ use readme.gentoo eclass (bug 487552)
10 Oct 2013; Pacho Ramos <pacho@gentoo.org> wicd-1.7.2.4-r3.ebuild:
Adapt elog messages to systemd
diff --git a/net-misc/wicd/wicd-1.7.2.4-r3.ebuild b/net-misc/wicd/wicd-1.7.2.4-r3.ebuild
index bd8c362dca68..dcbb2b3cc0ba 100644
--- a/net-misc/wicd/wicd-1.7.2.4-r3.ebuild
+++ b/net-misc/wicd/wicd-1.7.2.4-r3.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.7.2.4-r3.ebuild,v 1.4 2013/10/10 18:44:13 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.7.2.4-r3.ebuild,v 1.5 2013/10/11 12:31:45 tomka Exp $
EAPI=5
PYTHON_COMPAT=( python2_6 python2_7 )
PYTHON_REQ_USE="ncurses?,xml"
-inherit eutils distutils-r1 linux-info systemd
+inherit eutils distutils-r1 linux-info readme.gentoo systemd
DESCRIPTION="A lightweight wired and wireless network manager for Linux"
HOMEPAGE="https://launchpad.net/wicd"
@@ -51,7 +51,6 @@ RDEPEND="${PYTHON_DEPS}
)
pm-utils? ( sys-power/pm-utils )
"
-#DOCS="CHANGES NEWS AUTHORS README"
src_prepare() {
CONFIG_CHECK="~CFG80211_WEXT"
@@ -90,6 +89,12 @@ src_prepare() {
# nuke translations
rm po/*.po
fi
+
+ DOC_CONTENTS="To start wicd at boot with openRC, add
+ /etc/init.d/wicd to a runlevel and: (1) Remove all net.*
+ initscripts (except for net.lo) from all runlevels (2) Add these
+ scripts to the RC_PLUG_SERVICES line in /etc/rc.conf (For
+ example, rc_hotplug=\"!net.eth* !net.wlan*\")"
}
src_configure() {
@@ -122,19 +127,16 @@ src_install() {
rm "${WORKDIR}/Icone Wicd Lucid"/signal*
cp "${WORKDIR}/Icone Wicd Lucid"/*.png "${D}"/usr/share/pixmaps/wicd/
fi
+ readme.gentoo_src_install
}
pkg_postinst() {
- elog "You may need to restart the dbus service after upgrading wicd."
- echo
- elog "To start wicd at boot with openRC, add /etc/init.d/wicd to a runlevel and:"
- elog "- Remove all net.* initscripts (except for net.lo) from all runlevels"
- elog "- Add these scripts to the RC_PLUG_SERVICES line in /etc/rc.conf"
- elog "(For example, rc_hotplug=\"!net.eth* !net.wlan*\")"
# Maintainer's note: the consolekit use flag short circuits a dbus rule and
# allows the connection. Else, you need to be in the group.
if ! has_version sys-auth/consolekit; then
ewarn "Wicd-1.6 and newer requires your user to be in the 'users' group. If"
ewarn "you are not in that group, then modify /etc/dbus-1/system.d/wicd.conf"
fi
+
+ readme.gentoo_print_elog
}