[master] f544c8f replace package lists with install commands
Nils Goroll
nils.goroll at uplex.de
Wed Jan 17 15:59:06 UTC 2018
commit f544c8fea69256363e8badbd400a779abb9e7e8d
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Wed Jan 17 16:53:33 2018 +0100
replace package lists with install commands
No need to waste more precious human life time with stupid editing
diff --git a/doc/sphinx/installation/install.rst b/doc/sphinx/installation/install.rst
index fba97e1..101db8e 100644
--- a/doc/sphinx/installation/install.rst
+++ b/doc/sphinx/installation/install.rst
@@ -73,50 +73,60 @@ git repository by doing.
Build dependencies on Debian / Ubuntu
--------------------------------------
+.. grep-dctrl -n -sBuild-Depends -r ^ ../../../../varnish-cache-debian/control | tr -d '\n' | awk -F,\ '{ for (i = 0; ++i <= NF;) { sub (/ .*/, "", $i); print "* `" $i "`"; }}' | egrep -v '(debhelper)'
+
In order to build Varnish from source you need a number of packages
-installed. On a Debian or Ubuntu system these are:
+installed. On a Debian or Ubuntu system, use this command to install
+them (replace ``sudo apt-get install`` if needed)::
+
+ sudo apt-get install \
+ make \
+ automake \
+ autotools-dev \
+ libedit-dev \
+ libjemalloc-dev \
+ libncurses-dev \
+ libpcre3-dev \
+ libtool \
+ pkg-config \
+ python-docutils \
+ python-sphinx
-.. grep-dctrl -n -sBuild-Depends -r ^ ../../../../varnish-cache-debian/control | tr -d '\n' | awk -F,\ '{ for (i = 0; ++i <= NF;) { sub (/ .*/, "", $i); print "* `" $i "`"; }}' | egrep -v '(debhelper)'
+Optionally, to rebuild the svg files::
-* `make`
-* `automake`
-* `autotools-dev`
-* `libedit-dev`
-* `libjemalloc-dev`
-* `libncurses-dev`
-* `libpcre3-dev`
-* `libtool`
-* `pkg-config`
-* `python-docutils`
-* `python-sphinx`
+ sudo apt-get install graphviz
-Optionally, to rebuild the svg files:
+Recommended, in particular if you plan on building custom vmods::
-* `graphviz`
+ sudo apt-get install autoconf-archive
Build dependencies on Red Hat / CentOS
--------------------------------------
-To build Varnish on a Red Hat or CentOS system you need the following
-packages installed:
-
.. gawk '/^BuildRequires/ {print "* `" $2 "`"}' ../../../redhat/varnish.spec | sort | uniq | egrep -v '(systemd)'
-* `make`
-* `autoconf`
-* `automake`
-* `jemalloc-devel`
-* `libedit-devel`
-* `libtool`
-* `ncurses-devel`
-* `pcre-devel`
-* `pkgconfig`
-* `python-docutils`
-* `python-sphinx`
-
-Optionally, to rebuild the svg files:
-
-* `graphviz`
+To build Varnish on a Red Hat or CentOS system, this command should
+install required packages (replace ``sudo yum install`` if needed)::
+
+ sudo yum install \
+ make \
+ autoconf \
+ automake \
+ jemalloc-devel \
+ libedit-devel \
+ libtool \
+ ncurses-devel \
+ pcre-devel \
+ pkgconfig \
+ python-docutils \
+ python-sphinx
+
+Optionally, to rebuild the svg files::
+
+ yum install graphviz
+
+.. XXX autoconf-archive ? is this any helpful on the notoriously
+ outdated Redhats?
Build dependencies on a SmartOS Zone
------------------------------------
More information about the varnish-commit
mailing list