Opened 21 years ago

Closed 20 years ago

Last modified 19 years ago

#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)

pkg_detection.diff (2.2 KB) - added by robert@… 21 years ago.
ATTACHMENT: pkg detection patch
pkg_detection.2.diff (2.4 KB) - added by rshaw@… 21 years ago.
ATTACHMENT: pkg detection patch

Download all attachments as: .zip

Change History (5)

Changed 21 years ago by robert@…

Attachment: pkg_detection.diff added

ATTACHMENT: pkg detection patch

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: 01

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: newclosed

No longer desired. -rshaw

Note: See TracTickets for help on using tickets.