2010-08-04 16:38:46 +00:00
|
|
|
#! /bin/bash
|
|
|
|
|
2017-10-02 17:25:41 +00:00
|
|
|
name=Botan-1.10.17
|
2016-02-08 17:40:49 +00:00
|
|
|
src=${name}.tgz
|
|
|
|
dst=${name}.stripped.tar.gz
|
2010-08-04 16:38:46 +00:00
|
|
|
|
2016-02-08 17:40:49 +00:00
|
|
|
rm -f ${dst} ${dst%.gz}
|
|
|
|
cp -av ${src} ${dst}
|
2010-08-04 16:38:46 +00:00
|
|
|
|
2016-02-08 17:40:49 +00:00
|
|
|
gzip -d ${dst}
|
2010-08-04 16:38:46 +00:00
|
|
|
|
2016-02-08 17:40:49 +00:00
|
|
|
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}
|
2010-08-04 16:38:46 +00:00
|
|
|
|