Taciturn

All entries (archive)

Wed 6 Jun 2007

To make a Buildbot package that will run on Debian Sarge, you will need the build-essential package from sarge and debhelper >= 5.0 from backports.org. Then download and unpack the source:

wget \
 http://ftp.debian.org/pool/main/b/buildbot/buildbot_0.7.5.orig.tar.gz \
 http://ftp.debian.org/pool/main/b/buildbot/buildbot_0.7.5-1.1.dsc \
 http://ftp.debian.org/pool/main/b/buildbot/buildbot_0.7.5-1.1.diff.gz
dpkg-source -x buildbot_0.7.5-1.1.dsc
cd buildbot-0.7.5

Patch the control file, either using my patch or make the changes manually:

From the Build-Depends line, remove python-central and remove the version specifiers from python and python twisted. It should look something like Build-Depends: debhelper (>= 5.0.37.1), python, python-twisted, texinfo. From the Depends line, remove all the python-twisted-* entries and replace them with python-twisted. It should end up looking like Depends: ${python:Depends}, ${misc:Depends}, python-twisted, adduser. Also remove the XS-Python and XB-Python lines, otherwise dh_python won't do its thing.

Patch the rules file. Simply replace dh_pycentral with dh_python.

Finally, build and install the package using whatever method you prefer; fakeroot debian/rules binary or debuild -uc -us, then dpkg -i ../buildbot_0.7.5-1.1_all.deb.

Comments

There are no comments on this entry.

Post comment


Also available in RSS.