On Mon, 2006-07-10 at 07:49 +0200, Pierre Schmitz wrote:
> Hi,

Hi Pierre and others,

> One thing I rally miss is support for vpn-protected networks. I found out 
> that 
> I need to install networkmanager-vpnc to achieve this. But where to get it? I 
> only found an older src.rpm of version 0.6.0 which does not vompile with 
> networkmanager 0.6.3.

The problem here is that there are no official vpn-plugin releases. They
exist in CVS (and soon in SVN) but when there is a NM release they are
not included.

> Any ideas how we can get this to work? 

I have attached a PKGBUILD as a starter on how one could proceed. It at
least produce a package for the openvpn plugin. I dont have access to
any vpn-connections. Perhaps that is the reason i have not dug into this
before. ;-)

/Tor

# Contributor: Tor Krill <[EMAIL PROTECTED]>

pkgname=networkmanager-openvpn
_downloadname=NetworkManager

# CVS version Stable or head
#_cvstag=NETWORKMANAGER_0_6_2_RELEASE
_cvstag=HEAD

_cvsmodule=$_downloadname
_cvsroot=:pserver:[EMAIL PROTECTED]:/cvs/gnome
pkgver=0.6.3cvs
pkgrel=1
pkgdesc="Network Manager openvpn plugin"
url="http://people.redhat.com/dcbw/NetworkManager";
makedepends=('perlxml' 'pkgconfig>=0.14.0' 'intltool>=0.25')
#depends=('gnome-network-manager')
makedepends=()
conflicts=()
replaces=(gnome-network-manager)
backup=()
install=

source=()

md5sums=()

build() {

  cd $startdir/src
  touch ~/.cvspass

  msg "Connecting to CVS server...."
  echo "cvs -z3 -d $_cvsroot export -r $_cvstag $_cvsmodule"
  cvs -z3 -d $_cvsroot export -r $_cvstag $_cvsmodule
  msg "CVS checkout done or server timeout"
  msg "Starting make..."                        
  
  cd $startdir/src/$_cvsmodule/vpn-daemons/openvpn

  mkdir NetworkManager
  cp ../../gnome/vpn-properties/nm-vpn-ui-interface.h NetworkManager
  
  ./autogen.sh --prefix=/opt/gnome --sysconfdir=/etc
  
  make || return 1
  make DESTDIR=$startdir/pkg install

  # Libtool slay
  find $startdir/pkg -name *.la -exec rm {} \;
  
}

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to