-
Notifications
You must be signed in to change notification settings - Fork 6
/
config-nghttp2.sh
executable file
·43 lines (29 loc) · 1.48 KB
/
config-nghttp2.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# This file intended to be sourced
# . /build/config.sh
# Prevent initramfs updates from trying to run grub and lilo.
export INITRD=no
export DEBIAN_FRONTEND=noninteractive
minimal_apt_get_args='-y --no-install-recommends'
# File containing original installed packages
PACKAGES_INSTALLED_LOG="/tmp/packages.lst"
## Build time dependencies ##
# git and ca-certificates is needed for git clone; not building
# alternate would be to download a release tarball with curl or wget
# xz-utils is needed for tar to uncompress an .xz tarball
NGHTTP2_BUILD_PACKAGES="git ca-certificates curl xz-utils"
# Core list from docs
NGHTTP2_BUILD_PACKAGES="$NGHTTP2_BUILD_PACKAGES make binutils autoconf automake autotools-dev libtool pkg-config python3 python3-dev zlib1g-dev libssl-dev libxml2-dev libev-dev libevent-dev libjemalloc-dev libc-ares-dev"
# Optional:
# libcunit1-dev - for tests
# libjansson-dev - for HPACK tools
# libjemalloc-dev - optional but recommended
# cython python-dev - python bindings
# building the servers needs g++
NGHTTP2_BUILD_PACKAGES="$NGHTTP2_BUILD_PACKAGES g++"
## Run time dependencies ##
# openssl and python are needed for OCSP /usr/share/nghttp2/fetch-ocsp-response
NGHTTP2_RUN_PACKAGES="libev4 libevent-2.1 libevent-openssl-2.1 libjemalloc2 libxml2 zlib1g openssl python3 libc-ares2"
# apt-get remove --allow-remove-essential enters an infinite loop of
# pam errors with this package
# login: because it depends on libpam*
PACKAGES_REMOVE_SKIP_REGEX='(libpam|login)'