[med-svn] r823 - in trunk/packages/gnumed-client/trunk/debian: . conf

tille at alioth.debian.org tille at alioth.debian.org
Sat Nov 17 23:45:52 UTC 2007


Author: tille
Date: 2007-11-17 23:45:52 +0000 (Sat, 17 Nov 2007)
New Revision: 823

Modified:
   trunk/packages/gnumed-client/trunk/debian/changelog
   trunk/packages/gnumed-client/trunk/debian/conf/gnumed-public.conf
   trunk/packages/gnumed-client/trunk/debian/conf/gnumed.conf
   trunk/packages/gnumed-client/trunk/debian/control
   trunk/packages/gnumed-client/trunk/debian/gnumed-client.postinst
Log:
Added new (meta)package gnumed-client-de; fixed database version in conf files


Modified: trunk/packages/gnumed-client/trunk/debian/changelog
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/changelog	2007-11-17 23:38:59 UTC (rev 822)
+++ trunk/packages/gnumed-client/trunk/debian/changelog	2007-11-17 23:45:52 UTC (rev 823)
@@ -1,4 +1,4 @@
-gnumed-client (0.2.7.1-2) UNRELEASED; urgency=low
+gnumed-client (0.2.7.1-2) unstable; urgency=low
 
   [ Charles Plessy ]
   * updated debian/gnumed-doc.doc-base.
@@ -6,8 +6,14 @@
   [ Nelson A. de Oliveira ]
   * Fixed watch file
 
- -- Andreas Tille <tille at debian.org>  Mon, 05 Nov 2007 20:27:10 +0100
+  [ Andreas Tille ]
+  * Add gnumed-client-de package that depends from gnumed-client
+    and libchipcard3 which is needed to support chipcards of
+    German healt care system
+  * gnumed-client-de.postinst: create spool dir vor libchipcard
 
+ -- Andreas Tille <tille at debian.org>  Sat, 17 Nov 2007 13:29:39 +0100
+
 gnumed-client (0.2.7.1-1) unstable; urgency=low
 
   * New upstream version

Modified: trunk/packages/gnumed-client/trunk/debian/conf/gnumed-public.conf
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/conf/gnumed-public.conf	2007-11-17 23:38:59 UTC (rev 822)
+++ trunk/packages/gnumed-client/trunk/debian/conf/gnumed-public.conf	2007-11-17 23:45:52 UTC (rev 823)
@@ -34,7 +34,7 @@
 [profile public GNUmed database]
 host = salaam.homeunix.com
 port = 5433
-database = gnumed_v6
+database = gnumed_v7
 #encoding = UTF8
 
 
@@ -42,7 +42,7 @@
 #[profile local GNUmed database (Linux)]
 #host = 
 #port = 5432
-#database = gnumed_v6
+#database = gnumed_v7
 ##encoding = UTF8
 
 

Modified: trunk/packages/gnumed-client/trunk/debian/conf/gnumed.conf
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/conf/gnumed.conf	2007-11-17 23:38:59 UTC (rev 822)
+++ trunk/packages/gnumed-client/trunk/debian/conf/gnumed.conf	2007-11-17 23:45:52 UTC (rev 823)
@@ -34,7 +34,7 @@
 [profile public GNUmed database]
 host = salaam.homeunix.com
 port = 5433
-database = gnumed_v6
+database = gnumed_v7
 #encoding = UTF8
 
 
@@ -42,7 +42,7 @@
 [profile local GNUmed database (Linux)]
 host = 
 port = 5432
-database = gnumed_v6
+database = gnumed_v7
 #encoding = UTF8
 
 

Modified: trunk/packages/gnumed-client/trunk/debian/control
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/control	2007-11-17 23:38:59 UTC (rev 822)
+++ trunk/packages/gnumed-client/trunk/debian/control	2007-11-17 23:45:52 UTC (rev 823)
@@ -35,6 +35,15 @@
  This package contains the wxpython client.
 XB-Python-Version: ${python:Versions}
 
+Package: gnumed-client-de
+Architecture: all
+Depends: gnumed-client (= ${source:Version}), libchipcard3-tools
+Description: [Med] Medical practice management - Client for German users
+ Just install this package if you want to use the GNUmed
+ client in Germany and you have to use German chipcard
+ systems.  The package installs the GNUmed client and
+ cares for proper libchipcard support.
+
 Package: gnumed-common
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends}, python-psycopg2

Modified: trunk/packages/gnumed-client/trunk/debian/gnumed-client.postinst
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/gnumed-client.postinst	2007-11-17 23:38:59 UTC (rev 822)
+++ trunk/packages/gnumed-client/trunk/debian/gnumed-client.postinst	2007-11-17 23:45:52 UTC (rev 823)
@@ -2,37 +2,10 @@
 set -e
 
 PROG=gnumed
-CFGDIR=/etc/${PROG}
-CFG=${CFGDIR}/client.conf
-PKG=`basename $0 | sed -e 's/\.[^.]*$//'`
+GROUP=${PROG}
 
-TMPINST=/usr/share/gnumed/server/sql
-
 DEBCONF_DEBUG=developer
 . /usr/share/debconf/confmodule
 db_version 2.0
 
-NEW=0
-if [ -e "${CONF}" ]; then
-   NEW=-1
-   . ${CFG} || true 
-fi
-
-# Handle server variable in GNUmed config file
-db_get ${PKG}/server 
-if [ ${NEW} ] ; then
-    mkdir -p ${CFGDIR}
-    echo "# Configuration for ${PROG} client" > ${CFG}
-    echo "# SERVER is the host which is running the GMed database." >> ${CFG}
-    echo "# The default host is localhost." >> ${CFG}
-    echo "SERVER=$RET" >> ${CFG}
-else
-    if [ "$RET" != "$COUNTRY" ] ; then
-	sed -e "s/COUNTRY=.*/COUNTRY=$RET/" < ${CFG} > ${CFG}.new
-        mv -f ${CFG}.new ${CFG}
-    fi
-fi
-
-db_go
-
 #DEBHELPER#




More information about the debian-med-commit mailing list