mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-25 09:00:27 +00:00
Improve Linux packages
This commit is contained in:
parent
80d695f3a2
commit
47fed45700
5 changed files with 30 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
10
pkgs/debian/patches/python3.diff
Normal file
10
pkgs/debian/patches/python3.diff
Normal 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
|
|
@ -1 +1,2 @@
|
|||
config.diff
|
||||
python3.diff
|
||||
|
|
Loading…
Reference in a new issue