Opened 11 years ago

Last modified 8 years ago

#41698 assigned enhancement

rpm: use libmagic instead of bundled version

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: afb@…, cooljeanius (Eric Gallager)
Port: rpm

Description

The rpm port uses an old version of libmagic included in the rpm source code (in the "file" directory). Perhaps it could instead use the newer version of the library provided by the libmagic port. To get rpm to look for it, the bundled "file" directory probably has to be deleted, as the port already does for the bundled "popt" directory.

Change History (5)

comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:2 Changed 11 years ago by afb@…

RPM does this on purpose, to avoid external dependencies for critical components (popt, file, db, lua)...

Is there any reason for using the newer libmagic (missing formats, etc), especially for the ancient rpm ?

comment:3 in reply to:  2 ; Changed 11 years ago by cooljeanius (Eric Gallager)

Replying to afb@…:

RPM does this on purpose, to avoid external dependencies for critical components (popt, file, db, lua)...

Is there any reason for using the newer libmagic (missing formats, etc), especially for the ancient rpm ?

For the same reason that MacPorts usually tries to use its own libraries instead of letting ports use their own bundled versions, I'd guess...

wiki:FAQ#ownlibs

comment:4 in reply to:  3 Changed 11 years ago by larryv (Lawrence Velázquez)

Replying to egall@…:

For the same reason that MacPorts usually tries to use its own libraries instead of letting ports use their own bundled versions, I'd guess...

wiki:FAQ#ownlibs

That FAQ is about why MacPorts uses its own libraries instead of those provided by the system. It does not address using MacPorts ports over bundled libraries.

comment:5 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Owner: n3npq@… deleted
Status: newassigned
Note: See TracTickets for help on using tickets.