Merge lp:~jontai/openvista-gtm-integration/bug645637 into lp:openvista-gtm-integration

Proposed by Jon Tai
Status: Merged
Merged at revision: 139
Proposed branch: lp:~jontai/openvista-gtm-integration/bug645637
Merge into: lp:openvista-gtm-integration
Diff against target: 2417 lines (+2121/-0)
57 files modified
packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/changelog (+29/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/compat (+1/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/control (+17/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/copyright (+21/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/dirs (+1/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/docs (+1/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/00list (+2/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/01-configurable-compiler.dpatch (+19/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/02-configure-fix.dpatch (+31/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/99-noninteractive-configure.patch (+78/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/postinst (+56/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/postrm (+44/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/rules (+190/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/changelog (+29/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/compat (+1/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/control (+17/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/copyright (+21/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/dirs (+1/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/docs (+1/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/00list (+1/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/01-configurable-compiler.dpatch (+19/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/99-noninteractive-configure.patch (+78/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/postinst (+56/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/postrm (+44/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/rules (+190/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/changelog (+11/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/compat (+1/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/control (+17/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/copyright (+21/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/dirs (+1/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/docs (+1/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/00list (+1/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/01-configurable-compiler.dpatch (+19/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/99-noninteractive-configure.patch (+78/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/postinst (+56/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/postrm (+44/-0)
packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/rules (+190/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/changelog (+81/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/changelogs (+1/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/compat (+1/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/control (+83/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/copyright (+50/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/docs (+3/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004.dirs (+1/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004.postinst (+49/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004a.dirs (+1/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004a.postinst (+49/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.4000.dirs (+1/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.4000.postinst (+49/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-munin-plugins.dirs (+3/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.dirs (+10/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.manpages (+15/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.openvista.pam (+4/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.postinst (+74/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.postrm (+55/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/rules (+189/-0)
packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/webdav.conf (+14/-0)
To merge this branch: bzr merge lp:~jontai/openvista-gtm-integration/bug645637
Reviewer Review Type Date Requested Status
Derek_ Approve
Review via email: mp+36506@code.launchpad.net

Description of the change

Pulling down the branch and doing a "diff -urw packages/deb/Ubuntu/10.04 packages/deb/Ubuntu/10.10" is probably going to be more useful than the automatically-generated diff.

To post a comment you must log in.
Revision history for this message
Derek_ (derek-name) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added directory 'packages/deb/Ubuntu/10.10'
=== added directory 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004'
=== added directory 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian'
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/changelog'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/changelog 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/changelog 2010-09-23 20:57:40 +0000
@@ -0,0 +1,29 @@
1fis-gtm-5.3004 (5.3004-0ubuntu2~msc1~maverick1) maverick; urgency=low
2
3 * Package for Ubuntu 10.10 (Maverick) (Closes: #645637)
4
5 -- Jonathan Tai <jon.tai@medsphere.com> Thu, 23 Sep 2010 10:41:13 -0700
6
7fis-gtm-5.3004 (5.3004-0ubuntu2~msc1~lucid1) lucid; urgency=low
8
9 * Update dependencies for Ubuntu 10.04 (Lucid).
10
11 -- Jonathan Tai <jon.tai@medsphere.com> Sat, 16 Jan 2010 09:57:15 -0700
12
13fis-gtm-5.3004 (5.3004-0ubuntu2~msc1~karmic1) karmic; urgency=low
14
15 * Update dependencies and standards version for Ubuntu 9.10 (Karmic).
16
17 -- Jonathan Tai <jon.tai@medsphere.com> Thu, 19 Nov 2009 13:14:31 -0800
18
19fis-gtm-5.3004 (5.3004-0ubuntu2~msc1~jaunty1) jaunty; urgency=low
20
21 * Change package versioning scheme to accommodate multiple Ubuntu releases.
22
23 -- Jonathan Tai <jon.tai@medsphere.com> Thu, 19 Nov 2009 12:57:16 -0800
24
25fis-gtm-5.3004 (5.3004-0ubuntu1) jaunty; urgency=low
26
27 * Initial Ubuntu package (Closes: #358242)
28
29 -- Jonathan Tai <jon.tai@medsphere.com> Fri, 24 Jul 2009 00:34:40 -0700
030
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/compat'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/compat 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/compat 2010-09-23 20:57:40 +0000
@@ -0,0 +1,1 @@
17
02
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/control'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/control 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/control 2010-09-23 20:57:40 +0000
@@ -0,0 +1,17 @@
1Source: fis-gtm-5.3004
2Section: misc
3Priority: optional
4Maintainer: Jonathan Tai <jon.tai@medsphere.com>
5Build-Depends: debhelper (>= 7), dpatch, tcsh, gcc-4.1, libicu-dev (>= 4.2), zlib1g-dev, libncurses5-dev, libgpgme11-dev, libgpg-error-dev, libgcrypt11-dev, libelf-dev, fis-gtm-5.3004
6Standards-Version: 3.8.3
7Homepage: http://www.fidelityinfoservices.com/FNFIS/Markets/NonFinancialIndustries/Healthcare/GTM/
8
9Package: fis-gtm-5.3004
10Architecture: i386 amd64
11Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, libicu42, zlib1g, libncurses5, libgpgme11, libgpg-error0, libgcrypt11
12Suggests: ksh
13Description: High end TP schemaless database
14 GT.M is a vetted, industrial strength, transaction processing application
15 platform consisting of a schema-less database engine optimized for extreme
16 transaction processing throughput & business continuity plus a compiler for the
17 MUMPS language.
018
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/copyright'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/copyright 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/copyright 2010-09-23 20:57:40 +0000
@@ -0,0 +1,21 @@
1This package was debianized by Jonathan Tai <jon.tai@medsphere.com> on
2Fri, 24 Jul 2009 00:34:40 -0700.
3
4It was downloaded from <http://www.fidelityinfoservices.com/FNFIS/Markets/NonFinancialIndustries/Healthcare/GTM/>
5
6Upstream Author:
7
8 Fidelity Information Services, Inc.
9
10Copyright:
11
12 Copyright (C) 2009 Fidelity Information Services, Inc.
13
14License:
15
16 GT.M for selected platforms, including GNU/Linux on the popular x86
17 architecture, can be downloaded under the terms of the Affero GNU General
18 Public License (AGPL) version 3.
19
20The Debian packaging is copyright 2009, Medsphere Systems Corporation and
21is licensed under the AGPL.
022
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/dirs'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/dirs 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/dirs 2010-09-23 20:57:40 +0000
@@ -0,0 +1,1 @@
1opt/lsb-gtm
02
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/docs'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/docs 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/docs 2010-09-23 20:57:40 +0000
@@ -0,0 +1,1 @@
1COPYING
02
=== added directory 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches'
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/00list'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/00list 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/00list 2010-09-23 20:57:40 +0000
@@ -0,0 +1,2 @@
101-configurable-compiler.dpatch
202-configure-fix.dpatch
03
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/01-configurable-compiler.dpatch'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/01-configurable-compiler.dpatch 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/01-configurable-compiler.dpatch 2010-09-23 20:57:40 +0000
@@ -0,0 +1,19 @@
1#! /bin/sh /usr/share/dpatch/dpatch-run
2## 01-configurable-compiler.dpatch by <jon.tai@medsphere.com>
3##
4## All lines beginning with `## DP:' are a description of the patch.
5## DP: No description.
6
7@DPATCH@
8diff -urNad fis-gtm-5.3004-5.3004~/sr_linux/gtm_env_sp.mk fis-gtm-5.3004-5.3004/sr_linux/gtm_env_sp.mk
9--- fis-gtm-5.3004-5.3004~/sr_linux/gtm_env_sp.mk 2009-06-08 05:08:10.000000000 -0400
10+++ fis-gtm-5.3004-5.3004/sr_linux/gtm_env_sp.mk 2009-07-28 22:22:03.000000000 -0400
11@@ -57,7 +57,7 @@
12 gt_as_src_suffix=.s
13
14 # C compiler options
15-gt_cc_compiler=gcc
16+gt_cc_compiler?=gcc
17
18 # Do not lookup the source directory before include directories specified by -I.
19 # gcc complains about -I- being obsolete, but using -iquote cause build errors for gcc and as - ABS 2008.12.09
020
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/02-configure-fix.dpatch'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/02-configure-fix.dpatch 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/02-configure-fix.dpatch 2010-09-23 20:57:40 +0000
@@ -0,0 +1,31 @@
1#! /bin/sh /usr/share/dpatch/dpatch-run
2## 02-configure-fix.dpatch by <jon.tai@medsphere.com>
3##
4## All lines beginning with `## DP:' are a description of the patch.
5## DP: No description.
6
7@DPATCH@
8diff -urNad fis-gtm-5.3004-5.3004~/sr_unix/configure.gtc fis-gtm-5.3004-5.3004/sr_unix/configure.gtc
9--- fis-gtm-5.3004-5.3004~/sr_unix/configure.gtc 2009-07-10 11:31:45.000000000 -0400
10+++ fis-gtm-5.3004-5.3004/sr_unix/configure.gtc 2009-07-28 22:27:19.000000000 -0400
11@@ -208,9 +208,9 @@
12 is64bit_gtm=`file mumps | grep "64-bit" | wc -l`
13 fi
14 if [ $is64bit_gtm -eq 1 ] ; then
15- library_path="/usr/local/lib64 /usr/local/lib /usr/lib /usr/lib32"
16+ library_path="/usr/local/lib64 /usr/local/lib /usr/lib64 /usr/lib /lib64 /lib"
17 else
18- library_path="/usr/local/lib /usr/lib /usr/lib32"
19+ library_path="/usr/local/lib32 /usr/local/lib /usr/lib32 /usr/lib /lib32 /lib"
20 fi
21 $echo "Should unicode support be installed? (y or n) \c"
22 read resp
23@@ -303,7 +303,7 @@
24 fi
25 done
26 if [ "$found_icu" -eq 0 ] ; then
27- if [ $majmin != "" ] ; then
28+ if [ "$majmin" != "" ] ; then
29 echo "WARNING: ICU version $gtm_icu_version not found. Not installing Unicode support."
30 else
31 echo "WARNING: Default ICU version not found. Not installing Unicode support."
032
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/99-noninteractive-configure.patch'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/99-noninteractive-configure.patch 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/99-noninteractive-configure.patch 2010-09-23 20:57:40 +0000
@@ -0,0 +1,78 @@
1--- configure 2009-07-16 15:26:02.000000000 -0700
2+++ configure 2009-07-16 15:28:00.000000000 -0700
3@@ -112,7 +112,7 @@
4 # create temporary file to test for valid user and group names
5 touch tmp_owngrp
6 $echo "What account should own the files? (bin) \c"
7-read resp
8+resp=""
9 if [ "$resp" = "" ] ; then
10 owner="bin"
11 else
12@@ -126,10 +126,10 @@
13 fi
14
15 $echo "Should execution of GT.M to be restricted to a group? (y or n) \c"
16-read resp
17+resp="y"
18 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
19 $echo "Enter group name? \c"
20- read group
21+ group="bin"
22 if [ "$group" != "" ] ; then
23 chgrp $group tmp_owngrp 2> /dev/null
24 if [ 1 = "$?" ] ; then
25@@ -145,7 +145,7 @@
26 rm tmp_owngrp
27
28 $echo "In what directory should GT.M be installed? \c"
29-read gtmdist
30+gtmdist="@GTM_DIST@"
31
32 # if gtmdist is relative then need to make it absolute
33
34@@ -171,7 +171,7 @@
35 $echo "Directory $gtmdist does not exist. Do you wish to create it as part of"
36 $echo "this installation? (y or n) \c"
37
38- read resp
39+ resp="y"
40 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
41 mkdir -p $gtmdist
42 chmod 0755 $gtmdist
43@@ -213,14 +213,14 @@
44 library_path="/usr/local/lib32 /usr/local/lib /usr/lib32 /usr/lib /lib32 /lib"
45 fi
46 $echo "Should unicode support be installed? (y or n) \c"
47- read resp
48+ resp="y"
49 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
50 would_like_utf8=1
51 $echo "Should an ICU version other than the default be used? (y or n) \c"
52- read resp
53+ resp="y"
54 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
55 $echo "Enter ICU version (at least ICU version 3.6 is required. Enter as <minor-ver>.<major-ver>): \c"
56- read gtm_icu_version
57+ gtm_icu_version="@GTM_ICU_VERSION@"
58 icu_ver=`$echo $gtm_icu_version | sed 's/\.//'`
59 majmin=`$echo $icu_ver | cut -f 1 -d "."`
60 if [ "$majmin" -lt "36" ] ; then
61@@ -567,7 +567,7 @@
62 $echo "only the uppercase versions of the files."
63 $echo ""
64 $echo "Do you want uppercase and lowercase versions of the MUMPS routines? (y or n)\c"
65-read resp
66+resp="n"
67 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
68 $echo ""
69 $echo "Creating lowercase versions of the MUMPS routines."
70@@ -768,7 +768,7 @@
71 $echo ""
72 $echo "Installation completed. Would you like all the temporary files"
73 $echo "removed from this directory? (y or n) \c"
74-read resp
75+resp="n"
76
77 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
78 \rm -rf $binaries $pathmods $rscripts $nscripts $dirs configure \
079
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/postinst'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/postinst 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/postinst 2010-09-23 20:57:40 +0000
@@ -0,0 +1,56 @@
1#!/bin/sh
2# postinst script for fis-gtm-5.3004
3#
4# see: dh_installdeb(1)
5
6set -e
7
8# summary of how this script can be called:
9# * <postinst> `configure' <most-recently-configured-version>
10# * <old-postinst> `abort-upgrade' <new version>
11# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
12# <new-version>
13# * <postinst> `abort-remove'
14# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
15# <failed-install-package> <version> `removing'
16# <conflicting-package> <version>
17# for details, see http://www.debian.org/doc/debian-policy/ or
18# the debian-policy package
19
20
21case "$1" in
22 configure)
23 if ! getent group gtm >/dev/null; then
24 addgroup --quiet gtm
25 fi
26
27 if [ `dpkg --print-architecture` = "amd64" ]; then
28 gtm_dist=/opt/lsb-gtm/V5.3-004_x86_64
29 else
30 gtm_dist=/opt/lsb-gtm/V5.3-004_i686
31 fi
32
33 suid_files=`find $gtm_dist -perm /4000`
34
35 chgrp -R gtm $gtm_dist
36 chgrp -R bin $gtm_dist/gtmsecshrdir
37
38 # the chgrp commands above may cause files to lose the setuid bit; re-add it here just in case
39 for file in $suid_files; do chmod u+s $file; done
40 ;;
41
42 abort-upgrade|abort-remove|abort-deconfigure)
43 ;;
44
45 *)
46 echo "postinst called with unknown argument \`$1'" >&2
47 exit 1
48 ;;
49esac
50
51# dh_installdeb will replace this with shell code automatically
52# generated by other debhelper scripts.
53
54#DEBHELPER#
55
56exit 0
057
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/postrm'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/postrm 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/postrm 2010-09-23 20:57:40 +0000
@@ -0,0 +1,44 @@
1#!/bin/sh
2# postrm script for fis-gtm-5.3004
3#
4# see: dh_installdeb(1)
5
6set -e
7
8# summary of how this script can be called:
9# * <postrm> `remove'
10# * <postrm> `purge'
11# * <old-postrm> `upgrade' <new-version>
12# * <new-postrm> `failed-upgrade' <old-version>
13# * <new-postrm> `abort-install'
14# * <new-postrm> `abort-install' <old-version>
15# * <new-postrm> `abort-upgrade' <old-version>
16# * <disappearer's-postrm> `disappear' <overwriter>
17# <overwriter-version>
18# for details, see http://www.debian.org/doc/debian-policy/ or
19# the debian-policy package
20
21
22case "$1" in
23 purge)
24 # if we were the last GT.M package on the system, remove the gtm group
25 if [ ! -d /opt/lsb-gtm ]; then
26 delgroup --quiet gtm || :
27 fi
28 ;;
29
30 remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
31 ;;
32
33 *)
34 echo "postrm called with unknown argument \`$1'" >&2
35 exit 1
36 ;;
37esac
38
39# dh_installdeb will replace this with shell code automatically
40# generated by other debhelper scripts.
41
42#DEBHELPER#
43
44exit 0
045
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/rules'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/rules 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/rules 2010-09-23 20:57:40 +0000
@@ -0,0 +1,190 @@
1#!/usr/bin/make -f
2# -*- makefile -*-
3# Sample debian/rules that uses debhelper.
4#
5# This file was originally written by Joey Hess and Craig Small.
6# As a special exception, when this file is copied by dh-make into a
7# dh-make output file, you may use that output file without restriction.
8# This special exception was added by Craig Small in version 0.37 of dh-make.
9#
10# Modified to make a template file for a multi-binary package with separated
11# build-arch and build-indep targets by Bill Allombert 2001
12
13# Uncomment this to turn on verbose mode.
14#export DH_VERBOSE=1
15
16# This has to be exported to make some magic below work.
17export DH_OPTIONS
18
19#enable dpatch
20include /usr/share/dpatch/dpatch.make
21
22DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
23DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
24
25ifeq ($(DEB_HOST_ARCH),amd64)
26GTM_DIST = /opt/lsb-gtm/V5.3-004_x86_64
27else
28GTM_DIST = /opt/lsb-gtm/V5.3-004_i686
29endif
30
31ifeq ($(DEB_HOST_ARCH_OS),linux)
32GTM_HOSTOS = Linux
33else
34GTM_HOSTOS = $(DEB_HOST_ARCH_OS)
35endif
36
37GT_CC_COMPILER = gcc-4.1
38
39GTM_ICU_VERSION_MAJMIN = $(shell icu-config --version | sed 's/\.//' | cut -f 1 -d '.')
40GTM_ICU_VERSION_MINORVER = $(shell expr $(GTM_ICU_VERSION_MAJMIN) % 10)
41GTM_ICU_VERSION_MAJORVER = $(shell expr $(GTM_ICU_VERSION_MAJMIN) / 10)
42GTM_ICU_VERSION = $(GTM_ICU_VERSION_MAJORVER).$(GTM_ICU_VERSION_MINORVER)
43
44PACKAGE=fis-gtm-5.3004
45
46
47
48configure:
49 dh_testdir
50
51 # GT.M needs to be built with tcsh, and with a bunch of environmental variables
52 # set. Since we can't run tcsh interactively, we put all the setenv commands
53 # and the build command itself into a temporary script, then execute it with
54 # tcsh.
55 echo 'setenv gtm_curpro $(GTM_DIST)' > build.csh
56 echo 'setenv gtm_exe $(GTM_DIST)' >> build.csh
57 echo 'setenv HOSTOS $(GTM_HOSTOS)' >> build.csh
58 echo 'setenv gtm_tools $(CURDIR)/sr_linux' >> build.csh
59 echo 'setenv gtm_inc $(CURDIR)/sr_linux' >> build.csh
60 if [ "$(DEB_HOST_ARCH)" = "amd64" ]; then \
61 echo 'setenv OBJECT_MODE 64' >> build.csh ; \
62 fi
63 echo 'setenv distro ubuntu' >> build.csh
64 echo 'setenv gtm_icu_version $(GTM_ICU_VERSION)' >> build.csh
65 echo 'setenv gtm_version_change 1' >> build.csh
66 cat sr_unix/gtm_env.csh >> build.csh
67
68 # GT.M 5.3004 requires gcc-4.1, Jaunty's default (gcc 4.3) doesn't work
69 echo 'setenv gt_cc_compiler $(GT_CC_COMPILER)' >> build.csh
70
71 # GT.M's makefiles get confused if this isn't reset back to 0
72 echo 'setenv MAKELEVEL 0' >> build.csh
73
74
75#Architecture
76build: patch-stamp build-arch build-indep
77
78build-arch: build-arch-stamp
79build-arch-stamp: configure
80 echo '$(MAKE) -f sr_unix/comlist.mk -I./sr_unix -I./sr_linux buildtypes=pro gtm_ver=$(CURDIR)' >> build.csh
81 tcsh -b build.csh
82
83 touch $@
84
85build-indep: build-indep-stamp
86build-indep-stamp: configure
87
88 # Add here commands to compile the indep part of the package.
89 #$(MAKE) doc
90 touch $@
91
92clean: unpatch configure
93 dh_testdir
94 dh_testroot
95 rm -f build-arch-stamp build-indep-stamp
96
97 echo '$(MAKE) -f sr_unix/comlist.mk -I./sr_unix -I./sr_linux buildtypes=pro gtm_ver=$(CURDIR) clean' >> build.csh
98 tcsh -b build.csh
99 rm -f build.csh
100
101 rm -rf gtm
102
103 dh_clean
104
105install: install-indep install-arch
106install-indep:
107 dh_testdir
108 dh_testroot
109 dh_prep -i
110 dh_installdirs -i
111
112 # Add here commands to install the indep part of the package into
113 # debian/<package>-doc.
114 #INSTALLDOC#
115
116 dh_install -i
117
118install-arch:
119 dh_testdir
120 dh_testroot
121 dh_prep -s
122 dh_installdirs -s
123
124 # Move the existing GT.M installation out of the way
125 rm -rf $(GTM_DIST).bak
126 mv $(GTM_DIST) $(GTM_DIST).bak
127
128 # We need to patch the configure script to pre-answer all of the prompts and
129 # set the installation directory
130 cd pro ; \
131 cat ../debian/patches/99-noninteractive-configure.patch | \
132 sed 's,@GTM_DIST@,$(GTM_DIST),' | \
133 sed 's,@GTM_ICU_VERSION@,$(GTM_ICU_VERSION),' | \
134 patch -p0 -b ; \
135 chmod +x configure ; \
136 ./configure
137
138 # Move the new GT.M installation to a temporary directory, but do not copy it into the package root yet
139 mv $(GTM_DIST) gtm
140
141 # Restore the existing GT.M installation
142 mv $(GTM_DIST).bak $(GTM_DIST)
143
144 dh_install -s
145# Must not depend on anything. This is to be called by
146# binary-arch/binary-indep
147# in another 'make' thread.
148binary-common:
149 dh_testdir
150 dh_testroot
151 dh_installchangelogs
152 dh_installdocs
153 dh_installexamples
154# dh_installmenu
155# dh_installdebconf
156# dh_installlogrotate
157# dh_installemacsen
158# dh_installpam
159# dh_installmime
160# dh_python
161# dh_installinit
162# dh_installcron
163# dh_installinfo
164 dh_installman
165 dh_link
166 dh_strip
167 dh_compress
168 dh_fixperms
169 # copy files into package root after dh_fixperms to ensure permissions
170 # are correct. files are owned by group bin for now; will change to
171 # group gtm in postinst
172 rm -rf debian/$(PACKAGE)$(GTM_DIST)
173 cp -a gtm debian/$(PACKAGE)$(GTM_DIST)
174# dh_perl
175 dh_makeshlibs
176 dh_installdeb
177 dh_shlibdeps
178 dh_gencontrol
179 dh_md5sums
180 dh_builddeb
181# Build architecture independant packages using the common target.
182binary-indep: build-indep install-indep
183 $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
184
185# Build architecture dependant packages using the common target.
186binary-arch: build-arch install-arch
187 $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
188
189binary: binary-arch binary-indep
190.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure
0191
=== added directory 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a'
=== added directory 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian'
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/changelog'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/changelog 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/changelog 2010-09-23 20:57:40 +0000
@@ -0,0 +1,29 @@
1fis-gtm-5.3004a (5.3004a-0ubuntu2~msc1~maverick1) maverick; urgency=low
2
3 * Package for Ubuntu 10.10 (Maverick) (Closes: #645637)
4
5 -- Jonathan Tai <jon.tai@medsphere.com> Thu, 23 Sep 2010 10:41:13 -0700
6
7fis-gtm-5.3004a (5.3004a-0ubuntu2~msc1~lucid1) lucid; urgency=low
8
9 * Update dependencies for Ubuntu 10.04 (Lucid).
10
11 -- Jonathan Tai <jon.tai@medsphere.com> Sat, 16 Jan 2010 09:57:15 -0700
12
13fis-gtm-5.3004a (5.3004a-0ubuntu2~msc1~karmic1) karmic; urgency=low
14
15 * Update dependencies and standards version for Ubuntu 9.10 (Karmic).
16
17 -- Jonathan Tai <jon.tai@medsphere.com> Thu, 19 Nov 2009 13:14:31 -0800
18
19fis-gtm-5.3004a (5.3004a-0ubuntu2~msc1~jaunty1) jaunty; urgency=low
20
21 * Change package versioning scheme to accommodate multiple Ubuntu releases.
22
23 -- Jonathan Tai <jon.tai@medsphere.com> Thu, 19 Nov 2009 12:57:16 -0800
24
25fis-gtm-5.3004a (5.3004a-0ubuntu1) jaunty; urgency=low
26
27 * Initial Ubuntu package (Closes: #358242)
28
29 -- Jonathan Tai <jon.tai@medsphere.com> Thu, 13 Aug 2009 16:50:02 -0700
030
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/compat'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/compat 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/compat 2010-09-23 20:57:40 +0000
@@ -0,0 +1,1 @@
17
02
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/control'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/control 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/control 2010-09-23 20:57:40 +0000
@@ -0,0 +1,17 @@
1Source: fis-gtm-5.3004a
2Section: misc
3Priority: optional
4Maintainer: Jonathan Tai <jon.tai@medsphere.com>
5Build-Depends: debhelper (>= 7), dpatch, tcsh, gcc-4.1, libicu-dev (>= 4.2), zlib1g-dev, libncurses5-dev, libgpgme11-dev, libgpg-error-dev, libgcrypt11-dev, libelf-dev, fis-gtm-5.3004a
6Standards-Version: 3.8.3
7Homepage: http://www.fidelityinfoservices.com/FNFIS/Markets/NonFinancialIndustries/Healthcare/GTM/
8
9Package: fis-gtm-5.3004a
10Architecture: i386 amd64
11Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, libicu42, zlib1g, libncurses5, libgpgme11, libgpg-error0, libgcrypt11
12Suggests: ksh
13Description: High end TP schemaless database
14 GT.M is a vetted, industrial strength, transaction processing application
15 platform consisting of a schema-less database engine optimized for extreme
16 transaction processing throughput & business continuity plus a compiler for the
17 MUMPS language.
018
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/copyright'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/copyright 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/copyright 2010-09-23 20:57:40 +0000
@@ -0,0 +1,21 @@
1This package was debianized by Jonathan Tai <jon.tai@medsphere.com> on
2Thu, 13 Aug 2009 16:50:02 -0700.
3
4It was downloaded from <http://www.fidelityinfoservices.com/FNFIS/Markets/NonFinancialIndustries/Healthcare/GTM/>
5
6Upstream Author:
7
8 Fidelity Information Services, Inc.
9
10Copyright:
11
12 Copyright (C) 2009 Fidelity Information Services, Inc.
13
14License:
15
16 GT.M for selected platforms, including GNU/Linux on the popular x86
17 architecture, can be downloaded under the terms of the Affero GNU General
18 Public License (AGPL) version 3.
19
20The Debian packaging is copyright 2009, Medsphere Systems Corporation and
21is licensed under the AGPL.
022
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/dirs'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/dirs 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/dirs 2010-09-23 20:57:40 +0000
@@ -0,0 +1,1 @@
1opt/lsb-gtm
02
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/docs'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/docs 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/docs 2010-09-23 20:57:40 +0000
@@ -0,0 +1,1 @@
1COPYING
02
=== added directory 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches'
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/00list'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/00list 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/00list 2010-09-23 20:57:40 +0000
@@ -0,0 +1,1 @@
101-configurable-compiler.dpatch
02
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/01-configurable-compiler.dpatch'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/01-configurable-compiler.dpatch 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/01-configurable-compiler.dpatch 2010-09-23 20:57:40 +0000
@@ -0,0 +1,19 @@
1#! /bin/sh /usr/share/dpatch/dpatch-run
2## 01-configurable-compiler.dpatch by <jon.tai@medsphere.com>
3##
4## All lines beginning with `## DP:' are a description of the patch.
5## DP: No description.
6
7@DPATCH@
8diff -urNad fis-gtm-5.3004-5.3004~/sr_linux/gtm_env_sp.mk fis-gtm-5.3004-5.3004/sr_linux/gtm_env_sp.mk
9--- fis-gtm-5.3004-5.3004~/sr_linux/gtm_env_sp.mk 2009-06-08 05:08:10.000000000 -0400
10+++ fis-gtm-5.3004-5.3004/sr_linux/gtm_env_sp.mk 2009-07-28 22:22:03.000000000 -0400
11@@ -57,7 +57,7 @@
12 gt_as_src_suffix=.s
13
14 # C compiler options
15-gt_cc_compiler=gcc
16+gt_cc_compiler?=gcc
17
18 # Do not lookup the source directory before include directories specified by -I.
19 # gcc complains about -I- being obsolete, but using -iquote cause build errors for gcc and as - ABS 2008.12.09
020
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/99-noninteractive-configure.patch'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/99-noninteractive-configure.patch 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/99-noninteractive-configure.patch 2010-09-23 20:57:40 +0000
@@ -0,0 +1,78 @@
1--- configure.orig 2009-08-13 15:54:09.000000000 -0700
2+++ configure 2009-08-13 15:59:38.000000000 -0700
3@@ -123,7 +123,7 @@
4 # create temporary file to test for valid user and group names
5 touch tmp_owngrp
6 $echo "What account should own the files? ($defowner) \c"
7-read resp
8+resp=""
9 if [ "$resp" = "" ] ; then
10 owner=$defowner
11 else
12@@ -137,10 +137,10 @@
13 fi
14
15 $echo "Should execution of GT.M be restricted to a group? (y or n) \c"
16-read resp
17+resp="y"
18 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
19 $echo "Enter group name: \c"
20- read group
21+ group="bin"
22 if [ "$group" != "" ] ; then
23 chgrp $group tmp_owngrp 2> /dev/null
24 if [ 1 = "$?" ] ; then
25@@ -156,7 +156,7 @@
26 rm tmp_owngrp
27
28 $echo "In what directory should GT.M be installed? \c"
29-read gtmdist
30+gtmdist="@GTM_DIST@"
31
32 # if gtmdist is relative then need to make it absolute
33
34@@ -182,7 +182,7 @@
35 $echo "Directory $gtmdist does not exist. Do you wish to create it as part of"
36 $echo "this installation? (y or n) \c"
37
38- read resp
39+ resp="y"
40 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
41 mkdir -p $gtmdist
42 chmod 0755 $gtmdist
43@@ -226,14 +226,14 @@
44 library_path="/usr/local/lib32 /usr/local/lib /usr/lib32 /usr/lib /lib32 /lib"
45 fi
46 $echo "Should unicode support be installed? (y or n) \c"
47- read resp
48+ resp="y"
49 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
50 would_like_utf8=1
51 $echo "Should an ICU version other than the default be used? (y or n) \c"
52- read resp
53+ resp="y"
54 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
55 $echo "Enter ICU version (at least ICU version 3.6 is required. Enter as <minor-ver>.<major-ver>): \c"
56- read gtm_icu_version
57+ gtm_icu_version="@GTM_ICU_VERSION@"
58 icu_ver=`$echo $gtm_icu_version | sed 's/\.//'`
59 majmin=`$echo $icu_ver | cut -f 1 -d "."`
60 if [ "$majmin" -lt "36" ] ; then
61@@ -600,7 +600,7 @@
62 $echo "only the uppercase versions of the files."
63 $echo ""
64 $echo "Do you want uppercase and lowercase versions of the MUMPS routines? (y or n)\c"
65-read resp
66+resp="n"
67 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
68 $echo ""
69 $echo "Creating lowercase versions of the MUMPS routines."
70@@ -817,7 +817,7 @@
71 $echo ""
72 $echo "Installation completed. Would you like all the temporary files"
73 $echo "removed from this directory? (y or n) \c"
74-read resp
75+resp="n"
76
77 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
78 \rm -rf $binaries $pathmods $rscripts $nscripts $dirs configure \
079
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/postinst'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/postinst 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/postinst 2010-09-23 20:57:40 +0000
@@ -0,0 +1,56 @@
1#!/bin/sh
2# postinst script for fis-gtm-5.3004a
3#
4# see: dh_installdeb(1)
5
6set -e
7
8# summary of how this script can be called:
9# * <postinst> `configure' <most-recently-configured-version>
10# * <old-postinst> `abort-upgrade' <new version>
11# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
12# <new-version>
13# * <postinst> `abort-remove'
14# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
15# <failed-install-package> <version> `removing'
16# <conflicting-package> <version>
17# for details, see http://www.debian.org/doc/debian-policy/ or
18# the debian-policy package
19
20
21case "$1" in
22 configure)
23 if ! getent group gtm >/dev/null; then
24 addgroup --quiet gtm
25 fi
26
27 if [ `dpkg --print-architecture` = "amd64" ]; then
28 gtm_dist=/opt/lsb-gtm/V5.3-004A_x86_64
29 else
30 gtm_dist=/opt/lsb-gtm/V5.3-004A_i686
31 fi
32
33 suid_files=`find $gtm_dist -perm /4000`
34
35 chgrp -R gtm $gtm_dist
36 chgrp -R bin $gtm_dist/gtmsecshrdir
37
38 # the chgrp commands above may cause files to lose the setuid bit; re-add it here just in case
39 for file in $suid_files; do chmod u+s $file; done
40 ;;
41
42 abort-upgrade|abort-remove|abort-deconfigure)
43 ;;
44
45 *)
46 echo "postinst called with unknown argument \`$1'" >&2
47 exit 1
48 ;;
49esac
50
51# dh_installdeb will replace this with shell code automatically
52# generated by other debhelper scripts.
53
54#DEBHELPER#
55
56exit 0
057
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/postrm'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/postrm 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/postrm 2010-09-23 20:57:40 +0000
@@ -0,0 +1,44 @@
1#!/bin/sh
2# postrm script for fis-gtm-5.3004a
3#
4# see: dh_installdeb(1)
5
6set -e
7
8# summary of how this script can be called:
9# * <postrm> `remove'
10# * <postrm> `purge'
11# * <old-postrm> `upgrade' <new-version>
12# * <new-postrm> `failed-upgrade' <old-version>
13# * <new-postrm> `abort-install'
14# * <new-postrm> `abort-install' <old-version>
15# * <new-postrm> `abort-upgrade' <old-version>
16# * <disappearer's-postrm> `disappear' <overwriter>
17# <overwriter-version>
18# for details, see http://www.debian.org/doc/debian-policy/ or
19# the debian-policy package
20
21
22case "$1" in
23 purge)
24 # if we were the last GT.M package on the system, remove the gtm group
25 if [ ! -d /opt/lsb-gtm ]; then
26 delgroup --quiet gtm || :
27 fi
28 ;;
29
30 remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
31 ;;
32
33 *)
34 echo "postrm called with unknown argument \`$1'" >&2
35 exit 1
36 ;;
37esac
38
39# dh_installdeb will replace this with shell code automatically
40# generated by other debhelper scripts.
41
42#DEBHELPER#
43
44exit 0
045
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/rules'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/rules 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/rules 2010-09-23 20:57:40 +0000
@@ -0,0 +1,190 @@
1#!/usr/bin/make -f
2# -*- makefile -*-
3# Sample debian/rules that uses debhelper.
4#
5# This file was originally written by Joey Hess and Craig Small.
6# As a special exception, when this file is copied by dh-make into a
7# dh-make output file, you may use that output file without restriction.
8# This special exception was added by Craig Small in version 0.37 of dh-make.
9#
10# Modified to make a template file for a multi-binary package with separated
11# build-arch and build-indep targets by Bill Allombert 2001
12
13# Uncomment this to turn on verbose mode.
14#export DH_VERBOSE=1
15
16# This has to be exported to make some magic below work.
17export DH_OPTIONS
18
19#enable dpatch
20include /usr/share/dpatch/dpatch.make
21
22DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
23DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
24
25ifeq ($(DEB_HOST_ARCH),amd64)
26GTM_DIST = /opt/lsb-gtm/V5.3-004A_x86_64
27else
28GTM_DIST = /opt/lsb-gtm/V5.3-004A_i686
29endif
30
31ifeq ($(DEB_HOST_ARCH_OS),linux)
32GTM_HOSTOS = Linux
33else
34GTM_HOSTOS = $(DEB_HOST_ARCH_OS)
35endif
36
37GT_CC_COMPILER = gcc-4.1
38
39GTM_ICU_VERSION_MAJMIN = $(shell icu-config --version | sed 's/\.//' | cut -f 1 -d '.')
40GTM_ICU_VERSION_MINORVER = $(shell expr $(GTM_ICU_VERSION_MAJMIN) % 10)
41GTM_ICU_VERSION_MAJORVER = $(shell expr $(GTM_ICU_VERSION_MAJMIN) / 10)
42GTM_ICU_VERSION = $(GTM_ICU_VERSION_MAJORVER).$(GTM_ICU_VERSION_MINORVER)
43
44PACKAGE=fis-gtm-5.3004a
45
46
47
48configure:
49 dh_testdir
50
51 # GT.M needs to be built with tcsh, and with a bunch of environmental variables
52 # set. Since we can't run tcsh interactively, we put all the setenv commands
53 # and the build command itself into a temporary script, then execute it with
54 # tcsh.
55 echo 'setenv gtm_curpro $(GTM_DIST)' > build.csh
56 echo 'setenv gtm_exe $(GTM_DIST)' >> build.csh
57 echo 'setenv HOSTOS $(GTM_HOSTOS)' >> build.csh
58 echo 'setenv gtm_tools $(CURDIR)/sr_linux' >> build.csh
59 echo 'setenv gtm_inc $(CURDIR)/sr_linux' >> build.csh
60 if [ "$(DEB_HOST_ARCH)" = "amd64" ]; then \
61 echo 'setenv OBJECT_MODE 64' >> build.csh ; \
62 fi
63 echo 'setenv distro ubuntu' >> build.csh
64 echo 'setenv gtm_icu_version $(GTM_ICU_VERSION)' >> build.csh
65 echo 'setenv gtm_version_change 1' >> build.csh
66 cat sr_unix/gtm_env.csh >> build.csh
67
68 # GT.M 5.3004 requires gcc-4.1, Jaunty's default (gcc 4.3) doesn't work
69 echo 'setenv gt_cc_compiler $(GT_CC_COMPILER)' >> build.csh
70
71 # GT.M's makefiles get confused if this isn't reset back to 0
72 echo 'setenv MAKELEVEL 0' >> build.csh
73
74
75#Architecture
76build: patch-stamp build-arch build-indep
77
78build-arch: build-arch-stamp
79build-arch-stamp: configure
80 echo '$(MAKE) -f sr_unix/comlist.mk -I./sr_unix -I./sr_linux buildtypes=pro gtm_ver=$(CURDIR)' >> build.csh
81 tcsh -b build.csh
82
83 touch $@
84
85build-indep: build-indep-stamp
86build-indep-stamp: configure
87
88 # Add here commands to compile the indep part of the package.
89 #$(MAKE) doc
90 touch $@
91
92clean: unpatch configure
93 dh_testdir
94 dh_testroot
95 rm -f build-arch-stamp build-indep-stamp
96
97 echo '$(MAKE) -f sr_unix/comlist.mk -I./sr_unix -I./sr_linux buildtypes=pro gtm_ver=$(CURDIR) clean' >> build.csh
98 tcsh -b build.csh
99 rm -f build.csh
100
101 rm -rf gtm
102
103 dh_clean
104
105install: install-indep install-arch
106install-indep:
107 dh_testdir
108 dh_testroot
109 dh_prep -i
110 dh_installdirs -i
111
112 # Add here commands to install the indep part of the package into
113 # debian/<package>-doc.
114 #INSTALLDOC#
115
116 dh_install -i
117
118install-arch:
119 dh_testdir
120 dh_testroot
121 dh_prep -s
122 dh_installdirs -s
123
124 # Move the existing GT.M installation out of the way
125 rm -rf $(GTM_DIST).bak
126 mv $(GTM_DIST) $(GTM_DIST).bak
127
128 # We need to patch the configure script to pre-answer all of the prompts and
129 # set the installation directory
130 cd pro ; \
131 cat ../debian/patches/99-noninteractive-configure.patch | \
132 sed 's,@GTM_DIST@,$(GTM_DIST),' | \
133 sed 's,@GTM_ICU_VERSION@,$(GTM_ICU_VERSION),' | \
134 patch -p0 -b ; \
135 chmod +x configure ; \
136 ./configure
137
138 # Move the new GT.M installation to a temporary directory, but do not copy it into the package root yet
139 mv $(GTM_DIST) gtm
140
141 # Restore the existing GT.M installation
142 mv $(GTM_DIST).bak $(GTM_DIST)
143
144 dh_install -s
145# Must not depend on anything. This is to be called by
146# binary-arch/binary-indep
147# in another 'make' thread.
148binary-common:
149 dh_testdir
150 dh_testroot
151 dh_installchangelogs
152 dh_installdocs
153 dh_installexamples
154# dh_installmenu
155# dh_installdebconf
156# dh_installlogrotate
157# dh_installemacsen
158# dh_installpam
159# dh_installmime
160# dh_python
161# dh_installinit
162# dh_installcron
163# dh_installinfo
164 dh_installman
165 dh_link
166 dh_strip
167 dh_compress
168 dh_fixperms
169 # copy files into package root after dh_fixperms to ensure permissions
170 # are correct. files are owned by group bin for now; will change to
171 # group gtm in postinst
172 rm -rf debian/$(PACKAGE)$(GTM_DIST)
173 cp -a gtm debian/$(PACKAGE)$(GTM_DIST)
174# dh_perl
175 dh_makeshlibs
176 dh_installdeb
177 dh_shlibdeps
178 dh_gencontrol
179 dh_md5sums
180 dh_builddeb
181# Build architecture independant packages using the common target.
182binary-indep: build-indep install-indep
183 $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
184
185# Build architecture dependant packages using the common target.
186binary-arch: build-arch install-arch
187 $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
188
189binary: binary-arch binary-indep
190.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure
0191
=== added directory 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000'
=== added directory 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian'
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/changelog'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/changelog 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/changelog 2010-09-23 20:57:40 +0000
@@ -0,0 +1,11 @@
1fis-gtm-5.4000 (5.4000-0ubuntu2~msc1~maverick1) maverick; urgency=low
2
3 * Package for Ubuntu 10.10 (Maverick) (Closes: #645637)
4
5 -- Jonathan Tai <jon.tai@medsphere.com> Thu, 23 Sep 2010 10:41:13 -0700
6
7fis-gtm-5.4000 (5.4000-0ubuntu1~msc1~lucid1) lucid; urgency=low
8
9 * Initial Ubuntu package (Closes: #516156)
10
11 -- Jonathan Tai <jon.tai@medsphere.com> Fri, 5 Feb 2010 13:57:39 -0800
012
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/compat'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/compat 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/compat 2010-09-23 20:57:40 +0000
@@ -0,0 +1,1 @@
17
02
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/control'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/control 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/control 2010-09-23 20:57:40 +0000
@@ -0,0 +1,17 @@
1Source: fis-gtm-5.4000
2Section: misc
3Priority: optional
4Maintainer: Jonathan Tai <jon.tai@medsphere.com>
5Build-Depends: debhelper (>= 7), dpatch, tcsh, gcc-4.1, libicu-dev (>= 4.2), zlib1g-dev, libncurses5-dev, libgpgme11-dev, libgpg-error-dev, libgcrypt11-dev, libelf-dev, fis-gtm-5.4000
6Standards-Version: 3.8.3
7Homepage: http://www.fidelityinfoservices.com/FNFIS/Markets/NonFinancialIndustries/Healthcare/GTM/
8
9Package: fis-gtm-5.4000
10Architecture: i386 amd64
11Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, libicu42, zlib1g, libncurses5, libgpgme11, libgpg-error0, libgcrypt11
12Suggests: ksh
13Description: High end TP schemaless database
14 GT.M is a vetted, industrial strength, transaction processing application
15 platform consisting of a schema-less database engine optimized for extreme
16 transaction processing throughput & business continuity plus a compiler for the
17 MUMPS language.
018
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/copyright'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/copyright 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/copyright 2010-09-23 20:57:40 +0000
@@ -0,0 +1,21 @@
1This package was debianized by Jonathan Tai <jon.tai@medsphere.com> on
2Thu, 13 Aug 2009 16:50:02 -0700.
3
4It was downloaded from <http://www.fidelityinfoservices.com/FNFIS/Markets/NonFinancialIndustries/Healthcare/GTM/>
5
6Upstream Author:
7
8 Fidelity Information Services, Inc.
9
10Copyright:
11
12 Copyright (C) 2009 Fidelity Information Services, Inc.
13
14License:
15
16 GT.M for selected platforms, including GNU/Linux on the popular x86
17 architecture, can be downloaded under the terms of the Affero GNU General
18 Public License (AGPL) version 3.
19
20The Debian packaging is copyright 2009, Medsphere Systems Corporation and
21is licensed under the AGPL.
022
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/dirs'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/dirs 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/dirs 2010-09-23 20:57:40 +0000
@@ -0,0 +1,1 @@
1opt/lsb-gtm
02
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/docs'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/docs 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/docs 2010-09-23 20:57:40 +0000
@@ -0,0 +1,1 @@
1COPYING
02
=== added directory 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches'
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/00list'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/00list 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/00list 2010-09-23 20:57:40 +0000
@@ -0,0 +1,1 @@
101-configurable-compiler.dpatch
02
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/01-configurable-compiler.dpatch'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/01-configurable-compiler.dpatch 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/01-configurable-compiler.dpatch 2010-09-23 20:57:40 +0000
@@ -0,0 +1,19 @@
1#! /bin/sh /usr/share/dpatch/dpatch-run
2## 01-configurable-compiler.dpatch by <jon.tai@medsphere.com>
3##
4## All lines beginning with `## DP:' are a description of the patch.
5## DP: No description.
6
7@DPATCH@
8diff -urNad fis-gtm-5.3004-5.3004~/sr_linux/gtm_env_sp.mk fis-gtm-5.3004-5.3004/sr_linux/gtm_env_sp.mk
9--- fis-gtm-5.3004-5.3004~/sr_linux/gtm_env_sp.mk 2009-06-08 05:08:10.000000000 -0400
10+++ fis-gtm-5.3004-5.3004/sr_linux/gtm_env_sp.mk 2009-07-28 22:22:03.000000000 -0400
11@@ -57,7 +57,7 @@
12 gt_as_src_suffix=.s
13
14 # C compiler options
15-gt_cc_compiler=gcc
16+gt_cc_compiler?=gcc
17
18 # Do not lookup the source directory before include directories specified by -I.
19 # gcc complains about -I- being obsolete, but using -iquote cause build errors for gcc and as - ABS 2008.12.09
020
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/99-noninteractive-configure.patch'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/99-noninteractive-configure.patch 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/99-noninteractive-configure.patch 2010-09-23 20:57:40 +0000
@@ -0,0 +1,78 @@
1--- configure.orig 2010-02-04 16:16:22.915346134 -0800
2+++ configure 2010-02-04 16:19:53.537910871 -0800
3@@ -165,7 +165,7 @@
4 # create temporary file to test for valid user and group names
5 touch tmp_owngrp
6 $echo "What account should own the files? ($defowner) \c"
7-read resp
8+resp=""
9 if [ "$resp" = "" ] ; then
10 owner=$defowner
11 else
12@@ -183,10 +183,10 @@
13 # if so, $group will be set already
14 if [ -z "$group_restricted_asked" ] ; then
15 $echo "Should execution of GT.M be restricted to a group? (y or n) \c"
16- read resp
17+ resp="y"
18 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
19 $echo "Enter group name: \c"
20- read group
21+ group="bin"
22 if [ "$group" != "" ] ; then
23 chgrp $group tmp_owngrp 2> /dev/null
24 if [ 0 != "$?" ] ; then
25@@ -201,7 +201,7 @@
26 rm tmp_owngrp
27
28 $echo "In what directory should GT.M be installed? \c"
29-read gtmdist
30+gtmdist="@GTM_DIST@"
31
32 # if gtmdist is relative then need to make it absolute
33
34@@ -227,7 +227,7 @@
35 $echo "Directory $gtmdist does not exist. Do you wish to create it as part of"
36 $echo "this installation? (y or n) \c"
37
38- read resp
39+ resp="y"
40 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
41 mkdir -p $gtmdist
42 chmod 0755 $gtmdist
43@@ -271,14 +271,14 @@
44 library_path="/usr/local/lib32 /usr/local/lib /usr/lib32 /usr/lib /lib32 /lib"
45 fi
46 $echo "Should unicode support be installed? (y or n) \c"
47- read resp
48+ resp="y"
49 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
50 would_like_utf8=1
51 $echo "Should an ICU version other than the default be used? (y or n) \c"
52- read resp
53+ resp="y"
54 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
55 $echo "Enter ICU version (at least ICU version 3.6 is required. Enter as <major-ver>.<minor-ver>): \c"
56- read gtm_icu_version
57+ gtm_icu_version="@GTM_ICU_VERSION@"
58 icu_ver=`$echo $gtm_icu_version | sed 's/\.//'`
59 majmin=`$echo $icu_ver | cut -f 1 -d "."`
60 if [ "$majmin" -lt "36" ] ; then
61@@ -651,7 +651,7 @@
62 $echo "only the uppercase versions of the files."
63 $echo ""
64 $echo "Do you want uppercase and lowercase versions of the MUMPS routines? (y or n)\c"
65-read resp
66+resp="n"
67 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
68 $echo ""
69 $echo "Creating lowercase versions of the MUMPS routines."
70@@ -896,7 +896,7 @@
71 $echo ""
72 $echo "Installation completed. Would you like all the temporary files"
73 $echo "removed from this directory? (y or n) \c"
74-read resp
75+resp="n"
76
77 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
78 \rm -rf $binaries $pathmods $rscripts $nscripts $dirs configure \
079
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/postinst'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/postinst 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/postinst 2010-09-23 20:57:40 +0000
@@ -0,0 +1,56 @@
1#!/bin/sh
2# postinst script for fis-gtm-5.4000
3#
4# see: dh_installdeb(1)
5
6set -e
7
8# summary of how this script can be called:
9# * <postinst> `configure' <most-recently-configured-version>
10# * <old-postinst> `abort-upgrade' <new version>
11# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
12# <new-version>
13# * <postinst> `abort-remove'
14# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
15# <failed-install-package> <version> `removing'
16# <conflicting-package> <version>
17# for details, see http://www.debian.org/doc/debian-policy/ or
18# the debian-policy package
19
20
21case "$1" in
22 configure)
23 if ! getent group gtm >/dev/null; then
24 addgroup --quiet gtm
25 fi
26
27 if [ `dpkg --print-architecture` = "amd64" ]; then
28 gtm_dist=/opt/lsb-gtm/V5.4-000_x86_64
29 else
30 gtm_dist=/opt/lsb-gtm/V5.4-000_i686
31 fi
32
33 suid_files=`find $gtm_dist -perm /4000`
34
35 chgrp -R gtm $gtm_dist
36 chgrp -R bin $gtm_dist/gtmsecshrdir
37
38 # the chgrp commands above may cause files to lose the setuid bit; re-add it here just in case
39 for file in $suid_files; do chmod u+s $file; done
40 ;;
41
42 abort-upgrade|abort-remove|abort-deconfigure)
43 ;;
44
45 *)
46 echo "postinst called with unknown argument \`$1'" >&2
47 exit 1
48 ;;
49esac
50
51# dh_installdeb will replace this with shell code automatically
52# generated by other debhelper scripts.
53
54#DEBHELPER#
55
56exit 0
057
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/postrm'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/postrm 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/postrm 2010-09-23 20:57:40 +0000
@@ -0,0 +1,44 @@
1#!/bin/sh
2# postrm script for fis-gtm-5.4000
3#
4# see: dh_installdeb(1)
5
6set -e
7
8# summary of how this script can be called:
9# * <postrm> `remove'
10# * <postrm> `purge'
11# * <old-postrm> `upgrade' <new-version>
12# * <new-postrm> `failed-upgrade' <old-version>
13# * <new-postrm> `abort-install'
14# * <new-postrm> `abort-install' <old-version>
15# * <new-postrm> `abort-upgrade' <old-version>
16# * <disappearer's-postrm> `disappear' <overwriter>
17# <overwriter-version>
18# for details, see http://www.debian.org/doc/debian-policy/ or
19# the debian-policy package
20
21
22case "$1" in
23 purge)
24 # if we were the last GT.M package on the system, remove the gtm group
25 if [ ! -d /opt/lsb-gtm ]; then
26 delgroup --quiet gtm || :
27 fi
28 ;;
29
30 remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
31 ;;
32
33 *)
34 echo "postrm called with unknown argument \`$1'" >&2
35 exit 1
36 ;;
37esac
38
39# dh_installdeb will replace this with shell code automatically
40# generated by other debhelper scripts.
41
42#DEBHELPER#
43
44exit 0
045
=== added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/rules'
--- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/rules 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/rules 2010-09-23 20:57:40 +0000
@@ -0,0 +1,190 @@
1#!/usr/bin/make -f
2# -*- makefile -*-
3# Sample debian/rules that uses debhelper.
4#
5# This file was originally written by Joey Hess and Craig Small.
6# As a special exception, when this file is copied by dh-make into a
7# dh-make output file, you may use that output file without restriction.
8# This special exception was added by Craig Small in version 0.37 of dh-make.
9#
10# Modified to make a template file for a multi-binary package with separated
11# build-arch and build-indep targets by Bill Allombert 2001
12
13# Uncomment this to turn on verbose mode.
14#export DH_VERBOSE=1
15
16# This has to be exported to make some magic below work.
17export DH_OPTIONS
18
19#enable dpatch
20include /usr/share/dpatch/dpatch.make
21
22DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
23DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
24
25ifeq ($(DEB_HOST_ARCH),amd64)
26GTM_DIST = /opt/lsb-gtm/V5.4-000_x86_64
27else
28GTM_DIST = /opt/lsb-gtm/V5.4-000_i686
29endif
30
31ifeq ($(DEB_HOST_ARCH_OS),linux)
32GTM_HOSTOS = Linux
33else
34GTM_HOSTOS = $(DEB_HOST_ARCH_OS)
35endif
36
37GT_CC_COMPILER = gcc-4.1
38
39GTM_ICU_VERSION_MAJMIN = $(shell icu-config --version | sed 's/\.//' | cut -f 1 -d '.')
40GTM_ICU_VERSION_MINORVER = $(shell expr $(GTM_ICU_VERSION_MAJMIN) % 10)
41GTM_ICU_VERSION_MAJORVER = $(shell expr $(GTM_ICU_VERSION_MAJMIN) / 10)
42GTM_ICU_VERSION = $(GTM_ICU_VERSION_MAJORVER).$(GTM_ICU_VERSION_MINORVER)
43
44PACKAGE=fis-gtm-5.4000
45
46
47
48configure:
49 dh_testdir
50
51 # GT.M needs to be built with tcsh, and with a bunch of environmental variables
52 # set. Since we can't run tcsh interactively, we put all the setenv commands
53 # and the build command itself into a temporary script, then execute it with
54 # tcsh.
55 echo 'setenv gtm_curpro $(GTM_DIST)' > build.csh
56 echo 'setenv gtm_exe $(GTM_DIST)' >> build.csh
57 echo 'setenv HOSTOS $(GTM_HOSTOS)' >> build.csh
58 echo 'setenv gtm_tools $(CURDIR)/sr_linux' >> build.csh
59 echo 'setenv gtm_inc $(CURDIR)/sr_linux' >> build.csh
60 if [ "$(DEB_HOST_ARCH)" = "amd64" ]; then \
61 echo 'setenv OBJECT_MODE 64' >> build.csh ; \
62 fi
63 echo 'setenv distro ubuntu' >> build.csh
64 echo 'setenv gtm_icu_version $(GTM_ICU_VERSION)' >> build.csh
65 echo 'setenv gtm_version_change 1' >> build.csh
66 cat sr_unix/gtm_env.csh >> build.csh
67
68 # GT.M 5.3004 requires gcc-4.1, Jaunty's default (gcc 4.3) doesn't work
69 echo 'setenv gt_cc_compiler $(GT_CC_COMPILER)' >> build.csh
70
71 # GT.M's makefiles get confused if this isn't reset back to 0
72 echo 'setenv MAKELEVEL 0' >> build.csh
73
74
75#Architecture
76build: patch-stamp build-arch build-indep
77
78build-arch: build-arch-stamp
79build-arch-stamp: configure
80 echo '$(MAKE) -f sr_unix/comlist.mk -I./sr_unix -I./sr_linux buildtypes=pro gtm_ver=$(CURDIR)' >> build.csh
81 tcsh -b build.csh
82
83 touch $@
84
85build-indep: build-indep-stamp
86build-indep-stamp: configure
87
88 # Add here commands to compile the indep part of the package.
89 #$(MAKE) doc
90 touch $@
91
92clean: unpatch configure
93 dh_testdir
94 dh_testroot
95 rm -f build-arch-stamp build-indep-stamp
96
97 echo '$(MAKE) -f sr_unix/comlist.mk -I./sr_unix -I./sr_linux buildtypes=pro gtm_ver=$(CURDIR) clean' >> build.csh
98 tcsh -b build.csh
99 rm -f build.csh
100
101 rm -rf gtm
102
103 dh_clean
104
105install: install-indep install-arch
106install-indep:
107 dh_testdir
108 dh_testroot
109 dh_prep -i
110 dh_installdirs -i
111
112 # Add here commands to install the indep part of the package into
113 # debian/<package>-doc.
114 #INSTALLDOC#
115
116 dh_install -i
117
118install-arch:
119 dh_testdir
120 dh_testroot
121 dh_prep -s
122 dh_installdirs -s
123
124 # Move the existing GT.M installation out of the way
125 rm -rf $(GTM_DIST).bak
126 mv $(GTM_DIST) $(GTM_DIST).bak
127
128 # We need to patch the configure script to pre-answer all of the prompts and
129 # set the installation directory
130 cd pro ; \
131 cat ../debian/patches/99-noninteractive-configure.patch | \
132 sed 's,@GTM_DIST@,$(GTM_DIST),' | \
133 sed 's,@GTM_ICU_VERSION@,$(GTM_ICU_VERSION),' | \
134 patch -p0 -b ; \
135 chmod +x configure ; \
136 ./configure
137
138 # Move the new GT.M installation to a temporary directory, but do not copy it into the package root yet
139 mv $(GTM_DIST) gtm
140
141 # Restore the existing GT.M installation
142 mv $(GTM_DIST).bak $(GTM_DIST)
143
144 dh_install -s
145# Must not depend on anything. This is to be called by
146# binary-arch/binary-indep
147# in another 'make' thread.
148binary-common:
149 dh_testdir
150 dh_testroot
151 dh_installchangelogs
152 dh_installdocs
153 dh_installexamples
154# dh_installmenu
155# dh_installdebconf
156# dh_installlogrotate
157# dh_installemacsen
158# dh_installpam
159# dh_installmime
160# dh_python
161# dh_installinit
162# dh_installcron
163# dh_installinfo
164 dh_installman
165 dh_link
166 dh_strip
167 dh_compress
168 dh_fixperms
169 # copy files into package root after dh_fixperms to ensure permissions
170 # are correct. files are owned by group bin for now; will change to
171 # group gtm in postinst
172 rm -rf debian/$(PACKAGE)$(GTM_DIST)
173 cp -a gtm debian/$(PACKAGE)$(GTM_DIST)
174# dh_perl
175 dh_makeshlibs
176 dh_installdeb
177 dh_shlibdeps
178 dh_gencontrol
179 dh_md5sums
180 dh_builddeb
181# Build architecture independant packages using the common target.
182binary-indep: build-indep install-indep
183 $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
184
185# Build architecture dependant packages using the common target.
186binary-arch: build-arch install-arch
187 $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
188
189binary: binary-arch binary-indep
190.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure
0191
=== added directory 'packages/deb/Ubuntu/10.10/openvista-gtm-integration'
=== added directory 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian'
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/changelog'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/changelog 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/changelog 2010-09-23 20:57:40 +0000
@@ -0,0 +1,81 @@
1openvista-gtm-integration (0.8.9-0ubuntu1~msc1~maverick1) maverick; urgency=low
2
3 * Package for Ubuntu 10.10 (Maverick) (Closes: #645637)
4
5 -- Jonathan Tai <jon.tai@medsphere.com> Thu, 23 Sep 2010 10:41:13 -0700
6
7openvista-gtm-integration (0.8.9-0ubuntu1~msc1~lucid1) lucid; urgency=low
8
9 * 0.8.9 release
10
11 -- Jonathan Tai <jon.tai@medsphere.com> Thu, 27 May 2010 10:36:15 -0700
12
13openvista-gtm-integration (0.8.8-0ubuntu1~msc1~lucid1) lucid; urgency=low
14
15 * 0.8.8 release
16
17 -- Jonathan Tai <jon.tai@medsphere.com> Thu, 11 Feb 2010 10:30:37 -0800
18
19openvista-gtm-integration (0.8.7-0ubuntu1~msc3~lucid1) lucid; urgency=low
20
21 * Support GT.M 5.4-000 (Closes: #516156)
22
23 -- Jonathan Tai <jon.tai@medsphere.com> Fri, 5 Feb 2010 14:36:22 -0800
24
25openvista-gtm-integration (0.8.7-0ubuntu1~msc2~lucid1) lucid; urgency=low
26
27 * Add missing dependency on ssl-cert (Closes: #503889)
28
29 -- Jonathan Tai <jon.tai@medsphere.com> Fri, 22 Jan 2010 12:25:44 -0800
30
31openvista-gtm-integration (0.8.7-0ubuntu1~msc1~karmic1) karmic; urgency=low
32
33 * 0.8.7 release
34
35 -- Jonathan Tai <jon.tai@medsphere.com> Mon, 11 Jan 2010 12:49:44 -0800
36
37openvista-gtm-integration (0.8.6-0ubuntu2~msc3~karmic1) karmic; urgency=low
38
39 * Update utils to honor env config file if it exists (Closes: #336166)
40 * Add man pages for new ovcheckperms and ovgetvar utilities
41 * Add config file templates in /usr/share/openvista
42 * Remove executable bit on munin plugin configuration file
43
44 -- Jonathan Tai <jon.tai@medsphere.com> Thu, 17 Dec 2009 10:11:25 -0800
45
46openvista-gtm-integration (0.8.6-0ubuntu2~msc2~karmic1) karmic; urgency=low
47
48 * Re-order dependencies so preferred packages come first.
49
50 -- Jonathan Tai <jon.tai@medsphere.com> Thu, 19 Nov 2009 20:48:20 -0800
51
52openvista-gtm-integration (0.8.6-0ubuntu2~msc1~karmic1) karmic; urgency=low
53
54 * Update standards version for Ubuntu 9.10 (Karmic).
55
56 -- Jonathan Tai <jon.tai@medsphere.com> Thu, 19 Nov 2009 13:14:31 -0800
57
58openvista-gtm-integration (0.8.6-0ubuntu2~msc1~jaunty1) jaunty; urgency=low
59
60 * Change package versioning scheme to accommodate multiple Ubuntu releases.
61
62 -- Jonathan Tai <jon.tai@medsphere.com> Thu, 19 Nov 2009 12:57:16 -0800
63
64openvista-gtm-integration (0.8.6-0ubuntu1) jaunty; urgency=low
65
66 * 0.8.6 release
67
68 -- Jonathan Tai <jon.tai@medsphere.com> Fri, 30 Oct 2009 21:18:35 -0700
69
70openvista-gtm-integration (0.8.5-0ubuntu2) jaunty; urgency=low
71
72 * Package munin plugins. (Closes: #337644)
73
74 -- Jonathan Tai <jon.tai@medsphere.com> Wed, 21 Oct 2009 08:00:34 -0700
75
76openvista-gtm-integration (0.8.5-0ubuntu1) jaunty; urgency=low
77
78 * Consolidate openvista-utils and openvista-libs-* packages into a single
79 source package. (Closes: #420754)
80
81 -- Jonathan Tai <jon.tai@medsphere.com> Mon, 19 Oct 2009 18:45:56 -0700
082
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/changelogs'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/changelogs 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/changelogs 2010-09-23 20:57:40 +0000
@@ -0,0 +1,1 @@
1ChangeLog
02
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/compat'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/compat 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/compat 2010-09-23 20:57:40 +0000
@@ -0,0 +1,1 @@
17
02
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/control'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/control 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/control 2010-09-23 20:57:40 +0000
@@ -0,0 +1,83 @@
1Source: openvista-gtm-integration
2Section: misc
3Priority: optional
4Maintainer: Jonathan Tai <jon.tai@medsphere.com>
5Build-Depends: debhelper (>= 7), libpam0g-dev, fis-gtm-5.3004, fis-gtm-5.3004a, fis-gtm-5.4000
6Standards-Version: 3.8.3
7Homepage: https://medsphere.org/community/project/gtm
8
9Package: openvista-utils
10Architecture: any
11Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, rsync, pbzip2 (>= 1.0.5) | bzip2, cron, openssh-client, apache2.2-common, ssl-cert, openvista-libs-5.4000 | openvista-libs
12Recommends: openssh-server, apache2
13Suggests: putty-tools, bash-completion, pbzip2 (>= 1.0.5)
14Description: Utilities for configuring and managing OpenVista
15 OpenVista is a cost-effective, open, trusted and complete EHR which enhances
16 patient safety, increases clinical and operational efficiency and provides an
17 opportunity to improve quality of care delivery.
18 .
19 This package provides command-line utilities that aid in configuring and
20 managing OpenVista instances.
21
22Package: openvista-libs-5.3004
23Architecture: any
24Depends: ${shlibs:Depends}, ${misc:Depends}, fis-gtm-5.3004
25Provides: openvista-libs
26Description: GT.M External Calls for OpenVista
27 OpenVista is a cost-effective, open, trusted and complete EHR which enhances
28 patient safety, increases clinical and operational efficiency and provides an
29 opportunity to improve quality of care delivery.
30 .
31 This package provides a shared library that OpenVista code running in GT.M
32 calls out to for PAM authentication and duplicating a device onto a spawned
33 child's stdin/stdout. This package also provides an suid wrapper around GT.M
34 utilities used to send signals to other GT.M processes.
35 .
36 The shared library in this package was built against GT.M V5.3-004.
37
38Package: openvista-libs-5.3004a
39Architecture: any
40Depends: ${shlibs:Depends}, ${misc:Depends}, fis-gtm-5.3004a
41Provides: openvista-libs
42Description: GT.M External Calls for OpenVista
43 OpenVista is a cost-effective, open, trusted and complete EHR which enhances
44 patient safety, increases clinical and operational efficiency and provides an
45 opportunity to improve quality of care delivery.
46 .
47 This package provides a shared library that OpenVista code running in GT.M
48 calls out to for PAM authentication and duplicating a device onto a spawned
49 child's stdin/stdout. This package also provides an suid wrapper around GT.M
50 utilities used to send signals to other GT.M processes.
51 .
52 The shared library in this package was built against GT.M V5.3-004A.
53
54Package: openvista-libs-5.4000
55Architecture: any
56Depends: ${shlibs:Depends}, ${misc:Depends}, fis-gtm-5.4000
57Provides: openvista-libs
58Description: GT.M External Calls for OpenVista
59 OpenVista is a cost-effective, open, trusted and complete EHR which enhances
60 patient safety, increases clinical and operational efficiency and provides an
61 opportunity to improve quality of care delivery.
62 .
63 This package provides a shared library that OpenVista code running in GT.M
64 calls out to for PAM authentication and duplicating a device onto a spawned
65 child's stdin/stdout. This package also provides an suid wrapper around GT.M
66 utilities used to send signals to other GT.M processes.
67 .
68 The shared library in this package was built against GT.M V5.4-000.
69
70Package: openvista-munin-plugins
71Architecture: all
72Depends: ${shlibs:Depends}, ${misc:Depends}, munin-node, openvista-utils
73Description: Munin plugins to monitor OpenVista instances
74 OpenVista is a cost-effective, open, trusted and complete EHR which enhances
75 patient safety, increases clinical and operational efficiency and provides an
76 opportunity to improve quality of care delivery.
77 .
78 Munin is a highly flexible and powerful solution used to create graphs of
79 virtually everything imaginable throughout your network, while still
80 maintaining a rattling ease of installation and configuration.
81 .
82 This package contains plugins for the Munin node to monitor OpenVista
83 instances.
084
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/copyright'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/copyright 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/copyright 2010-09-23 20:57:40 +0000
@@ -0,0 +1,50 @@
1This package was debianized by Jonathan Tai <jon.tai@medsphere.com> on
2Wed, 08 Jul 2009 21:26:33 -0700.
3
4It was downloaded from <https://medsphere.org/community/project/gtm>
5
6Upstream Author:
7
8 Medsphere Systems Corporation
9
10Copyright:
11
12 Copyright (C) 2009 Medsphere Systems Corporation
13
14License:
15
16 The utilities provided by the OpenVista/GT.M Integration Project simplify
17 installation, configuration, and operation of OpenVista Server when running on
18 GT.M on Linux.
19
20 Copyright (C) 2009 Medsphere Systems Corporation
21
22 This program is free software; you can redistribute it and/or modify it solely
23 under the terms of the GNU Affero General Public License version 3 as published
24 by the Free Software Foundation.
25
26 This program is distributed in the hope that it will be useful, but WITHOUT
27 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
28 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
29 for more details.
30
31 You should have received a copy of the GNU Affero General Public License along
32 with this program; if not, see http://www.gnu.org/licenses or write to the Free
33 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
34 02110-1301 USA.
35
36 You can contact Medsphere Systems Corporation headquarters at 1917 Palomar Oaks Way,
37 Carlsbad, Ca. 92008 or at legal@medsphere.com.
38
39 The interactive user interfaces in modified source and object code versions
40 of this program must display Appropriate Legal Notices, as required under
41 Section 5 of the GNU Affero General Public License version 3.
42
43 In accordance with Section 7(b) of the GNU Affero General Public License
44 version 3, these Appropriate Legal Notices must retain the display of the
45 "Powered by Medsphere" logo. If the display of the logo is not reasonably
46 feasible for technical reasons, the Appropriate Legal Notices must display
47 the words "Powered by Medsphere".
48
49The Debian packaging is copyright 2009, Medsphere Systems Corporation and
50is licensed under the AGPL.
051
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/docs'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/docs 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/docs 2010-09-23 20:57:40 +0000
@@ -0,0 +1,3 @@
1COPYING.AGPL
2NEWS
3README
04
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004.dirs'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004.dirs 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004.dirs 2010-09-23 20:57:40 +0000
@@ -0,0 +1,1 @@
1usr/share/doc/openvista-libs-5.3004
02
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004.postinst'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004.postinst 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004.postinst 2010-09-23 20:57:40 +0000
@@ -0,0 +1,49 @@
1#!/bin/sh
2# postinst script for openvista-libs-5.3004
3#
4# see: dh_installdeb(1)
5
6set -e
7
8# summary of how this script can be called:
9# * <postinst> `configure' <most-recently-configured-version>
10# * <old-postinst> `abort-upgrade' <new version>
11# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
12# <new-version>
13# * <postinst> `abort-remove'
14# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
15# <failed-install-package> <version> `removing'
16# <conflicting-package> <version>
17# for details, see http://www.debian.org/doc/debian-policy/ or
18# the debian-policy package
19
20
21case "$1" in
22 configure)
23 if [ `dpkg --print-architecture` = "amd64" ]; then
24 gtm_dist=/opt/lsb-gtm/V5.3-004_x86_64
25 else
26 gtm_dist=/opt/lsb-gtm/V5.3-004_i686
27 fi
28
29 chgrp gtm $gtm_dist/libopenvista.so $gtm_dist/openvista.xc $gtm_dist/gtmsignal
30
31 # the chgrp command above may cause gtmsignal to lose the setuid bit; re-add it here just in case
32 chmod u+s $gtm_dist/gtmsignal
33 ;;
34
35 abort-upgrade|abort-remove|abort-deconfigure)
36 ;;
37
38 *)
39 echo "postinst called with unknown argument \`$1'" >&2
40 exit 1
41 ;;
42esac
43
44# dh_installdeb will replace this with shell code automatically
45# generated by other debhelper scripts.
46
47#DEBHELPER#
48
49exit 0
050
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004a.dirs'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004a.dirs 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004a.dirs 2010-09-23 20:57:40 +0000
@@ -0,0 +1,1 @@
1usr/share/doc/openvista-libs-5.3004a
02
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004a.postinst'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004a.postinst 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004a.postinst 2010-09-23 20:57:40 +0000
@@ -0,0 +1,49 @@
1#!/bin/sh
2# postinst script for openvista-libs-5.3004a
3#
4# see: dh_installdeb(1)
5
6set -e
7
8# summary of how this script can be called:
9# * <postinst> `configure' <most-recently-configured-version>
10# * <old-postinst> `abort-upgrade' <new version>
11# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
12# <new-version>
13# * <postinst> `abort-remove'
14# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
15# <failed-install-package> <version> `removing'
16# <conflicting-package> <version>
17# for details, see http://www.debian.org/doc/debian-policy/ or
18# the debian-policy package
19
20
21case "$1" in
22 configure)
23 if [ `dpkg --print-architecture` = "amd64" ]; then
24 gtm_dist=/opt/lsb-gtm/V5.3-004A_x86_64
25 else
26 gtm_dist=/opt/lsb-gtm/V5.3-004A_i686
27 fi
28
29 chgrp gtm $gtm_dist/libopenvista.so $gtm_dist/openvista.xc $gtm_dist/gtmsignal
30
31 # the chgrp command above may cause gtmsignal to lose the setuid bit; re-add it here just in case
32 chmod u+s $gtm_dist/gtmsignal
33 ;;
34
35 abort-upgrade|abort-remove|abort-deconfigure)
36 ;;
37
38 *)
39 echo "postinst called with unknown argument \`$1'" >&2
40 exit 1
41 ;;
42esac
43
44# dh_installdeb will replace this with shell code automatically
45# generated by other debhelper scripts.
46
47#DEBHELPER#
48
49exit 0
050
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.4000.dirs'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.4000.dirs 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.4000.dirs 2010-09-23 20:57:40 +0000
@@ -0,0 +1,1 @@
1usr/share/doc/openvista-libs-5.4000
02
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.4000.postinst'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.4000.postinst 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.4000.postinst 2010-09-23 20:57:40 +0000
@@ -0,0 +1,49 @@
1#!/bin/sh
2# postinst script for openvista-libs-5.4000
3#
4# see: dh_installdeb(1)
5
6set -e
7
8# summary of how this script can be called:
9# * <postinst> `configure' <most-recently-configured-version>
10# * <old-postinst> `abort-upgrade' <new version>
11# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
12# <new-version>
13# * <postinst> `abort-remove'
14# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
15# <failed-install-package> <version> `removing'
16# <conflicting-package> <version>
17# for details, see http://www.debian.org/doc/debian-policy/ or
18# the debian-policy package
19
20
21case "$1" in
22 configure)
23 if [ `dpkg --print-architecture` = "amd64" ]; then
24 gtm_dist=/opt/lsb-gtm/V5.4-000_x86_64
25 else
26 gtm_dist=/opt/lsb-gtm/V5.4-000_i686
27 fi
28
29 chgrp gtm $gtm_dist/libopenvista.so $gtm_dist/openvista.xc $gtm_dist/gtmsignal
30
31 # the chgrp command above may cause gtmsignal to lose the setuid bit; re-add it here just in case
32 chmod u+s $gtm_dist/gtmsignal
33 ;;
34
35 abort-upgrade|abort-remove|abort-deconfigure)
36 ;;
37
38 *)
39 echo "postinst called with unknown argument \`$1'" >&2
40 exit 1
41 ;;
42esac
43
44# dh_installdeb will replace this with shell code automatically
45# generated by other debhelper scripts.
46
47#DEBHELPER#
48
49exit 0
050
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-munin-plugins.dirs'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-munin-plugins.dirs 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-munin-plugins.dirs 2010-09-23 20:57:40 +0000
@@ -0,0 +1,3 @@
1etc/munin/plugin-conf.d
2usr/share/doc/openvista-munin-plugins
3usr/share/munin/plugins
04
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.dirs'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.dirs 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.dirs 2010-09-23 20:57:40 +0000
@@ -0,0 +1,10 @@
1etc/apache2/conf.d
2etc/bash_completion.d
3opt/openvista
4sbin
5usr/bin
6usr/lib/openvista
7usr/share/openvista
8usr/sbin
9usr/share/doc/openvista-utils
10var/www/webdav
011
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.manpages'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.manpages 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.manpages 2010-09-23 20:57:40 +0000
@@ -0,0 +1,15 @@
1docs/man8/gtmsignal.8
2docs/man8/ovinstanceadd.8
3docs/man8/ovinstancedel.8
4docs/man8/ovrestore.8
5docs/man8/ovauth.8
6docs/man1/openvista.1
7docs/man1/ovtied.1
8docs/man1/ovcc.1
9docs/man1/ovbackup.1
10docs/man1/ovpurgejournals.1
11docs/man1/ovswitchjournals.1
12docs/man1/ovimport.1
13docs/man1/ovcheckperms.1
14docs/man1/ovgetvar.1
15docs/man1/ovcompile.1
016
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.openvista.pam'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.openvista.pam 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.openvista.pam 2010-09-23 20:57:40 +0000
@@ -0,0 +1,4 @@
1@include common-auth
2@include common-account
3@include common-password
4@include common-session
05
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.postinst'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.postinst 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.postinst 2010-09-23 20:57:40 +0000
@@ -0,0 +1,74 @@
1#!/bin/sh
2# postinst script for openvista-utils
3#
4# see: dh_installdeb(1)
5
6set -e
7
8# summary of how this script can be called:
9# * <postinst> `configure' <most-recently-configured-version>
10# * <old-postinst> `abort-upgrade' <new version>
11# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
12# <new-version>
13# * <postinst> `abort-remove'
14# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
15# <failed-install-package> <version> `removing'
16# <conflicting-package> <version>
17# for details, see http://www.debian.org/doc/debian-policy/ or
18# the debian-policy package
19
20
21case "$1" in
22 configure)
23 if ! getent group openvista >/dev/null; then
24 addgroup --quiet openvista
25 fi
26
27 if ! getent passwd openvista >/dev/null; then
28 adduser --quiet --disabled-password --ingroup openvista --gecos "OpenVista tied account" openvista
29 fi
30
31 if ! groups openvista | grep gtm >/dev/null; then
32 adduser --quiet openvista gtm > /dev/null
33 fi
34
35 chgrp openvista /opt/openvista /sbin/ovauth
36
37 # the chgrp command above may cause ovauth to lose the setuid bit; re-add it here just in case
38 chmod u+s /sbin/ovauth
39
40 if [ -x /usr/sbin/a2enmod ]; then
41 a2enmod dav_fs > /dev/null
42 a2enmod ssl > /dev/null
43 fi
44
45 if [ -x /usr/sbin/a2ensite ]; then
46 a2ensite default-ssl > /dev/null
47 fi
48
49 # FIXME: disable access to the webdav directory via regular HTTP
50
51 if [ -x /etc/init.d/apache2 ]; then
52 if [ -x /usr/sbin/invoke-rc.d ]; then
53 invoke-rc.d apache2 restart
54 else
55 /etc/init.d/apache2 restart
56 fi
57 fi
58 ;;
59
60 abort-upgrade|abort-remove|abort-deconfigure)
61 ;;
62
63 *)
64 echo "postinst called with unknown argument \`$1'" >&2
65 exit 1
66 ;;
67esac
68
69# dh_installdeb will replace this with shell code automatically
70# generated by other debhelper scripts.
71
72#DEBHELPER#
73
74exit 0
075
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.postrm'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.postrm 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.postrm 2010-09-23 20:57:40 +0000
@@ -0,0 +1,55 @@
1#!/bin/sh
2# postrm script for openvista-utils
3#
4# see: dh_installdeb(1)
5
6set -e
7
8# summary of how this script can be called:
9# * <postrm> `remove'
10# * <postrm> `purge'
11# * <old-postrm> `upgrade' <new-version>
12# * <new-postrm> `failed-upgrade' <old-version>
13# * <new-postrm> `abort-install'
14# * <new-postrm> `abort-install' <old-version>
15# * <new-postrm> `abort-upgrade' <old-version>
16# * <disappearer's-postrm> `disappear' <overwriter>
17# <overwriter-version>
18# for details, see http://www.debian.org/doc/debian-policy/ or
19# the debian-policy package
20
21
22case "$1" in
23 purge)
24 deluser --quiet openvista || :
25
26 # if there are no users in the openvista group (other than the openvista
27 # user), deluser will delete the group, but if there *are* other users, we
28 # need to explicitly call delgroup
29 delgroup --quiet openvista || :
30
31 # FIXME: does this need to happen even on remove?
32 if [ -x /etc/init.d/apache2 ]; then
33 if [ -x /usr/sbin/invoke-rc.d ]; then
34 invoke-rc.d apache2 reload
35 else
36 /etc/init.d/apache2 reload
37 fi
38 fi
39 ;;
40
41 remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
42 ;;
43
44 *)
45 echo "postrm called with unknown argument \`$1'" >&2
46 exit 1
47 ;;
48esac
49
50# dh_installdeb will replace this with shell code automatically
51# generated by other debhelper scripts.
52
53#DEBHELPER#
54
55exit 0
056
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/rules'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/rules 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/rules 2010-09-23 20:57:40 +0000
@@ -0,0 +1,189 @@
1#!/usr/bin/make -f
2# -*- makefile -*-
3# Sample debian/rules that uses debhelper.
4#
5# This file was originally written by Joey Hess and Craig Small.
6# As a special exception, when this file is copied by dh-make into a
7# dh-make output file, you may use that output file without restriction.
8# This special exception was added by Craig Small in version 0.37 of dh-make.
9#
10# Modified to make a template file for a multi-binary package with separated
11# build-arch and build-indep targets by Bill Allombert 2001
12
13# Uncomment this to turn on verbose mode.
14#export DH_VERBOSE=1
15
16# This has to be exported to make some magic below work.
17export DH_OPTIONS
18
19GTM_ROOT = /opt/lsb-gtm
20GTM_VERSIONS = V5.3-004 V5.3-004A V5.4-000
21
22DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
23
24ifeq ($(DEB_HOST_ARCH),amd64)
25GTM_ARCH = x86_64
26else
27GTM_ARCH = i686
28endif
29
30
31
32configure: configure-stamp
33configure-stamp:
34 dh_testdir
35 # Add here commands to configure the package.
36
37 touch configure-stamp
38
39
40#Architecture
41build: build-arch build-indep
42
43build-arch: build-arch-stamp
44build-arch-stamp: configure-stamp
45 cd src/libopenvista ; \
46 for gtm_version in $(GTM_VERSIONS) ; do \
47 export gtm_dist="$(GTM_ROOT)/$${gtm_version}_$(GTM_ARCH)" ;\
48 ./compile.sh && \
49 mv libopenvista.so libopenvista.so-$$gtm_version && \
50 mv openvista.xc openvista.xc-$$gtm_version ;\
51 done
52 cd src/gtmsignal && ./compile.sh
53 cd src/ovauth && ./compile.sh
54 touch $@
55
56build-indep: build-indep-stamp
57build-indep-stamp: configure-stamp
58
59 # Add here commands to compile the indep part of the package.
60 #$(MAKE) doc
61 touch $@
62
63clean:
64 dh_testdir
65 dh_testroot
66 rm -f build-arch-stamp build-indep-stamp configure-stamp
67
68 # openvista-libs-*
69 rm -f src/libopenvista/libopenvista.so-*
70 rm -f src/libopenvista/openvista.xc-*
71 rm -f src/gtmsignal/gtmsignal
72
73 # openvista-utils
74 rm -f debian/openvista-utils.openvista-databases.init
75 rm -f debian/openvista-utils.openvista.init
76 rm -f debian/openvista-utils.openvista.cron.d
77 rm -f debian/openvista-utils.openvista.cron.daily
78 rm -f src/ovauth/ovauth
79
80 dh_clean
81
82install: install-indep install-arch
83install-indep:
84 dh_testdir
85 dh_testroot
86 dh_prep -i
87 dh_installdirs -i
88
89 install -m 644 scripts/etc/munin/plugin-conf.d/openvista debian/openvista-munin-plugins/etc/munin/plugin-conf.d/
90 install scripts/usr/share/munin/plugins/openvista_databases_ debian/openvista-munin-plugins/usr/share/munin/plugins/
91 install scripts/usr/share/munin/plugins/openvista_locks_ debian/openvista-munin-plugins/usr/share/munin/plugins/
92 install scripts/usr/share/munin/plugins/openvista_processes_ debian/openvista-munin-plugins/usr/share/munin/plugins/
93
94 dh_install -i
95
96install-arch:
97 dh_testdir
98 dh_testroot
99 dh_prep -s
100 dh_installdirs -s
101
102 for gtm_version in $(GTM_VERSIONS) ; do \
103 export package=openvista-libs-`echo $$gtm_version | sed 's/^V//' | sed 's/-//' | tr '[:upper:]' '[:lower:]'` ;\
104 export gtm_dist="$(GTM_ROOT)/$${gtm_version}_$(GTM_ARCH)" ;\
105 mkdir -p debian/$$package$$gtm_dist && \
106 install src/libopenvista/libopenvista.so-$$gtm_version debian/$$package$$gtm_dist/libopenvista.so && \
107 install -m 644 src/libopenvista/openvista.xc-$$gtm_version debian/$$package$$gtm_dist/openvista.xc && \
108 install src/gtmsignal/gtmsignal debian/$$package$$gtm_dist/ ;\
109 done
110
111 install -m 644 scripts/usr/lib/openvista/functions debian/openvista-utils/usr/lib/openvista/
112
113 for config in scripts/usr/share/openvista/*; do \
114 install -m 644 $$config debian/openvista-utils/usr/share/openvista/ ;\
115 done
116
117 for script in scripts/usr/sbin/*; do \
118 install $$script debian/openvista-utils/usr/sbin/ ;\
119 done
120
121 for script in scripts/usr/bin/*; do \
122 install $$script debian/openvista-utils/usr/bin/ ;\
123 done
124
125 install scripts/etc/init.d/openvista-databases debian/openvista-utils.openvista-databases.init
126 install scripts/etc/init.d/openvista debian/openvista-utils.openvista.init
127
128 install -m 644 scripts/etc/bash_completion.d/openvista debian/openvista-utils/etc/bash_completion.d/
129
130 install scripts/etc/cron.d/openvista debian/openvista-utils.openvista.cron.d
131 install scripts/etc/cron.daily/openvista debian/openvista-utils.openvista.cron.daily
132
133 install -m 644 debian/webdav.conf debian/openvista-utils/etc/apache2/conf.d/
134
135 touch debian/openvista-utils/etc/apache2/webdav.htpasswd
136
137 install src/ovauth/ovauth debian/openvista-utils/sbin/
138
139 dh_install -s
140# Must not depend on anything. This is to be called by
141# binary-arch/binary-indep
142# in another 'make' thread.
143binary-common:
144 dh_testdir
145 dh_testroot
146 dh_installchangelogs
147 dh_installdocs
148 dh_installexamples
149# dh_installmenu
150# dh_installdebconf
151# dh_installlogrotate
152# dh_installemacsen
153 dh_installpam --name=openvista
154# dh_installmime
155# dh_python
156 dh_installinit -r --no-start --name=openvista-databases -- defaults 28 10
157 dh_installinit -r --no-start --name=openvista -- defaults 98 01
158 dh_installcron --name=openvista
159# dh_installinfo
160 dh_installman
161 dh_link
162 dh_strip
163 dh_compress
164 dh_fixperms
165 # use group bin for now; will change to group gtm in postinst
166 chown bin:bin debian/openvista-libs-*$(GTM_ROOT)/*_$(GTM_ARCH)/*
167 chmod 440 debian/openvista-libs-*$(GTM_ROOT)/*_$(GTM_ARCH)/*
168 chown root debian/openvista-libs-*$(GTM_ROOT)/*_$(GTM_ARCH)/gtmsignal
169 chmod 4550 debian/openvista-libs-*$(GTM_ROOT)/*_$(GTM_ARCH)/gtmsignal
170 # use group root for now; will change to group openvista in postinst
171 chmod 2750 debian/openvista-utils/opt/openvista
172 chmod 4754 debian/openvista-utils/sbin/ovauth
173# dh_perl
174 dh_makeshlibs
175 dh_installdeb
176 dh_shlibdeps
177 dh_gencontrol
178 dh_md5sums
179 dh_builddeb
180# Build architecture independant packages using the common target.
181binary-indep: build-indep install-indep
182 $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
183
184# Build architecture dependant packages using the common target.
185binary-arch: build-arch install-arch
186 $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
187
188binary: binary-arch binary-indep
189.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure
0190
=== added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/webdav.conf'
--- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/webdav.conf 1970-01-01 00:00:00 +0000
+++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/webdav.conf 2010-09-23 20:57:40 +0000
@@ -0,0 +1,14 @@
1# OpenVista document imaging repository
2<IfModule mod_dav_fs.c>
3<Directory "/var/www/webdav">
4 Dav On
5
6 AllowOverride None
7 Options Indexes FollowSymLinks
8
9 AuthType Basic
10 AuthName "OpenVista document imaging repository"
11 AuthUserFile "/etc/apache2/webdav.htpasswd"
12 Require valid-user
13</Directory>
14</IfModule>

Subscribers

People subscribed via source and target branches