pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_filecheck pkgtools/pkg_filecheck: fix abs...
details: https://anonhg.NetBSD.org/pkgsrc/rev/49dff8d47bdc
branches: trunk
changeset: 428335:49dff8d47bdc
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon Apr 27 05:35:29 2020 +0000
description:
pkgtools/pkg_filecheck: fix absolute path to PKG_DBDIR
diffstat:
pkgtools/pkg_filecheck/Makefile | 14 ++++++--------
pkgtools/pkg_filecheck/files/builddb.1 | 4 ++--
pkgtools/pkg_filecheck/files/builddb.pl | 4 ++--
3 files changed, 10 insertions(+), 12 deletions(-)
diffs (69 lines):
diff -r 3f3be40f5c82 -r 49dff8d47bdc pkgtools/pkg_filecheck/Makefile
--- a/pkgtools/pkg_filecheck/Makefile Mon Apr 27 05:23:11 2020 +0000
+++ b/pkgtools/pkg_filecheck/Makefile Mon Apr 27 05:35:29 2020 +0000
@@ -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 @@
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:
diff -r 3f3be40f5c82 -r 49dff8d47bdc pkgtools/pkg_filecheck/files/builddb.1
--- a/pkgtools/pkg_filecheck/files/builddb.1 Mon Apr 27 05:23:11 2020 +0000
+++ b/pkgtools/pkg_filecheck/files/builddb.1 Mon Apr 27 05:35:29 2020 +0000
@@ -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 @@
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.
diff -r 3f3be40f5c82 -r 49dff8d47bdc pkgtools/pkg_filecheck/files/builddb.pl
--- a/pkgtools/pkg_filecheck/files/builddb.pl Mon Apr 27 05:23:11 2020 +0000
+++ b/pkgtools/pkg_filecheck/files/builddb.pl Mon Apr 27 05:35:29 2020 +0000
@@ -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 @@
#
$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