#52376: usbutils @007 update USB ID database to version 2016.09.07 ----------------------------------+------------------------ Reporter: leonardo.schenkel@… | Owner: bernhard@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: usbutils | ----------------------------------+------------------------ Comment (by leonardo.schenkel@…): After some experimentation, I think the best option is to separate the USB ID database from `usbutils` by creating a new port `usbids` for just the USB ID DB and making `usbutils` depend on it. I have used the "deactivate" hack described in https://trac.macports.org/wiki/PortfileRecipes#deactivatehack since the new port will take over the `${prefix}/share/usb.ids.gz` file. Since `usb.ids` is an unversioned distfile it forces the port to use a `dist_subdir` of `${name}/${version}`. If the DB was not split from `usbutils` this would unnecessarily waste space in all mirrors due do the fact that there would be a copy the `usbutils` source for each version of the port even though the source tarball does not change and does not suffer from the problem. Splitting the two into different ports is the most elegant and straightforward solution to me. Not coincidentally, this was the approach taken by the FreeBSD port as well. I took inspiration from it and named the port similarly. I'm attaching a new patch. -- Ticket URL: <https://trac.macports.org/ticket/52376#comment:8> MacPorts <https://www.macports.org/> Ports system for macOS