Versions Compared

Key

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

...

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