Subject: pkg/32612: OpenAFS conflicts with Hemidal
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ola@mreriksson.net>
List: pkgsrc-bugs
Date: 01/24/2006 10:40:00
>Number:         32612
>Category:       pkg
>Synopsis:       OpenAFS conflicts with Hemidal
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 24 10:40:00 +0000 2006
>Originator:     Ola Eriksson
>Release:        NetBSD 3.99.15
>Organization:
GMQ Consulting
>Environment:
NetBSD herbert 3.99.15 NetBSD 3.99.15 (herbert) #0: Sat Jan  7 02:32:20 CET 2006  root@herbert:/usr/obj/sys/arch/i386/compile/herbert i386
>Description:
OpenAFS (pkgsrc/net/openafs) will install (and overwrites) files already present if the Hemidal (pkgsrc/security/heimdal) is installed.

This is probably not the best fix, since pkgsrc/security/heimdal provides some features not present in NetBSD's base-installation, that are of interest when using AFS. But until these packages can co-exist, they should not be allowed overwrite eachothers files.
>How-To-Repeat:
Install pkgsrc/security/heimdal followed by pkgsrc/net/openafs and see complaints about bogus/conflicting files from the Heimdal-package being overwritten.
>Fix:
Apply the following patch:

# diff -bu pkgsrc/net/openafs/Makefile.orig pkgsrc/net/openafs/Makefile
--- pkgsrc/net/openafs/Makefile.orig    2006-01-24 11:34:15.000000000 +0100
+++ pkgsrc/net/openafs/Makefile 2006-01-24 11:33:34.000000000 +0100
@@ -14,6 +14,7 @@
 CONFLICTS+=    lwp-[0-9]*
 CONFLICTS+=    rx-[0-9]*
 CONFLICTS+=    arla-[0-9]*
+CONFLICTS+=    heimdal-[0-9]*
 
 GNU_CONFIGURE= yes
 CONFIGURE_ARGS=        --enable-largefile-fileserver --enable-fast-restart