summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.6.2.1.6.2Richard W.M. Jones2010-11-1817-2559/+3657
|
* generator: Make return value into an explicit variable.Richard W.M. Jones2010-11-181-11/+45
| | | | | This is just code motion. (cherry picked from commit 6c6aa111795b20533a99a7e38b614b2aa1c0ccb7)
* generator: Make trace flag an explicit variable.Richard W.M. Jones2010-11-181-1/+4
| | | | | This is just code motion. (cherry picked from commit a5884a88fc57174c43d2ae9b50b437a60f6baf0b)
* rescue: Fix typo in documentation of --network option.Richard W.M. Jones2010-11-181-1/+1
| | | | (cherry picked from commit 4ac31247605dbcbe4b19212148de0a8671d0a43d)
* images: Make phony Windows image for testing.Richard W.M. Jones2010-11-188-2/+124
| | | | (cherry picked from commit fcc631dedb894379cde01af563df3f6a364db7cb)
* images: Make phony Ubuntu image for testing.Richard W.M. Jones2010-11-183-2/+91
| | | | (cherry picked from commit 9becb385b78eddb9b3817c6accaa6cdb3db0b5af)
* images: Make a phony Debian image for testing.Richard W.M. Jones2010-11-184-2/+151
| | | | (cherry picked from commit 858d75d3911c9715bf62c3e8088cce3e991fb0fc)
* images: Make a better phony Fedora image.Richard W.M. Jones2010-11-186-8/+41
| | | | | | This now includes a product string, major and minor version, hostname and even some applications. (cherry picked from commit 6d4815d3a4921219379bc9ec3cceead217668426)
* daemon: findfs-uuid and findfs-label should not return /dev/mapper paths.Richard W.M. Jones2010-11-181-0/+16
| | | | (cherry picked from commit 2bfeaeaa308adf27853c1ec6d1d958a3e4734b8e)
* inspect: Check /etc/lsb-release is not too large before calling head on it.Richard W.M. Jones2010-11-181-1/+16
| | | | (cherry picked from commit 35afe0cb33c986bf595585a716ff259cf3415a1f)
* inspect: Add function to read the first line of a file, with safety checks.Richard W.M. Jones2010-11-181-14/+42
| | | | (cherry picked from commit a4448956e9a815aff59cac3d98caf80f620fc4c4)
* inspect: Abstract the wrapper that sets up Augeas.Richard W.M. Jones2010-11-181-32/+49
| | | | | | This is just code motion. Cherry picked from commit 61cfe13ec49f1d1e9d6124f0ee98520aab720087.
* inspect: Centralize all file downloads through a single function.Richard W.M. Jones2010-11-181-32/+52
| | | | Cherry picked from commit 8a3a4c25d3bb63674c9ccf8483d9bfd89085fe47.
* filearch: Refuse to download initrd if it is huge.Richard W.M. Jones2010-11-181-0/+8
| | | | (cherry picked from commit b943d06466724df39b7261ce75e43b0201ed7372)
* inspect: Refuse to download software hive if it is huge.Richard W.M. Jones2010-11-181-0/+8
| | | | (cherry picked from commit e44cf42f362d793c47d892a18a6853d88abd6ecb)
* inspect: Refuse to parse /etc/fstab if it is huge.Richard W.M. Jones2010-11-181-0/+8
| | | | (cherry picked from commit 692f127447d399db21c2e93026d4d2b0ac1839d1)
* Abstract out check_architecture and check_fstab_aug_open functions.Richard W.M. Jones2010-11-181-8/+29
| | | | | | This is part of the development commit 79b202ca26226e0a95e3f04ac7ff91e9eb918b48 excluding the new FreeBSD feature.
* docs: Put list of distros in alphabetical order.Richard Jones2010-11-181-5/+5
| | | | (cherry picked from commit a22d5a7390339eca5d9bafb2155439ad1ccc02ac)
* docs: Debian and Ubuntu are now separate distros.Richard Jones2010-11-181-1/+1
| | | | (cherry picked from commit 47af6aaab8f2dde736951b4e549c2638d942dae5)
* inspect: Fix error out path if minor_version parsing fails.Richard W.M. Jones2010-11-181-1/+1
| | | | (cherry picked from commit 9674a73c08e128d8a7a39a6be6140c373c0e61f0)
* lib: Make some error strings localizable.Richard W.M. Jones2010-11-181-3/+3
| | | | (cherry picked from commit 528cd8f64176ca50f5b82db5682b0ee31833b162)
* lib: Add match3 function.Richard W.M. Jones2010-11-182-0/+27
| | | | (cherry picked from commit 55e6ccb23e0b1f954107b4d0284d3d41f7a4e7b8)
* lib: Add safe_asprintf function.Richard W.M. Jones2010-11-182-0/+19
| | | | (cherry picked from commit a48ab78dc8272675caf7bebf17d2112aaaf6332f)
* docs: Add a section on security.Richard W.M. Jones2010-11-181-1/+154
| | | | (cherry picked from commit cd96cca38cea638a6db76afceeed76babc9e763c)
* docs: Rearrange guestfs(3) sections.Richard W.M. Jones2010-11-181-254/+254
| | | | | | | | | | | | This rearranges the sections into a more logical order: - synopsis and introduction - API-related overview sections - (security will go here, see next commit) - API in detail - architecture and other internals - usual end sections (cherry picked from commit 35dbedb1b18157b2329e0e55d0b5355f26431814)
* ruby: Add 'make install' rule for ruby bindings (RHBZ#652796).Richard W.M. Jones2010-11-181-0/+9
| | | | (cherry picked from commit aec3091fa9c65e2f84d0bf9cdd520e597957eca9)
* build: xml-light is no longer required (thanks Maxim Koltsov).Richard W.M. Jones2010-11-186-53/+18
| | | | | | | At some point we removed the last thing that required xml-light, but were still testing for it at various places in the build. This removes all traces. (cherry picked from commit f6c4026f85fa6ded33a51ec2757abda9f116fd5f)
* Generate a dummy 'Fedora' fedora.img in images directory for use by tests.Richard W.M. Jones2010-11-1810-42/+53
| | | | | | | | | We were generating this dummy 'Fedora' image already in the tools directory. It contains just enough Fedora-like files to fool our inspection code and thus to test the tools. This is general enough that we can use it everywhere. (cherry picked from commit 4d900cdac8258daa2e99c6ceb2a4985154e94150)
* Fix small typo in a comment in src/Makefile.am.Richard W.M. Jones2010-11-181-1/+1
| | | | (cherry picked from commit 4a3726d5ed0dd3174b46ec574eaf4f4140cb193b)
* generator: Add Pointer parameter type to the generator.Richard Jones2010-11-1817-26/+95
| | | | | | | | | | | | | | | | | | | | This allows generic "foo *bar" pointers to be passed to library functions (not to daemon functions). In the language bindings (except Perl) these are handled as generic int64s with the assumption being that any pointer can be converted to and from this. There is room to add specific support for some pointer types in future by specializing the match cases. However this is inherently tricky because it depends on the implementation details of other bindings (eg. to support virDomainPtr in OCaml depends on the implementation details of the ocaml-libvirt project). Perl is slightly different in that you have to supply a typemap. Again this would depend on the implementation detail of an external library unless you supplied a generic typemap for int64. (cherry picked from commit 4ada0a7815075c9cbe9d8b00da791c105ae739a9)
* lib: Make pcre, libmagic and hivex libraries optional.Richard Jones2010-11-189-451/+674
| | | | | | | | | | | | | | | | | This change makes these libraries optional. If they are not available at compile time then certain core API features will be disabled (see below). This also changes PCRE detection to use pkg-config instead of the ad hoc autoconf checks. The large inspect.c file has been split out into separate function-specific files. file-architecture: requires pcre & libmagic inspection: requires pcre & hivex Cherry picked from commit a0b4caa0821b759de01361b7019c9c9c9607027d.
* capitests: Add whitespace in Makefile.Richard W.M. Jones2010-11-181-0/+1
| | | | Cherry picked from commit 2ee6ea2ce128d200928173f3d4b40cadae17de93.
* inspect: win64 regexp was dead code.Richard Jones2010-11-181-2/+0
| | | | (cherry picked from commit 8ac9575b204a8ac85f9030500cb6eabbf6aa3226)
* lib: Augeas (client side) is not needed by the library.Richard Jones2010-11-183-7/+2
| | | | | | However it is used by the daemon. Cherry picked from commit b52183b5491748d9e979d30e55db6d648b102416.
* ocaml: Error on compiler warnings.Richard Jones2010-11-181-1/+1
| | | | (cherry picked from commit bf3b9e2e236b4dd2216200993ba39545ad5160bb)
* ruby: Remove extra space before parenthesis.Richard Jones2010-11-181-1/+1
| | | | (cherry picked from commit a6454a437f98cc15d8347960f348937c651942e3)
* Revert "autogen: Touch ocaml/.depend"Richard Jones2010-11-181-4/+0
| | | | | This reverts commit a0f85ba643990da25b6afe6a2bbd2407cf312c73. (cherry picked from commit ed2bd31f9128036cd59399e1d8234023806082a7)
* Revert "Remove ocaml/.depend from git."Richard Jones2010-11-183-5/+5
| | | | | | | | | | This reverts commit 064569bcbf854a9cf588ce31851d987d5f114ec8. This commit does the wrong thing: creating an empty ocaml/.depend file is wrong because building the OCaml bindings will fail. Not having this file will prevent automake from running. Therefore this file has to exist with the correct content in git. (cherry picked from commit e3acf93ce9e87ce308cf50a4f41408b25dd910e9)
* build: Don't try to rebuild po-docs/<lang> if no po4a.Maxim Koltsov2010-11-181-2/+6
| | | | (cherry picked from commit e5ec461c67820f050b049b41a630069f0efe96d1)
* build: Add ./configure --disable-php option.Maxim Koltsov2010-11-181-5/+14
| | | | | This disables the PHP language bindings. (cherry picked from commit b0a48fa4504f85baa484987f54d8f99703e3ed3b)
* build: Test for virt tools Perl libraries conditionally.Richard W.M. Jones2010-11-181-13/+16
| | | | | | Only test for these if $PERL is defined, and use $PERL as the interpreter. (cherry picked from commit 8e4a4d3d88b814504c6f2abbf6bf3dab789021b1)
* build: Add ./configure --disable-haskell option.Maxim Koltsov2010-11-181-2/+10
| | | | | This disables the Haskell language bindings. (cherry picked from commit ada875642332b56acbf75d68e964f2f16ca50530)
* build: Add ./configure --disable-ruby option.Maxim Koltsov2010-11-181-3/+9
| | | | | This disables the Ruby language bindings. (cherry picked from commit 5b99e1b983b38d3405662c1e2b16f2731d465ce3)
* build: Warn if Python include or site-packages not found.Maxim Koltsov2010-11-181-0/+6
| | | | (cherry picked from commit 041969480a2712311c2a82a0c118426793a9b338)
* build: Add ./configure --disable-python option.Maxim Koltsov2010-11-181-43/+50
| | | | | This disables the Python language bindings. (cherry picked from commit 3a7eb8ebdb47878ab9bd6b8aff88744365179f87)
* build: Add ./configure --disable-perl option.Maxim Koltsov2010-11-181-19/+26
| | | | | This disables the Perl bindings. (cherry picked from commit 57c74708ca4e00db259903998b67489e50b8d12b)
* ocaml: Remove the old OCaml viewer program.Richard W.M. Jones2010-11-189-764/+1
| | | | | | | This program is obsolete and the code has been reused for guestfs-browser here: http://people.redhat.com/~rjones/guestfs-browser/ (cherry picked from commit 53c524819323dcea8d5e3d56ff4fc6cf49b6c64f)
* build: Add ./configure --disable-ocaml option.Maxim Koltsov2010-11-181-8/+20
| | | | | | | This can be used to disable the OCaml bindings. Note that OCaml is still required in any case where you need to rerun the generator. (cherry picked from commit af7af2fc5e48e4efecd1f65b60e61b88733161b9)
* build: Add ./configure --disable-fuse option.Maxim Koltsov2010-11-181-6/+10
| | | | | | If this option is specified, FUSE support is unconditionally disabled. (cherry picked from commit 428a45c3e15f03e9861e1b551e1ae8da821dba5f)
* supermin: If disabled, don't compile in supermin code or check for supermin.Richard W.M. Jones2010-11-182-6/+12
| | | | | | | | | | | | | If supermin is disabled at compile time and the user just wants to use the ordinary appliance, there is no need to compile in all the supermin code, and in particular there is no need to check for the supermin appliance (which involves running febootstrap-supermin-helper that probably doesn't exist). This fixes a warning message observed under Debian w/o supermin: sh: febootstrap-supermin-helper: command not found (cherry picked from commit 4e656a61d40ff51e63aa06d857c40c14ff31ddb9)