Bug 149498

Summary: [PATCH] archivers/rpm4: config issue
Product: Ports & Packages Reporter: Anders F Björklund <afb>
Component: Individual Port(s)Assignee: Johan van Selst <johans>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Anders F Björklund 2010-08-10 14:00:11 UTC
RPM 4.8.1 uses a strange default for the %{_var} rpm macro...
The bug was fixed in RPM 5.0.0, variables need to be expanded.

Fix: ./configure --localstatedir=/var
Will use /var/lib/rpm for %{_dbpath} like pkg-install expects.


Patch attached with submission follows:
How-To-Repeat: $ rpm -qa
error: cannot open Packages database in /${prefix}/var/lib/rpm
Comment 1 Edwin Groothuis freebsd_committer 2010-08-10 14:00:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->johans

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2010-08-14 16:03:26 UTC
johans      2010-08-14 15:03:12 UTC

  FreeBSD ports repository

  Modified files:
    archivers/rpm4       Makefile 
  Log:
  Now set localstatedir correctly (/var)
  
  RPM 4.8.1 uses a strange default for the %{_var} rpm macro...
  The bug was fixed in RPM 5.0.0, variables need to be expanded.
  
  PR:             ports/149498
  Submitted by:   Anders F Björklund <afb@rpm5.org
  
  Revision  Changes    Path
  1.26      +2 -0      ports/archivers/rpm4/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 3 Johan van Selst freebsd_committer 2010-08-14 16:04:12 UTC
State Changed
From-To: open->closed

Committed, thanks.