User Tools

Site Tools


public:techstuff:packaging:inspircd

This is an old revision of the document!


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.

Pre-requisites

  • A fully set up install of pbuilder for debian stable
  • These packages: devscripts build-essential wget fakeroot
  • stable and testing in your sources.list file. To avoid complications we will also make apt prefer testing packages. Edit your /etc/apt/preferences as show below.
Explanation: see http://www.argon.org/~roderick/apt-pinning.html                      
Package: *                                                                      
Pin: release o=Debian,a=testing                                                 
Pin-Priority: 900                                                               
                                                                                
Package: *                                                                      
Pin: release o=Debian,a=unstable                                                
Pin-Priority: 300                                                               
                                                                                
Package: *                                                                      
Pin: release o=Debian                                                           
Pin-Priority: -1                                                                
  • To do the package building correctly you will also want to export these variables from your .bashrc
export DEBFULLNAME='Some Guy'
export DEBEMAIL='some.guy@gmail.com'

Building the package

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 2.0 release as show below.
https://github.com/inspircd/inspircd/downloads /downloads/inspircd/inspircd/InspIRCd-(2\.0\..+)\.tar\.bz2
  • Use uscan to update the source
uscan --verbose
  • Next run uupdate on the new source tarball
uupdate ../inspircd_2.0.9.orig.tar.bz2
  • Write a changelog entry for our update
cd ../inspircd-2.0.9
dch -e
public/techstuff/packaging/inspircd.1351089633.txt.gz · Last modified: 2020/04/25 13:05 (external edit)