From owner-freebsd-ports@FreeBSD.ORG Sun Jun 10 21:36:04 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3FAF1065670 for ; Sun, 10 Jun 2012 21:36:04 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id 49B1A8FC14 for ; Sun, 10 Jun 2012 21:36:04 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sweb; b=Q6STJg P9Wczhh5VfFEqbKd6j/jqyh4sC/poFk2J2FSwrg1cqdt6EfiL/NdOrZ3u17hbfG9 sbKPBhStKfoB4ElcfxR/ocB5buzJYyXtJxn4tBNit9UxOQnvK2KwrXaE+OdCZ/rP DOHJXN8HR59KNc2St6lwwy4iFYT5SlpxPRAbc= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sweb; bh=8LHxCSbv1+sA FmHSeE4szqUDUsF+b1LASTMv98QqYFg=; b=my4Jxqnm36JQxdclIBVu4L4Deufx bDNUMWkG/nWnMEGBLir/h65RouWh8KaK7g3J5xreqP3t0TW7jnzyO52h0PUUHWgz pOpQcy4CHQ0RkqnrFafEI++T1yE4StOfkK5DauXwA0WOrrMzk0svYEbdrNQlZbCW XKfWDdUptH22GaI= Received: (qmail 46215 invoked from network); 10 Jun 2012 16:36:02 -0500 Received: from unknown (HELO ?10.10.1.87?) (bryan@shatow.net@10.10.1.87) by sweb.xzibition.com with ESMTPA; 10 Jun 2012 16:36:02 -0500 Message-ID: <4FD51341.1080104@shatow.net> Date: Sun, 10 Jun 2012 16:36:01 -0500 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0 MIME-Version: 1.0 To: Adam Strohl References: <4FD50115.1070904@ateamsystems.com> <4FD51147.3040004@ateamsystems.com> <4FD511F0.50607@shatow.net> <4FD51278.10109@ateamsystems.com> In-Reply-To: <4FD51278.10109@ateamsystems.com> X-Enigmail-Version: 1.4.2 OpenPGP: id=3C9B0CF9; url=http://www.shatow.net/bryan/bryan.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Retro-actively adjust port's deinstall operations? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2012 21:36:04 -0000 On 6/10/2012 4:32 PM, Adam Strohl wrote: > On 6/11/2012 4:30, Bryan Drewery wrote: >> On 6/10/2012 4:27 PM, Adam Strohl wrote: >>> Where/when would this trigger? >> >> This could block the upgrade as soon as they try to build it if they >> already have the ini and do not have a sample file. > > The issue is that most things (ie; people or portupgrade) do a deinstall > first, then a reinstall. By the time the Makefile gets called for > reinstall its too late and in my testing everything is ignored for > deinstall because it uses the package's archived actions. > > Or would this somehow hook on make deinstall too? portupgrade builds the port first, then deinstalls and installs. So I think crees' suggestion will work. Not sure about portmaster, but I imagine it would do the same, as it could take *hours* to build and you would be left without the port in the meantime. Regards, Bryan Drewery