Subject: pkg/4609: binary Xpm package can't be removed cleanly
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.owl.de>
List: netbsd-bugs
Date: 11/30/1997 18:48:21
>Number:         4609
>Category:       pkg
>Synopsis:       binary Xpm package can't be removed cleanly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 30 09:50:02 1997
>Last-Modified:
>Originator:     Matthias Scheler
>Organization:
Matthias Scheler                                http://home.owl.de/~tron/
>Release:        971121
>Environment:
System: NetBSD lyssa 1.3_ALPHA NetBSD 1.3_ALPHA (LYSSA) #1: Sat Nov 22 14:01:52 MET 1997 tron@lyssa:/src/src/sys/arch/i386/compile/LYSSA i386

>Description:
A binary version of NetBSD's xpm package can't be removed cleanly because
"libXpm.a" is modified by an unnecessary "ranlib" call during installation
so that the MD5 checksum doesn't match anymore.

>How-To-Repeat:
cd /usr/pkgsrc/graphics/xpm
make
make install
make package
pkg_delete xpm-3.4j
pkg_add ./xpm-3.4j.tgz
pkg_delete xpm-3.4j

>Fix:
*** pkgsrc/graphics/xpm/pkg/PLIST.orig	Thu Nov  6 15:16:26 1997
--- pkgsrc/graphics/xpm/pkg/PLIST	Sun Nov 30 18:43:09 1997
*************** bin/sxpm
*** 3,8 ****
  lib/libXpm.a
  lib/libXpm.so.4.10
  @exec /sbin/ldconfig -m %B
- @exec ranlib %D/lib/libXpm.a
  include/X11/xpm.h
  man/cat1/sxpm.0.gz
--- 3,7 ----

>Audit-Trail:
>Unformatted: