remove obsolete scripts
This commit is contained in:
parent
e0069366c8
commit
25d6c5146b
|
@ -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
|
||||
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue