Note: This web site is only kept up to date for OSG Software 1.2 (VDT 2.0.0). If you are looking for information for the most recent release, the RPM-based OSG Software 3.0, please see the OSG documentation web site

Making Native Packages For Non-NMI Packages

Prerequisites on AFS

To Make Debian Packages

Installed by the VDT and kept in /p/condor/workspaces/vdt/debian-build-tools:

To Make RPMs

Maintained by the lab:

Inputs

All input metadata are per binary package.

Data Example

VDT-Common

package name: vdt-common
version number: 2.0.0p12
revision number: 1
AFS root: PACKAGE-DIR/vdt
install root: /opt/vdt
dependencies: vdt-core, vdt-system-profiler, vdt-openssl-environment, vdt-remove-rpaths
vdt-post-install: configure_vdt_common
short description: Common VDT infrastructure scripts and files
long description: Contains a set of scripts and other files that are used or referred to by many other VDT packages.
changelog: vdt-common (2.0.0p12-1) experimental; urgency=low * For information about this package, see the VDT website: <http://vdt.cs.wisc.edu/> -- VDT Team <vdt-support@opensciencegrid.org> Thu, 15 Oct 2009 14:43:08 -0500
configuration files [none]
license [standard VDT boilerplate]

YAML Example

--- #YAML:1.1
Name:        vdt-common
Revision:    1
InstallRoot: /opt/vdt
Summary:     Common VDT infrastructure scripts and files
Description: |
    Contains a set of scripts and other files that are used or referred to by many
    other VDT packages.
Depends:
    vdt:
      - vdt-core
      - vdt-system-profiler
      - vdt-openssl-environment
      - vdt-remove-rpaths
Config: []
License:
    short: VDT
    long: |
      VDT Boilerplate

Writing the YAML files

The required fields are:

Optional fields are: Copy and paste this template:
--- #YAML:1.1
# Comments begin with a #
# They must be on a separate line for YAML::Tiny
Name:           name
Revision:       0
InstallRoot:    /opt/vdt
Summary:        A one-line description of your package
Description:    |
    A long description of your program goes here.  Lines which are meant to be
    blank should be represented by a single '.', like so:
    .
    Pay attention to indentation, tabs may NOT be used.
License:
  short: Apache
  long: |
    This is the full text of the license. See the Description field for
    formatting instructions.
Depends:
# vdt is for vdt packages, common across all platforms
  vdt:
    - vdt-globus
    - curl
# you can give a specific NMI platform
  x86_64_rhap_5:
    - some-package
# or a regexp that matches NMI platforms on which these packages will be
# installed
#
# e.g. install on 32-bit machines only:
  x86_[^6]:
    - libnoton64bit
# install on x86_64 machines only:
  x86_64:
    - libnoton32bit
# install on rhap_5, both 32-bit and 64-bit
  rhap_5:
    - rhap5package
Config:
# a list of filenames relative to the InstallRoot
  - etc/config.ini
  - etc/user.conf