summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoroli2015-06-12 21:55:45 +0200
committeroli2015-06-12 21:55:45 +0200
commit8e519122faf844f01428abae9c3d0eeb4ec341e4 (patch)
tree4cc8e3beda815d488314275f3cb18eea5ace6181
downloadaur-8e519122faf844f01428abae9c3d0eeb4ec341e4.tar.gz
Initial import
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD29
-rw-r--r--gadmin-openvpn-server.desktop10
3 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6f0f2ef0099
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = gadmin-openvpn-server
+ pkgdesc = A GTK+ graphical user interface for OpenVPN (server)
+ pkgver = 0.1.6
+ pkgrel = 1
+ url = http://dalalven.dtdns.net/linux/
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = pkgconfig
+ depends = openvpn
+ depends = bridge-utils
+ depends = gksu
+ options = !libtool
+ source = http://dalalven.dtdns.net/linux/gadmin-openvpn/server/gadmin-openvpn-server-0.1.6.tar.gz
+ source = gadmin-openvpn-server.desktop
+ md5sums = a42b18d6b58d319bb00c043ffa8347a5
+ md5sums = ff53aac86b1dc11486ba119f91366a01
+
+pkgname = gadmin-openvpn-server
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2b5422a68a6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Jose Riha <jose1711 at gmail dot com>
+# Contributor: zigmat
+
+pkgname=gadmin-openvpn-server
+pkgver=0.1.6
+pkgrel=1
+pkgdesc='A GTK+ graphical user interface for OpenVPN (server)'
+arch=('i686' 'x86_64')
+license=('GPL3')
+depends=('openvpn' 'bridge-utils' 'gksu')
+makedepends=('pkgconfig')
+options=(!libtool)
+url='http://dalalven.dtdns.net/linux/'
+source=(http://dalalven.dtdns.net/linux/gadmin-openvpn/server/$pkgname-$pkgver.tar.gz gadmin-openvpn-server.desktop)
+md5sums=('a42b18d6b58d319bb00c043ffa8347a5'
+ 'ff53aac86b1dc11486ba119f91366a01')
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ # some "patching" needed
+ find . -type f -exec sed -i 's%/etc/init.d%/etc/rc.d%g;s%/usr/lib/openvpn/plugin/lib/openvpn-auth-pam.so%/usr/lib/openvpn/openvpn-auth-pam.so%g' '{}' \;
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+ install -m644 -D $srcdir/gadmin-openvpn-server.desktop $pkgdir/usr/share/applications/gadmin-openvpn-server.desktop
+}
diff --git a/gadmin-openvpn-server.desktop b/gadmin-openvpn-server.desktop
new file mode 100644
index 00000000000..e04b9c96ce0
--- /dev/null
+++ b/gadmin-openvpn-server.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=GAdmin OpenVPN Server
+GenericName=GAdmin OpenVPN Server
+Comment=OpenVPN Server Administration
+Exec=gksu gadmin-openvpn-server
+Icon=gadmin-openvpn-server
+Terminal=false
+Type=Application
+Categories=Application;Network;X-Red-Hat-ServerConfig;X-Red-Hat-Base;