-
Notifications
You must be signed in to change notification settings - Fork 14
Packaging
grwl edited this page Jun 5, 2012
·
13 revisions
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.
- http://docs.python.org/distutils/setupscript.html
- http://www.debian.org/doc/manuals/maint-guide/dreq.en.html
To create .deb package python-stdeb and debhelper packages needs to be installed. Changelog can be maintained by dch tool from devscripts package.
- If software version changes, update setup.py
- To update changelog run 'dch -v SWVER-DEBVER'. Note that automatically generated author email address is likely to be wrong.
- Run bin/mk-deb.sh script. It will do the following:
- build the package (the resulting python-sslcaudit_*.deb file will be stored in the parent directory)
- install it locally
- list the files installed by the package
- run the selftest
- uninstall the package
- display the path to the freshly built .deb file