|
Unmaintained
This software is unmaintained. Free Software
|
"debian-builder" is a simple Perl script which is designed to rebuild a Debian package from it's source. Some distributions such as Gentoo are focussed upon building packages from source code to give speed benefits, but that is not the aim of this program. I've been experimenting with a version of GCC which is patched to include stack smashing (buffer overflow) protection. One common approach to this problem is to use a modified compiler which will perform some kind of safety checking in potentially vulnerable source code - this usually involves applying a patch to the GCC compiler. There are binaries of this patched compiler available on these webpages, and some excellent information on the SSP modifications themselves are available on the SSP homepage. After installing the SSP compiler I wished to automate the rebuilding of my system to take advantage of this protection, and debian-builder is the result. The script is written in perl and requires no special dependencies as such, however it does make some assumptions:
Usage is fairly straight-forward and obvious simply run "debian-builder foo" to rebuild package foo. If all goes well you will see some progress reports (more with --verbose) and a .deb file should eventually appear in /var/cache/debian-builder/deb. The script will take care of installing all the packages which are required to build the named package, and then removing anything it installed afterwards. Simply download the tarball and run 'make install'. If you wish to use the SSP protection you will need to download:
There is a rough guide to enabling SSP protection online.
To answer the single most common question, this software builds a single package only, not any of the dependencies. There is a demo script included to manage building dependencies - but it's imagined that this is best handled by some form of queuing demon. |
|
[ Sitemap | Contact Me ]
|