[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Re: Tar openvpn and complzo?


  • Subject: [Openvpn-users] Re: Tar openvpn and complzo?
  • From: Charles Duffy <cduffy@xxxxxxxxxxx>
  • Date: Wed, 03 Nov 2004 16:05:25 -0600

On Wed, 03 Nov 2004 17:22:34 +0000, Ray wrote:

> I'm using OpenBSD on a variety of i386 systems as firewalls and vpn endpoints.
> 
> Can I compile / build OpenVPN and comp-lzo and tar the two directories on one 
> i386 system, then untar them on another i386?

You could (if the systems are alike enough -- same OS versions, installed
libraries and so forth). One refinement on just repacking the source
tarball:

$ TEMPDIR=`mktemp /tmp/install.XXXXXX`
$ make install prefix=$TEMPDIR/usr
$ tar -cjf openvpn-bin.tar.bz2 -C $TEMPDIR usr

This will package the binaries in a tarball without needing to have the
source and build objects and so forth along with them.


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users