Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #89 from dmalan/master
Browse files Browse the repository at this point in the history
upgrade libevent from 2.0.21 to 2.1.8
  • Loading branch information
nightwing authored Jan 23, 2019
2 parents 8ef6d7c + be3e611 commit 168e7c2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
9 changes: 4 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,9 @@ node(){
compile_tmux(){
cd "$C9_DIR"
echo ":Compiling libevent..."
tar xzf libevent-2.0.22-stable.tar.gz
rm libevent-2.0.22-stable.tar.gz
cd libevent-2.0.22-stable
tar xzf libevent-2.1.8-stable.tar.gz
rm libevent-2.1.8-stable.tar.gz
cd libevent-2.1.8-stable
echo ":Configuring Libevent"
./configure --disable-shared --prefix="$C9_DIR/local"
echo ":Compiling Libevent"
Expand Down Expand Up @@ -323,8 +323,7 @@ tmux_download(){
echo ":N.B: This will take a while. To speed this up install tmux 2.2 manually on your machine and restart this process."

echo ":Downloading Libevent..."
# DOWNLOAD https://raw.githubusercontent.com/c9/install/master/packages/tmux/libevent-2.0.21-stable.tar.gz
DOWNLOAD https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz libevent-2.0.22-stable.tar.gz
DOWNLOAD https://raw.githubusercontent.com/c9/install/master/packages/tmux/libevent-2.1.8-stable.tar.gz libevent-2.1.8-stable.tar.gz
echo ":Downloading Ncurses..."
DOWNLOAD https://github.com/c9/install/raw/master/packages/tmux/ncurses-6.0.tar.gz ncurses-6.0.tar.gz
echo ":Downloading Tmux..."
Expand Down
Binary file removed packages/tmux/libevent-1.4.14b-stable.tar.gz
Binary file not shown.
Binary file removed packages/tmux/libevent-2.0.21-stable.tar.gz
Binary file not shown.
Binary file added packages/tmux/libevent-2.1.8-stable.tar.gz
Binary file not shown.
8 changes: 4 additions & 4 deletions packages/tmux/tmux_local_static_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ esac

# download source files for tmux, libevent, and ncurses
wget -O tmux-1.6.tar.gz http://sourceforge.net/projects/tmux/files/tmux/tmux-1.6/tmux-1.6.tar.gz/download
wget https://github.com/downloads/libevent/libevent/libevent-2.0.19-stable.tar.gz
wget https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz
wget ftp://ftp.gnu.org/gnu/ncurses/ncurses-5.9.tar.gz

# extract files, configure, and compile

############
# libevent #
############
tar xvzf libevent-2.0.19-stable.tar.gz
cd libevent-2.0.19-stable
tar xvzf libevent-2.1.8-stable.tar.gz
cd libevent-2.1.8-stable
./configure --prefix=$BASE/local --disable-shared
make
make install
Expand Down Expand Up @@ -76,4 +76,4 @@ rm -rf $BASE/tmux_tmp
# package
tar -cvzf $DIR/tmux-$os-$arch.tar.gz $BASE/local

echo "$BASE/local/bin/tmux is now available. The package can be found at $DIR/tmux-$os-$arch.tar.gz"
echo "$BASE/local/bin/tmux is now available. The package can be found at $DIR/tmux-$os-$arch.tar.gz"

0 comments on commit 168e7c2

Please sign in to comment.