Package: boxes
Version: 1.0.1a-2.1

When I invoke 'boxes' (and I omit the '-f' argument to point to a
configuration file) and intend the system-wide configuration file to
be used, boxes complains that the configuration file is a directory:

$ date | boxes
boxes: Alleged system-wide config file '/etc/boxes' is a directory

I checked http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=boxes and
did not see a bug filed about this particular issue (that I could
see), so I'm filing my very first Debian package bug.  (Please let me
know what information/format, etc. is most beneficial when filing
these bug reports, if I happen to omit anything.)

It appears that this 1.0.1a-2.1 version of 'boxes' locates the
system-wide configuration file here: "/etc/boxes/boxes-config":

$ ls -alF /etc/boxes/boxes-config
-rw-r--r-- 1 root root 41040 2006-07-11 04:58 /etc/boxes/boxes-config

Yet, the 'boxes' utility in this package is compiled so as to expect
that file to be "/etc/boxes", which in this case, is a directory.  (I
examined the source package for 'boxes', and found that the
debian/boxes-1.0.1.patch file changes that GLOBALCONF file to be
'/etc/boxes', which doesn't match where the actual file is placed when
installing the package.)

I recompiled the package after patching the boxes-1.0.1.patch file
located in the debian/ directory (my first time playing with this),
which fixes the issue.  Here's my patch:

----------------------------------------8<------------------------------------------------
--- Original/debian/boxes-1.0.1.patch   2006-08-25 16:24:24.000000000 -0700
+++ Modified/debian/boxes-1.0.1.patch   2006-08-25 16:23:56.000000000 -0700
@@ -102,7 +102,7 @@
 # The following line (GLOBALCONF) is the only line you should need to edit!
-GLOBALCONF = /usr/local/share/boxes
-BVERSION   = 1.0.1
-+GLOBALCONF = /etc/boxes
++GLOBALCONF = /etc/boxes/boxes-config
+BVERSION   = 1.0.1a

 SNAPFILE   = boxes-SNAP-$(shell date +%Y%m%d)
----------------------------------------8<------------------------------------------------

I'm using a Debian testing/unstable system.

'dpkg' shows this for boxes and libc6 (if that matters at all):
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                    Version                 Description
+++-=======================-=======================-==============================================================
ii  boxes                   1.0.1a-2.1              Textmode box- and
comment drawing filter
ii  libc6                   2.3.6-15                GNU C Library:
Shared libraries

-jesse


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to