Subject: pkg/32610: Heimdal conflicts with Arla and OpenAFS
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ola@mreriksson.net>
List: pkgsrc-bugs
Date: 01/24/2006 10:30:00
>Number:         32610
>Category:       pkg
>Synopsis:       Heimdal conflicts with Arla and OpenAFS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 24 10:30: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:
Heimdal installes (and overwrites) files already present if either of the Arla- or OpenAFS-packages are 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/net/arla or pkgsrc/net/openafs followed by pkgsrc/security/heimdal and see complaints about bogus/conflicting files from either of the earlier packages being overwritten.
>Fix:
Apply the following patch:

# diff -bu pkgsrc/security/heimdal/Makefile.orig pkgsrc/security/heimdal/Makefile
--- pkgsrc/security/heimdal/Makefile.orig       2006-01-24 11:13:03.000000000 +0100
+++ pkgsrc/security/heimdal/Makefile    2006-01-24 11:13:30.000000000 +0100
@@ -10,6 +10,8 @@
 COMMENT=       Kerberos 5 implementation
 
 CONFLICTS+=    mit-krb5-[0-9]*
+CONFLICTS+=    openafs-[0-9]*
+CONFLICTS+=    arla-[0-9]*
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews