Subject: Issues with new INSTALL scripts and pkgviews
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.ORG>
From: Johnny C. Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 01/28/2005 15:41:15
This is a multi-part message in MIME format.
--------------020608030804020502020805
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

There are some problems with the way the new INSTALL scripts work that 
impact pkgviews.  More specifically, the reference-counting mechanism 
won't work properly, although the user will still be warned of any 
directories/users/groups that can be removed at package deinstallation 
time.  I'm still working on a fix for this issue.  This issue has no 
impact on users that are not using pkgviews.

	Cheers,

	-- Johnny Lam <jlam@NetBSD.org>

--------------020608030804020502020805
Content-Type: message/rfc822;
 name="CVS commit: pkgsrc/mk"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="CVS commit: pkgsrc/mk"

Path: main.gmane.org!not-for-mail
From: "Johnny C. Lam" <jlam@netbsd.org>
Newsgroups: gmane.os.netbsd.devel.pkgsrc.cvs
Subject: CVS commit: pkgsrc/mk
Date: Fri, 28 Jan 2005 19:06:07 +0000 (UTC)
Approved: news@gmane.org
Message-ID: <20050128190607.906CF2DA1D@cvs.netbsd.org>
Reply-To: jlam@netbsd.org
NNTP-Posting-Host: deer.gmane.org
NNTP-Posting-Date: Fri, 28 Jan 2005 19:06:14 +0000 (UTC)
Original-X-From: bounces-pkgsrc-changes-owner-netbsd-pkgsrc-changes=m.gmane.org@netbsd.org Fri Jan 28 20:06:13 2005
Return-path: <bounces-pkgsrc-changes-owner-netbsd-pkgsrc-changes=m.gmane.org@netbsd.org>
Original-Received: from mail.netbsd.org ([204.152.190.11])
	by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CubRc-0004B1-00
	for <netbsd-pkgsrc-changes@m.gmane.org>; Fri, 28 Jan 2005 20:06:12 +0100
Original-Received: by mail.netbsd.org (Postfix, from userid 0)
	id ADD8253A2; Fri, 28 Jan 2005 19:06:08 +0000 (UTC)
Original-Received: from cvs.netbsd.org (cvs.netbsd.org [204.152.190.10])
	by mail.netbsd.org (Postfix) with ESMTP id A01DF5190
	for <pkgsrc-changes@NetBSD.org>; Fri, 28 Jan 2005 19:06:07 +0000 (UTC)
Original-Received: by cvs.netbsd.org (Postfix, from userid 500)
	id 906CF2DA1D; Fri, 28 Jan 2005 19:06:07 +0000 (UTC)
Original-To: pkgsrc-changes@NetBSD.org
Original-Sender: pkgsrc-changes-owner@NetBSD.org
Xref: main.gmane.org gmane.os.netbsd.devel.pkgsrc.cvs:51096


Module Name:	pkgsrc
Committed By:	jlam
Date:		Fri Jan 28 19:06:07 UTC 2005

Modified Files:
	pkgsrc/mk: bsd.pkg.install.mk
	pkgsrc/mk/install: dirs usergroup

Log Message:
Avoid hardcoding the refcount database into the INSTALL scripts.  We
now simply make ${PKG_REFCOUNT_DBDIR} always be ${PKG_DBDIR}.refcount
so that it always follows the location of ${PKG_DBDIR}.  This preserves
the ability for PKG_DBDIR (and PKG_REFCOUNT_DBDIR) to be different on
different machines despite using the same binary packages.


To generate a diff of this commit:
cvs rdiff -r1.77 -r1.78 pkgsrc/mk/bsd.pkg.install.mk
cvs rdiff -r1.1 -r1.2 pkgsrc/mk/install/dirs
cvs rdiff -r1.2 -r1.3 pkgsrc/mk/install/usergroup

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



--------------020608030804020502020805--