Skip to content

Commit

Permalink
Embed MbedTLS temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
teusbenschop committed Jun 26, 2024
1 parent 8a87a09 commit 30161c2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions tarball-client-sid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@ echo Link with the system-provided mbed TLS library.
# Fix for lintian error "embedded-library usr/bin/bibledit: mbedtls":
# * Remove mbedtls from the list of sources to compile.
# * Add -lmbedtls and friends to the linker flags.
sed -i.bak '/mbedtls\//d' Makefile.am
if [ $? -ne 0 ]; then exit; fi
sed -i.bak 's/# debian//g' Makefile.am
if [ $? -ne 0 ]; then exit; fi
rm *.bak
#sed -i.bak '/mbedtls\//d' Makefile.am
#if [ $? -ne 0 ]; then exit; fi
#sed -i.bak 's/# debian//g' Makefile.am
#if [ $? -ne 0 ]; then exit; fi
#rm *.bak
# Also remove the embedded *.h files to be sure building does not reference them.
# There had been a case that building used the embedded *.h files,
# leading to segmentation faults.
# For cleanness, remove the whole mbedtls directory,
# so all traces of it are gone completely.
rm -rf mbedtls*
#rm -rf mbedtls*


echo Link with the system-provided utf8proc library.
Expand Down
12 changes: 6 additions & 6 deletions tarball-cloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,15 +154,15 @@ echo Link with the system-provided mbed TLS library.
# Fix for lintian error "embedded-library usr/bin/bibledit: mbedtls":
# * Remove mbedtls from the list of sources to compile.
# * Add -lmbedtls and friends to the linker flags.
sed -i.bak '/mbedtls\//d' Makefile.am
if [ $? -ne 0 ]; then exit; fi
sed -i.bak 's/# debian//g' Makefile.am
if [ $? -ne 0 ]; then exit; fi
rm *.bak
#sed -i.bak '/mbedtls\//d' Makefile.am
#if [ $? -ne 0 ]; then exit; fi
#sed -i.bak 's/# debian//g' Makefile.am
#if [ $? -ne 0 ]; then exit; fi
#rm *.bak
# Also remove the embedded *.h files to be sure building does not reference them.
# There had been a case that building used the embedded *.h files, leading to segmentation faults.
# For cleanness, remove the whole mbedtls directory, so all traces of it are gone completely.
rm -rf mbedtls*
#rm -rf mbedtls*


echo Link with the system-provided utf8proc library.
Expand Down

0 comments on commit 30161c2

Please sign in to comment.