Want more features on Pastebin? Sign Up, it's FREE!
Guest

Arch Linux AUR gadmin-openvpn-server 0.1.6

By: zigmat on Aug 22nd, 2012  |  syntax: None  |  size: 1.16 KB  |  views: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.     # Maintainer: Jose Riha <jose1711 at gmail dot com>
  2.      
  3.     pkgname=gadmin-openvpn-server
  4.     pkgver=0.1.6
  5.     pkgrel=3
  6.     pkgdesc='A GTK+ graphical user interface for OpenVPN (server)'
  7.     arch=('i686' 'x86_64')
  8.     license=('GPL3')
  9.     depends=('gtk2' 'openvpn' 'bridge-utils' 'gksu')
  10.     makedepends=('pkgconfig')
  11.     options=(!libtool)
  12.     url='http://dalalven.dtdns.net/linux/'
  13.     source=(http://dalalven.dtdns.net/linux/gadmin-openvpn/server/$pkgname-$pkgver.tar.gz gadmin-openvpn-server.desktop)
  14.     md5sums=('a42b18d6b58d319bb00c043ffa8347a5'
  15.              'ff53aac86b1dc11486ba119f91366a01')
  16.     build() {
  17.             cd $srcdir/$pkgname-$pkgver
  18.             # some "patching" needed
  19.             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' '{}' \;
  20.             ./configure --prefix=/usr
  21.             make
  22.     }
  23.      
  24.     package() {
  25.             cd $srcdir/$pkgname-$pkgver
  26.             make DESTDIR=$pkgdir install
  27.             install -m644 -D $srcdir/gadmin-openvpn-server.desktop $pkgdir/usr/share/applications/gadmin-openvpn-server.desktop
  28.     }
clone this paste RAW Paste Data