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