Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45 - colorgcc-1.3.2.ebuild violates CONFIG_PROTECT
Summary: colorgcc-1.3.2.ebuild violates CONFIG_PROTECT
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-05 23:19 UTC by Tod M. Neidt
Modified: 2007-02-28 11:36 UTC (History)
2 users (show)

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 Tod M. Neidt 2002-01-05 23:19:11 UTC
Hi!

I gotten use to CONFIG_PROTECT not allowing changes to existing config files in
/etc, so it bothers me when an ebuild does this.  Using pkg_postinst to change
/etc/profile is cheating :)
 options that I can think of:

1. Just echo the info to the screen in pkg_postinst telling the user to modify
/etc/profile, or their .bashrc

2.  Include a modified profile.colorgcc file in the colorgcc/files directory and
then
insinto /etc
newins ${FILESDIR}/profile.colorgcc profile

CONFIG_PROTECT will catch this and create a ._cfg0000_profile in /etc

I like color!

tod
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-02-20 01:31:39 UTC
fixed on cvs.  Thanks for your patience :)
Comment 2 Grant Goodyear (RETIRED) gentoo-dev 2002-02-21 09:13:25 UTC
It looks like -r1 wasn't committed.
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-02-21 14:16:10 UTC
committed now