[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: portmaster deletes failed ports
- To: B Briggs <rcbdyndns_(_at_)_bellsouth_(_dot_)_net>
- Subject: Re: portmaster deletes failed ports
- From: Doug Barton <dougb_(_at_)_FreeBSD_(_dot_)_org>
- Date: Tue, 05 Sep 2006 14:01:49 -0700
- Cc: freebsd-ports_(_at_)_freebsd_(_dot_)_org
- Organization: http://www.FreeBSD.org/
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
_______________________________________________
freebsd-ports_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org