blob: 2348db874e716548d9e74febe768203d86a98784 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#!/bin/sh
cwd=`pwd`
/bin/rm -fr tmp/*
cd crypto/des
make -f Makefile.uni tar
make -f Makefile.uni tar_lit
/bin/mv libdes.tgz $cwd/tmp
/bin/mv libdes-l.tgz $cwd/tmp
cd $cwd
for name in md5 sha cast bf idea rc4 rc2
do
echo doing $name
(cd crypto; tar cfh - $name)|(cd tmp; tar xf -)
cd tmp/$name
/bin/rm -f Makefile
/bin/rm -f Makefile.ssl
/bin/rm -f Makefile.ssl.orig
/bin/rm -f *.old
/bin/mv Makefile.uni Makefile
cp $cwd/util/ranlib.sh .
chmod +x ranlib.sh
if [ -d asm ]; then
mkdir asm/perlasm
cp $cwd/crypto/perlasm/*.pl asm/perlasm
fi
cd ..
tar cf - $name|gzip >$name.tgz
# /bin/rm -fr $name
cd $cwd
done
|