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