commit seafile for openSUSE:Factory

2020-10-13 Thread root
Hello community,

here is the log from the commit of package seafile for openSUSE:Factory checked 
in at 2020-10-13 15:42:20

Comparing /work/SRC/openSUSE:Factory/seafile (Old)
 and  /work/SRC/openSUSE:Factory/.seafile.new.3486 (New)


Package is "seafile"

Tue Oct 13 15:42:20 2020 rev:5 rq:841270 version:7.0.10

Changes:

--- /work/SRC/openSUSE:Factory/seafile/seafile.changes  2020-08-10 
14:52:05.163813212 +0200
+++ /work/SRC/openSUSE:Factory/.seafile.new.3486/seafile.changes
2020-10-13 15:44:00.493407299 +0200
@@ -1,0 +2,5 @@
+Mon Oct 12 09:30:54 UTC 2020 - Paolo Stivanin 
+
+- Update to 7.0.10 (no changelog) 
+
+---

Old:

  v7.0.9.tar.gz

New:

  v7.0.10.tar.gz



Other differences:
--
++ seafile.spec ++
--- /var/tmp/diff_new_pack.gTtEsH/_old  2020-10-13 15:44:02.401408123 +0200
+++ /var/tmp/diff_new_pack.gTtEsH/_new  2020-10-13 15:44:02.405408125 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   seafile
-Version:7.0.9
+Version:7.0.10
 Release:0
 Summary:Cloud storage client
 License:GPL-2.0-only

++ v7.0.9.tar.gz -> v7.0.10.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seafile-7.0.9/README.markdown 
new/seafile-7.0.10/README.markdown
--- old/seafile-7.0.9/README.markdown   2020-07-29 04:32:25.0 +0200
+++ new/seafile-7.0.10/README.markdown  2020-10-12 04:19:33.0 +0200
@@ -57,7 +57,7 @@
 * Android app: https://github.com/haiwen/seadroid
 * WebDAV: https://github.com/haiwen/seafdav
 
-Before version 6.0, the source code of "sync client daemon" and "server core" 
are mixed together in https://github.com/haiwen/seafile.
+Before version 6.0, the source code of "sync client daemon" and "server core" 
was mixed together in https://github.com/haiwen/seafile.
 But after 6.0 version, the server core is separated into its own repository.
 For this reason, the sync client daemon repository is still the "front page" 
for Seafile project on Github.
 
@@ -76,7 +76,7 @@
 * Android client: https://github.com/haiwen/seadroid/issues
 * iOS client: https://github.com/haiwen/seafile-iOS/issues
 
-Feature requests and installation/usage problem should be asked in the forum 
https://forum.seafile.com/.
+Feature requests can be made and installation/usage problems can be discussed 
in the forum https://forum.seafile.com/.
 
 Internationalization (I18n)
 ===
@@ -101,7 +101,7 @@
 Contributing
 ===
 
-For more informations read 
[Contribution](http://manual.seafile.com/contribution.html).
+For more information read 
[Contribution](http://manual.seafile.com/contribution.html).
 
 
 License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seafile-7.0.9/common/commit-mgr.c 
new/seafile-7.0.10/common/commit-mgr.c
--- old/seafile-7.0.9/common/commit-mgr.c   2020-07-29 04:32:25.0 
+0200
+++ new/seafile-7.0.10/common/commit-mgr.c  2020-10-12 04:19:33.0 
+0200
@@ -757,6 +757,14 @@
 if (!salt || strlen(salt) != 64)
 return NULL;
 break;
+case 4:
+if (!magic || strlen(magic) != 64)
+return NULL;
+if (!random_key || strlen(random_key) != 96)
+return NULL;
+if (!salt || strlen(salt) != 64)
+return NULL;
+break;
 default:
 seaf_warning ("Unknown encryption version %d.\n", enc_version);
 return NULL;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seafile-7.0.9/common/seafile-crypt.c 
new/seafile-7.0.10/common/seafile-crypt.c
--- old/seafile-7.0.9/common/seafile-crypt.c2020-07-29 04:32:25.0 
+0200
+++ new/seafile-7.0.10/common/seafile-crypt.c   2020-10-12 04:19:33.0 
+0200
@@ -63,7 +63,7 @@
 
 return 0;
 #else
-if (version == 3) {
+if (version >= 3) {
 unsigned char repo_salt_bin[32];
 
 hex_to_rawdata (repo_salt, repo_salt_bin, 32);
@@ -205,7 +205,7 @@
 unsigned char key[32], iv[16];
 char hex[65];
 
-if (version != 1 && version != 2 && version != 3) {
+if (version != 1 && version != 2 && version != 3 && version != 4) {
 seaf_warning ("Unsupported enc_version %d.\n", version);
 return -1;
 }
@@ -458,21 +458,21 @@
 /* Prepare CTX for encryption. */
 ctx = EVP_CIPHER_CTX_new ();
 
-if (crypt->version == 2)
+if (crypt->version == 1)
 ret = EVP_EncryptInit_ex (ctx,
-  EVP_aes_256_cbc(), /* cipher mode */
+  EVP_aes_128_cbc(), /* cipher mode */
  

commit seafile for openSUSE:Factory

2020-08-10 Thread root
Hello community,

here is the log from the commit of package seafile for openSUSE:Factory checked 
in at 2020-08-10 14:52:01

Comparing /work/SRC/openSUSE:Factory/seafile (Old)
 and  /work/SRC/openSUSE:Factory/.seafile.new.3399 (New)


Package is "seafile"

Mon Aug 10 14:52:01 2020 rev:4 rq:825253 version:7.0.9

Changes:

--- /work/SRC/openSUSE:Factory/seafile/seafile.changes  2020-06-09 
00:06:47.065741980 +0200
+++ /work/SRC/openSUSE:Factory/.seafile.new.3399/seafile.changes
2020-08-10 14:52:05.163813212 +0200
@@ -1,0 +2,12 @@
+Mon Aug 10 06:19:58 UTC 2020 - Paolo Stivanin 
+
+- For some reasons (very likely a typo), seaf-cli had python33
+  instead of python3 set as interpreter. An additional 'sed' was
+  added to the spec file
+
+---
+Fri Jul 31 05:55:43 UTC 2020 - Paolo Stivanin 
+
+- Update to 7.0.9 (no changelog) 
+
+---

Old:

  v7.0.8.tar.gz

New:

  v7.0.9.tar.gz



Other differences:
--
++ seafile.spec ++
--- /var/tmp/diff_new_pack.IkAZvg/_old  2020-08-10 14:52:05.859813579 +0200
+++ /var/tmp/diff_new_pack.IkAZvg/_new  2020-08-10 14:52:05.863813582 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   seafile
-Version:7.0.8
+Version:7.0.9
 Release:0
 Summary:Cloud storage client
 License:GPL-2.0-only
@@ -78,6 +78,7 @@
 %setup -q -n seafile-%{version}
 sed -i -e /\(DESTDIR\)/d lib/libseafile.pc.in
 sed -i -e 's@#!%{_bindir}/env python@#!%{_bindir}/python3@' app/seaf-cli
+sed -i -e 's@#!%{_bindir}/python33@#!%{_bindir}/python3@' app/seaf-cli
 
 %build
 ./autogen.sh

++ v7.0.8.tar.gz -> v7.0.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seafile-7.0.8/app/seaf-cli 
new/seafile-7.0.9/app/seaf-cli
--- old/seafile-7.0.8/app/seaf-cli  2020-06-02 10:58:05.0 +0200
+++ new/seafile-7.0.9/app/seaf-cli  2020-07-29 04:32:25.0 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #-*- coding:utf-8 -*-
 # pylint: disable=E1121
 
@@ -80,13 +80,6 @@
 seaf-cli create -s  -n  -u  -p 
 [-a <2fa-code>] -t  [-e ]
 
 '''
-from __future__ import print_function
-from __future__ import division
-
-from future import standard_library
-standard_library.install_aliases()
-from builtins import str
-from builtins import input
 import argparse
 import os
 import json
@@ -306,14 +299,14 @@
 else:
 headers = None
 token_json = urlopen("%s/api2/auth-token/" % url, data=data, 
headers=headers)
-tmp = json.loads(token_json)
+tmp = json.loads(token_json.decode('utf8'))
 token = tmp['token']
 return token
 
 def get_repo_download_info(url, token):
 headers = { 'Authorization': 'Token %s' % token }
 repo_info = urlopen(url, headers=headers)
-return json.loads(repo_info)
+return json.loads(repo_info.decode('utf8'))
 
 def seaf_init(args):
 ''' Initialize config directories'''
@@ -391,9 +384,6 @@
 repos = seafile_rpc.get_repo_list(-1, -1)
 print("Name\tID\tPath")
 for repo in repos:
-if sys.version_info[0] == 2:
-repo.name = repo.name.encode('utf8')
-repo.worktree = repo.worktree.encode('utf8')
 print(repo.name, repo.id, repo.worktree)
 
 
@@ -443,10 +433,7 @@
 continue
 
 printed[repo['id']] = repo['id']
-if sys.version_info[0] == 2:
-print(repo['name'].encode('utf8'), repo['id'])
-else:
-print(repo['name'], repo['id'])
+print(repo['name'], repo['id'])
 
 
 def get_base_url(url):
@@ -781,8 +768,6 @@
 
 repos = seafile_rpc.get_repo_list(-1, -1)
 for repo in repos:
-if sys.version_info[0] == 2:
-repo.name = repo.name.encode('utf8')
 auto_sync_enabled = seafile_rpc.is_auto_sync_enabled()
 if not auto_sync_enabled or not repo.auto_sync:
 print('{:<50s}\t{:<20s}'.format(repo.name, 'auto sync disabled'))
@@ -824,7 +809,7 @@
 if args.libpasswd:
 data['passwd'] = args.libpasswd
 repo_info_json =  urlopen(url, data=data, headers=headers)
-repo_info = json.loads(repo_info_json)
+repo_info = json.loads(repo_info_json.decode('utf8'))
 return repo_info['repo_id']
 
 def seaf_create(args):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seafile-7.0.8/configure.ac 
new/seafile-7.0.9/configure.ac
--- old/seafile-7.0.8/configure.ac  2020-06-02 10:58:05.0 +0200
+++ new/seafile-7.0.9/configure.ac  2020-07-29 04:32:25.0 +0200
@@ -2,7 +2,7 @@
 
 
 AC_PREREQ(2.61)
-AC_INIT([seafile], [7.0.8], [i...@seafile.com]

commit seafile for openSUSE:Factory

2020-06-08 Thread root
Hello community,

here is the log from the commit of package seafile for openSUSE:Factory checked 
in at 2020-06-09 00:05:05

Comparing /work/SRC/openSUSE:Factory/seafile (Old)
 and  /work/SRC/openSUSE:Factory/.seafile.new.3606 (New)


Package is "seafile"

Tue Jun  9 00:05:05 2020 rev:3 rq:812475 version:7.0.8

Changes:

--- /work/SRC/openSUSE:Factory/seafile/seafile.changes  2020-04-10 
23:54:10.848739624 +0200
+++ /work/SRC/openSUSE:Factory/.seafile.new.3606/seafile.changes
2020-06-09 00:06:47.065741980 +0200
@@ -1,0 +2,5 @@
+Mon Jun  8 07:53:04 UTC 2020 - Paolo Stivanin 
+
+- Update to 7.0.8 (no changelog) 
+
+---

Old:

  v7.0.7.tar.gz

New:

  v7.0.8.tar.gz



Other differences:
--
++ seafile.spec ++
--- /var/tmp/diff_new_pack.AKylB0/_old  2020-06-09 00:06:50.569754411 +0200
+++ /var/tmp/diff_new_pack.AKylB0/_new  2020-06-09 00:06:50.569754411 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   seafile
-Version:7.0.7
+Version:7.0.8
 Release:0
 Summary:Cloud storage client
 License:GPL-2.0-only

++ v7.0.7.tar.gz -> v7.0.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seafile-7.0.7/configure.ac 
new/seafile-7.0.8/configure.ac
--- old/seafile-7.0.7/configure.ac  2020-04-01 04:48:24.0 +0200
+++ new/seafile-7.0.8/configure.ac  2020-06-02 10:58:05.0 +0200
@@ -2,7 +2,7 @@
 
 
 AC_PREREQ(2.61)
-AC_INIT([seafile], [7.0.7], [i...@seafile.com])
+AC_INIT([seafile], [7.0.8], [i...@seafile.com])
 AC_CONFIG_HEADER([config.h])
 
 AC_CONFIG_MACRO_DIR([m4])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seafile-7.0.7/daemon/repo-mgr.c 
new/seafile-7.0.8/daemon/repo-mgr.c
--- old/seafile-7.0.7/daemon/repo-mgr.c 2020-04-01 04:48:24.0 +0200
+++ new/seafile-7.0.8/daemon/repo-mgr.c 2020-06-02 10:58:05.0 +0200
@@ -3719,9 +3719,29 @@
  */
 if (!is_path_writable(repo->id,
   repo->is_readonly, event->path)) {
+char *filename = g_path_get_basename (event->path);
+if (seaf_repo_manager_is_ignored_hidden_file(filename)) {
+g_free (filename);
+break;
+}
+g_free (filename);
+
+char *fullpath = g_build_path(PATH_SEPERATOR, repo->worktree, 
event->path, NULL);
+struct cache_entry *ce = index_name_exists(istate, 
event->path, strlen(event->path), 0);
+SeafStat st;
+if (ce != NULL &&
+seaf_stat (fullpath, &st) == 0 &&
+ce->ce_mtime.sec == st.st_mtime &&
+ce->ce_size == st.st_size) {
+g_free (fullpath);
+break;
+}
+
 send_file_sync_error_notification (repo->id, repo->name, 
event->path,

SYNC_ERROR_ID_UPDATE_TO_READ_ONLY_REPO);
 seaf_debug ("%s is not writable, ignore.\n", event->path);
+
+g_free (fullpath);
 break;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seafile-7.0.7/debian/changelog 
new/seafile-7.0.8/debian/changelog
--- old/seafile-7.0.7/debian/changelog  2020-04-01 04:48:24.0 +0200
+++ new/seafile-7.0.8/debian/changelog  2020-06-02 10:58:05.0 +0200
@@ -1,3 +1,8 @@
+seafile-daemon (7.0.8) unstable; urgency=low
+
+  * new upstream release
+
+ -- Jonathan Xu   Tue, 2 Jun  2020 16:54:38 +0800
 seafile-daemon (7.0.7) unstable; urgency=low
 
   * new upstream release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seafile-7.0.7/debian/control 
new/seafile-7.0.8/debian/control
--- old/seafile-7.0.7/debian/control2020-04-01 04:48:24.0 +0200
+++ new/seafile-7.0.8/debian/control2020-06-02 10:58:05.0 +0200
@@ -55,7 +55,6 @@
 ${python:Depends},
 libseafile0 (>= ${binary:Version}),
 seafile-daemon (>= ${binary:Version}),
-python-future,
 python-searpc (>= 3.1.0)
 Conflicts: seafile
 Description: Seafile command line interface.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seafile-7.0.7/msi/Includes.wxi 
new/seafile-7.0.8/msi/Includes.wxi
--- old/seafile-7.0.7/msi/Includes.wxi  2020-04-01 04:48:24.0 +0200
+++ new/seafile-7.0.8/msi/Includes.wxi  2020-06-02 10:58:05.0 +0200
@@ -1,6 +1,6 @@
 
 
-  
+  
 
   
   
@@ -139,7 +139,8 @@
   
   

commit seafile for openSUSE:Factory

2020-04-10 Thread root
Hello community,

here is the log from the commit of package seafile for openSUSE:Factory checked 
in at 2020-04-10 23:53:31

Comparing /work/SRC/openSUSE:Factory/seafile (Old)
 and  /work/SRC/openSUSE:Factory/.seafile.new.3248 (New)


Package is "seafile"

Fri Apr 10 23:53:31 2020 rev:2 rq:792889 version:7.0.7

Changes:

--- /work/SRC/openSUSE:Factory/seafile/seafile.changes  2020-03-19 
19:51:40.900231988 +0100
+++ /work/SRC/openSUSE:Factory/.seafile.new.3248/seafile.changes
2020-04-10 23:54:10.848739624 +0200
@@ -1,0 +2,5 @@
+Fri Apr 10 06:25:34 UTC 2020 - Paolo Stivanin 
+
+- Update to v7.0.7 (no changelog) 
+
+---

Old:

  v7.0.6.tar.gz

New:

  v7.0.7.tar.gz



Other differences:
--
++ seafile.spec ++
--- /var/tmp/diff_new_pack.P5gSof/_old  2020-04-10 23:54:12.012740478 +0200
+++ /var/tmp/diff_new_pack.P5gSof/_new  2020-04-10 23:54:12.012740478 +0200
@@ -15,9 +15,10 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 Name:   seafile
-Version:7.0.6
-Release:2
+Version:7.0.7
+Release:0
 Summary:Cloud storage client
 License:GPL-2.0-only
 URL:https://github.com/haiwen/seafile/

++ v7.0.6.tar.gz -> v7.0.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seafile-7.0.6/configure.ac 
new/seafile-7.0.7/configure.ac
--- old/seafile-7.0.6/configure.ac  2020-02-14 08:10:48.0 +0100
+++ new/seafile-7.0.7/configure.ac  2020-04-01 04:48:24.0 +0200
@@ -2,7 +2,7 @@
 
 
 AC_PREREQ(2.61)
-AC_INIT([seafile], [7.0.6], [i...@seafile.com])
+AC_INIT([seafile], [7.0.7], [i...@seafile.com])
 AC_CONFIG_HEADER([config.h])
 
 AC_CONFIG_MACRO_DIR([m4])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seafile-7.0.6/daemon/repo-mgr.c 
new/seafile-7.0.7/daemon/repo-mgr.c
--- old/seafile-7.0.6/daemon/repo-mgr.c 2020-02-14 08:10:48.0 +0100
+++ new/seafile-7.0.7/daemon/repo-mgr.c 2020-04-01 04:48:24.0 +0200
@@ -69,6 +69,7 @@
 "Thumbs.db",
 /* For Mac */
 ".DS_Store",
+"._*",
 NULL,
 };
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seafile-7.0.6/debian/changelog 
new/seafile-7.0.7/debian/changelog
--- old/seafile-7.0.6/debian/changelog  2020-02-14 08:10:48.0 +0100
+++ new/seafile-7.0.7/debian/changelog  2020-04-01 04:48:24.0 +0200
@@ -1,3 +1,8 @@
+seafile-daemon (7.0.7) unstable; urgency=low
+
+  * new upstream release
+
+ -- Jonathan Xu   Wed, 1 Apr  2020 09:57:00 +0800
 seafile-daemon (7.0.6) unstable; urgency=low
 
   * new upstream release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/seafile-7.0.6/msi/Includes.wxi 
new/seafile-7.0.7/msi/Includes.wxi
--- old/seafile-7.0.6/msi/Includes.wxi  2020-02-14 08:10:48.0 +0100
+++ new/seafile-7.0.7/msi/Includes.wxi  2020-04-01 04:48:24.0 +0200
@@ -1,6 +1,6 @@
 
 
-  
+  
 
   
   
@@ -138,7 +138,8 @@
   
   
   
-  
+  
+