Merge lp:~jontai/openvista-gtm-integration/bug645637 into lp:openvista-gtm-integration
- bug645637
- Merge into mainline
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 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Derek_ | Approve | ||
Review via email: mp+36506@code.launchpad.net |
Commit message
Description of the change
Pulling down the branch and doing a "diff -urw packages/
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
1 | === added directory 'packages/deb/Ubuntu/10.10' | |||
2 | === added directory 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004' | |||
3 | === added directory 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian' | |||
4 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/changelog' | |||
5 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/changelog 1970-01-01 00:00:00 +0000 | |||
6 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/changelog 2010-09-23 20:57:40 +0000 | |||
7 | @@ -0,0 +1,29 @@ | |||
8 | 1 | fis-gtm-5.3004 (5.3004-0ubuntu2~msc1~maverick1) maverick; urgency=low | ||
9 | 2 | |||
10 | 3 | * Package for Ubuntu 10.10 (Maverick) (Closes: #645637) | ||
11 | 4 | |||
12 | 5 | -- Jonathan Tai <jon.tai@medsphere.com> Thu, 23 Sep 2010 10:41:13 -0700 | ||
13 | 6 | |||
14 | 7 | fis-gtm-5.3004 (5.3004-0ubuntu2~msc1~lucid1) lucid; urgency=low | ||
15 | 8 | |||
16 | 9 | * Update dependencies for Ubuntu 10.04 (Lucid). | ||
17 | 10 | |||
18 | 11 | -- Jonathan Tai <jon.tai@medsphere.com> Sat, 16 Jan 2010 09:57:15 -0700 | ||
19 | 12 | |||
20 | 13 | fis-gtm-5.3004 (5.3004-0ubuntu2~msc1~karmic1) karmic; urgency=low | ||
21 | 14 | |||
22 | 15 | * Update dependencies and standards version for Ubuntu 9.10 (Karmic). | ||
23 | 16 | |||
24 | 17 | -- Jonathan Tai <jon.tai@medsphere.com> Thu, 19 Nov 2009 13:14:31 -0800 | ||
25 | 18 | |||
26 | 19 | fis-gtm-5.3004 (5.3004-0ubuntu2~msc1~jaunty1) jaunty; urgency=low | ||
27 | 20 | |||
28 | 21 | * Change package versioning scheme to accommodate multiple Ubuntu releases. | ||
29 | 22 | |||
30 | 23 | -- Jonathan Tai <jon.tai@medsphere.com> Thu, 19 Nov 2009 12:57:16 -0800 | ||
31 | 24 | |||
32 | 25 | fis-gtm-5.3004 (5.3004-0ubuntu1) jaunty; urgency=low | ||
33 | 26 | |||
34 | 27 | * Initial Ubuntu package (Closes: #358242) | ||
35 | 28 | |||
36 | 29 | -- Jonathan Tai <jon.tai@medsphere.com> Fri, 24 Jul 2009 00:34:40 -0700 | ||
37 | 0 | 30 | ||
38 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/compat' | |||
39 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/compat 1970-01-01 00:00:00 +0000 | |||
40 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/compat 2010-09-23 20:57:40 +0000 | |||
41 | @@ -0,0 +1,1 @@ | |||
42 | 1 | 7 | ||
43 | 0 | 2 | ||
44 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/control' | |||
45 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/control 1970-01-01 00:00:00 +0000 | |||
46 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/control 2010-09-23 20:57:40 +0000 | |||
47 | @@ -0,0 +1,17 @@ | |||
48 | 1 | Source: fis-gtm-5.3004 | ||
49 | 2 | Section: misc | ||
50 | 3 | Priority: optional | ||
51 | 4 | Maintainer: Jonathan Tai <jon.tai@medsphere.com> | ||
52 | 5 | Build-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 | ||
53 | 6 | Standards-Version: 3.8.3 | ||
54 | 7 | Homepage: http://www.fidelityinfoservices.com/FNFIS/Markets/NonFinancialIndustries/Healthcare/GTM/ | ||
55 | 8 | |||
56 | 9 | Package: fis-gtm-5.3004 | ||
57 | 10 | Architecture: i386 amd64 | ||
58 | 11 | Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, libicu42, zlib1g, libncurses5, libgpgme11, libgpg-error0, libgcrypt11 | ||
59 | 12 | Suggests: ksh | ||
60 | 13 | Description: High end TP schemaless database | ||
61 | 14 | GT.M is a vetted, industrial strength, transaction processing application | ||
62 | 15 | platform consisting of a schema-less database engine optimized for extreme | ||
63 | 16 | transaction processing throughput & business continuity plus a compiler for the | ||
64 | 17 | MUMPS language. | ||
65 | 0 | 18 | ||
66 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/copyright' | |||
67 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/copyright 1970-01-01 00:00:00 +0000 | |||
68 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/copyright 2010-09-23 20:57:40 +0000 | |||
69 | @@ -0,0 +1,21 @@ | |||
70 | 1 | This package was debianized by Jonathan Tai <jon.tai@medsphere.com> on | ||
71 | 2 | Fri, 24 Jul 2009 00:34:40 -0700. | ||
72 | 3 | |||
73 | 4 | It was downloaded from <http://www.fidelityinfoservices.com/FNFIS/Markets/NonFinancialIndustries/Healthcare/GTM/> | ||
74 | 5 | |||
75 | 6 | Upstream Author: | ||
76 | 7 | |||
77 | 8 | Fidelity Information Services, Inc. | ||
78 | 9 | |||
79 | 10 | Copyright: | ||
80 | 11 | |||
81 | 12 | Copyright (C) 2009 Fidelity Information Services, Inc. | ||
82 | 13 | |||
83 | 14 | License: | ||
84 | 15 | |||
85 | 16 | GT.M for selected platforms, including GNU/Linux on the popular x86 | ||
86 | 17 | architecture, can be downloaded under the terms of the Affero GNU General | ||
87 | 18 | Public License (AGPL) version 3. | ||
88 | 19 | |||
89 | 20 | The Debian packaging is copyright 2009, Medsphere Systems Corporation and | ||
90 | 21 | is licensed under the AGPL. | ||
91 | 0 | 22 | ||
92 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/dirs' | |||
93 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/dirs 1970-01-01 00:00:00 +0000 | |||
94 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/dirs 2010-09-23 20:57:40 +0000 | |||
95 | @@ -0,0 +1,1 @@ | |||
96 | 1 | opt/lsb-gtm | ||
97 | 0 | 2 | ||
98 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/docs' | |||
99 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/docs 1970-01-01 00:00:00 +0000 | |||
100 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/docs 2010-09-23 20:57:40 +0000 | |||
101 | @@ -0,0 +1,1 @@ | |||
102 | 1 | COPYING | ||
103 | 0 | 2 | ||
104 | === added directory 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches' | |||
105 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/00list' | |||
106 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/00list 1970-01-01 00:00:00 +0000 | |||
107 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/00list 2010-09-23 20:57:40 +0000 | |||
108 | @@ -0,0 +1,2 @@ | |||
109 | 1 | 01-configurable-compiler.dpatch | ||
110 | 2 | 02-configure-fix.dpatch | ||
111 | 0 | 3 | ||
112 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/01-configurable-compiler.dpatch' | |||
113 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/01-configurable-compiler.dpatch 1970-01-01 00:00:00 +0000 | |||
114 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/01-configurable-compiler.dpatch 2010-09-23 20:57:40 +0000 | |||
115 | @@ -0,0 +1,19 @@ | |||
116 | 1 | #! /bin/sh /usr/share/dpatch/dpatch-run | ||
117 | 2 | ## 01-configurable-compiler.dpatch by <jon.tai@medsphere.com> | ||
118 | 3 | ## | ||
119 | 4 | ## All lines beginning with `## DP:' are a description of the patch. | ||
120 | 5 | ## DP: No description. | ||
121 | 6 | |||
122 | 7 | @DPATCH@ | ||
123 | 8 | diff -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 | ||
124 | 9 | --- fis-gtm-5.3004-5.3004~/sr_linux/gtm_env_sp.mk 2009-06-08 05:08:10.000000000 -0400 | ||
125 | 10 | +++ fis-gtm-5.3004-5.3004/sr_linux/gtm_env_sp.mk 2009-07-28 22:22:03.000000000 -0400 | ||
126 | 11 | @@ -57,7 +57,7 @@ | ||
127 | 12 | gt_as_src_suffix=.s | ||
128 | 13 | |||
129 | 14 | # C compiler options | ||
130 | 15 | -gt_cc_compiler=gcc | ||
131 | 16 | +gt_cc_compiler?=gcc | ||
132 | 17 | |||
133 | 18 | # Do not lookup the source directory before include directories specified by -I. | ||
134 | 19 | # gcc complains about -I- being obsolete, but using -iquote cause build errors for gcc and as - ABS 2008.12.09 | ||
135 | 0 | 20 | ||
136 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/02-configure-fix.dpatch' | |||
137 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/02-configure-fix.dpatch 1970-01-01 00:00:00 +0000 | |||
138 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/02-configure-fix.dpatch 2010-09-23 20:57:40 +0000 | |||
139 | @@ -0,0 +1,31 @@ | |||
140 | 1 | #! /bin/sh /usr/share/dpatch/dpatch-run | ||
141 | 2 | ## 02-configure-fix.dpatch by <jon.tai@medsphere.com> | ||
142 | 3 | ## | ||
143 | 4 | ## All lines beginning with `## DP:' are a description of the patch. | ||
144 | 5 | ## DP: No description. | ||
145 | 6 | |||
146 | 7 | @DPATCH@ | ||
147 | 8 | diff -urNad fis-gtm-5.3004-5.3004~/sr_unix/configure.gtc fis-gtm-5.3004-5.3004/sr_unix/configure.gtc | ||
148 | 9 | --- fis-gtm-5.3004-5.3004~/sr_unix/configure.gtc 2009-07-10 11:31:45.000000000 -0400 | ||
149 | 10 | +++ fis-gtm-5.3004-5.3004/sr_unix/configure.gtc 2009-07-28 22:27:19.000000000 -0400 | ||
150 | 11 | @@ -208,9 +208,9 @@ | ||
151 | 12 | is64bit_gtm=`file mumps | grep "64-bit" | wc -l` | ||
152 | 13 | fi | ||
153 | 14 | if [ $is64bit_gtm -eq 1 ] ; then | ||
154 | 15 | - library_path="/usr/local/lib64 /usr/local/lib /usr/lib /usr/lib32" | ||
155 | 16 | + library_path="/usr/local/lib64 /usr/local/lib /usr/lib64 /usr/lib /lib64 /lib" | ||
156 | 17 | else | ||
157 | 18 | - library_path="/usr/local/lib /usr/lib /usr/lib32" | ||
158 | 19 | + library_path="/usr/local/lib32 /usr/local/lib /usr/lib32 /usr/lib /lib32 /lib" | ||
159 | 20 | fi | ||
160 | 21 | $echo "Should unicode support be installed? (y or n) \c" | ||
161 | 22 | read resp | ||
162 | 23 | @@ -303,7 +303,7 @@ | ||
163 | 24 | fi | ||
164 | 25 | done | ||
165 | 26 | if [ "$found_icu" -eq 0 ] ; then | ||
166 | 27 | - if [ $majmin != "" ] ; then | ||
167 | 28 | + if [ "$majmin" != "" ] ; then | ||
168 | 29 | echo "WARNING: ICU version $gtm_icu_version not found. Not installing Unicode support." | ||
169 | 30 | else | ||
170 | 31 | echo "WARNING: Default ICU version not found. Not installing Unicode support." | ||
171 | 0 | 32 | ||
172 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/99-noninteractive-configure.patch' | |||
173 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/99-noninteractive-configure.patch 1970-01-01 00:00:00 +0000 | |||
174 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/patches/99-noninteractive-configure.patch 2010-09-23 20:57:40 +0000 | |||
175 | @@ -0,0 +1,78 @@ | |||
176 | 1 | --- configure 2009-07-16 15:26:02.000000000 -0700 | ||
177 | 2 | +++ configure 2009-07-16 15:28:00.000000000 -0700 | ||
178 | 3 | @@ -112,7 +112,7 @@ | ||
179 | 4 | # create temporary file to test for valid user and group names | ||
180 | 5 | touch tmp_owngrp | ||
181 | 6 | $echo "What account should own the files? (bin) \c" | ||
182 | 7 | -read resp | ||
183 | 8 | +resp="" | ||
184 | 9 | if [ "$resp" = "" ] ; then | ||
185 | 10 | owner="bin" | ||
186 | 11 | else | ||
187 | 12 | @@ -126,10 +126,10 @@ | ||
188 | 13 | fi | ||
189 | 14 | |||
190 | 15 | $echo "Should execution of GT.M to be restricted to a group? (y or n) \c" | ||
191 | 16 | -read resp | ||
192 | 17 | +resp="y" | ||
193 | 18 | if [ "$resp" = "Y" -o "$resp" = "y" ] ; then | ||
194 | 19 | $echo "Enter group name? \c" | ||
195 | 20 | - read group | ||
196 | 21 | + group="bin" | ||
197 | 22 | if [ "$group" != "" ] ; then | ||
198 | 23 | chgrp $group tmp_owngrp 2> /dev/null | ||
199 | 24 | if [ 1 = "$?" ] ; then | ||
200 | 25 | @@ -145,7 +145,7 @@ | ||
201 | 26 | rm tmp_owngrp | ||
202 | 27 | |||
203 | 28 | $echo "In what directory should GT.M be installed? \c" | ||
204 | 29 | -read gtmdist | ||
205 | 30 | +gtmdist="@GTM_DIST@" | ||
206 | 31 | |||
207 | 32 | # if gtmdist is relative then need to make it absolute | ||
208 | 33 | |||
209 | 34 | @@ -171,7 +171,7 @@ | ||
210 | 35 | $echo "Directory $gtmdist does not exist. Do you wish to create it as part of" | ||
211 | 36 | $echo "this installation? (y or n) \c" | ||
212 | 37 | |||
213 | 38 | - read resp | ||
214 | 39 | + resp="y" | ||
215 | 40 | if [ "$resp" = "Y" -o "$resp" = "y" ] ; then | ||
216 | 41 | mkdir -p $gtmdist | ||
217 | 42 | chmod 0755 $gtmdist | ||
218 | 43 | @@ -213,14 +213,14 @@ | ||
219 | 44 | library_path="/usr/local/lib32 /usr/local/lib /usr/lib32 /usr/lib /lib32 /lib" | ||
220 | 45 | fi | ||
221 | 46 | $echo "Should unicode support be installed? (y or n) \c" | ||
222 | 47 | - read resp | ||
223 | 48 | + resp="y" | ||
224 | 49 | if [ "$resp" = "Y" -o "$resp" = "y" ] ; then | ||
225 | 50 | would_like_utf8=1 | ||
226 | 51 | $echo "Should an ICU version other than the default be used? (y or n) \c" | ||
227 | 52 | - read resp | ||
228 | 53 | + resp="y" | ||
229 | 54 | if [ "$resp" = "Y" -o "$resp" = "y" ] ; then | ||
230 | 55 | $echo "Enter ICU version (at least ICU version 3.6 is required. Enter as <minor-ver>.<major-ver>): \c" | ||
231 | 56 | - read gtm_icu_version | ||
232 | 57 | + gtm_icu_version="@GTM_ICU_VERSION@" | ||
233 | 58 | icu_ver=`$echo $gtm_icu_version | sed 's/\.//'` | ||
234 | 59 | majmin=`$echo $icu_ver | cut -f 1 -d "."` | ||
235 | 60 | if [ "$majmin" -lt "36" ] ; then | ||
236 | 61 | @@ -567,7 +567,7 @@ | ||
237 | 62 | $echo "only the uppercase versions of the files." | ||
238 | 63 | $echo "" | ||
239 | 64 | $echo "Do you want uppercase and lowercase versions of the MUMPS routines? (y or n)\c" | ||
240 | 65 | -read resp | ||
241 | 66 | +resp="n" | ||
242 | 67 | if [ "$resp" = "Y" -o "$resp" = "y" ] ; then | ||
243 | 68 | $echo "" | ||
244 | 69 | $echo "Creating lowercase versions of the MUMPS routines." | ||
245 | 70 | @@ -768,7 +768,7 @@ | ||
246 | 71 | $echo "" | ||
247 | 72 | $echo "Installation completed. Would you like all the temporary files" | ||
248 | 73 | $echo "removed from this directory? (y or n) \c" | ||
249 | 74 | -read resp | ||
250 | 75 | +resp="n" | ||
251 | 76 | |||
252 | 77 | if [ "$resp" = "Y" -o "$resp" = "y" ] ; then | ||
253 | 78 | \rm -rf $binaries $pathmods $rscripts $nscripts $dirs configure \ | ||
254 | 0 | 79 | ||
255 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/postinst' | |||
256 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/postinst 1970-01-01 00:00:00 +0000 | |||
257 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/postinst 2010-09-23 20:57:40 +0000 | |||
258 | @@ -0,0 +1,56 @@ | |||
259 | 1 | #!/bin/sh | ||
260 | 2 | # postinst script for fis-gtm-5.3004 | ||
261 | 3 | # | ||
262 | 4 | # see: dh_installdeb(1) | ||
263 | 5 | |||
264 | 6 | set -e | ||
265 | 7 | |||
266 | 8 | # summary of how this script can be called: | ||
267 | 9 | # * <postinst> `configure' <most-recently-configured-version> | ||
268 | 10 | # * <old-postinst> `abort-upgrade' <new version> | ||
269 | 11 | # * <conflictor's-postinst> `abort-remove' `in-favour' <package> | ||
270 | 12 | # <new-version> | ||
271 | 13 | # * <postinst> `abort-remove' | ||
272 | 14 | # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' | ||
273 | 15 | # <failed-install-package> <version> `removing' | ||
274 | 16 | # <conflicting-package> <version> | ||
275 | 17 | # for details, see http://www.debian.org/doc/debian-policy/ or | ||
276 | 18 | # the debian-policy package | ||
277 | 19 | |||
278 | 20 | |||
279 | 21 | case "$1" in | ||
280 | 22 | configure) | ||
281 | 23 | if ! getent group gtm >/dev/null; then | ||
282 | 24 | addgroup --quiet gtm | ||
283 | 25 | fi | ||
284 | 26 | |||
285 | 27 | if [ `dpkg --print-architecture` = "amd64" ]; then | ||
286 | 28 | gtm_dist=/opt/lsb-gtm/V5.3-004_x86_64 | ||
287 | 29 | else | ||
288 | 30 | gtm_dist=/opt/lsb-gtm/V5.3-004_i686 | ||
289 | 31 | fi | ||
290 | 32 | |||
291 | 33 | suid_files=`find $gtm_dist -perm /4000` | ||
292 | 34 | |||
293 | 35 | chgrp -R gtm $gtm_dist | ||
294 | 36 | chgrp -R bin $gtm_dist/gtmsecshrdir | ||
295 | 37 | |||
296 | 38 | # the chgrp commands above may cause files to lose the setuid bit; re-add it here just in case | ||
297 | 39 | for file in $suid_files; do chmod u+s $file; done | ||
298 | 40 | ;; | ||
299 | 41 | |||
300 | 42 | abort-upgrade|abort-remove|abort-deconfigure) | ||
301 | 43 | ;; | ||
302 | 44 | |||
303 | 45 | *) | ||
304 | 46 | echo "postinst called with unknown argument \`$1'" >&2 | ||
305 | 47 | exit 1 | ||
306 | 48 | ;; | ||
307 | 49 | esac | ||
308 | 50 | |||
309 | 51 | # dh_installdeb will replace this with shell code automatically | ||
310 | 52 | # generated by other debhelper scripts. | ||
311 | 53 | |||
312 | 54 | #DEBHELPER# | ||
313 | 55 | |||
314 | 56 | exit 0 | ||
315 | 0 | 57 | ||
316 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/postrm' | |||
317 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/postrm 1970-01-01 00:00:00 +0000 | |||
318 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/postrm 2010-09-23 20:57:40 +0000 | |||
319 | @@ -0,0 +1,44 @@ | |||
320 | 1 | #!/bin/sh | ||
321 | 2 | # postrm script for fis-gtm-5.3004 | ||
322 | 3 | # | ||
323 | 4 | # see: dh_installdeb(1) | ||
324 | 5 | |||
325 | 6 | set -e | ||
326 | 7 | |||
327 | 8 | # summary of how this script can be called: | ||
328 | 9 | # * <postrm> `remove' | ||
329 | 10 | # * <postrm> `purge' | ||
330 | 11 | # * <old-postrm> `upgrade' <new-version> | ||
331 | 12 | # * <new-postrm> `failed-upgrade' <old-version> | ||
332 | 13 | # * <new-postrm> `abort-install' | ||
333 | 14 | # * <new-postrm> `abort-install' <old-version> | ||
334 | 15 | # * <new-postrm> `abort-upgrade' <old-version> | ||
335 | 16 | # * <disappearer's-postrm> `disappear' <overwriter> | ||
336 | 17 | # <overwriter-version> | ||
337 | 18 | # for details, see http://www.debian.org/doc/debian-policy/ or | ||
338 | 19 | # the debian-policy package | ||
339 | 20 | |||
340 | 21 | |||
341 | 22 | case "$1" in | ||
342 | 23 | purge) | ||
343 | 24 | # if we were the last GT.M package on the system, remove the gtm group | ||
344 | 25 | if [ ! -d /opt/lsb-gtm ]; then | ||
345 | 26 | delgroup --quiet gtm || : | ||
346 | 27 | fi | ||
347 | 28 | ;; | ||
348 | 29 | |||
349 | 30 | remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) | ||
350 | 31 | ;; | ||
351 | 32 | |||
352 | 33 | *) | ||
353 | 34 | echo "postrm called with unknown argument \`$1'" >&2 | ||
354 | 35 | exit 1 | ||
355 | 36 | ;; | ||
356 | 37 | esac | ||
357 | 38 | |||
358 | 39 | # dh_installdeb will replace this with shell code automatically | ||
359 | 40 | # generated by other debhelper scripts. | ||
360 | 41 | |||
361 | 42 | #DEBHELPER# | ||
362 | 43 | |||
363 | 44 | exit 0 | ||
364 | 0 | 45 | ||
365 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/rules' | |||
366 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/rules 1970-01-01 00:00:00 +0000 | |||
367 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004/debian/rules 2010-09-23 20:57:40 +0000 | |||
368 | @@ -0,0 +1,190 @@ | |||
369 | 1 | #!/usr/bin/make -f | ||
370 | 2 | # -*- makefile -*- | ||
371 | 3 | # Sample debian/rules that uses debhelper. | ||
372 | 4 | # | ||
373 | 5 | # This file was originally written by Joey Hess and Craig Small. | ||
374 | 6 | # As a special exception, when this file is copied by dh-make into a | ||
375 | 7 | # dh-make output file, you may use that output file without restriction. | ||
376 | 8 | # This special exception was added by Craig Small in version 0.37 of dh-make. | ||
377 | 9 | # | ||
378 | 10 | # Modified to make a template file for a multi-binary package with separated | ||
379 | 11 | # build-arch and build-indep targets by Bill Allombert 2001 | ||
380 | 12 | |||
381 | 13 | # Uncomment this to turn on verbose mode. | ||
382 | 14 | #export DH_VERBOSE=1 | ||
383 | 15 | |||
384 | 16 | # This has to be exported to make some magic below work. | ||
385 | 17 | export DH_OPTIONS | ||
386 | 18 | |||
387 | 19 | #enable dpatch | ||
388 | 20 | include /usr/share/dpatch/dpatch.make | ||
389 | 21 | |||
390 | 22 | DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) | ||
391 | 23 | DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) | ||
392 | 24 | |||
393 | 25 | ifeq ($(DEB_HOST_ARCH),amd64) | ||
394 | 26 | GTM_DIST = /opt/lsb-gtm/V5.3-004_x86_64 | ||
395 | 27 | else | ||
396 | 28 | GTM_DIST = /opt/lsb-gtm/V5.3-004_i686 | ||
397 | 29 | endif | ||
398 | 30 | |||
399 | 31 | ifeq ($(DEB_HOST_ARCH_OS),linux) | ||
400 | 32 | GTM_HOSTOS = Linux | ||
401 | 33 | else | ||
402 | 34 | GTM_HOSTOS = $(DEB_HOST_ARCH_OS) | ||
403 | 35 | endif | ||
404 | 36 | |||
405 | 37 | GT_CC_COMPILER = gcc-4.1 | ||
406 | 38 | |||
407 | 39 | GTM_ICU_VERSION_MAJMIN = $(shell icu-config --version | sed 's/\.//' | cut -f 1 -d '.') | ||
408 | 40 | GTM_ICU_VERSION_MINORVER = $(shell expr $(GTM_ICU_VERSION_MAJMIN) % 10) | ||
409 | 41 | GTM_ICU_VERSION_MAJORVER = $(shell expr $(GTM_ICU_VERSION_MAJMIN) / 10) | ||
410 | 42 | GTM_ICU_VERSION = $(GTM_ICU_VERSION_MAJORVER).$(GTM_ICU_VERSION_MINORVER) | ||
411 | 43 | |||
412 | 44 | PACKAGE=fis-gtm-5.3004 | ||
413 | 45 | |||
414 | 46 | |||
415 | 47 | |||
416 | 48 | configure: | ||
417 | 49 | dh_testdir | ||
418 | 50 | |||
419 | 51 | # GT.M needs to be built with tcsh, and with a bunch of environmental variables | ||
420 | 52 | # set. Since we can't run tcsh interactively, we put all the setenv commands | ||
421 | 53 | # and the build command itself into a temporary script, then execute it with | ||
422 | 54 | # tcsh. | ||
423 | 55 | echo 'setenv gtm_curpro $(GTM_DIST)' > build.csh | ||
424 | 56 | echo 'setenv gtm_exe $(GTM_DIST)' >> build.csh | ||
425 | 57 | echo 'setenv HOSTOS $(GTM_HOSTOS)' >> build.csh | ||
426 | 58 | echo 'setenv gtm_tools $(CURDIR)/sr_linux' >> build.csh | ||
427 | 59 | echo 'setenv gtm_inc $(CURDIR)/sr_linux' >> build.csh | ||
428 | 60 | if [ "$(DEB_HOST_ARCH)" = "amd64" ]; then \ | ||
429 | 61 | echo 'setenv OBJECT_MODE 64' >> build.csh ; \ | ||
430 | 62 | fi | ||
431 | 63 | echo 'setenv distro ubuntu' >> build.csh | ||
432 | 64 | echo 'setenv gtm_icu_version $(GTM_ICU_VERSION)' >> build.csh | ||
433 | 65 | echo 'setenv gtm_version_change 1' >> build.csh | ||
434 | 66 | cat sr_unix/gtm_env.csh >> build.csh | ||
435 | 67 | |||
436 | 68 | # GT.M 5.3004 requires gcc-4.1, Jaunty's default (gcc 4.3) doesn't work | ||
437 | 69 | echo 'setenv gt_cc_compiler $(GT_CC_COMPILER)' >> build.csh | ||
438 | 70 | |||
439 | 71 | # GT.M's makefiles get confused if this isn't reset back to 0 | ||
440 | 72 | echo 'setenv MAKELEVEL 0' >> build.csh | ||
441 | 73 | |||
442 | 74 | |||
443 | 75 | #Architecture | ||
444 | 76 | build: patch-stamp build-arch build-indep | ||
445 | 77 | |||
446 | 78 | build-arch: build-arch-stamp | ||
447 | 79 | build-arch-stamp: configure | ||
448 | 80 | echo '$(MAKE) -f sr_unix/comlist.mk -I./sr_unix -I./sr_linux buildtypes=pro gtm_ver=$(CURDIR)' >> build.csh | ||
449 | 81 | tcsh -b build.csh | ||
450 | 82 | |||
451 | 83 | touch $@ | ||
452 | 84 | |||
453 | 85 | build-indep: build-indep-stamp | ||
454 | 86 | build-indep-stamp: configure | ||
455 | 87 | |||
456 | 88 | # Add here commands to compile the indep part of the package. | ||
457 | 89 | #$(MAKE) doc | ||
458 | 90 | touch $@ | ||
459 | 91 | |||
460 | 92 | clean: unpatch configure | ||
461 | 93 | dh_testdir | ||
462 | 94 | dh_testroot | ||
463 | 95 | rm -f build-arch-stamp build-indep-stamp | ||
464 | 96 | |||
465 | 97 | echo '$(MAKE) -f sr_unix/comlist.mk -I./sr_unix -I./sr_linux buildtypes=pro gtm_ver=$(CURDIR) clean' >> build.csh | ||
466 | 98 | tcsh -b build.csh | ||
467 | 99 | rm -f build.csh | ||
468 | 100 | |||
469 | 101 | rm -rf gtm | ||
470 | 102 | |||
471 | 103 | dh_clean | ||
472 | 104 | |||
473 | 105 | install: install-indep install-arch | ||
474 | 106 | install-indep: | ||
475 | 107 | dh_testdir | ||
476 | 108 | dh_testroot | ||
477 | 109 | dh_prep -i | ||
478 | 110 | dh_installdirs -i | ||
479 | 111 | |||
480 | 112 | # Add here commands to install the indep part of the package into | ||
481 | 113 | # debian/<package>-doc. | ||
482 | 114 | #INSTALLDOC# | ||
483 | 115 | |||
484 | 116 | dh_install -i | ||
485 | 117 | |||
486 | 118 | install-arch: | ||
487 | 119 | dh_testdir | ||
488 | 120 | dh_testroot | ||
489 | 121 | dh_prep -s | ||
490 | 122 | dh_installdirs -s | ||
491 | 123 | |||
492 | 124 | # Move the existing GT.M installation out of the way | ||
493 | 125 | rm -rf $(GTM_DIST).bak | ||
494 | 126 | mv $(GTM_DIST) $(GTM_DIST).bak | ||
495 | 127 | |||
496 | 128 | # We need to patch the configure script to pre-answer all of the prompts and | ||
497 | 129 | # set the installation directory | ||
498 | 130 | cd pro ; \ | ||
499 | 131 | cat ../debian/patches/99-noninteractive-configure.patch | \ | ||
500 | 132 | sed 's,@GTM_DIST@,$(GTM_DIST),' | \ | ||
501 | 133 | sed 's,@GTM_ICU_VERSION@,$(GTM_ICU_VERSION),' | \ | ||
502 | 134 | patch -p0 -b ; \ | ||
503 | 135 | chmod +x configure ; \ | ||
504 | 136 | ./configure | ||
505 | 137 | |||
506 | 138 | # Move the new GT.M installation to a temporary directory, but do not copy it into the package root yet | ||
507 | 139 | mv $(GTM_DIST) gtm | ||
508 | 140 | |||
509 | 141 | # Restore the existing GT.M installation | ||
510 | 142 | mv $(GTM_DIST).bak $(GTM_DIST) | ||
511 | 143 | |||
512 | 144 | dh_install -s | ||
513 | 145 | # Must not depend on anything. This is to be called by | ||
514 | 146 | # binary-arch/binary-indep | ||
515 | 147 | # in another 'make' thread. | ||
516 | 148 | binary-common: | ||
517 | 149 | dh_testdir | ||
518 | 150 | dh_testroot | ||
519 | 151 | dh_installchangelogs | ||
520 | 152 | dh_installdocs | ||
521 | 153 | dh_installexamples | ||
522 | 154 | # dh_installmenu | ||
523 | 155 | # dh_installdebconf | ||
524 | 156 | # dh_installlogrotate | ||
525 | 157 | # dh_installemacsen | ||
526 | 158 | # dh_installpam | ||
527 | 159 | # dh_installmime | ||
528 | 160 | # dh_python | ||
529 | 161 | # dh_installinit | ||
530 | 162 | # dh_installcron | ||
531 | 163 | # dh_installinfo | ||
532 | 164 | dh_installman | ||
533 | 165 | dh_link | ||
534 | 166 | dh_strip | ||
535 | 167 | dh_compress | ||
536 | 168 | dh_fixperms | ||
537 | 169 | # copy files into package root after dh_fixperms to ensure permissions | ||
538 | 170 | # are correct. files are owned by group bin for now; will change to | ||
539 | 171 | # group gtm in postinst | ||
540 | 172 | rm -rf debian/$(PACKAGE)$(GTM_DIST) | ||
541 | 173 | cp -a gtm debian/$(PACKAGE)$(GTM_DIST) | ||
542 | 174 | # dh_perl | ||
543 | 175 | dh_makeshlibs | ||
544 | 176 | dh_installdeb | ||
545 | 177 | dh_shlibdeps | ||
546 | 178 | dh_gencontrol | ||
547 | 179 | dh_md5sums | ||
548 | 180 | dh_builddeb | ||
549 | 181 | # Build architecture independant packages using the common target. | ||
550 | 182 | binary-indep: build-indep install-indep | ||
551 | 183 | $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common | ||
552 | 184 | |||
553 | 185 | # Build architecture dependant packages using the common target. | ||
554 | 186 | binary-arch: build-arch install-arch | ||
555 | 187 | $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common | ||
556 | 188 | |||
557 | 189 | binary: binary-arch binary-indep | ||
558 | 190 | .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure | ||
559 | 0 | 191 | ||
560 | === added directory 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a' | |||
561 | === added directory 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian' | |||
562 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/changelog' | |||
563 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/changelog 1970-01-01 00:00:00 +0000 | |||
564 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/changelog 2010-09-23 20:57:40 +0000 | |||
565 | @@ -0,0 +1,29 @@ | |||
566 | 1 | fis-gtm-5.3004a (5.3004a-0ubuntu2~msc1~maverick1) maverick; urgency=low | ||
567 | 2 | |||
568 | 3 | * Package for Ubuntu 10.10 (Maverick) (Closes: #645637) | ||
569 | 4 | |||
570 | 5 | -- Jonathan Tai <jon.tai@medsphere.com> Thu, 23 Sep 2010 10:41:13 -0700 | ||
571 | 6 | |||
572 | 7 | fis-gtm-5.3004a (5.3004a-0ubuntu2~msc1~lucid1) lucid; urgency=low | ||
573 | 8 | |||
574 | 9 | * Update dependencies for Ubuntu 10.04 (Lucid). | ||
575 | 10 | |||
576 | 11 | -- Jonathan Tai <jon.tai@medsphere.com> Sat, 16 Jan 2010 09:57:15 -0700 | ||
577 | 12 | |||
578 | 13 | fis-gtm-5.3004a (5.3004a-0ubuntu2~msc1~karmic1) karmic; urgency=low | ||
579 | 14 | |||
580 | 15 | * Update dependencies and standards version for Ubuntu 9.10 (Karmic). | ||
581 | 16 | |||
582 | 17 | -- Jonathan Tai <jon.tai@medsphere.com> Thu, 19 Nov 2009 13:14:31 -0800 | ||
583 | 18 | |||
584 | 19 | fis-gtm-5.3004a (5.3004a-0ubuntu2~msc1~jaunty1) jaunty; urgency=low | ||
585 | 20 | |||
586 | 21 | * Change package versioning scheme to accommodate multiple Ubuntu releases. | ||
587 | 22 | |||
588 | 23 | -- Jonathan Tai <jon.tai@medsphere.com> Thu, 19 Nov 2009 12:57:16 -0800 | ||
589 | 24 | |||
590 | 25 | fis-gtm-5.3004a (5.3004a-0ubuntu1) jaunty; urgency=low | ||
591 | 26 | |||
592 | 27 | * Initial Ubuntu package (Closes: #358242) | ||
593 | 28 | |||
594 | 29 | -- Jonathan Tai <jon.tai@medsphere.com> Thu, 13 Aug 2009 16:50:02 -0700 | ||
595 | 0 | 30 | ||
596 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/compat' | |||
597 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/compat 1970-01-01 00:00:00 +0000 | |||
598 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/compat 2010-09-23 20:57:40 +0000 | |||
599 | @@ -0,0 +1,1 @@ | |||
600 | 1 | 7 | ||
601 | 0 | 2 | ||
602 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/control' | |||
603 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/control 1970-01-01 00:00:00 +0000 | |||
604 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/control 2010-09-23 20:57:40 +0000 | |||
605 | @@ -0,0 +1,17 @@ | |||
606 | 1 | Source: fis-gtm-5.3004a | ||
607 | 2 | Section: misc | ||
608 | 3 | Priority: optional | ||
609 | 4 | Maintainer: Jonathan Tai <jon.tai@medsphere.com> | ||
610 | 5 | Build-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 | ||
611 | 6 | Standards-Version: 3.8.3 | ||
612 | 7 | Homepage: http://www.fidelityinfoservices.com/FNFIS/Markets/NonFinancialIndustries/Healthcare/GTM/ | ||
613 | 8 | |||
614 | 9 | Package: fis-gtm-5.3004a | ||
615 | 10 | Architecture: i386 amd64 | ||
616 | 11 | Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, libicu42, zlib1g, libncurses5, libgpgme11, libgpg-error0, libgcrypt11 | ||
617 | 12 | Suggests: ksh | ||
618 | 13 | Description: High end TP schemaless database | ||
619 | 14 | GT.M is a vetted, industrial strength, transaction processing application | ||
620 | 15 | platform consisting of a schema-less database engine optimized for extreme | ||
621 | 16 | transaction processing throughput & business continuity plus a compiler for the | ||
622 | 17 | MUMPS language. | ||
623 | 0 | 18 | ||
624 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/copyright' | |||
625 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/copyright 1970-01-01 00:00:00 +0000 | |||
626 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/copyright 2010-09-23 20:57:40 +0000 | |||
627 | @@ -0,0 +1,21 @@ | |||
628 | 1 | This package was debianized by Jonathan Tai <jon.tai@medsphere.com> on | ||
629 | 2 | Thu, 13 Aug 2009 16:50:02 -0700. | ||
630 | 3 | |||
631 | 4 | It was downloaded from <http://www.fidelityinfoservices.com/FNFIS/Markets/NonFinancialIndustries/Healthcare/GTM/> | ||
632 | 5 | |||
633 | 6 | Upstream Author: | ||
634 | 7 | |||
635 | 8 | Fidelity Information Services, Inc. | ||
636 | 9 | |||
637 | 10 | Copyright: | ||
638 | 11 | |||
639 | 12 | Copyright (C) 2009 Fidelity Information Services, Inc. | ||
640 | 13 | |||
641 | 14 | License: | ||
642 | 15 | |||
643 | 16 | GT.M for selected platforms, including GNU/Linux on the popular x86 | ||
644 | 17 | architecture, can be downloaded under the terms of the Affero GNU General | ||
645 | 18 | Public License (AGPL) version 3. | ||
646 | 19 | |||
647 | 20 | The Debian packaging is copyright 2009, Medsphere Systems Corporation and | ||
648 | 21 | is licensed under the AGPL. | ||
649 | 0 | 22 | ||
650 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/dirs' | |||
651 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/dirs 1970-01-01 00:00:00 +0000 | |||
652 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/dirs 2010-09-23 20:57:40 +0000 | |||
653 | @@ -0,0 +1,1 @@ | |||
654 | 1 | opt/lsb-gtm | ||
655 | 0 | 2 | ||
656 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/docs' | |||
657 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/docs 1970-01-01 00:00:00 +0000 | |||
658 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/docs 2010-09-23 20:57:40 +0000 | |||
659 | @@ -0,0 +1,1 @@ | |||
660 | 1 | COPYING | ||
661 | 0 | 2 | ||
662 | === added directory 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches' | |||
663 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/00list' | |||
664 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/00list 1970-01-01 00:00:00 +0000 | |||
665 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/00list 2010-09-23 20:57:40 +0000 | |||
666 | @@ -0,0 +1,1 @@ | |||
667 | 1 | 01-configurable-compiler.dpatch | ||
668 | 0 | 2 | ||
669 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/01-configurable-compiler.dpatch' | |||
670 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/01-configurable-compiler.dpatch 1970-01-01 00:00:00 +0000 | |||
671 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/01-configurable-compiler.dpatch 2010-09-23 20:57:40 +0000 | |||
672 | @@ -0,0 +1,19 @@ | |||
673 | 1 | #! /bin/sh /usr/share/dpatch/dpatch-run | ||
674 | 2 | ## 01-configurable-compiler.dpatch by <jon.tai@medsphere.com> | ||
675 | 3 | ## | ||
676 | 4 | ## All lines beginning with `## DP:' are a description of the patch. | ||
677 | 5 | ## DP: No description. | ||
678 | 6 | |||
679 | 7 | @DPATCH@ | ||
680 | 8 | diff -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 | ||
681 | 9 | --- fis-gtm-5.3004-5.3004~/sr_linux/gtm_env_sp.mk 2009-06-08 05:08:10.000000000 -0400 | ||
682 | 10 | +++ fis-gtm-5.3004-5.3004/sr_linux/gtm_env_sp.mk 2009-07-28 22:22:03.000000000 -0400 | ||
683 | 11 | @@ -57,7 +57,7 @@ | ||
684 | 12 | gt_as_src_suffix=.s | ||
685 | 13 | |||
686 | 14 | # C compiler options | ||
687 | 15 | -gt_cc_compiler=gcc | ||
688 | 16 | +gt_cc_compiler?=gcc | ||
689 | 17 | |||
690 | 18 | # Do not lookup the source directory before include directories specified by -I. | ||
691 | 19 | # gcc complains about -I- being obsolete, but using -iquote cause build errors for gcc and as - ABS 2008.12.09 | ||
692 | 0 | 20 | ||
693 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/99-noninteractive-configure.patch' | |||
694 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/99-noninteractive-configure.patch 1970-01-01 00:00:00 +0000 | |||
695 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/patches/99-noninteractive-configure.patch 2010-09-23 20:57:40 +0000 | |||
696 | @@ -0,0 +1,78 @@ | |||
697 | 1 | --- configure.orig 2009-08-13 15:54:09.000000000 -0700 | ||
698 | 2 | +++ configure 2009-08-13 15:59:38.000000000 -0700 | ||
699 | 3 | @@ -123,7 +123,7 @@ | ||
700 | 4 | # create temporary file to test for valid user and group names | ||
701 | 5 | touch tmp_owngrp | ||
702 | 6 | $echo "What account should own the files? ($defowner) \c" | ||
703 | 7 | -read resp | ||
704 | 8 | +resp="" | ||
705 | 9 | if [ "$resp" = "" ] ; then | ||
706 | 10 | owner=$defowner | ||
707 | 11 | else | ||
708 | 12 | @@ -137,10 +137,10 @@ | ||
709 | 13 | fi | ||
710 | 14 | |||
711 | 15 | $echo "Should execution of GT.M be restricted to a group? (y or n) \c" | ||
712 | 16 | -read resp | ||
713 | 17 | +resp="y" | ||
714 | 18 | if [ "$resp" = "Y" -o "$resp" = "y" ] ; then | ||
715 | 19 | $echo "Enter group name: \c" | ||
716 | 20 | - read group | ||
717 | 21 | + group="bin" | ||
718 | 22 | if [ "$group" != "" ] ; then | ||
719 | 23 | chgrp $group tmp_owngrp 2> /dev/null | ||
720 | 24 | if [ 1 = "$?" ] ; then | ||
721 | 25 | @@ -156,7 +156,7 @@ | ||
722 | 26 | rm tmp_owngrp | ||
723 | 27 | |||
724 | 28 | $echo "In what directory should GT.M be installed? \c" | ||
725 | 29 | -read gtmdist | ||
726 | 30 | +gtmdist="@GTM_DIST@" | ||
727 | 31 | |||
728 | 32 | # if gtmdist is relative then need to make it absolute | ||
729 | 33 | |||
730 | 34 | @@ -182,7 +182,7 @@ | ||
731 | 35 | $echo "Directory $gtmdist does not exist. Do you wish to create it as part of" | ||
732 | 36 | $echo "this installation? (y or n) \c" | ||
733 | 37 | |||
734 | 38 | - read resp | ||
735 | 39 | + resp="y" | ||
736 | 40 | if [ "$resp" = "Y" -o "$resp" = "y" ] ; then | ||
737 | 41 | mkdir -p $gtmdist | ||
738 | 42 | chmod 0755 $gtmdist | ||
739 | 43 | @@ -226,14 +226,14 @@ | ||
740 | 44 | library_path="/usr/local/lib32 /usr/local/lib /usr/lib32 /usr/lib /lib32 /lib" | ||
741 | 45 | fi | ||
742 | 46 | $echo "Should unicode support be installed? (y or n) \c" | ||
743 | 47 | - read resp | ||
744 | 48 | + resp="y" | ||
745 | 49 | if [ "$resp" = "Y" -o "$resp" = "y" ] ; then | ||
746 | 50 | would_like_utf8=1 | ||
747 | 51 | $echo "Should an ICU version other than the default be used? (y or n) \c" | ||
748 | 52 | - read resp | ||
749 | 53 | + resp="y" | ||
750 | 54 | if [ "$resp" = "Y" -o "$resp" = "y" ] ; then | ||
751 | 55 | $echo "Enter ICU version (at least ICU version 3.6 is required. Enter as <minor-ver>.<major-ver>): \c" | ||
752 | 56 | - read gtm_icu_version | ||
753 | 57 | + gtm_icu_version="@GTM_ICU_VERSION@" | ||
754 | 58 | icu_ver=`$echo $gtm_icu_version | sed 's/\.//'` | ||
755 | 59 | majmin=`$echo $icu_ver | cut -f 1 -d "."` | ||
756 | 60 | if [ "$majmin" -lt "36" ] ; then | ||
757 | 61 | @@ -600,7 +600,7 @@ | ||
758 | 62 | $echo "only the uppercase versions of the files." | ||
759 | 63 | $echo "" | ||
760 | 64 | $echo "Do you want uppercase and lowercase versions of the MUMPS routines? (y or n)\c" | ||
761 | 65 | -read resp | ||
762 | 66 | +resp="n" | ||
763 | 67 | if [ "$resp" = "Y" -o "$resp" = "y" ] ; then | ||
764 | 68 | $echo "" | ||
765 | 69 | $echo "Creating lowercase versions of the MUMPS routines." | ||
766 | 70 | @@ -817,7 +817,7 @@ | ||
767 | 71 | $echo "" | ||
768 | 72 | $echo "Installation completed. Would you like all the temporary files" | ||
769 | 73 | $echo "removed from this directory? (y or n) \c" | ||
770 | 74 | -read resp | ||
771 | 75 | +resp="n" | ||
772 | 76 | |||
773 | 77 | if [ "$resp" = "Y" -o "$resp" = "y" ] ; then | ||
774 | 78 | \rm -rf $binaries $pathmods $rscripts $nscripts $dirs configure \ | ||
775 | 0 | 79 | ||
776 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/postinst' | |||
777 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/postinst 1970-01-01 00:00:00 +0000 | |||
778 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/postinst 2010-09-23 20:57:40 +0000 | |||
779 | @@ -0,0 +1,56 @@ | |||
780 | 1 | #!/bin/sh | ||
781 | 2 | # postinst script for fis-gtm-5.3004a | ||
782 | 3 | # | ||
783 | 4 | # see: dh_installdeb(1) | ||
784 | 5 | |||
785 | 6 | set -e | ||
786 | 7 | |||
787 | 8 | # summary of how this script can be called: | ||
788 | 9 | # * <postinst> `configure' <most-recently-configured-version> | ||
789 | 10 | # * <old-postinst> `abort-upgrade' <new version> | ||
790 | 11 | # * <conflictor's-postinst> `abort-remove' `in-favour' <package> | ||
791 | 12 | # <new-version> | ||
792 | 13 | # * <postinst> `abort-remove' | ||
793 | 14 | # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' | ||
794 | 15 | # <failed-install-package> <version> `removing' | ||
795 | 16 | # <conflicting-package> <version> | ||
796 | 17 | # for details, see http://www.debian.org/doc/debian-policy/ or | ||
797 | 18 | # the debian-policy package | ||
798 | 19 | |||
799 | 20 | |||
800 | 21 | case "$1" in | ||
801 | 22 | configure) | ||
802 | 23 | if ! getent group gtm >/dev/null; then | ||
803 | 24 | addgroup --quiet gtm | ||
804 | 25 | fi | ||
805 | 26 | |||
806 | 27 | if [ `dpkg --print-architecture` = "amd64" ]; then | ||
807 | 28 | gtm_dist=/opt/lsb-gtm/V5.3-004A_x86_64 | ||
808 | 29 | else | ||
809 | 30 | gtm_dist=/opt/lsb-gtm/V5.3-004A_i686 | ||
810 | 31 | fi | ||
811 | 32 | |||
812 | 33 | suid_files=`find $gtm_dist -perm /4000` | ||
813 | 34 | |||
814 | 35 | chgrp -R gtm $gtm_dist | ||
815 | 36 | chgrp -R bin $gtm_dist/gtmsecshrdir | ||
816 | 37 | |||
817 | 38 | # the chgrp commands above may cause files to lose the setuid bit; re-add it here just in case | ||
818 | 39 | for file in $suid_files; do chmod u+s $file; done | ||
819 | 40 | ;; | ||
820 | 41 | |||
821 | 42 | abort-upgrade|abort-remove|abort-deconfigure) | ||
822 | 43 | ;; | ||
823 | 44 | |||
824 | 45 | *) | ||
825 | 46 | echo "postinst called with unknown argument \`$1'" >&2 | ||
826 | 47 | exit 1 | ||
827 | 48 | ;; | ||
828 | 49 | esac | ||
829 | 50 | |||
830 | 51 | # dh_installdeb will replace this with shell code automatically | ||
831 | 52 | # generated by other debhelper scripts. | ||
832 | 53 | |||
833 | 54 | #DEBHELPER# | ||
834 | 55 | |||
835 | 56 | exit 0 | ||
836 | 0 | 57 | ||
837 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/postrm' | |||
838 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/postrm 1970-01-01 00:00:00 +0000 | |||
839 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/postrm 2010-09-23 20:57:40 +0000 | |||
840 | @@ -0,0 +1,44 @@ | |||
841 | 1 | #!/bin/sh | ||
842 | 2 | # postrm script for fis-gtm-5.3004a | ||
843 | 3 | # | ||
844 | 4 | # see: dh_installdeb(1) | ||
845 | 5 | |||
846 | 6 | set -e | ||
847 | 7 | |||
848 | 8 | # summary of how this script can be called: | ||
849 | 9 | # * <postrm> `remove' | ||
850 | 10 | # * <postrm> `purge' | ||
851 | 11 | # * <old-postrm> `upgrade' <new-version> | ||
852 | 12 | # * <new-postrm> `failed-upgrade' <old-version> | ||
853 | 13 | # * <new-postrm> `abort-install' | ||
854 | 14 | # * <new-postrm> `abort-install' <old-version> | ||
855 | 15 | # * <new-postrm> `abort-upgrade' <old-version> | ||
856 | 16 | # * <disappearer's-postrm> `disappear' <overwriter> | ||
857 | 17 | # <overwriter-version> | ||
858 | 18 | # for details, see http://www.debian.org/doc/debian-policy/ or | ||
859 | 19 | # the debian-policy package | ||
860 | 20 | |||
861 | 21 | |||
862 | 22 | case "$1" in | ||
863 | 23 | purge) | ||
864 | 24 | # if we were the last GT.M package on the system, remove the gtm group | ||
865 | 25 | if [ ! -d /opt/lsb-gtm ]; then | ||
866 | 26 | delgroup --quiet gtm || : | ||
867 | 27 | fi | ||
868 | 28 | ;; | ||
869 | 29 | |||
870 | 30 | remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) | ||
871 | 31 | ;; | ||
872 | 32 | |||
873 | 33 | *) | ||
874 | 34 | echo "postrm called with unknown argument \`$1'" >&2 | ||
875 | 35 | exit 1 | ||
876 | 36 | ;; | ||
877 | 37 | esac | ||
878 | 38 | |||
879 | 39 | # dh_installdeb will replace this with shell code automatically | ||
880 | 40 | # generated by other debhelper scripts. | ||
881 | 41 | |||
882 | 42 | #DEBHELPER# | ||
883 | 43 | |||
884 | 44 | exit 0 | ||
885 | 0 | 45 | ||
886 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/rules' | |||
887 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/rules 1970-01-01 00:00:00 +0000 | |||
888 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.3004a/debian/rules 2010-09-23 20:57:40 +0000 | |||
889 | @@ -0,0 +1,190 @@ | |||
890 | 1 | #!/usr/bin/make -f | ||
891 | 2 | # -*- makefile -*- | ||
892 | 3 | # Sample debian/rules that uses debhelper. | ||
893 | 4 | # | ||
894 | 5 | # This file was originally written by Joey Hess and Craig Small. | ||
895 | 6 | # As a special exception, when this file is copied by dh-make into a | ||
896 | 7 | # dh-make output file, you may use that output file without restriction. | ||
897 | 8 | # This special exception was added by Craig Small in version 0.37 of dh-make. | ||
898 | 9 | # | ||
899 | 10 | # Modified to make a template file for a multi-binary package with separated | ||
900 | 11 | # build-arch and build-indep targets by Bill Allombert 2001 | ||
901 | 12 | |||
902 | 13 | # Uncomment this to turn on verbose mode. | ||
903 | 14 | #export DH_VERBOSE=1 | ||
904 | 15 | |||
905 | 16 | # This has to be exported to make some magic below work. | ||
906 | 17 | export DH_OPTIONS | ||
907 | 18 | |||
908 | 19 | #enable dpatch | ||
909 | 20 | include /usr/share/dpatch/dpatch.make | ||
910 | 21 | |||
911 | 22 | DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) | ||
912 | 23 | DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) | ||
913 | 24 | |||
914 | 25 | ifeq ($(DEB_HOST_ARCH),amd64) | ||
915 | 26 | GTM_DIST = /opt/lsb-gtm/V5.3-004A_x86_64 | ||
916 | 27 | else | ||
917 | 28 | GTM_DIST = /opt/lsb-gtm/V5.3-004A_i686 | ||
918 | 29 | endif | ||
919 | 30 | |||
920 | 31 | ifeq ($(DEB_HOST_ARCH_OS),linux) | ||
921 | 32 | GTM_HOSTOS = Linux | ||
922 | 33 | else | ||
923 | 34 | GTM_HOSTOS = $(DEB_HOST_ARCH_OS) | ||
924 | 35 | endif | ||
925 | 36 | |||
926 | 37 | GT_CC_COMPILER = gcc-4.1 | ||
927 | 38 | |||
928 | 39 | GTM_ICU_VERSION_MAJMIN = $(shell icu-config --version | sed 's/\.//' | cut -f 1 -d '.') | ||
929 | 40 | GTM_ICU_VERSION_MINORVER = $(shell expr $(GTM_ICU_VERSION_MAJMIN) % 10) | ||
930 | 41 | GTM_ICU_VERSION_MAJORVER = $(shell expr $(GTM_ICU_VERSION_MAJMIN) / 10) | ||
931 | 42 | GTM_ICU_VERSION = $(GTM_ICU_VERSION_MAJORVER).$(GTM_ICU_VERSION_MINORVER) | ||
932 | 43 | |||
933 | 44 | PACKAGE=fis-gtm-5.3004a | ||
934 | 45 | |||
935 | 46 | |||
936 | 47 | |||
937 | 48 | configure: | ||
938 | 49 | dh_testdir | ||
939 | 50 | |||
940 | 51 | # GT.M needs to be built with tcsh, and with a bunch of environmental variables | ||
941 | 52 | # set. Since we can't run tcsh interactively, we put all the setenv commands | ||
942 | 53 | # and the build command itself into a temporary script, then execute it with | ||
943 | 54 | # tcsh. | ||
944 | 55 | echo 'setenv gtm_curpro $(GTM_DIST)' > build.csh | ||
945 | 56 | echo 'setenv gtm_exe $(GTM_DIST)' >> build.csh | ||
946 | 57 | echo 'setenv HOSTOS $(GTM_HOSTOS)' >> build.csh | ||
947 | 58 | echo 'setenv gtm_tools $(CURDIR)/sr_linux' >> build.csh | ||
948 | 59 | echo 'setenv gtm_inc $(CURDIR)/sr_linux' >> build.csh | ||
949 | 60 | if [ "$(DEB_HOST_ARCH)" = "amd64" ]; then \ | ||
950 | 61 | echo 'setenv OBJECT_MODE 64' >> build.csh ; \ | ||
951 | 62 | fi | ||
952 | 63 | echo 'setenv distro ubuntu' >> build.csh | ||
953 | 64 | echo 'setenv gtm_icu_version $(GTM_ICU_VERSION)' >> build.csh | ||
954 | 65 | echo 'setenv gtm_version_change 1' >> build.csh | ||
955 | 66 | cat sr_unix/gtm_env.csh >> build.csh | ||
956 | 67 | |||
957 | 68 | # GT.M 5.3004 requires gcc-4.1, Jaunty's default (gcc 4.3) doesn't work | ||
958 | 69 | echo 'setenv gt_cc_compiler $(GT_CC_COMPILER)' >> build.csh | ||
959 | 70 | |||
960 | 71 | # GT.M's makefiles get confused if this isn't reset back to 0 | ||
961 | 72 | echo 'setenv MAKELEVEL 0' >> build.csh | ||
962 | 73 | |||
963 | 74 | |||
964 | 75 | #Architecture | ||
965 | 76 | build: patch-stamp build-arch build-indep | ||
966 | 77 | |||
967 | 78 | build-arch: build-arch-stamp | ||
968 | 79 | build-arch-stamp: configure | ||
969 | 80 | echo '$(MAKE) -f sr_unix/comlist.mk -I./sr_unix -I./sr_linux buildtypes=pro gtm_ver=$(CURDIR)' >> build.csh | ||
970 | 81 | tcsh -b build.csh | ||
971 | 82 | |||
972 | 83 | touch $@ | ||
973 | 84 | |||
974 | 85 | build-indep: build-indep-stamp | ||
975 | 86 | build-indep-stamp: configure | ||
976 | 87 | |||
977 | 88 | # Add here commands to compile the indep part of the package. | ||
978 | 89 | #$(MAKE) doc | ||
979 | 90 | touch $@ | ||
980 | 91 | |||
981 | 92 | clean: unpatch configure | ||
982 | 93 | dh_testdir | ||
983 | 94 | dh_testroot | ||
984 | 95 | rm -f build-arch-stamp build-indep-stamp | ||
985 | 96 | |||
986 | 97 | echo '$(MAKE) -f sr_unix/comlist.mk -I./sr_unix -I./sr_linux buildtypes=pro gtm_ver=$(CURDIR) clean' >> build.csh | ||
987 | 98 | tcsh -b build.csh | ||
988 | 99 | rm -f build.csh | ||
989 | 100 | |||
990 | 101 | rm -rf gtm | ||
991 | 102 | |||
992 | 103 | dh_clean | ||
993 | 104 | |||
994 | 105 | install: install-indep install-arch | ||
995 | 106 | install-indep: | ||
996 | 107 | dh_testdir | ||
997 | 108 | dh_testroot | ||
998 | 109 | dh_prep -i | ||
999 | 110 | dh_installdirs -i | ||
1000 | 111 | |||
1001 | 112 | # Add here commands to install the indep part of the package into | ||
1002 | 113 | # debian/<package>-doc. | ||
1003 | 114 | #INSTALLDOC# | ||
1004 | 115 | |||
1005 | 116 | dh_install -i | ||
1006 | 117 | |||
1007 | 118 | install-arch: | ||
1008 | 119 | dh_testdir | ||
1009 | 120 | dh_testroot | ||
1010 | 121 | dh_prep -s | ||
1011 | 122 | dh_installdirs -s | ||
1012 | 123 | |||
1013 | 124 | # Move the existing GT.M installation out of the way | ||
1014 | 125 | rm -rf $(GTM_DIST).bak | ||
1015 | 126 | mv $(GTM_DIST) $(GTM_DIST).bak | ||
1016 | 127 | |||
1017 | 128 | # We need to patch the configure script to pre-answer all of the prompts and | ||
1018 | 129 | # set the installation directory | ||
1019 | 130 | cd pro ; \ | ||
1020 | 131 | cat ../debian/patches/99-noninteractive-configure.patch | \ | ||
1021 | 132 | sed 's,@GTM_DIST@,$(GTM_DIST),' | \ | ||
1022 | 133 | sed 's,@GTM_ICU_VERSION@,$(GTM_ICU_VERSION),' | \ | ||
1023 | 134 | patch -p0 -b ; \ | ||
1024 | 135 | chmod +x configure ; \ | ||
1025 | 136 | ./configure | ||
1026 | 137 | |||
1027 | 138 | # Move the new GT.M installation to a temporary directory, but do not copy it into the package root yet | ||
1028 | 139 | mv $(GTM_DIST) gtm | ||
1029 | 140 | |||
1030 | 141 | # Restore the existing GT.M installation | ||
1031 | 142 | mv $(GTM_DIST).bak $(GTM_DIST) | ||
1032 | 143 | |||
1033 | 144 | dh_install -s | ||
1034 | 145 | # Must not depend on anything. This is to be called by | ||
1035 | 146 | # binary-arch/binary-indep | ||
1036 | 147 | # in another 'make' thread. | ||
1037 | 148 | binary-common: | ||
1038 | 149 | dh_testdir | ||
1039 | 150 | dh_testroot | ||
1040 | 151 | dh_installchangelogs | ||
1041 | 152 | dh_installdocs | ||
1042 | 153 | dh_installexamples | ||
1043 | 154 | # dh_installmenu | ||
1044 | 155 | # dh_installdebconf | ||
1045 | 156 | # dh_installlogrotate | ||
1046 | 157 | # dh_installemacsen | ||
1047 | 158 | # dh_installpam | ||
1048 | 159 | # dh_installmime | ||
1049 | 160 | # dh_python | ||
1050 | 161 | # dh_installinit | ||
1051 | 162 | # dh_installcron | ||
1052 | 163 | # dh_installinfo | ||
1053 | 164 | dh_installman | ||
1054 | 165 | dh_link | ||
1055 | 166 | dh_strip | ||
1056 | 167 | dh_compress | ||
1057 | 168 | dh_fixperms | ||
1058 | 169 | # copy files into package root after dh_fixperms to ensure permissions | ||
1059 | 170 | # are correct. files are owned by group bin for now; will change to | ||
1060 | 171 | # group gtm in postinst | ||
1061 | 172 | rm -rf debian/$(PACKAGE)$(GTM_DIST) | ||
1062 | 173 | cp -a gtm debian/$(PACKAGE)$(GTM_DIST) | ||
1063 | 174 | # dh_perl | ||
1064 | 175 | dh_makeshlibs | ||
1065 | 176 | dh_installdeb | ||
1066 | 177 | dh_shlibdeps | ||
1067 | 178 | dh_gencontrol | ||
1068 | 179 | dh_md5sums | ||
1069 | 180 | dh_builddeb | ||
1070 | 181 | # Build architecture independant packages using the common target. | ||
1071 | 182 | binary-indep: build-indep install-indep | ||
1072 | 183 | $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common | ||
1073 | 184 | |||
1074 | 185 | # Build architecture dependant packages using the common target. | ||
1075 | 186 | binary-arch: build-arch install-arch | ||
1076 | 187 | $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common | ||
1077 | 188 | |||
1078 | 189 | binary: binary-arch binary-indep | ||
1079 | 190 | .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure | ||
1080 | 0 | 191 | ||
1081 | === added directory 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000' | |||
1082 | === added directory 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian' | |||
1083 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/changelog' | |||
1084 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/changelog 1970-01-01 00:00:00 +0000 | |||
1085 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/changelog 2010-09-23 20:57:40 +0000 | |||
1086 | @@ -0,0 +1,11 @@ | |||
1087 | 1 | fis-gtm-5.4000 (5.4000-0ubuntu2~msc1~maverick1) maverick; urgency=low | ||
1088 | 2 | |||
1089 | 3 | * Package for Ubuntu 10.10 (Maverick) (Closes: #645637) | ||
1090 | 4 | |||
1091 | 5 | -- Jonathan Tai <jon.tai@medsphere.com> Thu, 23 Sep 2010 10:41:13 -0700 | ||
1092 | 6 | |||
1093 | 7 | fis-gtm-5.4000 (5.4000-0ubuntu1~msc1~lucid1) lucid; urgency=low | ||
1094 | 8 | |||
1095 | 9 | * Initial Ubuntu package (Closes: #516156) | ||
1096 | 10 | |||
1097 | 11 | -- Jonathan Tai <jon.tai@medsphere.com> Fri, 5 Feb 2010 13:57:39 -0800 | ||
1098 | 0 | 12 | ||
1099 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/compat' | |||
1100 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/compat 1970-01-01 00:00:00 +0000 | |||
1101 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/compat 2010-09-23 20:57:40 +0000 | |||
1102 | @@ -0,0 +1,1 @@ | |||
1103 | 1 | 7 | ||
1104 | 0 | 2 | ||
1105 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/control' | |||
1106 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/control 1970-01-01 00:00:00 +0000 | |||
1107 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/control 2010-09-23 20:57:40 +0000 | |||
1108 | @@ -0,0 +1,17 @@ | |||
1109 | 1 | Source: fis-gtm-5.4000 | ||
1110 | 2 | Section: misc | ||
1111 | 3 | Priority: optional | ||
1112 | 4 | Maintainer: Jonathan Tai <jon.tai@medsphere.com> | ||
1113 | 5 | Build-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 | ||
1114 | 6 | Standards-Version: 3.8.3 | ||
1115 | 7 | Homepage: http://www.fidelityinfoservices.com/FNFIS/Markets/NonFinancialIndustries/Healthcare/GTM/ | ||
1116 | 8 | |||
1117 | 9 | Package: fis-gtm-5.4000 | ||
1118 | 10 | Architecture: i386 amd64 | ||
1119 | 11 | Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, libicu42, zlib1g, libncurses5, libgpgme11, libgpg-error0, libgcrypt11 | ||
1120 | 12 | Suggests: ksh | ||
1121 | 13 | Description: High end TP schemaless database | ||
1122 | 14 | GT.M is a vetted, industrial strength, transaction processing application | ||
1123 | 15 | platform consisting of a schema-less database engine optimized for extreme | ||
1124 | 16 | transaction processing throughput & business continuity plus a compiler for the | ||
1125 | 17 | MUMPS language. | ||
1126 | 0 | 18 | ||
1127 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/copyright' | |||
1128 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/copyright 1970-01-01 00:00:00 +0000 | |||
1129 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/copyright 2010-09-23 20:57:40 +0000 | |||
1130 | @@ -0,0 +1,21 @@ | |||
1131 | 1 | This package was debianized by Jonathan Tai <jon.tai@medsphere.com> on | ||
1132 | 2 | Thu, 13 Aug 2009 16:50:02 -0700. | ||
1133 | 3 | |||
1134 | 4 | It was downloaded from <http://www.fidelityinfoservices.com/FNFIS/Markets/NonFinancialIndustries/Healthcare/GTM/> | ||
1135 | 5 | |||
1136 | 6 | Upstream Author: | ||
1137 | 7 | |||
1138 | 8 | Fidelity Information Services, Inc. | ||
1139 | 9 | |||
1140 | 10 | Copyright: | ||
1141 | 11 | |||
1142 | 12 | Copyright (C) 2009 Fidelity Information Services, Inc. | ||
1143 | 13 | |||
1144 | 14 | License: | ||
1145 | 15 | |||
1146 | 16 | GT.M for selected platforms, including GNU/Linux on the popular x86 | ||
1147 | 17 | architecture, can be downloaded under the terms of the Affero GNU General | ||
1148 | 18 | Public License (AGPL) version 3. | ||
1149 | 19 | |||
1150 | 20 | The Debian packaging is copyright 2009, Medsphere Systems Corporation and | ||
1151 | 21 | is licensed under the AGPL. | ||
1152 | 0 | 22 | ||
1153 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/dirs' | |||
1154 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/dirs 1970-01-01 00:00:00 +0000 | |||
1155 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/dirs 2010-09-23 20:57:40 +0000 | |||
1156 | @@ -0,0 +1,1 @@ | |||
1157 | 1 | opt/lsb-gtm | ||
1158 | 0 | 2 | ||
1159 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/docs' | |||
1160 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/docs 1970-01-01 00:00:00 +0000 | |||
1161 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/docs 2010-09-23 20:57:40 +0000 | |||
1162 | @@ -0,0 +1,1 @@ | |||
1163 | 1 | COPYING | ||
1164 | 0 | 2 | ||
1165 | === added directory 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches' | |||
1166 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/00list' | |||
1167 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/00list 1970-01-01 00:00:00 +0000 | |||
1168 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/00list 2010-09-23 20:57:40 +0000 | |||
1169 | @@ -0,0 +1,1 @@ | |||
1170 | 1 | 01-configurable-compiler.dpatch | ||
1171 | 0 | 2 | ||
1172 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/01-configurable-compiler.dpatch' | |||
1173 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/01-configurable-compiler.dpatch 1970-01-01 00:00:00 +0000 | |||
1174 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/01-configurable-compiler.dpatch 2010-09-23 20:57:40 +0000 | |||
1175 | @@ -0,0 +1,19 @@ | |||
1176 | 1 | #! /bin/sh /usr/share/dpatch/dpatch-run | ||
1177 | 2 | ## 01-configurable-compiler.dpatch by <jon.tai@medsphere.com> | ||
1178 | 3 | ## | ||
1179 | 4 | ## All lines beginning with `## DP:' are a description of the patch. | ||
1180 | 5 | ## DP: No description. | ||
1181 | 6 | |||
1182 | 7 | @DPATCH@ | ||
1183 | 8 | diff -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 | ||
1184 | 9 | --- fis-gtm-5.3004-5.3004~/sr_linux/gtm_env_sp.mk 2009-06-08 05:08:10.000000000 -0400 | ||
1185 | 10 | +++ fis-gtm-5.3004-5.3004/sr_linux/gtm_env_sp.mk 2009-07-28 22:22:03.000000000 -0400 | ||
1186 | 11 | @@ -57,7 +57,7 @@ | ||
1187 | 12 | gt_as_src_suffix=.s | ||
1188 | 13 | |||
1189 | 14 | # C compiler options | ||
1190 | 15 | -gt_cc_compiler=gcc | ||
1191 | 16 | +gt_cc_compiler?=gcc | ||
1192 | 17 | |||
1193 | 18 | # Do not lookup the source directory before include directories specified by -I. | ||
1194 | 19 | # gcc complains about -I- being obsolete, but using -iquote cause build errors for gcc and as - ABS 2008.12.09 | ||
1195 | 0 | 20 | ||
1196 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/99-noninteractive-configure.patch' | |||
1197 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/99-noninteractive-configure.patch 1970-01-01 00:00:00 +0000 | |||
1198 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/patches/99-noninteractive-configure.patch 2010-09-23 20:57:40 +0000 | |||
1199 | @@ -0,0 +1,78 @@ | |||
1200 | 1 | --- configure.orig 2010-02-04 16:16:22.915346134 -0800 | ||
1201 | 2 | +++ configure 2010-02-04 16:19:53.537910871 -0800 | ||
1202 | 3 | @@ -165,7 +165,7 @@ | ||
1203 | 4 | # create temporary file to test for valid user and group names | ||
1204 | 5 | touch tmp_owngrp | ||
1205 | 6 | $echo "What account should own the files? ($defowner) \c" | ||
1206 | 7 | -read resp | ||
1207 | 8 | +resp="" | ||
1208 | 9 | if [ "$resp" = "" ] ; then | ||
1209 | 10 | owner=$defowner | ||
1210 | 11 | else | ||
1211 | 12 | @@ -183,10 +183,10 @@ | ||
1212 | 13 | # if so, $group will be set already | ||
1213 | 14 | if [ -z "$group_restricted_asked" ] ; then | ||
1214 | 15 | $echo "Should execution of GT.M be restricted to a group? (y or n) \c" | ||
1215 | 16 | - read resp | ||
1216 | 17 | + resp="y" | ||
1217 | 18 | if [ "$resp" = "Y" -o "$resp" = "y" ] ; then | ||
1218 | 19 | $echo "Enter group name: \c" | ||
1219 | 20 | - read group | ||
1220 | 21 | + group="bin" | ||
1221 | 22 | if [ "$group" != "" ] ; then | ||
1222 | 23 | chgrp $group tmp_owngrp 2> /dev/null | ||
1223 | 24 | if [ 0 != "$?" ] ; then | ||
1224 | 25 | @@ -201,7 +201,7 @@ | ||
1225 | 26 | rm tmp_owngrp | ||
1226 | 27 | |||
1227 | 28 | $echo "In what directory should GT.M be installed? \c" | ||
1228 | 29 | -read gtmdist | ||
1229 | 30 | +gtmdist="@GTM_DIST@" | ||
1230 | 31 | |||
1231 | 32 | # if gtmdist is relative then need to make it absolute | ||
1232 | 33 | |||
1233 | 34 | @@ -227,7 +227,7 @@ | ||
1234 | 35 | $echo "Directory $gtmdist does not exist. Do you wish to create it as part of" | ||
1235 | 36 | $echo "this installation? (y or n) \c" | ||
1236 | 37 | |||
1237 | 38 | - read resp | ||
1238 | 39 | + resp="y" | ||
1239 | 40 | if [ "$resp" = "Y" -o "$resp" = "y" ] ; then | ||
1240 | 41 | mkdir -p $gtmdist | ||
1241 | 42 | chmod 0755 $gtmdist | ||
1242 | 43 | @@ -271,14 +271,14 @@ | ||
1243 | 44 | library_path="/usr/local/lib32 /usr/local/lib /usr/lib32 /usr/lib /lib32 /lib" | ||
1244 | 45 | fi | ||
1245 | 46 | $echo "Should unicode support be installed? (y or n) \c" | ||
1246 | 47 | - read resp | ||
1247 | 48 | + resp="y" | ||
1248 | 49 | if [ "$resp" = "Y" -o "$resp" = "y" ] ; then | ||
1249 | 50 | would_like_utf8=1 | ||
1250 | 51 | $echo "Should an ICU version other than the default be used? (y or n) \c" | ||
1251 | 52 | - read resp | ||
1252 | 53 | + resp="y" | ||
1253 | 54 | if [ "$resp" = "Y" -o "$resp" = "y" ] ; then | ||
1254 | 55 | $echo "Enter ICU version (at least ICU version 3.6 is required. Enter as <major-ver>.<minor-ver>): \c" | ||
1255 | 56 | - read gtm_icu_version | ||
1256 | 57 | + gtm_icu_version="@GTM_ICU_VERSION@" | ||
1257 | 58 | icu_ver=`$echo $gtm_icu_version | sed 's/\.//'` | ||
1258 | 59 | majmin=`$echo $icu_ver | cut -f 1 -d "."` | ||
1259 | 60 | if [ "$majmin" -lt "36" ] ; then | ||
1260 | 61 | @@ -651,7 +651,7 @@ | ||
1261 | 62 | $echo "only the uppercase versions of the files." | ||
1262 | 63 | $echo "" | ||
1263 | 64 | $echo "Do you want uppercase and lowercase versions of the MUMPS routines? (y or n)\c" | ||
1264 | 65 | -read resp | ||
1265 | 66 | +resp="n" | ||
1266 | 67 | if [ "$resp" = "Y" -o "$resp" = "y" ] ; then | ||
1267 | 68 | $echo "" | ||
1268 | 69 | $echo "Creating lowercase versions of the MUMPS routines." | ||
1269 | 70 | @@ -896,7 +896,7 @@ | ||
1270 | 71 | $echo "" | ||
1271 | 72 | $echo "Installation completed. Would you like all the temporary files" | ||
1272 | 73 | $echo "removed from this directory? (y or n) \c" | ||
1273 | 74 | -read resp | ||
1274 | 75 | +resp="n" | ||
1275 | 76 | |||
1276 | 77 | if [ "$resp" = "Y" -o "$resp" = "y" ] ; then | ||
1277 | 78 | \rm -rf $binaries $pathmods $rscripts $nscripts $dirs configure \ | ||
1278 | 0 | 79 | ||
1279 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/postinst' | |||
1280 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/postinst 1970-01-01 00:00:00 +0000 | |||
1281 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/postinst 2010-09-23 20:57:40 +0000 | |||
1282 | @@ -0,0 +1,56 @@ | |||
1283 | 1 | #!/bin/sh | ||
1284 | 2 | # postinst script for fis-gtm-5.4000 | ||
1285 | 3 | # | ||
1286 | 4 | # see: dh_installdeb(1) | ||
1287 | 5 | |||
1288 | 6 | set -e | ||
1289 | 7 | |||
1290 | 8 | # summary of how this script can be called: | ||
1291 | 9 | # * <postinst> `configure' <most-recently-configured-version> | ||
1292 | 10 | # * <old-postinst> `abort-upgrade' <new version> | ||
1293 | 11 | # * <conflictor's-postinst> `abort-remove' `in-favour' <package> | ||
1294 | 12 | # <new-version> | ||
1295 | 13 | # * <postinst> `abort-remove' | ||
1296 | 14 | # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' | ||
1297 | 15 | # <failed-install-package> <version> `removing' | ||
1298 | 16 | # <conflicting-package> <version> | ||
1299 | 17 | # for details, see http://www.debian.org/doc/debian-policy/ or | ||
1300 | 18 | # the debian-policy package | ||
1301 | 19 | |||
1302 | 20 | |||
1303 | 21 | case "$1" in | ||
1304 | 22 | configure) | ||
1305 | 23 | if ! getent group gtm >/dev/null; then | ||
1306 | 24 | addgroup --quiet gtm | ||
1307 | 25 | fi | ||
1308 | 26 | |||
1309 | 27 | if [ `dpkg --print-architecture` = "amd64" ]; then | ||
1310 | 28 | gtm_dist=/opt/lsb-gtm/V5.4-000_x86_64 | ||
1311 | 29 | else | ||
1312 | 30 | gtm_dist=/opt/lsb-gtm/V5.4-000_i686 | ||
1313 | 31 | fi | ||
1314 | 32 | |||
1315 | 33 | suid_files=`find $gtm_dist -perm /4000` | ||
1316 | 34 | |||
1317 | 35 | chgrp -R gtm $gtm_dist | ||
1318 | 36 | chgrp -R bin $gtm_dist/gtmsecshrdir | ||
1319 | 37 | |||
1320 | 38 | # the chgrp commands above may cause files to lose the setuid bit; re-add it here just in case | ||
1321 | 39 | for file in $suid_files; do chmod u+s $file; done | ||
1322 | 40 | ;; | ||
1323 | 41 | |||
1324 | 42 | abort-upgrade|abort-remove|abort-deconfigure) | ||
1325 | 43 | ;; | ||
1326 | 44 | |||
1327 | 45 | *) | ||
1328 | 46 | echo "postinst called with unknown argument \`$1'" >&2 | ||
1329 | 47 | exit 1 | ||
1330 | 48 | ;; | ||
1331 | 49 | esac | ||
1332 | 50 | |||
1333 | 51 | # dh_installdeb will replace this with shell code automatically | ||
1334 | 52 | # generated by other debhelper scripts. | ||
1335 | 53 | |||
1336 | 54 | #DEBHELPER# | ||
1337 | 55 | |||
1338 | 56 | exit 0 | ||
1339 | 0 | 57 | ||
1340 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/postrm' | |||
1341 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/postrm 1970-01-01 00:00:00 +0000 | |||
1342 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/postrm 2010-09-23 20:57:40 +0000 | |||
1343 | @@ -0,0 +1,44 @@ | |||
1344 | 1 | #!/bin/sh | ||
1345 | 2 | # postrm script for fis-gtm-5.4000 | ||
1346 | 3 | # | ||
1347 | 4 | # see: dh_installdeb(1) | ||
1348 | 5 | |||
1349 | 6 | set -e | ||
1350 | 7 | |||
1351 | 8 | # summary of how this script can be called: | ||
1352 | 9 | # * <postrm> `remove' | ||
1353 | 10 | # * <postrm> `purge' | ||
1354 | 11 | # * <old-postrm> `upgrade' <new-version> | ||
1355 | 12 | # * <new-postrm> `failed-upgrade' <old-version> | ||
1356 | 13 | # * <new-postrm> `abort-install' | ||
1357 | 14 | # * <new-postrm> `abort-install' <old-version> | ||
1358 | 15 | # * <new-postrm> `abort-upgrade' <old-version> | ||
1359 | 16 | # * <disappearer's-postrm> `disappear' <overwriter> | ||
1360 | 17 | # <overwriter-version> | ||
1361 | 18 | # for details, see http://www.debian.org/doc/debian-policy/ or | ||
1362 | 19 | # the debian-policy package | ||
1363 | 20 | |||
1364 | 21 | |||
1365 | 22 | case "$1" in | ||
1366 | 23 | purge) | ||
1367 | 24 | # if we were the last GT.M package on the system, remove the gtm group | ||
1368 | 25 | if [ ! -d /opt/lsb-gtm ]; then | ||
1369 | 26 | delgroup --quiet gtm || : | ||
1370 | 27 | fi | ||
1371 | 28 | ;; | ||
1372 | 29 | |||
1373 | 30 | remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) | ||
1374 | 31 | ;; | ||
1375 | 32 | |||
1376 | 33 | *) | ||
1377 | 34 | echo "postrm called with unknown argument \`$1'" >&2 | ||
1378 | 35 | exit 1 | ||
1379 | 36 | ;; | ||
1380 | 37 | esac | ||
1381 | 38 | |||
1382 | 39 | # dh_installdeb will replace this with shell code automatically | ||
1383 | 40 | # generated by other debhelper scripts. | ||
1384 | 41 | |||
1385 | 42 | #DEBHELPER# | ||
1386 | 43 | |||
1387 | 44 | exit 0 | ||
1388 | 0 | 45 | ||
1389 | === added file 'packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/rules' | |||
1390 | --- packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/rules 1970-01-01 00:00:00 +0000 | |||
1391 | +++ packages/deb/Ubuntu/10.10/fis-gtm-5.4000/debian/rules 2010-09-23 20:57:40 +0000 | |||
1392 | @@ -0,0 +1,190 @@ | |||
1393 | 1 | #!/usr/bin/make -f | ||
1394 | 2 | # -*- makefile -*- | ||
1395 | 3 | # Sample debian/rules that uses debhelper. | ||
1396 | 4 | # | ||
1397 | 5 | # This file was originally written by Joey Hess and Craig Small. | ||
1398 | 6 | # As a special exception, when this file is copied by dh-make into a | ||
1399 | 7 | # dh-make output file, you may use that output file without restriction. | ||
1400 | 8 | # This special exception was added by Craig Small in version 0.37 of dh-make. | ||
1401 | 9 | # | ||
1402 | 10 | # Modified to make a template file for a multi-binary package with separated | ||
1403 | 11 | # build-arch and build-indep targets by Bill Allombert 2001 | ||
1404 | 12 | |||
1405 | 13 | # Uncomment this to turn on verbose mode. | ||
1406 | 14 | #export DH_VERBOSE=1 | ||
1407 | 15 | |||
1408 | 16 | # This has to be exported to make some magic below work. | ||
1409 | 17 | export DH_OPTIONS | ||
1410 | 18 | |||
1411 | 19 | #enable dpatch | ||
1412 | 20 | include /usr/share/dpatch/dpatch.make | ||
1413 | 21 | |||
1414 | 22 | DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) | ||
1415 | 23 | DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) | ||
1416 | 24 | |||
1417 | 25 | ifeq ($(DEB_HOST_ARCH),amd64) | ||
1418 | 26 | GTM_DIST = /opt/lsb-gtm/V5.4-000_x86_64 | ||
1419 | 27 | else | ||
1420 | 28 | GTM_DIST = /opt/lsb-gtm/V5.4-000_i686 | ||
1421 | 29 | endif | ||
1422 | 30 | |||
1423 | 31 | ifeq ($(DEB_HOST_ARCH_OS),linux) | ||
1424 | 32 | GTM_HOSTOS = Linux | ||
1425 | 33 | else | ||
1426 | 34 | GTM_HOSTOS = $(DEB_HOST_ARCH_OS) | ||
1427 | 35 | endif | ||
1428 | 36 | |||
1429 | 37 | GT_CC_COMPILER = gcc-4.1 | ||
1430 | 38 | |||
1431 | 39 | GTM_ICU_VERSION_MAJMIN = $(shell icu-config --version | sed 's/\.//' | cut -f 1 -d '.') | ||
1432 | 40 | GTM_ICU_VERSION_MINORVER = $(shell expr $(GTM_ICU_VERSION_MAJMIN) % 10) | ||
1433 | 41 | GTM_ICU_VERSION_MAJORVER = $(shell expr $(GTM_ICU_VERSION_MAJMIN) / 10) | ||
1434 | 42 | GTM_ICU_VERSION = $(GTM_ICU_VERSION_MAJORVER).$(GTM_ICU_VERSION_MINORVER) | ||
1435 | 43 | |||
1436 | 44 | PACKAGE=fis-gtm-5.4000 | ||
1437 | 45 | |||
1438 | 46 | |||
1439 | 47 | |||
1440 | 48 | configure: | ||
1441 | 49 | dh_testdir | ||
1442 | 50 | |||
1443 | 51 | # GT.M needs to be built with tcsh, and with a bunch of environmental variables | ||
1444 | 52 | # set. Since we can't run tcsh interactively, we put all the setenv commands | ||
1445 | 53 | # and the build command itself into a temporary script, then execute it with | ||
1446 | 54 | # tcsh. | ||
1447 | 55 | echo 'setenv gtm_curpro $(GTM_DIST)' > build.csh | ||
1448 | 56 | echo 'setenv gtm_exe $(GTM_DIST)' >> build.csh | ||
1449 | 57 | echo 'setenv HOSTOS $(GTM_HOSTOS)' >> build.csh | ||
1450 | 58 | echo 'setenv gtm_tools $(CURDIR)/sr_linux' >> build.csh | ||
1451 | 59 | echo 'setenv gtm_inc $(CURDIR)/sr_linux' >> build.csh | ||
1452 | 60 | if [ "$(DEB_HOST_ARCH)" = "amd64" ]; then \ | ||
1453 | 61 | echo 'setenv OBJECT_MODE 64' >> build.csh ; \ | ||
1454 | 62 | fi | ||
1455 | 63 | echo 'setenv distro ubuntu' >> build.csh | ||
1456 | 64 | echo 'setenv gtm_icu_version $(GTM_ICU_VERSION)' >> build.csh | ||
1457 | 65 | echo 'setenv gtm_version_change 1' >> build.csh | ||
1458 | 66 | cat sr_unix/gtm_env.csh >> build.csh | ||
1459 | 67 | |||
1460 | 68 | # GT.M 5.3004 requires gcc-4.1, Jaunty's default (gcc 4.3) doesn't work | ||
1461 | 69 | echo 'setenv gt_cc_compiler $(GT_CC_COMPILER)' >> build.csh | ||
1462 | 70 | |||
1463 | 71 | # GT.M's makefiles get confused if this isn't reset back to 0 | ||
1464 | 72 | echo 'setenv MAKELEVEL 0' >> build.csh | ||
1465 | 73 | |||
1466 | 74 | |||
1467 | 75 | #Architecture | ||
1468 | 76 | build: patch-stamp build-arch build-indep | ||
1469 | 77 | |||
1470 | 78 | build-arch: build-arch-stamp | ||
1471 | 79 | build-arch-stamp: configure | ||
1472 | 80 | echo '$(MAKE) -f sr_unix/comlist.mk -I./sr_unix -I./sr_linux buildtypes=pro gtm_ver=$(CURDIR)' >> build.csh | ||
1473 | 81 | tcsh -b build.csh | ||
1474 | 82 | |||
1475 | 83 | touch $@ | ||
1476 | 84 | |||
1477 | 85 | build-indep: build-indep-stamp | ||
1478 | 86 | build-indep-stamp: configure | ||
1479 | 87 | |||
1480 | 88 | # Add here commands to compile the indep part of the package. | ||
1481 | 89 | #$(MAKE) doc | ||
1482 | 90 | touch $@ | ||
1483 | 91 | |||
1484 | 92 | clean: unpatch configure | ||
1485 | 93 | dh_testdir | ||
1486 | 94 | dh_testroot | ||
1487 | 95 | rm -f build-arch-stamp build-indep-stamp | ||
1488 | 96 | |||
1489 | 97 | echo '$(MAKE) -f sr_unix/comlist.mk -I./sr_unix -I./sr_linux buildtypes=pro gtm_ver=$(CURDIR) clean' >> build.csh | ||
1490 | 98 | tcsh -b build.csh | ||
1491 | 99 | rm -f build.csh | ||
1492 | 100 | |||
1493 | 101 | rm -rf gtm | ||
1494 | 102 | |||
1495 | 103 | dh_clean | ||
1496 | 104 | |||
1497 | 105 | install: install-indep install-arch | ||
1498 | 106 | install-indep: | ||
1499 | 107 | dh_testdir | ||
1500 | 108 | dh_testroot | ||
1501 | 109 | dh_prep -i | ||
1502 | 110 | dh_installdirs -i | ||
1503 | 111 | |||
1504 | 112 | # Add here commands to install the indep part of the package into | ||
1505 | 113 | # debian/<package>-doc. | ||
1506 | 114 | #INSTALLDOC# | ||
1507 | 115 | |||
1508 | 116 | dh_install -i | ||
1509 | 117 | |||
1510 | 118 | install-arch: | ||
1511 | 119 | dh_testdir | ||
1512 | 120 | dh_testroot | ||
1513 | 121 | dh_prep -s | ||
1514 | 122 | dh_installdirs -s | ||
1515 | 123 | |||
1516 | 124 | # Move the existing GT.M installation out of the way | ||
1517 | 125 | rm -rf $(GTM_DIST).bak | ||
1518 | 126 | mv $(GTM_DIST) $(GTM_DIST).bak | ||
1519 | 127 | |||
1520 | 128 | # We need to patch the configure script to pre-answer all of the prompts and | ||
1521 | 129 | # set the installation directory | ||
1522 | 130 | cd pro ; \ | ||
1523 | 131 | cat ../debian/patches/99-noninteractive-configure.patch | \ | ||
1524 | 132 | sed 's,@GTM_DIST@,$(GTM_DIST),' | \ | ||
1525 | 133 | sed 's,@GTM_ICU_VERSION@,$(GTM_ICU_VERSION),' | \ | ||
1526 | 134 | patch -p0 -b ; \ | ||
1527 | 135 | chmod +x configure ; \ | ||
1528 | 136 | ./configure | ||
1529 | 137 | |||
1530 | 138 | # Move the new GT.M installation to a temporary directory, but do not copy it into the package root yet | ||
1531 | 139 | mv $(GTM_DIST) gtm | ||
1532 | 140 | |||
1533 | 141 | # Restore the existing GT.M installation | ||
1534 | 142 | mv $(GTM_DIST).bak $(GTM_DIST) | ||
1535 | 143 | |||
1536 | 144 | dh_install -s | ||
1537 | 145 | # Must not depend on anything. This is to be called by | ||
1538 | 146 | # binary-arch/binary-indep | ||
1539 | 147 | # in another 'make' thread. | ||
1540 | 148 | binary-common: | ||
1541 | 149 | dh_testdir | ||
1542 | 150 | dh_testroot | ||
1543 | 151 | dh_installchangelogs | ||
1544 | 152 | dh_installdocs | ||
1545 | 153 | dh_installexamples | ||
1546 | 154 | # dh_installmenu | ||
1547 | 155 | # dh_installdebconf | ||
1548 | 156 | # dh_installlogrotate | ||
1549 | 157 | # dh_installemacsen | ||
1550 | 158 | # dh_installpam | ||
1551 | 159 | # dh_installmime | ||
1552 | 160 | # dh_python | ||
1553 | 161 | # dh_installinit | ||
1554 | 162 | # dh_installcron | ||
1555 | 163 | # dh_installinfo | ||
1556 | 164 | dh_installman | ||
1557 | 165 | dh_link | ||
1558 | 166 | dh_strip | ||
1559 | 167 | dh_compress | ||
1560 | 168 | dh_fixperms | ||
1561 | 169 | # copy files into package root after dh_fixperms to ensure permissions | ||
1562 | 170 | # are correct. files are owned by group bin for now; will change to | ||
1563 | 171 | # group gtm in postinst | ||
1564 | 172 | rm -rf debian/$(PACKAGE)$(GTM_DIST) | ||
1565 | 173 | cp -a gtm debian/$(PACKAGE)$(GTM_DIST) | ||
1566 | 174 | # dh_perl | ||
1567 | 175 | dh_makeshlibs | ||
1568 | 176 | dh_installdeb | ||
1569 | 177 | dh_shlibdeps | ||
1570 | 178 | dh_gencontrol | ||
1571 | 179 | dh_md5sums | ||
1572 | 180 | dh_builddeb | ||
1573 | 181 | # Build architecture independant packages using the common target. | ||
1574 | 182 | binary-indep: build-indep install-indep | ||
1575 | 183 | $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common | ||
1576 | 184 | |||
1577 | 185 | # Build architecture dependant packages using the common target. | ||
1578 | 186 | binary-arch: build-arch install-arch | ||
1579 | 187 | $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common | ||
1580 | 188 | |||
1581 | 189 | binary: binary-arch binary-indep | ||
1582 | 190 | .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure | ||
1583 | 0 | 191 | ||
1584 | === added directory 'packages/deb/Ubuntu/10.10/openvista-gtm-integration' | |||
1585 | === added directory 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian' | |||
1586 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/changelog' | |||
1587 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/changelog 1970-01-01 00:00:00 +0000 | |||
1588 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/changelog 2010-09-23 20:57:40 +0000 | |||
1589 | @@ -0,0 +1,81 @@ | |||
1590 | 1 | openvista-gtm-integration (0.8.9-0ubuntu1~msc1~maverick1) maverick; urgency=low | ||
1591 | 2 | |||
1592 | 3 | * Package for Ubuntu 10.10 (Maverick) (Closes: #645637) | ||
1593 | 4 | |||
1594 | 5 | -- Jonathan Tai <jon.tai@medsphere.com> Thu, 23 Sep 2010 10:41:13 -0700 | ||
1595 | 6 | |||
1596 | 7 | openvista-gtm-integration (0.8.9-0ubuntu1~msc1~lucid1) lucid; urgency=low | ||
1597 | 8 | |||
1598 | 9 | * 0.8.9 release | ||
1599 | 10 | |||
1600 | 11 | -- Jonathan Tai <jon.tai@medsphere.com> Thu, 27 May 2010 10:36:15 -0700 | ||
1601 | 12 | |||
1602 | 13 | openvista-gtm-integration (0.8.8-0ubuntu1~msc1~lucid1) lucid; urgency=low | ||
1603 | 14 | |||
1604 | 15 | * 0.8.8 release | ||
1605 | 16 | |||
1606 | 17 | -- Jonathan Tai <jon.tai@medsphere.com> Thu, 11 Feb 2010 10:30:37 -0800 | ||
1607 | 18 | |||
1608 | 19 | openvista-gtm-integration (0.8.7-0ubuntu1~msc3~lucid1) lucid; urgency=low | ||
1609 | 20 | |||
1610 | 21 | * Support GT.M 5.4-000 (Closes: #516156) | ||
1611 | 22 | |||
1612 | 23 | -- Jonathan Tai <jon.tai@medsphere.com> Fri, 5 Feb 2010 14:36:22 -0800 | ||
1613 | 24 | |||
1614 | 25 | openvista-gtm-integration (0.8.7-0ubuntu1~msc2~lucid1) lucid; urgency=low | ||
1615 | 26 | |||
1616 | 27 | * Add missing dependency on ssl-cert (Closes: #503889) | ||
1617 | 28 | |||
1618 | 29 | -- Jonathan Tai <jon.tai@medsphere.com> Fri, 22 Jan 2010 12:25:44 -0800 | ||
1619 | 30 | |||
1620 | 31 | openvista-gtm-integration (0.8.7-0ubuntu1~msc1~karmic1) karmic; urgency=low | ||
1621 | 32 | |||
1622 | 33 | * 0.8.7 release | ||
1623 | 34 | |||
1624 | 35 | -- Jonathan Tai <jon.tai@medsphere.com> Mon, 11 Jan 2010 12:49:44 -0800 | ||
1625 | 36 | |||
1626 | 37 | openvista-gtm-integration (0.8.6-0ubuntu2~msc3~karmic1) karmic; urgency=low | ||
1627 | 38 | |||
1628 | 39 | * Update utils to honor env config file if it exists (Closes: #336166) | ||
1629 | 40 | * Add man pages for new ovcheckperms and ovgetvar utilities | ||
1630 | 41 | * Add config file templates in /usr/share/openvista | ||
1631 | 42 | * Remove executable bit on munin plugin configuration file | ||
1632 | 43 | |||
1633 | 44 | -- Jonathan Tai <jon.tai@medsphere.com> Thu, 17 Dec 2009 10:11:25 -0800 | ||
1634 | 45 | |||
1635 | 46 | openvista-gtm-integration (0.8.6-0ubuntu2~msc2~karmic1) karmic; urgency=low | ||
1636 | 47 | |||
1637 | 48 | * Re-order dependencies so preferred packages come first. | ||
1638 | 49 | |||
1639 | 50 | -- Jonathan Tai <jon.tai@medsphere.com> Thu, 19 Nov 2009 20:48:20 -0800 | ||
1640 | 51 | |||
1641 | 52 | openvista-gtm-integration (0.8.6-0ubuntu2~msc1~karmic1) karmic; urgency=low | ||
1642 | 53 | |||
1643 | 54 | * Update standards version for Ubuntu 9.10 (Karmic). | ||
1644 | 55 | |||
1645 | 56 | -- Jonathan Tai <jon.tai@medsphere.com> Thu, 19 Nov 2009 13:14:31 -0800 | ||
1646 | 57 | |||
1647 | 58 | openvista-gtm-integration (0.8.6-0ubuntu2~msc1~jaunty1) jaunty; urgency=low | ||
1648 | 59 | |||
1649 | 60 | * Change package versioning scheme to accommodate multiple Ubuntu releases. | ||
1650 | 61 | |||
1651 | 62 | -- Jonathan Tai <jon.tai@medsphere.com> Thu, 19 Nov 2009 12:57:16 -0800 | ||
1652 | 63 | |||
1653 | 64 | openvista-gtm-integration (0.8.6-0ubuntu1) jaunty; urgency=low | ||
1654 | 65 | |||
1655 | 66 | * 0.8.6 release | ||
1656 | 67 | |||
1657 | 68 | -- Jonathan Tai <jon.tai@medsphere.com> Fri, 30 Oct 2009 21:18:35 -0700 | ||
1658 | 69 | |||
1659 | 70 | openvista-gtm-integration (0.8.5-0ubuntu2) jaunty; urgency=low | ||
1660 | 71 | |||
1661 | 72 | * Package munin plugins. (Closes: #337644) | ||
1662 | 73 | |||
1663 | 74 | -- Jonathan Tai <jon.tai@medsphere.com> Wed, 21 Oct 2009 08:00:34 -0700 | ||
1664 | 75 | |||
1665 | 76 | openvista-gtm-integration (0.8.5-0ubuntu1) jaunty; urgency=low | ||
1666 | 77 | |||
1667 | 78 | * Consolidate openvista-utils and openvista-libs-* packages into a single | ||
1668 | 79 | source package. (Closes: #420754) | ||
1669 | 80 | |||
1670 | 81 | -- Jonathan Tai <jon.tai@medsphere.com> Mon, 19 Oct 2009 18:45:56 -0700 | ||
1671 | 0 | 82 | ||
1672 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/changelogs' | |||
1673 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/changelogs 1970-01-01 00:00:00 +0000 | |||
1674 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/changelogs 2010-09-23 20:57:40 +0000 | |||
1675 | @@ -0,0 +1,1 @@ | |||
1676 | 1 | ChangeLog | ||
1677 | 0 | 2 | ||
1678 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/compat' | |||
1679 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/compat 1970-01-01 00:00:00 +0000 | |||
1680 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/compat 2010-09-23 20:57:40 +0000 | |||
1681 | @@ -0,0 +1,1 @@ | |||
1682 | 1 | 7 | ||
1683 | 0 | 2 | ||
1684 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/control' | |||
1685 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/control 1970-01-01 00:00:00 +0000 | |||
1686 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/control 2010-09-23 20:57:40 +0000 | |||
1687 | @@ -0,0 +1,83 @@ | |||
1688 | 1 | Source: openvista-gtm-integration | ||
1689 | 2 | Section: misc | ||
1690 | 3 | Priority: optional | ||
1691 | 4 | Maintainer: Jonathan Tai <jon.tai@medsphere.com> | ||
1692 | 5 | Build-Depends: debhelper (>= 7), libpam0g-dev, fis-gtm-5.3004, fis-gtm-5.3004a, fis-gtm-5.4000 | ||
1693 | 6 | Standards-Version: 3.8.3 | ||
1694 | 7 | Homepage: https://medsphere.org/community/project/gtm | ||
1695 | 8 | |||
1696 | 9 | Package: openvista-utils | ||
1697 | 10 | Architecture: any | ||
1698 | 11 | Depends: ${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 | ||
1699 | 12 | Recommends: openssh-server, apache2 | ||
1700 | 13 | Suggests: putty-tools, bash-completion, pbzip2 (>= 1.0.5) | ||
1701 | 14 | Description: Utilities for configuring and managing OpenVista | ||
1702 | 15 | OpenVista is a cost-effective, open, trusted and complete EHR which enhances | ||
1703 | 16 | patient safety, increases clinical and operational efficiency and provides an | ||
1704 | 17 | opportunity to improve quality of care delivery. | ||
1705 | 18 | . | ||
1706 | 19 | This package provides command-line utilities that aid in configuring and | ||
1707 | 20 | managing OpenVista instances. | ||
1708 | 21 | |||
1709 | 22 | Package: openvista-libs-5.3004 | ||
1710 | 23 | Architecture: any | ||
1711 | 24 | Depends: ${shlibs:Depends}, ${misc:Depends}, fis-gtm-5.3004 | ||
1712 | 25 | Provides: openvista-libs | ||
1713 | 26 | Description: GT.M External Calls for OpenVista | ||
1714 | 27 | OpenVista is a cost-effective, open, trusted and complete EHR which enhances | ||
1715 | 28 | patient safety, increases clinical and operational efficiency and provides an | ||
1716 | 29 | opportunity to improve quality of care delivery. | ||
1717 | 30 | . | ||
1718 | 31 | This package provides a shared library that OpenVista code running in GT.M | ||
1719 | 32 | calls out to for PAM authentication and duplicating a device onto a spawned | ||
1720 | 33 | child's stdin/stdout. This package also provides an suid wrapper around GT.M | ||
1721 | 34 | utilities used to send signals to other GT.M processes. | ||
1722 | 35 | . | ||
1723 | 36 | The shared library in this package was built against GT.M V5.3-004. | ||
1724 | 37 | |||
1725 | 38 | Package: openvista-libs-5.3004a | ||
1726 | 39 | Architecture: any | ||
1727 | 40 | Depends: ${shlibs:Depends}, ${misc:Depends}, fis-gtm-5.3004a | ||
1728 | 41 | Provides: openvista-libs | ||
1729 | 42 | Description: GT.M External Calls for OpenVista | ||
1730 | 43 | OpenVista is a cost-effective, open, trusted and complete EHR which enhances | ||
1731 | 44 | patient safety, increases clinical and operational efficiency and provides an | ||
1732 | 45 | opportunity to improve quality of care delivery. | ||
1733 | 46 | . | ||
1734 | 47 | This package provides a shared library that OpenVista code running in GT.M | ||
1735 | 48 | calls out to for PAM authentication and duplicating a device onto a spawned | ||
1736 | 49 | child's stdin/stdout. This package also provides an suid wrapper around GT.M | ||
1737 | 50 | utilities used to send signals to other GT.M processes. | ||
1738 | 51 | . | ||
1739 | 52 | The shared library in this package was built against GT.M V5.3-004A. | ||
1740 | 53 | |||
1741 | 54 | Package: openvista-libs-5.4000 | ||
1742 | 55 | Architecture: any | ||
1743 | 56 | Depends: ${shlibs:Depends}, ${misc:Depends}, fis-gtm-5.4000 | ||
1744 | 57 | Provides: openvista-libs | ||
1745 | 58 | Description: GT.M External Calls for OpenVista | ||
1746 | 59 | OpenVista is a cost-effective, open, trusted and complete EHR which enhances | ||
1747 | 60 | patient safety, increases clinical and operational efficiency and provides an | ||
1748 | 61 | opportunity to improve quality of care delivery. | ||
1749 | 62 | . | ||
1750 | 63 | This package provides a shared library that OpenVista code running in GT.M | ||
1751 | 64 | calls out to for PAM authentication and duplicating a device onto a spawned | ||
1752 | 65 | child's stdin/stdout. This package also provides an suid wrapper around GT.M | ||
1753 | 66 | utilities used to send signals to other GT.M processes. | ||
1754 | 67 | . | ||
1755 | 68 | The shared library in this package was built against GT.M V5.4-000. | ||
1756 | 69 | |||
1757 | 70 | Package: openvista-munin-plugins | ||
1758 | 71 | Architecture: all | ||
1759 | 72 | Depends: ${shlibs:Depends}, ${misc:Depends}, munin-node, openvista-utils | ||
1760 | 73 | Description: Munin plugins to monitor OpenVista instances | ||
1761 | 74 | OpenVista is a cost-effective, open, trusted and complete EHR which enhances | ||
1762 | 75 | patient safety, increases clinical and operational efficiency and provides an | ||
1763 | 76 | opportunity to improve quality of care delivery. | ||
1764 | 77 | . | ||
1765 | 78 | Munin is a highly flexible and powerful solution used to create graphs of | ||
1766 | 79 | virtually everything imaginable throughout your network, while still | ||
1767 | 80 | maintaining a rattling ease of installation and configuration. | ||
1768 | 81 | . | ||
1769 | 82 | This package contains plugins for the Munin node to monitor OpenVista | ||
1770 | 83 | instances. | ||
1771 | 0 | 84 | ||
1772 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/copyright' | |||
1773 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/copyright 1970-01-01 00:00:00 +0000 | |||
1774 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/copyright 2010-09-23 20:57:40 +0000 | |||
1775 | @@ -0,0 +1,50 @@ | |||
1776 | 1 | This package was debianized by Jonathan Tai <jon.tai@medsphere.com> on | ||
1777 | 2 | Wed, 08 Jul 2009 21:26:33 -0700. | ||
1778 | 3 | |||
1779 | 4 | It was downloaded from <https://medsphere.org/community/project/gtm> | ||
1780 | 5 | |||
1781 | 6 | Upstream Author: | ||
1782 | 7 | |||
1783 | 8 | Medsphere Systems Corporation | ||
1784 | 9 | |||
1785 | 10 | Copyright: | ||
1786 | 11 | |||
1787 | 12 | Copyright (C) 2009 Medsphere Systems Corporation | ||
1788 | 13 | |||
1789 | 14 | License: | ||
1790 | 15 | |||
1791 | 16 | The utilities provided by the OpenVista/GT.M Integration Project simplify | ||
1792 | 17 | installation, configuration, and operation of OpenVista Server when running on | ||
1793 | 18 | GT.M on Linux. | ||
1794 | 19 | |||
1795 | 20 | Copyright (C) 2009 Medsphere Systems Corporation | ||
1796 | 21 | |||
1797 | 22 | This program is free software; you can redistribute it and/or modify it solely | ||
1798 | 23 | under the terms of the GNU Affero General Public License version 3 as published | ||
1799 | 24 | by the Free Software Foundation. | ||
1800 | 25 | |||
1801 | 26 | This program is distributed in the hope that it will be useful, but WITHOUT | ||
1802 | 27 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
1803 | 28 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License | ||
1804 | 29 | for more details. | ||
1805 | 30 | |||
1806 | 31 | You should have received a copy of the GNU Affero General Public License along | ||
1807 | 32 | with this program; if not, see http://www.gnu.org/licenses or write to the Free | ||
1808 | 33 | Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
1809 | 34 | 02110-1301 USA. | ||
1810 | 35 | |||
1811 | 36 | You can contact Medsphere Systems Corporation headquarters at 1917 Palomar Oaks Way, | ||
1812 | 37 | Carlsbad, Ca. 92008 or at legal@medsphere.com. | ||
1813 | 38 | |||
1814 | 39 | The interactive user interfaces in modified source and object code versions | ||
1815 | 40 | of this program must display Appropriate Legal Notices, as required under | ||
1816 | 41 | Section 5 of the GNU Affero General Public License version 3. | ||
1817 | 42 | |||
1818 | 43 | In accordance with Section 7(b) of the GNU Affero General Public License | ||
1819 | 44 | version 3, these Appropriate Legal Notices must retain the display of the | ||
1820 | 45 | "Powered by Medsphere" logo. If the display of the logo is not reasonably | ||
1821 | 46 | feasible for technical reasons, the Appropriate Legal Notices must display | ||
1822 | 47 | the words "Powered by Medsphere". | ||
1823 | 48 | |||
1824 | 49 | The Debian packaging is copyright 2009, Medsphere Systems Corporation and | ||
1825 | 50 | is licensed under the AGPL. | ||
1826 | 0 | 51 | ||
1827 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/docs' | |||
1828 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/docs 1970-01-01 00:00:00 +0000 | |||
1829 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/docs 2010-09-23 20:57:40 +0000 | |||
1830 | @@ -0,0 +1,3 @@ | |||
1831 | 1 | COPYING.AGPL | ||
1832 | 2 | NEWS | ||
1833 | 3 | README | ||
1834 | 0 | 4 | ||
1835 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004.dirs' | |||
1836 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004.dirs 1970-01-01 00:00:00 +0000 | |||
1837 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004.dirs 2010-09-23 20:57:40 +0000 | |||
1838 | @@ -0,0 +1,1 @@ | |||
1839 | 1 | usr/share/doc/openvista-libs-5.3004 | ||
1840 | 0 | 2 | ||
1841 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004.postinst' | |||
1842 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004.postinst 1970-01-01 00:00:00 +0000 | |||
1843 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004.postinst 2010-09-23 20:57:40 +0000 | |||
1844 | @@ -0,0 +1,49 @@ | |||
1845 | 1 | #!/bin/sh | ||
1846 | 2 | # postinst script for openvista-libs-5.3004 | ||
1847 | 3 | # | ||
1848 | 4 | # see: dh_installdeb(1) | ||
1849 | 5 | |||
1850 | 6 | set -e | ||
1851 | 7 | |||
1852 | 8 | # summary of how this script can be called: | ||
1853 | 9 | # * <postinst> `configure' <most-recently-configured-version> | ||
1854 | 10 | # * <old-postinst> `abort-upgrade' <new version> | ||
1855 | 11 | # * <conflictor's-postinst> `abort-remove' `in-favour' <package> | ||
1856 | 12 | # <new-version> | ||
1857 | 13 | # * <postinst> `abort-remove' | ||
1858 | 14 | # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' | ||
1859 | 15 | # <failed-install-package> <version> `removing' | ||
1860 | 16 | # <conflicting-package> <version> | ||
1861 | 17 | # for details, see http://www.debian.org/doc/debian-policy/ or | ||
1862 | 18 | # the debian-policy package | ||
1863 | 19 | |||
1864 | 20 | |||
1865 | 21 | case "$1" in | ||
1866 | 22 | configure) | ||
1867 | 23 | if [ `dpkg --print-architecture` = "amd64" ]; then | ||
1868 | 24 | gtm_dist=/opt/lsb-gtm/V5.3-004_x86_64 | ||
1869 | 25 | else | ||
1870 | 26 | gtm_dist=/opt/lsb-gtm/V5.3-004_i686 | ||
1871 | 27 | fi | ||
1872 | 28 | |||
1873 | 29 | chgrp gtm $gtm_dist/libopenvista.so $gtm_dist/openvista.xc $gtm_dist/gtmsignal | ||
1874 | 30 | |||
1875 | 31 | # the chgrp command above may cause gtmsignal to lose the setuid bit; re-add it here just in case | ||
1876 | 32 | chmod u+s $gtm_dist/gtmsignal | ||
1877 | 33 | ;; | ||
1878 | 34 | |||
1879 | 35 | abort-upgrade|abort-remove|abort-deconfigure) | ||
1880 | 36 | ;; | ||
1881 | 37 | |||
1882 | 38 | *) | ||
1883 | 39 | echo "postinst called with unknown argument \`$1'" >&2 | ||
1884 | 40 | exit 1 | ||
1885 | 41 | ;; | ||
1886 | 42 | esac | ||
1887 | 43 | |||
1888 | 44 | # dh_installdeb will replace this with shell code automatically | ||
1889 | 45 | # generated by other debhelper scripts. | ||
1890 | 46 | |||
1891 | 47 | #DEBHELPER# | ||
1892 | 48 | |||
1893 | 49 | exit 0 | ||
1894 | 0 | 50 | ||
1895 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004a.dirs' | |||
1896 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004a.dirs 1970-01-01 00:00:00 +0000 | |||
1897 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004a.dirs 2010-09-23 20:57:40 +0000 | |||
1898 | @@ -0,0 +1,1 @@ | |||
1899 | 1 | usr/share/doc/openvista-libs-5.3004a | ||
1900 | 0 | 2 | ||
1901 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004a.postinst' | |||
1902 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004a.postinst 1970-01-01 00:00:00 +0000 | |||
1903 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.3004a.postinst 2010-09-23 20:57:40 +0000 | |||
1904 | @@ -0,0 +1,49 @@ | |||
1905 | 1 | #!/bin/sh | ||
1906 | 2 | # postinst script for openvista-libs-5.3004a | ||
1907 | 3 | # | ||
1908 | 4 | # see: dh_installdeb(1) | ||
1909 | 5 | |||
1910 | 6 | set -e | ||
1911 | 7 | |||
1912 | 8 | # summary of how this script can be called: | ||
1913 | 9 | # * <postinst> `configure' <most-recently-configured-version> | ||
1914 | 10 | # * <old-postinst> `abort-upgrade' <new version> | ||
1915 | 11 | # * <conflictor's-postinst> `abort-remove' `in-favour' <package> | ||
1916 | 12 | # <new-version> | ||
1917 | 13 | # * <postinst> `abort-remove' | ||
1918 | 14 | # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' | ||
1919 | 15 | # <failed-install-package> <version> `removing' | ||
1920 | 16 | # <conflicting-package> <version> | ||
1921 | 17 | # for details, see http://www.debian.org/doc/debian-policy/ or | ||
1922 | 18 | # the debian-policy package | ||
1923 | 19 | |||
1924 | 20 | |||
1925 | 21 | case "$1" in | ||
1926 | 22 | configure) | ||
1927 | 23 | if [ `dpkg --print-architecture` = "amd64" ]; then | ||
1928 | 24 | gtm_dist=/opt/lsb-gtm/V5.3-004A_x86_64 | ||
1929 | 25 | else | ||
1930 | 26 | gtm_dist=/opt/lsb-gtm/V5.3-004A_i686 | ||
1931 | 27 | fi | ||
1932 | 28 | |||
1933 | 29 | chgrp gtm $gtm_dist/libopenvista.so $gtm_dist/openvista.xc $gtm_dist/gtmsignal | ||
1934 | 30 | |||
1935 | 31 | # the chgrp command above may cause gtmsignal to lose the setuid bit; re-add it here just in case | ||
1936 | 32 | chmod u+s $gtm_dist/gtmsignal | ||
1937 | 33 | ;; | ||
1938 | 34 | |||
1939 | 35 | abort-upgrade|abort-remove|abort-deconfigure) | ||
1940 | 36 | ;; | ||
1941 | 37 | |||
1942 | 38 | *) | ||
1943 | 39 | echo "postinst called with unknown argument \`$1'" >&2 | ||
1944 | 40 | exit 1 | ||
1945 | 41 | ;; | ||
1946 | 42 | esac | ||
1947 | 43 | |||
1948 | 44 | # dh_installdeb will replace this with shell code automatically | ||
1949 | 45 | # generated by other debhelper scripts. | ||
1950 | 46 | |||
1951 | 47 | #DEBHELPER# | ||
1952 | 48 | |||
1953 | 49 | exit 0 | ||
1954 | 0 | 50 | ||
1955 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.4000.dirs' | |||
1956 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.4000.dirs 1970-01-01 00:00:00 +0000 | |||
1957 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.4000.dirs 2010-09-23 20:57:40 +0000 | |||
1958 | @@ -0,0 +1,1 @@ | |||
1959 | 1 | usr/share/doc/openvista-libs-5.4000 | ||
1960 | 0 | 2 | ||
1961 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.4000.postinst' | |||
1962 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.4000.postinst 1970-01-01 00:00:00 +0000 | |||
1963 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-libs-5.4000.postinst 2010-09-23 20:57:40 +0000 | |||
1964 | @@ -0,0 +1,49 @@ | |||
1965 | 1 | #!/bin/sh | ||
1966 | 2 | # postinst script for openvista-libs-5.4000 | ||
1967 | 3 | # | ||
1968 | 4 | # see: dh_installdeb(1) | ||
1969 | 5 | |||
1970 | 6 | set -e | ||
1971 | 7 | |||
1972 | 8 | # summary of how this script can be called: | ||
1973 | 9 | # * <postinst> `configure' <most-recently-configured-version> | ||
1974 | 10 | # * <old-postinst> `abort-upgrade' <new version> | ||
1975 | 11 | # * <conflictor's-postinst> `abort-remove' `in-favour' <package> | ||
1976 | 12 | # <new-version> | ||
1977 | 13 | # * <postinst> `abort-remove' | ||
1978 | 14 | # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' | ||
1979 | 15 | # <failed-install-package> <version> `removing' | ||
1980 | 16 | # <conflicting-package> <version> | ||
1981 | 17 | # for details, see http://www.debian.org/doc/debian-policy/ or | ||
1982 | 18 | # the debian-policy package | ||
1983 | 19 | |||
1984 | 20 | |||
1985 | 21 | case "$1" in | ||
1986 | 22 | configure) | ||
1987 | 23 | if [ `dpkg --print-architecture` = "amd64" ]; then | ||
1988 | 24 | gtm_dist=/opt/lsb-gtm/V5.4-000_x86_64 | ||
1989 | 25 | else | ||
1990 | 26 | gtm_dist=/opt/lsb-gtm/V5.4-000_i686 | ||
1991 | 27 | fi | ||
1992 | 28 | |||
1993 | 29 | chgrp gtm $gtm_dist/libopenvista.so $gtm_dist/openvista.xc $gtm_dist/gtmsignal | ||
1994 | 30 | |||
1995 | 31 | # the chgrp command above may cause gtmsignal to lose the setuid bit; re-add it here just in case | ||
1996 | 32 | chmod u+s $gtm_dist/gtmsignal | ||
1997 | 33 | ;; | ||
1998 | 34 | |||
1999 | 35 | abort-upgrade|abort-remove|abort-deconfigure) | ||
2000 | 36 | ;; | ||
2001 | 37 | |||
2002 | 38 | *) | ||
2003 | 39 | echo "postinst called with unknown argument \`$1'" >&2 | ||
2004 | 40 | exit 1 | ||
2005 | 41 | ;; | ||
2006 | 42 | esac | ||
2007 | 43 | |||
2008 | 44 | # dh_installdeb will replace this with shell code automatically | ||
2009 | 45 | # generated by other debhelper scripts. | ||
2010 | 46 | |||
2011 | 47 | #DEBHELPER# | ||
2012 | 48 | |||
2013 | 49 | exit 0 | ||
2014 | 0 | 50 | ||
2015 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-munin-plugins.dirs' | |||
2016 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-munin-plugins.dirs 1970-01-01 00:00:00 +0000 | |||
2017 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-munin-plugins.dirs 2010-09-23 20:57:40 +0000 | |||
2018 | @@ -0,0 +1,3 @@ | |||
2019 | 1 | etc/munin/plugin-conf.d | ||
2020 | 2 | usr/share/doc/openvista-munin-plugins | ||
2021 | 3 | usr/share/munin/plugins | ||
2022 | 0 | 4 | ||
2023 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.dirs' | |||
2024 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.dirs 1970-01-01 00:00:00 +0000 | |||
2025 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.dirs 2010-09-23 20:57:40 +0000 | |||
2026 | @@ -0,0 +1,10 @@ | |||
2027 | 1 | etc/apache2/conf.d | ||
2028 | 2 | etc/bash_completion.d | ||
2029 | 3 | opt/openvista | ||
2030 | 4 | sbin | ||
2031 | 5 | usr/bin | ||
2032 | 6 | usr/lib/openvista | ||
2033 | 7 | usr/share/openvista | ||
2034 | 8 | usr/sbin | ||
2035 | 9 | usr/share/doc/openvista-utils | ||
2036 | 10 | var/www/webdav | ||
2037 | 0 | 11 | ||
2038 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.manpages' | |||
2039 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.manpages 1970-01-01 00:00:00 +0000 | |||
2040 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.manpages 2010-09-23 20:57:40 +0000 | |||
2041 | @@ -0,0 +1,15 @@ | |||
2042 | 1 | docs/man8/gtmsignal.8 | ||
2043 | 2 | docs/man8/ovinstanceadd.8 | ||
2044 | 3 | docs/man8/ovinstancedel.8 | ||
2045 | 4 | docs/man8/ovrestore.8 | ||
2046 | 5 | docs/man8/ovauth.8 | ||
2047 | 6 | docs/man1/openvista.1 | ||
2048 | 7 | docs/man1/ovtied.1 | ||
2049 | 8 | docs/man1/ovcc.1 | ||
2050 | 9 | docs/man1/ovbackup.1 | ||
2051 | 10 | docs/man1/ovpurgejournals.1 | ||
2052 | 11 | docs/man1/ovswitchjournals.1 | ||
2053 | 12 | docs/man1/ovimport.1 | ||
2054 | 13 | docs/man1/ovcheckperms.1 | ||
2055 | 14 | docs/man1/ovgetvar.1 | ||
2056 | 15 | docs/man1/ovcompile.1 | ||
2057 | 0 | 16 | ||
2058 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.openvista.pam' | |||
2059 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.openvista.pam 1970-01-01 00:00:00 +0000 | |||
2060 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.openvista.pam 2010-09-23 20:57:40 +0000 | |||
2061 | @@ -0,0 +1,4 @@ | |||
2062 | 1 | @include common-auth | ||
2063 | 2 | @include common-account | ||
2064 | 3 | @include common-password | ||
2065 | 4 | @include common-session | ||
2066 | 0 | 5 | ||
2067 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.postinst' | |||
2068 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.postinst 1970-01-01 00:00:00 +0000 | |||
2069 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.postinst 2010-09-23 20:57:40 +0000 | |||
2070 | @@ -0,0 +1,74 @@ | |||
2071 | 1 | #!/bin/sh | ||
2072 | 2 | # postinst script for openvista-utils | ||
2073 | 3 | # | ||
2074 | 4 | # see: dh_installdeb(1) | ||
2075 | 5 | |||
2076 | 6 | set -e | ||
2077 | 7 | |||
2078 | 8 | # summary of how this script can be called: | ||
2079 | 9 | # * <postinst> `configure' <most-recently-configured-version> | ||
2080 | 10 | # * <old-postinst> `abort-upgrade' <new version> | ||
2081 | 11 | # * <conflictor's-postinst> `abort-remove' `in-favour' <package> | ||
2082 | 12 | # <new-version> | ||
2083 | 13 | # * <postinst> `abort-remove' | ||
2084 | 14 | # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' | ||
2085 | 15 | # <failed-install-package> <version> `removing' | ||
2086 | 16 | # <conflicting-package> <version> | ||
2087 | 17 | # for details, see http://www.debian.org/doc/debian-policy/ or | ||
2088 | 18 | # the debian-policy package | ||
2089 | 19 | |||
2090 | 20 | |||
2091 | 21 | case "$1" in | ||
2092 | 22 | configure) | ||
2093 | 23 | if ! getent group openvista >/dev/null; then | ||
2094 | 24 | addgroup --quiet openvista | ||
2095 | 25 | fi | ||
2096 | 26 | |||
2097 | 27 | if ! getent passwd openvista >/dev/null; then | ||
2098 | 28 | adduser --quiet --disabled-password --ingroup openvista --gecos "OpenVista tied account" openvista | ||
2099 | 29 | fi | ||
2100 | 30 | |||
2101 | 31 | if ! groups openvista | grep gtm >/dev/null; then | ||
2102 | 32 | adduser --quiet openvista gtm > /dev/null | ||
2103 | 33 | fi | ||
2104 | 34 | |||
2105 | 35 | chgrp openvista /opt/openvista /sbin/ovauth | ||
2106 | 36 | |||
2107 | 37 | # the chgrp command above may cause ovauth to lose the setuid bit; re-add it here just in case | ||
2108 | 38 | chmod u+s /sbin/ovauth | ||
2109 | 39 | |||
2110 | 40 | if [ -x /usr/sbin/a2enmod ]; then | ||
2111 | 41 | a2enmod dav_fs > /dev/null | ||
2112 | 42 | a2enmod ssl > /dev/null | ||
2113 | 43 | fi | ||
2114 | 44 | |||
2115 | 45 | if [ -x /usr/sbin/a2ensite ]; then | ||
2116 | 46 | a2ensite default-ssl > /dev/null | ||
2117 | 47 | fi | ||
2118 | 48 | |||
2119 | 49 | # FIXME: disable access to the webdav directory via regular HTTP | ||
2120 | 50 | |||
2121 | 51 | if [ -x /etc/init.d/apache2 ]; then | ||
2122 | 52 | if [ -x /usr/sbin/invoke-rc.d ]; then | ||
2123 | 53 | invoke-rc.d apache2 restart | ||
2124 | 54 | else | ||
2125 | 55 | /etc/init.d/apache2 restart | ||
2126 | 56 | fi | ||
2127 | 57 | fi | ||
2128 | 58 | ;; | ||
2129 | 59 | |||
2130 | 60 | abort-upgrade|abort-remove|abort-deconfigure) | ||
2131 | 61 | ;; | ||
2132 | 62 | |||
2133 | 63 | *) | ||
2134 | 64 | echo "postinst called with unknown argument \`$1'" >&2 | ||
2135 | 65 | exit 1 | ||
2136 | 66 | ;; | ||
2137 | 67 | esac | ||
2138 | 68 | |||
2139 | 69 | # dh_installdeb will replace this with shell code automatically | ||
2140 | 70 | # generated by other debhelper scripts. | ||
2141 | 71 | |||
2142 | 72 | #DEBHELPER# | ||
2143 | 73 | |||
2144 | 74 | exit 0 | ||
2145 | 0 | 75 | ||
2146 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.postrm' | |||
2147 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.postrm 1970-01-01 00:00:00 +0000 | |||
2148 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/openvista-utils.postrm 2010-09-23 20:57:40 +0000 | |||
2149 | @@ -0,0 +1,55 @@ | |||
2150 | 1 | #!/bin/sh | ||
2151 | 2 | # postrm script for openvista-utils | ||
2152 | 3 | # | ||
2153 | 4 | # see: dh_installdeb(1) | ||
2154 | 5 | |||
2155 | 6 | set -e | ||
2156 | 7 | |||
2157 | 8 | # summary of how this script can be called: | ||
2158 | 9 | # * <postrm> `remove' | ||
2159 | 10 | # * <postrm> `purge' | ||
2160 | 11 | # * <old-postrm> `upgrade' <new-version> | ||
2161 | 12 | # * <new-postrm> `failed-upgrade' <old-version> | ||
2162 | 13 | # * <new-postrm> `abort-install' | ||
2163 | 14 | # * <new-postrm> `abort-install' <old-version> | ||
2164 | 15 | # * <new-postrm> `abort-upgrade' <old-version> | ||
2165 | 16 | # * <disappearer's-postrm> `disappear' <overwriter> | ||
2166 | 17 | # <overwriter-version> | ||
2167 | 18 | # for details, see http://www.debian.org/doc/debian-policy/ or | ||
2168 | 19 | # the debian-policy package | ||
2169 | 20 | |||
2170 | 21 | |||
2171 | 22 | case "$1" in | ||
2172 | 23 | purge) | ||
2173 | 24 | deluser --quiet openvista || : | ||
2174 | 25 | |||
2175 | 26 | # if there are no users in the openvista group (other than the openvista | ||
2176 | 27 | # user), deluser will delete the group, but if there *are* other users, we | ||
2177 | 28 | # need to explicitly call delgroup | ||
2178 | 29 | delgroup --quiet openvista || : | ||
2179 | 30 | |||
2180 | 31 | # FIXME: does this need to happen even on remove? | ||
2181 | 32 | if [ -x /etc/init.d/apache2 ]; then | ||
2182 | 33 | if [ -x /usr/sbin/invoke-rc.d ]; then | ||
2183 | 34 | invoke-rc.d apache2 reload | ||
2184 | 35 | else | ||
2185 | 36 | /etc/init.d/apache2 reload | ||
2186 | 37 | fi | ||
2187 | 38 | fi | ||
2188 | 39 | ;; | ||
2189 | 40 | |||
2190 | 41 | remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) | ||
2191 | 42 | ;; | ||
2192 | 43 | |||
2193 | 44 | *) | ||
2194 | 45 | echo "postrm called with unknown argument \`$1'" >&2 | ||
2195 | 46 | exit 1 | ||
2196 | 47 | ;; | ||
2197 | 48 | esac | ||
2198 | 49 | |||
2199 | 50 | # dh_installdeb will replace this with shell code automatically | ||
2200 | 51 | # generated by other debhelper scripts. | ||
2201 | 52 | |||
2202 | 53 | #DEBHELPER# | ||
2203 | 54 | |||
2204 | 55 | exit 0 | ||
2205 | 0 | 56 | ||
2206 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/rules' | |||
2207 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/rules 1970-01-01 00:00:00 +0000 | |||
2208 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/rules 2010-09-23 20:57:40 +0000 | |||
2209 | @@ -0,0 +1,189 @@ | |||
2210 | 1 | #!/usr/bin/make -f | ||
2211 | 2 | # -*- makefile -*- | ||
2212 | 3 | # Sample debian/rules that uses debhelper. | ||
2213 | 4 | # | ||
2214 | 5 | # This file was originally written by Joey Hess and Craig Small. | ||
2215 | 6 | # As a special exception, when this file is copied by dh-make into a | ||
2216 | 7 | # dh-make output file, you may use that output file without restriction. | ||
2217 | 8 | # This special exception was added by Craig Small in version 0.37 of dh-make. | ||
2218 | 9 | # | ||
2219 | 10 | # Modified to make a template file for a multi-binary package with separated | ||
2220 | 11 | # build-arch and build-indep targets by Bill Allombert 2001 | ||
2221 | 12 | |||
2222 | 13 | # Uncomment this to turn on verbose mode. | ||
2223 | 14 | #export DH_VERBOSE=1 | ||
2224 | 15 | |||
2225 | 16 | # This has to be exported to make some magic below work. | ||
2226 | 17 | export DH_OPTIONS | ||
2227 | 18 | |||
2228 | 19 | GTM_ROOT = /opt/lsb-gtm | ||
2229 | 20 | GTM_VERSIONS = V5.3-004 V5.3-004A V5.4-000 | ||
2230 | 21 | |||
2231 | 22 | DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) | ||
2232 | 23 | |||
2233 | 24 | ifeq ($(DEB_HOST_ARCH),amd64) | ||
2234 | 25 | GTM_ARCH = x86_64 | ||
2235 | 26 | else | ||
2236 | 27 | GTM_ARCH = i686 | ||
2237 | 28 | endif | ||
2238 | 29 | |||
2239 | 30 | |||
2240 | 31 | |||
2241 | 32 | configure: configure-stamp | ||
2242 | 33 | configure-stamp: | ||
2243 | 34 | dh_testdir | ||
2244 | 35 | # Add here commands to configure the package. | ||
2245 | 36 | |||
2246 | 37 | touch configure-stamp | ||
2247 | 38 | |||
2248 | 39 | |||
2249 | 40 | #Architecture | ||
2250 | 41 | build: build-arch build-indep | ||
2251 | 42 | |||
2252 | 43 | build-arch: build-arch-stamp | ||
2253 | 44 | build-arch-stamp: configure-stamp | ||
2254 | 45 | cd src/libopenvista ; \ | ||
2255 | 46 | for gtm_version in $(GTM_VERSIONS) ; do \ | ||
2256 | 47 | export gtm_dist="$(GTM_ROOT)/$${gtm_version}_$(GTM_ARCH)" ;\ | ||
2257 | 48 | ./compile.sh && \ | ||
2258 | 49 | mv libopenvista.so libopenvista.so-$$gtm_version && \ | ||
2259 | 50 | mv openvista.xc openvista.xc-$$gtm_version ;\ | ||
2260 | 51 | done | ||
2261 | 52 | cd src/gtmsignal && ./compile.sh | ||
2262 | 53 | cd src/ovauth && ./compile.sh | ||
2263 | 54 | touch $@ | ||
2264 | 55 | |||
2265 | 56 | build-indep: build-indep-stamp | ||
2266 | 57 | build-indep-stamp: configure-stamp | ||
2267 | 58 | |||
2268 | 59 | # Add here commands to compile the indep part of the package. | ||
2269 | 60 | #$(MAKE) doc | ||
2270 | 61 | touch $@ | ||
2271 | 62 | |||
2272 | 63 | clean: | ||
2273 | 64 | dh_testdir | ||
2274 | 65 | dh_testroot | ||
2275 | 66 | rm -f build-arch-stamp build-indep-stamp configure-stamp | ||
2276 | 67 | |||
2277 | 68 | # openvista-libs-* | ||
2278 | 69 | rm -f src/libopenvista/libopenvista.so-* | ||
2279 | 70 | rm -f src/libopenvista/openvista.xc-* | ||
2280 | 71 | rm -f src/gtmsignal/gtmsignal | ||
2281 | 72 | |||
2282 | 73 | # openvista-utils | ||
2283 | 74 | rm -f debian/openvista-utils.openvista-databases.init | ||
2284 | 75 | rm -f debian/openvista-utils.openvista.init | ||
2285 | 76 | rm -f debian/openvista-utils.openvista.cron.d | ||
2286 | 77 | rm -f debian/openvista-utils.openvista.cron.daily | ||
2287 | 78 | rm -f src/ovauth/ovauth | ||
2288 | 79 | |||
2289 | 80 | dh_clean | ||
2290 | 81 | |||
2291 | 82 | install: install-indep install-arch | ||
2292 | 83 | install-indep: | ||
2293 | 84 | dh_testdir | ||
2294 | 85 | dh_testroot | ||
2295 | 86 | dh_prep -i | ||
2296 | 87 | dh_installdirs -i | ||
2297 | 88 | |||
2298 | 89 | install -m 644 scripts/etc/munin/plugin-conf.d/openvista debian/openvista-munin-plugins/etc/munin/plugin-conf.d/ | ||
2299 | 90 | install scripts/usr/share/munin/plugins/openvista_databases_ debian/openvista-munin-plugins/usr/share/munin/plugins/ | ||
2300 | 91 | install scripts/usr/share/munin/plugins/openvista_locks_ debian/openvista-munin-plugins/usr/share/munin/plugins/ | ||
2301 | 92 | install scripts/usr/share/munin/plugins/openvista_processes_ debian/openvista-munin-plugins/usr/share/munin/plugins/ | ||
2302 | 93 | |||
2303 | 94 | dh_install -i | ||
2304 | 95 | |||
2305 | 96 | install-arch: | ||
2306 | 97 | dh_testdir | ||
2307 | 98 | dh_testroot | ||
2308 | 99 | dh_prep -s | ||
2309 | 100 | dh_installdirs -s | ||
2310 | 101 | |||
2311 | 102 | for gtm_version in $(GTM_VERSIONS) ; do \ | ||
2312 | 103 | export package=openvista-libs-`echo $$gtm_version | sed 's/^V//' | sed 's/-//' | tr '[:upper:]' '[:lower:]'` ;\ | ||
2313 | 104 | export gtm_dist="$(GTM_ROOT)/$${gtm_version}_$(GTM_ARCH)" ;\ | ||
2314 | 105 | mkdir -p debian/$$package$$gtm_dist && \ | ||
2315 | 106 | install src/libopenvista/libopenvista.so-$$gtm_version debian/$$package$$gtm_dist/libopenvista.so && \ | ||
2316 | 107 | install -m 644 src/libopenvista/openvista.xc-$$gtm_version debian/$$package$$gtm_dist/openvista.xc && \ | ||
2317 | 108 | install src/gtmsignal/gtmsignal debian/$$package$$gtm_dist/ ;\ | ||
2318 | 109 | done | ||
2319 | 110 | |||
2320 | 111 | install -m 644 scripts/usr/lib/openvista/functions debian/openvista-utils/usr/lib/openvista/ | ||
2321 | 112 | |||
2322 | 113 | for config in scripts/usr/share/openvista/*; do \ | ||
2323 | 114 | install -m 644 $$config debian/openvista-utils/usr/share/openvista/ ;\ | ||
2324 | 115 | done | ||
2325 | 116 | |||
2326 | 117 | for script in scripts/usr/sbin/*; do \ | ||
2327 | 118 | install $$script debian/openvista-utils/usr/sbin/ ;\ | ||
2328 | 119 | done | ||
2329 | 120 | |||
2330 | 121 | for script in scripts/usr/bin/*; do \ | ||
2331 | 122 | install $$script debian/openvista-utils/usr/bin/ ;\ | ||
2332 | 123 | done | ||
2333 | 124 | |||
2334 | 125 | install scripts/etc/init.d/openvista-databases debian/openvista-utils.openvista-databases.init | ||
2335 | 126 | install scripts/etc/init.d/openvista debian/openvista-utils.openvista.init | ||
2336 | 127 | |||
2337 | 128 | install -m 644 scripts/etc/bash_completion.d/openvista debian/openvista-utils/etc/bash_completion.d/ | ||
2338 | 129 | |||
2339 | 130 | install scripts/etc/cron.d/openvista debian/openvista-utils.openvista.cron.d | ||
2340 | 131 | install scripts/etc/cron.daily/openvista debian/openvista-utils.openvista.cron.daily | ||
2341 | 132 | |||
2342 | 133 | install -m 644 debian/webdav.conf debian/openvista-utils/etc/apache2/conf.d/ | ||
2343 | 134 | |||
2344 | 135 | touch debian/openvista-utils/etc/apache2/webdav.htpasswd | ||
2345 | 136 | |||
2346 | 137 | install src/ovauth/ovauth debian/openvista-utils/sbin/ | ||
2347 | 138 | |||
2348 | 139 | dh_install -s | ||
2349 | 140 | # Must not depend on anything. This is to be called by | ||
2350 | 141 | # binary-arch/binary-indep | ||
2351 | 142 | # in another 'make' thread. | ||
2352 | 143 | binary-common: | ||
2353 | 144 | dh_testdir | ||
2354 | 145 | dh_testroot | ||
2355 | 146 | dh_installchangelogs | ||
2356 | 147 | dh_installdocs | ||
2357 | 148 | dh_installexamples | ||
2358 | 149 | # dh_installmenu | ||
2359 | 150 | # dh_installdebconf | ||
2360 | 151 | # dh_installlogrotate | ||
2361 | 152 | # dh_installemacsen | ||
2362 | 153 | dh_installpam --name=openvista | ||
2363 | 154 | # dh_installmime | ||
2364 | 155 | # dh_python | ||
2365 | 156 | dh_installinit -r --no-start --name=openvista-databases -- defaults 28 10 | ||
2366 | 157 | dh_installinit -r --no-start --name=openvista -- defaults 98 01 | ||
2367 | 158 | dh_installcron --name=openvista | ||
2368 | 159 | # dh_installinfo | ||
2369 | 160 | dh_installman | ||
2370 | 161 | dh_link | ||
2371 | 162 | dh_strip | ||
2372 | 163 | dh_compress | ||
2373 | 164 | dh_fixperms | ||
2374 | 165 | # use group bin for now; will change to group gtm in postinst | ||
2375 | 166 | chown bin:bin debian/openvista-libs-*$(GTM_ROOT)/*_$(GTM_ARCH)/* | ||
2376 | 167 | chmod 440 debian/openvista-libs-*$(GTM_ROOT)/*_$(GTM_ARCH)/* | ||
2377 | 168 | chown root debian/openvista-libs-*$(GTM_ROOT)/*_$(GTM_ARCH)/gtmsignal | ||
2378 | 169 | chmod 4550 debian/openvista-libs-*$(GTM_ROOT)/*_$(GTM_ARCH)/gtmsignal | ||
2379 | 170 | # use group root for now; will change to group openvista in postinst | ||
2380 | 171 | chmod 2750 debian/openvista-utils/opt/openvista | ||
2381 | 172 | chmod 4754 debian/openvista-utils/sbin/ovauth | ||
2382 | 173 | # dh_perl | ||
2383 | 174 | dh_makeshlibs | ||
2384 | 175 | dh_installdeb | ||
2385 | 176 | dh_shlibdeps | ||
2386 | 177 | dh_gencontrol | ||
2387 | 178 | dh_md5sums | ||
2388 | 179 | dh_builddeb | ||
2389 | 180 | # Build architecture independant packages using the common target. | ||
2390 | 181 | binary-indep: build-indep install-indep | ||
2391 | 182 | $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common | ||
2392 | 183 | |||
2393 | 184 | # Build architecture dependant packages using the common target. | ||
2394 | 185 | binary-arch: build-arch install-arch | ||
2395 | 186 | $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common | ||
2396 | 187 | |||
2397 | 188 | binary: binary-arch binary-indep | ||
2398 | 189 | .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure | ||
2399 | 0 | 190 | ||
2400 | === added file 'packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/webdav.conf' | |||
2401 | --- packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/webdav.conf 1970-01-01 00:00:00 +0000 | |||
2402 | +++ packages/deb/Ubuntu/10.10/openvista-gtm-integration/debian/webdav.conf 2010-09-23 20:57:40 +0000 | |||
2403 | @@ -0,0 +1,14 @@ | |||
2404 | 1 | # OpenVista document imaging repository | ||
2405 | 2 | <IfModule mod_dav_fs.c> | ||
2406 | 3 | <Directory "/var/www/webdav"> | ||
2407 | 4 | Dav On | ||
2408 | 5 | |||
2409 | 6 | AllowOverride None | ||
2410 | 7 | Options Indexes FollowSymLinks | ||
2411 | 8 | |||
2412 | 9 | AuthType Basic | ||
2413 | 10 | AuthName "OpenVista document imaging repository" | ||
2414 | 11 | AuthUserFile "/etc/apache2/webdav.htpasswd" | ||
2415 | 12 | Require valid-user | ||
2416 | 13 | </Directory> | ||
2417 | 14 | </IfModule> |