From owner-freebsd-ports@FreeBSD.ORG Mon May 24 16:22:11 2010 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 E66AC1065670 for ; Mon, 24 May 2010 16:22:11 +0000 (UTC) (envelope-from alexanderchuranov@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 97EF18FC19 for ; Mon, 24 May 2010 16:22:11 +0000 (UTC) Received: by mail-iw0-f182.google.com with SMTP id 5so4067527iwn.13 for ; Mon, 24 May 2010 09:22:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=dZykG1VIr1dIqu1tDZ7VdZIlemFO46zU76hQVBOANkg=; b=YgYam4T2C2yeyzrEV+UI4KYY0fE6D1TNJE8Y8zQloowaz8nu5k1fxVvEieXO2eVULu OihnaAoXKUbaBJPoRdCfOoi4L8O9i3weqp9DbjUqBuSYxC2w/QPIeWXRlMX7yel/hZrc 03pnJYkw7ttnuXitTK8Ox/RTTfIoZ5qhoMku8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=mLrVoP6AZzEt+Gs5j4KUVo6GA6UArd4bECQS1nyDjcWpSs6yENhqW5hkPhPa2DMUvQ SOpoKk3rqkUcHnsBmcmXr9FSW3l9vGUnCVHWyQY4i39MSOd/tKWkIA9Nd7coMjF7h/6g F2TLoGG/rfrLeaBwTVub1EIoMFWBsinoUo8sg= MIME-Version: 1.0 Received: by 10.231.79.74 with SMTP id o10mr5007537ibk.36.1274718131331; Mon, 24 May 2010 09:22:11 -0700 (PDT) Received: by 10.231.34.200 with HTTP; Mon, 24 May 2010 09:22:11 -0700 (PDT) In-Reply-To: References: <4BF7C6EE.3010001@dataix.net> <20100522134212.3d5447a8@gumby.homeunix.com> <4BF7FB7D.1010501@dataix.net> <20100522235425.1ab2c504@gumby.homeunix.com> <86aarr8q0m.fsf@gmail.com> <4BF8A565.7040309@dataix.net> <4BF8C4F8.9090103@infracaninophile.co.uk> Date: Mon, 24 May 2010 20:22:11 +0400 Message-ID: From: Alexander Churanov To: jhell Content-Type: text/plain; charset=ISO-8859-1 Cc: Ade Lovett , freebsd-ports@freebsd.org Subject: Re: Users and groups kept after a port deinstallation 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: Mon, 24 May 2010 16:22:12 -0000 2010/5/23 jhell : > That shouldn't actually be to hard. If a utility like the three main upgrade > tools that are being used the most right now would export a variable for say > "UPGRADING=yes" then the uninstall script could check against that to decide > whether or not the port is being removed or upgraded and make the proper > decision while alerting the admin to whats going on. Folks, May be is' better to add another make target, called "update", which would invoke "deinstall", followed by "reinstall"? This would encapsulate the mechanism inside port.mk. Alexander Churanov