Subject: pkg/32533: Arla overwrites OpenAFS-binaries when installed
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ola@mreriksson.net>
List: pkgsrc-bugs
Date: 01/15/2006 11:50:00
>Number:         32533
>Category:       pkg
>Synopsis:       Arla overwrites OpenAFS-binaries when installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 15 11:50:00 +0000 2006
>Originator:     Ola Eriksson
>Release:        NetBSD 3.0
>Organization:
GMQ Consulting
>Environment:
NetBSD zurg 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005  builds@works.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386

>Description:
If both Arla and OpenAFS are installed on the same machine (with OpenAFS installed first, followed by Arla), Arla will install binaries that conflicts with OpenAFS. (The 'bos' command for example).

OpenAFS is set to detect conflicts with existing installations of Arla, but not the other way around.
>How-To-Repeat:
Install OpenAFS (pkgsrc/net/openafs) followed by arla (pkgsrc/net/arla) and there will be conflicts since Arla will overwrite binaries used by OpenAFS. (bos for example)
>Fix:
Apply the following patch.

ola@zurg$ diff -bu pkgsrc/net/arla/Makefile.orig pkgsrc/net/arla/Makefile
--- pkgsrc/net/arla/Makefile.orig       2006-01-15 12:40:02.000000000 +0100
+++ pkgsrc/net/arla/Makefile    2006-01-15 12:40:31.000000000 +0100
@@ -9,6 +9,7 @@
 HOMEPAGE=              http://www.stacken.kth.se/project/arla/
 COMMENT=               Free AFS implementation from KTH
 
+CONFLICTS+=            openafs-[0-9]*
 CONFLICTS+=            lwp-[0-9]*
 CONFLICTS+=            rx-[0-9]*