aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Someone commented that they were using Blowfish because "No particularlloyd2009-07-081-94/+93
| | | | | | | reason but it was used in the tutorial." - it should have occured to me to change this a while ago. Switch to Serpent instead of Blowfish, and also replace most uses of SHA-1 with SHA-256 since SHA-1 is pretty broke these days.
* Various small code cleanupslloyd2009-07-081-13/+14
|
* Use a single regexp combined with | instead of three distinct searcheslloyd2009-07-081-3/+3
|
* In configure.py, check against the gcc version and toggle -fpermissivelloyd2009-07-081-1/+29
| | | | if needed
* Also match GCC 4.4 for -fpermissive checkslloyd2009-07-081-1/+1
|
* Correct detection of GCC 2.95 for setting -fpermissive. This had beenlloyd2009-07-081-1/+1
| | | | | wrong for a while, which suggests perhaps that 2.95 has finally died out in the wild. Praise be.
* Some modules using asm were not marked with 'load_on asm_ok'; fixlloyd2009-07-073-3/+3
|
* Make default logging INFO rather than DEBUGlloyd2009-07-071-1/+1
|
* CPU-specific engines are now only loaded if something depends on them,lloyd2009-07-079-11/+9
| | | | | | | | | | | | and all CPU-specific implementations now depend on the appropriate engine module. The most common problem before with this was that the SSE2 module was built, but the sole SSE2 code (SHA-1) was not (for instance, on an i686). This would cause a compile warning about the unused request object. Preventing unused engines from being built will also (very slightly) speed up the lookup process on most system.
* Cosmetic makefile generation stufflloyd2009-07-071-31/+57
| | | | | | | | | | Detect Jython; autodetection via platform does not work here, so tell the user they have to use --os and --cpu to set the target. Other than that Jython 2.5 seems to handle things nicely. Detect invalid settings for --with-endian during option parsing. Wrap some long lines for readability.
* More logging in configure.pylloyd2009-07-071-15/+24
|
* Fix out of tree buildslloyd2009-07-071-21/+20
|
* Clean up submodel guessing, and use the longest-match-first trick.lloyd2009-07-071-21/+21
| | | | Use Python's logging module instead of print for autoconfig output.
* If guess_processor() fails and just reutrns the base proc (platform.machine()),lloyd2009-07-071-1/+1
| | | | | first run that through canon_processor() to make sure we get a valid arch and submodel pairing.
* Form pkg-config output filename from version #s in build_configlloyd2009-07-031-8/+16
|
* Use /usr/bin/env to get to python, as it lives in /usr/local on some machineslloyd2009-07-021-1/+1
|
* Fix a subtle bug in the /dev/*random reader. The maximum ms wait time waslloyd2009-07-021-2/+3
| | | | | | | | set to 1000 ms (scaling based on amount of data requested). At 1000 ms exactly, we would form a timeval of 0 seconds and 1000000 usecs (ie, 1 second). Linux was fine with this, but FreeBSD 7.0's select was returning EINVAL. Fix things to properly create the timeval so that everyone is happy.
* Handle the mach_abi_linking flagslloyd2009-07-021-1/+15
|
* Add a bit of status output. Guess msvc as cc for Windows boxenlloyd2009-07-021-2/+11
|
* Add some aliases for 586/686 to match against what platform produces on WinXPlloyd2009-07-021-0/+3
|
* Document new configure.pylloyd2009-07-021-1/+1
|
* configure.py seems close enough to functional to me that I'm going tolloyd2009-07-021-0/+4
| | | | | | officially deprecate the Perl configure, though it probably won't be removed until a development tree release since otherwise will break distro packaging scripts.
* Add --enable-asm/--disable-asmlloyd2009-07-021-7/+17
|
* propagate from branch 'net.randombit.botan' (head ↵lloyd2009-07-0210-11/+948
|\ | | | | | | | | | | db0cdfa10718d2065e52b6753d1d671b71cb423d) to branch 'net.randombit.botan.python-configure' (head f106b1e4c7361a0fee6856defb01a9f96a2fd4eb)
| * Minor hackery to deal with win32 library dependencieslloyd2009-07-025-8/+7
| |
| * Minimal changes to configure.pl to deal with altered templates in build.hlloyd2009-07-021-3/+24
| | | | | | | | for macro generation.
| * Respect --with-tr1=boost in build.h macroslloyd2009-07-021-4/+10
| |
| * Cosmetic cleanupslloyd2009-07-021-7/+14
| |
| * Handle modules adding files from other modules (used in some mp code)lloyd2009-07-021-2/+9
| |
| * Document that Python 2.5 is needed (for optparse's append_const)lloyd2009-07-021-17/+13
| | | | | | | | | | | | | | | | Enable use of symlinks/hardlinks if available. Enable printing exception tracebacks (will be good for field debugging) Rewrite portable_symlink:count_dirs in a functional style
| * Add --with-endian (used by Gentoo ebuild)lloyd2009-07-021-15/+25
| |
| * Add --with/--without openssl, gnump, zlib, bzip2lloyd2009-07-021-20/+34
| |
| * First pass at TR1 handlinglloyd2009-07-021-4/+20
| |
| * Add --enable/--disable-shared toggles. Add --makefile-stylelloyd2009-07-021-5/+26
| |
| * Use symlink, link, or copy, depending on what we find in os.__dict__lloyd2009-07-021-11/+15
| |
| * Macro defines are split up in the build.h template nowlloyd2009-07-021-1/+9
| |
| * Use symlink instead of copy for setting up include dir.lloyd2009-07-021-22/+50
| |
| * Only load mulop_amd64 on request (currently broken code)lloyd2009-07-021-1/+1
| |
| * Add dependencies for stream ciphers on streamlloyd2009-07-023-0/+12
| |
| * Do build setup. Handle out of tree builds (untested)lloyd2009-07-021-38/+65
| |
| * Handle deps properly. Add --enable-modules/--disable-moduleslloyd2009-07-021-48/+79
| |
| * Somewhat sensible automated module choice ala configure.pllloyd2009-07-021-7/+55
| |
| * Line wrap to 80 colums. Small Python 2.4 compat fix.lloyd2009-07-021-29/+45
| |
| * Better error handlinglloyd2009-07-021-28/+71
| |
| * Handle machine-specific optimization flags correctlylloyd2009-07-021-11/+35
| |
| * More makefile generation funlloyd2009-07-021-17/+39
| |
| * Much more of the makefile generation now workinglloyd2009-07-021-140/+240
| |
| * Make cpp macro generation a bit nicerlloyd2009-07-021-29/+35
| |
| * Use more portable APIs for getting username and hostname (for build.h)lloyd2009-07-021-18/+40
| | | | | | | | Add a class to centralize build config info
| * Handle the local config optionlloyd2009-07-011-1/+6
| |