Showing posts with label mosquitto. Show all posts
Showing posts with label mosquitto. Show all posts

23 December 2012

301. Building Mosquitto 1.0.5 on debian stable

Here's what I did in a chrooted Stable while writing up a reply for this post:

I've changed the commands a little bit from to be more faithful to my own style. Edit your /etc/apt/sources.list so that it has both stable and testing e.g.

deb stable main
deb testing main

and edit /etc/apt/preferences
Package: *
Pin: release a=stable
Pin-Priority: 990

Package: *
Pin: release a=testing
Pin-Priority: 800

Followed by

sudo apt-get update
sudo apt-get install build-essential python quilt libwrap0-dev libssl-dev devscripts python-setuptools
sudo apt-get install libssl-dev=1.0.1c-4 python3


mkdir ~/tmp
cd ~/tmp
wget -O mosquitto_1.0.5.orig.tar.gz
tar xvf mosquitto-1.0.5.orig.tar.gz
cd mosquitto-1.0.5/
tar xvf mosquitto_1.0.5-1.debian.tar.gz
debuild -us -uc
sudo dpgk -i ../*mosquitto*.deb

and you'll find the .debs in the parent folder.

Links to this page: