1 |
Hi everybody. |
2 |
|
3 |
Suppose I have a costom package that contains some executables, data, |
4 |
lib and config files: |
5 |
|
6 |
/usr/bin/foo |
7 |
/usr/share/foo/data |
8 |
/usr/lib/libfoo.so |
9 |
/etc/foo.cfg |
10 |
|
11 |
Is there a way to tag some package files as "configuration files" (in |
12 |
the custom ebuild with a custom function maybe) so that once the package |
13 |
is installed I can do something like |
14 |
|
15 |
# qpkg --get-cfg-files foo |
16 |
|
17 |
and obtain a list like |
18 |
|
19 |
/etc/foo.cfg |
20 |
|
21 |
I'd like to have the same thing for library and executable files. |
22 |
|
23 |
# qpkg --get-lib-files foo |
24 |
|
25 |
/usr/lib/libfoo.so |
26 |
|
27 |
Or maybe something that gives me a LIBS or CONFIG file in |
28 |
/var/db/pkg/<category>/<app> filled with files that the ebuild tagged in |
29 |
a special way. |
30 |
|
31 |
Thanks. |
32 |
|
33 |
-- |
34 |
|
35 |
andrea@×××××××.net |
36 |
Andrea Carpani |
37 |
.a.c. |
38 |
|
39 |
|
40 |
|
41 |
-- |
42 |
gentoo-portage-dev@g.o mailing list |