moved various scripts in scripts/ dir

add configure script wrappers
This commit is contained in:
Martin Willi 2006-10-18 11:40:53 +00:00
parent 85929956ae
commit 5ec0c594fb
5 changed files with 20 additions and 0 deletions

2
scripts/cfg-leak Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
CFLAGS="-Wall -Wno-format -Wno-pointer-sign -Wno-strict-aliasing -g -O2" ./configure --sysconfdir=/etc --with-random-device=/dev/urandom --enable-ldap --enable-http --enable-leak-detective

2
scripts/cfg-norm Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
CFLAGS="-Wall -Wno-format -Wno-pointer-sign -Wno-strict-aliasing -g -O2" ./configure --sysconfdir=/etc --with-random-device=/dev/urandom --enable-ldap --enable-http

13
scripts/kdevstart Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
#
# The kdevelop file parser gets confused by the
# macrofied aes code, which leads to infinite
# memory consumption. Use this dirty trick to
# get kdevelop running...
mv src/libstrongswan/crypto/crypters/aes_cbc_crypter.c libstrongswan_aes.c
mv src/libcrypto/libaes/aes.c libcrypto_aes.c
kdevelop3 &
sleep 20
mv libstrongswan_aes.c src/libstrongswan/crypto/crypters/aes_cbc_crypter.c
mv libcrypto_aes.c src/libcrypto/libaes/aes.c

3
scripts/linecount Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
find $1 -name '*.[ch]' | grep -v .svn | xargs cat | grep -v ^[[:space:]]*$ | wc -l