You are not logged in.

#1 2006-02-21 12:40:44

Michel
Member
From: Belgium
Registered: 2004-07-31
Posts: 286

[new] kvpnc [networking]

Hello,

here is a PKGBUILD for kvpnc:

#contributor: Michel Brabants <open.michel.brabants@euphonynet.be>

pkgname=kvpnc
pkgver=0.8.3
pkgrel=rc5
pkgdesc="KVpnc is a KDE Desktop Environment frontend for various vpn clients. It supports Cisco VPN (vpnc), IPSec (FreeS/WAN (OpenS/WAN), racoon), PPTP (pptpclient) and OpenVPN."
url="http://home.gna.org/kvpnc/en/index.html"
makedepends=('openvpn' 'openswan' 'vpnc')
depends=('libgcrypt' 'kdebase>=3.2')
source=(http://download.gna.org/kvpnc/testing/$pkgname-$pkgver-$pkgrel.tar.bz2)
md5sums=('09de15e2b724bf23f428a97cc7ee9bda')

build() {
  cd $startdir/src/$pkgname-$pkgver-$pkgrel
  make -f admin/Makefile.common
  ./configure --prefix=/opt/kde
  export CPPFLAGS="-I/usr/include"
  make || return 1
  make DESTDIR=$startdir/pkg install
}

I've listed rc5 here, because the previous version crashed when I imported a cisco-pcf-file and it doesn't do that anymore in this version. This application will also decrypt encrypted user- and group-passwords that are in cisco-pcf-files. Maybe it will also decrypt them in other situations.

I'm not really sure how to specify in the application-version that it is an release candidate since it doesn't accept the '-'-character in the "pkgver"-field. Suggestions are welcome. For the moment I've specified the fact that it is a release-candidate in the "pkgrel"-field.

greetings,

Michel

Offline

#2 2006-02-21 13:31:08

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [new] kvpnc [networking]

pkgrel is for Arch use only, to specify which version of the Arch package it is. I'd suggest using 0.8.3rc5 or 0.8.3_rc5 as pkgver, and
changing the source to $pkgname-0.8.3-rc5.tar.bz2. There are plenty of apps that need this kind of treatment - the kismet PKGBUILD is a good example.

Offline

Board footer

Powered by FluxBB