[med-svn] r4749 - in trunk/packages/gnumed-server/trunk/debian: . conf patches source

Andreas Tille tille at alioth.debian.org
Fri Apr 23 21:36:52 UTC 2010


Author: tille
Date: 2010-04-23 21:36:52 +0000 (Fri, 23 Apr 2010)
New Revision: 4749

Added:
   trunk/packages/gnumed-server/trunk/debian/gm-adjust_db_settings.8
   trunk/packages/gnumed-server/trunk/debian/gm-remove_person.8
   trunk/packages/gnumed-server/trunk/debian/patches/
   trunk/packages/gnumed-server/trunk/debian/patches/20_create_backup_dir_if_needed.patch
   trunk/packages/gnumed-server/trunk/debian/patches/series
   trunk/packages/gnumed-server/trunk/debian/source/
   trunk/packages/gnumed-server/trunk/debian/source/format
Removed:
   trunk/packages/gnumed-server/trunk/debian/gm-backup_data.8
   trunk/packages/gnumed-server/trunk/debian/gm-backup_database.8
Modified:
   trunk/packages/gnumed-server/trunk/debian/README.Debian
   trunk/packages/gnumed-server/trunk/debian/changelog
   trunk/packages/gnumed-server/trunk/debian/conf/gnumed-backup.conf
   trunk/packages/gnumed-server/trunk/debian/control
   trunk/packages/gnumed-server/trunk/debian/rules
Log:
Preparation of next upstream version


Modified: trunk/packages/gnumed-server/trunk/debian/README.Debian
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/README.Debian	2010-04-23 21:35:28 UTC (rev 4748)
+++ trunk/packages/gnumed-server/trunk/debian/README.Debian	2010-04-23 21:36:52 UTC (rev 4749)
@@ -28,7 +28,7 @@
 
 	# /usr/sbin/gm-bootstrap_server
 
-Note that this will DESTROY any v2 - v11 databases you
+Note that this will DESTROY any v2 - v12 databases you
 might already have on your server.
 
 Make sure to use the UPGRADE procedure if you want to
@@ -38,7 +38,7 @@
 Upgrading the Database
 ======================
 
-To upgrade your v11 database to the current v12 database
+To upgrade your v12 database to the current version 13 database
 follow these steps:
 
 1) Make sure all clients are disconnected.
@@ -48,7 +48,7 @@
 
 2) Run the upgrade procedure.
 
-	# gm-upgrade_server 11 12
+	# gm-upgrade_server 12 13
 
 	This can take a long time and require quite some disk space
 	if your database is large. Try the "no-backup" option if you

Modified: trunk/packages/gnumed-server/trunk/debian/changelog
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/changelog	2010-04-23 21:35:28 UTC (rev 4748)
+++ trunk/packages/gnumed-server/trunk/debian/changelog	2010-04-23 21:36:52 UTC (rev 4749)
@@ -1,3 +1,16 @@
+gnumed-server (13.1-1) unstable; urgency=low
+
+  * New upstream version
+  * debian/*.8: removed because upstream took over the man pages;
+    wrote missing manpages for upstream scripts
+  * Source Format 3.0 (quilt)
+  * Depends: bsd-mailx | mailx, because there are other packages
+    that provide mailx
+  * debian/patches/20_create_backup_dir_if_needed.patch: Make
+    backup script more robust
+
+ -- Andreas Tille <tille at debian.org>  Fri, 23 Apr 2010 17:44:45 +0200
+
 gnumed-server (0v12.2-1) unstable; urgency=low
 
   * New upstream version

Modified: trunk/packages/gnumed-server/trunk/debian/conf/gnumed-backup.conf
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/conf/gnumed-backup.conf	2010-04-23 21:35:28 UTC (rev 4748)
+++ trunk/packages/gnumed-server/trunk/debian/conf/gnumed-backup.conf	2010-04-23 21:36:52 UTC (rev 4749)
@@ -30,7 +30,7 @@
 BACKUP_DIR="${HOME}/.gnumed/backup/"
 
 # which database to backup
-GM_DATABASE="gnumed_v12"
+GM_DATABASE="gnumed_v13"
 
 # user/group the backup is eventually owned by
 BACKUP_OWNER="$USER.$USER"

Modified: trunk/packages/gnumed-server/trunk/debian/control
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/control	2010-04-23 21:35:28 UTC (rev 4748)
+++ trunk/packages/gnumed-server/trunk/debian/control	2010-04-23 21:36:52 UTC (rev 4749)
@@ -4,7 +4,7 @@
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 DM-Upload-Allowed: yes
 Uploaders: Andreas Tille <tille at debian.org>
-Build-Depends: cdbs, debhelper (>= 7.1)
+Build-Depends: cdbs, debhelper (>= 7.1), quilt
 Build-Depends-Indep: po-debconf
 Standards-Version: 3.8.4
 Homepage: http://gnumed.org/
@@ -13,8 +13,9 @@
 
 Package: gnumed-server
 Architecture: all
-Depends: ${misc:Depends}, postgresql | postgresql-8.4, postgresql-client, python, debconf,
- bsd-mailx, openssl, bzip2, cron | anacron, sudo, gnupg | gnupg2, rsync, python-psycopg2 (>= 2.0.8)
+Depends: ${misc:Depends}, postgresql | postgresql-8.4, postgresql-client, python,
+ debconf, bsd-mailx | mailx, openssl, bzip2, cron | anacron, sudo, gnupg | gnupg2,
+ rsync, python-psycopg2 (>= 2.0.8)
 Recommends: postgresql-filedump-8.4
 Suggests: postgresql-contrib, postgresql-8.4-plr, bacula-console
 Description: medical practice management - server

Added: trunk/packages/gnumed-server/trunk/debian/gm-adjust_db_settings.8
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/gm-adjust_db_settings.8	                        (rev 0)
+++ trunk/packages/gnumed-server/trunk/debian/gm-adjust_db_settings.8	2010-04-23 21:36:52 UTC (rev 4749)
@@ -0,0 +1,22 @@
+.TH GM-ADJUST_DB_SETTINGS 8 "2010 April 23th" "GNUmed server adjust database"
+
+.SH NAME
+.B gm-adjust_db_settings
+- GNUmed server adjust database settinigs
+
+.SH SYNOPSIS
+.B gm-adjust_db_settings
+.I <target database>
+
+.I <target database>:
+a GNUmed database (such as "gnumed_VERSION")
+
+.SH DESCRIPTION
+The
+.B gm-adjust_db_settings
+script can be used to try to adjust database settings
+if the GNUmed client complains about them at startup.
+
+.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/gm-backup_data.8
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/gm-backup_data.8	2010-04-23 21:35:28 UTC (rev 4748)
+++ trunk/packages/gnumed-server/trunk/debian/gm-backup_data.8	2010-04-23 21:36:52 UTC (rev 4749)
@@ -1,26 +0,0 @@
-.TH GM-BACKUP_DATA 8 "2009 January 8th" "GNUmed server data backup"
-
-.SH NAME
-.B gm-backup_data
-- backup of GNUmed data
-
-.SH SYNOPSIS
-.B gm-backup_data
-
-.SH DESCRIPTION
-The 
-.B gm-backup_data
-script creates a backup of the data of a GNUmed
-database. It includes neither roles nor the schema.
-The backup can be used to restore the data into a
-preexisting, empty database.
-If you really know what you are doing and want to
-care for database schema  and roles yourself this
-script might suffice to backup the raw data.
-
-.SH SEE ALSO
-gm_backup_database(8)
-
-.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/gm-backup_database.8
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/gm-backup_database.8	2010-04-23 21:35:28 UTC (rev 4748)
+++ trunk/packages/gnumed-server/trunk/debian/gm-backup_database.8	2010-04-23 21:36:52 UTC (rev 4749)
@@ -1,26 +0,0 @@
-.TH GM-BACKUP_DATABASE 8 "2009 January 8th" "GNUmed server database backup"
-
-.SH NAME
-.B gm-backup_database
-- complete backup of GNUmed database
-
-.SH SYNOPSIS
-.B gm-backup_database
-
-.SH DESCRIPTION
-The 
-.B gm-backup_database
-script creates a backup of the database schema,
-data, and roles which can be used to restore a GNUmed
-database from scratch.
-It is a really good idea to use it in a daily cron job to ensure that GNUmed
-patient data are safe against data loss.  The Debian GNU/Linux
-packaged version of the GNUmed server installs such a cron job
-by default.
-
-.SH SEE ALSO 
-gm_backup_data(8)
-
-.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).

Added: trunk/packages/gnumed-server/trunk/debian/gm-remove_person.8
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/gm-remove_person.8	                        (rev 0)
+++ trunk/packages/gnumed-server/trunk/debian/gm-remove_person.8	2010-04-23 21:36:52 UTC (rev 4749)
@@ -0,0 +1,24 @@
+.TH GM-REMOVE_PERSON 8 "2010 April 23th" "GNUmed server remove person from database"
+
+.SH NAME
+.B gm-remove_person
+- GNUmed server remove person from database 
+
+.SH SYNOPSIS
+.B gm-remove_person
+.I <target database> <person PK> [ENT_TX]
+
+.I <target database>:
+a GNUmed database (such as "gnumed_VERSION")
+
+.I <person PK>:
+primary key of a person in that database
+
+.SH DESCRIPTION
+The script
+.B gm-remove_person
+can be used to remove a person from a 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).

Added: trunk/packages/gnumed-server/trunk/debian/patches/20_create_backup_dir_if_needed.patch
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/patches/20_create_backup_dir_if_needed.patch	                        (rev 0)
+++ trunk/packages/gnumed-server/trunk/debian/patches/20_create_backup_dir_if_needed.patch	2010-04-23 21:36:52 UTC (rev 4749)
@@ -0,0 +1,19 @@
+--- gnumed-server.13.1.orig/server/gm-move_backups_offsite.sh
++++ gnumed-server.13.1/server/gm-move_backups_offsite.sh
+@@ -44,12 +44,15 @@
+ 	exit 1
+ fi
+ 
++if [ ! -d "${BACKUP_DIR}" ] ; then
++	mkdir "${BACKUP_DIR}"
++fi
+ LOG="${BACKUP_DIR}/backup.log"
+ HOST=`hostname`
+ BACKUP_FILE_GLOB="backup-*.bz2"
+ 
+ # do not run concurrently
+-if test `ps ax | grep $0 | grep -v grep | grep -v $$` != "" ; then
++if test "`ps ax | grep $0 | grep -v grep | grep -v $$`" != "" ; then
+ 	echo "${HOST}: "`date`": transfer already in progress, exiting" >> ${LOG}
+ 	exit
+ fi

Added: trunk/packages/gnumed-server/trunk/debian/patches/series
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/patches/series	                        (rev 0)
+++ trunk/packages/gnumed-server/trunk/debian/patches/series	2010-04-23 21:36:52 UTC (rev 4749)
@@ -0,0 +1 @@
+20_create_backup_dir_if_needed.patch

Modified: trunk/packages/gnumed-server/trunk/debian/rules
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/rules	2010-04-23 21:35:28 UTC (rev 4748)
+++ trunk/packages/gnumed-server/trunk/debian/rules	2010-04-23 21:36:52 UTC (rev 4749)
@@ -4,7 +4,7 @@
 
 pkg=gnumed-server
 
-# include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
 install/gnumed-server::

Added: trunk/packages/gnumed-server/trunk/debian/source/format
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/source/format	                        (rev 0)
+++ trunk/packages/gnumed-server/trunk/debian/source/format	2010-04-23 21:36:52 UTC (rev 4749)
@@ -0,0 +1 @@
+3.0 (quilt)




More information about the debian-med-commit mailing list