From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ik2XU-00050d-3z for garchives@archives.gentoo.org; Mon, 22 Oct 2007 19:02:12 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l9MJ1DAV015495; Mon, 22 Oct 2007 19:01:13 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l9MIwTFx010219 for ; Mon, 22 Oct 2007 18:58:30 GMT Received: from gentoo.org (c-67-171-150-177.hsd1.or.comcast.net [67.171.150.177]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 266E764F6C; Mon, 22 Oct 2007 18:58:29 +0000 (UTC) Date: Mon, 22 Oct 2007 11:58:27 -0700 From: Donnie Berkholz To: gentoo-dev@lists.gentoo.org, dertobi123@gentoo.org Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-mail/mailgraph: ChangeLog mailgraph-1.14.ebuild Message-ID: <20071022185827.GA29642@supernova> References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 70042b36-f27e-4f68-a7a6-b67b671b4ce9 X-Archives-Hash: 1c103e181d3ba6c9bb745cd1735b62ba On 18:24 Mon 22 Oct , Tobias Scherbaum (dertobi123) wrote: > 1.1 net-mail/mailgraph/mailgraph-1.14.ebuild > > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild?rev=1.1&view=markup > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild?rev=1.1&content-type=text/plain > user_group_setup() { > # add user and group for mailgraph daemon > # also add mgraph to the group adm so it's able to > # read syslog logfile /var/log/messages (should be owned by > # root:adm with permission 0640) > enewgroup mgraph > enewuser mgraph -1 -1 /var/empty mgraph,adm > } > > pkg_setup() { > webapp_pkg_setup > built_with_use net-analyzer/rrdtool perl \ > || die "net-analyzer/rrdtool must be built with USE=perl" > user_group_setup > } ... > pkg_preinst() { > user_group_setup > } Why is user_group_setup() run twice? > if [[ has_version <=net-mail/mailgraph-1.12 ]] ; then Does this actually work? Thanks, Donnie -- gentoo-dev@gentoo.org mailing list