Skip to content

Commit

Permalink
use wily to build, use a forked/patched version, and aggressively bum…
Browse files Browse the repository at this point in the history
…p version so it won't get upgraded over (it's like pinning except for lazier folks)
  • Loading branch information
stranger committed Nov 17, 2015
1 parent 02e0f2a commit 8249707
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ or

# Docker-fancy

cat build-in-docker.bash | sudo docker run -i -v $(readlink -f ./mosh-deb):/opt ubuntu:15.04 bash -x
cat build-in-docker.bash | sudo docker run -i -v $(readlink -f ./mosh-deb):/opt ubuntu:15.10 bash -x

or using 14.04 (LTS)

Expand Down
4 changes: 2 additions & 2 deletions build-in-docker.bash
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ apt-get install -y --no-install-recommends \
wget unzip build-essential devscripts dh-autoreconf bash-completion \
protobuf-compiler libprotobuf-dev pkg-config libutempter-dev zlib1g-dev libncurses5-dev libssl-dev

BALL=https://github.com/rinne/mosh/archive/ssh-agent-forwarding-ng.zip
BALL=https://github.com/PAStheLoD/mosh-src/archive/ssh-agent-forwarding-ng.zip
wget --no-check-certificate $BALL -O ball.zip && \

D=$(unzip -l ball.zip | grep -Po '(?: 0\s*[0-9: -]+\s*)\K[a-z0-9_-]+/$')
unzip ball.zip && cd $D


dch --nmu "added agent forwarding patch"
dch -v 1.9.99 "added agent forwarding patch"

if [[ $(g++ --version | grep 4.9 | wc -l ) = 1 ]] ; then
apt-get install -y g++-4.8
Expand Down

0 comments on commit 8249707

Please sign in to comment.