From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DMARC_MISSING,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from mf1.bredband.net (mf1.lab.bredband.com [195.54.122.119]) by chiba.3jane.net (Postfix) with ESMTP id CAED52018EF7 for ; Mon, 11 Mar 2002 12:52:41 -0600 (CST) Received: from there ([213.112.41.83]) by mf1.bredband.net with SMTP id <20020311184801.PRKN12210.mf1@there> for ; Mon, 11 Mar 2002 19:48:01 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Per Wigren To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] /etc/init.d Date: Mon, 11 Mar 2002 19:45:32 +0100 X-Mailer: KMail [version 1.3.2] References: <3C8CEDD8.2000907@colubris.com> <20020311180248.GB1380@littlethulu.craigthulu.com> In-Reply-To: <20020311180248.GB1380@littlethulu.craigthulu.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020311184801.PRKN12210.mf1@there> Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 0d67e70a-5b7e-4bb5-92b5-29ce7bb412d1 X-Archives-Hash: a8cb7bdf205ab362d69ef56bbae29519 How about having a "magic line" like: ###PROTECTED### or something? Then emerge can overwrite the file if that line doesn't exist.. // Wigren Monday 11 March 2002 19.02 skrev du: > On Mon, Mar 11, 2002 at 12:48:08PM -0500, Yannick Koehler spoke thusly: > > Guys, > > > > not sure for anyone else but is init.d really need to be protected? > > I mean does someone really change files in that directory (other than > > adding or removing)? > > > > That dir should always get merged. It would also get really nice of > > the portage could detect that no changes has been made to the file since > > its installation and therefore merge it without any issues. > > > > Like if the protected config file's time were saved in a temp files > > that portage would look into before merging to see if the date has or > > not change since the last install. > > Yes it needs to be protected. I, for instance, have my own version of > pcmcia in there that I don't want stepped on. Also, I have a couple of > other custom scripts for things not in portage yet; and when they are in > portage, I want to be able to compare the differences before using one > or the other. > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@gentoo.org > http://lists.gentoo.org/mailman/listinfo/gentoo-dev