This repository was archived by the owner on Nov 24, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +100
-6
lines changed Expand file tree Collapse file tree 4 files changed +100
-6
lines changed Original file line number Diff line number Diff line change @@ -52,14 +52,22 @@ ARG AUTOMAKE_VERSION=1.16.5
52
52
COPY build-automake.sh /
53
53
RUN bash -x /build-automake.sh
54
54
55
- ARG GPGME_VERSION=1.17.1
56
- COPY build-gpgme.sh /
57
- RUN bash -x /build-gpgme.sh
55
+ ARG LIBGPG_ERROR_VERSION=1.45
56
+ COPY build-libgpg-error.sh /
57
+ RUN bash -x /build-libgpg-error.sh
58
+
59
+ ARG LIBASSUAN_VERSION=2.5.5
60
+ COPY build-libassuan.sh /
61
+ RUN bash -x /build-libassuan.sh
58
62
59
63
ARG LIBGCRYPT_VERSION=1.10.1
60
64
COPY build-libgcrypt.sh /
61
65
RUN bash -x /build-libgcrypt.sh
62
66
67
+ ARG GPGME_VERSION=1.17.1
68
+ COPY build-gpgme.sh /
69
+ RUN bash -x /build-gpgme.sh
70
+
63
71
# create unprivileged user for non-build-script use of this image
64
72
# build-in-docker.sh will likely not use this one, as it enforces the caller's uid inside the container
65
73
RUN useradd --system build
Original file line number Diff line number Diff line change @@ -49,14 +49,22 @@ ARG AUTOMAKE_VERSION=1.16.5
49
49
COPY build-automake.sh /
50
50
RUN bash -x /build-automake.sh
51
51
52
- ARG GPGME_VERSION=1.17.1
53
- COPY build-gpgme.sh /
54
- RUN bash -x /build-gpgme.sh
52
+ ARG LIBGPG_ERROR_VERSION=1.45
53
+ COPY build-libgpg-error.sh /
54
+ RUN bash -x /build-libgpg-error.sh
55
+
56
+ ARG LIBASSUAN_VERSION=2.5.5
57
+ COPY build-libassuan.sh /
58
+ RUN bash -x /build-libassuan.sh
55
59
56
60
ARG LIBGCRYPT_VERSION=1.10.1
57
61
COPY build-libgcrypt.sh /
58
62
RUN bash -x /build-libgcrypt.sh
59
63
64
+ ARG GPGME_VERSION=1.17.1
65
+ COPY build-gpgme.sh /
66
+ RUN bash -x /build-gpgme.sh
67
+
60
68
# create unprivileged user for non-build-script use of this image
61
69
# build-in-docker.sh will likely not use this one, as it enforces the caller's uid inside the container
62
70
RUN useradd --system build
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -xe
4
+
5
+ git clone https://dev.gnupg.org/source/libassuan.git -b libassuan-" $LIBASSUAN_VERSION " libassuan-" $LIBASSUAN_VERSION "
6
+
7
+ cd libassuan-" $LIBASSUAN_VERSION "
8
+
9
+ # needed for automake
10
+ export PATH=/deps/bin:" $PATH "
11
+
12
+ EXTRA_CONFIGURE_FLAGS=
13
+ if [ " $ARCH " == " i386" ]; then
14
+ EXTRA_CONFIGURE_FLAGS=" --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu"
15
+ elif [ " $ARCH " == " armhf" ] || [ " $ARCH " == " aarch64" ]; then
16
+ EXTRA_CONFIGURE_FLAGS=" --host=$DEBARCH --target=$DEBARCH "
17
+ fi
18
+
19
+ [ -f autogen.sh ] && ./autogen.sh
20
+
21
+ ./configure --prefix=/deps $EXTRA_CONFIGURE_FLAGS
22
+
23
+ set +x
24
+ echo " + make -j$( nproc) " 1>&2
25
+
26
+ if [ -z $VERBOSE ]; then
27
+ make -j$( nproc) 2>&1 | while read line; do
28
+ echo -n .
29
+ done
30
+ echo
31
+ else
32
+ make -j$( nproc)
33
+ fi
34
+ set -x
35
+
36
+ make install
37
+
38
+ cd ../../
39
+ rm -rf libassuan-" $LIBASSUAN_VERSION " /
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -xe
4
+
5
+ git clone https://dev.gnupg.org/source/libgpg-error.git -b libgpg-error-" $LIBGPG_ERROR_VERSION " libgpg-error-" $LIBGPG_ERROR_VERSION "
6
+
7
+ cd libgpg-error-" $LIBGPG_ERROR_VERSION "
8
+
9
+ # needed for automake
10
+ export PATH=/deps/bin:" $PATH "
11
+
12
+ EXTRA_CONFIGURE_FLAGS=
13
+ if [ " $ARCH " == " i386" ]; then
14
+ EXTRA_CONFIGURE_FLAGS=" --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu"
15
+ elif [ " $ARCH " == " armhf" ] || [ " $ARCH " == " aarch64" ]; then
16
+ EXTRA_CONFIGURE_FLAGS=" --host=$DEBARCH --target=$DEBARCH "
17
+ fi
18
+
19
+ [ -f autogen.sh ] && ./autogen.sh
20
+
21
+ ./configure --prefix=/deps $EXTRA_CONFIGURE_FLAGS
22
+
23
+ set +x
24
+ echo " + make -j$( nproc) " 1>&2
25
+
26
+ if [ -z $VERBOSE ]; then
27
+ make -j$( nproc) 2>&1 | while read line; do
28
+ echo -n .
29
+ done
30
+ echo
31
+ else
32
+ make -j$( nproc)
33
+ fi
34
+ set -x
35
+
36
+ make install
37
+
38
+ cd ../../
39
+ rm -rf libgpg-error-" $LIBGPG_ERROR_VERSION " /
You can’t perform that action at this time.
0 commit comments