summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authors3rj1k2023-03-27 18:30:06 +0300
committers3rj1k2023-03-27 18:30:06 +0300
commitffcc2e280f72cf29c107f6fb42a5eab2171cf70b (patch)
tree7d0719fd43258eeb965ba189805415cd2ae901c2
parent83ab1c9b4fd16b1b5463b65f24c84dca75832427 (diff)
downloadaur-ffcc2e280f72cf29c107f6fb42a5eab2171cf70b.tar.gz
release 2.6.2 build 1
Signed-off-by: s3rj1k <evasive.gyron@gmail.com>
-rw-r--r--.SRCINFO6
-rw-r--r--0001-unprivileged.patch12
-rw-r--r--PKGBUILD6
3 files changed, 12 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 82bab9aae677..04aa78c5e16e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = openvpn-password-save
pkgdesc = An easy-to-use, robust and highly configurable VPN (Virtual Private Network)
- pkgver = 2.5.8+0357ceb8
+ pkgver = 2.6.2+42f78959
pkgrel = 1
url = https://openvpn.net/index.php/open-source.html
install = openvpn.install
@@ -20,14 +20,14 @@ pkgbase = openvpn-password-save
optdepends = pam: authenticate via PAM
provides = openvpn
conflicts = openvpn
- source = git+https://github.com/OpenVPN/openvpn.git#tag=v2.5.8?signed
+ source = git+https://github.com/OpenVPN/openvpn.git#tag=v2.6.2?signed
source = 0001-unprivileged.patch
source = sysusers.conf
source = tmpfiles.conf
validpgpkeys = F554A3687412CFFEBDEFE0A312F5F7B42F2B01E7
validpgpkeys = B62E6A2B4E56570B7BDC6BE01D829EFECA562812
sha256sums = SKIP
- sha256sums = 8e7d292514f30729bc37d6681789b1bfdf87a992a3aa77e2a28b8da9cd8d4bfe
+ sha256sums = 77874824d96c1fd6c14259a6ea16232ae574dda3d5adba1798ccd6c93694846c
sha256sums = 3646b865ac67783fafc6652589cfe2a3105ecef06f3907f33de5135815f6a621
sha256sums = b1436f953a4f1be7083711d11928a9924993f940ff56ff92d288d6100df673fc
diff --git a/0001-unprivileged.patch b/0001-unprivileged.patch
index b33de3461cb1..aa0e37b656d3 100644
--- a/0001-unprivileged.patch
+++ b/0001-unprivileged.patch
@@ -1,5 +1,5 @@
diff --git a/distro/systemd/openvpn-client@.service.in b/distro/systemd/openvpn-client@.service.in
-index cbcef653..71aa1335 100644
+index 159fb4dc..2277a7d9 100644
--- a/distro/systemd/openvpn-client@.service.in
+++ b/distro/systemd/openvpn-client@.service.in
@@ -11,6 +11,9 @@ Type=notify
@@ -8,12 +8,12 @@ index cbcef653..71aa1335 100644
ExecStart=@sbindir@/openvpn --suppress-timestamps --nobind --config %i.conf
+User=openvpn
+Group=network
-+AmbientCapabilities=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_DAC_OVERRIDE
- CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_DAC_OVERRIDE
++AmbientCapabilities=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SETPCAP CAP_SYS_CHROOT CAP_DAC_OVERRIDE
+ CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SETPCAP CAP_SYS_CHROOT CAP_DAC_OVERRIDE
LimitNPROC=10
DeviceAllow=/dev/null rw
diff --git a/distro/systemd/openvpn-server@.service.in b/distro/systemd/openvpn-server@.service.in
-index d1cc72cb..691f369e 100644
+index 6e8e7d94..b2814e4b 100644
--- a/distro/systemd/openvpn-server@.service.in
+++ b/distro/systemd/openvpn-server@.service.in
@@ -11,6 +11,9 @@ Type=notify
@@ -22,7 +22,7 @@ index d1cc72cb..691f369e 100644
ExecStart=@sbindir@/openvpn --status %t/openvpn-server/status-%i.log --status-version 2 --suppress-timestamps --config %i.conf
+User=openvpn
+Group=network
-+AmbientCapabilities=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_DAC_OVERRIDE CAP_AUDIT_WRITE
- CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_DAC_OVERRIDE CAP_AUDIT_WRITE
++AmbientCapabilities=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SETPCAP CAP_SYS_CHROOT CAP_DAC_OVERRIDE CAP_AUDIT_WRITE
+ CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SETPCAP CAP_SYS_CHROOT CAP_DAC_OVERRIDE CAP_AUDIT_WRITE
LimitNPROC=10
DeviceAllow=/dev/null rw
diff --git a/PKGBUILD b/PKGBUILD
index 8f1f2d17f92a..ab8f672391b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,9 +2,9 @@
# Do not forget to run `makepkg --printsrcinfo > .SRCINFO`
_pkgname=openvpn
-_pkgver=2.5.8
+_pkgver=2.6.2
pkgname=${_pkgname}-password-save
-pkgver=2.5.8+0357ceb8
+pkgver=2.6.2+42f78959
pkgrel=1
pkgdesc='An easy-to-use, robust and highly configurable VPN (Virtual Private Network)'
arch=('x86_64')
@@ -24,7 +24,7 @@ source=("git+https://github.com/OpenVPN/openvpn.git#tag=v${_pkgver}?signed"
'sysusers.conf'
'tmpfiles.conf')
sha256sums=('SKIP'
- '8e7d292514f30729bc37d6681789b1bfdf87a992a3aa77e2a28b8da9cd8d4bfe'
+ '77874824d96c1fd6c14259a6ea16232ae574dda3d5adba1798ccd6c93694846c'
'3646b865ac67783fafc6652589cfe2a3105ecef06f3907f33de5135815f6a621'
'b1436f953a4f1be7083711d11928a9924993f940ff56ff92d288d6100df673fc')