[med-svn] r2916 - trunk/packages/gnumed-server/trunk/debian

tille at alioth.debian.org tille at alioth.debian.org
Wed Jan 7 08:32:43 UTC 2009


Author: tille
Date: 2009-01-07 08:32:43 +0000 (Wed, 07 Jan 2009)
New Revision: 2916

Added:
   trunk/packages/gnumed-server/trunk/debian/gm-bootstrap_server
   trunk/packages/gnumed-server/trunk/debian/gm-bootstrap_server.8
Removed:
   trunk/packages/gnumed-server/trunk/debian/gnumed-server_bootstrap
   trunk/packages/gnumed-server/trunk/debian/gnumed-server_bootstrap.8
Modified:
   trunk/packages/gnumed-server/trunk/debian/README.Debian
   trunk/packages/gnumed-server/trunk/debian/install
   trunk/packages/gnumed-server/trunk/debian/manpages
Log:
Use bootstrap wrapper provided by upstream CVS.


Modified: trunk/packages/gnumed-server/trunk/debian/README.Debian
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/README.Debian	2009-01-06 21:53:42 UTC (rev 2915)
+++ trunk/packages/gnumed-server/trunk/debian/README.Debian	2009-01-07 08:32:43 UTC (rev 2916)
@@ -1,12 +1,10 @@
 GNUmed server for Debian
 ------------------------
 
-ATTENTION: This package does NOT work out of the box.  It just installs
-the SQL files of GNUmed server to /var/lib/gnumed/server.  Frome there you
-you have to follow the instructions of the README file that is provided by
-the GNUmed authors.  Hopefully a real package that does a proper job
-in installing the database will be finished soon, but there are some
-issues to solve first.  The installation should go like this:
+This package does NOT work out of the box.  It just installs the SQL
+files of GNUmed server to /var/lib/gnumed/server.  From there you
+have to follow the instructions of the README file that is provided by
+the GNUmed authors.   The installation should go like this:
 
   # cd /var/lib/gnumed/server/bootstrap                                                
   # GM_LOG_BASE="/var/log/gnumed/server" ./bootstrap-latest.sh
@@ -18,7 +16,7 @@
 
 or at least lc_ctype=C.
 
-Alternatively you might call /usr/sbin/gnumed-server_bootstrap
+Alternatively you might call /usr/sbin/gm-bootstrap_server
 as root.
 
 You can use GNUmed client with a public database as described

Added: trunk/packages/gnumed-server/trunk/debian/gm-bootstrap_server
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/gm-bootstrap_server	                        (rev 0)
+++ trunk/packages/gnumed-server/trunk/debian/gm-bootstrap_server	2009-01-07 08:32:43 UTC (rev 2916)
@@ -0,0 +1,40 @@
+#!/bin/sh
+
+#==============================================================
+# $Source: /sources/gnumed/gnumed/gnumed/server/gm-bootstrap_server,v $
+# $Id: gm-bootstrap_server,v 1.1 2009/01/05 12:13:53 ncq Exp $
+#
+# author: Andreas Tille, Karsten Hilbert
+# license: GPL v2
+#
+# This wrapper is intended to be installed into a systemwide
+# admin-only executable directory such as "/usr/sbin/"
+#
+# It should be run as root and will call the upstream script to
+# actually bootstrap the latest database from scratch.
+#
+#==============================================================
+# those probably need some adjustment from package maintainers:
+
+GM_LOG_BASE="/var/log/gnumed/server"
+GM_SERVER_DIR="/var/lib/gnumed/server/bootstrap"
+
+#==============================================================
+
+set -e
+
+if ! su -c "psql -t -d template1 -c \"show lc_ctype;\"" postgres | grep -q -e C -e UTF-8 ; then
+	echo "Your PostgreSQL installation seems not to have lc_ctype UTF-8 or C."
+	echo "This will most probably lead to failures of the GNUmed server installation."
+	exit -1
+fi
+
+cd ${GM_SERVER_DIR}
+./bootstrap-latest.sh
+
+#==============================================================
+# $Log: gm-bootstrap_server,v $
+# Revision 1.1  2009/01/05 12:13:53  ncq
+# - new, as per discussion on list for Debian
+#
+#
\ No newline at end of file

Added: trunk/packages/gnumed-server/trunk/debian/gm-bootstrap_server.8
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/gm-bootstrap_server.8	                        (rev 0)
+++ trunk/packages/gnumed-server/trunk/debian/gm-bootstrap_server.8	2009-01-07 08:32:43 UTC (rev 2916)
@@ -0,0 +1,18 @@
+.TH GNUMED-SERVER_BOOTSTRAP 8 "2009 January 4th" "Manual for bootstraping GNUmed Server"
+
+.SH NAME
+.B gnumed-server_bootstrap
+- bootstrap SQL database for GNUmed
+
+.SH SYNOPSIS
+.B gnumed-server_bootstrap
+
+.SH DESCRIPTION
+.B gnumed-server_bootstrap
+is a simple helper script which is provided by the Debian
+GNU/Linux distribution to simplify bootstraping the GNUmed
+database.
+
+.SH AUTHOR:
+This manual page was written by Andreas Tille <tille at debian.org>,
+for the Debian GNU/Linux system (but may be used by others).

Deleted: trunk/packages/gnumed-server/trunk/debian/gnumed-server_bootstrap
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/gnumed-server_bootstrap	2009-01-06 21:53:42 UTC (rev 2915)
+++ trunk/packages/gnumed-server/trunk/debian/gnumed-server_bootstrap	2009-01-07 08:32:43 UTC (rev 2916)
@@ -1,10 +0,0 @@
-#!/bin/sh
-set -e
-
-if ! psql -t -d template1 -c "show lc_ctype;" | grep -q -e C -e UTF-8 ; then
-    echo "Your PostgreSQL installation seems not to have lc_ctype UTF-8 or C."
-    echo "This will most probably lead to failures of the GNUmed server installation."
-    exit -1
-fi
-cd /var/lib/gnumed/server/bootstrap
-GM_LOG_BASE="/var/log/gnumed/server" ./bootstrap-latest.sh

Deleted: trunk/packages/gnumed-server/trunk/debian/gnumed-server_bootstrap.8
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/gnumed-server_bootstrap.8	2009-01-06 21:53:42 UTC (rev 2915)
+++ trunk/packages/gnumed-server/trunk/debian/gnumed-server_bootstrap.8	2009-01-07 08:32:43 UTC (rev 2916)
@@ -1,18 +0,0 @@
-.TH GNUMED-SERVER_BOOTSTRAP 8 "2009 January 4th" "Manual for bootstraping GNUmed Server"
-
-.SH NAME
-.B gnumed-server_bootstrap
-- bootstrap SQL database for GNUmed
-
-.SH SYNOPSIS
-.B gnumed-server_bootstrap
-
-.SH DESCRIPTION
-.B gnumed-server_bootstrap
-is a simple helper script which is provided by the Debian
-GNU/Linux distribution to simplify bootstraping the GNUmed
-database.
-
-.SH AUTHOR:
-This manual page was written by Andreas Tille <tille at debian.org>,
-for the Debian GNU/Linux system (but may be used by others).

Modified: trunk/packages/gnumed-server/trunk/debian/install
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/install	2009-01-06 21:53:42 UTC (rev 2915)
+++ trunk/packages/gnumed-server/trunk/debian/install	2009-01-07 08:32:43 UTC (rev 2916)
@@ -1,2 +1,2 @@
 server/sql                     var/lib/gnumed/server
-debian/gnumed-server_bootstrap usr/sbin
+debian/gm-bootstrap_server     usr/sbin

Modified: trunk/packages/gnumed-server/trunk/debian/manpages
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/manpages	2009-01-06 21:53:42 UTC (rev 2915)
+++ trunk/packages/gnumed-server/trunk/debian/manpages	2009-01-07 08:32:43 UTC (rev 2916)
@@ -1 +1 @@
-debian/gnumed-server_bootstrap.8
+debian/*.8




More information about the debian-med-commit mailing list