openbsd-packaging-20060421
[openafs.git] / src / packaging / HP-UX / psf-1.2.10-transarc-paths-11.22
1 # File:         psf-1.2.10-11.22
2 #
3 # Purpose:      OpenAFS Product Specification File (PSF) for swpackage
4 #
5 # Copyright:    Copyright (c) 2003 International Business Machines Corporation and others. All Rights Reserved.
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 for 11.22, Itanium only
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    "B.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 International Business Machines Corporation and others. All Rights Reserved."
64
65     readme      < data/product.README # A multi-page README for the product.
66
67
68     architecture HP-UX_B.11.22_IA/PA # A concise summary of hardware/OS'es 
69                                      #supported.
70
71     machine_type ia64*          # Machines the product supports (uname -m).
72     os_name      HP-UX          # OS'es the product supports (uname -s).
73     os_release   ?.11.22        # 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   B.1.2.10
109         architecture HP-UX_B.11.22_IA/PA
110         machine_type ia64*      # Machines the product supports (uname -m).
111         os_name      HP-UX      # OS'es the product supports (uname -s).
112         os_release   ?.11.22    # 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.22_IA/PA,fr=<B.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   B.1.2.10
212         machine_type ia64*      # Machines the product supports (uname -m).
213         os_name      HP-UX      # OS'es the product supports (uname -s).
214         os_release   ?.11.22    # OS releases the product supports (uname -r).
215         os_version   *          # OS versions the product supports (uname -v).
216         architecture HP-UX_B.11.22_IA/PA
217         ancestor OPENAFS.OPENAFS-ENG-DOC,fa=HP-UX_B.11.22_IA/PA,fr=<B.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 ia64*        # Machines the product supports (uname -m).
249       os_name      HP-UX        # OS'es the product supports (uname -s).
250       os_release   ?.11.22      # OS releases the product supports (uname -r).
251       os_version   *            # OS versions the product supports (uname -v).
252       revision   B.1.2.10
253       architecture HP-UX_B.11.22_IA/PA
254       ancestor OPENAFS.OPENAFS-SRV,fa=HP-UX_B.11.22_IA/PA,fr=<B.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-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   B.1.2.10
333       machine_type ia64*        # Machines the product supports (uname -m).
334       os_name      HP-UX        # OS'es the product supports (uname -s).
335       os_release   ?.11.22      # OS releases the product supports (uname -r).
336       os_version   *            # OS versions the product supports (uname -v).
337       architecture HP-UX_B.11.22_IA/PA
338       ancestor OPENAFS.OPENAFS-CLNT,fa=HP-UX_B.11.22_IA/PA,fr=<B.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 the kernel fileset must be installed
350
351       prerequisite OPENAFS.OPENAFS-RUN
352       prerequisite OPENAFS.OPENAFS-KRN64
353       # corequisite
354
355       checkinstall      scripts/openafs-clnt.checkinstall
356       preinstall        scripts/openafs-clnt.preinstall
357       configure         scripts/openafs-clnt.configure
358       unconfigure       scripts/openafs-clnt.unconfigure
359       preremove         scripts/openafs-clnt.preremove
360
361       # Have SD create the /usr/vice/cache directories
362       #
363       file_permissions -u 222 -o root -g sys
364       directory    /usr/vice/cache
365
366       file_permissions -u 222 -o bin -g bin
367       directory    /usr/newconfig/vice
368       directory    /usr/newconfig/vice/etc
369
370       file_permissions -u 222 -o root -g sys
371       directory    files/afs = /afs
372
373       file_permissions -u 222 -o bin -g bin
374       directory    files/usr/vice/etc = /usr/newconfig/usr/vice/etc
375         file    CellServDB
376         file    SuidCells
377         file    cacheinfo
378
379       file_permissions -u 222 -o root -g sys
380       directory    ../hp_ux110/dest/root.client/usr/vice/etc = /usr/vice/etc
381         file    afsd
382
383       directory    ../hp_ux110/dest/lib = /usr/lib/security
384       file_permissions -u 222 -o bin -g bin
385         file   pam_afs.so.1
386         file   pam_afs.krb.so.1
387
388         # Startup links will be configured in the configure script
389
390       # File definition(s):
391       #
392       # To define the files contained in a fileset, you can:
393       #
394       #         1) specify default permissions,
395       #         2) specify files explicitly,
396       #         3) specify files implicitly,
397       #         4) map source pathnames to target pathnames.
398
399         file_permissions -u 222 -o bin -g bin
400         directory    ../hp_ux110/dest/bin = /usr/afs/bin
401         file  up
402         file  cmdebug
403
404     end # fileset
405
406     #
407     # Put the afs kernel driver filesets into a subproduct
408     # in order that the prerequisite for the client filelset
409     # will automatically select the correct kernel fileset
410     # based on os-bitness, leaving as a subproduct for now
411     subproduct
412       tag       Kernel
413       title     "OpenAFS Kernel Drivers"
414       contents  OPENAFS-KRN64
415     end
416       fileset
417         tag     OPENAFS-KRN64
418         title   "OpenAFS 64 bit Kernel Drivers"
419         revision   B.1.2.10
420         os_name      HP-UX      # OS'es the product supports (uname -s).
421         os_release   ?.11.22    # OS releases the product supports (uname -r).
422         os_version   *          # OS versions the product supports (uname -v).
423         machine_type ia64*
424         architecture HP-UX_B.11.22_IA/PA
425         ancestor OPENAFS.OPENAFS-KRN,fa=HP-UX_B.11.22_IA/PA,fr=<B.1.2.10
426
427         description < data/openafs-krn.description
428
429         is_kernel true
430         is_reboot true
431
432         # Dependency definition(s):
433         #
434
435         # prerequisite
436         # corequisite
437         exrequisite     OPENAFS.OPENAFS-KRN32
438
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   libafs64.nonfs.a   libafs.a
452
453       end # fileset
454     # End of Kernel subproduct
455     # 
456     # We can call this whatever you like, the name falls in line
457     # with other SD packaged media
458     #
459     filese10
460       tag     OPENAFS-DEV
461       title   "OpenAFS Developers Kit"
462       revision   B.1.2.10
463       architecture HP-UX_B.11.22_IA/PA
464       ancestor OPENAFS.OPENAFS-DEV,fa=HP-UX_B.11.22_IA/PA,fr=<B.1.2.10
465       machine_type ia64*
466
467       description < data/openafs-krn.description
468
469       is_kernel false
470       is_reboot false
471
472       # Dependency definition(s):
473       #
474
475       # prerequisite
476       # corequisite
477
478
479       #unconfigure  scripts/openafs-dev.unconfigure
480       #verify       scripts/openafs-dev.verify
481       #checkremove  scripts/openafs-dev.checkremove
482       #preremove    scripts/openafs-dev.preremove
483       #postremove   scripts/openafs-dev.postremove
484       #ucontrol_file scripts/openafs-dev.subscript
485
486       # File definition(s):
487       #
488
489 #      file_permissions -u 222 -o bin -g bin
490 #      directory    ../hp_ux110/dest/include = /usr/afs/include
491 #        file   *
492
493       file_permissions -u 222 -o bin -g bin
494       directory    ../hp_ux110/dest/root.perf/include/afs = /usr/afs/include/afs
495 #        file   afs_stats.h     # Included above
496 #        file   afs_sysnames.h  # Included above
497         file   afs_usrops.h
498 #        file   param.h         # Different param.h than above
499 #        file   stds.h
500         file   sysincludes.h
501
502       end # fileset
503
504     # The ManualsByLang subproduct contains manual pages by language
505
506     subproduct
507       tag       ManualsByLang
508       title     "Manuals by Language"
509       contents  OPENAFS-ENG-MAN
510     end # Manuals subproduct
511       fileset
512         tag     OPENAFS-ENG-MAN
513         title   "OpenAFS English Manual Pages"
514         revision   B.1.2.10
515         architecture HP-UX_B.11.22_IA/PA
516         ancestor OPENAFS.OPENAFS-ENG-MAN,fa=HP-UX_B.11.22_IA/PA,fr=<B.1.2.10
517
518         # description < data/openafs-run.description
519
520         is_kernel false
521         is_reboot false
522
523         # Dependency definition(s):
524         #
525
526         # prerequisite
527         # corequisite
528
529
530         configure  scripts/openafs-eng-man.configure
531         unconfigure  scripts/openafs-eng-man.unconfigure
532         #verify       scripts/openafs-eng-man.verify
533         #checkremove  scripts/openafs-eng-man.checkremove
534         #preremove    scripts/openafs-eng-man.preremove
535         #postremove   scripts/openafs-eng-man.postremove
536         #control_file scripts/openafs-eng-man.subscript
537
538       # File definition(s):
539       #
540
541       file_permissions -u 222 -o bin -g bin
542       directory   /usr/afs/man
543       directory   /usr/afs/man/man1
544       directory    ../src/man = /usr/afs/man/man1
545         file   *
546
547       end # fileset
548   end # product