From owner-freebsd-ports@FreeBSD.ORG Fri May 21 15:23:40 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 2CA901065673 for ; Fri, 21 May 2010 15:23:40 +0000 (UTC) (envelope-from florent.thoumie@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id ADE978FC24 for ; Fri, 21 May 2010 15:23:39 +0000 (UTC) Received: by fxm4 with SMTP id 4so1232234fxm.13 for ; Fri, 21 May 2010 08:23:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; bh=F5jAqbtR+DQIFfAkhiOmiZEDaBrFhzcfrHdp7bP7O3I=; b=H7SR0LAFrwbUdv2XPzCjQN+pOY+yWOI0KXDFoIHjwTn6NZLVS9z5GgJ35Kvjs3a/3u EmijWlSFLXxdE5XP8I5cOSHfxEJe5euI2JUDkI7ZByt6WY4IklvXl/pHJMWvbSVMF/NY AzUBFurpy8GS/m3HRnGKqHIgc2qLo3kwyCdV4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=LyDp9Rn2rJguLSuVEK690JUfOAcdC3wBn8SVITjWGqFc2S+zjJ1mS14r8U+WVAYTlW Td4syotLpCBBspPolBZiqBtE9AaocXCh2oatAEAePg5mlLJGq5plaj5/qAfxkyJSL4zZ oUyX01hPF+c8ADLY9T7UfZY4RB9fPC9rtmXdk= Received: by 10.239.158.207 with SMTP id v15mr162587hbc.9.1274455418278; Fri, 21 May 2010 08:23:38 -0700 (PDT) MIME-Version: 1.0 Sender: florent.thoumie@gmail.com Received: by 10.239.165.131 with HTTP; Fri, 21 May 2010 08:23:18 -0700 (PDT) In-Reply-To: References: From: Florent Thoumie Date: Fri, 21 May 2010 16:23:18 +0100 X-Google-Sender-Auth: wH897gMIfFKs2RnRY0PhfnFx4bY Message-ID: To: David DEMELIER Content-Type: text/plain; charset=ISO-8859-1 Cc: 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: Fri, 21 May 2010 15:23:40 -0000 On Fri, May 21, 2010 at 11:11 AM, David DEMELIER wrote: > Hi, > > I used pkgsrc for a while on NetBSD. I was used to the pkgsrc > notifications about the users and groups leaves, when some ports are > removed these leaves are not used anymore. e.g pulseaudio needs some > users on the system. > > Then the pkgsrc framework says to the user that are some users not > used anymore and they could remove them safely. > > Ports has the lack of this kind of notification, that's why I would > start writing a patch in the ports infrastructure, or maybe someone > already proposed something else ? > > I apologize for my bad english. This was discussed in the following bug-report: http://www.freebsd.org/cgi/query-pr.cgi?pr=108514 I think the proper solution is to create a +UGIDS file to be able to maintain a refcount, but the status quo isn't that bad. -- Florent Thoumie flz@FreeBSD.org FreeBSD Committer