pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52955: pkgtools/pkg_chk: the PKG_SYSCONFDIR variable is not being replaced



>Number:         52955
>Category:       pkg
>Synopsis:       pkgtools/pkg_chk: the PKG_SYSCONFDIR variable is not being replaced
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 27 22:10:00 +0000 2018
>Originator:     Vicente Chaves
>Release:        pkgsrc-current
>Organization:
>Environment:
NetBSD dm4.vchaves.lab 7.1.1 NetBSD 7.1.1 (GENERIC.201712222334Z) amd64
>Description:
Apparently the PKG_SYSCONFDIR variable is not being replaced in the file pkg_chk.sh

in file:  /usr/pkg/sbin/pkg_chk
line 876: test -n "$PKG_SYSCONFDIR"  || PKG_SYSCONFDIR="@PKG_SYSCONFDIR@"

>How-To-Repeat:
cd /usr/pkgsrc/pkgtools/pkg_chk
make
make install
grep '@PKG_SYSCONFDIR@' /usr/pkg/sbin/pkg_chk
>Fix:
cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/pkg_chk/Makefile,v
retrieving revision 1.86
diff -a -u -r1.86 Makefile
--- Makefile    9 Oct 2014 14:06:49 -0000       1.86
+++ Makefile    27 Jan 2018 21:56:36 -0000
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.86 2014/10/09 14:06:49 wiz Exp $
 
-PKGNAME=       pkg_chk-2.0.8
+PKGNAME=       pkg_chk-2.0.9
 CATEGORIES=    pkgtools
 
 OWNER=         abs%NetBSD.org@localhost
@@ -28,7 +28,7 @@
 SUBST_FILES.vars=      pkg_chk.sh pkg_chk.8
 SUBST_VARS.vars=       AWK BZCAT GREP GZCAT GZIP_CMD ID MAKE MAKECONF MKTEMP \
                        PKG_ADD PKG_ADMIN PKG_DELETE PKG_INFO \
-                       SED SH SORT TSORT PREFIX PKG_DBDIR XARGS
+                       SED SH SORT TSORT PREFIX PKG_DBDIR XARGS PKG_SYSCONFDIR
 
 REPLACE_SH+=           pkg_chk.sh
 
cvs diff: Diffing files


Home | Main Index | Thread Index | Old Index