botan/repack.sh
Thomas Moschny 26ada87302 Update to 1.10.17.
Remove obsolete patches.
2017-10-02 19:25:41 +02:00

21 lines
311 B
Bash
Executable File

#! /bin/bash
name=Botan-1.10.17
src=${name}.tgz
dst=${name}.stripped.tar.gz
rm -f ${dst} ${dst%.gz}
cp -av ${src} ${dst}
gzip -d ${dst}
tar --delete --file=${dst%.gz} \
${name}/src/block/rc6 \
${name}/src/block/rc5 \
${name}/src/pubkey/gost_3410
touch -m -r ${src} ${dst%.gz}
gzip ${dst%.gz}