diff --git a/pkgs/debian/changelog b/pkgs/debian/changelog index 04aed189..6d34ad27 100644 --- a/pkgs/debian/changelog +++ b/pkgs/debian/changelog @@ -1,3 +1,9 @@ +sftpgo (2.2.0-1ppa1) bionic; urgency=medium + + * New upstream release + + -- Nicola Murino Sat, 27 Nov 2021 13:41:17 +0100 + sftpgo (2.1.2-1ppa1) bionic; urgency=medium * New upstream release. diff --git a/pkgs/debian/patches/config.diff b/pkgs/debian/patches/config.diff index 609a0282..271fae38 100644 --- a/pkgs/debian/patches/config.diff +++ b/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 diff --git a/pkgs/debian/sftpgo.install b/pkgs/debian/sftpgo.install index 4848fe37..c1e27f5f 100644 --- a/pkgs/debian/sftpgo.install +++ b/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 diff --git a/pkgs/debian/sftpgo.install.arm64 b/pkgs/debian/sftpgo.install.arm64 index 1ac40d57..57528c6d 100644 --- a/pkgs/debian/sftpgo.install.arm64 +++ b/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 diff --git a/pkgs/debian/sftpgo.install.armhf b/pkgs/debian/sftpgo.install.armhf index 56c3de7f..3e6ecdc6 100644 --- a/pkgs/debian/sftpgo.install.armhf +++ b/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 diff --git a/pkgs/debian/sftpgo.install.ppc64el b/pkgs/debian/sftpgo.install.ppc64el index 4f3df6f7..bc7ffc80 100644 --- a/pkgs/debian/sftpgo.install.ppc64el +++ b/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 diff --git a/version/version.go b/version/version.go index 4512dc95..629850e1 100644 --- a/version/version.go +++ b/version/version.go @@ -2,7 +2,7 @@ package version import "strings" -const version = "2.2.0" +const version = "2.2.0-dev" var ( commit = ""