bootstrap/dists: add rendered files for dists
[samba.git] / bootstrap / dists / ubuntu1404 / bootstrap.sh
1 #!/bin/bash
2 set -xueo pipefail
3
4 export DEBIAN_FRONTEND=noninteractive
5 apt-get -y update
6
7 apt-get -y install \
8     apt-utils \
9     attr \
10     autoconf \
11     bind9 \
12     bind9utils \
13     binutils \
14     bison \
15     build-essential \
16     ccache \
17     curl \
18     debhelper \
19     dnsutils \
20     docbook-xml \
21     docbook-xsl \
22     flex \
23     gcc \
24     gdb \
25     git \
26     krb5-kdc \
27     language-pack-en \
28     libacl1-dev \
29     libaio-dev \
30     libarchive-dev \
31     libattr1-dev \
32     libblkid-dev \
33     libbsd-dev \
34     libcap-dev \
35     libcups2-dev \
36     libdbus-1-dev \
37     libgnutls-dev \
38     libgpgme11-dev \
39     libjansson-dev \
40     libjson-perl \
41     libkrb5-dev \
42     libldap2-dev \
43     liblmdb-dev/trusty-backports \
44     libncurses5-dev \
45     libpam0g-dev \
46     libparse-yapp-perl \
47     libpopt-dev \
48     libreadline-dev \
49     libxml2-dev \
50     lmdb-utils/trusty-backports \
51     locales \
52     locate \
53     lsb-core \
54     make \
55     nettle-dev \
56     perl \
57     perl-modules \
58     pkg-config \
59     procps \
60     psmisc \
61     python-crypto \
62     python-dev \
63     python-dnspython \
64     python-gpgme \
65     python-markdown \
66     python3-crypto \
67     python3-dev \
68     python3-dnspython \
69     python3-gpgme \
70     python3-markdown \
71     sudo \
72     vim \
73     wget \
74     xsltproc \
75     zlib1g-dev
76
77 apt-get -y autoremove
78 apt-get -y autoclean
79 apt-get -y clean
80
81 # uncomment locale
82 # this file doesn't exist on ubuntu1404 even locales installed
83 if [ -f /etc/locale.gen ]; then
84     sed -i '/^#\s*en_US.UTF-8 UTF-8/s/^#\s*//' /etc/locale.gen
85 fi
86
87 locale-gen
88
89 # update /etc/default/locale
90 update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
91
92 # set both for safe
93 echo LC_ALL="en_US.UTF-8" >> /etc/environment
94 echo LANG="en_US.UTF-8" >> /etc/environment