[master] 381ec8a Update list of documented build requirements.

Lasse Karstensen lkarsten at varnish-software.com
Wed Jul 9 13:03:08 CEST 2014


commit 381ec8adbc8d692e192cc63c79b3c3192c590356
Author: Lasse Karstensen <lkarsten at varnish-software.com>
Date:   Wed Jul 9 12:59:37 2014 +0200

    Update list of documented build requirements.
    
    The list of documented build requirement have not been updated
    for a while, and was outdated.
    
    Update the lists with recent data.
    
    Added (commented-out) commands that extracts and formats
    this information directly from the packaging files.
    
    Reported by:	frakt

diff --git a/doc/sphinx/installation/install.rst b/doc/sphinx/installation/install.rst
index 883cbf9..c9dd0c5 100644
--- a/doc/sphinx/installation/install.rst
+++ b/doc/sphinx/installation/install.rst
@@ -76,21 +76,21 @@ Build dependencies on Debian / Ubuntu
 In order to build Varnish from source you need a number of packages
 installed. On a Debian or Ubuntu system these are:
 
-* `autoconf`
-* `automake1.1`
+..  grep-dctrl -n -sBuild-Depends -r ^ ../../../../varnish-cache-debian/control | tr -d '\n' | awk -F,\  '{ for (i = 0; ++i <= NF;) { sub (/ .*/, "", $i); print "* `" $i "`"; }}'
+
+* `automake`
 * `autotools-dev`
-* `groff-base`
-* `make`
+* `debhelper`
 * `libedit-dev`
+* `libjemalloc-dev`
 * `libncurses-dev`
 * `libpcre3-dev`
+* `libreadline-dev`
 * `libtool`
 * `pkg-config`
 * `python-docutils`
+* `python-sphinx`
 
-If you're building from git, you also need the following:
-
-* `python-sphinx` (optional, if you want to build the documentation)
 
 Build dependencies on Red Hat / CentOS
 --------------------------------------
@@ -98,19 +98,19 @@ Build dependencies on Red Hat / CentOS
 To build Varnish on a Red Hat or CentOS system you need the following
 packages installed:
 
-* `automake`
+.. gawk '/^BuildRequires/ {print "* `" $2 "`"}' ../../../redhat/varnish.spec | sort | uniq
+
 * `autoconf`
-* `groff`
+* `automake`
+* `jemalloc-devel`
 * `libedit-devel`
 * `libtool`
 * `ncurses-devel`
 * `pcre-devel`
 * `pkgconfig`
 * `python-docutils`
+* `systemd-units`
 
-If you're building from git, you also need the following:
-
-* `python-sphinx` (optional, if you want to build the documentation)
 
 Compiling Varnish
 -----------------



More information about the varnish-commit mailing list