Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99378 - x11-base/xorg-x11: stale docs
Summary: x11-base/xorg-x11: stale docs
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-17 17:04 UTC by Carsten Lohrke (RETIRED)
Modified: 2006-04-04 15:18 UTC (History)
0 users

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


Attachments
stale-xorg-docs (stale-xorg-docs,111.07 KB, text/plain)
2005-07-17 17:06 UTC, Carsten Lohrke (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2005-07-17 17:04:40 UTC
I'm not sure, if this is still a problem, but there's no code dealing with
removal of symlinks in .../doc/$PF in the latest stable ebuild.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-17 17:06:55 UTC
Created attachment 63657 [details]
stale-xorg-docs

output of `tree -p /usr/share/doc/xorg-x11-6.8.*`
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2005-07-18 00:16:47 UTC
It probably is. Care to provide a patch?
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-18 02:07:31 UTC
Well, lanius solved this by adding 

pkg_preinst() {
        # cleanups
        rm -fR /usr/share/doc/${PN}*
}

to cups and it's probably a good idea to clean out docs of previous versions as
well. On the other hand putting 

[ -n "${PF}" ] && rm -fR /usr/share/doc/${PF} in pkg_postrm() 

would be a bit more safe. An accidentally empty $PN would not be funny in the
first case.
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-21 12:49:39 UTC
better make that

pkg_postrm(){
    [ -n "${PF}" ] && rm -rf ${ROOT}/usr/share/doc/${PF}
}
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2006-04-04 15:18:59 UTC
Security fixes only for the monolith now.