Date: Wed, 23 Apr 2003 09:07:47 +0400 From: Sergey Matveychuk <sem@ciam.ru> To: Kris Kennaway <kris@obsecurity.org> Cc: ports@freebsd.org Subject: Re: Recent bsd.port.mk changes Message-ID: <3EA61FA3.5050007@ciam.ru> In-Reply-To: <20030423013231.GA66663@rot13.obsecurity.org> References: <000501c3074c$e5c2be80$0a2da8c0@sem> <20030421210257.GA58574@rot13.obsecurity.org> <3EA48724.3080602@ciam.ru> <20030422001917.GA60080@rot13.obsecurity.org> <3EA53B4A.4030700@ciam.ru> <20030422193337.GA64963@rot13.obsecurity.org> <3EA5EA0D.8070500@ciam.ru> <20030423013231.GA66663@rot13.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote: > You can extract the prefix from the installed package by grepping for > @cwd in +CONTENTS. Similarly you can extract the list of installed > files by doing grep -v ^@ +CONTENTS. For each package that has our > origin (or a previous origin as looked up in the MOVED file), do the > following: if the installed prefix == $PREFIX and one or more of the > installed files matches a file in pkg-plist (checked using > e.g. comm(1)), then we are going to conflict and we should not Yes, all right. I need just to sleep more :) > install. I can't immediately think of how to implement the installed > plist extraction without using a temporary file, but it should be > possible with some thought. It's an interesting problem. I'd like to see your decision. -- Sem.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EA61FA3.5050007>