public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-mail/mailgraph: ChangeLog mailgraph-1.14.ebuild
       [not found] <E1Ik1xS-0004GX-Cy@stork.gentoo.org>
@ 2007-10-22 18:58 ` Donnie Berkholz
  0 siblings, 0 replies; only message in thread
From: Donnie Berkholz @ 2007-10-22 18:58 UTC (permalink / raw
  To: gentoo-dev, dertobi123

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-22 19:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1Ik1xS-0004GX-Cy@stork.gentoo.org>
2007-10-22 18:58 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-mail/mailgraph: ChangeLog mailgraph-1.14.ebuild Donnie Berkholz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox