Rev 6058 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
######################################################################### Copyright (c) VIX TECHNOLOGY (AUST) LTD## Module name : PackageApp# Module type : Makefile system# Compiler(s) : n/a# Environment(s): jats## Description : Script to be processed by the Debian Packager# This script is not directly processed by JATS## This file is processed by the Debian Packager in order to construct# the package. It contains simple directives to construct the package##......................................................................#SetVerbose (0);## Specify the DEBIAN packaging files#PackageDescription ("Tools to automate the creation of LXR Views");DebianFiles ('--PostInst=postinstall.sh');## Insert the Application#CopyFile ('jats_lxr.sh', '/opt/lxr-scripts');CopyFile ('jats_lxr.pl', '/opt/lxr-scripts');CopyFile ('lxr_clean_dir.sh', '/opt/lxr-scripts');CopyFile ('jats_lxr.conf', '/opt/lxr-scripts', 'jats_lxr.conf.new');## File to provide group level access control# Needs to be configured and enabled once installed# File to allow Release Manager to test presense of LXR without fear of access control#CopyFile ('source.test', '/opt/lxr');CopyFile ('lxr-auth-ldap.conf', '/etc/apache2/sites-available');# Templates used by the applicationCopyFile ('lxr.template', '/opt/lxr-scripts');CopyFile ('lxr.tree.template', '/opt/lxr-scripts');CopyFile ('lxr.initdb.sh', '/opt/lxr-scripts');CopyFile ('lxr.dropdb.sh', '/opt/lxr-scripts');## Insert crontab jobs#CopyFile ('lxr.crontab', '/etc/cron.d', 'lxr-manager');## Make every thing executable# This is good for directories# This is good for all files in this package.#Message ("Mark files as executable");SetFilePerms ('a+rx', '/' , '--Recurse');## All done# The wrapper scripts will build and package the complete package