[med-svn] r11796 - trunk/packages/vista/trunk/debian

Luis Ibanez luisibanez-guest at alioth.debian.org
Sat Jul 14 12:48:55 UTC 2012


Author: luisibanez-guest
Date: 2012-07-14 12:48:55 +0000 (Sat, 14 Jul 2012)
New Revision: 11796

Added:
   trunk/packages/vista/trunk/debian/cprs_vista_rpcbroker.sh
   trunk/packages/vista/trunk/debian/cprs_vista_xinetd
Modified:
   trunk/packages/vista/trunk/debian/auto_install
   trunk/packages/vista/trunk/debian/changelog
   trunk/packages/vista/trunk/debian/control
Log:
Added configuration files to listen to CPRS via xinetd and RPCs.
Added dependency on xinetd package.



Modified: trunk/packages/vista/trunk/debian/auto_install
===================================================================
--- trunk/packages/vista/trunk/debian/auto_install	2012-07-14 12:27:47 UTC (rev 11795)
+++ trunk/packages/vista/trunk/debian/auto_install	2012-07-14 12:48:55 UTC (rev 11796)
@@ -33,6 +33,12 @@
 cp ./debian/vista_profile  $VISTA_INSTANCE_DIR/profile
 
 #
+#  Copy xinetd configuration for CPRS communiation via RPCs.
+#
+cp ./debian/cprs_vista_xinetd        $VISTA_INSTANCE_DIR/inet
+cp ./debian/cprs_vista_rpcbroker.sh  $VISTA_INSTANCE_DIR/inet
+
+#
 #  Import routines and globlas into the database
 #
 echo "I: Importing Routines..."

Modified: trunk/packages/vista/trunk/debian/changelog
===================================================================
--- trunk/packages/vista/trunk/debian/changelog	2012-07-14 12:27:47 UTC (rev 11795)
+++ trunk/packages/vista/trunk/debian/changelog	2012-07-14 12:48:55 UTC (rev 11796)
@@ -51,6 +51,7 @@
     Now recompiling all .m files and placing output in the ./o directory.
     Added installation of a vista_profile file to set environment variables
     intended to be sourced by VistA users.
+    Added configuration files to listen to CPRS via xinetd and RPCs.
   * debian/copyright:
     Addressing lintian warning: missing-license-paragraph-in-dep5-copyright,
     added a paragraph stating where to find the license file.
@@ -64,6 +65,7 @@
     "vista-0.0.20121206".
     Removed metapackage "vista" following conversation in mailing list.
     Removed ${misc:Depends} from Build-Depends.
+    Added dependency on xinetd, which is used to communicate with CPRS.
   * debian/vista.postinst:
     Added creation of "vista" user and "vista" group. Copied this from
     the dcmtk Debian files.

Modified: trunk/packages/vista/trunk/debian/control
===================================================================
--- trunk/packages/vista/trunk/debian/control	2012-07-14 12:27:47 UTC (rev 11795)
+++ trunk/packages/vista/trunk/debian/control	2012-07-14 12:48:55 UTC (rev 11796)
@@ -13,7 +13,7 @@
 
 Package: vista-0.0.20111206
 Architecture: amd64 i386
-Depends: ${misc:Depends}, fis-gtm, cmake (>= 2.8.5)
+Depends: ${misc:Depends}, fis-gtm, xinetd, cmake (>= 2.8.5)
 Provides: vista
 Description: package for VistA EHR
  VistA: the Veterans Health Information Systems and Technology Architecture.

Added: trunk/packages/vista/trunk/debian/cprs_vista_rpcbroker.sh
===================================================================
--- trunk/packages/vista/trunk/debian/cprs_vista_rpcbroker.sh	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/cprs_vista_rpcbroker.sh	2012-07-14 12:48:55 UTC (rev 11796)
@@ -0,0 +1,15 @@
+#!/bin/bash
+#
+#  This is a file to run RPCBroker as a Linux service
+#
+export REMOTE_HOST=`echo $REMOTE_HOST | sed 's/::ffff://'`
+source /var/lib/vista/vista_profile
+
+LOG=$vista_instance/inet/Logs/cprs.log
+
+echo "$$ Job begin `date`"                                      >>  ${LOG}
+echo "$$  ${gtm_dist}/mumps -run GTMLNX^XWBTCPM"                >>  ${LOG}
+
+${gtm_dist}/mumps -run GTMLNX^XWBTCPM "${CPRS_BANNER}"         2>>  ${LOG}
+echo "$$  RPCBroker stopped with exit code $?"                  >>  ${LOG}
+echo "$$ Job ended `date`"


Property changes on: trunk/packages/vista/trunk/debian/cprs_vista_rpcbroker.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/packages/vista/trunk/debian/cprs_vista_xinetd
===================================================================
--- trunk/packages/vista/trunk/debian/cprs_vista_xinetd	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/cprs_vista_xinetd	2012-07-14 12:48:55 UTC (rev 11796)
@@ -0,0 +1,13 @@
+service cprs-vista
+{
+  port = 9430
+  socket_type = stream
+  protocol = tcp
+  type = UNLISTED
+  user = root
+  server = /var/lib/vista/inet/cprs_vista_rpcbroker.sh
+  wait = no
+  disable = no
+  per_source = UNLIMITED
+  instances = UNLIMITED
+}




More information about the debian-med-commit mailing list