summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD12
-rw-r--r--sstp-server@.service1
3 files changed, 14 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 72eaffbf902..f85b439cf54 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,20 @@
pkgbase = sstp-server
pkgdesc = A Secure Socket Tunneling Protocol (SSTP) server.
- pkgver = 0.4.2
+ pkgver = 0.5.0
pkgrel = 1
url = https://github.com/sorz/sstp-server
arch = x86_64
arch = i686
license = MIT
- makedepends = python2-setuptools
- depends = python2>=2.7
- depends = python2-twisted
- depends = python2-service-identity
- depends = python2-argparse
- depends = python2-ipaddress
+ makedepends = python-setuptools
+ depends = python>=3.5
depends = ppp
+ optdepends = python-uvloop: better performance
backup = etc/sstp-server.ini
- source = https://github.com/sorz/sstp-server/archive/v0.4.2.tar.gz
+ source = https://github.com/sorz/sstp-server/archive/v0.5.0.tar.gz
source = sstp-server@.service
- sha256sums = e715c1e3252c94a34b9d8a4bc2c817f192aae6df36969c1af73b211b4be53067
- sha256sums = 15cd7335939668d7f8487574ae457192257550ceadf50fb74393536997a42c10
+ sha256sums = d7e24c07669a8375abc7efc469dd39e308a55c608a8fb0665255dec37045aff2
+ sha256sums = 197ad957e7987ca9e828bab9d4322c8d2bfb9edcc0ecab1ef23470a1e1aae1a6
pkgname = sstp-server
diff --git a/PKGBUILD b/PKGBUILD
index 8b31675e9f5..77c177239b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,19 @@
# Maintainer: Shell Chen <aur@sorz.org>
pkgname=sstp-server
-pkgver=0.4.2
+pkgver=0.5.0
pkgrel=1
pkgdesc="A Secure Socket Tunneling Protocol (SSTP) server."
url="https://github.com/sorz/sstp-server"
license=('MIT')
arch=('x86_64' 'i686')
backup=('etc/sstp-server.ini')
-depends=('python2>=2.7' 'python2-twisted' 'python2-service-identity' 'python2-argparse'
- 'python2-ipaddress' 'ppp')
-makedepends=('python2-setuptools')
+depends=('python>=3.5' 'ppp')
+optdepends=('python-uvloop: better performance')
+makedepends=('python-setuptools')
source=("https://github.com/sorz/sstp-server/archive/v$pkgver.tar.gz"
"sstp-server@.service")
-sha256sums=('e715c1e3252c94a34b9d8a4bc2c817f192aae6df36969c1af73b211b4be53067'
- '15cd7335939668d7f8487574ae457192257550ceadf50fb74393536997a42c10')
+sha256sums=('d7e24c07669a8375abc7efc469dd39e308a55c608a8fb0665255dec37045aff2'
+ '197ad957e7987ca9e828bab9d4322c8d2bfb9edcc0ecab1ef23470a1e1aae1a6')
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/sstp-server@.service b/sstp-server@.service
index 0653c2f88e9..064939b9242 100644
--- a/sstp-server@.service
+++ b/sstp-server@.service
@@ -5,6 +5,7 @@ After=network.target
[Service]
Restart=on-failure
+Environment=PYTHONOPTIMIZE=1
ExecStart=/usr/bin/sstpd -f /etc/sstp-server.ini -s %i
PrivateTmp=true