OSDN Git Service

Convert release and draft pages to UTF-8.
[linuxjm/jm.git] / manual / rpm / release / man8 / rpmcache.8
1 .\" This manpage has been automatically generated by docbook2man 
2 .\" from a DocBook document.  This tool can be found at:
3 .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
4 .\" Please send any bug reports, improvements, comments, patches, 
5 .\" etc. to Steve Cheng <steve@ggi-project.org>.
6 .\"
7 .\" This program is free software; you can redistribute it and/or modify
8 .\" it under the terms of the GNU General Public License as published by
9 .\" the Free Software Foundation; either version 2, or (at your option)
10 .\" any later version.
11 .\"
12 .\" This program is distributed in the hope that it will be useful,
13 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
14 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 .\" GNU General Public License for more details.
16 .\"
17 .\" You should have received a copy of the GNU General Public License
18 .\" along with this program; if not, write to the Free Software
19 .\" Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 
20 .\" USA.
21 .\"
22 .\" Japanese Version Copyright (C) 2003 System Design and Research
23 .\" Institute Co.,Ltd. All rights reserved.
24 .\"
25 .\" Translated 14 March 2003 by
26 .\"   System Design and Research Institute Co.,Ltd. <info@sdri.co.jp>
27 .\"
28 .\"WORD: RFE            改善要求    (Request For Enhancement)
29 .\"
30 .TH "RPMCACHE" "8" "05 July 2002" "Red Hat, Inc." "Red Hat Linux"
31 .SH 名前
32 rpmcache \- RPM パッケージのヘッダ情報をキャッシュする
33 .SH 書式
34 \fBrpmcache\fR [ \fB\fIPACKAGE_NAME\fB\fR\fI ...\fR ]
35 .SH 説明
36 .B rpmcache
37 はファイルツリーを歩きまわり(リモートの\fBFTP\fRかもしれない)、
38 .BR glob (7)
39 の式を使ってパスをフィルタリングし、rpm パッケージのヘッダを読み込む。
40 最新の(すなわち同じパッケージ名のものに対し、
41 パッケージのエポック・バージョン・リリースを比較し、
42 それが同じであればビルド日付を使って比較した)パッケージのヘッダーが
43 他のものと重複しなければ、rpm データベースにキャッシュされる。
44 不明な依存性を解消するパッケージの場所を提案するために、rpm データベースの
45 キャッシュを利用することができる。
46 .PP
47 .B rpmcache
48 固有のオプションはなく、
49 .B rpm
50 関連のツールで共通のオプションだけである。
51 現時点で何が実装されているかについては、
52 .B rpmcache
53 の使用方法のメッセージ(訳注: "rpmcache \-\-help")を参照のこと。
54 .PP
55 検索対象のファイルツリーの場所は rpm マクロを使って設定される。
56 最終的な場所は、独立した 5 つの要素を結合したものである。
57 .B rpmcache
58 を設定するのに使用されるマクロ名を以下に示す。
59 下記の表示順と同じ順番で各要素が結合されて、
60 検索されるファイルツリーの場所が生成される。
61 .TP
62 \fB%_bhpath\fR
63 "path"レベル。
64 検索されるファイルツリーのパス(または URL)の先頭部分。
65 .BR glob (7)
66 の式はここでは使えない。
67 .TP
68 \fB%_bhcoll\fR
69 "collection" レベル。
70 \fB%_bhpath\fR のサブディレクトリーにマッチする文字列(または
71 .BR glob (7)
72 式)。
73 .TP
74 \fB%_bhN\fR
75 "name" レベル。
76 \fB%_bhcoll\fR のサブディレクトリーにマッチする文字列(または
77 .BR glob (7)
78 式)。
79 Red Hat ビルドシステム内でのいずれかの特定のパッケージ名にマッチするよ
80 うな
81 .BR glob (7)
82 式を構成するために
83 .I PACKAGE_NAME
84 引数が使用される。
85 ほぼ確実に、Red Hat 以外の人間が使用することはないだろう。
86 .TP
87 \fB%_bhVR\fR
88 "version-release" レベル。
89 \fB%_bhN\fR のサブディレクトリーにマッチする文字列(または
90 .BR glob (7)
91 式)。
92 .TP
93 \fB%_bhA\fR
94 "arch" レベル。
95 \fB%_bhVR\fR のサブディレクトリーにマッチする文字列(または
96 .BR glob (7)
97 式)。
98 .PP
99 キャッシュデータベースの場所もまた、以下のマクロを使用して設定される。
100 .TP
101 \fB%_cache_dbpath\fR
102 キャッシュデータベースの場所。デフォルトは
103 .IR /var/spool/up2date/cache 。
104 .PP
105 キャッシュデータベースのフォーマットは rpm データベースのものと等しく、
106 コマンドラインの
107 .B rpm
108 から利用することができる。
109 例えば、パッケージのインストールに必要な依存性を満たすパッケージを
110 提案するためにキャッシュデータベースを利用するには、以下の設定が
111 .I /etc/rpm/macros
112 または
113 .I ~/.rpmmacros
114 に必要である。
115 .TP
116 \fB%_solve_dbpath\fR
117 依存性を解決する提案のために使用されるデータベースの場所。
118 .SS Red Hat beehive ツリーのための(最低限の)設定例
119 訳注: beehive は多分、Red Hat 内部の何らかの名前。
120 .PP
121 .nf
122 %_cache_dbpath  /var/spool/up2date/cache
123 %_solve_dbpath  %{_cache_dbpath}
124 %_bhpath        file://localhost/mnt/redhat/beehive/comps/dist
125 %_bhcoll        7.3
126 %_bhN           @(basesystem|bash|filesystem|glibc-common|glibc|ldconfig|libtermcap|mktemp|setup|termcap)
127 %_bhVR          *
128 %_bhA           @(i[3456]86|noarch)
129 .fi
130 .SS Red Hat の FTP ツリーのための(最小)設定例
131 .nf
132 %_cache_dbpath  /var/spool/up2date/cache
133 %_solve_dbpath  %{_cache_dbpath}
134 %_bhpath        ftp://localhost/mnt/dist
135 %_bhcoll        @(7.3|7.2|7.1|7.0|6.2|6.1|6.0|5.2|5.1|5.0)
136 %_bhN           @(%{_arch})
137 %_bhVR          *
138 %_bhA           @(i[3456]86|noarch)
139 .fi
140 .SH バグ
141 rpm-devel パッケージに対するバグ報告や改善要求は、bugzilla
142 .UR http://bugzilla.redhat.com/
143 http://bugzilla.redhat.com/
144 .UE
145 を使って欲しい。
146 .SH 関連項目
147 .BR rpm (8),
148 .BR glob (7),
149 .UR http://www.rpm.org/
150 .B http://www.rpm.org/
151 .UE
152 .SH 著者
153 Jeff Johnson <jbj@redhat.com>