summaryrefslogtreecommitdiffstats
path: root/pki/specs/dogtag-pki-theme.spec
blob: 591263804049d7f6274fb94656951a18bd57714a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
###############################################################################
###                       P A C K A G E   H E A D E R                       ###
###############################################################################

Name:             dogtag-pki-theme
Version:          9.0.0
Release:          1%{?dist}
Summary:          Certificate System - Dogtag PKI Theme Components
URL:              http://pki.fedoraproject.org/
License:          GPLv2
Group:            System Environment/Base

BuildArch:        noarch

BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:    cmake

Source0:          http://pki.fedoraproject.org/pki/sources/%{name}/%{name}-%{version}.tar.gz

%if 0%{?rhel}
ExcludeArch:      ppc ppc64 s390 s390x
%endif

%global overview                                                          \
=========================================                                 \
||  ABOUT "DOGTAG CERTIFICATE SYSTEM"  ||                                 \
=========================================                                 \
                                                                          \
Dogtag Certificate System (DCS) is an enterprise software system designed \
to manage enterprise Public Key Infrastructure (PKI) deployments.         \
                                                                          \
The Dogtag PKI Suite is comprised of the following six subsystems         \
and a client (for use by a Token Management System):                      \
                                                                          \
  * Certificate Authority (CA)                                            \
  * Data Recovery Manager (DRM)                                           \
  * Online Certificate Status Protocol (OCSP) Manager                     \
  * Registration Authority (RA)                                           \
  * Token Key Service (TKS)                                               \
  * Token Processing System (TPS)                                         \
  * Enterprise Security Client (ESC)                                      \
                                                                          \
Additionally, it provides a console GUI application used for              \
server and user/group administration of CA, DRM, OCSP, and TKS,           \
javadocs on portions of the Dogtag API, as well as various                \
command-line tools used to assist with a Dogtag PKI deployment.           \
                                                                          \
To successfully deploy instances of a CA, DRM, OCSP, or TKS, a            \
Tomcat Web Server must be up and running locally on this machine.         \
                                                                          \
To successfully deploy instances of an RA, or TPS, an                     \
Apache Web Server must be up and running locally on this machine.         \
                                                                          \
To meet the database storage requirements of each CA, DRM, OCSP,          \
TKS, or TPS instance, a 389 Directory Server must be up and               \
running either locally on this machine, or remotely over the              \
attached network connection.                                              \
                                                                          \
To meet the database storage requirements of an RA, an SQLite             \
database will be created locally on this machine each time a              \
new RA instance is created.                                               \
                                                                          \
Dogtag utilizes the 'pkicreate' utility to install a PKI subsystem;       \
always use the 'pkicreate' and 'pkiremove' utilities to respectively      \
create and remove PKI instances.                                          \
                                                                          \
Finally, to become operational, each PKI subsystem instance must be       \
configured either manually via a Firefox browser, or by virtue of         \
the batch configuration utility called 'pkisilent'.                       \
                                                                          \
For deployment purposes, Dogtag PKI requires ALL of the subpackages       \
defined by the "pki-core" package.  Additionally, if an instance of       \
a DRM ('pki-kra'), OCSP ('pki-ocsp'), RA ('pki-ra'), TKS ('pki-tks'),     \
TPS ('pki-tps'), and/or ESC ('esc') is to be deployed, the associated     \
package(s) will also need to be installed (and configured).               \
                                                                          \
%{nil}

%description %{overview}


###############################################################################
###                   S U B P A C K A G E   H E A D E R S                   ###
###############################################################################

################################
##  dogtag-pki-common-theme   ##
################################

%package -n       dogtag-pki-common-theme
Summary:          Certificate System - PKI Common Framework User Interface
Group:            System Environment/Base

# NOTE:  Several PKI packages require a "virtual" Theme component.  These
#        "virtual" Theme components are "Provided" by various Theme "flavors"
#        including "dogtag", "redhat", and "ipa".  Consequently,
#        all "dogtag", "redhat", and "ipa" Theme components MUST be
#        mutually exclusive!
Conflicts:        ipa-pki-common-theme
Conflicts:        ipa-pki-common-ui
Conflicts:        redhat-pki-common-theme
Conflicts:        redhat-pki-common-ui

Obsoletes:        dogtag-pki-common-theme < %{version}-%{release}
Obsoletes:        dogtag-pki-common-ui

Provides:         pki-common-theme = %{version}-%{release}
Provides:         pki-common-ui = %{version}-%{release}

%description -n   dogtag-pki-common-theme
This PKI Common Framework User Interface contains
the Dogtag textual and graphical user interface for the PKI Common Framework.

This package is used by the Dogtag Certificate System.

%{overview}


################################
##    dogtag-pki-ca-theme     ##
################################

%package -n       dogtag-pki-ca-theme
Summary:          Certificate System - Certificate Authority User Interface
Group:            System Environment/Base

# NOTE:  Several PKI packages require a "virtual" Theme component.  These
#        "virtual" Theme components are "Provided" by various Theme "flavors"
#        including "dogtag", "redhat", and "ipa".  Consequently,
#        all "dogtag", "redhat", and "ipa" Theme components MUST be
#        mutually exclusive!
Conflicts:        ipa-pki-ca-theme
Conflicts:        ipa-pki-ca-ui
Conflicts:        redhat-pki-ca-theme
Conflicts:        redhat-pki-ca-ui

Obsoletes:        dogtag-pki-ca-theme < %{version}-%{release}
Obsoletes:        dogtag-pki-ca-ui

Provides:         pki-ca-theme = %{version}-%{release}
Provides:         pki-ca-ui = %{version}-%{release}

%description -n   dogtag-pki-ca-theme
This Certificate Authority (CA) User Interface contains
the Dogtag textual and graphical user interface for the CA.

This package is used by the Dogtag Certificate System.

%{overview}


################################
##    dogtag-pki-kra-theme    ##
################################

%package -n       dogtag-pki-kra-theme
Summary:          Certificate System - Data Recovery Manager User Interface
Group:            System Environment/Base

# NOTE:  Several PKI packages require a "virtual" Theme component.  These
#        "virtual" Theme components are "Provided" by various Theme "flavors"
#        including "dogtag", "redhat", and "ipa".  Consequently,
#        all "dogtag", "redhat", and "ipa" Theme components MUST be
#        mutually exclusive!
#Conflicts:        ipa-pki-kra-theme
#Conflicts:        ipa-pki-kra-ui
Conflicts:        redhat-pki-kra-theme
Conflicts:        redhat-pki-kra-ui

Obsoletes:        dogtag-pki-kra-theme < %{version}-%{release}
Obsoletes:        dogtag-pki-kra-ui

Provides:         pki-kra-theme = %{version}-%{release}
Provides:         pki-kra-ui = %{version}-%{release}

%description -n   dogtag-pki-kra-theme
This Data Recovery Manager (DRM) User Interface contains
the Dogtag textual and graphical user interface for the DRM.

This package is used by the Dogtag Certificate System.

%{overview}


################################
##   dogtag-pki-ocsp-theme    ##
################################

%package -n       dogtag-pki-ocsp-theme
Summary:          Certificate System - Online Certificate Status Protocol Manager User Interface
Group:            System Environment/Base

# NOTE:  Several PKI packages require a "virtual" Theme component.  These
#        "virtual" Theme components are "Provided" by various Theme "flavors"
#        including "dogtag", "redhat", and "ipa".  Consequently,
#        all "dogtag", "redhat", and "ipa" Theme components MUST be
#        mutually exclusive!
#Conflicts:        ipa-pki-ocsp-theme
#Conflicts:        ipa-pki-ocsp-ui
Conflicts:        redhat-pki-ocsp-theme
Conflicts:        redhat-pki-ocsp-ui

Obsoletes:        dogtag-pki-ocsp-theme < %{version}-%{release}
Obsoletes:        dogtag-pki-ocsp-ui

Provides:         pki-ocsp-theme = %{version}-%{release}
Provides:         pki-ocsp-ui = %{version}-%{release}

%description -n   dogtag-pki-ocsp-theme
This Online Certificate Status Protocol (OCSP) Manager User Interface contains
the Dogtag textual and graphical user interface for the OCSP Manager.

This package is used by the Dogtag Certificate System.

%{overview}


################################
##    dogtag-pki-ra-theme     ##
################################

%package -n       dogtag-pki-ra-theme
Summary:          Certificate System - Registration Authority User Interface
Group:            System Environment/Base

# NOTE:  Several PKI packages require a "virtual" Theme component.  These
#        "virtual" Theme components are "Provided" by various Theme "flavors"
#        including "dogtag", "redhat", and "ipa".  Consequently,
#        all "dogtag", "redhat", and "ipa" Theme components MUST be
#        mutually exclusive!
#Conflicts:        ipa-pki-ra-theme
#Conflicts:        ipa-pki-ra-ui
Conflicts:        redhat-pki-ra-theme
Conflicts:        redhat-pki-ra-ui

Obsoletes:        dogtag-pki-ra-theme < %{version}-%{release}
Obsoletes:        dogtag-pki-ra-ui

Provides:         pki-ra-theme = %{version}-%{release}
Provides:         pki-ra-ui = %{version}-%{release}

%description -n   dogtag-pki-ra-theme
This Registration Authority (RA) User Interface contains
the Dogtag textual and graphical user interface for the RA.

This package is used by the Dogtag Certificate System.

%{overview}


################################
##    dogtag-pki-tks-theme    ##
################################

%package -n       dogtag-pki-tks-theme
Summary:          Certificate System - Token Key Service User Interface
Group:            System Environment/Base

# NOTE:  Several PKI packages require a "virtual" Theme component.  These
#        "virtual" Theme components are "Provided" by various Theme "flavors"
#        including "dogtag", "redhat", and "ipa".  Consequently,
#        all "dogtag", "redhat", and "ipa" Theme components MUST be
#        mutually exclusive!
#Conflicts:        ipa-pki-tks-theme
#Conflicts:        ipa-pki-tks-ui
Conflicts:        redhat-pki-tks-theme
Conflicts:        redhat-pki-tks-ui

Obsoletes:        dogtag-pki-tks-theme < %{version}-%{release}
Obsoletes:        dogtag-pki-tks-ui

Provides:         pki-tks-theme = %{version}-%{release}
Provides:         pki-tks-ui = %{version}-%{release}

%description -n   dogtag-pki-tks-theme
This Token Key Service (TKS) User Interface contains
the Dogtag textual and graphical user interface for the TKS.

This package is used by the Dogtag Certificate System.

%{overview}


################################
##    dogtag-pki-tps-theme    ##
################################

%package -n       dogtag-pki-tps-theme
Summary:          Certificate System - Token Processing System User Interface
Group:            System Environment/Base

# NOTE:  Several PKI packages require a "virtual" Theme component.  These
#        "virtual" Theme components are "Provided" by various Theme "flavors"
#        including "dogtag", "redhat", and "ipa".  Consequently,
#        all "dogtag", "redhat", and "ipa" Theme components MUST be
#        mutually exclusive!
#Conflicts:        ipa-pki-tps-theme
#Conflicts:        ipa-pki-tps-ui
Conflicts:        redhat-pki-tps-theme
Conflicts:        redhat-pki-tps-ui

Obsoletes:        dogtag-pki-tps-theme < %{version}-%{release}
Obsoletes:        dogtag-pki-tps-ui

Provides:         pki-tps-theme = %{version}-%{release}
Provides:         pki-tps-ui = %{version}-%{release}

%description -n   dogtag-pki-tps-theme
This Token Processing System (TPS) User Interface contains
the Dogtag textual and graphical user interface for the TPS.

This package is used by the Dogtag Certificate System.

%{overview}


################################
##  dogtag-pki-console-theme  ##
################################

%package -n       dogtag-pki-console-theme
Summary:          Certificate System - PKI Console User Interface
Group:            System Environment/Base

# NOTE:  Several PKI packages require a "virtual" Theme component.  These
#        "virtual" Theme components are "Provided" by various Theme "flavors"
#        including "dogtag", "redhat", and "ipa".  Consequently,
#        all "dogtag", "redhat", and "ipa" Theme components MUST be
#        mutually exclusive!
#Conflicts:        ipa-pki-console-theme
#Conflicts:        ipa-pki-console-ui
Conflicts:        redhat-pki-console-theme
Conflicts:        redhat-pki-console-ui

Obsoletes:        dogtag-pki-console-theme < %{version}-%{release}
Obsoletes:        dogtag-pki-console-ui

Provides:         pki-console-theme = %{version}-%{release}
Provides:         pki-console-ui = %{version}-%{release}

%description -n   dogtag-pki-console-theme
This PKI Console User Interface contains
the Dogtag textual and graphical user interface for the PKI Console.

This package is used by the Dogtag Certificate System.

%{overview}


###############################################################################
###                   P A C K A G E   P R O C E S S I N G                   ###
###############################################################################

%prep


%setup -q


%clean
%{__rm} -rf %{buildroot}


%build
%{__mkdir_p} build
cd build
%cmake -DBUILD_DOGTAG_PKI_THEME:BOOL=ON ..
%{__make} VERBOSE=1 %{?_smp_mflags}


###############################################################################
###                 P A C K A G E   I N S T A L L A T I O N                 ###
###############################################################################

%install
%{__rm} -rf %{buildroot}
cd build
%{__make} install DESTDIR=%{buildroot}


###############################################################################
###              S U B P A C K A G E   I N S T A L L A T I O N              ###
###############################################################################

################################
##  dogtag-pki-common-theme   ##
################################


################################
##    dogtag-pki-ca-theme     ##
################################


################################
##    dogtag-pki-kra-theme    ##
################################


################################
##   dogtag-pki-ocsp-theme    ##
################################


################################
##    dogtag-pki-ra-theme     ##
################################


################################
##    dogtag-pki-tks-theme    ##
################################


################################
##    dogtag-pki-tps-theme    ##
################################


################################
##  dogtag-pki-console-theme  ##
################################


###############################################################################
###  P R E  &  P O S T   I N S T A L L / U N I N S T A L L   S C R I P T S  ###
###############################################################################

################################
##  dogtag-pki-common-theme   ##
################################


################################
##    dogtag-pki-ca-theme     ##
################################


################################
##    dogtag-pki-kra-theme    ##
################################


################################
##   dogtag-pki-ocsp-theme    ##
################################


################################
##    dogtag-pki-ra-theme     ##
################################


################################
##    dogtag-pki-tks-theme    ##
################################


################################
##    dogtag-pki-tps-theme    ##
################################


################################
##  dogtag-pki-console-theme  ##
################################


###############################################################################
###   I N V E N T O R Y   O F   F I L E S   A N D   D I R E C T O R I E S   ### 
###############################################################################

################################
##  dogtag-pki-common-theme   ##
################################

%files -n dogtag-pki-common-theme
%defattr(-,root,root,-)
%doc dogtag/common-ui/LICENSE
%dir %{_datadir}/pki
%dir %{_datadir}/pki/common-ui
%{_datadir}/pki/common-ui/*


################################
##    dogtag-pki-ca-theme     ##
################################

%files -n dogtag-pki-ca-theme
%defattr(-,root,root,-)
%doc dogtag/ca-ui/LICENSE
%dir %{_datadir}/pki/ca-ui
%{_datadir}/pki/ca-ui/*


################################
##    dogtag-pki-kra-theme    ##
################################

%files -n dogtag-pki-kra-theme
%defattr(-,root,root,-)
%doc dogtag/kra-ui/LICENSE
%dir %{_datadir}/pki/kra-ui
%{_datadir}/pki/kra-ui/*


################################
##   dogtag-pki-ocsp-theme    ##
################################

%files -n dogtag-pki-ocsp-theme
%defattr(-,root,root,-)
%doc dogtag/ocsp-ui/LICENSE
%dir %{_datadir}/pki/ocsp-ui
%{_datadir}/pki/ocsp-ui/*


################################
##    dogtag-pki-ra-theme     ##
################################

%files -n dogtag-pki-ra-theme
%defattr(-,root,root,-)
%doc dogtag/ra-ui/LICENSE
%dir %{_datadir}/pki/ra-ui
%{_datadir}/pki/ra-ui/*


################################
##    dogtag-pki-tks-theme    ##
################################

%files -n dogtag-pki-tks-theme
%defattr(-,root,root,-)
%doc dogtag/tks-ui/LICENSE
%dir %{_datadir}/pki/tks-ui
%{_datadir}/pki/tks-ui/*


################################
##    dogtag-pki-tps-theme    ##
################################

%files -n dogtag-pki-tps-theme
%defattr(-,root,root,-)
%doc dogtag/tps-ui/LICENSE
%dir %{_datadir}/pki/tps-ui
%{_datadir}/pki/tps-ui/*


################################
##  dogtag-pki-console-theme  ##
################################

%files -n dogtag-pki-console-theme
%defattr(-,root,root,-)
%doc dogtag/console-ui/LICENSE
%{_javadir}/*
#%{_javadir}/pki/*


###############################################################################
###                            C H A N G E L O G                            ###
###############################################################################

%changelog
* Wed Dec 1 2010 Matthew Harmsen <mharmsen@redhat.com> 9.0.0-1
- Initial revision. (kwright@redhat.com & mharmsen@redhat.com)