User Tools

Site Tools


public:techstuff:packaging:transmission

This is an old revision of the document!


Transmission

Dependencies

libevent

  • Use this command to list the package for each version of debian.
rmadison libevent
  • At the moment libevent from backports is a new enough version so we'll just grab that.
apt-get download libevent-2.0.5=2.0.16-stable-1~bpo60+1
  • move the file into the repo.
mv libevent-2.0-5_2.0.16-stable-1~bpo60+1_amd64.deb /scratch/pbuilder/
  • Update the repo.
cd /scratch/pbuilder/repo/
apt-ftparchive packages . > Packages
  • Note the package name and version from the Packages file.
less Packages
  • In our case libevent-2.0-5=2.0.16-stable-1~bpo60+1

Build deb

  • First check the available versions.
rmadison transmission
  • To make life easier we'll grab the squeeze package and update it rather than backport a sid package.
apt-get source transmission=2.03-2
  • Update the sources. This uses the debian/watch file to update the sources.
uscan --verbose
  • Jump into the directory and add a changelog entry for the update.
cd transmission-<version>
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 transmission_<version>.dsc

Troubleshooting

  • You may need to
public/techstuff/packaging/transmission.1356777150.txt.gz · Last modified: 2020/04/25 13:05 (external edit)