remove obsolete scripts
authorMartin Willi <martin@strongswan.org>
Wed, 10 Jun 2009 16:31:15 +0000 (18:31 +0200)
committerMartin Willi <martin@strongswan.org>
Wed, 10 Jun 2009 16:31:15 +0000 (18:31 +0200)
scripts/ChangeLog.update [deleted file]
scripts/addr2strongline [deleted file]
scripts/cfg-leak [deleted file]
scripts/cfg-nodebug [deleted file]
scripts/cfg-norm [deleted file]
scripts/kdevstart [deleted file]
scripts/merge [deleted file]
scripts/sedder [deleted file]

diff --git a/scripts/ChangeLog.update b/scripts/ChangeLog.update
deleted file mode 100755 (executable)
index c847f04..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-current=`svn info | grep Revision | sed -e "s:Revision\: ::"`
-last=`svn propget release-revision .`
-
-echo " strongswan-4.x.x / R:$current " > ChangeLog.tmp
-echo "===========================" >> ChangeLog.tmp
-echo "" >> ChangeLog.tmp
-
-svn log -r $current:$last | grep -v "| martin |" | grep -v "| andreas | " | grep -v ^$ | grep -v ^------ >> ChangeLog.tmp
-
-echo "" >> ChangeLog.tmp
-echo "" >> ChangeLog.tmp
-
-cat ChangeLog >> ChangeLog.tmp
-cat ChangeLog.tmp > ChangeLog
-
-rm ChangeLog.tmp
-
-echo "updated ChangeLog from R:$last to R:$current"
-
-svn propset release-revision "$current" . > /dev/null
-
diff --git a/scripts/addr2strongline b/scripts/addr2strongline
deleted file mode 100755 (executable)
index 695ddd4..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-#
-# Wrapper to addr2line.
-#
-# $0 gets a code line for a shared library. It checks where the
-# library is linked to the binary and subtracts that from
-# supplied list of addresses in the binary.
-#
-# This requires stack randomization to be disabled.
-
-LIBNAME=libstrongswan
-
-if [ ! -e $1 ];
-then
-       echo "Error: file $1 not found"
-       exit 1
-fi
-
-if [ `cat /proc/sys/kernel/randomize_va_space` != 0 ];
-then
-       echo "Error: stack randomization enabled: use echo 0 > /proc/sys/kernel/randomize_va_space"
-       exit 1
-fi
-
-LINK=`ldd $1 | grep $LIBNAME | awk '{print toupper($4) }' | sed -e "s/0X//g"`
-LIB=`ldd $1 | grep $LIBNAME | awk '{print $3 }'`
-
-until [ -z "$2" ]
-do
-  shift
-  LEAK=`echo "$1" | sed -e "s/0x//g" | awk '{print toupper($1)}'`
-  RES=`echo "ibase=16; obase=10; $LEAK - $LINK;" | bc | sed -e "s/ //g" | awk '{print tolower($1) }'`
-  RES="0x$RES"
-  addr2line -e $LIB $RES
-done
diff --git a/scripts/cfg-leak b/scripts/cfg-leak
deleted file mode 100755 (executable)
index 8ccf1d6..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-CFLAGS="-Wall -Wno-format -Wno-pointer-sign -Wno-strict-aliasing -g -O2" ./configure \
---sysconfdir=/etc --disable-tools --disable-pluto --enable-leak-detective --enable-dumm --with-capabilities=libcap \
-$1 $2 $3 $4 $5
diff --git a/scripts/cfg-nodebug b/scripts/cfg-nodebug
deleted file mode 100755 (executable)
index 319f512..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-CFLAGS="-Wall -Wno-format -Wno-pointer-sign -Wno-strict-aliasing -O2 -DDEBUG_LEVEL=0" ./configure \
---sysconfdir=/etc --with-random-device=/dev/urandom --enable-ldap --enable-http
diff --git a/scripts/cfg-norm b/scripts/cfg-norm
deleted file mode 100755 (executable)
index 54faf73..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/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
diff --git a/scripts/kdevstart b/scripts/kdevstart
deleted file mode 100755 (executable)
index b25d9b5..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/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 strongSwan.kdevelop &
-sleep 20
-mv libstrongswan_aes.c src/libstrongswan/crypto/crypters/aes_cbc_crypter.c 
-mv libcrypto_aes.c src/libcrypto/libaes/aes.c 
diff --git a/scripts/merge b/scripts/merge
deleted file mode 100755 (executable)
index 1f11289..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-
-REPO="svn+ssh://svn.strongswan.org/strongswan"
-PORT=`svn propget trunk-rev-backport`
-HEAD=`svn info $REPO | grep Revision: | awk '{ print $2 }'`
-
-
-if [ "$1" == "diff" ]
-then
-       echo "showing diff I would merge from trunk revisions $PORT:$HEAD"
-       svn diff $REPO/trunk -r $PORT:$HEAD
-elif [ "$1" == "dry" ]
-then
-       echo "showing files I would merge from trunk revisions $PORT:$HEAD"
-       svn merge $REPO/trunk -r $PORT:$HEAD --dry-run
-elif [ "$1" == "run" ]
-then
-       echo "merging files from trunk revisions $PORT:$HEAD to branch"
-       svn merge $REPO/trunk -r $PORT:$HEAD && svn propset trunk-rev-backport $HEAD .
-else
-       echo "Usage: $0 diff|dry|run"
-fi
diff --git a/scripts/sedder b/scripts/sedder
deleted file mode 100755 (executable)
index dc0ad31..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-files=`find -name '*.[ch]'`
-
-for file in $files
-do
-       sed -e $1 $file > $file.sedtmp
-       mv $file.sedtmp $file
-done
-
-
-
-