Merge pull request #54060 from dtzWill/update/openconnect-8.02

openconnect: 7.08 -> 8.02
This commit is contained in:
Will Dietz 2019-02-12 10:05:06 -06:00 committed by GitHub
commit 32a7d27aad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,23 +3,18 @@
assert (openssl != null) == (gnutls == null);
stdenv.mkDerivation rec {
name = "openconnect-7.08";
pname = "openconnect";
version = "8.02";
src = fetchurl {
urls = [
"ftp://ftp.infradead.org/pub/openconnect/${name}.tar.gz"
"ftp://ftp.infradead.org/pub/openconnect/${pname}-${version}.tar.gz"
];
sha256 = "00wacb79l2c45f94gxs63b9z25wlciarasvjrb8jb8566wgyqi0w";
sha256 = "04p0vzc1791h68hd9803wsyb64zrwm8qpdqx0szhj9pig71g5a0w";
};
outputs = [ "out" "dev" ];
preConfigure = ''
export PKG_CONFIG=${pkgconfig}/bin/pkg-config
export LIBXML2_CFLAGS="-I ${libxml2.dev}/include/libxml2"
export LIBXML2_LIBS="-L${libxml2.out}/lib -lxml2"
'';
configureFlags = [
"--with-vpnc-script=${vpnc}/etc/vpnc/vpnc-script"
"--disable-nls"