diff options
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 16 | ||||
-rw-r--r-- | sftpgo.json | 22 |
3 files changed, 25 insertions, 24 deletions
@@ -1,7 +1,7 @@ pkgbase = sftpgo-bin pkgdesc = Full featured and highly configurable SFTP server - pkgver = 0.9.6 - pkgrel = 2 + pkgver = 1.0.0 + pkgrel = 1 url = https://github.com/drakkan/sftpgo arch = x86_64 license = GPL3 @@ -14,12 +14,11 @@ pkgbase = sftpgo-bin provides = sftpgo conflicts = sftpgo backup = etc/sftpgo/sftpgo.json - backup = etc/sftpgo/sftpgo.db backup = var/lib/sftpgo/sftpgo.db - source = https://github.com/drakkan/sftpgo/releases/download/0.9.6/sftpgo_0.9.6_linux_x86_64.tar.xz + source = https://github.com/drakkan/sftpgo/releases/download/v1.0.0/sftpgo_v1.0.0_linux_x86_64.tar.xz source = sftpgo.json - sha256sums = 128d03ab82abb279eb6b4781411dc68feed149fbc5a218f31acab010dd6ce4e3 - sha256sums = c1defd385855fc88a780a611b9076f24c61663123480ba14eee5f37f0396df86 + sha256sums = 25d7d84e6a97d2cb70891ab542ed92eb6991291c029075513e3fd3e187f6a55c + sha256sums = d4bc2ddb3104e2e1be40103e7653f2d7802658576ba8e80bebfad7901a8b46a4 pkgname = sftpgo-bin @@ -2,8 +2,8 @@ # Contributor: drakkan <nicola.murino at gmail dot com> pkgname=sftpgo-bin _pkgname=sftpgo -pkgver=0.9.6 -pkgrel=2 +pkgver=1.0.0 +pkgrel=1 pkgdesc='Full featured and highly configurable SFTP server' arch=('x86_64') url="https://github.com/drakkan/${_pkgname}" @@ -20,26 +20,24 @@ conflicts=('sftpgo') provides=('sftpgo') backup=( "etc/${_pkgname}/sftpgo.json" - "etc/${_pkgname}/sftpgo.db" "var/lib/${_pkgname}/sftpgo.db" ) -source=("https://github.com/drakkan/sftpgo/releases/download/${pkgver}/sftpgo_${pkgver}_linux_x86_64.tar.xz" +source=("https://github.com/drakkan/sftpgo/releases/download/v${pkgver}/sftpgo_v${pkgver}_linux_x86_64.tar.xz" "sftpgo.json") -sha256sums=('128d03ab82abb279eb6b4781411dc68feed149fbc5a218f31acab010dd6ce4e3' - 'c1defd385855fc88a780a611b9076f24c61663123480ba14eee5f37f0396df86') +sha256sums=('25d7d84e6a97d2cb70891ab542ed92eb6991291c029075513e3fd3e187f6a55c' + 'd4bc2ddb3104e2e1be40103e7653f2d7802658576ba8e80bebfad7901a8b46a4') package() { install -Dm 755 sftpgo "$pkgdir/usr/bin/${_pkgname}" - install -Dm 755 scripts/sftpgo_api_cli.py "${pkgdir}"/usr/bin/sftpgo_api_cli + install -Dm 755 examples/rest-api-cli/sftpgo_api_cli.py "${pkgdir}"/usr/bin/sftpgo_api_cli install -Dm 644 init/${_pkgname}.service -t "${pkgdir}/usr/lib/systemd/system" install -Dm 644 "$srcdir/sftpgo.json" -t "${pkgdir}/etc/${_pkgname}" install -d "${pkgdir}/var/lib/${_pkgname}" - install -Dm 644 sql/sqlite/sftpgo.db -t "${pkgdir}/var/lib/${_pkgname}" + install -Dm 644 sqlite/sftpgo.db -t "${pkgdir}/var/lib/${_pkgname}" cp -r templates "${pkgdir}/var/lib/${_pkgname}/" cp -r static "${pkgdir}/var/lib/${_pkgname}/" install -d "${pkgdir}/usr/share/doc/${_pkgname}" - cp -r sql "${pkgdir}/usr/share/doc/${_pkgname}/" install -Dm 644 README.txt "${pkgdir}"/usr/share/doc/${_pkgname}/README install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/${_pkgname}/LICENSE } diff --git a/sftpgo.json b/sftpgo.json index b277998ae182..44369fd86074 100644 --- a/sftpgo.json +++ b/sftpgo.json @@ -9,13 +9,13 @@ "upload_mode": 0, "actions": { "execute_on": [], - "command": "", - "http_notification_url": "" + "hook": "" }, - "keys": [], + "host_keys": [], "kex_algorithms": [], "ciphers": [], "macs": [], + "trusted_user_ca_keys": [], "login_banner_file": "", "setstat_mode": 0, "enabled_ssh_commands": [ @@ -25,7 +25,7 @@ "pwd", "scp" ], - "keyboard_interactive_auth_program": "", + "keyboard_interactive_auth_hook": "", "proxy_protocol": 0, "proxy_allowed": [] }, @@ -38,20 +38,19 @@ "password": "", "sslmode": 0, "connection_string": "", - "users_table": "users", + "sql_tables_prefix": "", "manage_users": 1, "track_quota": 2, "pool_size": 0, "users_base_dir": "", "actions": { "execute_on": [], - "command": "", - "http_notification_url": "" + "hook": "" }, - "external_auth_program": "", + "external_auth_hook": "", "external_auth_scope": 0, "credentials_path": "/var/lib/sftpgo/credentials", - "pre_login_program": "" + "pre_login_hook": "" }, "httpd": { "bind_port": 8080, @@ -62,5 +61,10 @@ "auth_user_file": "", "certificate_file": "", "certificate_key_file": "" + }, + "http": { + "timeout": 20, + "ca_certificates": [], + "skip_tls_verify": false } } |