File: upgrade.sh

package info (click to toggle)
libreswan 5.2-2.4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 81,656 kB
  • sloc: ansic: 129,988; sh: 32,018; xml: 20,646; python: 10,303; makefile: 3,022; javascript: 1,506; sed: 574; yacc: 511; perl: 264; awk: 52
file content (41 lines) | stat: -rw-r--r-- 519 bytes parent folder | download | duplicates (2)
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
#!/bin/sh

set -xe

PREFIX=@@PREFIX@@

cachedir=$( . /etc/os-release ; echo /pool/pkg.${ID}.${VERSION_ID} )

mkdir -p ${cachedir}

cat <<EOF > /etc/apt/apt.conf
Dir::Cache ${cachedir};
EOF

apt-config dump | grep Dir::Cache
apt-get update

while read p eol ; do
    apt-get install -y $p
done <<EOF
bison
build-essential
flex
gawk
libcap-ng-dev
libcurl4-nss-dev
libevent-dev
libldns-dev
libnss3
libnss3-dev
libnss3-tools
libpam0g-dev
libunbound-dev
make
net-tools
python3-pexpect
pkg-config
xmlto
iptables
nftables
EOF