Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 489678

Summary: net-misc/tor: use readme.gentoo.eclass to not show elog messages every time
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2013-10-28 19:38:03 UTC
Thanks
Comment 1 Anthony Basile gentoo-dev 2013-10-28 22:18:01 UTC
Pacho, please take a look at

    tor-0.2.4.17_rc-r1.ebuild
    tor-0.2.5.1_alpha-r2.ebuild

to see that I used the eclass as expected.  I think I got it right.
Comment 2 Pacho Ramos gentoo-dev 2013-10-29 06:52:38 UTC
Looks ok to me, strictly:
pkg_postinst() {
        readme.gentoo_pkg_postinst
}

readme.gentoo.eclass exports a pkg_postinst function for doing that, but some people prefer to specify it directly -> it's up to you then :)