pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/pkg_filecheck



Module Name:    pkgsrc
Committed By:   rillig
Date:           Mon Apr 27 05:35:29 UTC 2020

Modified Files:
        pkgsrc/pkgtools/pkg_filecheck: Makefile
        pkgsrc/pkgtools/pkg_filecheck/files: builddb.1 builddb.pl

Log Message:
pkgtools/pkg_filecheck: fix absolute path to PKG_DBDIR


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/pkgtools/pkg_filecheck/Makefile
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/pkgtools/pkg_filecheck/files/builddb.1
cvs rdiff -u -r1.2 -r1.3 pkgsrc/pkgtools/pkg_filecheck/files/builddb.pl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/pkg_filecheck/Makefile
diff -u pkgsrc/pkgtools/pkg_filecheck/Makefile:1.47 pkgsrc/pkgtools/pkg_filecheck/Makefile:1.48
--- pkgsrc/pkgtools/pkg_filecheck/Makefile:1.47 Sun Aug 11 13:22:36 2019
+++ pkgsrc/pkgtools/pkg_filecheck/Makefile      Mon Apr 27 05:35:29 2020
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.47 2019/08/11 13:22:36 wiz Exp $
+# $NetBSD: Makefile,v 1.48 2020/04/27 05:35:29 rillig Exp $
 #
 
 PKGNAME=       pkg_filecheck-0.4
-PKGREVISION=   8
+PKGREVISION=   9
 CATEGORIES=    pkgtools devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -25,12 +25,10 @@ INSTALLATION_DIRS= \
        bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 share/examples/pkg_filecheck
 
 SUBST_CLASSES+=                paths
-SUBST_FILES.paths=     builddb.pl builddb.1 pkg_filecheck.conf
-SUBST_FILES.paths+=    pkg_filecheck.conf.5 pkg_filecheck.c pkg_filecheck.1
-SUBST_VARS.paths=      PREFIX
-SUBST_VARS.paths+=     PERL5
-SUBST_VARS.paths+=     PKG_DBDIR
-SUBST_VARS.paths+=     PKG_SYSCONFDIR
+SUBST_FILES.paths=     builddb.pl builddb.1
+SUBST_FILES.paths+=    pkg_filecheck.c pkg_filecheck.1
+SUBST_FILES.paths+=    pkg_filecheck.conf
+SUBST_VARS.paths=      PREFIX PERL5 PKG_DBDIR PKG_SYSCONFDIR
 SUBST_STAGE.paths=     pre-configure
 
 post-extract:

Index: pkgsrc/pkgtools/pkg_filecheck/files/builddb.1
diff -u pkgsrc/pkgtools/pkg_filecheck/files/builddb.1:1.1.1.1 pkgsrc/pkgtools/pkg_filecheck/files/builddb.1:1.2
--- pkgsrc/pkgtools/pkg_filecheck/files/builddb.1:1.1.1.1       Sun Jul 13 16:15:34 2003
+++ pkgsrc/pkgtools/pkg_filecheck/files/builddb.1       Mon Apr 27 05:35:29 2020
@@ -1,4 +1,4 @@
-.\"    $NetBSD: builddb.1,v 1.1.1.1 2003/07/13 16:15:34 wiz Exp $
+.\"    $NetBSD: builddb.1,v 1.2 2020/04/27 05:35:29 rillig Exp $
 .\"
 .\" Copyright (c) 2003 Thomas Klausner
 .\" All rights reserved.
@@ -53,7 +53,7 @@ Display a short help message.
 Use
 .Ar db-file
 as database output file instead of the default
-.Pa /var/db/pkg/xdb.byfile.db .
+.Pa @PKG_DBDIR@/xdb.byfile.db .
 .It Fl v
 Verbose mode.
 Report each file found.

Index: pkgsrc/pkgtools/pkg_filecheck/files/builddb.pl
diff -u pkgsrc/pkgtools/pkg_filecheck/files/builddb.pl:1.2 pkgsrc/pkgtools/pkg_filecheck/files/builddb.pl:1.3
--- pkgsrc/pkgtools/pkg_filecheck/files/builddb.pl:1.2  Fri Jan  6 17:10:58 2006
+++ pkgsrc/pkgtools/pkg_filecheck/files/builddb.pl      Mon Apr 27 05:35:29 2020
@@ -1,6 +1,6 @@
 #!@PERL5@
 
-#  $NetBSD: builddb.pl,v 1.2 2006/01/06 17:10:58 joerg Exp $
+#  $NetBSD: builddb.pl,v 1.3 2020/04/27 05:35:29 rillig Exp $
 #
 #  builddb -- build .byfile.db from tgz files or directory hierarchies.
 #  Copyright (C) 2000, 2003 Dieter Baron
@@ -51,7 +51,7 @@ my ($file, $pkg, $opkg);
 #
 
 $verbose = 0;
-$dbfile = '/var/db/pkg/xdb.byfile.db';
+$dbfile = '@PKG_DBDIR@/xdb.byfile.db';
 
 #
 # command line handling



Home | Main Index | Thread Index | Old Index