diff options
author | Andrew Bartlett <abartlet@samba.org> | 2020-06-03 16:16:49 +1200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2020-06-12 22:11:43 +0000 |
commit | ad7639a12796e269c130ead21dc2299ae640c586 (patch) | |
tree | 6102a7fb377e6b36b6932a29c6fd58387b35a699 | |
parent | 5ad6dcf2ec0fa9752eb912a994503deaf8686423 (diff) | |
download | samba-ad7639a12796e269c130ead21dc2299ae640c586.tar.gz |
Remove outdated install_with_python.sh
This was a cludge to help get past the need for Python on
the Samba build farm in particular. We now need Python3
by default so clearly this has not been used in quite some
time so is safe to remove.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
-rwxr-xr-x | install_with_python.sh | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/install_with_python.sh b/install_with_python.sh deleted file mode 100755 index 9335cfe2be8..00000000000 --- a/install_with_python.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh - -# this script installs a private copy of python in the same prefix as Samba - -if [ $# -lt 1 ]; then -cat <<EOF -Usage: install_with_python.sh PREFIX [CONFIGURE OPTIONS] -EOF -exit 1; -fi - -PREFIX="$1" -shift - -LD_LIBRARY_PATH=$PREFIX/python/lib:$LD_LIBRARY_PATH -export LD_LIBRARY_PATH - -VERSION="Python-2.6.5" - -do_install_python() { - set -e - mkdir -p python_install - rsync -avz samba.org::ftp/tridge/python/$VERSION.tar python_install - cd python_install - rm -rf $VERSION - - # Verify that the download hasn't been corrupted - # This checks Python-2.6.5, while more hashes my be added later. - if command -v sha256sum - then - echo "2f1ec5e52d122bf1864529c1bbac7fe6afc10e3a083217b3a7bff5ded37efcc3 Python-2.6.5.tar" > checksums.sha256 - sha256sum --status -c checksums.sha256 - else - echo "c83cf77f32463c3949b85c94f661c090 Python-2.6.5.tar" > checksums.md5 - md5sum --status -c checksums.md5 - fi - - tar -xf $VERSION.tar - cd $VERSION - ./configure --prefix=$PREFIX/python --enable-shared --disable-ipv6 - make - make install - cd ../.. - rm -rf python_install -} - -cleanup_install_python() { - rm -rf python_install - exit 1 -} - -if [ ! -d $PREFIX/python ]; then - trap "cleanup_install_python" 0 - # needs to be installed - do_install_python -fi - -PYTHON=$PREFIX/python/bin/python -export PYTHON - -`dirname $0`/configure --prefix=$PREFIX $@ || exit 1 -make -j || exit 1 -make install || exit 1 |