NetBSD Problem Report #31124
From www@netbsd.org Fri Sep 2 15:49:58 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id 71C2863B853; Fri, 2 Sep 2005 15:49:58 +0000 (UTC)
Message-Id: <20050902154958.71C2863B853@narn.netbsd.org>
Date: Fri, 2 Sep 2005 15:49:58 +0000 (UTC)
From: mkb@incubus.de
Reply-To: mkb@incubus.de
To: gnats-bugs@netbsd.org
Subject: sysutils/rox renames Choices pathname, breaking compatibility
X-Send-Pr-Version: www-1.0
>Number: 31124
>Category: pkg
>Synopsis: sysutils/rox renames Choices pathname, breaking compatibility
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: rxg
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Sep 02 15:50:01 +0000 2005
>Closed-Date: Tue Jan 03 16:21:42 +0000 2006
>Last-Modified: Tue Jan 03 16:21:42 +0000 2006
>Originator: Matthias Buelow
>Release: 2.0.2, pkgsrc 2005Q2
>Organization:
>Environment:
NetBSD 2.0.2 i386
>Description:
The pkgsrc entry for sysutils/rox installs a shell script
"rox", which redefines the ROX_CHOICES_DIR environment
variable to some arbitrary value ("$HOME/.RoxChoices"),
which breaks compatibility with rox on all other platforms.
Please revert this unnecessary and arbitrary change.
Rox' choices stuff belongs under the default "$HOME/.Choices"
directory, there is no need to set the env variable to
anything.
It is highly annoying to copy over config files from some
other machine, or maintain them in a synchronized way, only
to find out they don't work on NetBSD, even though it's
the same version of the software, simply because the package
maintainer has taken the freedom to arbitrarily rename
parts of config pathnames.
Note: this is a BUG, due to the maintainer having bungled
it. It's not a feature that needs to be discussed.
>How-To-Repeat:
>Fix:
The following patch for files/rox corrects the bug
(might get mangled by the web send-pr but you get the idea):
*** rox.old Fri Sep 2 17:45:25 2005
--- rox Fri Sep 2 17:46:50 2005
***************
*** 3,21 ****
# $NetBSD: rox,v 1.3 2005/03/23 10:07:34 rxg Exp $
#
- # The user's Choices directory
- ROX_CHOICES_DIR="$HOME/.RoxChoices"
-
- #
- # If CHOICESPATH is not set, then check to see whether the user has
- # a $ROX_CHOICES_DIR directory. If they haven't, set one up.
- #
- if [ -z "$CHOICESPATH" ]; then
- [ ! -d "$ROX_CHOICES_DIR" ] && \
- cp -R @PREFIX@/share/rox/Choices "$ROX_CHOICES_DIR";
- export CHOICESPATH="$ROX_CHOICES_DIR";
- fi
-
# The shared-mime-info directory
export XDG_DATA_DIRS=@PREFIX@/share
--- 3,8 ----
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->rxg
Responsible-Changed-By: recht@netbsd.org
Responsible-Changed-When: Sun, 04 Sep 2005 18:16:27 +0000
Responsible-Changed-Why:
over to maintainer
State-Changed-From-To: open->closed
State-Changed-By: rxg@netbsd.org
State-Changed-When: Tue, 03 Jan 2006 16:21:42 +0000
State-Changed-Why:
Updated rox to 2.3 & fixed this problem.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.