Browse Source

back to development

Nicola Murino 3 years ago
parent
commit
18ab757216

+ 6 - 0
pkgs/debian/changelog

@@ -1,3 +1,9 @@
+sftpgo (2.2.0-1ppa1) bionic; urgency=medium
+
+  * New upstream release
+
+ -- Nicola Murino <nicola.murino@gmail.com>  Sat, 27 Nov 2021 13:41:17 +0100
+
 sftpgo (2.1.2-1ppa1) bionic; urgency=medium
 
   * New upstream release.

+ 18 - 5
pkgs/debian/patches/config.diff

@@ -2,7 +2,7 @@ Index: sftpgo/sftpgo.json
 ===================================================================
 --- sftpgo.orig/sftpgo.json
 +++ sftpgo/sftpgo.json
-@@ -139,7 +139,7 @@
+@@ -148,7 +148,7 @@
    },
    "data_provider": {
      "driver": "sqlite",
@@ -11,7 +11,7 @@ Index: sftpgo/sftpgo.json
      "host": "",
      "port": 0,
      "username": "",
-@@ -150,14 +150,14 @@
+@@ -159,7 +159,7 @@
      "track_quota": 2,
      "delayed_quota_update": 0,
      "pool_size": 0,
@@ -19,7 +19,8 @@ Index: sftpgo/sftpgo.json
 +    "users_base_dir": "/srv/sftpgo/data",
      "actions": {
        "execute_on": [],
-       "hook": ""
+       "execute_for": [],
+@@ -167,7 +167,7 @@
      },
      "external_auth_hook": "",
      "external_auth_scope": 0,
@@ -28,16 +29,28 @@ Index: sftpgo/sftpgo.json
      "prefer_database_credentials": false,
      "pre_login_hook": "",
      "post_login_hook": "",
-@@ -193,9 +193,9 @@
-         "proxy_allowed": []
+@@ -214,10 +214,10 @@
+         "render_openapi": true
        }
      ],
 -    "templates_path": "templates",
 -    "static_files_path": "static",
+-    "openapi_path": "openapi",
 -    "backups_path": "backups",
 +    "templates_path": "/usr/share/sftpgo/templates",
 +    "static_files_path": "/usr/share/sftpgo/static",
++    "openapi_path": "/usr/share/sftpgo/openapi",
 +    "backups_path": "/srv/sftpgo/backups",
      "web_root": "",
      "certificate_file": "",
      "certificate_key_file": "",
+@@ -279,7 +279,7 @@
+     "auth_type": 0,
+     "encryption": 0,
+     "domain": "",
+-    "templates_path": "templates"
++    "templates_path": "/usr/share/sftpgo/templates"
+   },
+   "plugins": []
+ }
+\ No newline at end of file

+ 1 - 0
pkgs/debian/sftpgo.install

@@ -5,3 +5,4 @@ bash_completion/sftpgo usr/share/bash-completion/completions
 man/man1/* usr/share/man/man1
 templates usr/share/sftpgo
 static usr/share/sftpgo
+openapi usr/share/sftpgo

+ 1 - 0
pkgs/debian/sftpgo.install.arm64

@@ -5,3 +5,4 @@ bash_completion/sftpgo usr/share/bash-completion/completions
 man/man1/* usr/share/man/man1
 templates usr/share/sftpgo
 static usr/share/sftpgo
+openapi usr/share/sftpgo

+ 1 - 0
pkgs/debian/sftpgo.install.armhf

@@ -5,3 +5,4 @@ bash_completion/sftpgo usr/share/bash-completion/completions
 man/man1/* usr/share/man/man1
 templates usr/share/sftpgo
 static usr/share/sftpgo
+openapi usr/share/sftpgo

+ 1 - 0
pkgs/debian/sftpgo.install.ppc64el

@@ -5,3 +5,4 @@ bash_completion/sftpgo usr/share/bash-completion/completions
 man/man1/* usr/share/man/man1
 templates usr/share/sftpgo
 static usr/share/sftpgo
+openapi usr/share/sftpgo

+ 1 - 1
version/version.go

@@ -2,7 +2,7 @@ package version
 
 import "strings"
 
-const version = "2.2.0"
+const version = "2.2.0-dev"
 
 var (
 	commit = ""