Skip to content
grwl edited this page Jun 5, 2012 · 13 revisions

internals

Sslcaudit installer is based on distutils. The main configuration file is setup.py. Debian package config files are generated with bin/debianize.sh script (if invoked will overwrite changelog and other useful customizations).

Sslcaudit currently has only one dependency: m2crypto. It is recorded in setup.py and debian/control files.

creating a package

To create .deb package python-stdeb and debhelper packages needs to be installed. Changelog can be maintained by dch tool from devscripts package.

  1. If software version changes, update setup.py
  2. To update changelog run 'dch -v SWVER-DEBVER'. Note that automatically generated author email address is likely to be wrong.
  3. Run bin/mk-deb.sh script. It will do the following:
  4. build the package (the resulting python-sslcaudit_*.deb file will be stored in the parent directory)
  5. install it locally
  6. list the files installed by the package
  7. run the selftest
  8. uninstall the package
  9. display the path to the freshly built .deb file

Clone this wiki locally