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

Proposed by Jon Tai
Status: Merged
Merged at revision: not available
Proposed branch: lp:~jontai/openvista-gtm-integration/bug420754
Merge into: lp:openvista-gtm-integration
Diff against target: 2768 lines
56 files modified
debuild.sh (+1/-1)
packages/deb/openvista-gtm-integration/debian/changelog (+6/-0)
packages/deb/openvista-gtm-integration/debian/changelogs (+1/-0)
packages/deb/openvista-gtm-integration/debian/compat (+1/-0)
packages/deb/openvista-gtm-integration/debian/control (+52/-0)
packages/deb/openvista-gtm-integration/debian/copyright (+50/-0)
packages/deb/openvista-gtm-integration/debian/docs (+3/-0)
packages/deb/openvista-gtm-integration/debian/openvista-libs-5.3004.dirs (+1/-0)
packages/deb/openvista-gtm-integration/debian/openvista-libs-5.3004.postinst (+49/-0)
packages/deb/openvista-gtm-integration/debian/openvista-libs-5.3004a.dirs (+1/-0)
packages/deb/openvista-gtm-integration/debian/openvista-libs-5.3004a.postinst (+49/-0)
packages/deb/openvista-gtm-integration/debian/openvista-utils.dirs (+9/-0)
packages/deb/openvista-gtm-integration/debian/openvista-utils.manpages (+12/-0)
packages/deb/openvista-gtm-integration/debian/openvista-utils.openvista.pam (+4/-0)
packages/deb/openvista-gtm-integration/debian/openvista-utils.postinst (+74/-0)
packages/deb/openvista-gtm-integration/debian/openvista-utils.postrm (+55/-0)
packages/deb/openvista-gtm-integration/debian/rules (+188/-0)
packages/deb/openvista-gtm-integration/debian/webdav.conf (+14/-0)
packages/deb/openvista-libs-5.3004/debian/changelog (+0/-18)
packages/deb/openvista-libs-5.3004/debian/changelogs (+0/-1)
packages/deb/openvista-libs-5.3004/debian/compat (+0/-1)
packages/deb/openvista-libs-5.3004/debian/control (+0/-21)
packages/deb/openvista-libs-5.3004/debian/copyright (+0/-50)
packages/deb/openvista-libs-5.3004/debian/dirs (+0/-1)
packages/deb/openvista-libs-5.3004/debian/docs (+0/-2)
packages/deb/openvista-libs-5.3004/debian/postinst (+0/-49)
packages/deb/openvista-libs-5.3004/debian/rules (+0/-138)
packages/deb/openvista-libs-5.3004a/debian/changelog (+0/-12)
packages/deb/openvista-libs-5.3004a/debian/changelogs (+0/-1)
packages/deb/openvista-libs-5.3004a/debian/compat (+0/-1)
packages/deb/openvista-libs-5.3004a/debian/control (+0/-21)
packages/deb/openvista-libs-5.3004a/debian/copyright (+0/-50)
packages/deb/openvista-libs-5.3004a/debian/dirs (+0/-1)
packages/deb/openvista-libs-5.3004a/debian/docs (+0/-2)
packages/deb/openvista-libs-5.3004a/debian/postinst (+0/-49)
packages/deb/openvista-libs-5.3004a/debian/rules (+0/-138)
packages/deb/openvista-utils/debian/changelog (+0/-17)
packages/deb/openvista-utils/debian/changelogs (+0/-1)
packages/deb/openvista-utils/debian/compat (+0/-1)
packages/deb/openvista-utils/debian/control (+0/-20)
packages/deb/openvista-utils/debian/copyright (+0/-50)
packages/deb/openvista-utils/debian/dirs (+0/-9)
packages/deb/openvista-utils/debian/docs (+0/-2)
packages/deb/openvista-utils/debian/manpages (+0/-11)
packages/deb/openvista-utils/debian/openvista-utils.openvista.pam (+0/-4)
packages/deb/openvista-utils/debian/postinst (+0/-74)
packages/deb/openvista-utils/debian/postrm (+0/-55)
packages/deb/openvista-utils/debian/rules (+0/-154)
packages/deb/openvista-utils/debian/webdav.conf (+0/-14)
packages/rpm/openvista-gtm-integration.spec (+407/-0)
packages/rpm/openvista-libs-5.3003.spec (+0/-91)
packages/rpm/openvista-libs-5.3004.spec (+0/-91)
packages/rpm/openvista-libs-5.3004a.spec (+0/-91)
packages/rpm/openvista-utils.spec (+0/-225)
rpmbuild.sh (+1/-12)
src/libopenvista/compile.sh (+1/-1)
To merge this branch: bzr merge lp:~jontai/openvista-gtm-integration/bug420754
Reviewer Review Type Date Requested Status
jeff.apple Approve
Review via email: mp+13677@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Jon Tai (jontai) wrote :

Jeff, can you review this? Ping me if you have questions.

Revision history for this message
jeff.apple (jeff-apple) wrote :

This all looks OK to me, but I didn't pick through it too closely.

review: Approve

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

Subscribers

People subscribed via source and target branches