Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Manual local build instructions that work

...

This is instructions on how to make the debian directory in the SpamAssassin source match that from the Debian and Ubuntu packaging. This is used in the daily Ubuntu builds mentioned on DownloadFromSvn.

The Debian and Ubuntu packages of SpamAssassin have been identical lately. Consistency is nice. If the Ubuntu package version does not contain the string "ubuntu", then it's identical to Debian's.

...

If a build fails, follow the "buildlog" links. They generally give useful errors. The #launchpad channel on irc.freenode.net is often helpful.

Manually building locally

  1. Download trunk:

svn checkout http://svn.apache.org/repos/asf/spamassassin/trunk

cd trunk

  1. In the trunk directory, create a pkgrules directory containing the rules from the latest sa-update, something like:

sudo sa-update; mkdir pkgrules; cp /var/lib/spamassassin/3.003002/updates_spamassassin_org/* pkgrules/

  1. Create the .orig.tar.gz

tar -zcvf ../spamassassin_3.3.2.orig.tar.gz .

  1. In the trunk directory, run the build command:

debuild -us -uc -sa