From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23285 invoked by uid 1002); 30 May 2003 14:22:48 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 26833 invoked from network); 30 May 2003 14:22:48 -0000 Message-ID: <3ED76937.8040506@komcept.com> Date: Fri, 30 May 2003 15:22:47 +0100 From: MAL Organization: Komcept Solutions Ltd. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030523 X-Accept-Language: en-gb, en MIME-Version: 1.0 To: Alastair Tse CC: gentoo-dev@gentoo.org References: <3ED73D35.8000308@komcept.com> <1054294171.14545.16.camel@mcvaio.liquidx.net> In-Reply-To: <1054294171.14545.16.camel@mcvaio.liquidx.net> X-Enigmail-Version: 0.74.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [gentoo-dev] ebuild question X-Archives-Salt: bf82f55c-6dd5-4fb7-bb9f-d3389a961893 X-Archives-Hash: ea8266070489079ba5b17e08e4d4757f Alastair Tse wrote: > On Fri, 2003-05-30 at 12:15, MAL wrote: > > >>a) possibly portage has a function to specify that access to >>/etc/gtk-2.0/gtk.immodules is allowed. > > > Thats a no no. Unless there is absolutely no way to patch that > behaviour. > > >>b) I provide a patch to the sources to stop this happening, then do it >>myself in the ebuild after install. > > > You have to patch that part out and make sure you can produce the same > effect during pkg_postinst() and also reverse the effect when you do > pkg_postrm() (if possible.) You need to test it pretty well to make sure > pkg_postinst() and pkg_postrm() works as expected, esp in regards > prefixing paths with ${ROOT} when writing files, etc. Thanks for the info, see what you think: http://bugs.gentoo.org/show_bug.cgi?id=21953 Is it better to upload an ebuild as a .tar.bz2 with digests, patches etc. all included? Cheers, MAL -- gentoo-dev@gentoo.org mailing list