From owner-freebsd-ports@FreeBSD.ORG Mon Oct 11 16:01:48 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 41A22106566B for ; Mon, 11 Oct 2010 16:01:48 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id CA25A8FC08 for ; Mon, 11 Oct 2010 16:01:47 +0000 (UTC) Received: by bwz16 with SMTP id 16so865566bwz.13 for ; Mon, 11 Oct 2010 09:01:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=Xa+xTVE4qaaN6V+WZE3FMYSNeD0YgUe0wmfftQETp6g=; b=CvullJJ5Dcjfaht3+FBiKq7QvhJujBt4xmnYyI0LzUIG3mI+YmXTNQQf9o+sZTUWdN fYH480fKMGInCHoNpdKzJAFORVNiJ1UhprHu9/z7MNTFB0ohVeQ+7vC/5qczdGaT4R14 LYYDNrIVqP1k+MFCa+SGy915UEVwJwZdcb42w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=P2UIFwcWpLX7defRCBEUaqgLC7zSxObbV/ObKrdAE21Hkuapm4ve5efAiICPD8Yout uaoFPi8mBSNeLQfNqZKpK/GQvop+hOiACKEio24c+NHvGSw5rPpw1j6GZ5dZL3hUFE9T 6pVgfkaxN+izHTqY3v76OWmt0G3NXvI43np8I= MIME-Version: 1.0 Received: by 10.204.84.158 with SMTP id j30mr2219833bkl.127.1286812906297; Mon, 11 Oct 2010 09:01:46 -0700 (PDT) Received: by 10.204.97.208 with HTTP; Mon, 11 Oct 2010 09:01:46 -0700 (PDT) Date: Mon, 11 Oct 2010 18:01:46 +0200 Message-ID: From: David DEMELIER To: freebsd-ports Content-Type: text/plain; charset=UTF-8 Subject: Users needed or not by ports 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, 11 Oct 2010 16:01:48 -0000 Hello, Before writing a patch for the ports framework, I just want to be sure that FreeBSD ports shouldn't use a same user added by ports. For example pulseaudio adds some users to the system (pulse, pulse-whatever) and should these users be needed from others ports ? My plan is : 1. Register users added and needed by ports in files like +USERS +GROUPS, 2. When make deinstall or pkg_delete port_name check if the user is still needed by other port (if this is possible) 3. Print a message like "The following users and group are not needed anymore by the system : xxx yyy" pkgsrc already use something like this, so a port should be really easy to be done. -- Demelier David