| 5209 |
dpurdie |
1 |
########################################################################
|
|
|
2 |
# Copyright (c) VIX TECHNOLOGY (AUST) LTD
|
|
|
3 |
#
|
|
|
4 |
# Module name : PackageApp
|
|
|
5 |
# Module type : Makefile system
|
|
|
6 |
# Compiler(s) : n/a
|
|
|
7 |
# Environment(s): jats
|
|
|
8 |
#
|
|
|
9 |
# Description : Script to be processed by the Debian Packager
|
|
|
10 |
# This script is not directly processed by JATS
|
|
|
11 |
#
|
|
|
12 |
# This file is processed by the Debian Packager in order to construct
|
|
|
13 |
# the package. It contains simple directives to construct the package
|
|
|
14 |
#
|
|
|
15 |
#......................................................................#
|
|
|
16 |
|
|
|
17 |
SetVerbose (0);
|
|
|
18 |
|
|
|
19 |
#
|
|
|
20 |
# Specify the DEBIAN packaging files
|
|
|
21 |
#
|
|
|
22 |
PackageDescription ("Tools to automate the creation of LXR Views");
|
|
|
23 |
DebianFiles ('--PostInst=postinstall.sh');
|
|
|
24 |
#
|
|
|
25 |
# Insert the Application
|
|
|
26 |
#
|
| 5211 |
dpurdie |
27 |
CopyFile ('jats_lxr.sh', '/opt/lxr-scripts');
|
|
|
28 |
CopyFile ('jats_lxr.pl', '/opt/lxr-scripts');
|
| 5252 |
dpurdie |
29 |
CopyFile ('lxr_clean_dir.sh', '/opt/lxr-scripts');
|
| 5211 |
dpurdie |
30 |
CopyFile ('jats_lxr.conf', '/opt/lxr-scripts', 'jats_lxr.conf.new');
|
| 5209 |
dpurdie |
31 |
|
| 6058 |
dpurdie |
32 |
#
|
|
|
33 |
# File to provide group level access control
|
| 6071 |
dpurdie |
34 |
# May needs to be configured
|
| 6058 |
dpurdie |
35 |
# File to allow Release Manager to test presense of LXR without fear of access control
|
|
|
36 |
#
|
| 6071 |
dpurdie |
37 |
CopyFile ('lxr.htaccess.conf', '/opt/lxr', '.htaccess');
|
| 6058 |
dpurdie |
38 |
CopyFile ('source.test', '/opt/lxr');
|
|
|
39 |
|
| 5209 |
dpurdie |
40 |
# Templates used by the application
|
|
|
41 |
|
| 5211 |
dpurdie |
42 |
CopyFile ('lxr.template', '/opt/lxr-scripts');
|
|
|
43 |
CopyFile ('lxr.tree.template', '/opt/lxr-scripts');
|
|
|
44 |
CopyFile ('lxr.initdb.sh', '/opt/lxr-scripts');
|
|
|
45 |
CopyFile ('lxr.dropdb.sh', '/opt/lxr-scripts');
|
| 5209 |
dpurdie |
46 |
|
|
|
47 |
#
|
|
|
48 |
# Insert crontab jobs
|
|
|
49 |
#
|
|
|
50 |
CopyFile ('lxr.crontab', '/etc/cron.d', 'lxr-manager');
|
|
|
51 |
|
|
|
52 |
#
|
|
|
53 |
# Make every thing executable
|
|
|
54 |
# This is good for directories
|
|
|
55 |
# This is good for all files in this package.
|
|
|
56 |
#
|
|
|
57 |
Message ("Mark files as executable");
|
|
|
58 |
SetFilePerms ('a+rx', '/' , '--Recurse');
|
|
|
59 |
|
|
|
60 |
#
|
|
|
61 |
# All done
|
|
|
62 |
# The wrapper scripts will build and package the complete package
|
|
|
63 |
|