Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(thrift): update thrift version to 0.11.0 #22

Merged
merged 1 commit into from Jan 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion download-packages.sh
Expand Up @@ -33,7 +33,7 @@ http://downloads.sourceforge.net/project/lportal/Liferay%20Portal/6.2.4%20GA5/li
http://downloads.sourceforge.net/project/lportal/Liferay%20Portal/6.2.4%20GA5/liferay-portal-src-6.2-ce-ga5-20151118111117117.zip liferay-portal-src.zip
https://github.com/rnewson/couchdb-lucene/archive/v1.0.2.tar.gz ./couchdb-lucene.tar.gz
https://jdbc.postgresql.org/download/postgresql-42.2.1.jar postgresql.jar
https://dist.apache.org/repos/dist/release/thrift/0.9.3/thrift-0.9.3.tar.gz'
https://dist.apache.org/repos/dist/release/thrift/0.11.0/thrift-0.11.0.tar.gz'

# -----------------------------------------------------------------------------
# Functions
Expand Down
16 changes: 8 additions & 8 deletions shared/scripts/install-thrift.sh
@@ -1,37 +1,37 @@
#!/bin/bash

# -----------------------------------------------------------------------------
# Copyright Siemens AG, 2013-2015. Part of the SW360 Portal Project.
# Copyright Siemens AG, 2013-2019. Part of the SW360 Portal Project.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
#
# script automatically generating keys for password-free login onto
# script automatically generating keys for password-free login onto
# the vagrantbox
#
#
# initial author: birgit.heydenreich@tngtech.com
#
#
# -----------------------------------------------------------------------------

set -e
echo "-[shell provisioning] Installing dependencies of thrift"
apt-get update
apt-get install -y libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev
apt-get install -y libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev


echo "-[shell provisioning] Extracting thrift"
tar -xzf /vagrant_shared/packages/thrift-0.9.3.tar.gz -C /tmp/
tar -xzf /vagrant_shared/packages/thrift-0.11.0.tar.gz -C /tmp/

pushd /tmp/thrift-0.9.3/ &>/dev/null
pushd /tmp/thrift-0.11.0/ &>/dev/null


echo "-[shell provisioning] Building and installing thrift"
./configure --without-test --without-erlang --without-python --without-cpp --without-java --without-php
make
make
make install
rm -rf /tmp/thrift-0.9.3/
rm -rf /tmp/thrift-0.11.0/

popd &>/dev/null