mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-25 00:50:31 +00:00
back to development
This commit is contained in:
parent
05ae0ea5f2
commit
363977b474
10 changed files with 19 additions and 28 deletions
|
@ -41,7 +41,7 @@ description: |
|
|||
Fully featured and highly configurable SFTP server
|
||||
SFTPGo has optional FTP/S and WebDAV support.
|
||||
It can serve local filesystem, S3 (Compatible) Object Storage,
|
||||
Google Cloud Storage and Azure Blob Storage.
|
||||
Google Cloud Storage, Azure Blob Storage, SFTP.
|
||||
vendor: "SFTPGo"
|
||||
homepage: "https://github.com/drakkan/sftpgo"
|
||||
license: "GPL-3.0"
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
sftpgo (2.0.0-1ppa1) bionic; urgency=medium
|
||||
|
||||
* New upstream release.
|
||||
|
||||
-- Nicola Murino <nicola.murino@gmail.com> Sat, 06 Feb 2021 11:05:48 +0100
|
||||
|
||||
sftpgo (1.2.2-1ppa1) bionic; urgency=medium
|
||||
|
||||
* New upstream release.
|
||||
|
|
|
@ -11,8 +11,7 @@ Package: sftpgo
|
|||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Recommends: bash-completion, mime-support
|
||||
Suggests: python3-requests, python3-pygments
|
||||
Description: Fully featured and highly configurable SFTP server
|
||||
SFTPGo has optional FTP/S and WebDAV support.
|
||||
It can serve local filesystem, S3 (Compatible) Object Storage,
|
||||
Google Cloud Storage and Azure Blob Storage.
|
||||
Google Cloud Storage, Azure Blob Storage, SFTP.
|
||||
|
|
|
@ -2,17 +2,17 @@ Index: sftpgo/sftpgo.json
|
|||
===================================================================
|
||||
--- sftpgo.orig/sftpgo.json
|
||||
+++ sftpgo/sftpgo.json
|
||||
@@ -74,7 +74,7 @@
|
||||
@@ -113,7 +113,7 @@
|
||||
},
|
||||
"data_provider": {
|
||||
"driver": "sqlite",
|
||||
- "name": "sftpgo.db",
|
||||
+ "name": "/var/lib/sftpgo/sftpgo.db",
|
||||
"host": "",
|
||||
"port": 5432,
|
||||
"port": 0,
|
||||
"username": "",
|
||||
@@ -85,14 +85,14 @@
|
||||
"manage_users": 1,
|
||||
@@ -123,14 +123,14 @@
|
||||
"sql_tables_prefix": "",
|
||||
"track_quota": 2,
|
||||
"pool_size": 0,
|
||||
- "users_base_dir": "",
|
||||
|
@ -28,16 +28,16 @@ Index: sftpgo/sftpgo.json
|
|||
"prefer_database_credentials": false,
|
||||
"pre_login_hook": "",
|
||||
"post_login_hook": "",
|
||||
@@ -111,9 +111,9 @@
|
||||
"httpd": {
|
||||
"bind_port": 8080,
|
||||
"bind_address": "127.0.0.1",
|
||||
@@ -156,9 +156,9 @@
|
||||
"client_auth_type": 0
|
||||
}
|
||||
],
|
||||
- "templates_path": "templates",
|
||||
- "static_files_path": "static",
|
||||
- "backups_path": "backups",
|
||||
+ "templates_path": "/usr/share/sftpgo/templates",
|
||||
+ "static_files_path": "/usr/share/sftpgo/static",
|
||||
+ "backups_path": "/srv/sftpgo/backups",
|
||||
"auth_user_file": "",
|
||||
"certificate_file": "",
|
||||
"certificate_key_file": ""
|
||||
"certificate_key_file": "",
|
||||
"ca_certificates": [],
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
Index: sftpgo/examples/rest-api-cli/sftpgo_api_cli
|
||||
===================================================================
|
||||
--- sftpgo.orig/examples/rest-api-cli/sftpgo_api_cli
|
||||
+++ sftpgo/examples/rest-api-cli/sftpgo_api_cli
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/env python3
|
||||
import argparse
|
||||
import base64
|
||||
from datetime import datetime
|
|
@ -1,2 +1 @@
|
|||
config.diff
|
||||
python3.diff
|
||||
|
|
|
@ -26,7 +26,6 @@ if [ "$1" = "configure" ]; then
|
|||
chown -R sftpgo:sftpgo /etc/sftpgo /var/lib/sftpgo /srv/sftpgo
|
||||
chmod 750 /etc/sftpgo /var/lib/sftpgo /srv/sftpgo
|
||||
chmod 640 /etc/sftpgo/sftpgo.json
|
||||
echo "Please be sure to have the python3-requests package installed if you want to use the REST API CLI"
|
||||
fi
|
||||
|
||||
# we added /srv/sftpgo after 1.1.0, we should check if we are upgrading
|
||||
|
|
|
@ -26,7 +26,6 @@ if [ "$1" = "configure" ]; then
|
|||
chown -R sftpgo:sftpgo /etc/sftpgo /var/lib/sftpgo /srv/sftpgo
|
||||
chmod 750 /etc/sftpgo /var/lib/sftpgo /srv/sftpgo
|
||||
chmod 640 /etc/sftpgo/sftpgo.json
|
||||
echo "Please be sure to have the python3-requests package installed if you want to use the REST API CLI"
|
||||
fi
|
||||
|
||||
# we added /srv/sftpgo after 1.1.0, we should check if we are upgrading
|
||||
|
|
|
@ -19,7 +19,6 @@ if [ $1 -eq 1 ]; then
|
|||
/usr/bin/chown -R sftpgo:sftpgo /etc/sftpgo /var/lib/sftpgo /srv/sftpgo
|
||||
/usr/bin/chmod 750 /etc/sftpgo /var/lib/sftpgo /srv/sftpgo
|
||||
/usr/bin/chmod 640 /etc/sftpgo/sftpgo.json
|
||||
/bin/echo "Please be sure to have the python requests library installed if you want to use the REST API CLI"
|
||||
fi
|
||||
|
||||
# adjust permissions for /srv/sftpgo and /var/lib/sftpgo
|
||||
|
|
|
@ -2,7 +2,7 @@ package version
|
|||
|
||||
import "strings"
|
||||
|
||||
const version = "2.0.0"
|
||||
const version = "2.0.0-dev"
|
||||
|
||||
var (
|
||||
commit = ""
|
||||
|
|
Loading…
Reference in a new issue