summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Hesse2017-01-25 20:01:33 +0100
committerChristian Hesse2017-01-25 20:01:33 +0100
commitf435f25dd2a704f644708afa107d8e3d1fe098f3 (patch)
treed17fb910b8d0a9a140050f7f00590c00aa6182e0
parent43d224157f799aa6ddb9ec4b4f95853bfdeca818 (diff)
downloadaur-f435f25dd2a704f644708afa107d8e3d1fe098f3.tar.gz
commit openvpn-git 2.4.rc2.r25.g76096c60-1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD19
2 files changed, 6 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 82ab8894ff9..4531b04485d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Tue Dec 27 13:45:27 UTC 2016
+# Wed Jan 25 19:01:32 UTC 2017
pkgbase = openvpn-git
pkgdesc = An easy-to-use, robust and highly configurable VPN (Virtual Private Network) - git checkout
- pkgver = 2.4.rc2.r9.gf38942d1
+ pkgver = 2.4.rc2.r25.g76096c60
pkgrel = 1
url = http://openvpn.net/index.php/open-source.html
arch = i686
@@ -22,10 +22,8 @@ pkgbase = openvpn-git
conflicts = openvpn-dev
source = git://github.com/OpenVPN/openvpn.git
source = 0001-plugin.patch
- source = 0002-do-not-race-on-RuntimeDirectory.patch
sha256sums = SKIP
sha256sums = b8254067b4ef5d157d87267a76938d86f101972303c7ff20131cc9f28659a30c
- sha256sums = a87b081f998db99190e8b9e185cd7aade5bd6dfb5c03777c82b75d28cd3b375c
pkgname = openvpn-git
diff --git a/PKGBUILD b/PKGBUILD
index 8ec6e7b47a5..ff907609c6d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Christian Hesse <mail@eworm.de>
pkgname=openvpn-git
-pkgver=2.4.rc2.r9.gf38942d1
+pkgver=2.4.rc2.r25.g76096c60
pkgrel=1
pkgdesc='An easy-to-use, robust and highly configurable VPN (Virtual Private Network) - git checkout'
arch=('i686' 'x86_64')
@@ -14,11 +14,9 @@ provides=('openvpn=2.4.0' 'openvpn-dev')
license=('custom')
# for 2.4.x release branch append: #branch=release/2.4
source=('git://github.com/OpenVPN/openvpn.git'
- '0001-plugin.patch'
- '0002-do-not-race-on-RuntimeDirectory.patch')
+ '0001-plugin.patch')
sha256sums=('SKIP'
- 'b8254067b4ef5d157d87267a76938d86f101972303c7ff20131cc9f28659a30c'
- 'a87b081f998db99190e8b9e185cd7aade5bd6dfb5c03777c82b75d28cd3b375c')
+ 'b8254067b4ef5d157d87267a76938d86f101972303c7ff20131cc9f28659a30c')
pkgver() {
cd openvpn/
@@ -41,9 +39,6 @@ prepare() {
# plugin path
patch -Np1 < "${srcdir}"/0001-plugin.patch
- # do not race on RuntimeDirectory
- patch -Np1 < "${srcdir}"/0002-do-not-race-on-RuntimeDirectory.patch
-
# regenerate configure script
autoreconf -vi
}
@@ -74,7 +69,7 @@ package() {
# Install openvpn
make DESTDIR="${pkgdir}" install
- # Create empty configuration directory
+ # Create empty configuration directories
install -d -m0750 -g 90 "${pkgdir}"/etc/openvpn/{client,server}
# Install examples
@@ -92,11 +87,5 @@ package() {
*) install -D -m0644 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;;
esac
done
-
- # Install systemd files
- install -d -m0755 "${pkgdir}"/usr/lib/systemd/system/
- install -m0644 distro/systemd/openvpn-{client,server}@.service "${pkgdir}"/usr/lib/systemd/system/
- install -D -m0644 distro/systemd/openvpn.conf "${pkgdir}"/usr/lib/tmpfiles.d/openvpn.conf
- install -d -m0710 "${pkgdir}"/run/openvpn-{client,server}
}