My attempts to port openconnect to windows (cygwin)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2011-02-20 at 22:47 +0100, Johannes Michler wrote:
> I tried to do a git diff, but I don't know how to include new files in
> the diff, so you can get them by my last mail...

I usually cheat and just append the results of 'diff -up /dev/null
newfile.c' to the file created by 'git diff' :)

The alternative is to 'git add' them, actually commit, and then use
'git show' or 'git format-patch HEAD^'

There are probably cleverer ways to do it, but they'll involve knowing
more about the git index file than I currently do.

The patch makes it a lot clearer what you're doing; thanks.

A big problem here is that the code you're adding is under GPL (I assume
the bits in tun.c are copied from OpenVPN too?). But OpenConnect is
licensed under *LGPL*, because it has to use OpenSSL. I'd love to use
GNUTLS or NSS, but neither of them support DTLS or (sensibly) client
certs from a TPM. So I had to cope with the OpenSSL licence, and that
meant I couldn't use the GPL; it had to be LGPL.

-- 
dwmw2




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux