From owner-freebsd-ports Fri Jun 29 14:24:54 2001 Delivered-To: freebsd-ports@freebsd.org Received: from dagobert.skystream.nl (smtp.uwnet.nl [195.7.130.55]) by hub.freebsd.org (Postfix) with ESMTP id C63E437B406 for ; Fri, 29 Jun 2001 14:24:47 -0700 (PDT) (envelope-from abgoeree@uwnet.nl) Received: from dyn.dailup.c227128008.isd.to (dyn.dailup.c227128008.isd.to [213.227.128.8]) by dagobert.skystream.nl (8.11.3/8.11.0) with ESMTP id f5TLSXo16006 for ; Fri, 29 Jun 2001 23:28:33 +0200 Received: (qmail 18765 invoked by uid 1000); 29 Jun 2001 21:26:36 -0000 From: "Andre Goeree" Date: Fri, 29 Jun 2001 23:26:36 +0200 To: freebsd-ports@FreeBSD.ORG Subject: Re: ports/28521: inconsistency: daemontools and serialmail Message-ID: <20010629232636.A18667@mandark.attica.home> References: <200106291620.f5TGK7394341@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106291620.f5TGK7394341@freefall.freebsd.org>; from roam@orbitel.bg on Fri, Jun 29, 2001 at 09:20:07AM -0700 X-Sender: abgoeree@uwnet.nl Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jun 29, 2001 at 09:20:07AM -0700, Peter Pentchev wrote: > The following reply was made to PR ports/28521; it has been noted by GNATS. > > From: Peter Pentchev > To: Andre Goeree > Cc: FreeBSD-gnats-submit@freebsd.org > Subject: Re: ports/28521: inconsistency: daemontools and serialmail > Date: Fri, 29 Jun 2001 19:21:04 +0300 > > On Fri, Jun 29, 2001 at 04:10:19PM -0000, Andre Goeree wrote: > > > > >Number: 28521 > > >Category: ports > > >Synopsis: inconsistency: daemontools and serialmail > > >Originator: Andre Goeree > > > > >Description: > > After running /usr/ports/Tools/scripts/consistency-check: > > > > File setlock owned by multiple packages daemontools-0.70_1,serialmail-0.75 > > For setlock, package md5 265449681efdd083aaa9c7b87243bea4 is DIFFERENT from \ > > fs md5 of d71065ad7446e3f2cf1e8ad4d0aa509e! > > > > ago@mandark$ cat /usr/ports/sysutils/daemontools/pkg-plist |grep setlock > > bin/setlock > > ago@mandark$ cat /usr/ports/mail/serialmail/pkg-plist |grep setlock > > bin/setlock > > Just as a side note, completely unrelated to the problem report: > cat | grep is completely unneeded, unless you're cat'ing multiple > files. 'grep expr filename' works perfectly fine, and if you're > searching for a fixed expression, 'fgrep expr filename' is even faster. Yes, I know. It's an old (newbie) habit that I can't seem to get rid of. > > > >How-To-Repeat: > > > > install sysutils/daemontools > > install mail/serialmail > > run /usr/ports/Tools/scripts/consistency-check > > As to the problem at hand, yes, there are several (I daresay even 'many') > such conflicts in the Ports collection :( I don't think there is an easy > way to solve them, unless you get the various port maintainers to agree > that a program is not so essential, and it may be installed into a subdir, > or under a different name, or not installed at all.. With some packages, > changing executable names might even be a license violation.. > > G'luck, > Peter > Hmm. I agree, there's probably no easy way to solve these kind of problems. The problem, in general, seems a bit more complicated than I expected. Thanks for explaning some possible solutions. In this particular case (serialmail/daemontools) the conflicting files do not differ much. The files are from the same developer and have probably the same function (are interchangeable/compatible). The problem comes when one of the ports gets deinstalled and deletes the conflicting file, it could still be needed by the other port. A solution would be to not to delete the file but to display a message about deleting the file manually when it's no longer needed, this is already common practice with users (postgresql). OTOH, a missing file would be a problem that you should notice soon enough 8-) -Andre. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message