[med-svn] r6430 - in trunk/packages/gnumed-server/trunk/debian: . conf

Andreas Tille tille at alioth.debian.org
Fri Apr 1 17:05:58 UTC 2011


Author: tille
Date: 2011-04-01 17:05:56 +0000 (Fri, 01 Apr 2011)
New Revision: 6430

Modified:
   trunk/packages/gnumed-server/trunk/debian/README.Debian
   trunk/packages/gnumed-server/trunk/debian/changelog
   trunk/packages/gnumed-server/trunk/debian/compat
   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:
Prepare new upstream version, package needs more testing because upgrade did not worked as expected


Modified: trunk/packages/gnumed-server/trunk/debian/README.Debian
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/README.Debian	2011-04-01 15:52:48 UTC (rev 6429)
+++ trunk/packages/gnumed-server/trunk/debian/README.Debian	2011-04-01 17:05:56 UTC (rev 6430)
@@ -28,7 +28,7 @@
 
 	# /usr/sbin/gm-bootstrap_server
 
-Note that this will DESTROY any v2 - v13 databases you
+Note that this will DESTROY any v2 - v14 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 v13 database to the current version 14 database
+To upgrade your v14 database to the current version 15 database
 follow these steps:
 
 1) Make sure all clients are disconnected.
@@ -48,7 +48,7 @@
 
 2) Run the upgrade procedure.
 
-	# gm-upgrade_server 13 14
+	# gm-upgrade_server 14 15
 
 	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	2011-04-01 15:52:48 UTC (rev 6429)
+++ trunk/packages/gnumed-server/trunk/debian/changelog	2011-04-01 17:05:56 UTC (rev 6430)
@@ -1,3 +1,13 @@
+gnumed-server (15.0-1) unstable; urgency=low
+
+  * New upstream version
+  * Debhelper 8 (compat+control)
+  * debian/rules: Switch do dh_python2 by using short dh syntax
+  * debian/README.Debian: s/14/15/ to reflect the version upgrade
+  * debian/conf/gnumed-backup.conf: s/14/15/
+
+ -- Andreas Tille <tille at debian.org>  Fri, 01 Apr 2011 18:42:27 +0200
+
 gnumed-server (14.8-1) unstable; urgency=low
 
   * New usptream version

Modified: trunk/packages/gnumed-server/trunk/debian/compat
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/compat	2011-04-01 15:52:48 UTC (rev 6429)
+++ trunk/packages/gnumed-server/trunk/debian/compat	2011-04-01 17:05:56 UTC (rev 6430)
@@ -1 +1 @@
-7
+8

Modified: trunk/packages/gnumed-server/trunk/debian/conf/gnumed-backup.conf
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/conf/gnumed-backup.conf	2011-04-01 15:52:48 UTC (rev 6429)
+++ trunk/packages/gnumed-server/trunk/debian/conf/gnumed-backup.conf	2011-04-01 17:05:56 UTC (rev 6430)
@@ -30,7 +30,7 @@
 BACKUP_DIR="/var/lib/gnumed/server/backups"
 
 # which database to backup
-GM_DATABASE="gnumed_v14"
+GM_DATABASE="gnumed_v15"
 
 # 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	2011-04-01 15:52:48 UTC (rev 6429)
+++ trunk/packages/gnumed-server/trunk/debian/control	2011-04-01 17:05:56 UTC (rev 6430)
@@ -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), quilt
+Build-Depends: debhelper (>= 8), python (>= 2.6)
 Build-Depends-Indep: po-debconf
 Standards-Version: 3.9.1
 Homepage: http://www.gnumed.de

Modified: trunk/packages/gnumed-server/trunk/debian/rules
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/rules	2011-04-01 15:52:48 UTC (rev 6429)
+++ trunk/packages/gnumed-server/trunk/debian/rules	2011-04-01 17:05:56 UTC (rev 6430)
@@ -1,13 +1,14 @@
 #!/usr/bin/make -f
-# debian/rules for gnumed-server using cdbs
+# debian/rules for gnumed-server using dh
 # Andreas Tille <tille at debian.org>, GPL
 
-pkg=gnumed-server
+pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
 
-# include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
+%:
+	dh $@ --with python2
 
-install/gnumed-server::
+override_dh_install:
+	dh_install
 	cp -a server/bootstrap/[a-z]* debian/$(pkg)/var/lib/gnumed/server/bootstrap
 	for conffile in `find debian/$(pkg)/var/lib/gnumed/server/bootstrap -maxdepth 1 -type f -name \*.conf` ; do \
     	    sed -i 's/^\(interactive[[:space:]]*=[[:space:]]*\)yes/\1no/' "$$conffile" ; \
@@ -21,4 +22,3 @@
 		cp -a "$$script" debian/$(pkg)/usr/sbin/`basename "$$script" .sh` ; \
 	    fi \
 	done
-




More information about the debian-med-commit mailing list