Bug 7917 - problem with ELF tcp_wrappers 7.6 deinstallation
Summary: problem with ELF tcp_wrappers 7.6 deinstallation
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: smace
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-09-13 13:40 UTC by Stefan Eggers
Modified: 1998-09-19 16:28 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (371 bytes, patch)
1998-09-13 13:40 UTC, Stefan Eggers
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Eggers 1998-09-13 13:40:00 UTC
	I changed the port to conform to the ELF guidelines and then
made a package.  Testing it I noticed that libwrap.a doesn't get un-
installed on pkg_delete.

   The problem I traced back to an unnecessary ranlib in PLIST which
causes the md5 pkg_install records in +CONTENTS and the md5 of the
installed file to differ.

Fix: The propper fix is to remove the unnecessary ranlib call.  The
tcp_wrapper Makefile itself does it already after installing the
library.  Doing it again on installation of the package is thus not
necessary.

	This patch removes the ranlib execution from PLIST:

[Please note that the library version is from my ELF patch which I
send in another PR.  If you want to apply it w/o ELF patch change the
.so.8 to .so.7.6 and remove everything between @exec/@unexec and
/sbin/ldconfig from the last two lines.]
How-To-Repeat: 
	Make a tcp_wrappers 7.6 package, deinstall it, install it,
deinstall it with "pkg_delete -v tcp_wrappers-7.6" and look at the
errors reported.
Comment 1 smace freebsd_committer freebsd_triage 1998-09-19 16:25:52 UTC
Responsible Changed
From-To: freebsd-ports->smace

assinged to smace 
Comment 2 smace freebsd_committer freebsd_triage 1998-09-19 16:26:44 UTC
State Changed
From-To: open->closed

Chagnes incorporated in a previous commit. 
tcp_wrappers is now fully elf compliant