On Mon, 2006-07-10 at 19:15 +0200, Tor Krill wrote: > > 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. ;-)
A bit quick there. Copied and pasted from my PKGBUILD for gnome-NM. The replaces tag is wrong in the last PKGBUILD, sorry. New one attached, added build of all three plugins in this one. /Tor
# Contributor: Tor Krill <[EMAIL PROTECTED]> pkgname=networkmanager-vpn _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=() 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..." for plugin in $startdir/src/$_cvsmodule/vpn-daemons/{openvpn,pptp,vpnc} ; do cd $plugin 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 done # Libtool slay find $startdir/pkg -name *.la -exec rm {} \; }
_______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
