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 |
---|
comment:2 follow-up: 3 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 follow-up: 4 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...
comment:4 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...
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: | new → assigned |
Cc Me!