podwrapper.sh: Take date from ChangeLog or from the latest git commit.
(cherry picked from commit f9a5e3ed86ee7bcd13619f13b4d4de6ce46ac8c3)
podwrapper: Fix shell script.

This fixes commit f9a5e3ed86ee7bcd13619f13b4d4de6ce46ac8c3.
(cherry picked from commit 33bb7408f684bf0d4eff0a0e99c53449fa4923e4)
tests/guests: Add temp files to CLEANFILES.
(cherry picked from commit f883e4d8d3ea65c5cd4c2dc5d557989c00aafc56)
fuse: Cleaner code and documentation for safe cleanups.
(cherry picked from commit ec0c7e0a1aafd145309ab53749d910ad837d8745)
generator: Move note in comment to generator/README file.
(cherry picked from commit cf0defedb8121a0ff39c1d4c6d9f3eee9fd7ee72)
generator: Add a note in generator/README about safely extending functions.
(cherry picked from commit 196742cd46a8d80f0298f9f58c540482919306a3)
tests: Better way to ensure 'g' is used and return success or error.
(cherry picked from commit 7a0478bed0fe3ccbdf16087552f3d6ea196f29ec)
java: Generate overloaded non-optargs method for each optargs method.

For example the existing method:

  public void mkfs_opts (String fstype, String device, Map<..> optargs);

is now accompanied by this overloaded method which is a simple wrapper:

  public void mkfs_opts (String fstype, String device)
    throws LibGuestFSException
  {
    mkfs_opts (fstype, device, null);
  }
(cherry picked from commit 0da2dbef26a9efddbc1f4cd6cbe796b3b5f98d13)
run: Update comments.
(cherry picked from commit 98f2d221cfe184535a493057f5b2b38d8bee34e4)
Revert "ocaml: Calling Gc.compact before g#mount_local works around RHBZ#838081."

This reverts commit ad7c4498f66f37c4219242c6df04d28e9ee7877f.

Reverted because we still see core dumps.
(cherry picked from commit d69a03e44832d8a8da84696bd4e2aaf3cd5d6cff)
virt-make-fs: Recognize "msdos" as a partition or filesystem type.

Set MBR partition type byte accordingly.
(cherry picked from commit 24b7979ea25cbe5f08494cc4580c1341e78e090e)
build: Change calls to podwrapper.sh to use $(PODWRAPPER).

This will allow us to easily change the location of this
script in future.
(cherry picked from commit f2ea617e224cd82496e56a41b5878063d6f02e3d)
configure: Make generated files read-only.

Some of the generated files anyway.
(cherry picked from commit 3a442e66170518f725b92a1041546d81fde95492)
Fix pod.css for new HTML output from Perl 5.16.

There used to be a <div> around the table of contents, but that
is no longer present.
(cherry picked from commit 0bf1e5b6650e71434430bf119b486a779516886d)
Replace podwrapper shell script with custom Perl script.

This uses Pod::Simple so it properly parses the input POD and can
generate proper custom output as required specifically by libguestfs.

One immediate benefit is that links between and within manual pages
now work mostly correctly.
(cherry picked from commit 1e17a32060feb937b3972f61b37f9116ad7d8d9a)
docs: febootstrap is in section 8 of the manual, not section 1.
(cherry picked from commit 8d0baf7b859fbbe40bdb072b2009d77c02cee7c3)
perl: Use $g instead of $h in documentation.

$g is the "standard" name for libguestfs handles.

(cherry picked from commit a99ea198b24745c49cdb42645c3497ac3b0e6a2f)
perl: In examples, call $g->shutdown, $g->close.
(cherry picked from commit f6846d74c947bd8b711ef0b29148fa1e90580354)
podwrapper: Tidy up the program name.

Messages now look like this:

  podwrapper.pl: wrote guestfs-examples.3
  podwrapper.pl: wrote ../html/guestfs-examples.3.html
(cherry picked from commit 60c42dd2a1a173ec1161502762bc33ae7a1cf190)
podwrapper: Define $VERSION in subclass.

The superclass sometimes uses this and will give an undefined
error if it's missing.
(cherry picked from commit 9967ad3fa13178c70afd5da77f77a4115808733d)