1. 24 9月, 2013 1 次提交
    • E
      maint: update to latest gnulib · 21114ce9
      Eric Blake 提交于
      Since we're about to freeze, it's time to pick up the latest
      upstream gnulib.  Among other changes, gnulib now guarantees the
      use of some -f flags that we were previously manually adding.
      
      * .gnulib: Update to latest, in part for warning improvements.
      * m4/virt-compile-warnings.m4 (LIBVIRT_COMPILE_WARNINGS): Drop
      flags that are now guaranteed by gnulib.
      * bootstrap: Resync to gnulib.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      21114ce9
  2. 16 8月, 2013 1 次提交
    • E
      maint: update gnulib submodule · 692a4fc4
      Eric Blake 提交于
      Gnulib recently patched gcc warning detection so that it does
      not treat things like -Wno-unused-command-line-argument as
      supported in gcc (treating it as supported merely resulted in
      extra verbosity when an actual compile error occurred).  It
      has also improved bootstrap to work with less hassle on OpenBSD.
      
      * .gnulib: Update to latest, in part for bootstrap and warnings
      improvements.
      * bootstrap: Resync from gnulib.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      692a4fc4
  3. 19 7月, 2013 1 次提交
    • E
      maint: update to latest gnulib · ac0852c7
      Eric Blake 提交于
      Upstream gnulib recently patched a bug in bootstrap, for projects
      that use a different name than build-aux for a subdirectory.  We
      don't, but it doesn't hurt to update.
      
      * .gnulib: Update, for bootstrap fix.
      * bootstrap: Sync to upstream.
      * bootstrap.conf: Match upstream bug fix.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      ac0852c7
  4. 10 7月, 2013 1 次提交
    • E
      build: honor autogen.sh --no-git · 1e503ee5
      Eric Blake 提交于
      Based on a report by Chandrashekar Shastri, at
      https://bugzilla.redhat.com/show_bug.cgi?id=979360
      
      On systems where git cannot access the outside world, a developer
      can instead arrange to get a copy of gnulib at the right commit
      via side channels (such as NFS share drives), set GNULIB_SRCDIR,
      then use ./autogen.sh --no-git.  In this setup, we will now
      avoid direct use of git.  Of course, this means no automatic
      gnulib updates when libvirt.git updates its submodule, but it
      is expected that any developer in such a situation is already
      prepared to deal with the fallout.
      
      * .gnulib: Update to latest, for bootstrap.
      * bootstrap: Synchronize from gnulib.
      * autogen.sh (no_git): Avoid git when requested.
      * cfg.mk (_update_required): Skip automatic rerun of bootstrap if
      we can't use git.
      * docs/compiling.html.in: Document this setup.
      * docs/hacking.html.in: Mention this.
      * HACKING: Regenerate.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      1e503ee5
  5. 09 5月, 2013 1 次提交
    • E
      maint: update to latest gnulib · 3dfc2b71
      Eric Blake 提交于
      Among others, this fixes a cosmetic bug where bootstrap stated:
      
      ./bootstrap: Bootstrapping from checked-out http://libvirt.org sources...
      
      instead of the intended:
      
      ./bootstrap: Bootstrapping from checked-out libvirt sources...
      
      * .gnulib: Update to latest, for bootstrap improvement.
      * bootstrap: Resync from gnulib.
      3dfc2b71
  6. 10 4月, 2013 1 次提交
    • E
      maint: update to latest gnulib · d7468b7d
      Eric Blake 提交于
      While this update doesn't address any reported problems in libvirt,
      doing a post-release update to latest gnulib makes it easier to
      stay in sync with best upstream practices.
      
      * .gnulib: Update to latest.
      * bootstrap: Resynchronize.
      d7468b7d
  7. 02 2月, 2013 1 次提交
    • E
      maint: update to latest gnulib · d09949e2
      Eric Blake 提交于
      CVE-2013-0242 in glibc's regex() can cause a DoS in any daemon
      that runs a regex search on user input while in a multibyte locale.
      I'm not sure how hard it would be to trigger such a setup for
      libvirtd, but rather than risk things, we can avoid the issue:
      gnulib has worked around the problem, and by updating to the latest
      gnulib, we can avoid the bug even on platforms where glibc has yet
      to be patched.
      
      * .gnulib: Update to latest, for various fixes, including regex.
      * bootstrap: Resync from upstream.
      d09949e2
  8. 03 1月, 2013 1 次提交
    • E
      maint: update to latest gnulib · 7a74eeaf
      Eric Blake 提交于
      'make syntax-check' warned that gnulib's copyright is now out of date.
      
      * .gnulib: Update to latest, for copyright year bump.
      * gnulib/local/m4/ssize_t.m4.diff: Regenerate.
      * bootstrap: Synchronize from upstream.
      7a74eeaf
  9. 27 7月, 2012 2 次提交
    • E
      maint: regenerate bootstrap · 85f416fd
      Eric Blake 提交于
      Commit 3ad13c92 blindly touched all files to have a 3-line
      hint for getting LGPL, but bootstrap is synced from gnulib where
      it has a 2-line hint.
      
      * bootstrap: Resync from gnulib.
      85f416fd
    • E
      maint: avoid regression on copyright listings · 3ad13c92
      Eric Blake 提交于
      Commit f9ce7dad tried to kill uses of a raw street address, but
      missed a few instances.  Automate things so we don't introduce
      new problems in the future.
      
      * cfg.mk (sc_copyright_address): New rule.
      (exclude_file_name_regexp--sc_copyright_address): Add exemption.
      * bootstrap.conf: Adjust offenders.
      * build-aux/augeas-gentest.pl: Likewise.
      * examples/systemtap/events.stp: Likewise.
      * examples/systemtap/qemu-monitor.stp: Likewise.
      * examples/systemtap/rpc-monitor.stp: Likewise.
      * src/dtrace2systemtap.pl: Likewise.
      * src/esx/esx_vi_generator.py: Likewise.
      * src/hyperv/hyperv_wmi_generator.py: Likewise.
      * src/remote/qemu_protocol.x: Likewise.
      * src/remote/remote_protocol.x: Likewise.
      * src/rpc/gensystemtap.pl: Likewise.
      * src/rpc/virnetprotocol.x: Likewise.
      * tests/object-locking.ml: Likewise.
      * tools/virt-xml-validate.in: Likewise.
      3ad13c92
  10. 26 7月, 2012 1 次提交
    • E
      build: update to latest gnulib, for secure tarball · f12e1396
      Eric Blake 提交于
      Pick up some build fixes in the latest gnulib.  In particular,
      we want to ensure that official tarballs are secure, but don't
      want to penalize people who don't run 'make dist', since fixed
      automake still hasn't hit common platforms like Fedora 17.
      
      * .gnulib: Update to latest, for Automake CVE-2012-3386 detection.
      * bootstrap: Resync from gnulib.
      * bootstrap.conf (gnulib_extra_files): Drop missing, since gnulib
      has dropped it in favor of Automake's version.
      * cfg.mk (local-checks-to-skip): Conditionally skip the security
      check in cases where it doesn't matter.
      f12e1396
  11. 29 5月, 2012 1 次提交
    • E
      build: update to latest gnulib · e925ea31
      Eric Blake 提交于
      Gnulib finally relaxed the isatty license, needed as first mentioned here:
      https://www.redhat.com/archives/libvir-list/2012-February/msg01022.html
      
      Other improvements include better syntax-check rules (we can delete one
      of ours now that it is a duplicate) and better compiler warning usage.
      
      * .gnulib: Update to latest, for isatty.
      * cfg.mk (sc_prohibit_strncpy): Drop a now-redundant rule.
      * bootstrap.conf (gnulib_modules): Add isatty.
      * bootstrap: Resync from gnulib.
      e925ea31
  12. 26 4月, 2012 1 次提交
    • E
      build: fix bootstrap on RHEL · bae13129
      Eric Blake 提交于
      Commit 8fe455fd tried to work around
      a regression introduced in upstream gnulib that requires gettext 0.18
      or newer on all projects using bootstrap, by making libvirt require
      gettext 0.18.  But this fails on RHEL 6.2, which still ships gettext
      0.17.  Revert that change, and instead, import the latest round of
      gnulib updates that fix that problem properly.
      
      If you have already built in the window where libvirt required 0.18,
      be aware that incremental updates may run into problems: this is
      because 'autopoint --force' will not downgrade m4/po.m4 back to an
      older version, but it must be downgraded back to 0.17 levels to work
      with this patch.  You may either manually remove that file then rerun
      bootstrap, or it may prove easier to just clean up all non-git files
      to start from a clean slate.
      
      * bootstrap.conf: Revert minimum gettext back to 0.17.
      * configure.ac: Likewise.
      * .gnulib: Update to latest, for bootstrap fixes.
      * bootstrap: Resync from gnulib.
      bae13129
  13. 20 4月, 2012 1 次提交
    • E
      build: fix fresh checkout on RHEL5 · c9cd419c
      Eric Blake 提交于
      Building a fresh checkout on RHEL 5 has been broken since commit
      29db7a00, due to a gnulib regression in the bootstrap script
      (incremental builds from a checkout earlier than that point were
      okay, though).
      
      * .gnulib: Update to latest, for bootstrap fixes.
      * bootstrap: Resync from gnulib.
      * gnulib/local/top/maint.mk.diff: Drop patch that was added
      upstream in the meantime.
      c9cd419c
  14. 01 3月, 2012 1 次提交
    • E
      build: update to latest gnulib · 47d05109
      Eric Blake 提交于
      It's been a while, and we're between releases, so now's as good
      a time as any to resync.  This also fixes a build-breaker on
      cygwin, where cygwin 1.7.11 introduced a header bug in <termios.h>.
      
      * .gnulib: Update to latest.
      * bootstrap: Resync.
      * cfg.mk (sc_prohibit_strncmp): Copy upstream changes to
      sc_prohibit_strcmp.
      47d05109
  15. 02 2月, 2012 1 次提交
  16. 17 1月, 2012 1 次提交
    • E
      build: fix bootstrap on fresh clone · 9a070e83
      Eric Blake 提交于
      Commit 29db7a00 picked up a gnulib bug, where a change in
      bootstrap meant that it would fail to run libtoolize on
      projects, like libvirt, that used the older spelling
      AM_PROG_LIBTOOL instead of LT_INIT for the sake of building
      on RHEL 5.  Now that gnulib is fixed, we should pick up that
      fix.
      
      * .gnulib: Update to latest, for bootstrap fix.
      * bootstrap: Resync from gnulib.
      9a070e83
  17. 13 1月, 2012 1 次提交
    • E
      build: update to latest gnulib · 29db7a00
      Eric Blake 提交于
      Pick up recent gnulib improvements.
      
      * .gnulib: Update to latest.
      * bootstrap: Resync.
      * bootstrap.conf (gnulib_tool_option_extras): Adjust to bootstrap
      changes.
      * gnulib/lib/Makefile.am: Likewise.
      29db7a00
  18. 19 8月, 2011 1 次提交
  19. 24 6月, 2011 1 次提交
    • E
      build: update to latest gnulib · 290247c7
      Eric Blake 提交于
      Gnulib has been busy, with 397 commits; it's easier to update now
      even without any known libvirt issue to be fixed, rather than
      having to analyze an even larger changeset later on.
      
      * .gnulib: Update to latest, for lots of changes.
      * bootstrap: Synchronize to upstream.
      290247c7
  20. 18 5月, 2011 1 次提交
  21. 12 5月, 2011 1 次提交
    • E
      maint: avoid a couple of gnulib regressions · 0e5a7ace
      Eric Blake 提交于
      Double-close regression in upstream gnulib fclose was introduced
      to libvirt in commit 9d8e01a1.
      
      Meanwhile, adding rpcgen as a bootstrap prerequisite in commit
      fb1e8d9c prevented RHEL 5 from running bootstrap.
      
      * .gnulib: Update to latest, for fclose and bootstrap fixes.
      * bootstrap: Synchronize from upstream.
      0e5a7ace
  22. 10 5月, 2011 1 次提交
    • E
      build: translate generated strings · 9d8e01a1
      Eric Blake 提交于
      Make sure that xgettext scans generated files for translatable
      strings, rather than just files stored in libvirt.git.
      
      * .gnulib: Update, for bootstrap and syntax-check fixes.
      * bootstrap: Resynchronize with gnulib.
      * cfg.mk (generated_files): Define.
      * po/POTFILES.in: Add more files with _().
      9d8e01a1
  23. 08 4月, 2011 1 次提交
    • E
      build: fix gitignore sorting · 02c39a2f
      Eric Blake 提交于
      Make it so we don't have to 'git add -f' particular files like
      po/POTFILES.in all the time (tested by fixing one of our
      special-case files as part of the patch).
      
      * .gnulib: Update to latest.
      * bootstrap: Resync from coreutils.
      * .gitignore: Sort whitelist entries correctly, including ignoring
      files rather than directories.
      * m4/virt-compile-warnings.m4: Convert tabs to space.
      02c39a2f
  24. 24 3月, 2011 1 次提交
    • E
      build: nuke all .x-sc* files, and fix VPATH syntax-check · 2d24037d
      Eric Blake 提交于
      Not every day you see a patch that nukes 27 files!
      
      * .gnulib: Update to latest, for maint.mk improvements
      * bootstrap: Resync to gnulib.
      * bootstrap.conf (ACLOCAL): Swap the secondary aclocal include
      directory, now that bootstrap picks up gnulib/m4 instead of m4.
      * Makefile.am (syntax_check_exceptions, EXTRA_DIST): No longer
      worry about nuked files.
      * cfg.mk (sc_x_sc_dist_check): Delete dead rule.
      (VC_LIST_ALWAYS_EXCLUDE_REGEX): Add HACKING.
      (exclude_file_name_regexp--sc_*): Inline and simplify contents...
      * .x-sc_*: ...from here, then delete the files.
      2d24037d
  25. 22 1月, 2011 1 次提交
  26. 18 11月, 2010 1 次提交
    • E
      maint: update to latest gnulib · 144c06d4
      Eric Blake 提交于
      Allows bootstrap to work on FreeBSD, where gzip doesn't have a '.'
      in its version; and silences false positives in the new
      'make syntax-check' rule.
      
      * .gnulib: Update to latest.
      * bootstrap: Synchronize to upstream.
      * .x-sc_bindtextdomain: New exemptions.
      * Makefile.am (syntax_check_exceptions): Ship new file.
      * .gitignore: Regenerate per latest bootstrap, anchor entries that
      are only in the root directory, and consolidate entries from other
      generated .gitignore files.
      * build-aux/.gitignore, m4/.gitignore, po/.gitignore: Remove from
      version control, since bootstrap generates them.
      144c06d4
  27. 14 10月, 2010 1 次提交
    • E
      build: fix mingw build · 2399597a
      Eric Blake 提交于
      * .gnulib: Update to latest, for termios fix.
      * configure.ac (AC_CHECK_HEADERS): Drop redundent check.
      * bootstrap: Synchronize from upstream.
      Reported by Daniel P. Berrange.
      2399597a
  28. 06 10月, 2010 1 次提交
    • E
      build: require pkg-config for bootstrap · b0f34a6a
      Eric Blake 提交于
      * .gnulib: Update to latest, for bootstrap fixes.
      * bootstrap: Synchronize with upstream.
      * bootstrap.conf: Add pkg-config pre-requisite.
      * autogen.sh: Tweak wording message.
      Reported by Justin Clift, and with feedback from Bruno Haible.
      b0f34a6a
  29. 01 10月, 2010 1 次提交
    • E
      build: fix example build on MacOS X · f8db6c90
      Eric Blake 提交于
      Partial reversion of commit 76d87a59, now that bootstrap is smarter.
      
      * .gnulib: Update to latest, for poll and bootstrap fixes.
      * bootstrap: Resync from gnulib.
      * autogen.sh: Drop redundant tool checks; bootstrap does them
      better, by honoring environment variables.
      * examples/domain-events/events-c/Makefile.am (INCLUDES)
      (event_test_LDADD): Use gnulib library during build.
      * bootstrap.conf (gnulib_tool_option_extras): Revert --libtool
      addition, now that updated bootstrap does it for us.
      Reported by Justin Clift.
      f8db6c90
  30. 23 9月, 2010 1 次提交
    • E
      maint: update to latest gnulib · 76d87a59
      Eric Blake 提交于
      * .gnulib: Update to latest.
      * bootstrap.conf (gnulib_modules): Add new termios module.
      (gnulib_tool_option_extras): Make libtool usage explicit.
      * src/util/util.c (includes): Gnulib now guarantees termios.h.
      * bootstrap: Resync from gnulib.
      76d87a59
  31. 10 6月, 2010 1 次提交
    • E
      build: fix some mingw issues · 3cf642a0
      Eric Blake 提交于
      On Fedora 13 with sufficient mingw32-* packages installed, running
      ./autobuild.sh failed to cross-compile to mingw because
      mingw32-pthreads installed a broken <pthread.h>.  With that
      issue fixed, the build still failed due to use of O_SYNC.
      Meanwhile, recent .spec.in changes got out of sync.
      
      * bootstrap.conf (gnulib_modules): Add fcntl-h, for O_SYNC.
      * .gnulib: Update to latest, to work around buggy pthreads-win32
      library.
      * bootstrap: Import latest from gnulib.
      * mingw32-libvirt.spec.in: Distribute new file.
      3cf642a0
  32. 25 2月, 2010 1 次提交
    • E
      maint: relax git minimum version · c560fc49
      Eric Blake 提交于
      Requiring git 1.6.4, just for the optional GNULIB_SRCDIR support,
      was too harsh.  Resynchronize from gnulib.
      
      * .gnulib: Import from latest gnulib.
      * bootstrap: Re-synchronize from .gnulib/build-aux.
      * bootstrap.conf: Drop git to 1.5.5.
      * README-hacking: Document use of GNULIB_SRCDIR.
      c560fc49
  33. 24 2月, 2010 2 次提交
    • E
      maint: import modern bootstrap · 38c9440a
      Eric Blake 提交于
      Copy the latest gnulib bootstrap, which runs autoreconf and
      generates po/Makevars for us.  Other improvements include some
      improved prerequisite tool checking.
      
      This also fixes a bug in the .pot files, regarding the copyright holder.
      
      * bootstrap: Update to version in .gnulib/build-aux.
      * bootstrap.conf (MSGID_BUGS_ADDRESS, COPYRIGHT_HOLDER, SKIP_PO)
      (gnulib_mk, ACLOCAL, bootstrap_epilogue): Provide overrides.
      * autogen.sh (autoreconf): Avoid redundant autoreconf if bootstrap
      was run.
      * po/Makevars: Delete, now that bootstrap creates it.
      * po/.gitignore: Update.
      38c9440a
    • E
      maint: start factoring bootstrap · 1a51d05f
      Eric Blake 提交于
      Borrow ideas from gnulib/build-aux/bootstrap, in order to factor the
      specifics of libvirt into bootstrap.conf, while allowing future
      upgrades of bootstrap to happen with less effort.
      
      * bootstrap (gnulib_tool): Update invocation to be closer to
      gnulib's version.  Move libvirt specifics...
      * bootstrap.conf: ...into new file.
      1a51d05f
  34. 05 2月, 2010 1 次提交
  35. 27 1月, 2010 1 次提交
    • J
      portability to non-glibc: don't use realpath(..., NULL) · b74aadb3
      Jim Meyering 提交于
      it causes a NULL-dereference on some systems like Solaris 10.
      * src/node_device/node_device_linux_sysfs.c. Include <stdlib.h>.
      (get_sriov_function): Use canonicalize_file_name, not realpath.
      * bootstrap (modules): Add canonicalize-lgpl.
      b74aadb3
  36. 20 1月, 2010 1 次提交
    • J
      logging: confirm that we want to ignore a write error · eb895e74
      Jim Meyering 提交于
      * src/util/logging.c (virLogMessage): Include "ignore-value.h".
      Use it to ignore the return value of safewrite.
      Use STDERR_FILENO, rather than "2".
      * bootstrap (modules): Add ignore-value.
      * gnulib: Update to latest, for ignore-value that is now LGPLv2+.
      eb895e74
  37. 16 12月, 2009 1 次提交
    • J
      avoid malfunction when virFileResolveLink is applied to non-POSIX FS · 5baa4635
      Jim Meyering 提交于
      The virFileResolveLink utility function relied on the POSIX guarantee
      that stat.st_size of a symlink is the length of the value.  However,
      on some types of file systems, it is invalid, so do not rely on it.
      Use gnulib's areadlink module instead.
      * bootstrap (modules): Add areadlink.
      * src/util/util.c: Include "areadlink.h".
      Let areadlink perform the readlink and malloc.
      * configure.in (AC_CHECK_FUNCS): Remove readlink.  No need,
      since it's presence is guaranteed by gnulib.
      5baa4635
  38. 11 9月, 2009 1 次提交
    • M
      Local file implementation of secret driver API · 03d33860
      Miloslav Trmač 提交于
      This implementation stores the secrets in an unencrypted text file,
      for simplicity in implementation and debugging.
      
      (Symmetric encryption, e.g. using gpgme, will not be difficult to add.
      Because the TLS private key used by libvirtd is stored unencrypted,
      encrypting the secrets file does not currently provide much additional
      security.)
      
      * include/libvirt/virterror.h, src/virterror.c (VIR_ERR_NO_SECRET): New
        error number.
      * po/POTFILES.in, src/Makefile.am: Add secret_driver.
      * bootstrap: Use gnulib's base64 module.
      * src/secret_driver.c, src.secret_driver.h, src/libvirt_private.syms:
        Add local secret driver.
      * qemud/qemud.c (qemudInitialize): Use the local secret driver.
      03d33860