OSDN Git Service

fixed issues reported by static analysis tool
[openpts/openpts.git] / README
1
2  OpenPTS
3  -------
4
5  Author Seiji Munetoh (munetoh@users.sourceforge.jp)
6
7  DESCRIPTION
8  -----------
9  OpenPTS is an open-source package of Platform Trust Service (PTS)
10  defined by Trusted Computing Group (TCG). Trusted Computing is a set of
11  specifications set forth by the Trusted Computing Group (TCG).  For more
12  information on the TCG and Trusted Computing please visit the Trusted
13  Computing Group website at:
14    http://www.trustedcomputinggroup.org.
15
16  The openpts package contains PTS commands which work with TSS (TrouSerS).
17  The openpts package is released under the Common Public License.
18
19
20  BUILD REQUIREMENTS
21  ----- ------------
22  Packages needed to build:
23
24   Redhat/Fedora
25     automake
26     autoconf
27     libtool
28     gettext gettext-devel
29     openssl openssl-devel
30     trousers trousers-devel
31     libxml2 libxml2-devel
32     libuuid libuuid-devel
33     libtnc libtnc-devel
34     check  (TBD, for unit testing)
35
36   Ubuntu/Debian
37     automake autoconf libtool cvs fakeroot debhelper
38     gettext
39     trousers libtspi-dev tpm-tools
40     libxml2 libxml2-dev
41     libuuid1 uuid-dev
42     check (TBD, for unit testing)
43
44     If libtnc is not available by package. build it from the source
45       http://sourceforge.net/projects/libtnc/files/
46       $ ./configure --prefix=/usr
47       $ make
48       $ sudo make install
49
50  BUILDING openpts
51  -------- ----------------
52  $ sh ./bootstrap.sh
53  $ ./configure --with-tss --with-aide --enable-tnc --prefix=/usr
54  $ make
55  # make install
56
57  By default the build will place everything in /usr/local. Issue
58    ./configure --help
59  to see how to install to a different location.
60
61  --with-aide      use AIDE as integrity database, (Fedora 12 and IMA)
62  --with-tss       build with tss
63  --enable-tnc     build TNC IMV/IMC libraries
64  --with-tboot     build with tboot support
65
66
67  BUILDING a OPENPTS RPM
68  -------- - ------- ---
69
70  # yum install rpmdevtools
71  $ rpmdev-setuptree
72
73  $ sh bootstrap.sh
74  $ ./configure
75  $ make rpmbuild-ba
76
77  BUILDING a OPENPTS DEB
78  -------- - ------- ---
79
80  $ sh bootstrap.sh
81  $ ./configure
82  $ make dpkg-buildpackage
83
84
85  RUNNING the OPENPTS as TNC IMC
86  ------- --- ------- -- --- ---
87
88  TBD
89
90
91  RUNNING the OPENPTS as TNC IMV
92  ------- --- ------- -- --- ---
93
94  TBD
95
96  MODIFY MODEL
97  ------ -----
98
99  Tool to update models/*.uml
100  - Any text editer :-P
101  - Eclipse MDT
102    http://www.eclipse.org/downloads/packages/eclipse-modeling-tools-includes-incubating-components/galileosr2
103    1. right click *.uml file
104    2. select "Initialize State Machine Diagram". it create *.umlstm file
105    3. select all, and "Daigram->Arrange->all" to relocate objects.
106
107