Subject: pkg/16958: Fixed misc/linuxls to use PKG_SYSCONFDIR
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jmmv@hispabsd.org>
List: netbsd-bugs
Date: 05/22/2002 11:27:53
>Number: 16958
>Category: pkg
>Synopsis: Fixed misc/linuxls to use PKG_SYSCONFDIR
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 22 02:28:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Julio Merino
>Release: NetBSD 1.5ZC
>Organization:
HispaBSD
>Environment:
System: NetBSD darkstar.local 1.5ZC NetBSD 1.5ZC (DARKSTAR) #38: Sun May 19 20:12:17 CEST 2002 juli@darkstar.local:/home/pub/NetBSD/src/sys/arch/i386/compile/DARKSTAR i386
Architecture: i386
Machine: i386
>Description:
The package linuxls was configured to use ${PREFIX}/etc for its
configuration files. I've fixed this to use the preferred directory
of PKG_SYSCONFDIR.
>How-To-Repeat:
>Fix:
The package is formed of three files: patch.diff, which increments
Makefile's revision, patch-ac which is the patch itself and MESSAGE
which tells the user the files he may want to edit.
START patch.diff
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/misc/linuxls/Makefile,v
retrieving revision 1.11
diff -u -u -r1.11 Makefile
--- Makefile 2002/05/11 18:02:37 1.11
+++ Makefile 2002/05/22 09:24:46
@@ -3,7 +3,7 @@
DISTNAME= fileutils-3.12
PKGNAME= linuxls-3.12.0.2
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_LOCAL}
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/misc/linuxls/distinfo,v
retrieving revision 1.3
diff -u -u -r1.3 distinfo
--- distinfo 2002/05/11 18:02:19 1.3
+++ distinfo 2002/05/22 09:24:46
@@ -6,3 +6,4 @@
Size (color-ls-3.12.0.2.patch.gz) = 20884 bytes
SHA1 (patch-aa) = bd2b88265b91c033f62da17c3cced3cf117b5318
SHA1 (patch-ab) = 3d3f6bacccaf9a68359ad2fa125a88da7329f591
+SHA1 (patch-ac) = e4f554adc684dd84beaa4f71b65fa0a2acafbd12
START patches/patch-ac
$NetBSD$
--- src/Makefile.in.orig Wed May 22 11:17:58 2002
+++ src/Makefile.in Wed May 22 11:18:10 2002
@@ -27,7 +27,7 @@
exec_prefix = @exec_prefix@
bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/lib
-etcdir = $(exec_prefix)/etc
+etcdir = ${PKG_SYSCONFDIR}
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
START MESSAGE
======================================================================
$NetBSD$
linuxls has installed the programs linuxls and dircolors. In order
to get the later working you need to configure the file:
${PKG_SYSCONFDIR}/DIR_COLORS
======================================================================
>Release-Note:
>Audit-Trail:
>Unformatted: