[med-svn] r4799 - in trunk/packages/gnumed-client/trunk/debian: . patches
Andreas Tille
tille at alioth.debian.org
Tue May 18 08:26:32 UTC 2010
Author: tille
Date: 2010-05-18 08:26:29 +0000 (Tue, 18 May 2010)
New Revision: 4799
Removed:
trunk/packages/gnumed-client/trunk/debian/gnumed-client.config
trunk/packages/gnumed-client/trunk/debian/gnumed-client.postinst
trunk/packages/gnumed-client/trunk/debian/gnumed-client.templates
trunk/packages/gnumed-client/trunk/debian/gnumed-common.config
trunk/packages/gnumed-client/trunk/debian/gnumed-common.postinst
trunk/packages/gnumed-client/trunk/debian/gnumed-common.templates
trunk/packages/gnumed-client/trunk/debian/po/
Modified:
trunk/packages/gnumed-client/trunk/debian/changelog
trunk/packages/gnumed-client/trunk/debian/patches/20_bashism.patch
Log:
New upstream version, fix suggested bashism patch, remove debconf configuration stuff because it is not needed any more according to upstream.
Modified: trunk/packages/gnumed-client/trunk/debian/changelog
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/changelog 2010-05-17 14:26:33 UTC (rev 4798)
+++ trunk/packages/gnumed-client/trunk/debian/changelog 2010-05-18 08:26:29 UTC (rev 4799)
@@ -1,9 +1,18 @@
-gnumed-client (0.7.2-2) unstable; urgency=low
+gnumed-client (0.7.3-1) UNRELEASED; urgency=low
+ * New upstream version
* debian/patches/20_bashism.patch: Fix bashism
Closes: #581106
+ * Drop the debconf configuration for group gnumed because according
+ to upstream there is no use for it, thus removed
+ debian/gnumed-common.{config,postinst,templates}
+ * Drop the debconf configuration for GNUmed server because the
+ client is able to actively select a server to connect to, thus
+ removed debian/gnumed-client.{config,postinst,templates}
+ * Removed debian/po directory because there are no debconf
+ questions any more
- -- Andreas Tille <tille at debian.org> Tue, 11 May 2010 09:06:42 +0200
+ -- Andreas Tille <tille at debian.org> Tue, 18 May 2010 10:14:02 +0200
gnumed-client (0.7.2-1) unstable; urgency=low
Deleted: trunk/packages/gnumed-client/trunk/debian/gnumed-client.config
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/gnumed-client.config 2010-05-17 14:26:33 UTC (rev 4798)
+++ trunk/packages/gnumed-client/trunk/debian/gnumed-client.config 2010-05-18 08:26:29 UTC (rev 4799)
@@ -1,21 +0,0 @@
-#!/bin/sh
-set -e
-
-PROG=gnumed
-CFGDIR=/etc/${PROG}
-CFG=${CFGDIR}/client.conf
-PKG=${PROG}-client
-
-DEBCONF_DEBUG=developer
-
-. /usr/share/debconf/confmodule
-db_version 2.0
-
-if [ -e ${CFG} ]; then
- . ${CFG} || true
- if [ "$SERVER" ] ; then
- db_set ${PKG}/server $SERVER
- fi
-fi
-db_input low ${PKG}/server || true
-db_go || true
Deleted: trunk/packages/gnumed-client/trunk/debian/gnumed-client.postinst
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/gnumed-client.postinst 2010-05-17 14:26:33 UTC (rev 4798)
+++ trunk/packages/gnumed-client/trunk/debian/gnumed-client.postinst 2010-05-18 08:26:29 UTC (rev 4799)
@@ -1,11 +0,0 @@
-#!/bin/sh
-set -e
-
-PROG=gnumed
-GROUP=${PROG}
-
-DEBCONF_DEBUG=developer
-. /usr/share/debconf/confmodule
-db_version 2.0
-
-#DEBHELPER#
Deleted: trunk/packages/gnumed-client/trunk/debian/gnumed-client.templates
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/gnumed-client.templates 2010-05-17 14:26:33 UTC (rev 4798)
+++ trunk/packages/gnumed-client/trunk/debian/gnumed-client.templates 2010-05-18 08:26:29 UTC (rev 4799)
@@ -1,16 +0,0 @@
-Template: gnumed-client/server
-Type: string
-_Description: Host running the GNUmed database:
- GNUmed is a client-server based medical practice management system. The
- client software will be installed on this computer. This client
- software needs to know which host is holding the database. On this host
- the Debian package gnumed-server with the very same version
- number as this package has to be installed.
- .
- If the server and the client run on the same host, you should use
- 'localhost' here.
- .
- ATTENTION: Currently the gnumed-server package is not yet released. Thus
- when the GNUmed client program is started a list of public servers to
- select from is presented. This question is asked just to be prepared for
- future usage or in case you installed the server from upstream CVS.
Deleted: trunk/packages/gnumed-client/trunk/debian/gnumed-common.config
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/gnumed-common.config 2010-05-17 14:26:33 UTC (rev 4798)
+++ trunk/packages/gnumed-client/trunk/debian/gnumed-common.config 2010-05-18 08:26:29 UTC (rev 4799)
@@ -1,75 +0,0 @@
-#!/bin/sh
-set -e
-
-PROG=gnumed
-GROUP=${PROG}
-PROGUSERS=""
-
-DEBCONF_DEBUG=developer
-
-. /usr/share/debconf/confmodule
-db_version 2.0
-
-## Add group ${PROG} if not existent
-
-## This returns the group including the members of the group which are needed later
-TESTGROUP=`getent group ${GROUP}` || true
-if [ -z "${TESTGROUP}" ] ; then
- addgroup --system "${GROUP}" >/dev/null
- # if the group was just created it can not have any users ...
- PROGUSERS="none"
-fi
-
-# store user info in TMPFILE
-TMPFILE=`tempfile`
-
-[ -s /etc/adduser.conf ] && . /etc/adduser.conf
-if [ _"$FIRST_UID" = _"" ] ; then
- FIRST_UID=1000
-fi
-
-(IFS=":"
- while read user pass uid gid name rest ; do
- if [ $uid -ge $FIRST_UID ] ; then
- if [ ! "$user" = "nobody" ] ; then
- name=`echo $name | sed "s/,.*//"`
- echo "$user ($name)" >> ${TMPFILE}
- fi
- fi
- done < /etc/passwd
-)
-
-# Login names of all users of the system as comma separated list
-USERS=`sort -u "${TMPFILE}" | tr '\n' ',' | sed 's/,/&\ /g' | sed 's/, *$//g'`
-
-# "login (Real Name)" of group "${PROG}" as comma separated list
-if [ "$PROGUSERS" != "none" ] ; then
- PROGUSERS=`echo "${TESTGROUP}" | sed "s/.*:\([^:]*\)/\1/" | tr ',' '\n'`
- # check whether the TESTGROUP contains any user or is just empty
- if [ _"$PROGUSERS" != _"" ] ; then
- TMPFILE2=`tempfile`
- for user in "${PROGUSERS}" ; do
- # add "|| true" because of -e option which would cause an exit otherwise
- grep -w "$user" "$TMPFILE" >> "$TMPFILE2" || true
- done
- mv "$TMPFILE2" "$TMPFILE"
- PROGUSERS=`sort -u "${TMPFILE}" | tr '\n' ',' | sed 's/,/&\ /g' | sed 's/, *$//g'`
- fi
-else
- PROGUSERS=""
-fi
-rm -rf "${TMPFILE}"
-
-# Check for system users who just belong to group ${PROG}
-if [ ! _"$PROGUSERS" = _"" ] ; then
- db_set ${GROUP}/group "$PROGUSERS" || true
-fi
-
-# Initialize List of Systemusers for debconf question
-db_subst ${GROUP}/group users "$USERS" || true
-
-db_get ${GROUP}/group || true
-
-db_input low ${GROUP}/group || true
-
-db_go || true
Deleted: trunk/packages/gnumed-client/trunk/debian/gnumed-common.postinst
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/gnumed-common.postinst 2010-05-17 14:26:33 UTC (rev 4798)
+++ trunk/packages/gnumed-client/trunk/debian/gnumed-common.postinst 2010-05-18 08:26:29 UTC (rev 4799)
@@ -1,33 +0,0 @@
-#!/bin/sh
-set -e
-
-PROG=gnumed
-GROUP=${PROG}
-
-DEBCONF_DEBUG=developer
-. /usr/share/debconf/confmodule
-db_version 2.0
-
-db_get ${GROUP}/group
-retusers=${RET}
-
-db_go || true
-
-CURRENTGROUPUSERS=`getent group ${GROUP} | sed "s/.*:\([^:]*\)/\1/" | tr ',' '\n'`
-
-# Add those users which were selected but are not yet in the group
-for user in `echo "$retusers" | sed "s/([^)]*)//g" | sed "s/ //g" | tr ',' '\n'` ; do
- if ! `echo "${CURRENTGROUPUSERS}" | grep -q -w "$user"` ; then
- adduser $user $GROUP
- fi
-done
-
-# Del those users which were obviousely removed from list of ${PROG} users
-for user in ${CURRENTGROUPUSERS} ; do
- if ! `echo "$retusers" | grep -q -w "$user"` && \
- `getent group "$GROUP" | grep -q -w $user` ; then
- deluser $user $GROUP
- fi
-done
-
-#DEBHELPER#
Deleted: trunk/packages/gnumed-client/trunk/debian/gnumed-common.templates
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/gnumed-common.templates 2010-05-17 14:26:33 UTC (rev 4798)
+++ trunk/packages/gnumed-client/trunk/debian/gnumed-common.templates 2010-05-18 08:26:29 UTC (rev 4799)
@@ -1,6 +0,0 @@
-Template: gnumed/group
-Type: multiselect
-Choices: ${users}
-_Description: GNUmed users:
- Please choose, among the list of all unprivileged users of the system,
- those who will be allowed running GNUmed.
Modified: trunk/packages/gnumed-client/trunk/debian/patches/20_bashism.patch
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/patches/20_bashism.patch 2010-05-17 14:26:33 UTC (rev 4798)
+++ trunk/packages/gnumed-client/trunk/debian/patches/20_bashism.patch 2010-05-18 08:26:29 UTC (rev 4799)
@@ -6,7 +6,7 @@
echo ""
-read -e -p "Alte ARRIBA-Versionen entfernen ? [j/N]: "
-if test "${REPLY}" == "j" ; then
-+read REPLY -p "Alte ARRIBA-Versionen entfernen ? [j/N]: "
++read -p "Alte ARRIBA-Versionen entfernen ? [j/N]: " REPLY
+if test "${REPLY}" = "j" ; then
OLD_JARS="/usr/bin/arriba* /usr/local/bin/arriba-2.0.3.jar"
More information about the debian-med-commit
mailing list