Hello community, here is the log from the commit of package trytond for openSUSE:Factory checked in at 2019-12-04 13:51:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond (Old) and /work/SRC/openSUSE:Factory/.trytond.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond" Wed Dec 4 13:51:14 2019 rev:38 rq:752392 version:5.0.15 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond/trytond.changes 2019-11-12 11:56:47.175430528 +0100 +++ /work/SRC/openSUSE:Factory/.trytond.new.4691/trytond.changes 2019-12-04 14:19:44.318405692 +0100 @@ -1,0 +2,6 @@ +Thu Nov 21 14:01:30 UTC 2019 - Axel Braun <[email protected]> + +- version 5.0.15 (upgrade to GNU Health 3.6.x) + get_login_trytond-46.patch removed + +------------------------------------------------------------------- Old: ---- get_login_trytond-46.patch trytond-4.6.22.tar.gz New: ---- trytond-5.0.15.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond.spec ++++++ --- /var/tmp/diff_new_pack.i1kIhD/_old 2019-12-04 14:19:44.810406107 +0100 +++ /var/tmp/diff_new_pack.i1kIhD/_new 2019-12-04 14:19:44.814406110 +0100 @@ -1,8 +1,8 @@ # # spec file for package trytond # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. -# Copyright (c) 2015-2018 Dr. Axel Braun +# Copyright (c) 2019 SUSE LLC. +# Copyright (c) 2015 2017 Dr. Axel Braun # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,25 +17,25 @@ # -%define majorver 4.6 +%define majorver 5.0 %define base_name tryton Name: trytond -Version: %{majorver}.22 +Version: %{majorver}.15 Release: 0 Summary: An Enterprise Resource Planning (ERP) system License: GPL-3.0-or-later Group: Productivity/Office/Management -Url: http://www.tryton.org/ +URL: http://www.tryton.org/ Source0: http://downloads.tryton.org/%{majorver}/%{name}-%{version}.tar.gz +#Patch0: trytond_get_login.patch Source1: tryton-server.README.SUSE Source2: trytond.conf.example Source3: %{name}.conf Source4: %{name}_log.conf +#Source11: %{name}.sysconfig Source20: %{name}.service - -Patch0: get_login_trytond-46.patch - +#Patch0: %{name}_server.diff # List of additional build dependencies BuildRequires: fdupes BuildRequires: python3-Werkzeug @@ -82,7 +82,7 @@ %setup -q cp %{S:1} . cp %{S:2} . -%patch0 -p1 +#%patch0 -p1 %build python3 setup.py build @@ -98,16 +98,9 @@ install -p -m 644 %{SOURCE20} $RPM_BUILD_ROOT%{_unitdir}/%{name}.service mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/{lib,log}/%{base_name} - -%python_expand %fdupes %{buildroot}%{$python_sitelib} +%fdupes -s %{buildroot} %pre - -#Write GH Variable /etc/tryton/gnuhealthrc -cat > /etc/tryton/gnuhealthrc << "EOF" -TRYTON_VERSION=%{version} -EOF - getent group tryton > /dev/null || %{_sbindir}/groupadd -r tryton || : getent passwd tryton > /dev/null || %{_sbindir}/useradd -r -g tryton \ -d %{_localstatedir}/lib/tryton -s /sbin/nologin \ @@ -132,6 +125,7 @@ %{_bindir}/%{name} %{_bindir}/%{name}-admin %{_bindir}/%{name}-cron +%{_bindir}/%{name}-worker %{_unitdir}/%{name}.service %attr(640,root,tryton) %config(noreplace)%{_sysconfdir}/%{base_name}/%{name}.conf %attr(640,root,tryton) %config(noreplace)%{_sysconfdir}/%{base_name}/%{name}_log.conf ++++++ tryton-server.README.SUSE ++++++ --- /var/tmp/diff_new_pack.i1kIhD/_old 2019-12-04 14:19:44.854406144 +0100 +++ /var/tmp/diff_new_pack.i1kIhD/_new 2019-12-04 14:19:44.854406144 +0100 @@ -160,9 +160,23 @@ As result you will have a bare Tryton database with the base modules installed. -See: http://doc.tryton.org/4.6/trytond/doc/topics/configuration.html +See: http://doc.tryton.org/4.2/trytond/doc/topics/configuration.html +Installation of the Webfrontend for tryton (sao) from package +------------------------------------------------------------- + +For most openSUSE Flavours tryton-sao is packed. You can install it with + > zypper install tryton-sao + +You need to edit /etc/tryton/trytond.conf. Installation of tryton-sao follows the +standards for nodejs-installations, so the path is within the node-modules: + +In the section [web], set the path: + root = /usr/lib/node-modules/tryton-sao + +Now restart trytond. + Installation of the Webfrontend for tryton (sao) from source ------------------------------------------------------------ @@ -237,7 +251,7 @@ * Only the same major version of Tryton client and Tryton server can connect. - -- Axel Braun <[email protected]> März 20, 2019, 19:20:02 + -- Axel Braun <[email protected]> MON Jun 11 10:27:14 UTC 2018 This file is based on tryton-server.README.Debian ++++++ trytond-4.6.22.tar.gz -> trytond-5.0.15.tar.gz ++++++ ++++ 72793 lines of diff (skipped) ++++++ trytond.conf ++++++ --- /var/tmp/diff_new_pack.i1kIhD/_old 2019-12-04 14:19:45.090406343 +0100 +++ /var/tmp/diff_new_pack.i1kIhD/_new 2019-12-04 14:19:45.090406343 +0100 @@ -92,6 +92,16 @@ # The time (in seconds) until an inactive session expires #timeout = 3600 +# The server administration password used by the client for +# the execution of database management tasks. It is encrypted +# using using the Unix crypt(3) routine. A password can be +# generated using the following command line (on one line): +# $ python -c 'import getpass,crypt,random,string; \ +# print crypt.crypt(getpass.getpass(), \ +# "".join(random.sample(string.ascii_letters + string.digits, 8)))' +# Example password with 'admin' +#super_pwd = jkUbZGvFNeugk + [email] # Mail settings
