#806 closed defect (wontfix)
RFE: make depends, uninstall, and toc detect if package installed from .pkg file
Reported by: | robert@… | Owned by: | fkr@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
Previously, I had posted a simple patch to include receipts files in "pkg" file creation. This was the wrong approach and I have since removed that bug.
I have a new approach that I believe to be much smarter. The attached patch will make the dependency checking properly detect if a package was installed using the "pkg" file via the Installer.app program. This allows distribution of "pkg" files for install and still have the port system detect them and not attempt to rebuild them.
The patch also includes fixes to "uninstall" and "toc" targets so that the "uninstall" will not allow a user to uninstall a "pkg" installed package with "port uninstall", but instead tells them to use the "Uninstaller.app". Also, the "toc" target will list the BOM of the "pkg" that was installed using the "Installer.app" (and warns the user that it's doing so).
Please consider this change for commital. I think it's a good step forward for the DarwinPorts handling of "pkg" files.
Thanks!
Attachments (2)
Change History (5)
Changed 21 years ago by robert@…
Attachment: | pkg_detection.diff added |
---|
Changed 21 years ago by rshaw@…
Attachment: | pkg_detection.2.diff added |
---|
ATTACHMENT: pkg detection patch
comment:1 Changed 21 years ago by rshaw@…
attachments.isobsolete: | 0 → 1 |
---|
comment:2 Changed 21 years ago by rshaw@…
Owner: | changed from darwinports-bugs@… to fkr@… |
---|
Felix, can you look at this. Can this be committed?
comment:3 Changed 20 years ago by rshaw@…
Resolution: | → wontfix |
---|---|
Status: | new → closed |
No longer desired. -rshaw
ATTACHMENT: pkg detection patch