[MacPorts] #41698: rpm: use libmagic instead of bundled version
#41698: rpm: use libmagic instead of bundled version --------------------------+--------------------- Reporter: ryandesign@… | Owner: n3npq@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: rpm --------------------------+--------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/41698> MacPorts <http://www.macports.org/> Ports system for OS X
#41698: rpm: use libmagic instead of bundled version ---------------------------+--------------------- Reporter: ryandesign@… | Owner: n3npq@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: rpm | ---------------------------+--------------------- Comment (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 ? -- Ticket URL: <https://trac.macports.org/ticket/41698#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41698: rpm: use libmagic instead of bundled version ---------------------------+--------------------- Reporter: ryandesign@… | Owner: n3npq@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: rpm | ---------------------------+--------------------- Comment (by egall@…): Replying to [comment:2 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 -- Ticket URL: <https://trac.macports.org/ticket/41698#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41698: rpm: use libmagic instead of bundled version ---------------------------+--------------------- Reporter: ryandesign@… | Owner: n3npq@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: rpm | ---------------------------+--------------------- Comment (by larryv@…): Replying to [comment:3 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. -- Ticket URL: <https://trac.macports.org/ticket/41698#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts