DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Packaging your software applications

4. Define package compatibilities and dependencies

This package uses the optional packaging files to define package compatibilities and dependencies, and to present a copyright message during installation.

Techniques

This case study shows examples of the following techniques:

Approach

To meet the requirements in the description, you must:

  1. Create a copyright(4) file.

    A copyright file contains the ASCII text of a copyright message. The message shown in the sample file will be displayed on the screen during package installation (and also during package removal).

  2. Create a compver(4) file.

    The sample pkginfo file defines this package version as version 3.0. The sample compver file defines version 3.0 as being compatible with versions 2.3, 2.2, 2.1, 2.1.1, 2.1.3 and 1.7.

  3. Create a depend(4) file.

    Files listed in a depend file must already be installed on the system when a package is installed. The sample file has 11 packages which must already be on the system at installation time.

pkginfo file

   PKG='case4'
   NAME='Case Study 4'
   CATEGORY='application'
   ARCH='3b2'
   VERSION='Version 3.0'
   CLASSES='none'

copyright file

   Copyright (c) 1997 The Santa Cruz Operation, Inc.
   All Rights Reserved.
   

THIS PACKAGE CONTAINS UNPUBLISHED PROPRIETARY SOURCE CODE OF SCO.

The copyright notice above does not evidence any actual or intended publication of such source code.

compver file

   Version 2.3
   Version 2.2
   Version 2.1
   Version 2.1.1
   Version 2.1.3
   Version 1.7

depend file

   P acu    Advanced C Utilities
            Issue 4 Version 1
   P cc     C Programming Language
            Issue 4 Version 1
   P dfm    Directory and File Management Utilities
   P ed     Editing Utilities
   P esg    Extended Software Generation Utilities
            Issue 4 Version 1
   P graph  Graphics Utilities
   P rx     Remote Execution Utilities
   P sgs    Software Generation Utilities
            Issue 4 Version 1
   P shell  Shell Programming Utilities
   P sys    System Header Files
            Release 3.1

Next topic: 5a. Modify an existing file using the sed class
Previous topic: Removal class action script (r.cfgdata)

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004