Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Sep 2006 14:01:49 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        B Briggs <rcbdyndns@bellsouth.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: portmaster deletes failed ports
Message-ID:  <44FDE5BD.7050409@FreeBSD.org>
In-Reply-To: <44FDCE4D.3010705@bellsouth.net>
References:  <edkbj4$1lcc$1@FreeBSD.csie.nctu.edu.tw> <44FDCE4D.3010705@bellsouth.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44FDE5BD.7050409>