Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487552 - net-misc/wicd: use readme.gentoo.eclass to not show all elog messages everytime
Summary: net-misc/wicd: use readme.gentoo.eclass to not show all elog messages everytime
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Kahle (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-10 18:46 UTC by Pacho Ramos
Modified: 2013-10-11 17:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2013-10-10 18:46:06 UTC
elog "You may need to restart the dbus service after upgrading wicd."

-> This should probably be confirmed, it usually not needed currently

	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*\")"

This is the part that could be handled by readme.gentoo.eclass

Thanks
Comment 1 Thomas Kahle (RETIRED) gentoo-dev 2013-10-11 12:31:56 UTC
(In reply to Pacho Ramos from comment #0)
> elog "You may need to restart the dbus service after upgrading wicd."
> 
> -> This should probably be confirmed, it usually not needed currently

Yes, that seems like bogus.  I removed it.

> 	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*\")"
> 
> This is the part that could be handled by readme.gentoo.eclass

I implemented this directly in the current -r3.  
Side-note: I found it confusing that readme.gentoo_create_doc calls dodoc on the new file.  Its name is a bit deceptive.  If I want to create the doc and install it, should I use readme.gentoo_create_doc or readme.gentoo_src_install?  I used the latter now.

+  11 Oct 2013; Thomas Kahle <tomka@gentoo.org> wicd-1.7.2.4-r3.ebuild:
+  use readme.gentoo eclass (bug 487552)
Comment 2 Pacho Ramos gentoo-dev 2013-10-11 17:20:45 UTC
I usually prefer to call "readme.gentoo_create_doc" when I have a specific src_install phase, the readme.gentoo_src_install phase is present for some ebuilds that use default src_install phase to allow them to not need to call it manually