portmaster deletes failed ports
Doug Barton
dougb at FreeBSD.org
Tue Sep 5 21:02:02 UTC 2006
B Briggs wrote:
> The problem is that if unattended, you will not know if the port was
> deleted especially if you have a lot of output. This can lead to a lot
> of other problems. I've looked at the script, and it seems that you
> could break it down into (something like) these steps:
>
> make (check return code, if it doesn't build, report error) and continue
> script as normal.
> pkg_create -b original_package_name pathto/whereveryou_wanttobackit_up)
> make deinstall
> make install clean (if it returns OK, delete the backed up package,
> otherwise, use pkg_add from the backup)
>
> I've probably missed some intermediate steps, but I like portmaster much
> better than portupgrade, and I hope you take the time to consider this.
If you, or someone else wants to work up a patch, I'll be happy to
consider it.
Doug
--
This .signature sanitized for your protection
More information about the freebsd-ports
mailing list