Bug 139577

Summary: fix to pkgname of port mail/heirloom-mailx
Product: Ports & Packages Reporter: Jamie Jones <jamie>
Component: Individual Port(s)Assignee: Alexander Logvinov <avl>
Status: Closed FIXED    
Severity: Affects Only Me CC: jamie
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
fix.diff none

Description Jamie Jones 2009-10-13 19:50:01 UTC
Since the switching of SourceForge ports to the new File Release System, this port has
been installing its pkginfo into /var/db/pkg/-mailx-12.4_1 instead of /var/db/pkg/heirloom-mailx-12.4_1

This caused pkgdb -F to go nuts, therefore this is relatively serious when port updating.

Probably needs revision bump to fix the problem for any users that have installed this port
since the update on 22 Aug 2009 01:28:34

However, if they HAVE, they will also need to manually do a rm -r /var/db/pkg/-mailx-* for things
to get back to normal, so maybe such information should be put into ports/UPDATING or maybe
added to the makefile itself (yuck) ?

Fix: make a note in /usr/ports/UPDATING to rm -rf /var/db/pkg/-mail-* or maybe temporarily
get the makefile to do it?

apply this patch to mail/heirloom-mailx/Makefile:
How-To-Repeat: 
Install /usr/ports/mail/heirloom-mailx

It will appear to install ok, and work ok, but pkgdb -F goes wonky.
Also, port will not deinstall, because of incorrect pkgname
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-10-13 19:50:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->avl

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jamie Jones 2009-10-13 20:35:04 UTC
Sorry, that's the wrong patch. Here's the correct one
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-10-14 13:24:17 UTC
avl         2009-10-14 12:24:03 UTC

  FreeBSD ports repository

  Modified files:
    mail/heirloom-mailx  Makefile 
  Log:
  - Fix wrong PKGNAME
  
  PR:             ports/139577
  Submitted by:   Jamie Landeg Jones <jamie at bishopston.net>
  
  Revision  Changes    Path
  1.56      +2 -2      ports/mail/heirloom-mailx/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Alexander Logvinov freebsd_committer freebsd_triage 2009-10-14 13:32:55 UTC
State Changed
From-To: open->closed

Committed. Thanks!