public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] inetd/xinetd useflags
Date: Wed, 6 Jul 2005 10:17:31 -0400	[thread overview]
Message-ID: <200507061017.31669.vapier@gentoo.org> (raw)
In-Reply-To: <200507061556.05417@enterprise.flameeyes.is-a-geek.org>

On Wednesday 06 July 2005 09:55 am, Diego 'Flameeyes' Pettenò wrote:
> On Wednesday 06 July 2005 15:36, Aron Griffis wrote:
> > Diego: what is the content of doxinetd?
>
> Right now? It doesn't exists.
> It was an idea. I think something like:
>
> doxinetd() {
> 	if ! hasq xinetd ${IUSE} || use xinetd;
> 		insinto /etc/xinetd.d #or whatever the dir is, not sure about it
> 		doins $@
> 	fi
> }
>
> that's just a quick mockup, sure.

the hasq part is pointless and the insinto is bad form for a do* func

doxinetd() {
    if use xinetd ; then
        INSDESTREE=/etc/xinetd.d doins "$@"
    else
        true
    fi
}

-- 
gentoo-dev@gentoo.org mailing list



  reply	other threads:[~2005-07-06 14:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-05 22:17 [gentoo-dev] inetd/xinetd useflags Diego 'Flameeyes' Pettenò
2005-07-05 23:26 ` Mike Frysinger
2005-07-06  3:34   ` Donnie Berkholz
2005-07-06 11:55     ` Stelian Ionescu
2005-07-06  9:23   ` Diego 'Flameeyes' Pettenò
2005-07-06 13:36   ` Aron Griffis
2005-07-06 13:55     ` Diego 'Flameeyes' Pettenò
2005-07-06 14:17       ` Mike Frysinger [this message]
2005-07-06 14:32         ` Diego 'Flameeyes' Pettenò
2005-07-06 14:58           ` Mike Frysinger
2005-07-06 18:20     ` Maurice van der Pot
2005-07-06 18:58       ` Aron Griffis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200507061017.31669.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox