Skip to content

Creating a source package

andresriancho edited this page Feb 15, 2013 · 6 revisions

Generic source package

There are many linux distributions and we can't have packages for all of them, that's why the easiest way for us to distribute a w3af build is in "source code form". This will build a bz2 which holds all w3af's source code:

# Get the package generator
git clone [email protected]:andresriancho/w3af-packages.git
cd w3af-packages/generic/

# Generate the package
# python create_bz2.py <w3af-source-path> <version>
python create_bz2.py /home/user/workspace/w3af/ 1.5

This command will guide you through all the required steps required to have a "w3af-.tar.bz2" in the current directory.

The steps which are automated by this script are:

  • Create the release branch
  • Set release version
  • Update the CHANGELOG file
  • Create the source code documentation using Sphinx
  • Create distributable package
  • Unittest the package
  • Upload the files to w3af.org
  • Run final git flow commands

If in doubt, you can read the script source code or also read the common build steps in the Shipping a new release document.

After running this script please remember to follow these manual steps:

  • Update the downloads page in w3af.org
  • Community tasks related to a release