File tree 3 files changed +23
-1
lines changed
3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,9 @@ do_standard_install
113
113
cd ..
114
114
rm -rf $SQLITE_AUTOCONF_VERSION *
115
115
116
+ # Install libcrypt.so.2
117
+ build_libxcrypt " $LIBXCRYPT_DOWNLOAD_URL " " $LIBXCRYPT_VERSION " " $LIBXCRYPT_HASH "
118
+
116
119
# Compile the latest Python releases.
117
120
# (In order to have a proper SSL module, Python is compiled
118
121
# against a recent openssl [see env vars above], which is linked
Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ SQLITE_AUTOCONF_VERSION=sqlite-autoconf-3270200
30
30
SQLITE_AUTOCONF_HASH=50c39e85ea28b5ecfdb3f9e860afe9ba606381e21836b2849efca6a0bfe6ef6e
31
31
SQLITE_AUTOCONF_DOWNLOAD_URL=https://www.sqlite.org/2019
32
32
33
+ LIBXCRYPT_VERSION=4.4.6
34
+ LIBXCRYPT_DOWNLOAD_URL=https://codeload.github.com/besser82/libxcrypt/tar.gz
35
+ LIBXCRYPT_HASH=4c33b80d3e1363c218ec6132bae0ea9eae181af9f9892939e90ec44b246ebe23
36
+
33
37
GIT_ROOT=2.21.0
34
38
GIT_HASH=7a601275abcc6ff51cc79a6d402e83c90ae37d743b0b8d073aa009dd4b22d432
35
39
GIT_DOWNLOAD_URL=https://github.com/git/git/archive
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ function build_curl {
200
200
201
201
202
202
function do_standard_install {
203
- ./configure > /dev/null
203
+ ./configure " $@ " > /dev/null
204
204
make > /dev/null
205
205
make install > /dev/null
206
206
}
@@ -246,3 +246,18 @@ function build_libtool {
246
246
(cd ${libtool_fname} && do_standard_install)
247
247
rm -rf ${libtool_fname} ${libtool_fname} .tar.gz
248
248
}
249
+
250
+ function build_libxcrypt {
251
+ curl -fsSLO " $LIBXCRYPT_DOWNLOAD_URL " /v" $LIBXCRYPT_VERSION "
252
+ check_sha256sum " v$LIBXCRYPT_VERSION " " $LIBXCRYPT_HASH "
253
+ tar xfz " v$LIBXCRYPT_VERSION "
254
+ (cd " libxcrypt-$LIBXCRYPT_VERSION " && ./bootstrap && \
255
+ do_standard_install \
256
+ --disable-obsolete-api \
257
+ --enable-hashes=all)
258
+
259
+ # Delete GLIBC version headers and libraries
260
+ rm -rf /usr/include/crypt.h
261
+ rm -rf /usr/lib/libcrypt.a /usr/lib/libcrypt.so
262
+ rm -rf /usr/lib64/libcrypt.a /usr/lib64/libcrypt.so
263
+ }
You can’t perform that action at this time.
0 commit comments