I've changed the commands a little bit from http://mosquitto.org/2012/11/making-mosquitto-packages-for-debian-yourself/ 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 http://ftp.au.debian.org/debian stable maindeb http://ftp.au.debian.org/debian testing main
and edit /etc/apt/preferences
Package: *Pin: release a=stablePin-Priority: 990Package: *Pin: release a=testingPin-Priority: 800
Followed by
sudo apt-get updatesudo apt-get install build-essential python quilt libwrap0-dev libssl-dev devscripts python-setuptoolssudo apt-get install libssl-dev=1.0.1c-4 python3
Then
mkdir ~/tmpcd ~/tmpwget http://mosquitto.org/files/source/mosquitto-1.0.5.tar.gz -O mosquitto_1.0.5.orig.tar.gztar xvf mosquitto-1.0.5.orig.tar.gzcd mosquitto-1.0.5/wget http://mentors.debian.net/debian/pool/main/m/mosquitto/mosquitto_1.0.5-1.debian.tar.gztar xvf mosquitto_1.0.5-1.debian.tar.gzdebuild -us -ucsudo dpgk -i ../*mosquitto*.deb
and you'll find the .debs in the parent folder.
Hiç yorum yok:
Yorum Gönder