tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Basic replace support for DESTDIR




To: tech-pkg%netbsd.org@localhost

Subject: Re: Basic replace support for DESTDIR

From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>

Date: Thu, 17 Jan 2008 20:27:56 +0100


On Thu, Jan 17, 2008 at 02:06:54PM -0500, Johnny C. Lam wrote:
> Joerg Sonnenberger wrote:
>> whoever cares enough about undo should finish the attached patch.
>> E.g. tarup the package before replace and run pkg_add -u with it for
>> undo. As Alistair objects the patch without that and I don't care enough
>> to waste more time on it, it won't get committed.
>
> FWIW, I think the whole "replace" code needs to be ripped out and 
> rewritten.  When I wrote the current "replace" module, I foolishly tried to 
> templatize the "replace" action so that different package tools could 
> override the steps as needed.  Clearly, it's much too complex as-is -- I 
> barely understand the code there anymore.

The destdir case with this patch is just pkg_add -u ${pkgname}.

Joerg



Follow-Ups:

Re: Basic replace support for DESTDIR
From: Blair Sadewitz


References:

Basic replace support for DESTDIR
From: Joerg Sonnenberger

Re: Basic replace support for DESTDIR
From: Johnny C. Lam




Prev by Date: Re: Basic replace support for DESTDIR

Next by Date: Re: bump openssl dependents?

Previous by Thread: Re: Basic replace support for DESTDIR

Next by Thread: Re: Basic replace support for DESTDIR

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index