Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Commit 602a1d2

Browse files
committed
explicit cryptopp version
1 parent 44b7d1e commit 602a1d2

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tools/appserver/dockerbuild/install.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export QPMX_CACHE_DIR=/tmp/qpmx-cache
66

77
DS_NAME=qdsappd
88
QT_VERSION=5.11.0
9+
CRYPTOPP_VERSION=7_0_0
910
MAIN_DEP="libressl zlib dbus-libs glib libgcc libpcre2-16 libpq ca-certificates"
1011
DEV_DEP="libressl-dev zlib-dev dbus-dev glib-dev perl eudev-dev gawk pcre2-dev postgresql-dev linux-headers make gcc g++ curl python3 git"
1112

@@ -87,12 +88,8 @@ for repo in QtJsonSerializer qpmx QtService; do
8788
done
8889

8990
# build cryptopp
90-
git clone --depth 1 https://github.com/weidai11/cryptopp.git ./cryptopp
91+
git clone --depth 1 https://github.com/weidai11/cryptopp.git ./cryptopp --branch CRYPTOPP_$CRYPTOPP_VERSION
9192
cd cryptopp
92-
latesttag=$(git describe --tags --abbrev=0)
93-
echo checking out ${latesttag}
94-
git checkout ${latesttag}
95-
9693
CXXFLAGS="$CXXFLAGS -DNDEBUG -fPIC" make dynamic
9794
make install PREFIX="/usr"
9895
install -m644 "/tmp/src/tools/appserver/dockerbuild/libcrypto++.pc" "/usr/lib/pkgconfig/libcrypto++.pc"

0 commit comments

Comments
 (0)