1. 21 12月, 2016 7 次提交
  2. 07 12月, 2016 1 次提交
  3. 30 11月, 2016 1 次提交
  4. 15 11月, 2016 1 次提交
    • P
      libssh_transport: add new libssh-based transport · 6917467c
      Pino Toscano 提交于
      Implement a new libssh transport, which uses libssh to communicate with
      remote hosts, and add all the build system stuff (search of libssh,
      private symbols, etc) to built it.
      
      This new transport supports all the common ssh authentication methods,
      making use of libvirt's auth callbacks for interaction with the user.
      6917467c
  5. 07 11月, 2016 2 次提交
    • A
      wireshark: Use ${exec_prefix} instead of ${prefix} · 7b3b2540
      Andrea Bolognani 提交于
      ${exec_prefix} and ${prefix} point to the same directory in
      most setups, but when that's not the case the former should
      be used for architecture-dependent data such as shared objects,
      which makes it the best fit for our Wireshark dissector.
      
      While at it, change all uses of $(var) to ${var}: they are
      absolutely identicaly as far as make's concerned, but autoconf
      itself seems to prefer the latter form so we might as well
      follow suit.
      7b3b2540
    • A
      wireshark: Make fallback path construction more reliable · 054fd1a7
      Andrea Bolognani 提交于
      We only need to strip $ws_prefix from $ws_plugindir if we've
      retrieved it from pkg-config: if we're building it ourselves
      from $libdir, we can just use it without further processing.
      054fd1a7
  6. 03 11月, 2016 1 次提交
  7. 02 11月, 2016 2 次提交
  8. 26 10月, 2016 5 次提交
    • A
      wireshark: Rename plugindir to ws_plugindir · 3cbf0549
      Andrea Bolognani 提交于
      Since we're using autoconf to substitute the right value in
      Makefile.am now, we can use a less generic name without running
      into circular dependencies.
      3cbf0549
    • A
      wireshark: Inject $(prefix) at the right time · c587c735
      Andrea Bolognani 提交于
      Adding $(prefix) in Makefile.am, as we were doing, means that
      it would be prepended even when using --with-ws-plugindir,
      which is something we don't want to happen.
      
      Instead, we add it beforehand but take care that it doesn't
      get expanded until make is called.
      c587c735
    • A
      wireshark: Strip prefix correctly · debf2f0b
      Andrea Bolognani 提交于
      Even when we're building $plugindir ourselves because we can't
      retrieve it using pkg-config, we still want to strip the prefix,
      except in that case it would be the same prefix we're using for
      building libvirt.
      
      The fact that $plugindir is missing also doesn't tell us
      anything about $ws_prefix, so we have to handle the two variables
      separately.
      debf2f0b
    • A
      wireshark: Hoist $ws_prefix declaration · c64a0a8e
      Andrea Bolognani 提交于
      Keep all variable declarations close together.
      c64a0a8e
    • A
      wireshark: Introduce $ws_modversion · 18251701
      Andrea Bolognani 提交于
      Use a separate variable instead of setting it inline for
      slightly cleaner code.
      18251701
  9. 21 10月, 2016 1 次提交
  10. 06 10月, 2016 2 次提交
  11. 29 9月, 2016 1 次提交
    • M
      m4: Check for sanlock_write_lockspace · 2bca7cec
      Michal Privoznik 提交于
      Currently, we are checking for sanlock_add_lockspace_timeout
      which is good for now. But in a subsequent patch we are going to
      use sanlock_write_lockspace (which sets an initial value for io
      timeout for sanlock). Now, there is no reason to check for both
      functions in sanlock library as the sanlock_write_lockspace was
      introduced in 2.7 release and the one we are currently checking
      for in the 2.5 release. Therefore it is safe to assume presence
      of sanlock_add_lockspace_timeout when sanlock_write_lockspace
      is detected.
      
      Moreover, the macro for conditional compilation is renamed to
      HAVE_SANLOCK_IO_TIMEOUT (as it now encapsulates two functions).
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      2bca7cec
  12. 27 7月, 2016 1 次提交
    • M
      virt-wireshark: Properly substract wireshark prefix · 5c2bc001
      Michal Privoznik 提交于
      So, when building wireshark plugin, we get the plugindir variable
      from the wireshark.pc as well as prefix. Then we replace the
      prefix in the plugindir with our own prefix where libvirt is
      building to:
      
        plugindir="${prefix}${plugindir#ws_prefix}"
      
      However, as you can see, there's '$' missing in front of the
      ws_prefix variable. This results in the mangled plugindir, for
      instance like this:
      
        plugindir='/usr/usr/lib64/wireshark/plugins'
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      5c2bc001
  13. 11 7月, 2016 1 次提交
    • F
      gnulib: add getopt module · b436a8ae
      Fabian Freyer 提交于
      Unconditionally use gnulib's getopt module. This is needed by the bhyve driver
      to provide a reentrant interface for getopt.
      
      Several gnulib headers rely on features.h being included by ctype.h to provide
      __GNUC_PREREQ, but on systems without glibc, this is not provided. In these
      cases __GNUC_PREREQ gets redefined to 0, which causes build errors from checks
      in src/internal.h.
      Therefore, define __GNUC_PREREQ as early as possible. config-post.h is probably
      the first header that is included, before any other headers.
      b436a8ae
  14. 13 6月, 2016 1 次提交
    • R
      virt-login-shell: mark as Linux only · a5059b9b
      Roman Bogorodskiy 提交于
      Currently, virt-login-shell is not allowed to build on Windows.
      However, as it's designed around LXC, it does not make sense to
      build it on anything but Linux, so make the check stricter and allow to
      enable it on Linux only.
      a5059b9b
  15. 07 6月, 2016 1 次提交
  16. 10 5月, 2016 2 次提交
  17. 03 5月, 2016 2 次提交
  18. 02 5月, 2016 1 次提交
  19. 26 4月, 2016 1 次提交
    • M
      wireshark: Fix distcheck · dc3002b4
      Michal Privoznik 提交于
      Our distcheck is broken. Well, it works but only by pure chance.
      When wireshark plugin is enabled, we try to query which path
      should the plugin be installed into. Firstly, we try to ask
      pkg-config as some releases of wireshark already sets
      corresponding variable in their pkg-config files. However, if we
      obtained no value from there we try to construct the path on our
      own. Based on our observations it usually is:
      $libdir/wireshark/plugins/$version/.
      Now, the problem is in the way we are deciding whether we have
      obtained the plugin directory from pkg-config or not. Simply
      said, we are checking wrong variable. The variable we are
      checking has never been set, thus in our test is empty and
      therefore we will always construct the plugin dir path on our
      own, regardless of its presence in the pkg-config file.
      To make things worse, after fixing this problem, VPATH build was
      broken as it now tried to install plugin into correct directory.
      Yes, this is problem, because --prefix was not honoured and
      everything but the plugin was installed into given prefix. I've
      managed to resolve this issue by replacing plugin dir prefix with
      our own. So when doing regular installation (our prefix ==
      wireshark prefix), nothing changes. When doing VPATH build &
      installation plugin is installed into correctly prefixed dir.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      dc3002b4
  20. 13 4月, 2016 1 次提交
    • A
      configure: Make virt-host-validate optional · edebc166
      Andrea Bolognani 提交于
      virt-host-validate, just like virt-login-shell, doesn't make sense
      on Windows, so we should avoid building it.
      
      Make the tool optional and build it by default on all platforms
      except Windows, erroring out if the user attempts to build it
      anyway.
      edebc166
  21. 11 4月, 2016 3 次提交
  22. 09 4月, 2016 1 次提交
  23. 30 3月, 2016 1 次提交
    • R
      nss: FreeBSD support · 45408cd8
      Roman Bogorodskiy 提交于
       * tools/nss/libvirt_nss.[ch]: add BSD-comptabile wrappers and
         register via the nss_module_register() interface
       * m4/virt-nss.m4: add checks if we're building NSS for FreeBSD
       * tools/Makefile.am: handle target library name differences, as
         Linux needs libnss_libvirt.so.2 and FreeBSD needs
         nss_libvirt.so.1. Also, different syms files have to be used
         as Linux needs to export all the methods while FreeBSD
         only needs to have nss_module_register()
       * tests/nsstest.c, tests/nssmock.c: s/__linux__/NSS/
       * tests/nssmock.c: pass int instead of mode_t to va_arg() to please
         gcc 4.8
       * libvirt_nss_bsd.syms: FreeBSD syms file
      45408cd8