====== inspircd ======
We want the latest inspircd2.0 branch for debian stable. Stable only has 1.1.22. Instead we'll grab 2.0 from testing, update it to the latest release, and backport it to stable.
apt-get update
apt-get --target-release testing source inspircd
* Change into the source directory created by apt
* Lock the debian watch file (debian/watch) down to the latest release as show below.
http://inspircd.github.com/downloads/ https://github.com/inspircd/inspircd/archive/v(2\.0\..+).tar.gz
* Use uscan to update the source
uscan --verbose
* Next run uupdate on the new source tarball
cd inspircd-2.0.5
uupdate ../inspircd_2.0.10.orig.tar.gz
* Change to the new source and remove any patches [these should be upstream by now]
cd ../inspircd-2.0.10
rm debian/patch/*.diff
vim debian/patch/series
* Now is a good time to add any extra modules you want to include. In my case I add chatlog.
* Write a changelog entry for our update
dch -e
* Build the dsc file so we can use pbuilder
debuild -i -us -uc -S
* Jump back up a directory and get pbuilder to build the deb.
cd ..
pbuilder-dist squeeze build inspircd_.dsc