Improve Linux packages

This commit is contained in:
Nicola Murino 2020-10-11 16:23:50 +02:00
parent 80d695f3a2
commit 47fed45700
No known key found for this signature in database
GPG key ID: 2F1FB59433D5A8CB
5 changed files with 30 additions and 5 deletions

View file

@ -68,6 +68,7 @@ overrides:
- bash-completion
- python3-requests
- python3-pygments
- mime-support
scripts:
postinstall: ../scripts/deb/postinstall.sh
preremove: ../scripts/deb/preremove.sh
@ -75,6 +76,7 @@ overrides:
rpm:
recommends:
- bash-completion
- mailcap
# centos 8 has python3-requests, centos 6/7 python-requests
scripts:
postinstall: ../scripts/rpm/postinstall

View file

@ -1,3 +1,15 @@
sftpgo (1.1.0-1ppa3) bionic; urgency=medium
* Fix packaging errors
-- Nicola Murino <nicola.murino@gmail.com> Sun, 11 Oct 2020 15:13:41 +0200
sftpgo (1.1.0-1ppa2) bionic; urgency=medium
* Add mime-support to recommends
-- Nicola Murino <nicola.murino@gmail.com> Sun, 11 Oct 2020 12:18:14 +0200
sftpgo (1.1.0-1ppa1) bionic; urgency=medium
* New upstream release.

View file

@ -1,16 +1,16 @@
Source: sftpgo
Section: net
Section: net
Priority: optional
Maintainer: Nicola Murino <nicola.murino@gmail.com>
Build-Depends: debhelper (>= 10)
Standards-Version: 4.1.2
Homepage: https://github.com/drakkan/sftpgo
Vcs-Git: https://github.com/drakkan/sftpgo.git
Homepage: https://github.com/drakkan/sftpgo
Vcs-Git: https://github.com/drakkan/sftpgo.git
Package: sftpgo
Architecture: amd64
Architecture: amd64
Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: bash-completion, python3-requests, python3-pygments
Recommends: bash-completion, python3-requests, python3-pygments, mime-support
Description: Fully featured and highly configurable SFTP server
SFTPGo has optional FTP/S and WebDAV support.
It can serve local filesystem, S3 (Compatible) Object Storages

View file

@ -0,0 +1,10 @@
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

View file

@ -1 +1,2 @@
config.diff
python3.diff