NetBSD Problem Report #37136

From  Tue Oct 16 06:23:47 2007
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 9D20463B8FE
	for <>; Tue, 16 Oct 2007 06:23:46 +0000 (UTC)
Message-Id: <>
Date: Tue, 16 Oct 2007 08:13:49 +0300 (EEST)
Subject: pine upgrade weirdness
X-Send-Pr-Version: 3.95

>Number:         37136
>Category:       pkg
>Synopsis:       pine upgrade weirdness
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 16 06:25:00 +0000 2007
>Last-Modified:  Thu Aug 20 15:55:31 +0000 2009
>Originator:     Martti Kuparinen
>Release:        NetBSD 4.0_RC2
System: NetBSD 4.0_RC2 NetBSD 4.0_RC2 (P130) #3: Mon Oct 1 09:13:42 EEST 2007 amd64
Architecture: x86_64
Machine: amd64

Currently the pine package upgrade does not work correctly (this has been
the case for long time and now I got tired of it so here's a PR).

Initial installation is okay but upgrading the pine package puts local
customizations (if they exist) to the global example file. IMO this
is wrong and I've not seen this with other packages.


# Get the latest pkgsrc
cd /usr/pkgsrc
cvs update -dPA

# Install pine and customize the global configuration file. Make copies
# of the files for later comparison.
cd /usr/pkgsrc/mail/pine
make update
vi /usr/pkg/etc/pine.conf
cp /usr/pkg/share/examples/pine/pine.conf /tmp/1
cp /usr/pkg/etc/pine.conf /tmp/2

# Now update pine (to the same version in this case) and notice how
# /usr/pkg/share/examples/pine/pine.conf contains the local changes
# made to /usr/pkg/etc/pine.conf
cd /usr/pkgsrc/mail/pine
make update
diff -q /tmp/1 /usr/pkg/share/examples/pine/pine.conf
Files /tmp/1 and /usr/pkg/share/examples/pine/pine.conf differ

# The customized file is left untouched as it should be
diff -q /tmp/2 /usr/pkg/etc/pine.conf

# Currently the only way to upgrade pine is to remove /usr/pkg/etc/pine.conf
# before performing the upgrade and finally re-customize the pine.conf
rm -f /usr/pkg/etc/pine.conf
make update




Responsible-Changed-From-To: pkg-manager->jwise
Responsible-Changed-When: Tue, 16 Oct 2007 07:44:01 +0000
Over to maintainer.

Responsible-Changed-From-To: jwise->pkg-manager

Responsible-Changed-When: Thu, 20 Aug 2009 15:55:31 +0000
I am no longer MAINTAINER for this package.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.