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