[med-svn] r4835 - trunk/packages/gnumed-server/trunk/debian
Andreas Tille
tille at alioth.debian.org
Tue May 25 14:09:22 UTC 2010
Author: tille
Date: 2010-05-25 14:09:19 +0000 (Tue, 25 May 2010)
New Revision: 4835
Modified:
trunk/packages/gnumed-server/trunk/debian/README.Debian
trunk/packages/gnumed-server/trunk/debian/changelog
trunk/packages/gnumed-server/trunk/debian/postinst
trunk/packages/gnumed-server/trunk/debian/prerm
trunk/packages/gnumed-server/trunk/debian/watch
Log:
Neu upstream version containing @gm-login to maintain users who are allowed to acces GNUmed database.
Help: How can I commit the actual file @gm-login? When trying
$ svn add @gm-logins
svn: '@gm-logins' is just a peg revision. Maybe try '@gm-logins@' instead?
Modified: trunk/packages/gnumed-server/trunk/debian/README.Debian
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/README.Debian 2010-05-25 10:37:48 UTC (rev 4834)
+++ trunk/packages/gnumed-server/trunk/debian/README.Debian 2010-05-25 14:09:19 UTC (rev 4835)
@@ -69,7 +69,23 @@
You probably need to adjust the database name
in /etc/gnumed/gnumed-backup.conf.
+Accessing the database
+======================
+You need to add proper permissions for GNUmed users to
+/etc/postgresql/<version>/<cluster>/pg_hba.conf .
+It is suggested to use the line
+
+local samegroup +gm-logins md5
+
+by maintaining the file /etc/gnumed/@gm-logins
+which is linked to all directories
+ /etc/postgresql/*/main/
+automatically by the Debian package. In case you might
+use a differently named cluster, please set the proper
+symlink manually.
+
+
Configuring daily backups
=========================
Modified: trunk/packages/gnumed-server/trunk/debian/changelog
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/changelog 2010-05-25 10:37:48 UTC (rev 4834)
+++ trunk/packages/gnumed-server/trunk/debian/changelog 2010-05-25 14:09:19 UTC (rev 4835)
@@ -1,4 +1,4 @@
-gnumed-server (13.1-1) UNRELEASED; urgency=low
+gnumed-server (13.4-1) unstable; urgency=low
* New upstream version
* debian/control:
@@ -6,6 +6,11 @@
(since the gnumed-common dependency was dropped this is
needed now)
* debian/postinst: Do not use system group gnumed any more
+ * debian/watch: Do not prepend '0' before version number
+ * debian/conf/@gm-logins: GNUmed user logins
+ * debian/postinst: Link to /etc/gnumed/@gm-logins
+ * debian/prerm: Delete links to /etc/gnumed/@gm-logins
+ * debian/READM.Debian: mention the change in pg_hba.conf
-- Andreas Tille <tille at debian.org> Mon, 17 May 2010 16:21:57 +0200
Modified: trunk/packages/gnumed-server/trunk/debian/postinst
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/postinst 2010-05-25 10:37:48 UTC (rev 4834)
+++ trunk/packages/gnumed-server/trunk/debian/postinst 2010-05-25 14:09:19 UTC (rev 4835)
@@ -31,6 +31,15 @@
if [ -L /var/lib/gnumed/Gnumed ] ; then
rm -f /var/lib/gnumed/Gnumed
fi
+
+ # create symlink to /etc/gnumed/@gm-logins in any postgresql main instance which can be found
+ for pgdir in `ls /etc/postgresql` ; do
+ cd /etc/postgresql/$pgdir
+ if [ -d main ] ; then
+ cd main
+ ln -s /etc/gnumed/@gm-logins
+ fi
+ done
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: trunk/packages/gnumed-server/trunk/debian/prerm
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/prerm 2010-05-25 10:37:48 UTC (rev 4834)
+++ trunk/packages/gnumed-server/trunk/debian/prerm 2010-05-25 14:09:19 UTC (rev 4835)
@@ -21,6 +21,8 @@
purge)
rm -rf /var/log/gnumed/server/
rm -f /var/lib/gnumed/server/bootstrap/*.log
+ # Delete possibly existing links to /etc/gnumed/@gm-logins
+ find /etc/postgresql -type L -name @gm-logins -exec rm -f \{\} \;
;;
remove|upgrade|deconfigure)
if [ -d /var/lib/gnumed/server/bootstrap ] ; then
Modified: trunk/packages/gnumed-server/trunk/debian/watch
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/watch 2010-05-25 10:37:48 UTC (rev 4834)
+++ trunk/packages/gnumed-server/trunk/debian/watch 2010-05-25 14:09:19 UTC (rev 4835)
@@ -1,5 +1,5 @@
version=3
-opts="uversionmangle=s/^/0/" \
- http://wiki.gnumed.de/bin/view/Gnumed/InstallerGuideHomeShort \
+# opts="uversionmangle=s/^/0/" \
+http://wiki.gnumed.de/bin/view/Gnumed/InstallerGuideHomeShort \
http://www.gnumed.de/downloads/server/v[\d\.]+/gnumed-server\.([\d\.]+)\.tgz
More information about the debian-med-commit
mailing list