summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/libgssglue/PKGBUILD11
-rw-r--r--core/openvpn/PKGBUILD7
-rw-r--r--core/openvpn/openvpn@.service10
3 files changed, 21 insertions, 7 deletions
diff --git a/core/libgssglue/PKGBUILD b/core/libgssglue/PKGBUILD
index d651bf612..3cca3e277 100644
--- a/core/libgssglue/PKGBUILD
+++ b/core/libgssglue/PKGBUILD
@@ -1,8 +1,9 @@
-# $Id: PKGBUILD 133594 2011-07-29 21:01:43Z tpowa $
-# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+# $Id: PKGBUILD 165600 2012-08-27 07:54:23Z tomegun $
+# Maintainer: Tom Gundersen <teg@jklm.no>
+# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=libgssglue
-pkgver=0.3
+pkgver=0.4
pkgrel=1
pkgdesc="Exports a gssapi interface which calls other random gssapi libraries"
arch=('i686' 'x86_64')
@@ -14,8 +15,6 @@ backup=(etc/gssapi_mech.conf)
options=('!libtool')
source=(http://www.citi.umich.edu/projects/nfsv4/linux/$pkgname/$pkgname-$pkgver.tar.gz
gssapi_mech.conf)
-md5sums=('48aaad11b7371ba3270faa322202c038'
- '080be866717e4e06fa6f7d6f43cb395a')
build() {
cd "$srcdir"/$pkgname-$pkgver
@@ -32,3 +31,5 @@ package() {
# install license
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/libgssglue/COPYING
}
+md5sums=('088797f3180702fa54e786496b32e750'
+ '080be866717e4e06fa6f7d6f43cb395a')
diff --git a/core/openvpn/PKGBUILD b/core/openvpn/PKGBUILD
index 1122a3844..c5afc3912 100644
--- a/core/openvpn/PKGBUILD
+++ b/core/openvpn/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 146232 2012-01-06 14:32:42Z thomas $
+# $Id: PKGBUILD 165626 2012-08-27 12:27:33Z dreisner $
# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=openvpn
pkgver=2.2.2
-pkgrel=1
+pkgrel=2
pkgdesc="An easy-to-use, robust, and highly configurable VPN (Virtual Private Network)"
arch=(i686 x86_64)
url="http://openvpn.net/index.php/open-source.html"
@@ -14,11 +14,13 @@ backup=(usr/share/openvpn/easy-rsa/vars
etc/conf.d/openvpn-tapdev)
source=(http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.gz
http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.gz.asc
+ openvpn@.service
openvpn.rc
openvpn-tapdev.rc
openvpn-tapdev.conf)
md5sums=('c5181e27b7945fa6276d21873329c5c7'
'81ff11ec8cd9fc3c8bc646aae24c4298'
+ '44047df812a3fcd57a7e36a61732a9b9'
'a3809b9727f0c2af2d0770f5c7442db2'
'd2c48e970088d679dd3c2afd914ff731'
'722f483c9e3ce2ec66d3301aaf7cf3d5')
@@ -69,4 +71,5 @@ package() {
install -D -m755 $srcdir/openvpn.rc $pkgdir/etc/rc.d/openvpn
install -D -m755 $srcdir/openvpn-tapdev.rc $pkgdir/etc/rc.d/openvpn-tapdev
install -D -m644 $srcdir/openvpn-tapdev.conf $pkgdir/etc/conf.d/openvpn-tapdev
+ install -D -m644 $srcdir/openvpn@.service $pkgdir/usr/lib/systemd/system/openvpn@.service
}
diff --git a/core/openvpn/openvpn@.service b/core/openvpn/openvpn@.service
new file mode 100644
index 000000000..c3de3bdf7
--- /dev/null
+++ b/core/openvpn/openvpn@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=OpenVPN connection to %i
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --cd /etc/openvpn
+
+[Install]
+WantedBy=multi-user.target