Subject: pkg/34481: wm/bbpager04 has incorrect PLIST (+FIX)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 09/06/2006 06:15:00
>Number:         34481
>Category:       pkg
>Synopsis:       wm/bbpager04 has incorrect PLIST
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 06 06:15:00 +0000 2006
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15 (-- pkgsrc current today)
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 kre@jade.coe.psu.ac.th:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
	The PLIST for wm/bbpager04 is missing a file that is installed.
	This causes making binary packages to fail, and I assume would
	leave a stray file lingering when th epackage is deleted.

>How-To-Repeat:
	cd ..../pkgsrc/wm/bbpager04
	make package
			(I actually use pkg_comp but that should not
			matter here)

	Expect to see ...

bbpager04-0.4.1.1 requires installed package blackbox70-0.70.1
=> Checking for missing run-time search paths in bbpager04-0.4.1.1
=> Checking for work-directory references in bbpager04-0.4.1.1
=> Checking file-check results for bbpager04-0.4.1.1
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         /usr/pkg/share/bbtools/bbpager.rc
*** Error code 1

>Fix:
	Apply the following patch.  Since nothing that is installed changes
	(oher than the PLIST in the pkg_db I guess) and it was impossible
	to build a binary package from the existing version, no bump
	of PKGREVISION is required.


$NetBSD$

--- PLIST.real	2006-08-21 06:15:25.000000000 +0700
+++ PLIST
@@ -3,4 +3,5 @@ bin/bbpager
 man/man1/bbpager.1
 man/man5/bbpager.bb.5
 share/bbtools/README.bbpager
+share/bbtools/bbpager.rc
 @unexec ${RMDIR} %D/share/bbtools 2>/dev/null || ${TRUE}