CellServDB-update-20050317
[openafs.git] / src / packaging / HP-UX / psf-1.2.10-transarc-paths-11.00
1 # File:         psf-1.2.10
2 #
3 # Purpose:      OpenAFS Product Specification File (PSF) for swpackage
4 #
5 # Copyright:    Copyright (c) 2003 
6 #
7 # Header:       $Header$
8 #
9 # Description:  This PSF contains a valid product definition which includes
10 #               all attributes for OpenAFS installation via software Distributor
11 #
12 #
13 # Not all control scripts are required for installation of a product/fileset
14
15 # Below is the list of control scripts that can be used on either
16 # Products or filesets
17       # Control script definition(s):
18       #
19       # Control scripts are optional.  If defined, then specify the
20       # path to the script file.
21       #
22       # NOTE: control scripts can be defined for products too.
23
24       #checkinstall path         # Install check script
25       #preinstall   path         # Install pre-load script
26       #postinstall  path         # Install post-load script
27       #configure    path         # Configure for use script
28       #unconfigure  path         # Configure undo script
29       #verify       path         # Verify integrity script
30       #checkremove  path         # Remove check script
31       #preremove    path         # Remove pre-remove script
32       #postremove   path         # Remove post-remove script
33       #control_file path         # Addition (sub)script or control data
34
35
36  vendor
37
38    tag       "OpenSource"               # The identifier for the vendor.
39    title      "OpenSource Software"     # The name of the vendor.
40 #   uuid       ""                       # The NetLs UUID for the vendor.
41    description  < data/vendor.description # A multi-line description of the vendor.
42
43  end #Vendor
44
45   # Product definition(s):
46   #
47   # All product attributes are optional, except for the tag and the
48   # filesets which must be contained within it.
49
50   product
51
52     tag         "OPENAFS"               # The identifier for the product.
53     title       "Open Source Andrews File System" # The name of the product.
54     revision    "A.1.2.10"      # The revision (release) number of the product.
55
56     #number     "the_number"       # The order/part number for the product.
57     category    "OpenSource"" # The type of software (identifier).
58     #category_title "the category title" # The type of software (string).
59
60     description < data/product.description  # A file containing a 
61                                 #multi-line description of the product.
62
63     copyright   "(c)Copyright 2002 OpenAFS,  All Rights Reserved."
64
65     readme      < data/product.README # A multi-page README for the product.
66
67
68     architecture HP-UX_B.11.00_32/64 # A concise summary of hardware/OS'es 
69                                      #supported.
70
71     machine_type *:32*          # Machines the product supports (uname -m).
72     os_name      HP-UX          # OS'es the product supports (uname -s).
73     os_release   ?.11.00        # OS releases the product supports (uname -r).
74     os_version   *              # OS versions the product supports (uname -v).
75
76     directory   /usr/afs # The root directory for the product
77     is_locatable false   # If defined then users can install the product
78                          # into any directory they specify.
79
80       # Control script definition(s):
81       #
82       # Control scripts are optional.  If defined, then specify the
83       # path to the script file.
84       #
85       # NOTE: control scripts can be defined for products or filesets
86
87         configure  scripts/openafs.configure
88         unconfigure  scripts/openafs.unconfigure
89
90     # Subproduct definition(s):
91     #
92     # Subproducts are optional.  If defined, then they group/partition
93     # the product's filesets into logical sets.  If defined, then the
94     # tag and contents are required.
95     #
96     # The Runtime subproduct contains anything that is pertinant to
97     # either the server or client products
98     #
99     #
100     subproduct
101       tag       Runtime
102       title     "Rutime Requirements for OpenAFS Client and Server"
103       contents  OPENAFS-RUN
104     end # Runtime subproduct
105       fileset
106         tag     OPENAFS-RUN
107         title   "OpenAFS Runtime"
108         revision   A.1.2.10
109         architecture HP-UX_B.11.00_32/64
110         machine_type *:32*      # Machines the product supports (uname -m).
111         os_name      HP-UX      # OS'es the product supports (uname -s).
112         os_release   ?.11.00    # OS releases the product supports (uname -r).
113         os_version   *          # OS versions the product supports (uname -v).
114         ancestor OPENAFS.OPENAFS-RUN,fa=HP-UX_B.11.00_32/64,fr=<A.1.2.10
115
116         description < data/openafs-run.description
117
118         is_kernel false
119         is_reboot false
120
121         # Dependency definition(s):
122         #
123
124         # prerequisite
125         # corequisite
126
127
128         #configure  scripts/openafs-run.configure
129         #unconfigure  scripts/openafs-run.unconfigure
130         #preremove    scripts/openafs-run.preremove
131         #postremove   scripts/openafs-run.postremove
132         
133       # File definition(s):
134       #
135       # To define the files contained in a fileset, you can:
136       #
137       #         1) specify default permissions,
138       #         2) specify files explicitly,
139       #         3) specify files implicitly,
140       #         4) map source pathnames to target pathnames.
141
142         file_permissions -m 755 -o root -g sys
143         directory    /usr/afs
144
145         file_permissions -u 222 -o root -g sys
146         directory    /usr/vice
147         directory    /usr/vice/etc
148         directory    /usr/vice/etc/config
149
150         file_permissions -m 755 -o root -g sys
151         directory    ../../../hp_ux110/dest/bin = /usr/afs/bin
152         file_permissions -u 222 -o root -g sys
153
154           file  afsmonitor
155           file  bos
156           file  compile_et
157           file  dlog
158           file  dpass
159           file  fs
160           file  install
161           file  klog
162           file  klog.krb
163           file  knfs
164           file  kpasswd
165           file  livesys
166           file  rxgen
167           file  pagsh
168           file  pagsh.krb
169           file  pts
170           file  scout
171           file  sys
172           file  tokens
173           file  tokens.krb
174           file  translate_et
175           file  udebug
176           file  unlog
177           file  xstat_cm_test
178           file  xstat_fs_test
179
180         file_permissions -m 755 -o root -g sys
181         directory    ../../../hp_ux110/dest/etc = /usr/afs/bin
182         file_permissions -u 222 -o root -g sys
183           file  backup
184           file  butc
185           file  copyauth
186           file  fms
187           file  fstrace
188           file  kas
189           file  read_tape
190           file  restorevol
191           file  rxdebug
192           file  uss
193           file  vos
194
195         file_permissions -u 222 -o bin -g bin
196         directory    ../../../hp_ux110/dest/root.client/usr/vice/etc/dkload = /usr/newconfig/sbin/init.d
197         file    afs.rc  afs
198
199       end # fileset
200 #
201 # The DocsByLang subproduct contains documentation pages by language
202
203     subproduct
204       tag       DocsByLang
205       title     "Manuals by Language"
206       contents  OPENAFS-ENG-DOC
207     end # Manuals subproduct
208       fileset
209         tag     OPENAFS-ENG-DOC
210         title   "OpenAFS English Documentation"
211         revision   A.1.2.10
212         machine_type *:32*      # Machines the product supports (uname -m).
213         os_name      HP-UX      # OS'es the product supports (uname -s).
214         os_release   ?.11.00    # OS releases the product supports (uname -r).
215         os_version   *          # OS versions the product supports (uname -v).
216         architecture HP-UX_B.11.00_32/64
217         ancestor OPENAFS.OPENAFS-ENG-DOC,fa=HP-UX_B.11.00_32/64,fr=<A.1.2.10
218
219         description < data/openafs-run.description
220
221         is_kernel false
222         is_reboot false
223
224         # Dependency definition(s):
225         #
226
227         # prerequisite
228         # corequisite
229
230
231         #unconfigure  scripts/openafs-eng-man.unconfigure
232         #verify       scripts/openafs-eng-man.verify
233         #checkremove  scripts/openafs-eng-man.checkremove
234         #preremove    scripts/openafs-eng-man.preremove
235         #postremove   scripts/openafs-eng-man.postremove
236         #control_file scripts/openafs-eng-man.subscript
237
238
239       file_permissions -u 222 -o root -g sys
240       directory    ../../../doc = /usr/afs/doc
241         file    *
242
243       end # fileset
244
245     fileset
246       tag     OPENAFS-SRV
247       title   "OpenAFS Server"
248       machine_type *:32*        # Machines the product supports (uname -m).
249       os_name      HP-UX        # OS'es the product supports (uname -s).
250       os_release   ?.11.00      # OS releases the product supports (uname -r).
251       os_version   *            # OS versions the product supports (uname -v).
252       revision   A.1.2.10
253       architecture HP-UX_B.11.00_32/64
254       ancestor OPENAFS.OPENAFS-SRV,fa=HP-UX_B.11.00_32/64,fr=<A.1.2.10
255
256       description < data/openafs-srv.description
257
258       is_kernel false
259       is_reboot false
260
261       # Dependency definition(s):
262       #
263
264       # Require that the Runtime product be in place before installing 
265       # Server product. 
266
267       prerequisite OPENAFS.OPENAFS-RUN
268       prerequisite OPENAFS.OPENAFS-KRN32 | OPENAFS.OPENAFS-KRN64
269       # corequisite
270
271
272       configure    scripts/openafs-srv.configure
273       unconfigure  scripts/openafs-srv.unconfigure
274       preremove  scripts/openafs-srv.preremove
275
276       #verify       scripts/openafs-srv.verify
277       #checkremove  scripts/openafs-srv.checkremove
278       #preremove    scripts/openafs-srv.preremove
279       #postremove   scripts/openafs-srv.postremove
280       #control_file scripts/openafs-srv.subscript
281
282       # File definition(s):
283       #
284
285       file_permissions -u 222 -o bin -g bin
286       directory    /sbin/fs/afs
287
288       file_permissions -u 222 -o bin -g bin
289       directory    ../../../hp_ux110/dest/root.server/etc = /sbin/fs/afs
290         file    bcheckrc
291         file    mount
292         file    umount
293         file    vfsck   fsck
294
295       file_permissions -m 755 -o root -g sys
296       directory    ../../../hp_ux110/dest/root.server/usr/afs/bin = /usr/afs/bin
297       file_permissions -u 222 -o root -g sys
298         file    bosserver
299         file    buserver
300         file    fileserver
301         file    kaserver
302         file    kpwvalid
303         file    pt_util
304         file    ptserver
305         file    salvager
306         file    upclient
307         file    upserver
308         file    vlserver
309         file    volinfo
310         file    volserver
311
312       file_permissions -m 755 -o root -g sys
313       directory    ../../../hp_ux110/dest/etc = /usr/afs/bin
314       file_permissions -u 222 -o root -g sys
315         file    kadb_check
316         file    kdb
317         file    kdump
318         file    kdump32
319         file    kdump64
320         file    kseal
321         file    rmtsysd
322         file    vsys
323         file    prdb_check
324         file    vldb_check
325         file    vldb_convert
326
327     end # fileset
328
329     fileset
330       tag     OPENAFS-CLNT
331       title   "OpenAFS Client"
332       revision   A.1.2.10
333       machine_type *:32*        # Machines the product supports (uname -m).
334       os_name      HP-UX        # OS'es the product supports (uname -s).
335       os_release   ?.11.00      # OS releases the product supports (uname -r).
336       os_version   *            # OS versions the product supports (uname -v).
337       architecture HP-UX_B.11.00_32/64
338       ancestor OPENAFS.OPENAFS-CLNT,fa=HP-UX_B.11.00_32/64,fr=<A.1.2.10
339
340       description < data/openafs-clnt.description
341
342       is_kernel false
343       is_reboot false
344
345       # Dependency definition(s):
346       #
347       # If the client is installed, you must install the kernel driver
348       #
349       # This prereq means that either kernel fileset must be installed
350       # the KRN32 for 32 bitOS or KRN64 for 64BIT OS
351
352       prerequisite OPENAFS.OPENAFS-RUN
353       prerequisite OPENAFS.OPENAFS-KRN32 | OPENAFS.OPENAFS-KRN64
354       # corequisite
355
356       checkinstall      scripts/openafs-clnt.checkinstall
357       preinstall        scripts/openafs-clnt.preinstall
358       configure         scripts/openafs-clnt.configure
359       unconfigure       scripts/openafs-clnt.unconfigure
360       preremove         scripts/openafs-clnt.preremove
361
362       # Have SD create the /usr/vice/cache directories
363       #
364       file_permissions -u 222 -o root -g sys
365       directory    /usr/vice/cache
366
367       file_permissions -u 222 -o bin -g bin
368       directory    /usr/newconfig/vice
369       directory    /usr/newconfig/vice/etc
370
371       file_permissions -u 222 -o root -g sys
372       directory    files/afs = /afs
373
374       file_permissions -u 222 -o bin -g bin
375       directory    files/usr/vice/etc = /usr/newconfig/usr/vice/etc
376         file    CellServDB
377         file    SuidCells
378         file    cacheinfo
379
380       file_permissions -u 222 -o root -g sys
381       directory    ../../../hp_ux110/dest/root.client/usr/vice/etc = /usr/vice/etc
382         file    afsd
383
384       directory    ../../../hp_ux110/dest/lib = /usr/lib/security
385       file_permissions -u 222 -o bin -g bin
386         file   pam_afs.so.1
387         file   pam_afs.krb.so.1
388
389         # Startup links will be configured in the configure script
390
391       # File definition(s):
392       #
393       # To define the files contained in a fileset, you can:
394       #
395       #         1) specify default permissions,
396       #         2) specify files explicitly,
397       #         3) specify files implicitly,
398       #         4) map source pathnames to target pathnames.
399
400         file_permissions -u 222 -o bin -g bin
401         directory    ../../../hp_ux110/dest/bin = /usr/afs/bin
402         file  up
403         file  cmdebug
404
405     end # fileset
406
407     #
408     # Put the afs kernel driver filesets into a subproduct
409     # in order that the prerequisite for the client filelset
410     # will automatically select the correct kernel fileset
411     # based on os-bitness
412     subproduct
413       tag       Kernel
414       title     "OpenAFS Kernel Drivers"
415       contents  OPENAFS-KRN32 OPENAFS-KRN64
416     end
417       fileset
418         tag     OPENAFS-KRN32
419         title   "OpenAFS 32bit Kernel Drivers"
420         revision   A.1.2.10
421         machine_type *:32*      # Machines the product supports (uname -m).
422         os_name      HP-UX      # OS'es the product supports (uname -s).
423         os_release   ?.11.00    # OS releases the product supports (uname -r).
424         os_version   *          # OS versions the product supports (uname -v).
425         architecture HP-UX_B.11.00_32
426         ancestor OPENAFS.OPENAFS-KRN,fa=HP-UX_B.11.00_32,fr=<A.1.2.10
427
428         description < data/openafs-krn.description
429
430         is_kernel true
431         is_reboot true
432
433         # Dependency definition(s):
434         #
435
436         # prerequisite
437         # corequisite
438         exrequisite     OPENAFS.OPENAFS-KRN64
439
440         checkremove  scripts/openafs-krn.checkremove
441         configure  scripts/openafs-krn.configure
442         postinstall   scripts/openafs-krn.postinstall
443         unconfigure  scripts/openafs-krn.unconfigure
444         verify       scripts/openafs-krn.verify
445
446         # File definition(s):
447         #
448
449         file_permissions -u 222 -o bin -g bin
450         directory    ../../../hp_ux110/dest/root.client/bin = /usr/conf/lib
451           file  libafs.nonfs.a  libafs.a
452
453         file_permissions -u 222 -o bin -g bin
454         directory    ../../../hp_ux110/dest/root.client/usr/vice/etc = /usr/conf/master.d
455           file   afs.driver     afs
456
457       end # fileset
458       fileset
459         tag     OPENAFS-KRN64
460         title   "OpenAFS 64 bit Kernel Drivers"
461         revision   A.1.2.10
462         os_name      HP-UX      # OS'es the product supports (uname -s).
463         os_release   ?.11.00    # OS releases the product supports (uname -r).
464         os_version   *          # OS versions the product supports (uname -v).
465         machine_type *:64*
466         architecture HP-UX_B.11.00_64
467         ancestor OPENAFS.OPENAFS-KRN,fa=HP-UX_B.11.00_64,fr=<A.1.2.10
468
469         description < data/openafs-krn.description
470
471         is_kernel true
472         is_reboot true
473
474         # Dependency definition(s):
475         #
476
477         # prerequisite
478         # corequisite
479         exrequisite     OPENAFS.OPENAFS-KRN32
480
481
482         checkremove  scripts/openafs-krn.checkremove
483         configure  scripts/openafs-krn.configure
484         postinstall   scripts/openafs-krn.postinstall
485         unconfigure  scripts/openafs-krn.unconfigure
486         verify       scripts/openafs-krn.verify
487
488         # File definition(s):
489         #
490
491         file_permissions -u 222 -o bin -g bin
492         directory    ../../../hp_ux110/dest/root.client/bin = /usr/conf/lib
493           file   libafs64.nonfs.a   libafs.a
494
495       end # fileset
496     # End of Kernel subproduct
497     # 
498     # We can call this whatever you like, the name falls in line
499     # with other SD packaged media
500     #
501     fileset
502       tag     OPENAFS-DEV
503       title   "OpenAFS Developers Kit"
504       revision   A.1.2.10
505       architecture HP-UX_B.11.00_64
506       ancestor OPENAFS.OPENAFS-DEV,fa=HP-UX_B.11.00_32/64,fr=<A.1.2.10
507       machine_type *:32*
508
509       description < data/openafs-krn.description
510
511       is_kernel false
512       is_reboot false
513
514       # Dependency definition(s):
515       #
516
517       # prerequisite
518       # corequisite
519
520
521       #unconfigure  scripts/openafs-dev.unconfigure
522       #verify       scripts/openafs-dev.verify
523       #checkremove  scripts/openafs-dev.checkremove
524       #preremove    scripts/openafs-dev.preremove
525       #postremove   scripts/openafs-dev.postremove
526       #ucontrol_file scripts/openafs-dev.subscript
527
528       # File definition(s):
529       #
530
531 #      file_permissions -u 222 -o bin -g bin
532 #      directory    ../../../hp_ux110/dest/include = /usr/afs/include
533 #        file   *
534
535       file_permissions -u 222 -o bin -g bin
536       directory    ../../../hp_ux110/dest/root.perf/include/afs = /usr/afs/include/afs
537 #        file   afs_stats.h     # Included above
538 #        file   afs_sysnames.h  # Included above
539         file   afs_usrops.h
540 #        file   param.h         # Different param.h than above
541 #        file   stds.h
542         file   sysincludes.h
543
544       end # fileset
545
546     # The ManualsByLang subproduct contains manual pages by language
547
548     subproduct
549       tag       ManualsByLang
550       title     "Manuals by Language"
551       contents  OPENAFS-ENG-MAN
552     end # Manuals subproduct
553       fileset
554         tag     OPENAFS-ENG-MAN
555         title   "OpenAFS English Manual Pages"
556         revision   A.1.2.10
557         architecture HP-UX_B.11.00_32/64
558         ancestor OPENAFS.OPENAFS-ENG-MAN,fa=HP-UX_B.11.00_32/64,fr=<A.1.2.10
559
560         # description < data/openafs-run.description
561
562         is_kernel false
563         is_reboot false
564
565         # Dependency definition(s):
566         #
567
568         # prerequisite
569         # corequisite
570
571
572         configure  scripts/openafs-eng-man.configure
573         unconfigure  scripts/openafs-eng-man.unconfigure
574         #verify       scripts/openafs-eng-man.verify
575         #checkremove  scripts/openafs-eng-man.checkremove
576         #preremove    scripts/openafs-eng-man.preremove
577         #postremove   scripts/openafs-eng-man.postremove
578         #control_file scripts/openafs-eng-man.subscript
579
580       # File definition(s):
581       #
582
583       file_permissions -u 222 -o bin -g bin
584       directory   /usr/afs/man
585       directory   /usr/afs/man/man1
586       directory    ../../../src/man = /usr/afs/man/man1
587         file   *
588
589       end # fileset
590   end # product