Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2017-08-18 15:03:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and      /work/SRC/openSUSE:Factory/.gnuhealth.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnuhealth"

Fri Aug 18 15:03:55 2017 rev:13 rq:517027 version:3.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes      2017-07-23 
12:16:21.755110039 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2017-08-18 
15:04:00.289527804 +0200
@@ -1,0 +2,9 @@
+Tue Aug  8 18:51:23 UTC 2017 - axel.br...@gmx.de
+
+- added gnuhealth-webdav@.service
+- updated documentation on gnuhealth-webdav@.service
+- added alias cdutil for compatibility reasons (not really needed,
+  as binaries are in /usr/bin anyway)
+- fixed path for cdexe  
+
+-------------------------------------------------------------------

New:
----
  gnuhealth-webdav@.service

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnuhealth.spec ++++++
--- /var/tmp/diff_new_pack.DlQGLg/_old  2017-08-18 15:04:01.929296853 +0200
+++ /var/tmp/diff_new_pack.DlQGLg/_new  2017-08-18 15:04:01.945294600 +0200
@@ -33,6 +33,7 @@
 Source1:        GNUHealth.README.SUSE
 Source2:        gnuhealth-control
 Source3:        gnuhealth.service
+Source4:        gnuhealth-webdav@.service
 
 BuildArch:      noarch
 
@@ -132,23 +133,27 @@
 
 mkdir -p $RPM_BUILD_ROOT%{_unitdir}
 install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_unitdir}/%{name}.service
+install -p -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_unitdir}/%{name}-webdav@.service
 
 %fdupes -s %{buildroot}
 
 %pre
 #Write environment changes to /etc/bash.bashrc.local
 cat > /etc/bash.bashrc.local << "EOF"
-alias cdlogs='cd /var/log/trytond'
-alias cdexe='cd /usr/lib/python/site-packages/trytond'
+alias cdlogs='cd /var/log/tryton'
+alias cdexe='cd $(ls -d /usr/lib/python3.* )/site-packages/trytond'
 alias cdconf='cd /etc/tryton'
-alias cdmods='cd /usr/lib/python/site-packages/trytond/modules'
+alias cdmods='cd $(ls -d /usr/lib/python3.* )/site-packages/trytond/modules'
 alias editconf='${EDITOR} /etc/tryton/trytond.conf'
+alias cdutil='cd /usr/bin'
 EOF
 
 %service_add_pre gnuhealth.service
+%service_add_pre gnuhealth-webdav@.service
 
 %post
 %service_add_post gnuhealth.service
+%service_add_post gnuhealth-webdav@.service
 
 %preun
 %service_del_preun gnuhealth.service
@@ -160,6 +165,7 @@
 %defattr(744,root,root)
 %{_bindir}/gnuhealth-control
 %{_unitdir}/%{name}.service
+%{_unitdir}/%{name}-webdav@.service
 %defattr(-,root,root)
 %doc README Changelog COPYING gnuhealth-setup version gnuhealthrc 
GNUHealth.README.SUSE scripts/* backend/* config/* doc/*
 %{python_sitelib}/*

++++++ GNUHealth.README.SUSE ++++++
--- /var/tmp/diff_new_pack.DlQGLg/_old  2017-08-18 15:04:02.053279391 +0200
+++ /var/tmp/diff_new_pack.DlQGLg/_new  2017-08-18 15:04:02.057278828 +0200
@@ -130,6 +130,14 @@
 
 You may use the GNUHealth mailing list (hea...@gnu.org) for remarks or 
questions.
 
+gnuhealth-webdav@.service
+=========================
+
+Starting with GNU Health 3.2, GNU Health comes with its own WebDAV-Server that 
can be used for shared calendars. In order to enable the WebDAV server, it 
comes with a systemd-service. As input parameter for the service the 
database-name on which to operate must be passed. Say your database is called 
mydb, invoke the service with
+
+systemctl enable gnuhealth-webdav@mydb.service
+
+You can start multiple webdav services for different databases in parallel.
 
 Digital Signatures
 ==================

++++++ gnuhealth-webdav@.service ++++++
[Unit]
Description=WebDAV Server for GNU Health on Database %I
After=syslog.target
Requires=gnuhealth.service

[Service]
Type=simple
User=tryton
Group=tryton
PIDFile=/var/lib/trytond/gnuhealth-webdav.pid

ExecStart=/usr/bin/trytond-webdav -c /etc/tryton/trytond.conf -d %I -v

# Give a reasonable amount of time for the server to start up/shut down
TimeoutSec=300

# We rely on systemd to restart WebDAV Server if it dies
Restart=always

[Install]
WantedBy=multi-user.target
++++++ gnuhealth.service ++++++
--- /var/tmp/diff_new_pack.DlQGLg/_old  2017-08-18 15:04:02.245252353 +0200
+++ /var/tmp/diff_new_pack.DlQGLg/_new  2017-08-18 15:04:02.257250663 +0200
@@ -2,6 +2,7 @@
 Description=GNU Health server
 After=syslog.target
 Requires=postgresql.service
+Conflicts=trytond.service
 
 [Service]
 Type=simple


Reply via email to