• R/O
  • HTTP
  • SSH
  • HTTPS

openpts: 提交

Repo for OpenPTS version 0.2.X


Commit MetaInfo

修订版165ef308d0d324e0984dd1fb6a9d76c49b5653d8 (tree)
时间2012-01-04 17:07:56
作者Seiji Munetoh <munetoh@jp.i...>
CommiterSeiji Munetoh

Log Message

added script and table to generate catgets header file

更改概述

差异

--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -27,3 +27,8 @@
2727
2828 #unsealinclude_HEADERS = tpm_unseal.h
2929 #noinst_HEADERS = tpm_pkcs11.h tpm_seal.h tpm_tspi.h tpm_utils.h
30+
31+all: openpts_msg.h
32+# catgets msgs
33+openpts_msg.h: cvs2msg.pl openpts_msg.csv
34+ ./cvs2msg.pl openpts_msg.csv > openpts_msg.h
--- /dev/null
+++ b/include/cvs2msg.pl
@@ -0,0 +1,27 @@
1+#!/usr/bin/perl
2+#
3+# CSV to H
4+#
5+# CSV format
6+# filename,line, type, ID, C, Ja_JP, fr_FR,
7+#
8+print "/* generated by cvs2msg.pl. do not edit this */\n";
9+print "#ifndef INCLUDE_OPENPTS_MSG_H_\n";
10+print "#define INCLUDE_OPENPTS_MSG_H_\n";
11+
12+print "#define MF_OPENPTS \"openpts\"\n";
13+print "#define MS_OPENPTS 0\n";
14+
15+$i=0;
16+while(<>) {
17+ chomp;
18+ my @m = split(/,/, $_);
19+ if ($m[3] ne "") {
20+ printf("#define %s %d\n", $m[3], $i);
21+ $i++;
22+ }
23+
24+}
25+
26+
27+print "#endif // INCLUDE_OPENPTS_MSG_H_\n";
--- /dev/null
+++ b/include/openpts_msg.csv
@@ -0,0 +1,240 @@
1+verifier.c,,REASON,OPENPTS_VERIFIER_MISSING_CONFIG_2,Missing collector configuration,コレクターの設定が見つかりません
2+verifier.c,,REASON,OPENPTS_VERIFIER_COLLECTOR_HOSTNAME,Collector hostname = %s,コレクターホスト名 = %s
3+verifier.c,,REASON,OPENPTS_VERIFIER_COLLECTOR_UUID,Collector UUID = %s,コレクターUUID = %s
4+verifier.c,,OUTPUT,OPENPTS_VERIFIER_MANIFEST_CHANGED,,
5+verifier.c,,OUTPUT,OPENPTS_VERIFIER_COLLECTOR_USING_OTHER_RM,,
6+verifier.c,,OUTPUT,OPENPTS_VERIFIER_PREV_RM_UUID,,
7+verifier.c,,OUTPUT,OPENPTS_VERIFIER_CUR_RM_UUID,,
8+verifier.c,,OUTPUT,OPENPTS_VERIFIER_MISSING_RM,,
9+verifier.c,,OUTPUT,OPENPTS_VERIFIER_COLLECTOR_RM_UUID,,
10+verifier.c,,OUTPUT,OPENPTS_VERIFIER_MISSING_RM_DIR,,
11+verifier.c,,ERROR,OPENPTS_VERIFIER_CONF_DIR_CREATE_FAILED,,
12+verifier.c,,ERROR,OPENPTS_VERIFIER_RM_DIR_NOT_DIR,,
13+verifier.c,,ERROR,OPENPTS_VERIFIER_OPEN_FAILED,,
14+verifier.c,,ERROR,OPENPTS_VERIFIER_OPEN_FAILED_2
15+verifier.c,,ERROR,OPENPTS_VERIFIER_SAVE_IR_FAILED,,
16+verifier.c,,ERROR,OPENPTS_VERIFIER_SEND_IR_FAILED,,
17+verifier.c,,OUTPUT,OPENPTS_VERIFIER_OVERRIDE,,
18+verifier.c,,ERROR,OPENPTS_VERIFIER_CONNECT_FAILED,,
19+iml.c,,,OPENPTS_IML_FSM_MISSING
20+iml.c,,,OPENPTS_IML_SNAPSHOT_MISSING_2
21+iml.c,,,OPENPTS_IML_FSM_MISSING_2
22+iml.c,,,OPENPTS_IML_SNAPSHOT_MISSING_6
23+iml.c,,,OPENPTS_IML_FSM_MISSING_3
24+iml.c,,,OPENPTS_IML_VALIDATION_FAILED
25+iml.c,,,OPENPTS_IML_SNAPSHOT_MISSING_3
26+iml.c,,,OPENPTS_IML_IR_VALIDATION_FAILED_1
27+iml.c,,,OPENPTS_IML_IR_VALIDATION_FAILED_2
28+iml.c,,,OPENPTS_IML_IR_VALIDATION_FAILED_3
29+iml.c,,,OPENPTS_IML_IR_VALIDATION_FAILED_4
30+iml.c,,,OPENPTS_IML_SNAPSHOT_MISSING_4
31+iml.c,,,OPENPTS_IML_IR_VALIDATION_FAILED_5
32+iml.c,,,OPENPTS_IML_SNAPSHOT_MISSING_5
33+iml.c,,,OPENPTS_IML_SNAPSHOT_HEADER
34+iml.c,,,OPENPTS_IML_SNAPSHOT_LEVEL_TOTALS
35+iml.c,,,OPENPTS_IML_SNAPSHOT_MISSING
36+iml.c,,,OPENPTS_IML_LOAD_FAILED
37+ir.c,3065,,OPENPTS_IR_PCR_COMPOSITE_VERIFY_FAILED
38+ir.c,3106,,OPENPTS_IR_SEVERAL_UNKNOWN_IMA
39+ir.c,3114,,OPENPTS_IR_QUOTE_VERIFY_FAILED
40+ctx.c,256,,OPENPTS_CONFIG_MISSING
41+ctx.c,267,,OPENPTS_CONFIG_BAD_CONFIG_FILE
42+fsm.c,1412,,OPENPTS_FSM_ACTION_FAILED
43+fsm.c,2417,,OPENPTS_PRINT_FSM_HEADER
44+fsm.c,2446,,OPENPTS_PRINT_FSM_BASE64
45+rm.c,1751,,OPENPTS_RM_CONF_DIR_MISSING
46+log.c,368,,OPENPTS_CANNOT_OPEN_LOGFILE
47+action.c,,,OPENPTS_ACTION_UNKNOWN
48+prop.c,,,OPENPTS_PRINT_PROPS
49+policy.c,,,OPENPTS_POLICY_FILE_OPEN_FAILED
50+policy.c,,,OPENPTS_POLICY_MISSING
51+policy.c,,,OPENPTS_POLICY_WRONG
52+policy.c,,,OPENPTS_PRINT_POLICY_NULL
53+policy.c,,,OPENPTS_PRINT_POLICY
54+tss.c,,,OPENPTS_TSS_PUBKEY
55+tss.c,,,OPENPTS_TSS_MSG
56+tss.c,,,OPENPTS_TSS_SIGNATURE
57+tss.c,,,OPENPTS_TSS_BUF
58+tss.c,,,OPENPTS_TSS_DIGEST
59+tss.c,,,OPENPTS_TPM_TSS_COMMS_FAILURE
60+tss.c,,,OPENPTS_TPM_TSS_KEY_NOTFOUND
61+tss.c,,,OPENPTS_TPM_TSS_KEY_NUM
62+tss.c,,,OPENPTS_TSS_CHECK_SETTING
63+tss.c,,,OPENPTS_TSS_TPM_LOCKED
64+tss.c,,,OPENPTS_TSS_AUTH_FAILED
65+tss.c,,,OPENPTS_TSS_EXT_DATA
66+tss.c,,,OPENPTS_TSS_DATA
67+tss.c,,,OPENPTS_TSS_VALIDATION_DATA
68+tss.c,,,OPENPTS_TSS_VERSION_INFO
69+tss.c,,,OPENPTS_TSS_PCR_SIZE_TOO_BIG
70+uuid.c,,,OPENPTS_UUID_READ_FAILED
71+uuid.c,,,OPENPTS_UUID_FILE_OPEN_FAILED
72+uuid.c,,,OPENPTS_UUID_FILE_EXISTS
73+collector.c,,,OPENPTS_FSM_INFO_HEADER
74+collector.c,,,OPENPTS_COLLECTOR_UUID_FILE_EXISTS
75+collector.c,,,OPENPTS_COLLECTOR_MISSING_CONFIG_DIR
76+collector.c,,,OPENPTS_COLLECTOR_NEW_CONFIG_DIR
77+collector.c,,,OPENPTS_COLLECTOR_CHANGE_OWNSHIP_FAIL
78+collector.c,,,OPENPTS_COLLECTOR_CHANGE_MODE_FAIL
79+collector.c,,,OPENPTS_COLLECTOR_FIND_GROUP_FAIL
80+collector.c,,,OPENPTS_COLLECTOR_BAD_CONFIG_FILE
81+collector.c,,,OPENPTS_COLLECTOR_SIGN_KEY_FAIL
82+collector.c,,,OPENPTS_INIT_PTSCD
83+collector.c,,,OPENPTS_INIT_GEN_UUID
84+collector.c,,,OPENPTS_INIT_GEN_RM_UUID
85+collector.c,,,OPENPTS_INIT_RM
86+collector.c,,,OPENPTS_COLLECTOR_MISSING_RM_FILE
87+collector.c,,,OPENPTS_INIT_SUCCESS
88+collector.c,,,OPENPTS_INIT_FAIL
89+collector.c,,,OPENPTS_COLLECTOR_SELFTEST_FAILED
90+collector.c,,,OPENPTS_COLLECTOR_SELFTEST_FAILED_2
91+collector.c,,,OPENPTS_COLLECTOR_FAILED_READ_FSM
92+collector.c,,,OPENPTS_COLLECTOR_MKDIR_RM_SET_FAILED
93+collector.c,,,OPENPTS_NEW_RM_UUID
94+collector.c,,,OPENPTS_NEW_RM_RM
95+collector.c,,,OPENPTS_NEW_RM_FAILED
96+collector.c,,,OPENPTS_COLLECTOR_STATUS_HEADER
97+collector.c,,,OPENPTS_COLLECTOR_STATUS_IML_1
98+collector.c,,,OPENPTS_COLLECTOR_STATUS_IML_2
99+collector.c,,,OPENPTS_COLLECTOR_STATUS_KERN_1
100+collector.c,,,OPENPTS_COLLECTOR_STATUS_KERN_2
101+collector.c,,,OPENPTS_COLLECTOR_STATUS_KERN_3
102+collector.c,,,OPENPTS_COLLECTOR_STATUS_KERN_4
103+collector.c,,,OPENPTS_COLLECTOR_STATUS_KERN_5
104+collector.c,,,OPENPTS_COLLECTOR_STATUS_KERN_6
105+collector.c,,,OPENPTS_COLLECTOR_STATUS_RM_UUID_CUR
106+collector.c,,,OPENPTS_COLLECTOR_STATUS_RM_UUID_NEXT
107+collector.c,,,OPENPTS_COLLECTOR_STATUS_LIST_RM
108+collector.c,,,OPENPTS_COLLECTOR_STATUS_IR
109+collector.c,,,OPENPTS_COLLECTOR_STATUS_MODEL_DIR
110+collector.c,,,OPENPTS_COLLECTOR_STATUS_BEHAVIOUR_MODELS
111+collector.c,,,OPENPTS_COLLECTOR_CLEAR
112+collector.c,,,OPENPTS_COLLECTOR_CLEAR_YES
113+collector.c,,,OPENPTS_COLLECTOR_CLEAR_NO
114+collector.c,,,OPENPTS_COLLECTOR_CLEAR_YES_DONE
115+collector.c,,,OPENPTS_COLLECTOR_CLEAR_NO_DONE
116+target.c,,,OPENPTS_PRINT_RM_LIST_HEADER
117+target.c,,,OPENPTS_PRINT_RM_LIST_OLD
118+target.c,,,OPENPTS_PRINT_RM_LIST_NOW
119+target.c,,,OPENPTS_PRINT_RM_LIST_NOW_NEXT
120+target.c,,,OPENPTS_PRINT_RM_LIST_RENEWED
121+target.c,,,OPENPTS_PRINT_RM_LIST_UNKNOWN
122+target.c,,,OPENPTS_PRINT_TARGET_LIST_HEADER
123+openpts.c,,,OPENPTS_USAGE_1
124+openpts.c,,,OPENPTS_USAGE_2
125+openpts.c,,,OPENPTS_USAGE_3
126+openpts.c,,,OPENPTS_ONE_COMMAND_ONLY
127+openpts.c,,,OPENPTS_VERIFIER_CONFIG_FILE
128+openpts.c,,,OPENPTS_VERIFIER_VERBOSITY
129+openpts.c,,,OPENPTS_VERIFIER_DEBUG_OUT
130+openpts.c,,,OPENPTS_VERIFIER_DEBUG_MODE
131+openpts.c,,,OPENPTS_TARGET_NOT_INITIALIZED
132+openpts.c,,,OPENPTS_TARGET_DELETED
133+openpts.c,,,OPENPTS_INIT_TARGET
134+openpts.c,,,OPENPTS_INIT_MANIFEST_UUID
135+openpts.c,,,OPENPTS_INIT_MANIFEST
136+openpts.c,,,OPENPTS_INIT_COLLECTOR_UUID
137+openpts.c,,,OPENPTS_INIT_CONFIG
138+openpts.c,,,OPENPTS_INIT_VALIDATION
139+openpts.c,,,OPENPTS_INIT_NEW_CONFIG
140+openpts.c,,,OPENPTS_VERIFY_TARGET
141+openpts.c,,,OPENPTS_VERIFY_COLLECTOR_UUID
142+openpts.c,,,OPENPTS_VERIFY_DATE
143+openpts.c,,,OPENPTS_VERIFY_MANIFEST_UUID
144+openpts.c,,,OPENPTS_VERIFY_USERNAME
145+openpts.c,,,OPENPTS_VERIFY_PORT
146+openpts.c,,,OPENPTS_VERIFY_POLICY
147+openpts.c,,,OPENPTS_VERIFY_PROPERTY
148+openpts.c,,,OPENPTS_VERIFY_VALID
149+openpts.c,,,OPENPTS_VERIFY_INVALID
150+openpts.c,,,OPENPTS_VERIFY_UNKNOWN
151+openpts.c,,,OPENPTS_VERIFY_ERROR
152+openpts.c,,,OPENPTS_VERIFY_RUN_OPENPTS
153+uml2dot.c,,,OPENPTS_UML2DOT_USAGE
154+uml2dot.c,,,OPENPTS_UML2DOT_MISSING_XML_FILE
155+rm2dot.c,,,OPENPTS_RM2DOT_USAGE
156+rm2dot.c,,,OPENPTS_RM2DOT_MISSING_XML_FILE
157+rm2dot.c,,,OPENPTS_RM2DOT_BAD_LEVEL
158+ir2text.c,,,OPENPTS_IR2TEXT_USAGE
159+ir2text.c,,,OPENPTS_IR2TEXT_BAD_OPTION_C
160+ir2text.c,,,OPENPTS_IR2TEXT_OUTPUT_BINARY_MODE
161+ptsc.c,,,OPENPTS_COLLECTOR_USAGE_1
162+ptsc.c,,,OPENPTS_COLLECTOR_USAGE_2
163+ptsc.c,,,OPENPTS_COLLECTOR_USAGE_3
164+ptsc.c,,,OPENPTS_COLLECTOR_INIT_RM
165+ptsc.c,,,OPENPTS_COLLECTOR_FAILED_READ_RM_UUID
166+ptsc.c,,,OPENPTS_COLLECTOR_SUCCESS
167+ptsc.c,,,OPENPTS_COLLECTOR_RENEWED
168+ptsc.c,,,OPENPTS_COLLECTOR_FALLBACK
169+ptsc.c,,,OPENPTS_COLLECTOR_FAIL
170+ptsc.c,,,OPENPTS_COLLECTOR_UPDATE_RM_FAIL
171+ptsc.c,,,OPENPTS_COLLECTOR_UPDATE_RM_SUCCESS
172+ptsc.c,,,OPENPTS_COLLECTOR_UPDATE_RM_WONT
173+aru.c,,,OPENPTS_ARU_IML_VALIDATION_FAILED
174+aru.c,,,OPENPTS_UPDATE_PLATFORM_UUID
175+aru.c,,,OPENPTS_UPDATE_RM_UUID
176+aru.c,,,OPENPTS_UPDATE_RM_LIST
177+aru.c,,,OPENPTS_UPDATE_PURGE_RM
178+aru.c,,,OPENPTS_ARU_ERROR_READING_BIOS_IML
179+aru.c,,,OPENPTS_UPDATE_GENERATE_UUID
180+aru.c,,,OPENPTS_UPDATE_DATE
181+aru.c,,,OPENPTS_UPDATE_RM_DETAIL
182+aru.c,,,OPENPTS_UPDATE_SUCCESS
183+aru.c,,,OPENPTS_UPDATE_NONE
184+aru.c,,,OPENPTS_UPDATE_FAILED
185+aru.c,,,OPENPTS_ARU_MISSING_COLLECTOR_CONFIG
186+aru.c,,,OPENPTS_ARU_COLLECTOR_UUID
187+aru.c,,,OPENPTS_ARU_COLLECTOR_HOSTNAME
188+openpts.c,,,OPENPTS_VERIFY_NEW_UUID_LOCAL
189+openpts.c,,,OPENPTS_VERIFY_NEW_UUID_MISSING
190+openpts.c,,,OPENPTS_VERIFY_NEW_MANIFEST_UUID
191+openpts.c,,,OPENPTS_VERIFY_NEW_MANIFEST_ALREADY_EXISTS
192+openpts.c,,,OPENPTS_VERIFY_NEW_MANIFEST_UPDATE
193+openpts.c,,,OPENPTS_VERIFY_NEW_MANIFEST_UPDATE_YES
194+openpts.c,,,OPENPTS_VERIFY_NEW_MANIFEST_UPDATE_NO
195+openpts.c,,,OPENPTS_VERIFY_SAVE_NEW_MANIFEST
196+openpts.c,,,OPENPTS_VERIFY_KEEP_CURRENT_MANIFEST
197+tpm_createkey.c,,,OPENPTS_TPM_CREATEKEY_INVALID_UUID_SIZE
198+tpm_createkey.c,,,OPENPTS_TPM_CREATEKEY_KEYNUM
199+tpm_createkey.c,,,OPENPTS_TPM_CREATEKEY_KEY
200+tpm_createkey.c,,,OPENPTS_TPM_CREATEKEY_VERSION
201+tpm_createkey.c,,,OPENPTS_TPM_CREATEKEY_PARENTS_UUID
202+tpm_createkey.c,,,OPENPTS_TPM_CREATEKEY_BAD_STORAGE
203+tpm_createkey.c,,,OPENPTS_TPM_CREATEKEY_PASSWORD_MISMATCH
204+tpm_createkey.c,,,OPENPTS_TPM_CREATEKEY_PASSWORD_MISMATCH_2
205+iml2text.c,,,OPENPTS_IML2TEXT_FILE_MISSING
206+iml2text.c,,,OPENPTS_IML2TEXT_EVENT_DATA
207+iml2text.c,,,OPENPTS_IML2TEXT_USAGE
208+iml2text.c,,,OPENPTS_IML2TEXT_BAD_OPTION_C
209+tpm_readpcr.c,,,OPENPTS_TPM_READPCR_USAGE
210+tpm_extendpcr.c,,,OPENPTS_TPM_EXTENDPCR_USAGE
211+tpm_extendpcr.c,,,OPENPTS_TPM_EXTENDPCR_BAD_RANGE
212+tpm_extendpcr.c,,,OPENPTS_EXTENDPCR_OPEN_FAIL
213+tpm_extendpcr.c,,,OPENPTS_TPM_EXTENDPCR_FAILED
214+tpm_extendpcr.c,,,OPENPTS_TPM_EXTENDPCR_INDEX
215+tpm_extendpcr.c,,,OPENPTS_TPM_EXTENDPCR_EVENT_TYPE
216+tpm_extendpcr.c,,,OPENPTS_TPM_EXTENDPCR_FED_TPM
217+tpm_extendpcr.c,,,OPENPTS_EXTENDPCR_STAT_FAILED
218+tpm_extendpcr.c,,,OPENPTS_TPM_EXTENDPCR_FILENAME
219+tpm_extendpcr.c,,,OPENPTS_TPM_EXTENDPCR_DIGEST
220+tpm_extendpcr.c,,,OPENPTS_TPM_EXTENDPCR_EVENT_DATA
221+tpm_extendpcr.c,,,OPENPTS_TPM_EXTENDPCR_PCR_VALUE
222+iml2aide.c,,,OPENPTS_IML2AIDE_EVENT
223+iml2aide.c,,,OPENPTS_IML2AIDE_USAGE
224+iml2aide.c,,,OPENPTS_IML2AIDE_SET_OUTPUT
225+iml2aide.c,,,OPENPTS_IML2AIDE_CONFIG
226+iml2aide.c,,,OPENPTS_IML2AIDE_DATABASE
227+iml2aide.c,,,OPENPTS_IML2AIDE_EVENTS
228+iml2aide.c,,,OPENPTS_IML2AIDE_EVENTS_2
229+iml2aide.c,,,OPENPTS_IML2AIDE_DATABASE_2
230+iml2aide.c,,,OPENPTS_IML2AIDE_IGN_LIST
231+openpts.c,,,OPENPTS_VERIFY_NEW_UUID_REMOTE
232+tpm_createkey.c,,,OPENPTS_TPM_CREATEKEY_USAGE
233+
234+
235+
236+
237+
238+
239+
240+
Show on old repository browser