1. 19 8月, 2011 1 次提交
  2. 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
  3. 18 5月, 2011 1 次提交
  4. 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
  5. 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
  6. 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
  7. 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
  8. 22 1月, 2011 1 次提交
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 05 2月, 2010 1 次提交
  18. 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
  19. 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
  20. 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
  21. 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
  22. 09 9月, 2009 1 次提交
  23. 09 7月, 2009 1 次提交
  24. 08 7月, 2009 3 次提交
    • J
      generate ChangeLog from git logs into distribution tarball · 27b175b9
      Jim Meyering 提交于
      No longer maintain a version-controlled ChangeLog file, but do
      continue to include a ChangeLog file in distribution tarball.
      * Makefile.am (gen-ChangeLog): New rule.
      (dist-hook): Depend on it.
      (EXTRA_DIST): Add ChangeLog-old.
      * bootstrap (modules): Add gitlog-to-changelog.
      * ChangeLog: Remove file.  Renamed to...
      * ChangeLog-old: ...this.  New file.
      * autogen.sh: Touch ChangeLog, to ensure it exists.  For automake.
      27b175b9
    • J
      use gnumakefile and maintainer-makefile modules from gnulib · bf773e04
      Jim Meyering 提交于
      * bootstrap (modules): Add gnumakefile and maintainer-makefile.
      * GNUmakefile: Remove file, now provided by gnulib.
      * Makefile.maint: Remove.  Replaced by maint.mk from gnulib.
      .gitignore: Add GNUmakefile and maint.mk.
      * cfg.mk (prev_version_file): Disable this feature.
      Setting this to /dev/null avoids an otherwise harmless diagnostic.
      bf773e04
    • J
      make .gnulib a submodule · 7bb22f58
      Jim Meyering 提交于
      This makes it so we record (via a git submodule)
      a snapshot of whatever version of gnulib we're using,
      and none of gnulib sources are in the libvirt repository.
      The result is that we have as much reproducibility as when
      we version-controlled imported copies of the gnulib sources,
      but without the hassle of the manual process we used when
      syncing with upstream.
      
      Note that when you clone libvirt, you get only the libvirt
      repository, but when you first run ./bootstrap, it clones
      gnulib (at the SHA1 recorded via the submodule), creating
      the .gnulib/ hierarchy.  Then, the bootstrap script runs
      gnulib-tool to populate gnulib/ with the files that make
      up the selected modules.
      
      Put the following in your ~/.gitconfig file.
      [alias]
        syncsub = submodule foreach git pull origin master
      
      The update procedure is simple:
        git syncsub
        ...build & test...
        git commit -m 'gnulib: sync submodule to latest' .gnulib
      
      * .gitmodules: New file.
      * .gnulib: Initialize.
      * bootstrap: Set up to use the new submodule.
      Stop using --no-vc-files.
      Don't remove .gitignore files.
      Don't use or create .cvsignore.
      Diagnose an invalid --gnulib-srcdir=DIR argument.
      * build-aux/vc-list-files: Delete file, now pulled from gnulib.
      * build-aux/useless-if-before-free: Likewise.
      * po/POTFILES.in: Remove gnulib/lib/gai_strerror.c, since
      it no longer contains translatable strings.
      * gnulib/*: Remove gnulib/ hierarchy.
      7bb22f58
  25. 27 1月, 2009 1 次提交
    • J
      use gnulib's stpcpy module · 4e8f63fd
      Jim Meyering 提交于
      * bootstrap (modules): Add stpcpy, and pull in gnulib bits:
      * gnulib/lib/stpcpy.c: New file.
      * gnulib/m4/stpcpy.m4: New file.
      * gnulib/lib/Makefile.am: Update.
      * gnulib/m4/gnulib-cache.m4: Update.
      * gnulib/m4/gnulib-comp.m4: Update.
      4e8f63fd
  26. 21 1月, 2009 1 次提交
  27. 08 1月, 2009 1 次提交
    • J
      bootstrap: pull in gnulib's ioctl module · 55d0a685
      Jim Meyering 提交于
      * bootstrap: Invoke gnulib-tool with its --no-vc-files
      option, since we version-control the files it imports.
      This tells it not to mark imported files as cvs-ignored.
      (modules): Add ioctl.
      * gnulib/lib/ioctl.c: New file.
      * gnulib/lib/sys_ioctl.in.h: New file.
      * gnulib/tests/sys_ioctl.in.h: Removed.
      * gnulib/tests/ioctl.c: Removed.
      * gnulib/lib/Makefile.am: Update.
      * gnulib/m4/gnulib-cache.m4: Likewise.
      * gnulib/m4/gnulib-comp.m4: Likewise.
      * gnulib/tests/Makefile.am: Likewise.
      * gnulib/lib/.cvsignore: Ignore sys_ioctl.h.
      * gnulib/lib/.gitignore: Regenerate.
      55d0a685
  28. 07 1月, 2009 1 次提交
    • J
      update from gnulib; use its time_r module for localtime_r on mingw · 6c996bfc
      Jim Meyering 提交于
      * bootstrap (modules): Add time_r.
      * gnulib/m4/time_h.m4: New file.
      * gnulib/m4/time_r.m4: New file.
      * gnulib/lib/time_r.c: New file.
      * gnulib/tests/test-time.c: New file.
      * gnulib/lib/time.in.h: New file.
      * gnulib/lib/Makefile.am: Update.
      * gnulib/lib/fseeko.c: Likewise.
      * gnulib/lib/lstat.c: Likewise.
      * gnulib/lib/netdb.in.h: Likewise.
      * gnulib/lib/stdint.in.h: Likewise.
      * gnulib/lib/stdlib.in.h: Likewise.
      * gnulib/lib/sys_select.in.h: Likewise.
      * gnulib/lib/sys_stat.in.h: Likewise.
      * gnulib/lib/sys_time.in.h: Likewise.
      * gnulib/lib/unistd.in.h: Likewise.
      * gnulib/lib/wchar.in.h: Likewise.
      * gnulib/m4/codeset.m4: Likewise.
      * gnulib/m4/errno_h.m4: Likewise.
      * gnulib/m4/extensions.m4: Likewise.
      * gnulib/m4/getaddrinfo.m4: Likewise.
      * gnulib/m4/gettext.m4: Likewise.
      * gnulib/m4/glibc2.m4: Likewise.
      * gnulib/m4/glibc21.m4: Likewise.
      * gnulib/m4/gnulib-cache.m4: Likewise.
      * gnulib/m4/gnulib-comp.m4: Likewise.
      * gnulib/m4/iconv.m4: Likewise.
      * gnulib/m4/include_next.m4: Likewise.
      * gnulib/m4/intdiv0.m4: Likewise.
      * gnulib/m4/intlmacosx.m4: Likewise.
      * gnulib/m4/intmax.m4: Likewise.
      * gnulib/m4/inttypes-pri.m4: Likewise.
      * gnulib/m4/inttypes_h.m4: Likewise.
      * gnulib/m4/lcmessage.m4: Likewise.
      * gnulib/m4/lib-link.m4: Likewise.
      * gnulib/m4/lstat.m4: Likewise.
      * gnulib/m4/netdb_h.m4: Likewise.
      * gnulib/m4/nls.m4: Likewise.
      * gnulib/m4/po.m4: Likewise.
      * gnulib/m4/printf-posix.m4: Likewise.
      * gnulib/m4/printf.m4: Likewise.
      * gnulib/m4/progtest.m4: Likewise.
      * gnulib/m4/size_max.m4: Likewise.
      * gnulib/m4/sockets.m4: Likewise.
      * gnulib/m4/stdint.m4: Likewise.
      * gnulib/m4/stdint_h.m4: Likewise.
      * gnulib/m4/sys_ioctl_h.m4: Likewise.
      * gnulib/m4/threadlib.m4: Likewise.
      * gnulib/m4/uintmax_t.m4: Likewise.
      * gnulib/m4/visibility.m4: Likewise.
      * gnulib/m4/wchar.m4: Likewise.
      * gnulib/m4/wchar_t.m4: Likewise.
      * gnulib/m4/wint_t.m4: Likewise.
      * gnulib/m4/xsize.m4: Likewise.
      * gnulib/tests/Makefile.am: Likewise.
      * gnulib/tests/sockets.h: Likewise.
      * gnulib/tests/.cvsignore: Likewise.
      * gnulib/tests/.gitignore: Likewise.
      * tests/.gitignore: Likewise.
      * docs/examples/.gitignore: Likewise.
      * gnulib/lib/.cvsignore: Likewise.
      * gnulib/lib/.gitignore: Likewise.
      
      remove files associated with obsolete strpbrk module
      * gnulib/lib/strpbrk.c: Remove file.
      * gnulib/m4/strpbrk.m4: Remove file.
      6c996bfc
  29. 29 10月, 2008 1 次提交
    • J
      use more gnulib modules · c54eb963
      Jim Meyering 提交于
      * bootstrap: use more gnulib modules: close, connect, perror, recv,
      send, socket setsockopt, gethostname.
      c54eb963
  30. 07 8月, 2008 1 次提交
    • J
      add the mkstemp module from gnulib · 7846f71f
      Jim Meyering 提交于
      * bootstrap (modules): Add mkstemp.
      The remainder of these changes are the result of running
      ./bootstrap, adding new files, and committing the result.
      * gnulib/lib/gettimeofday.c: New file.
      * gnulib/lib/mkstemp.c: New file.
      * gnulib/lib/tempname.c: New file.
      * gnulib/lib/tempname.h: New file.
      * gnulib/m4/gettimeofday.m4: New file.
      * gnulib/m4/mkstemp.m4: New file.
      * gnulib/m4/tempname.m4: New file.
      * gnulib/tests/test-gettimeofday.c: New file.
      * gnulib/lib/Makefile.am: Update.
      * gnulib/m4/gnulib-cache.m4: Likewise.
      * gnulib/m4/gnulib-comp.m4: Likewise.
      * gnulib/m4/inet_pton.m4: Likewise.
      * gnulib/tests/Makefile.am: Likewise.
      7846f71f
  31. 06 8月, 2008 1 次提交
  32. 10 5月, 2008 1 次提交
  33. 09 5月, 2008 1 次提交
    • J
      Prepare to use gnulib's c-type module. · 82892f13
      Jim Meyering 提交于
      * bootstrap: Move module list into separate variable w/less syntax.
      (modules): Add c-ctype.
      Update the following from gnulib:
      * build-aux/useless-if-before-free:
      * build-aux/vc-list-files:
      * gnulib/lib/Makefile.am:
      * gnulib/lib/getaddrinfo.h:
      * gnulib/m4/gnulib-cache.m4:
      * gnulib/m4/gnulib-comp.m4:
      * gnulib/m4/inet_ntop.m4:
      * gnulib/tests/Makefile.am:
      * gnulib/tests/test-getaddrinfo.c:
      82892f13
  34. 28 4月, 2008 1 次提交
  35. 24 3月, 2008 1 次提交
    • J
      Add new testing framework and the first test to use it. · f15efcdf
      Jim Meyering 提交于
      * tests/Makefile.am (test_scripts): Add vcpupin.
      (EXTRA_DIST): Add test-lib.sh.
      * tests/test-lib.sh: Testing framework, from coreutils.
      * tests/vcpupin: New file.
      * build-aux/mktempd: New file, from gnulib.
      * bootstrap: Add posix-shell and mktempd to the list of imported modules.
      * gnulib/m4/posix-shell.m4: New file, from gnulib.
      f15efcdf
  36. 14 2月, 2008 1 次提交
    • J
      Pull useless-if-before-free from gnulib, and update. · 26709f56
      Jim Meyering 提交于
      * bootstrap (gnulib_tool): Add useless-if-before-free to
      the list of modules.
      * build-aux/useless-if-before-free: Update from gnulib.
      * gnulib/lib/vasnprintf.c: Work around a bug in HPUX 10.20.
      * gnulib/m4/vasnprintf.m4: Likewise.
      26709f56
  37. 02 2月, 2008 1 次提交