public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Andrea Carpani <ml@carpani.net>
To: gentoo-portage-dev@lists.gentoo.org
Subject: [gentoo-portage-dev] Configuration files in a package
Date: Tue, 26 Oct 2004 19:06:37 +0200	[thread overview]
Message-ID: <1098810397.8184.36.camel@cronos.criticalpath.it> (raw)

Hi everybody.

Suppose I have a costom package that contains some executables, data,
lib and config files:

/usr/bin/foo
/usr/share/foo/data
/usr/lib/libfoo.so
/etc/foo.cfg

Is there a way to tag some package files as "configuration files" (in
the custom ebuild with a custom function maybe) so that once the package
is installed I can do something like

# qpkg --get-cfg-files foo

and obtain a list like 

/etc/foo.cfg

I'd like to have the same thing for library and executable files.

# qpkg --get-lib-files foo

/usr/lib/libfoo.so

Or maybe something that gives me a LIBS or CONFIG file in
/var/db/pkg/<category>/<app> filled with files that the ebuild tagged in
a special way.

Thanks.

-- 

andrea@carpani.net
Andrea Carpani
.a.c.



--
gentoo-portage-dev@gentoo.org mailing list


             reply	other threads:[~2004-10-26 17:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-26 17:06 Andrea Carpani [this message]
2004-10-26 18:16 ` [gentoo-portage-dev] Configuration files in a package Thomas de Grenier de Latour

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=1098810397.8184.36.camel@cronos.criticalpath.it \
    --to=ml@carpani.net \
    --cc=gentoo-portage-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