hpux-packagings-20030619
authorPaul Weber <paul.weber@hp.com>
Thu, 19 Jun 2003 23:03:29 +0000 (23:03 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 19 Jun 2003 23:03:29 +0000 (23:03 +0000)
FIXES 1315

updated packaging for hp-ux 11.00, 11.11 and 11.22

43 files changed:
src/packaging/HP-UX/data/depot.copyright [new file with mode: 0644]
src/packaging/HP-UX/data/depot.description [new file with mode: 0644]
src/packaging/HP-UX/data/fileset.description [new file with mode: 0644]
src/packaging/HP-UX/data/openafs-clnt.description [new file with mode: 0644]
src/packaging/HP-UX/data/openafs-krn.description [new file with mode: 0644]
src/packaging/HP-UX/data/openafs-run.description [new file with mode: 0644]
src/packaging/HP-UX/data/openafs-srv.description [new file with mode: 0644]
src/packaging/HP-UX/data/product.README [new file with mode: 0644]
src/packaging/HP-UX/data/product.copyright [new file with mode: 0644]
src/packaging/HP-UX/data/product.description [new file with mode: 0644]
src/packaging/HP-UX/data/subproduct.description [new file with mode: 0644]
src/packaging/HP-UX/data/vendor.description [new file with mode: 0644]
src/packaging/HP-UX/files/usr/vice/etc/CellServDB [new file with mode: 0644]
src/packaging/HP-UX/files/usr/vice/etc/SuidCells [new file with mode: 0644]
src/packaging/HP-UX/files/usr/vice/etc/cacheinfo [new file with mode: 0644]
src/packaging/HP-UX/psf-1.2.10-transarc-paths-11.00 [new file with mode: 0644]
src/packaging/HP-UX/psf-1.2.10-transarc-paths-11.11 [new file with mode: 0644]
src/packaging/HP-UX/psf-1.2.10-transarc-paths-11.22 [new file with mode: 0644]
src/packaging/HP-UX/psf-1.2.8-transarc-paths-11.00 [moved from src/packaging/HP-UX/swpackage/psf-1.2.8-transarc-paths-11.00 with 100% similarity]
src/packaging/HP-UX/psf-1.2.9-transarc-paths-11.00 [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs-clnt.checkinstall [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs-clnt.configure [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs-clnt.preinstall [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs-clnt.preremove [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs-clnt.unconfigure [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs-eng-man.configure [moved from src/packaging/HP-UX/swpackage/scripts/openafs-eng-man.configure with 100% similarity]
src/packaging/HP-UX/scripts/openafs-eng-man.unconfigure [moved from src/packaging/HP-UX/swpackage/scripts/openafs-eng-man.unconfigure with 100% similarity]
src/packaging/HP-UX/scripts/openafs-krn.checkremove [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs-krn.configure [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs-krn.postinstall [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs-krn.unconfigure [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs-krn.verify [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs-srv.checkremove [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs-srv.configure [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs-srv.postremove [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs-srv.preinstall [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs-srv.preremove [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs-srv.subscript [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs-srv.unconfigure [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs-srv.verify [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs.configure [moved from src/packaging/HP-UX/swpackage/scripts/openafs.configure with 99% similarity]
src/packaging/HP-UX/scripts/openafs.postremove [new file with mode: 0644]
src/packaging/HP-UX/scripts/openafs.unconfigure [moved from src/packaging/HP-UX/swpackage/scripts/openafs.unconfigure with 91% similarity]

diff --git a/src/packaging/HP-UX/data/depot.copyright b/src/packaging/HP-UX/data/depot.copyright
new file mode 100644 (file)
index 0000000..86acd67
--- /dev/null
@@ -0,0 +1,3 @@
+
+This is the depot copyright.
+
diff --git a/src/packaging/HP-UX/data/depot.description b/src/packaging/HP-UX/data/depot.description
new file mode 100644 (file)
index 0000000..9e818f7
--- /dev/null
@@ -0,0 +1,3 @@
+
+This is the depot description.
+
diff --git a/src/packaging/HP-UX/data/fileset.description b/src/packaging/HP-UX/data/fileset.description
new file mode 100644 (file)
index 0000000..f214b57
--- /dev/null
@@ -0,0 +1,8 @@
+
+This softare is given freely and is totally unsupported by HP. There are
+no warranties expressed or implied.  Installation and use are solely at the
+risk of the installer and user.
+
+Paul Weber
+Hewlett-Packard Consulting
+
diff --git a/src/packaging/HP-UX/data/openafs-clnt.description b/src/packaging/HP-UX/data/openafs-clnt.description
new file mode 100644 (file)
index 0000000..f214b57
--- /dev/null
@@ -0,0 +1,8 @@
+
+This softare is given freely and is totally unsupported by HP. There are
+no warranties expressed or implied.  Installation and use are solely at the
+risk of the installer and user.
+
+Paul Weber
+Hewlett-Packard Consulting
+
diff --git a/src/packaging/HP-UX/data/openafs-krn.description b/src/packaging/HP-UX/data/openafs-krn.description
new file mode 100644 (file)
index 0000000..f214b57
--- /dev/null
@@ -0,0 +1,8 @@
+
+This softare is given freely and is totally unsupported by HP. There are
+no warranties expressed or implied.  Installation and use are solely at the
+risk of the installer and user.
+
+Paul Weber
+Hewlett-Packard Consulting
+
diff --git a/src/packaging/HP-UX/data/openafs-run.description b/src/packaging/HP-UX/data/openafs-run.description
new file mode 100644 (file)
index 0000000..f214b57
--- /dev/null
@@ -0,0 +1,8 @@
+
+This softare is given freely and is totally unsupported by HP. There are
+no warranties expressed or implied.  Installation and use are solely at the
+risk of the installer and user.
+
+Paul Weber
+Hewlett-Packard Consulting
+
diff --git a/src/packaging/HP-UX/data/openafs-srv.description b/src/packaging/HP-UX/data/openafs-srv.description
new file mode 100644 (file)
index 0000000..f214b57
--- /dev/null
@@ -0,0 +1,8 @@
+
+This softare is given freely and is totally unsupported by HP. There are
+no warranties expressed or implied.  Installation and use are solely at the
+risk of the installer and user.
+
+Paul Weber
+Hewlett-Packard Consulting
+
diff --git a/src/packaging/HP-UX/data/product.README b/src/packaging/HP-UX/data/product.README
new file mode 100644 (file)
index 0000000..b860888
--- /dev/null
@@ -0,0 +1,6 @@
+
+This softare is given freely and is totally unsupported by HP. There are
+no warranties expressed or implied.  Installation and use are solely at the
+risk of the installer or user.
+
+
diff --git a/src/packaging/HP-UX/data/product.copyright b/src/packaging/HP-UX/data/product.copyright
new file mode 100644 (file)
index 0000000..684cc50
--- /dev/null
@@ -0,0 +1,3 @@
+
+This is the copyright
+
diff --git a/src/packaging/HP-UX/data/product.description b/src/packaging/HP-UX/data/product.description
new file mode 100644 (file)
index 0000000..b860888
--- /dev/null
@@ -0,0 +1,6 @@
+
+This softare is given freely and is totally unsupported by HP. There are
+no warranties expressed or implied.  Installation and use are solely at the
+risk of the installer or user.
+
+
diff --git a/src/packaging/HP-UX/data/subproduct.description b/src/packaging/HP-UX/data/subproduct.description
new file mode 100644 (file)
index 0000000..f214b57
--- /dev/null
@@ -0,0 +1,8 @@
+
+This softare is given freely and is totally unsupported by HP. There are
+no warranties expressed or implied.  Installation and use are solely at the
+risk of the installer and user.
+
+Paul Weber
+Hewlett-Packard Consulting
+
diff --git a/src/packaging/HP-UX/data/vendor.description b/src/packaging/HP-UX/data/vendor.description
new file mode 100644 (file)
index 0000000..8d1ec28
--- /dev/null
@@ -0,0 +1,3 @@
+
+This is the vendor description.
+
diff --git a/src/packaging/HP-UX/files/usr/vice/etc/CellServDB b/src/packaging/HP-UX/files/usr/vice/etc/CellServDB
new file mode 100644 (file)
index 0000000..ab3d37b
--- /dev/null
@@ -0,0 +1,40 @@
+>andrew.cmu.edu                #Carnegie Mellon University - Computing Services
+128.2.10.11                    #vice11.fs.andrew.cmu.edu
+128.2.10.12                    #vice12.fs.andrew.cmu.edu
+128.2.10.2                     #vice2.fs.andrew.cmu.edu
+128.2.10.28                    #vice28.fs.andrew.cmu.edu
+128.2.10.7                     #vice7.fs.andrew.cmu.edu
+>cs.cmu.edu            #Carnegie Mellon University - School of Comp. Sci.
+128.2.206.130                  #cucumber.srv.cs.cmu.edu
+128.2.222.199                  #papaya.srv.cs.cmu.edu
+128.2.242.86                   #lemon.srv.cs.cmu.edu
+>ece.cmu.edu           #Carnegie Mellon University - Elec. Comp. Eng. Dept.
+128.2.129.7                    #porok.ece.cmu.edu
+128.2.129.8                    #vicio.ece.cmu.edu
+128.2.129.9                    #e-xing.ece.cmu.edu
+>athena.mit.edu                #MIT/Athena cell
+18.70.0.6                      #prill.mit.edu.
+18.145.0.25                    #agamemnon.mit.edu.
+18.159.0.34                    #chimera.mit.edu.
+>dev.mit.edu           #MIT/IS Development cell
+18.86.0.28                     #wham.mit.edu.
+18.86.0.50                     #hum.mit.edu.
+18.86.0.51                     #rattle.mit.edu.
+>net.mit.edu           #MIT/Network Group cell
+18.72.1.38                     #gracie.mit.edu.
+18.72.0.26                     #cetus.mit.edu.
+>sipb.mit.edu          #MIT/SIPB cell
+18.181.0.19                    #reynelda.mit.edu.
+18.181.0.23                    #ronald-ann.mit.edu.
+18.181.0.22                    #rosebud.mit.edu.
+>ir.stanford.edu       #Stanford University
+171.64.7.222                   #afsdb1.stanford.edu
+171.64.7.234                   #afsdb2.stanford.edu
+171.64.7.246                   #afsdb3.stanford.edu
+>umr.edu               #University of Missouri - Rolla
+131.151.1.59                   #afs1.umr.edu
+131.151.1.70                   #afs6.umr.edu
+131.151.1.146                  #afs5.umr.edu
+>dementia.org          #Dementia Unlimited
+128.2.35.149                   #alycia.dementia.org
+128.2.120.216                  #meredith.dementia.org
diff --git a/src/packaging/HP-UX/files/usr/vice/etc/SuidCells b/src/packaging/HP-UX/files/usr/vice/etc/SuidCells
new file mode 100644 (file)
index 0000000..98fdd73
--- /dev/null
@@ -0,0 +1,5 @@
+athena.mit.edu
+net.mit.edu
+sipb.mit.edu
+dev.mit.edu
+ops.mit.edu
diff --git a/src/packaging/HP-UX/files/usr/vice/etc/cacheinfo b/src/packaging/HP-UX/files/usr/vice/etc/cacheinfo
new file mode 100644 (file)
index 0000000..dd0fd05
--- /dev/null
@@ -0,0 +1 @@
+/afs:/usr/vice/cache:100000
diff --git a/src/packaging/HP-UX/psf-1.2.10-transarc-paths-11.00 b/src/packaging/HP-UX/psf-1.2.10-transarc-paths-11.00
new file mode 100644 (file)
index 0000000..21c3eda
--- /dev/null
@@ -0,0 +1,590 @@
+# File:         psf-1.2.10
+#
+# Purpose:      OpenAFS Product Specification File (PSF) for swpackage
+#
+# Copyright:    Copyright (c) 2003 
+#
+# Header:       $Header$
+#
+# Description:  This PSF contains a valid product definition which includes
+#               all attributes for OpenAFS installation via software Distributor
+#
+#
+# Not all control scripts are required for installation of a product/fileset
+# 
+# Below is the list of control scripts that can be used on either
+# Products or filesets
+      # Control script definition(s):
+      #
+      # Control scripts are optional.  If defined, then specify the
+      # path to the script file.
+      #
+      # NOTE: control scripts can be defined for products too.
+
+      #checkinstall path         # Install check script
+      #preinstall   path         # Install pre-load script
+      #postinstall  path         # Install post-load script
+      #configure    path         # Configure for use script
+      #unconfigure  path         # Configure undo script
+      #verify       path         # Verify integrity script
+      #checkremove  path         # Remove check script
+      #preremove    path         # Remove pre-remove script
+      #postremove   path         # Remove post-remove script
+      #control_file path         # Addition (sub)script or control data
+
+
+ vendor
+
+   tag       "OpenSource"              # The identifier for the vendor.
+   title      "OpenSource Software"    # The name of the vendor.
+#   uuid       ""                      # The NetLs UUID for the vendor.
+   description  < data/vendor.description # A multi-line description of the vendor.
+
+ end #Vendor
+
+  # Product definition(s):
+  #
+  # All product attributes are optional, except for the tag and the
+  # filesets which must be contained within it.
+
+  product
+
+    tag         "OPENAFS"              # The identifier for the product.
+    title       "Open Source Andrews File System" # The name of the product.
+    revision    "A.1.2.10"     # The revision (release) number of the product.
+
+    #number    "the_number"       # The order/part number for the product.
+    category    "OpenSource"" # The type of software (identifier).
+    #category_title "the category title" # The type of software (string).
+
+    description < data/product.description  # A file containing a 
+                               #multi-line description of the product.
+
+    copyright   "(c)Copyright 2002 OpenAFS,  All Rights Reserved."
+
+    readme      < data/product.README # A multi-page README for the product.
+
+
+    architecture HP-UX_B.11.00_32/64 # A concise summary of hardware/OS'es 
+                                    #supported.
+
+    machine_type *:32*         # Machines the product supports (uname -m).
+    os_name      HP-UX         # OS'es the product supports (uname -s).
+    os_release   ?.11.00       # OS releases the product supports (uname -r).
+    os_version   *             # OS versions the product supports (uname -v).
+
+    directory   /usr/afs # The root directory for the product
+    is_locatable false   # If defined then users can install the product
+                         # into any directory they specify.
+
+      # Control script definition(s):
+      #
+      # Control scripts are optional.  If defined, then specify the
+      # path to the script file.
+      #
+      # NOTE: control scripts can be defined for products or filesets
+
+        configure  scripts/openafs.configure
+        unconfigure  scripts/openafs.unconfigure
+
+    # Subproduct definition(s):
+    #
+    # Subproducts are optional.  If defined, then they group/partition
+    # the product's filesets into logical sets.  If defined, then the
+    # tag and contents are required.
+    #
+    # The Runtime subproduct contains anything that is pertinant to
+    # either the server or client products
+    #
+    #
+    subproduct
+      tag      Runtime
+      title     "Rutime Requirements for OpenAFS Client and Server"
+      contents  OPENAFS-RUN
+    end # Runtime subproduct
+      fileset
+        tag     OPENAFS-RUN
+        title   "OpenAFS Runtime"
+        revision   A.1.2.10
+        architecture HP-UX_B.11.00_32/64
+        machine_type *:32*     # Machines the product supports (uname -m).
+        os_name      HP-UX     # OS'es the product supports (uname -s).
+        os_release   ?.11.00   # OS releases the product supports (uname -r).
+        os_version   *         # OS versions the product supports (uname -v).
+        ancestor OPENAFS.OPENAFS-RUN,fa=HP-UX_B.11.00_32/64,fr=<A.1.2.10
+
+        description < data/openafs-run.description
+
+        is_kernel false
+        is_reboot false
+
+        # Dependency definition(s):
+        #
+
+        # prerequisite
+        # corequisite
+
+
+        #configure  scripts/openafs-run.configure
+        #unconfigure  scripts/openafs-run.unconfigure
+        #preremove    scripts/openafs-run.preremove
+        #postremove   scripts/openafs-run.postremove
+        
+      # File definition(s):
+      #
+      # To define the files contained in a fileset, you can:
+      #
+      #         1) specify default permissions,
+      #         2) specify files explicitly,
+      #         3) specify files implicitly,
+      #         4) map source pathnames to target pathnames.
+
+        file_permissions -m 755 -o root -g sys
+        directory    /usr/afs
+
+        file_permissions -u 222 -o root -g sys
+        directory    /usr/vice
+        directory    /usr/vice/etc
+        directory    /usr/vice/etc/config
+
+        file_permissions -m 755 -o root -g sys
+        directory    ../../../hp_ux110/dest/bin = /usr/afs/bin
+        file_permissions -u 222 -o root -g sys
+
+          file  afsmonitor
+          file  bos
+          file  compile_et
+          file  dlog
+          file  dpass
+          file  fs
+          file  install
+          file  klog
+          file  klog.krb
+          file  knfs
+          file  kpasswd
+          file  livesys
+          file  rxgen
+          file  pagsh
+          file  pagsh.krb
+          file  pts
+          file  scout
+          file  sys
+          file  tokens
+          file  tokens.krb
+          file  translate_et
+          file  udebug
+          file  unlog
+          file  xstat_cm_test
+          file  xstat_fs_test
+
+        file_permissions -m 755 -o root -g sys
+        directory    ../../../hp_ux110/dest/etc = /usr/afs/bin
+        file_permissions -u 222 -o root -g sys
+          file backup
+          file  butc
+          file  copyauth
+         file  fms
+         file  fstrace
+          file kas
+         file  read_tape
+         file  restorevol
+         file  rxdebug
+         file  uss
+          file vos
+
+        file_permissions -u 222 -o bin -g bin
+        directory    ../../../hp_ux110/dest/root.client/usr/vice/etc/dkload = /usr/newconfig/sbin/init.d
+       file    afs.rc  afs
+
+      end # fileset
+#
+# The DocsByLang subproduct contains documentation pages by language
+
+    subproduct
+      tag       DocsByLang
+      title     "Manuals by Language"
+      contents  OPENAFS-ENG-DOC
+    end # Manuals subproduct
+      fileset
+        tag     OPENAFS-ENG-DOC
+        title   "OpenAFS English Documentation"
+        revision   A.1.2.10
+        machine_type *:32*     # Machines the product supports (uname -m).
+        os_name      HP-UX     # OS'es the product supports (uname -s).
+        os_release   ?.11.00   # OS releases the product supports (uname -r).
+        os_version   *         # OS versions the product supports (uname -v).
+        architecture HP-UX_B.11.00_32/64
+        ancestor OPENAFS.OPENAFS-ENG-DOC,fa=HP-UX_B.11.00_32/64,fr=<A.1.2.10
+
+        description < data/openafs-run.description
+
+        is_kernel false
+        is_reboot false
+
+        # Dependency definition(s):
+        #
+
+        # prerequisite
+        # corequisite
+
+
+        #unconfigure  scripts/openafs-eng-man.unconfigure
+        #verify       scripts/openafs-eng-man.verify
+        #checkremove  scripts/openafs-eng-man.checkremove
+        #preremove    scripts/openafs-eng-man.preremove
+        #postremove   scripts/openafs-eng-man.postremove
+        #control_file scripts/openafs-eng-man.subscript
+
+
+      file_permissions -u 222 -o root -g sys
+      directory    ../../../doc = /usr/afs/doc
+       file    *
+
+      end # fileset
+
+    fileset
+      tag     OPENAFS-SRV
+      title   "OpenAFS Server"
+      machine_type *:32*       # Machines the product supports (uname -m).
+      os_name      HP-UX       # OS'es the product supports (uname -s).
+      os_release   ?.11.00     # OS releases the product supports (uname -r).
+      os_version   *           # OS versions the product supports (uname -v).
+      revision   A.1.2.10
+      architecture HP-UX_B.11.00_32/64
+      ancestor OPENAFS.OPENAFS-SRV,fa=HP-UX_B.11.00_32/64,fr=<A.1.2.10
+
+      description < data/openafs-srv.description
+
+      is_kernel false
+      is_reboot false
+
+      # Dependency definition(s):
+      #
+
+      # Require that the Runtime product be in place before installing 
+      # Server product. 
+
+      prerequisite OPENAFS.OPENAFS-RUN
+      prerequisite OPENAFS.OPENAFS-KRN32 | OPENAFS.OPENAFS-KRN64
+      # corequisite
+
+
+      configure    scripts/openafs-srv.configure
+      unconfigure  scripts/openafs-srv.unconfigure
+      preremove  scripts/openafs-srv.preremove
+
+      #verify       scripts/openafs-srv.verify
+      #checkremove  scripts/openafs-srv.checkremove
+      #preremove    scripts/openafs-srv.preremove
+      #postremove   scripts/openafs-srv.postremove
+      #control_file scripts/openafs-srv.subscript
+
+      # File definition(s):
+      #
+
+      file_permissions -u 222 -o bin -g bin
+      directory    /sbin/fs/afs
+
+      file_permissions -u 222 -o bin -g bin
+      directory    ../../../hp_ux110/dest/root.server/etc = /sbin/fs/afs
+       file    bcheckrc
+       file    mount
+       file    umount
+       file    vfsck   fsck
+
+      file_permissions -m 755 -o root -g sys
+      directory    ../../../hp_ux110/dest/root.server/usr/afs/bin = /usr/afs/bin
+      file_permissions -u 222 -o root -g sys
+        file   bosserver
+        file   buserver
+        file   fileserver
+        file   kaserver
+        file   kpwvalid
+        file   pt_util
+        file   ptserver
+        file   salvager
+        file   upclient
+        file   upserver
+        file   vlserver
+        file   volinfo
+        file   volserver
+
+      file_permissions -m 755 -o root -g sys
+      directory    ../../../hp_ux110/dest/etc = /usr/afs/bin
+      file_permissions -u 222 -o root -g sys
+        file    kadb_check
+        file    kdb
+        file    kdump
+        file    kdump32
+        file    kdump64
+        file    kseal
+        file    rmtsysd
+        file    vsys
+       file    prdb_check
+       file    vldb_check
+       file    vldb_convert
+
+    end # fileset
+
+    fileset
+      tag     OPENAFS-CLNT
+      title   "OpenAFS Client"
+      revision   A.1.2.10
+      machine_type *:32*       # Machines the product supports (uname -m).
+      os_name      HP-UX       # OS'es the product supports (uname -s).
+      os_release   ?.11.00     # OS releases the product supports (uname -r).
+      os_version   *           # OS versions the product supports (uname -v).
+      architecture HP-UX_B.11.00_32/64
+      ancestor OPENAFS.OPENAFS-CLNT,fa=HP-UX_B.11.00_32/64,fr=<A.1.2.10
+
+      description < data/openafs-clnt.description
+
+      is_kernel false
+      is_reboot false
+
+      # Dependency definition(s):
+      #
+      # If the client is installed, you must install the kernel driver
+      #
+      # This prereq means that either kernel fileset must be installed
+      # the KRN32 for 32 bitOS or KRN64 for 64BIT OS
+
+      prerequisite OPENAFS.OPENAFS-RUN
+      prerequisite OPENAFS.OPENAFS-KRN32 | OPENAFS.OPENAFS-KRN64
+      # corequisite
+
+      checkinstall     scripts/openafs-clnt.checkinstall
+      preinstall       scripts/openafs-clnt.preinstall
+      configure                scripts/openafs-clnt.configure
+      unconfigure      scripts/openafs-clnt.unconfigure
+      preremove                scripts/openafs-clnt.preremove
+
+      # Have SD create the /usr/vice/cache directories
+      #
+      file_permissions -u 222 -o root -g sys
+      directory    /usr/vice/cache
+
+      file_permissions -u 222 -o bin -g bin
+      directory    /usr/newconfig/vice
+      directory    /usr/newconfig/vice/etc
+
+      file_permissions -u 222 -o root -g sys
+      directory    files/afs = /afs
+
+      file_permissions -u 222 -o bin -g bin
+      directory    files/usr/vice/etc = /usr/newconfig/usr/vice/etc
+       file    CellServDB
+       file    SuidCells
+       file    cacheinfo
+
+      file_permissions -u 222 -o root -g sys
+      directory    ../../../hp_ux110/dest/root.client/usr/vice/etc = /usr/vice/etc
+       file    afsd
+
+      directory    ../../../hp_ux110/dest/lib = /usr/lib/security
+      file_permissions -u 222 -o bin -g bin
+        file   pam_afs.so.1
+        file   pam_afs.krb.so.1
+
+       # Startup links will be configured in the configure script
+
+      # File definition(s):
+      #
+      # To define the files contained in a fileset, you can:
+      #
+      #         1) specify default permissions,
+      #         2) specify files explicitly,
+      #         3) specify files implicitly,
+      #         4) map source pathnames to target pathnames.
+
+        file_permissions -u 222 -o bin -g bin
+        directory    ../../../hp_ux110/dest/bin = /usr/afs/bin
+        file  up
+        file  cmdebug
+
+    end # fileset
+
+    #
+    # Put the afs kernel driver filesets into a subproduct
+    # in order that the prerequisite for the client filelset
+    # will automatically select the correct kernel fileset
+    # based on os-bitness
+    subproduct
+      tag      Kernel
+      title    "OpenAFS Kernel Drivers"
+      contents OPENAFS-KRN32 OPENAFS-KRN64
+    end
+      fileset
+        tag     OPENAFS-KRN32
+        title   "OpenAFS 32bit Kernel Drivers"
+        revision   A.1.2.10
+        machine_type *:32*     # Machines the product supports (uname -m).
+        os_name      HP-UX     # OS'es the product supports (uname -s).
+        os_release   ?.11.00   # OS releases the product supports (uname -r).
+        os_version   *         # OS versions the product supports (uname -v).
+        architecture HP-UX_B.11.00_32
+        ancestor OPENAFS.OPENAFS-KRN,fa=HP-UX_B.11.00_32,fr=<A.1.2.10
+
+        description < data/openafs-krn.description
+
+        is_kernel true
+        is_reboot true
+
+        # Dependency definition(s):
+        #
+
+        # prerequisite
+        # corequisite
+        exrequisite    OPENAFS.OPENAFS-KRN64
+
+        checkremove  scripts/openafs-krn.checkremove
+        configure  scripts/openafs-krn.configure
+        postinstall   scripts/openafs-krn.postinstall
+        unconfigure  scripts/openafs-krn.unconfigure
+        verify       scripts/openafs-krn.verify
+
+        # File definition(s):
+        #
+
+        file_permissions -u 222 -o bin -g bin
+        directory    ../../../hp_ux110/dest/root.client/bin = /usr/conf/lib
+          file libafs.nonfs.a  libafs.a
+
+        file_permissions -u 222 -o bin -g bin
+        directory    ../../../hp_ux110/dest/root.client/usr/vice/etc = /usr/conf/master.d
+          file   afs.driver    afs
+
+      end # fileset
+      fileset
+        tag     OPENAFS-KRN64
+        title   "OpenAFS 64 bit Kernel Drivers"
+        revision   A.1.2.10
+        os_name      HP-UX     # OS'es the product supports (uname -s).
+        os_release   ?.11.00   # OS releases the product supports (uname -r).
+        os_version   *         # OS versions the product supports (uname -v).
+        machine_type *:64*
+        architecture HP-UX_B.11.00_64
+        ancestor OPENAFS.OPENAFS-KRN,fa=HP-UX_B.11.00_64,fr=<A.1.2.10
+
+        description < data/openafs-krn.description
+
+        is_kernel true
+        is_reboot true
+
+        # Dependency definition(s):
+        #
+
+        # prerequisite
+        # corequisite
+        exrequisite    OPENAFS.OPENAFS-KRN32
+
+
+        checkremove  scripts/openafs-krn.checkremove
+        configure  scripts/openafs-krn.configure
+        postinstall   scripts/openafs-krn.postinstall
+        unconfigure  scripts/openafs-krn.unconfigure
+        verify       scripts/openafs-krn.verify
+
+        # File definition(s):
+        #
+
+        file_permissions -u 222 -o bin -g bin
+        directory    ../../../hp_ux110/dest/root.client/bin = /usr/conf/lib
+          file   libafs64.nonfs.a   libafs.a
+
+      end # fileset
+    # End of Kernel subproduct
+    # 
+    # We can call this whatever you like, the name falls in line
+    # with other SD packaged media
+    #
+    fileset
+      tag     OPENAFS-DEV
+      title   "OpenAFS Developers Kit"
+      revision   A.1.2.10
+      architecture HP-UX_B.11.00_64
+      ancestor OPENAFS.OPENAFS-DEV,fa=HP-UX_B.11.00_32/64,fr=<A.1.2.10
+      machine_type *:32*
+
+      description < data/openafs-krn.description
+
+      is_kernel false
+      is_reboot false
+
+      # Dependency definition(s):
+      #
+
+      # prerequisite
+      # corequisite
+
+
+      #unconfigure  scripts/openafs-dev.unconfigure
+      #verify       scripts/openafs-dev.verify
+      #checkremove  scripts/openafs-dev.checkremove
+      #preremove    scripts/openafs-dev.preremove
+      #postremove   scripts/openafs-dev.postremove
+      #ucontrol_file scripts/openafs-dev.subscript
+
+      # File definition(s):
+      #
+
+#      file_permissions -u 222 -o bin -g bin
+#      directory    ../../../hp_ux110/dest/include = /usr/afs/include
+#        file   *
+
+      file_permissions -u 222 -o bin -g bin
+      directory    ../../../hp_ux110/dest/root.perf/include/afs = /usr/afs/include/afs
+#        file   afs_stats.h    # Included above
+#        file   afs_sysnames.h # Included above
+        file   afs_usrops.h
+#        file   param.h                # Different param.h than above
+#        file   stds.h
+        file   sysincludes.h
+
+      end # fileset
+
+    # The ManualsByLang subproduct contains manual pages by language
+
+    subproduct
+      tag       ManualsByLang
+      title     "Manuals by Language"
+      contents  OPENAFS-ENG-MAN
+    end # Manuals subproduct
+      fileset
+        tag     OPENAFS-ENG-MAN
+        title   "OpenAFS English Manual Pages"
+        revision   A.1.2.10
+        architecture HP-UX_B.11.00_32/64
+        ancestor OPENAFS.OPENAFS-ENG-MAN,fa=HP-UX_B.11.00_32/64,fr=<A.1.2.10
+
+        # description < data/openafs-run.description
+
+        is_kernel false
+        is_reboot false
+
+        # Dependency definition(s):
+        #
+
+        # prerequisite
+        # corequisite
+
+
+        configure  scripts/openafs-eng-man.configure
+        unconfigure  scripts/openafs-eng-man.unconfigure
+        #verify       scripts/openafs-eng-man.verify
+        #checkremove  scripts/openafs-eng-man.checkremove
+        #preremove    scripts/openafs-eng-man.preremove
+        #postremove   scripts/openafs-eng-man.postremove
+        #control_file scripts/openafs-eng-man.subscript
+
+      # File definition(s):
+      #
+
+      file_permissions -u 222 -o bin -g bin
+      directory   /usr/afs/man
+      directory   /usr/afs/man/man1
+      directory    ../../../src/man = /usr/afs/man/man1
+        file   *
+
+      end # fileset
+  end # product
diff --git a/src/packaging/HP-UX/psf-1.2.10-transarc-paths-11.11 b/src/packaging/HP-UX/psf-1.2.10-transarc-paths-11.11
new file mode 100644 (file)
index 0000000..462f0d4
--- /dev/null
@@ -0,0 +1,591 @@
+# File:         psf-1.2.10-11.11
+#
+# Purpose:      OpenAFS Product Specification File (PSF) for swpackage
+#
+# Copyright:    Copyright (c) 2003 
+#
+# Header:       $Header$
+#
+# Description:  This PSF contains a valid product definition which includes
+#               all attributes for OpenAFS installation via software Distributor
+#              This psf is to be used on openafs compiled as 32bit binaries.
+#
+#
+# Not all control scripts are required for installation of a product/fileset
+# 
+# Below is the list of control scripts that can be used on either
+# Products or filesets
+      # Control script definition(s):
+      #
+      # Control scripts are optional.  If defined, then specify the
+      # path to the script file.
+      #
+      # NOTE: control scripts can be defined for products too.
+
+      #checkinstall path         # Install check script
+      #preinstall   path         # Install pre-load script
+      #postinstall  path         # Install post-load script
+      #configure    path         # Configure for use script
+      #unconfigure  path         # Configure undo script
+      #verify       path         # Verify integrity script
+      #checkremove  path         # Remove check script
+      #preremove    path         # Remove pre-remove script
+      #postremove   path         # Remove post-remove script
+      #control_file path         # Addition (sub)script or control data
+
+
+ vendor
+
+   tag       "OpenSource"              # The identifier for the vendor.
+   title      "OpenSource Software"    # The name of the vendor.
+#   uuid       ""                      # The NetLs UUID for the vendor.
+   description  < data/vendor.description # A multi-line description of the vendor.
+
+ end #Vendor
+
+  # Product definition(s):
+  #
+  # All product attributes are optional, except for the tag and the
+  # filesets which must be contained within it.
+
+  product
+
+    tag         "OPENAFS"              # The identifier for the product.
+    title       "Open Source Andrews File System" # The name of the product.
+    revision    "A.1.2.10"     # The revision (release) number of the product.
+
+    #number    "the_number"       # The order/part number for the product.
+    category    "OpenSource"" # The type of software (identifier).
+    #category_title "the category title" # The type of software (string).
+
+    description < data/product.description  # A file containing a 
+                               #multi-line description of the product.
+
+    copyright   "(c)Copyright 2002 OpenAFS,  All Rights Reserved."
+
+    readme      < data/product.README # A multi-page README for the product.
+
+
+    architecture HP-UX_B.11.11_32/64 # A concise summary of hardware/OS'es 
+                                    #supported.
+
+    machine_type *:32*         # Machines the product supports (uname -m).
+    os_name      HP-UX         # OS'es the product supports (uname -s).
+    os_release   ?.11.11       # OS releases the product supports (uname -r).
+    os_version   *             # OS versions the product supports (uname -v).
+
+    directory   /usr/afs # The root directory for the product
+    is_locatable false   # If defined then users can install the product
+                         # into any directory they specify.
+
+      # Control script definition(s):
+      #
+      # Control scripts are optional.  If defined, then specify the
+      # path to the script file.
+      #
+      # NOTE: control scripts can be defined for products or filesets
+
+        configure  scripts/openafs.configure
+        unconfigure  scripts/openafs.unconfigure
+
+    # Subproduct definition(s):
+    #
+    # Subproducts are optional.  If defined, then they group/partition
+    # the product's filesets into logical sets.  If defined, then the
+    # tag and contents are required.
+    #
+    # The Runtime subproduct contains anything that is pertinant to
+    # either the server or client products
+    #
+    #
+    subproduct
+      tag      Runtime
+      title     "Rutime Requirements for OpenAFS Client and Server"
+      contents  OPENAFS-RUN
+    end # Runtime subproduct
+      fileset
+        tag     OPENAFS-RUN
+        title   "OpenAFS Runtime"
+        revision   A.1.2.10
+        architecture HP-UX_B.11.11_32/64
+        machine_type *:32*     # Machines the product supports (uname -m).
+        os_name      HP-UX     # OS'es the product supports (uname -s).
+        os_release   ?.11.11   # OS releases the product supports (uname -r).
+        os_version   *         # OS versions the product supports (uname -v).
+        ancestor OPENAFS.OPENAFS-RUN,fa=HP-UX_B.11.11_32/64,fr=<A.1.2.10
+
+        description < data/openafs-run.description
+
+        is_kernel false
+        is_reboot false
+
+        # Dependency definition(s):
+        #
+
+        # prerequisite
+        # corequisite
+
+
+        #configure  scripts/openafs-run.configure
+        #unconfigure  scripts/openafs-run.unconfigure
+        #preremove    scripts/openafs-run.preremove
+        #postremove   scripts/openafs-run.postremove
+        
+      # File definition(s):
+      #
+      # To define the files contained in a fileset, you can:
+      #
+      #         1) specify default permissions,
+      #         2) specify files explicitly,
+      #         3) specify files implicitly,
+      #         4) map source pathnames to target pathnames.
+
+        file_permissions -m 755 -o root -g sys
+        directory    /usr/afs
+
+        file_permissions -u 222 -o root -g sys
+        directory    /usr/vice
+        directory    /usr/vice/etc
+        directory    /usr/vice/etc/config
+
+        file_permissions -m 755 -o root -g sys
+        directory    ../../../hp_ux110/dest/bin = /usr/afs/bin
+        file_permissions -u 222 -o root -g sys
+
+          file  afsmonitor
+          file  bos
+          file  compile_et
+          file  dlog
+          file  dpass
+          file  fs
+          file  install
+          file  klog
+          file  klog.krb
+          file  knfs
+          file  kpasswd
+          file  livesys
+          file  rxgen
+          file  pagsh
+          file  pagsh.krb
+          file  pts
+          file  scout
+          file  sys
+          file  tokens
+          file  tokens.krb
+          file  translate_et
+          file  udebug
+          file  unlog
+          file  xstat_cm_test
+          file  xstat_fs_test
+
+        file_permissions -m 755 -o root -g sys
+        directory    ../../../hp_ux110/dest/etc = /usr/afs/bin
+        file_permissions -u 222 -o root -g sys
+          file backup
+          file  butc
+          file  copyauth
+         file  fms
+         file  fstrace
+          file kas
+         file  read_tape
+         file  restorevol
+         file  rxdebug
+         file  uss
+          file vos
+
+        file_permissions -u 222 -o bin -g bin
+        directory    ../../../hp_ux110/dest/root.client/usr/vice/etc/dkload = /usr/newconfig/sbin/init.d
+       file    afs.rc  afs
+
+      end # fileset
+#
+# The DocsByLang subproduct contains documentation pages by language
+
+    subproduct
+      tag       DocsByLang
+      title     "Manuals by Language"
+      contents  OPENAFS-ENG-DOC
+    end # Manuals subproduct
+      fileset
+        tag     OPENAFS-ENG-DOC
+        title   "OpenAFS English Documentation"
+        revision   A.1.2.10
+        machine_type *:32*     # Machines the product supports (uname -m).
+        os_name      HP-UX     # OS'es the product supports (uname -s).
+        os_release   ?.11.11   # OS releases the product supports (uname -r).
+        os_version   *         # OS versions the product supports (uname -v).
+        architecture HP-UX_B.11.11_32/64
+        ancestor OPENAFS.OPENAFS-ENG-DOC,fa=HP-UX_B.11.11_32/64,fr=<A.1.2.10
+
+        description < data/openafs-run.description
+
+        is_kernel false
+        is_reboot false
+
+        # Dependency definition(s):
+        #
+
+        # prerequisite
+        # corequisite
+
+
+        #unconfigure  scripts/openafs-eng-man.unconfigure
+        #verify       scripts/openafs-eng-man.verify
+        #checkremove  scripts/openafs-eng-man.checkremove
+        #preremove    scripts/openafs-eng-man.preremove
+        #postremove   scripts/openafs-eng-man.postremove
+        #control_file scripts/openafs-eng-man.subscript
+
+
+      file_permissions -u 222 -o root -g sys
+      directory    ../../../doc = /usr/afs/doc
+       file    *
+
+      end # fileset
+
+    fileset
+      tag     OPENAFS-SRV
+      title   "OpenAFS Server"
+      machine_type *:32*       # Machines the product supports (uname -m).
+      os_name      HP-UX       # OS'es the product supports (uname -s).
+      os_release   ?.11.11     # OS releases the product supports (uname -r).
+      os_version   *           # OS versions the product supports (uname -v).
+      revision   A.1.2.10
+      architecture HP-UX_B.11.11_32/64
+      ancestor OPENAFS.OPENAFS-SRV,fa=HP-UX_B.11.11_32/64,fr=<A.1.2.10
+
+      description < data/openafs-srv.description
+
+      is_kernel false
+      is_reboot false
+
+      # Dependency definition(s):
+      #
+
+      # Require that the Runtime product be in place before installing 
+      # Server product. 
+
+      prerequisite OPENAFS.OPENAFS-RUN
+      prerequisite OPENAFS.OPENAFS-KRN32 | OPENAFS.OPENAFS-KRN64
+      # corequisite
+
+
+      configure    scripts/openafs-srv.configure
+      unconfigure  scripts/openafs-srv.unconfigure
+      preremove  scripts/openafs-srv.preremove
+
+      #verify       scripts/openafs-srv.verify
+      #checkremove  scripts/openafs-srv.checkremove
+      #preremove    scripts/openafs-srv.preremove
+      #postremove   scripts/openafs-srv.postremove
+      #control_file scripts/openafs-srv.subscript
+
+      # File definition(s):
+      #
+
+      file_permissions -u 222 -o bin -g bin
+      directory    /sbin/fs/afs
+
+      file_permissions -u 222 -o bin -g bin
+      directory    ../../../hp_ux110/dest/root.server/etc = /sbin/fs/afs
+       file    bcheckrc
+       file    mount
+       file    umount
+       file    vfsck   fsck
+
+      file_permissions -m 755 -o root -g sys
+      directory    ../../../hp_ux110/dest/root.server/usr/afs/bin = /usr/afs/bin
+      file_permissions -u 222 -o root -g sys
+        file   bosserver
+        file   buserver
+        file   fileserver
+        file   kaserver
+        file   kpwvalid
+        file   pt_util
+        file   ptserver
+        file   salvager
+        file   upclient
+        file   upserver
+        file   vlserver
+        file   volinfo
+        file   volserver
+
+      file_permissions -m 755 -o root -g sys
+      directory    ../../../hp_ux110/dest/etc = /usr/afs/bin
+      file_permissions -u 222 -o root -g sys
+        file    kadb_check
+        file    kdb
+        file    kdump
+        file    kdump32
+        file    kdump64
+        file    kseal
+        file    rmtsysd
+        file    vsys
+       file    prdb_check
+       file    vldb_check
+       file    vldb_convert
+
+    end # fileset
+
+    fileset
+      tag     OPENAFS-CLNT
+      title   "OpenAFS Client"
+      revision   A.1.2.10
+      machine_type *:32*       # Machines the product supports (uname -m).
+      os_name      HP-UX       # OS'es the product supports (uname -s).
+      os_release   ?.11.11     # OS releases the product supports (uname -r).
+      os_version   *           # OS versions the product supports (uname -v).
+      architecture HP-UX_B.11.11_32/64
+      ancestor OPENAFS.OPENAFS-CLNT,fa=HP-UX_B.11.11_32/64,fr=<A.1.2.10
+
+      description < data/openafs-clnt.description
+
+      is_kernel false
+      is_reboot false
+
+      # Dependency definition(s):
+      #
+      # If the client is installed, you must install the kernel driver
+      #
+      # This prereq means that either kernel fileset must be installed
+      # the KRN32 for 32 bitOS or KRN64 for 64BIT OS
+
+      prerequisite OPENAFS.OPENAFS-RUN
+      prerequisite OPENAFS.OPENAFS-KRN32 | OPENAFS.OPENAFS-KRN64
+      # corequisite
+
+      checkinstall     scripts/openafs-clnt.checkinstall
+      preinstall       scripts/openafs-clnt.preinstall
+      configure                scripts/openafs-clnt.configure
+      unconfigure      scripts/openafs-clnt.unconfigure
+      preremove                scripts/openafs-clnt.preremove
+
+      # Have SD create the /usr/vice/cache directories
+      #
+      file_permissions -u 222 -o root -g sys
+      directory    /usr/vice/cache
+
+      file_permissions -u 222 -o bin -g bin
+      directory    /usr/newconfig/vice
+      directory    /usr/newconfig/vice/etc
+
+      file_permissions -u 222 -o root -g sys
+      directory    files/afs = /afs
+
+      file_permissions -u 222 -o bin -g bin
+      directory    files/usr/vice/etc = /usr/newconfig/usr/vice/etc
+       file    CellServDB
+       file    SuidCells
+       file    cacheinfo
+
+      file_permissions -u 222 -o root -g sys
+      directory    ../../../hp_ux110/dest/root.client/usr/vice/etc = /usr/vice/etc
+       file    afsd
+
+      directory    ../../../hp_ux110/dest/lib = /usr/lib/security
+      file_permissions -u 222 -o bin -g bin
+        file   pam_afs.so.1
+        file   pam_afs.krb.so.1
+
+       # Startup links will be configured in the configure script
+
+      # File definition(s):
+      #
+      # To define the files contained in a fileset, you can:
+      #
+      #         1) specify default permissions,
+      #         2) specify files explicitly,
+      #         3) specify files implicitly,
+      #         4) map source pathnames to target pathnames.
+
+        file_permissions -u 222 -o bin -g bin
+        directory    ../../../hp_ux110/dest/bin = /usr/afs/bin
+        file  up
+        file  cmdebug
+
+    end # fileset
+
+    #
+    # Put the afs kernel driver filesets into a subproduct
+    # in order that the prerequisite for the client filelset
+    # will automatically select the correct kernel fileset
+    # based on os-bitness
+    subproduct
+      tag      Kernel
+      title    "OpenAFS Kernel Drivers"
+      contents OPENAFS-KRN32 OPENAFS-KRN64
+    end
+      fileset
+        tag     OPENAFS-KRN32
+        title   "OpenAFS 32bit Kernel Drivers"
+        revision   A.1.2.10
+        machine_type *:32*     # Machines the product supports (uname -m).
+        os_name      HP-UX     # OS'es the product supports (uname -s).
+        os_release   ?.11.11   # OS releases the product supports (uname -r).
+        os_version   *         # OS versions the product supports (uname -v).
+        architecture HP-UX_B.11.11_32
+        ancestor OPENAFS.OPENAFS-KRN,fa=HP-UX_B.11.11_32,fr=<A.1.2.10
+
+        description < data/openafs-krn.description
+
+        is_kernel true
+        is_reboot true
+
+        # Dependency definition(s):
+        #
+
+        # prerequisite
+        # corequisite
+        exrequisite    OPENAFS.OPENAFS-KRN64
+
+        checkremove  scripts/openafs-krn.checkremove
+        configure  scripts/openafs-krn.configure
+        postinstall   scripts/openafs-krn.postinstall
+        unconfigure  scripts/openafs-krn.unconfigure
+        verify       scripts/openafs-krn.verify
+
+        # File definition(s):
+        #
+
+        file_permissions -u 222 -o bin -g bin
+        directory    ../../../hp_ux110/dest/root.client/bin = /usr/conf/lib
+          file libafs.nonfs.a  libafs.a
+
+        file_permissions -u 222 -o bin -g bin
+        directory    ../../../hp_ux110/dest/root.client/usr/vice/etc = /usr/conf/master.d
+          file   afs.driver    afs
+
+      end # fileset
+      fileset
+        tag     OPENAFS-KRN64
+        title   "OpenAFS 64 bit Kernel Drivers"
+        revision   A.1.2.10
+        os_name      HP-UX     # OS'es the product supports (uname -s).
+        os_release   ?.11.11   # OS releases the product supports (uname -r).
+        os_version   *         # OS versions the product supports (uname -v).
+        machine_type *:64*
+        architecture HP-UX_B.11.11_64
+        ancestor OPENAFS.OPENAFS-KRN,fa=HP-UX_B.11.11_64,fr=<A.1.2.10
+
+        description < data/openafs-krn.description
+
+        is_kernel true
+        is_reboot true
+
+        # Dependency definition(s):
+        #
+
+        # prerequisite
+        # corequisite
+        exrequisite    OPENAFS.OPENAFS-KRN32
+
+
+        checkremove  scripts/openafs-krn.checkremove
+        configure  scripts/openafs-krn.configure
+        postinstall   scripts/openafs-krn.postinstall
+        unconfigure  scripts/openafs-krn.unconfigure
+        verify       scripts/openafs-krn.verify
+
+        # File definition(s):
+        #
+
+        file_permissions -u 222 -o bin -g bin
+        directory    ../../../hp_ux110/dest/root.client/bin = /usr/conf/lib
+          file   libafs64.nonfs.a   libafs.a
+
+      end # fileset
+    # End of Kernel subproduct
+    # 
+    # We can call this whatever you like, the name falls in line
+    # with other SD packaged media
+    #
+    fileset
+      tag     OPENAFS-DEV
+      title   "OpenAFS Developers Kit"
+      revision   A.1.2.10
+      architecture HP-UX_B.11.11_64
+      ancestor OPENAFS.OPENAFS-DEV,fa=HP-UX_B.11.11_32/64,fr=<A.1.2.10
+      machine_type *:32*
+
+      description < data/openafs-krn.description
+
+      is_kernel false
+      is_reboot false
+
+      # Dependency definition(s):
+      #
+
+      # prerequisite
+      # corequisite
+
+
+      #unconfigure  scripts/openafs-dev.unconfigure
+      #verify       scripts/openafs-dev.verify
+      #checkremove  scripts/openafs-dev.checkremove
+      #preremove    scripts/openafs-dev.preremove
+      #postremove   scripts/openafs-dev.postremove
+      #ucontrol_file scripts/openafs-dev.subscript
+
+      # File definition(s):
+      #
+
+#      file_permissions -u 222 -o bin -g bin
+#      directory    ../../../hp_ux110/dest/include = /usr/afs/include
+#        file   *
+
+      file_permissions -u 222 -o bin -g bin
+      directory    ../../../hp_ux110/dest/root.perf/include/afs = /usr/afs/include/afs
+#        file   afs_stats.h    # Included above
+#        file   afs_sysnames.h # Included above
+        file   afs_usrops.h
+#        file   param.h                # Different param.h than above
+#        file   stds.h
+        file   sysincludes.h
+
+      end # fileset
+
+    # The ManualsByLang subproduct contains manual pages by language
+
+    subproduct
+      tag       ManualsByLang
+      title     "Manuals by Language"
+      contents  OPENAFS-ENG-MAN
+    end # Manuals subproduct
+      fileset
+        tag     OPENAFS-ENG-MAN
+        title   "OpenAFS English Manual Pages"
+        revision   A.1.2.10
+        architecture HP-UX_B.11.11_32/64
+        ancestor OPENAFS.OPENAFS-ENG-MAN,fa=HP-UX_B.11.11_32/64,fr=<A.1.2.10
+
+        # description < data/openafs-run.description
+
+        is_kernel false
+        is_reboot false
+
+        # Dependency definition(s):
+        #
+
+        # prerequisite
+        # corequisite
+
+
+        configure  scripts/openafs-eng-man.configure
+        unconfigure  scripts/openafs-eng-man.unconfigure
+        #verify       scripts/openafs-eng-man.verify
+        #checkremove  scripts/openafs-eng-man.checkremove
+        #preremove    scripts/openafs-eng-man.preremove
+        #postremove   scripts/openafs-eng-man.postremove
+        #control_file scripts/openafs-eng-man.subscript
+
+      # File definition(s):
+      #
+
+      file_permissions -u 222 -o bin -g bin
+      directory   /usr/afs/man
+      directory   /usr/afs/man/man1
+      directory    ../../../src/man = /usr/afs/man/man1
+        file   *
+
+      end # fileset
+  end # product
diff --git a/src/packaging/HP-UX/psf-1.2.10-transarc-paths-11.22 b/src/packaging/HP-UX/psf-1.2.10-transarc-paths-11.22
new file mode 100644 (file)
index 0000000..6e2fc3c
--- /dev/null
@@ -0,0 +1,548 @@
+# File:         psf-1.2.10-11.22
+#
+# Purpose:      OpenAFS Product Specification File (PSF) for swpackage
+#
+# Copyright:    Copyright (c) 2003 
+#
+# Header:       $Header$
+#
+# Description:  This PSF contains a valid product definition which includes
+#               all attributes for OpenAFS installation via software Distributor
+#              This psf is for 11.22, Itanium only
+#
+# Not all control scripts are required for installation of a product/fileset
+# 
+# Below is the list of control scripts that can be used on either
+# Products or filesets
+      # Control script definition(s):
+      #
+      # Control scripts are optional.  If defined, then specify the
+      # path to the script file.
+      #
+      # NOTE: control scripts can be defined for products too.
+
+      #checkinstall path         # Install check script
+      #preinstall   path         # Install pre-load script
+      #postinstall  path         # Install post-load script
+      #configure    path         # Configure for use script
+      #unconfigure  path         # Configure undo script
+      #verify       path         # Verify integrity script
+      #checkremove  path         # Remove check script
+      #preremove    path         # Remove pre-remove script
+      #postremove   path         # Remove post-remove script
+      #control_file path         # Addition (sub)script or control data
+
+
+ vendor
+
+   tag       "OpenSource"              # The identifier for the vendor.
+   title      "OpenSource Software"    # The name of the vendor.
+#   uuid       ""                      # The NetLs UUID for the vendor.
+   description  < data/vendor.description # A multi-line description of the vendor.
+
+ end #Vendor
+
+  # Product definition(s):
+  #
+  # All product attributes are optional, except for the tag and the
+  # filesets which must be contained within it.
+
+  product
+
+    tag         "OPENAFS"              # The identifier for the product.
+    title       "Open Source Andrews File System" # The name of the product.
+    revision    "B.1.2.10"     # The revision (release) number of the product.
+
+    #number    "the_number"       # The order/part number for the product.
+    category    "OpenSource"" # The type of software (identifier).
+    #category_title "the category title" # The type of software (string).
+
+    description < data/product.description  # A file containing a 
+                               #multi-line description of the product.
+
+    copyright   "(c)Copyright 2002 OpenAFS,  All Rights Reserved."
+
+    readme      < data/product.README # A multi-page README for the product.
+
+
+    architecture HP-UX_B.11.22_IA/PA # A concise summary of hardware/OS'es 
+                                    #supported.
+
+    machine_type ia64*         # Machines the product supports (uname -m).
+    os_name      HP-UX         # OS'es the product supports (uname -s).
+    os_release   ?.11.22       # OS releases the product supports (uname -r).
+    os_version   *             # OS versions the product supports (uname -v).
+
+    directory   /usr/afs # The root directory for the product
+    is_locatable false   # If defined then users can install the product
+                         # into any directory they specify.
+
+      # Control script definition(s):
+      #
+      # Control scripts are optional.  If defined, then specify the
+      # path to the script file.
+      #
+      # NOTE: control scripts can be defined for products or filesets
+
+        configure  scripts/openafs.configure
+        unconfigure  scripts/openafs.unconfigure
+
+    # Subproduct definition(s):
+    #
+    # Subproducts are optional.  If defined, then they group/partition
+    # the product's filesets into logical sets.  If defined, then the
+    # tag and contents are required.
+    #
+    # The Runtime subproduct contains anything that is pertinant to
+    # either the server or client products
+    #
+    #
+    subproduct
+      tag      Runtime
+      title     "Rutime Requirements for OpenAFS Client and Server"
+      contents  OPENAFS-RUN
+    end # Runtime subproduct
+      fileset
+        tag     OPENAFS-RUN
+        title   "OpenAFS Runtime"
+        revision   B.1.2.10
+        architecture HP-UX_B.11.22_IA/PA
+        machine_type ia64*     # Machines the product supports (uname -m).
+        os_name      HP-UX     # OS'es the product supports (uname -s).
+        os_release   ?.11.22   # OS releases the product supports (uname -r).
+        os_version   *         # OS versions the product supports (uname -v).
+        ancestor OPENAFS.OPENAFS-RUN,fa=HP-UX_B.11.22_IA/PA,fr=<B.1.2.10
+
+        description < data/openafs-run.description
+
+        is_kernel false
+        is_reboot false
+
+        # Dependency definition(s):
+        #
+
+        # prerequisite
+        # corequisite
+
+
+        #configure  scripts/openafs-run.configure
+        #unconfigure  scripts/openafs-run.unconfigure
+        #preremove    scripts/openafs-run.preremove
+        #postremove   scripts/openafs-run.postremove
+        
+      # File definition(s):
+      #
+      # To define the files contained in a fileset, you can:
+      #
+      #         1) specify default permissions,
+      #         2) specify files explicitly,
+      #         3) specify files implicitly,
+      #         4) map source pathnames to target pathnames.
+
+        file_permissions -m 755 -o root -g sys
+        directory    /usr/afs
+
+        file_permissions -u 222 -o root -g sys
+        directory    /usr/vice
+        directory    /usr/vice/etc
+        directory    /usr/vice/etc/config
+
+        file_permissions -m 755 -o root -g sys
+        directory    ../hp_ux110/dest/bin = /usr/afs/bin
+        file_permissions -u 222 -o root -g sys
+
+          file  afsmonitor
+          file  bos
+          file  compile_et
+          file  dlog
+          file  dpass
+          file  fs
+          file  install
+          file  klog
+          file  klog.krb
+          file  knfs
+          file  kpasswd
+          file  livesys
+          file  rxgen
+          file  pagsh
+          file  pagsh.krb
+          file  pts
+          file  scout
+          file  sys
+          file  tokens
+          file  tokens.krb
+          file  translate_et
+          file  udebug
+          file  unlog
+          file  xstat_cm_test
+          file  xstat_fs_test
+
+        file_permissions -m 755 -o root -g sys
+        directory    ../hp_ux110/dest/etc = /usr/afs/bin
+        file_permissions -u 222 -o root -g sys
+          file backup
+          file  butc
+          file  copyauth
+         file  fms
+         file  fstrace
+          file kas
+         file  read_tape
+         file  restorevol
+         file  rxdebug
+         file  uss
+          file vos
+
+        file_permissions -u 222 -o bin -g bin
+        directory    ../hp_ux110/dest/root.client/usr/vice/etc/dkload = /usr/newconfig/sbin/init.d
+       file    afs.rc  afs
+
+      end # fileset
+#
+# The DocsByLang subproduct contains documentation pages by language
+
+    subproduct
+      tag       DocsByLang
+      title     "Manuals by Language"
+      contents  OPENAFS-ENG-DOC
+    end # Manuals subproduct
+      fileset
+        tag     OPENAFS-ENG-DOC
+        title   "OpenAFS English Documentation"
+        revision   B.1.2.10
+        machine_type ia64*     # Machines the product supports (uname -m).
+        os_name      HP-UX     # OS'es the product supports (uname -s).
+        os_release   ?.11.22   # OS releases the product supports (uname -r).
+        os_version   *         # OS versions the product supports (uname -v).
+        architecture HP-UX_B.11.22_IA/PA
+        ancestor OPENAFS.OPENAFS-ENG-DOC,fa=HP-UX_B.11.22_IA/PA,fr=<B.1.2.10
+
+        description < data/openafs-run.description
+
+        is_kernel false
+        is_reboot false
+
+        # Dependency definition(s):
+        #
+
+        # prerequisite
+        # corequisite
+
+
+        #unconfigure  scripts/openafs-eng-man.unconfigure
+        #verify       scripts/openafs-eng-man.verify
+        #checkremove  scripts/openafs-eng-man.checkremove
+        #preremove    scripts/openafs-eng-man.preremove
+        #postremove   scripts/openafs-eng-man.postremove
+        #control_file scripts/openafs-eng-man.subscript
+
+
+      file_permissions -u 222 -o root -g sys
+      directory    ../doc = /usr/afs/doc
+       file    *
+
+      end # fileset
+
+    fileset
+      tag     OPENAFS-SRV
+      title   "OpenAFS Server"
+      machine_type ia64*       # Machines the product supports (uname -m).
+      os_name      HP-UX       # OS'es the product supports (uname -s).
+      os_release   ?.11.22     # OS releases the product supports (uname -r).
+      os_version   *           # OS versions the product supports (uname -v).
+      revision   B.1.2.10
+      architecture HP-UX_B.11.22_IA/PA
+      ancestor OPENAFS.OPENAFS-SRV,fa=HP-UX_B.11.22_IA/PA,fr=<B.1.2.10
+
+      description < data/openafs-srv.description
+
+      is_kernel false
+      is_reboot false
+
+      # Dependency definition(s):
+      #
+
+      # Require that the Runtime product be in place before installing 
+      # Server product. 
+
+      prerequisite OPENAFS.OPENAFS-RUN
+      prerequisite OPENAFS.OPENAFS-KRN64
+      # corequisite
+
+
+      configure    scripts/openafs-srv.configure
+      unconfigure  scripts/openafs-srv.unconfigure
+      preremove  scripts/openafs-srv.preremove
+
+      #verify       scripts/openafs-srv.verify
+      #checkremove  scripts/openafs-srv.checkremove
+      #preremove    scripts/openafs-srv.preremove
+      #postremove   scripts/openafs-srv.postremove
+      #control_file scripts/openafs-srv.subscript
+
+      # File definition(s):
+      #
+
+      file_permissions -u 222 -o bin -g bin
+      directory    /sbin/fs/afs
+
+      file_permissions -u 222 -o bin -g bin
+      directory    ../hp_ux110/dest/root.server/etc = /sbin/fs/afs
+       file    bcheckrc
+       file    mount
+       file    umount
+       file    vfsck   fsck
+
+      file_permissions -m 755 -o root -g sys
+      directory    ../hp_ux110/dest/root.server/usr/afs/bin = /usr/afs/bin
+      file_permissions -u 222 -o root -g sys
+        file   bosserver
+        file   buserver
+        file   fileserver
+        file   kaserver
+        file   kpwvalid
+        file   pt_util
+        file   ptserver
+        file   salvager
+        file   upclient
+        file   upserver
+        file   vlserver
+        file   volinfo
+        file   volserver
+
+      file_permissions -m 755 -o root -g sys
+      directory    ../hp_ux110/dest/etc = /usr/afs/bin
+      file_permissions -u 222 -o root -g sys
+        file    kadb_check
+        file    kdb
+        file    kdump
+        file    kdump32
+        file    kdump64
+        file    kseal
+        file    rmtsysd
+        file    vsys
+       file    prdb_check
+       file    vldb_check
+       file    vldb_convert
+
+    end # fileset
+
+    fileset
+      tag     OPENAFS-CLNT
+      title   "OpenAFS Client"
+      revision   B.1.2.10
+      machine_type ia64*       # Machines the product supports (uname -m).
+      os_name      HP-UX       # OS'es the product supports (uname -s).
+      os_release   ?.11.22     # OS releases the product supports (uname -r).
+      os_version   *           # OS versions the product supports (uname -v).
+      architecture HP-UX_B.11.22_IA/PA
+      ancestor OPENAFS.OPENAFS-CLNT,fa=HP-UX_B.11.22_IA/PA,fr=<B.1.2.10
+
+      description < data/openafs-clnt.description
+
+      is_kernel false
+      is_reboot false
+
+      # Dependency definition(s):
+      #
+      # If the client is installed, you must install the kernel driver
+      #
+      # This prereq means that the kernel fileset must be installed
+
+      prerequisite OPENAFS.OPENAFS-RUN
+      prerequisite OPENAFS.OPENAFS-KRN64
+      # corequisite
+
+      checkinstall     scripts/openafs-clnt.checkinstall
+      preinstall       scripts/openafs-clnt.preinstall
+      configure                scripts/openafs-clnt.configure
+      unconfigure      scripts/openafs-clnt.unconfigure
+      preremove                scripts/openafs-clnt.preremove
+
+      # Have SD create the /usr/vice/cache directories
+      #
+      file_permissions -u 222 -o root -g sys
+      directory    /usr/vice/cache
+
+      file_permissions -u 222 -o bin -g bin
+      directory    /usr/newconfig/vice
+      directory    /usr/newconfig/vice/etc
+
+      file_permissions -u 222 -o root -g sys
+      directory    files/afs = /afs
+
+      file_permissions -u 222 -o bin -g bin
+      directory    files/usr/vice/etc = /usr/newconfig/usr/vice/etc
+       file    CellServDB
+       file    SuidCells
+       file    cacheinfo
+
+      file_permissions -u 222 -o root -g sys
+      directory    ../hp_ux110/dest/root.client/usr/vice/etc = /usr/vice/etc
+       file    afsd
+
+      directory    ../hp_ux110/dest/lib = /usr/lib/security
+      file_permissions -u 222 -o bin -g bin
+        file   pam_afs.so.1
+        file   pam_afs.krb.so.1
+
+       # Startup links will be configured in the configure script
+
+      # File definition(s):
+      #
+      # To define the files contained in a fileset, you can:
+      #
+      #         1) specify default permissions,
+      #         2) specify files explicitly,
+      #         3) specify files implicitly,
+      #         4) map source pathnames to target pathnames.
+
+        file_permissions -u 222 -o bin -g bin
+        directory    ../hp_ux110/dest/bin = /usr/afs/bin
+        file  up
+        file  cmdebug
+
+    end # fileset
+
+    #
+    # Put the afs kernel driver filesets into a subproduct
+    # in order that the prerequisite for the client filelset
+    # will automatically select the correct kernel fileset
+    # based on os-bitness, leaving as a subproduct for now
+    subproduct
+      tag      Kernel
+      title    "OpenAFS Kernel Drivers"
+      contents OPENAFS-KRN64
+    end
+      fileset
+        tag     OPENAFS-KRN64
+        title   "OpenAFS 64 bit Kernel Drivers"
+        revision   B.1.2.10
+        os_name      HP-UX     # OS'es the product supports (uname -s).
+        os_release   ?.11.22   # OS releases the product supports (uname -r).
+        os_version   *         # OS versions the product supports (uname -v).
+        machine_type ia64*
+        architecture HP-UX_B.11.22_IA/PA
+        ancestor OPENAFS.OPENAFS-KRN,fa=HP-UX_B.11.22_IA/PA,fr=<B.1.2.10
+
+        description < data/openafs-krn.description
+
+        is_kernel true
+        is_reboot true
+
+        # Dependency definition(s):
+        #
+
+        # prerequisite
+        # corequisite
+        exrequisite    OPENAFS.OPENAFS-KRN32
+
+
+        checkremove  scripts/openafs-krn.checkremove
+        configure  scripts/openafs-krn.configure
+        postinstall   scripts/openafs-krn.postinstall
+        unconfigure  scripts/openafs-krn.unconfigure
+        verify       scripts/openafs-krn.verify
+
+        # File definition(s):
+        #
+
+        file_permissions -u 222 -o bin -g bin
+        directory    ../hp_ux110/dest/root.client/bin = /usr/conf/lib
+          file   libafs64.nonfs.a   libafs.a
+
+      end # fileset
+    # End of Kernel subproduct
+    # 
+    # We can call this whatever you like, the name falls in line
+    # with other SD packaged media
+    #
+    filese10
+      tag     OPENAFS-DEV
+      title   "OpenAFS Developers Kit"
+      revision   B.1.2.10
+      architecture HP-UX_B.11.22_IA/PA
+      ancestor OPENAFS.OPENAFS-DEV,fa=HP-UX_B.11.22_IA/PA,fr=<B.1.2.10
+      machine_type ia64*
+
+      description < data/openafs-krn.description
+
+      is_kernel false
+      is_reboot false
+
+      # Dependency definition(s):
+      #
+
+      # prerequisite
+      # corequisite
+
+
+      #unconfigure  scripts/openafs-dev.unconfigure
+      #verify       scripts/openafs-dev.verify
+      #checkremove  scripts/openafs-dev.checkremove
+      #preremove    scripts/openafs-dev.preremove
+      #postremove   scripts/openafs-dev.postremove
+      #ucontrol_file scripts/openafs-dev.subscript
+
+      # File definition(s):
+      #
+
+#      file_permissions -u 222 -o bin -g bin
+#      directory    ../hp_ux110/dest/include = /usr/afs/include
+#        file   *
+
+      file_permissions -u 222 -o bin -g bin
+      directory    ../hp_ux110/dest/root.perf/include/afs = /usr/afs/include/afs
+#        file   afs_stats.h    # Included above
+#        file   afs_sysnames.h # Included above
+        file   afs_usrops.h
+#        file   param.h                # Different param.h than above
+#        file   stds.h
+        file   sysincludes.h
+
+      end # fileset
+
+    # The ManualsByLang subproduct contains manual pages by language
+
+    subproduct
+      tag       ManualsByLang
+      title     "Manuals by Language"
+      contents  OPENAFS-ENG-MAN
+    end # Manuals subproduct
+      fileset
+        tag     OPENAFS-ENG-MAN
+        title   "OpenAFS English Manual Pages"
+        revision   B.1.2.10
+        architecture HP-UX_B.11.22_IA/PA
+        ancestor OPENAFS.OPENAFS-ENG-MAN,fa=HP-UX_B.11.22_IA/PA,fr=<B.1.2.10
+
+        # description < data/openafs-run.description
+
+        is_kernel false
+        is_reboot false
+
+        # Dependency definition(s):
+        #
+
+        # prerequisite
+        # corequisite
+
+
+        configure  scripts/openafs-eng-man.configure
+        unconfigure  scripts/openafs-eng-man.unconfigure
+        #verify       scripts/openafs-eng-man.verify
+        #checkremove  scripts/openafs-eng-man.checkremove
+        #preremove    scripts/openafs-eng-man.preremove
+        #postremove   scripts/openafs-eng-man.postremove
+        #control_file scripts/openafs-eng-man.subscript
+
+      # File definition(s):
+      #
+
+      file_permissions -u 222 -o bin -g bin
+      directory   /usr/afs/man
+      directory   /usr/afs/man/man1
+      directory    ../src/man = /usr/afs/man/man1
+        file   *
+
+      end # fileset
+  end # product
diff --git a/src/packaging/HP-UX/psf-1.2.9-transarc-paths-11.00 b/src/packaging/HP-UX/psf-1.2.9-transarc-paths-11.00
new file mode 100644 (file)
index 0000000..a574880
--- /dev/null
@@ -0,0 +1,590 @@
+# File:         psf-1.2.9
+#
+# Purpose:      OpenAFS Product Specification File (PSF) for swpackage
+#
+# Copyright:    Copyright (c) 2003 
+#
+# Header:       $Header$
+#
+# Description:  This PSF contains a valid product definition which includes
+#               all attributes for OpenAFS installation via software Distributor
+#
+#
+# Not all control scripts are required for installation of a product/fileset
+# 
+# Below is the list of control scripts that can be used on either
+# Products or filesets
+      # Control script definition(s):
+      #
+      # Control scripts are optional.  If defined, then specify the
+      # path to the script file.
+      #
+      # NOTE: control scripts can be defined for products too.
+
+      #checkinstall path         # Install check script
+      #preinstall   path         # Install pre-load script
+      #postinstall  path         # Install post-load script
+      #configure    path         # Configure for use script
+      #unconfigure  path         # Configure undo script
+      #verify       path         # Verify integrity script
+      #checkremove  path         # Remove check script
+      #preremove    path         # Remove pre-remove script
+      #postremove   path         # Remove post-remove script
+      #control_file path         # Addition (sub)script or control data
+
+
+ vendor
+
+   tag       "OpenSource"              # The identifier for the vendor.
+   title      "OpenSource Software"    # The name of the vendor.
+#   uuid       ""                      # The NetLs UUID for the vendor.
+   description  < data/vendor.description # A multi-line description of the vendor.
+
+ end #Vendor
+
+  # Product definition(s):
+  #
+  # All product attributes are optional, except for the tag and the
+  # filesets which must be contained within it.
+
+  product
+
+    tag         "OPENAFS"              # The identifier for the product.
+    title       "Open Source Andrews File System" # The name of the product.
+    revision    "A.1.2.9"      # The revision (release) number of the product.
+
+    #number    "the_number"       # The order/part number for the product.
+    category    "OpenSource"" # The type of software (identifier).
+    #category_title "the category title" # The type of software (string).
+
+    description < data/product.description  # A file containing a 
+                               #multi-line description of the product.
+
+    copyright   "(c)Copyright 2002 OpenAFS,  All Rights Reserved."
+
+    readme      < data/product.README # A multi-page README for the product.
+
+
+    architecture HP-UX_B.11.00_32/64 # A concise summary of hardware/OS'es 
+                                    #supported.
+
+    machine_type *:32*         # Machines the product supports (uname -m).
+    os_name      HP-UX         # OS'es the product supports (uname -s).
+    os_release   ?.11.00       # OS releases the product supports (uname -r).
+    os_version   *             # OS versions the product supports (uname -v).
+
+    directory   /usr/afs # The root directory for the product
+    is_locatable false   # If defined then users can install the product
+                         # into any directory they specify.
+
+      # Control script definition(s):
+      #
+      # Control scripts are optional.  If defined, then specify the
+      # path to the script file.
+      #
+      # NOTE: control scripts can be defined for products or filesets
+
+        configure  scripts/openafs.configure
+        unconfigure  scripts/openafs.unconfigure
+
+    # Subproduct definition(s):
+    #
+    # Subproducts are optional.  If defined, then they group/partition
+    # the product's filesets into logical sets.  If defined, then the
+    # tag and contents are required.
+    #
+    # The Runtime subproduct contains anything that is pertinant to
+    # either the server or client products
+    #
+    #
+    subproduct
+      tag      Runtime
+      title     "Rutime Requirements for OpenAFS Client and Server"
+      contents  OPENAFS-RUN
+    end # Runtime subproduct
+      fileset
+        tag     OPENAFS-RUN
+        title   "OpenAFS Runtime"
+        revision   A.1.2.9
+        architecture HP-UX_B.11.00_32/64
+        machine_type *:32*     # Machines the product supports (uname -m).
+        os_name      HP-UX     # OS'es the product supports (uname -s).
+        os_release   ?.11.00   # OS releases the product supports (uname -r).
+        os_version   *         # OS versions the product supports (uname -v).
+        ancestor OPENAFS.OPENAFS-RUN,fa=HP-UX_B.11.00_32/64,fr=<A.1.2.9
+
+        description < data/openafs-run.description
+
+        is_kernel false
+        is_reboot false
+
+        # Dependency definition(s):
+        #
+
+        # prerequisite
+        # corequisite
+
+
+        #configure  scripts/openafs-run.configure
+        #unconfigure  scripts/openafs-run.unconfigure
+        #preremove    scripts/openafs-run.preremove
+        #postremove   scripts/openafs-run.postremove
+        
+      # File definition(s):
+      #
+      # To define the files contained in a fileset, you can:
+      #
+      #         1) specify default permissions,
+      #         2) specify files explicitly,
+      #         3) specify files implicitly,
+      #         4) map source pathnames to target pathnames.
+
+        file_permissions -m 755 -o root -g sys
+        directory    /usr/afs
+
+        file_permissions -u 222 -o root -g sys
+        directory    /usr/vice
+        directory    /usr/vice/etc
+        directory    /usr/vice/etc/config
+
+        file_permissions -m 755 -o root -g sys
+        directory    ../../../hp_ux110/dest/bin = /usr/afs/bin
+        file_permissions -u 222 -o root -g sys
+
+          file  afsmonitor
+          file  bos
+          file  compile_et
+          file  dlog
+          file  dpass
+          file  fs
+          file  install
+          file  klog
+          file  klog.krb
+          file  knfs
+          file  kpasswd
+          file  livesys
+          file  rxgen
+          file  pagsh
+          file  pagsh.krb
+          file  pts
+          file  scout
+          file  sys
+          file  tokens
+          file  tokens.krb
+          file  translate_et
+          file  udebug
+          file  unlog
+          file  xstat_cm_test
+          file  xstat_fs_test
+
+        file_permissions -m 755 -o root -g sys
+        directory    ../../../hp_ux110/dest/etc = /usr/afs/bin
+        file_permissions -u 222 -o root -g sys
+          file backup
+          file  butc
+          file  copyauth
+         file  fms
+         file  fstrace
+          file kas
+         file  read_tape
+         file  restorevol
+         file  rxdebug
+         file  uss
+          file vos
+
+        file_permissions -u 222 -o bin -g bin
+        directory    ../../../hp_ux110/dest/root.client/usr/vice/etc/dkload = /usr/newconfig/sbin/init.d
+       file    afs.rc  afs
+
+      end # fileset
+#
+# The DocsByLang subproduct contains documentation pages by language
+
+    subproduct
+      tag       DocsByLang
+      title     "Manuals by Language"
+      contents  OPENAFS-ENG-DOC
+    end # Manuals subproduct
+      fileset
+        tag     OPENAFS-ENG-DOC
+        title   "OpenAFS English Documentation"
+        revision   A.1.2.9
+        machine_type *:32*     # Machines the product supports (uname -m).
+        os_name      HP-UX     # OS'es the product supports (uname -s).
+        os_release   ?.11.00   # OS releases the product supports (uname -r).
+        os_version   *         # OS versions the product supports (uname -v).
+        architecture HP-UX_B.11.00_32/64
+        ancestor OPENAFS.OPENAFS-ENG-DOC,fa=HP-UX_B.11.00_32/64,fr=<A.1.2.9
+
+        description < data/openafs-run.description
+
+        is_kernel false
+        is_reboot false
+
+        # Dependency definition(s):
+        #
+
+        # prerequisite
+        # corequisite
+
+
+        #unconfigure  scripts/openafs-eng-man.unconfigure
+        #verify       scripts/openafs-eng-man.verify
+        #checkremove  scripts/openafs-eng-man.checkremove
+        #preremove    scripts/openafs-eng-man.preremove
+        #postremove   scripts/openafs-eng-man.postremove
+        #control_file scripts/openafs-eng-man.subscript
+
+
+      file_permissions -u 222 -o root -g sys
+      directory    ../../../doc = /usr/afs/doc
+       file    *
+
+      end # fileset
+
+    fileset
+      tag     OPENAFS-SRV
+      title   "OpenAFS Server"
+      machine_type *:32*       # Machines the product supports (uname -m).
+      os_name      HP-UX       # OS'es the product supports (uname -s).
+      os_release   ?.11.00     # OS releases the product supports (uname -r).
+      os_version   *           # OS versions the product supports (uname -v).
+      revision   A.1.2.9
+      architecture HP-UX_B.11.00_32/64
+      ancestor OPENAFS.OPENAFS-SRV,fa=HP-UX_B.11.00_32/64,fr=<A.1.2.9
+
+      description < data/openafs-srv.description
+
+      is_kernel false
+      is_reboot false
+
+      # Dependency definition(s):
+      #
+
+      # Require that the Runtime product be in place before installing 
+      # Server product. 
+
+      prerequisite OPENAFS.OPENAFS-RUN
+      prerequisite OPENAFS.OPENAFS-KRN32 | OPENAFS.OPENAFS-KRN64
+      # corequisite
+
+
+      configure    scripts/openafs-srv.configure
+      unconfigure  scripts/openafs-srv.unconfigure
+      preremove  scripts/openafs-srv.preremove
+
+      #verify       scripts/openafs-srv.verify
+      #checkremove  scripts/openafs-srv.checkremove
+      #preremove    scripts/openafs-srv.preremove
+      #postremove   scripts/openafs-srv.postremove
+      #control_file scripts/openafs-srv.subscript
+
+      # File definition(s):
+      #
+
+      file_permissions -u 222 -o bin -g bin
+      directory    /sbin/fs/afs
+
+      file_permissions -u 222 -o bin -g bin
+      directory    ../../../hp_ux110/dest/root.server/etc = /sbin/fs/afs
+       file    bcheckrc
+       file    mount
+       file    umount
+       file    vfsck   fsck
+
+      file_permissions -m 755 -o root -g sys
+      directory    ../../../hp_ux110/dest/root.server/usr/afs/bin = /usr/afs/bin
+      file_permissions -u 222 -o root -g sys
+        file   bosserver
+        file   buserver
+        file   fileserver
+        file   kaserver
+        file   kpwvalid
+        file   pt_util
+        file   ptserver
+        file   salvager
+        file   upclient
+        file   upserver
+        file   vlserver
+        file   volinfo
+        file   volserver
+
+      file_permissions -m 755 -o root -g sys
+      directory    ../../../hp_ux110/dest/etc = /usr/afs/bin
+      file_permissions -u 222 -o root -g sys
+        file    kadb_check
+        file    kdb
+        file    kdump
+        file    kdump32
+        file    kdump64
+        file    kseal
+        file    rmtsysd
+        file    vsys
+       file    prdb_check
+       file    vldb_check
+       file    vldb_convert
+
+    end # fileset
+
+    fileset
+      tag     OPENAFS-CLNT
+      title   "OpenAFS Client"
+      revision   A.1.2.9
+      machine_type *:32*       # Machines the product supports (uname -m).
+      os_name      HP-UX       # OS'es the product supports (uname -s).
+      os_release   ?.11.00     # OS releases the product supports (uname -r).
+      os_version   *           # OS versions the product supports (uname -v).
+      architecture HP-UX_B.11.00_32/64
+      ancestor OPENAFS.OPENAFS-CLNT,fa=HP-UX_B.11.00_32/64,fr=<A.1.2.9
+
+      description < data/openafs-clnt.description
+
+      is_kernel false
+      is_reboot false
+
+      # Dependency definition(s):
+      #
+      # If the client is installed, you must install the kernel driver
+      #
+      # This prereq means that either kernel fileset must be installed
+      # the KRN32 for 32 bitOS or KRN64 for 64BIT OS
+
+      prerequisite OPENAFS.OPENAFS-RUN
+      prerequisite OPENAFS.OPENAFS-KRN32 | OPENAFS.OPENAFS-KRN64
+      # corequisite
+
+      checkinstall     scripts/openafs-clnt.checkinstall
+      preinstall       scripts/openafs-clnt.preinstall
+      configure                scripts/openafs-clnt.configure
+      unconfigure      scripts/openafs-clnt.unconfigure
+      preremove                scripts/openafs-clnt.preremove
+
+      # Have SD create the /usr/vice/cache directories
+      #
+      file_permissions -u 222 -o root -g sys
+      directory    /usr/vice/cache
+
+      file_permissions -u 222 -o bin -g bin
+      directory    /usr/newconfig/vice
+      directory    /usr/newconfig/vice/etc
+
+      file_permissions -u 222 -o root -g sys
+      directory    files/afs = /afs
+
+      file_permissions -u 222 -o bin -g bin
+      directory    files/usr/vice/etc = /usr/newconfig/usr/vice/etc
+       file    CellServDB
+       file    SuidCells
+       file    cacheinfo
+
+      file_permissions -u 222 -o root -g sys
+      directory    ../../../hp_ux110/dest/root.client/usr/vice/etc = /usr/vice/etc
+       file    afsd
+
+      directory    ../../../hp_ux110/dest/lib = /usr/lib/security
+      file_permissions -u 222 -o bin -g bin
+        file   pam_afs.so.1
+        file   pam_afs.krb.so.1
+
+       # Startup links will be configured in the configure script
+
+      # File definition(s):
+      #
+      # To define the files contained in a fileset, you can:
+      #
+      #         1) specify default permissions,
+      #         2) specify files explicitly,
+      #         3) specify files implicitly,
+      #         4) map source pathnames to target pathnames.
+
+        file_permissions -u 222 -o bin -g bin
+        directory    ../../../hp_ux110/dest/bin = /usr/afs/bin
+        file  up
+        file  cmdebug
+
+    end # fileset
+
+    #
+    # Put the afs kernel driver filesets into a subproduct
+    # in order that the prerequisite for the client filelset
+    # will automatically select the correct kernel fileset
+    # based on os-bitness
+    subproduct
+      tag      Kernel
+      title    "OpenAFS Kernel Drivers"
+      contents OPENAFS-KRN32 OPENAFS-KRN64
+    end
+      fileset
+        tag     OPENAFS-KRN32
+        title   "OpenAFS 32bit Kernel Drivers"
+        revision   A.1.2.9
+        machine_type *:32*     # Machines the product supports (uname -m).
+        os_name      HP-UX     # OS'es the product supports (uname -s).
+        os_release   ?.11.00   # OS releases the product supports (uname -r).
+        os_version   *         # OS versions the product supports (uname -v).
+        architecture HP-UX_B.11.00_32
+        ancestor OPENAFS.OPENAFS-KRN,fa=HP-UX_B.11.00_32,fr=<A.1.2.9
+
+        description < data/openafs-krn.description
+
+        is_kernel true
+        is_reboot true
+
+        # Dependency definition(s):
+        #
+
+        # prerequisite
+        # corequisite
+        exrequisite    OPENAFS.OPENAFS-KRN64
+
+        checkremove  scripts/openafs-krn.checkremove
+        configure  scripts/openafs-krn.configure
+        postinstall   scripts/openafs-krn.postinstall
+        unconfigure  scripts/openafs-krn.unconfigure
+        verify       scripts/openafs-krn.verify
+
+        # File definition(s):
+        #
+
+        file_permissions -u 222 -o bin -g bin
+        directory    ../../../hp_ux110/dest/root.client/bin = /usr/conf/lib
+          file libafs.nonfs.a  libafs.a
+
+        file_permissions -u 222 -o bin -g bin
+        directory    ../../../hp_ux110/dest/root.client/usr/vice/etc = /usr/conf/master.d
+          file   afs.driver    afs
+
+      end # fileset
+      fileset
+        tag     OPENAFS-KRN64
+        title   "OpenAFS 64 bit Kernel Drivers"
+        revision   A.1.2.9
+        os_name      HP-UX     # OS'es the product supports (uname -s).
+        os_release   ?.11.00   # OS releases the product supports (uname -r).
+        os_version   *         # OS versions the product supports (uname -v).
+        machine_type *:64*
+        architecture HP-UX_B.11.00_64
+        ancestor OPENAFS.OPENAFS-KRN,fa=HP-UX_B.11.00_64,fr=<A.1.2.9
+
+        description < data/openafs-krn.description
+
+        is_kernel true
+        is_reboot true
+
+        # Dependency definition(s):
+        #
+
+        # prerequisite
+        # corequisite
+        exrequisite    OPENAFS.OPENAFS-KRN32
+
+
+        checkremove  scripts/openafs-krn.checkremove
+        configure  scripts/openafs-krn.configure
+        postinstall   scripts/openafs-krn.postinstall
+        unconfigure  scripts/openafs-krn.unconfigure
+        verify       scripts/openafs-krn.verify
+
+        # File definition(s):
+        #
+
+        file_permissions -u 222 -o bin -g bin
+        directory    ../../../hp_ux110/dest/root.client/bin = /usr/conf/lib
+          file   libafs64.nonfs.a   libafs.a
+
+      end # fileset
+    # End of Kernel subproduct
+    # 
+    # We can call this whatever you like, the name falls in line
+    # with other SD packaged media
+    #
+    fileset
+      tag     OPENAFS-DEV
+      title   "OpenAFS Developers Kit"
+      revision   A.1.2.9
+      architecture HP-UX_B.11.00_64
+      ancestor OPENAFS.OPENAFS-DEV,fa=HP-UX_B.11.00_32/64,fr=<A.1.2.9
+      machine_type *:32*
+
+      description < data/openafs-krn.description
+
+      is_kernel false
+      is_reboot false
+
+      # Dependency definition(s):
+      #
+
+      # prerequisite
+      # corequisite
+
+
+      #unconfigure  scripts/openafs-dev.unconfigure
+      #verify       scripts/openafs-dev.verify
+      #checkremove  scripts/openafs-dev.checkremove
+      #preremove    scripts/openafs-dev.preremove
+      #postremove   scripts/openafs-dev.postremove
+      #ucontrol_file scripts/openafs-dev.subscript
+
+      # File definition(s):
+      #
+
+#      file_permissions -u 222 -o bin -g bin
+#      directory    ../../../hp_ux110/dest/include = /usr/afs/include
+#        file   *
+
+      file_permissions -u 222 -o bin -g bin
+      directory    ../../../hp_ux110/dest/root.perf/include/afs = /usr/afs/include/afs
+#        file   afs_stats.h    # Included above
+#        file   afs_sysnames.h # Included above
+        file   afs_usrops.h
+#        file   param.h                # Different param.h than above
+#        file   stds.h
+        file   sysincludes.h
+
+      end # fileset
+
+    # The ManualsByLang subproduct contains manual pages by language
+
+    subproduct
+      tag       ManualsByLang
+      title     "Manuals by Language"
+      contents  OPENAFS-ENG-MAN
+    end # Manuals subproduct
+      fileset
+        tag     OPENAFS-ENG-MAN
+        title   "OpenAFS English Manual Pages"
+        revision   A.1.2.9
+        architecture HP-UX_B.11.00_32/64
+        ancestor OPENAFS.OPENAFS-ENG-MAN,fa=HP-UX_B.11.00_32/64,fr=<A.1.2.9
+
+        # description < data/openafs-run.description
+
+        is_kernel false
+        is_reboot false
+
+        # Dependency definition(s):
+        #
+
+        # prerequisite
+        # corequisite
+
+
+        configure  scripts/openafs-eng-man.configure
+        unconfigure  scripts/openafs-eng-man.unconfigure
+        #verify       scripts/openafs-eng-man.verify
+        #checkremove  scripts/openafs-eng-man.checkremove
+        #preremove    scripts/openafs-eng-man.preremove
+        #postremove   scripts/openafs-eng-man.postremove
+        #control_file scripts/openafs-eng-man.subscript
+
+      # File definition(s):
+      #
+
+      file_permissions -u 222 -o bin -g bin
+      directory   /usr/afs/man
+      directory   /usr/afs/man/man1
+      directory    ../../../src/man = /usr/afs/man/man1
+        file   *
+
+      end # fileset
+  end # product
diff --git a/src/packaging/HP-UX/scripts/openafs-clnt.checkinstall b/src/packaging/HP-UX/scripts/openafs-clnt.checkinstall
new file mode 100644 (file)
index 0000000..123b9ff
--- /dev/null
@@ -0,0 +1,45 @@
+#!/bin/sh
+##############
+# Product: OPENAFS
+# Fileset: OPENAFS.OPENAFS-CLNT
+# checkinstall
+# @(#) $Revision$
+##############
+#
+#  (c) Copyright 2003
+#
+########
+
+# The global variables SUCCESS, FAILURE, WARNING, EXCLUDE, PATH, ROOT,
+# SW_CTL_SCRIPT_NAME, _pf, PRODUCT, and FILESET are all set by control_utils.
+
+set -a
+UTILS="/usr/lbin/sw/control_utils"
+if [[ ! -f ${UTILS} ]]
+then
+    echo "ERROR:   Cannot find ${UTILS}"
+    exit 1
+fi
+. ${UTILS}
+
+exitval=$SUCCESS                # Anticipate success
+
+############################################################################
+
+# 
+# Check for running afsd processes, exit with a WARNING if running..
+# and SUCCESS if not running.
+#
+
+ps -ef | grep -v grep | grep afsd 
+
+if [[ $? = 0 ]]; then
+  print "WARNING:  afsd processes are running..."
+  print "The preinstall script will attempt to shut down afsd processes"
+  exitval=$WARNING
+else
+  print "NOTE:  No afsd processes are running."
+  exitval=$SUCCESS
+fi
+
+exit $exitval
diff --git a/src/packaging/HP-UX/scripts/openafs-clnt.configure b/src/packaging/HP-UX/scripts/openafs-clnt.configure
new file mode 100644 (file)
index 0000000..dc8fe25
--- /dev/null
@@ -0,0 +1,47 @@
+#!/bin/sh
+##############
+# Product: OPENAFS
+# Fileset: OPENAFS.OPENAFS-CLNT
+# configure
+# @(#) $Revision$
+# @(#) $Revision$
+##############
+#
+#  (c) Copyright 2003
+#
+########
+
+# The global variables SUCCESS, FAILURE, WARNING, EXCLUDE, PATH, ROOT,
+# SW_CTL_SCRIPT_NAME, _pf, PRODUCT, and FILESET are all set by control_utils.
+
+set -a
+UTILS="/usr/lbin/sw/control_utils"
+if [[ ! -f ${UTILS} ]]
+then
+    echo "ERROR:   Cannot find ${UTILS}"
+    exit 1
+fi
+. ${UTILS}
+
+exitval=$SUCCESS                # Anticipate success
+
+############################################################################
+#
+# Add cacheinfo info only if it does not locally exist
+# 
+
+if [[ -d /usr/newconfig/usr/vice/etc && ! -f /usr/vice/etc/cacheinfo ]]; then
+
+  cp /usr/newconfig/usr/vice/etc/cacheinfo /usr/vice/etc
+  chmog 644 bin bin /usr/vice/etc/cacheinfo
+
+fi
+#
+# Add CellDB info only if it does not locally exist
+# 
+if [[ -f /usr/newconfig/usr/vice/etc/CellDB && ! -f /usr/afs/etc/CellDB ]]; then
+    print "Adding CellDB hosts into /usr/afs/etc/CellDB"
+    cat /usr/newconfig/usr/vice/etc/CellDB >> /usr/afs/etc/CellDB
+fi
+
+exit $exitval
diff --git a/src/packaging/HP-UX/scripts/openafs-clnt.preinstall b/src/packaging/HP-UX/scripts/openafs-clnt.preinstall
new file mode 100644 (file)
index 0000000..4b723b1
--- /dev/null
@@ -0,0 +1,49 @@
+#!/bin/sh
+##############
+# Product: OPENAFS
+# Fileset: OPENAFS.OPENAFS-CLNT
+# preinstall
+# @(#) $Revision$
+##############
+#
+#  (c) Copyright 2003
+#
+########
+
+# The global variables SUCCESS, FAILURE, WARNING, EXCLUDE, PATH, ROOT,
+# SW_CTL_SCRIPT_NAME, _pf, PRODUCT, and FILESET are all set by control_utils.
+
+set -a
+UTILS="/usr/lbin/sw/control_utils"
+if [[ ! -f ${UTILS} ]]
+then
+    echo "ERROR:   Cannot find ${UTILS}"
+    exit 1
+fi
+. ${UTILS}
+
+exitval=$SUCCESS                # Anticipate success
+
+############################################################################
+
+# 
+# Shutdown the afsd process before upgrading. This is just cleaner, than
+# having SD move the file to #afsd because it's busy and adding it to
+# the cleanup file for removal on the next boot.
+#
+
+ps -ef | grep -v grep | grep afsd 
+
+if [[ $? = 0 ]]; then
+  print "afsd process is running..attempting to shut down afsd process"
+  /usr/vice/etc/afsd -shutdown
+  if [[ $? = 0 ]]; then
+    print "Successfully shutdown the afsd processes."
+    exitval=$SUCCESS
+  else
+    print "Failed to successfully shutdown the afsd process."
+    exitval=$FAILURE
+  fi
+fi
+
+exit $exitval
diff --git a/src/packaging/HP-UX/scripts/openafs-clnt.preremove b/src/packaging/HP-UX/scripts/openafs-clnt.preremove
new file mode 100644 (file)
index 0000000..8001a36
--- /dev/null
@@ -0,0 +1,35 @@
+#!/bin/sh
+##############
+# Product: OPENAFS
+# Fileset: OPENAFS.OPENAFS-CLNT
+# preremove
+# @(#) $Revision$
+##############
+#
+#  (c) Copyright 2003
+#
+########
+
+# The global variables SUCCESS, FAILURE, WARNING, EXCLUDE, PATH, ROOT,
+# SW_CTL_SCRIPT_NAME, _pf, PRODUCT, and FILESET are all set by control_utils.
+
+set -a
+UTILS="/usr/lbin/sw/control_utils"
+if [[ ! -f ${UTILS} ]]
+then
+    echo "ERROR:   Cannot find ${UTILS}"
+    exit 1
+fi
+. ${UTILS}
+
+exitval=$SUCCESS                # Anticipate success
+
+############################################################################
+
+#
+# Shutdown the afsd process
+#
+
+/usr/vice/etc/afsd -shutdown
+
+exit $exitval
diff --git a/src/packaging/HP-UX/scripts/openafs-clnt.unconfigure b/src/packaging/HP-UX/scripts/openafs-clnt.unconfigure
new file mode 100644 (file)
index 0000000..9ce3fef
--- /dev/null
@@ -0,0 +1,31 @@
+#!/bin/sh
+##############
+# Product: OPENAFS
+# Fileset: OPENAFS.OPENAFS-CLNT
+# unconfigure
+# @(#) $Revision$
+##############
+#
+#  (c) Copyright 2003
+#
+########
+
+# The global variables SUCCESS, FAILURE, WARNING, EXCLUDE, PATH, ROOT,
+# SW_CTL_SCRIPT_NAME, _pf, PRODUCT, and FILESET are all set by control_utils.
+
+set -a
+UTILS="/usr/lbin/sw/control_utils"
+if [[ ! -f ${UTILS} ]]
+then
+    echo "ERROR:   Cannot find ${UTILS}"
+    exit 1
+fi
+. ${UTILS}
+
+exitval=$SUCCESS                # Anticipate success
+
+############################################################################
+
+
+
+exit $exitval
diff --git a/src/packaging/HP-UX/scripts/openafs-krn.checkremove b/src/packaging/HP-UX/scripts/openafs-krn.checkremove
new file mode 100644 (file)
index 0000000..e4a892a
--- /dev/null
@@ -0,0 +1,39 @@
+#!/bin/sh
+##############
+# Subproduct: OPENAFS.Kernel
+# Fileset: OPENAFS-KRN32 | OPENAFS-KRN64
+# checkremove
+# @(#) $Revision: 1.2
+##############
+#
+#  (c) Copyright Hewlett-Packard Company, 2003
+#
+########
+
+# The global variables SUCCESS, FAILURE, WARNING, EXCLUDE, PATH, ROOT,
+# SW_CTL_SCRIPT_NAME, _pf, PRODUCT, and FILESET are all set by control_utils.
+
+UTILS=/usr/lbin/sw/control_utils
+if [[ ! -f $UTILS ]]
+then
+    print "ERROR:   Cannot find the sh functions library $UTILS."
+    exit 1
+fi
+
+. $UTILS
+
+if [[ $SW_SESSION_IS_KERNEL = "TRUE" ]]; then
+
+    # Test here for afs filesystems before removing
+    # Write stdout to a file
+    # We really aren't testing, this script is provided as an example
+    if [ -s /tmp/afsfilesystem ] ; then
+        echo "ERROR:   AFS filesystems still exist on the system.  In order to"
+        echo "         remove the $FILESET fileset, you must remove the "
+        echo "         afs filesystems and re-execute the swremove command."
+        exit $FAILURE
+    fi
+    exit $SUCCESS
+fi
+
diff --git a/src/packaging/HP-UX/scripts/openafs-krn.configure b/src/packaging/HP-UX/scripts/openafs-krn.configure
new file mode 100644 (file)
index 0000000..8c294b2
--- /dev/null
@@ -0,0 +1,50 @@
+#!/bin/sh
+##############
+# Subproduct: OPENAFS.Kernel
+# Fileset: OPENAFS-KRN32 | OPENAFS-KRN64
+# configure
+# @(#) $Revision$
+##############
+#
+#  (c) Copyright 2003
+#
+########
+
+# The global variables SUCCESS, FAILURE, WARNING, EXCLUDE, PATH, ROOT,
+# SW_CTL_SCRIPT_NAME, _pf, PRODUCT, and FILESET are all set by control_utils.
+
+set -a
+UTILS="/usr/lbin/sw/control_utils"
+if [[ ! -f ${UTILS} ]]
+then
+    echo "ERROR:   Cannot find ${UTILS}"
+    exit 1
+fi
+. ${UTILS}
+
+exitval=$SUCCESS                # Anticipate success
+
+############################################################################
+
+#
+# Check for alternate root installation
+#
+if [[ -n "${SW_DEFERRED_KERNBLD}" ]]
+then
+
+  ##########################################
+  #                                        #
+  # Place afs driver into /stand/system    #
+  #                                        #
+  ##########################################
+
+  mod_systemfile $SW_SYSTEM_FILE_PATH -a afs
+  if [[ $? -ne 0 ]]
+  then
+    print "ERROR:   Cannot update $SW_SYSTEM_FILE_PATH to"
+    print "         include afs ($FILESET functionality)."
+   exitval=$FAILURE
+  fi
+fi
+
+exit $exitval
diff --git a/src/packaging/HP-UX/scripts/openafs-krn.postinstall b/src/packaging/HP-UX/scripts/openafs-krn.postinstall
new file mode 100644 (file)
index 0000000..301a186
--- /dev/null
@@ -0,0 +1,49 @@
+#!/bin/sh
+##############
+# Subproduct: OPENAFS.Kernel
+# Fileset: OPENAFS-KRN32 | OPENAFS-KRN64
+# postinstall
+# @(#) $Revision$
+##############
+#
+#  (c) Copyright 2003
+#
+########
+
+# The global variables SUCCESS, FAILURE, WARNING, EXCLUDE, PATH, ROOT,
+# SW_CTL_SCRIPT_NAME, _pf, PRODUCT, and FILESET are all set by control_utils.
+
+set -a
+UTILS="/usr/lbin/sw/control_utils"
+if [[ ! -f ${UTILS} ]]
+then
+    echo "ERROR:   Cannot find ${UTILS}"
+    exit 1
+fi
+. ${UTILS}
+
+exitval=$SUCCESS                # Anticipate success
+
+############################################################################
+
+# This check modifies only /stand on the root file system
+
+if [[ -z "${SW_DEFERRED_KERNBLD}" ]]
+then
+
+  ##########################################
+  #                                        #
+  # Place afs driver into /stand/system    #
+  #                                        #
+  ##########################################
+
+  mod_systemfile $SW_SYSTEM_FILE_PATH -a afs
+  if [[ $? -ne 0 ]]
+  then
+    print "ERROR:   Cannot update $SW_SYSTEM_FILE_PATH to"
+    print "         include afs ($FILESET functionality)."
+   exitval=$FAILURE
+  fi
+fi
+
+exit $exitval
diff --git a/src/packaging/HP-UX/scripts/openafs-krn.unconfigure b/src/packaging/HP-UX/scripts/openafs-krn.unconfigure
new file mode 100644 (file)
index 0000000..c29e749
--- /dev/null
@@ -0,0 +1,44 @@
+#!/bin/sh
+##############
+# Subproduct: OPENAFS.Kernel
+# Fileset: OPENAFS-KRN32 | OPENAFS-KRN64
+# configure
+# @(#) $Revision$
+##############
+#
+#  (c) Copyright 2003
+#
+########
+
+# The global variables SUCCESS, FAILURE, WARNING, EXCLUDE, PATH, ROOT,
+# SW_CTL_SCRIPT_NAME, _pf, PRODUCT, and FILESET are all set by control_utils.
+
+set -a
+UTILS="/usr/lbin/sw/control_utils"
+if [[ ! -f ${UTILS} ]]
+then
+    echo "ERROR:   Cannot find ${UTILS}"
+    exit 1
+fi
+. ${UTILS}
+
+exitval=$SUCCESS                # Anticipate success
+
+############################################################################
+
+
+  ##########################################
+  #                                        #
+  # Delete driver from /stand/system       #
+  #                                        #
+  ##########################################
+
+  mod_systemfile $SW_SYSTEM_FILE_PATH -d afs
+  if [[ $? -ne 0 ]]
+  then
+    print "ERROR:   Cannot update $SW_SYSTEM_FILE_PATH to"
+    print "         remove afs ($FILESET functionality)."
+   exitval=$FAILURE
+  fi
+
+exit $exitval
diff --git a/src/packaging/HP-UX/scripts/openafs-krn.verify b/src/packaging/HP-UX/scripts/openafs-krn.verify
new file mode 100644 (file)
index 0000000..0769616
--- /dev/null
@@ -0,0 +1,53 @@
+#!/bin/sh
+##############
+# Subproduct: OPENAFS.Kernel
+# Fileset: OPENAFS-KRN32 | OPENAFS-KRN64
+# verify
+# @(#) $Revision: 1.2
+##############
+#
+#  (c) Copyright Hewlett-Packard Company, 2003
+#
+########
+
+# The global variables SUCCESS, FAILURE, WARNING, EXCLUDE, PATH, ROOT,
+# SW_CTL_SCRIPT_NAME, _pf, PRODUCT, and FILESET are all set by control_utils.
+
+UTILS=/usr/lbin/sw/control_utils
+if [[ ! -f $UTILS ]]
+then
+  print "ERROR:   Cannot find the sh functions library $UTILS."
+  exit 1
+fi
+. $UTILS
+
+TEMP=/tmp/kern-verify.$$
+
+trap "/usr/bin/rm -f $TEMP" HUP INT QUIT TERM ABRT EXIT
+
+kernel="$(get_kernel_path)"
+
+/usr/lbin/sysadm/get_sysfile ${kernel} >| $TEMP
+if [[ ! -s "$TEMP" ]]
+then
+  print "ERROR:   The get_sysfile tool failed on ${kernel}."
+  exit $FAILURE
+fi
+
+for driver in afs
+do
+  /usr/bin/grep "^${driver}\$" $TEMP >/dev/null 2>&1
+  if [[ $? -ne 0 ]]
+  then
+    print "WARNING: The \"${driver}\" functionality is not configured in the"
+    print "         kernel (${kernel})."
+    print "          The $FILESET fileset is not properly installed."
+    exit $WARNING
+  fi
+done
+
+#
+# Finished
+#
+
+exit $exitval
diff --git a/src/packaging/HP-UX/scripts/openafs-srv.checkremove b/src/packaging/HP-UX/scripts/openafs-srv.checkremove
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/packaging/HP-UX/scripts/openafs-srv.configure b/src/packaging/HP-UX/scripts/openafs-srv.configure
new file mode 100644 (file)
index 0000000..d898a62
--- /dev/null
@@ -0,0 +1,48 @@
+#!/bin/sh
+##############
+# Product: OPENAFS
+# Fileset: OPENAFS.OPENAFS-SRV
+# configure
+# @(#) $Revision$
+# @(#) $Revision$
+##############
+#
+#  (c) Copyright 2003
+#
+########
+
+# The global variables SUCCESS, FAILURE, WARNING, EXCLUDE, PATH, ROOT,
+# SW_CTL_SCRIPT_NAME, _pf, PRODUCT, and FILESET are all set by control_utils.
+
+set -a
+UTILS="/usr/lbin/sw/control_utils"
+if [[ ! -f ${UTILS} ]]
+then
+    echo "ERROR:   Cannot find ${UTILS}"
+    exit 1
+fi
+. ${UTILS}
+
+exitval=$SUCCESS                # Anticipate success
+
+############################################################################
+
+
+
+if [[ -f /sbin/lib/mfsconfig.d/afs ]]; then
+  print "File /sbin/lib/mfsconfig.d/afs already exists"
+else
+  print "Creating file /sbin/lib/mfsconfig.d/afs"
+  print "format_revision 1" > /sbin/lib/mfsconfig.d/afs
+  print "fsck            0        m,P,p,d,f,b:c:y,n,Y,N,q," \
+       >> /sbin/lib/mfsconfig.d/afs
+  chmog 444 bin bin /sbin/lib/mfsconfig.d/afs
+fi
+#
+# Add /sbin/lib/mfsconfig.d/afs to the IPD so it will be removed
+# upon removal of the fileset
+
+print "Adding file /sbin/lib/mfsconfig.d/afs to the OPENAFS.OPENAFS-SRV fileset"
+swmodify -x files=/sbin/lib/mfsconfig.d/afs OPENAFS.OPENAFS-SRV
+
+exit $exitval
diff --git a/src/packaging/HP-UX/scripts/openafs-srv.postremove b/src/packaging/HP-UX/scripts/openafs-srv.postremove
new file mode 100644 (file)
index 0000000..5d7a44f
--- /dev/null
@@ -0,0 +1,48 @@
+#!/bin/sh
+##############
+# Product: OPENAFS
+# Fileset: OPENAFS.OPENAFS-SRV
+# postremove
+# @(#) $Revision$
+##############
+#
+#  (c) Copyright 2003
+#
+########
+
+# The global variables SUCCESS, FAILURE, WARNING, EXCLUDE, PATH, ROOT,
+# SW_CTL_SCRIPT_NAME, _pf, PRODUCT, and FILESET are all set by control_utils.
+
+set -a
+UTILS="/usr/lbin/sw/control_utils"
+if [[ ! -f ${UTILS} ]]
+then
+    echo "ERROR:   Cannot find ${UTILS}"
+    exit 1
+fi
+. ${UTILS}
+
+exitval=$SUCCESS                # Anticipate success
+
+############################################################################
+
+#
+# After the removal of the server, we remove all the files and 
+# directories associated
+# with the server (which was created with the bosserver)
+
+RMDIRS="/usr/afs/db \
+       /usr/afs/local \
+       /usr/afs/etc/ThisCell \
+       /usr/afs/etc/CellDB \
+       /usr/afs/logs"
+
+for dir in $RMDIRS
+do
+  if [[ -d $dir ]]; then
+    print "Removing directory $dir"
+    rm -fr $dir
+  fi
+done
+
+exit $exitval
diff --git a/src/packaging/HP-UX/scripts/openafs-srv.preinstall b/src/packaging/HP-UX/scripts/openafs-srv.preinstall
new file mode 100644 (file)
index 0000000..df0415b
--- /dev/null
@@ -0,0 +1,43 @@
+#!/bin/sh
+##############
+# Product: OPENAFS
+# Fileset: OPENAFS.OPENAFS-SRV
+# preinstall
+# @(#) $Revision$
+##############
+#
+#  (c) Copyright 2003
+#
+########
+
+# The global variables SUCCESS, FAILURE, WARNING, EXCLUDE, PATH, ROOT,
+# SW_CTL_SCRIPT_NAME, _pf, PRODUCT, and FILESET are all set by control_utils.
+
+set -a
+UTILS="/usr/lbin/sw/control_utils"
+if [[ ! -f ${UTILS} ]]
+then
+    echo "ERROR:   Cannot find ${UTILS}"
+    exit 1
+fi
+. ${UTILS}
+
+exitval=$SUCCESS                # Anticipate success
+
+############################################################################
+
+#
+# Assume this system is an AFS server
+# Shutdown before upgrading.
+#
+SERVER=`/usr/bin/hostname`
+
+if [[ -f /usr/afs/bin/bosserver ]]; then
+  /usr/afs/bin/bos shutdown $SERVER -localauth
+fi
+#
+# The bosserver is still running, kill it
+#
+kill_named_procs bosserver SIGTERM
+
+exit $exitval
diff --git a/src/packaging/HP-UX/scripts/openafs-srv.preremove b/src/packaging/HP-UX/scripts/openafs-srv.preremove
new file mode 100644 (file)
index 0000000..93cc795
--- /dev/null
@@ -0,0 +1,42 @@
+#!/bin/sh
+##############
+# Product: OPENAFS
+# Fileset: OPENAFS.OPENAFS-SRV
+# preremove
+# @(#) $Revision$
+##############
+#
+#  (c) Copyright 2003
+#
+########
+
+# The global variables SUCCESS, FAILURE, WARNING, EXCLUDE, PATH, ROOT,
+# SW_CTL_SCRIPT_NAME, _pf, PRODUCT, and FILESET are all set by control_utils.
+
+set -a
+UTILS="/usr/lbin/sw/control_utils"
+if [[ ! -f ${UTILS} ]]
+then
+    echo "ERROR:   Cannot find ${UTILS}"
+    exit 1
+fi
+. ${UTILS}
+
+exitval=$SUCCESS                # Anticipate success
+
+############################################################################
+
+#
+# Assume this system is an AFS server
+#
+SERVER=`/usr/bin/hostname`
+
+if [[ -f /usr/afs/bin/bosserver ]]; then
+  /usr/afs/bin/bos shutdown $SERVER -localauth
+fi
+#
+# The bosserver is still running, kill it
+#
+kill_named_procs bosserver SIGTERM
+
+exit $exitval
diff --git a/src/packaging/HP-UX/scripts/openafs-srv.subscript b/src/packaging/HP-UX/scripts/openafs-srv.subscript
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/packaging/HP-UX/scripts/openafs-srv.unconfigure b/src/packaging/HP-UX/scripts/openafs-srv.unconfigure
new file mode 100644 (file)
index 0000000..11725a3
--- /dev/null
@@ -0,0 +1,34 @@
+#!/bin/sh
+##############
+# Product: OPENAFS
+# Fileset: OPENAFS.OPENAFS-SRV
+# configure
+# @(#) $Revision$
+# @(#) $Revision$
+##############
+#
+#  (c) Copyright 2003
+#
+########
+
+# The global variables SUCCESS, FAILURE, WARNING, EXCLUDE, PATH, ROOT,
+# SW_CTL_SCRIPT_NAME, _pf, PRODUCT, and FILESET are all set by control_utils.
+
+set -a
+UTILS="/usr/lbin/sw/control_utils"
+if [[ ! -f ${UTILS} ]]
+then
+    echo "ERROR:   Cannot find ${UTILS}"
+    exit 1
+fi
+. ${UTILS}
+
+exitval=$SUCCESS                # Anticipate success
+
+############################################################################
+
+#
+# Removal of /sbin/lib/mfsconfig.d/afs is done automatically
+# since we add it to the IPD in the configure script.
+
+exit $exitval
diff --git a/src/packaging/HP-UX/scripts/openafs-srv.verify b/src/packaging/HP-UX/scripts/openafs-srv.verify
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/packaging/HP-UX/scripts/openafs.postremove b/src/packaging/HP-UX/scripts/openafs.postremove
new file mode 100644 (file)
index 0000000..e4b3b2b
--- /dev/null
@@ -0,0 +1,46 @@
+#!/bin/sh
+
+echo "NOTE:    Executing configure script."
+#######
+#
+#  (c) Copyright Hewlett-Packard Company 1994
+#
+########
+
+    set -a
+    UTILS="/usr/lbin/sw/control_utils"
+    if [[ ! -f ${UTILS} ]]
+    then
+        echo "ERROR:   Cannot find ${UTILS}"
+        exit 1
+    fi
+    . ${UTILS}
+
+############################################################################
+# Removing the OPENOAFS product means cleanup everything!
+
+# Kill ruthlessly..
+
+PROCS="bosserver fileserver volserver buserver ptserver kaserver vlserver \
+       upserver upclient"
+
+for proc in $PROCS
+do
+  kill_named_procs $proc SIGKILL
+done
+
+
+rm -fr /usr/vice
+if [[ $? != 0 ]]
+  print "         Could not remove the /usr/vice directory, adding it to the"
+  print "         cleanup file"
+  print "/usr/vice" >> /var/adm/cleanupfile
+fi
+rm -fr /usr/afs
+if [[ $? != 0 ]]
+  print "         Could not remove the /usr/afs directory, adding it to the"
+  print "         cleanup file"
+  print "/usr/afs" >> /var/adm/cleanupfile
+fi
+       
+
@@ -4,7 +4,7 @@ echo "NOTE:    Executing unconfigure script."
 #######
 #
 #  (c) Copyright Hewlett-Packard Company 1994
-#
+# @(#) OpenAFS unconfigure v1.2 4/22/03
 ########
 
     set -a
@@ -15,6 +15,10 @@ echo "NOTE:    Executing unconfigure script."
         exit 1
     fi
     . ${UTILS}
+#
+# Anticipate SUCCESS
+exitval=$SUCCESS
 ################################################
 # Set the global PATH to include OPENAFS software
 ROOT=/opt/afs/
@@ -46,4 +50,4 @@ do
   fi
 done
 
-exit 0
+exit $exitval