Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • 7141062
  • /
  • util
  • /
  • sep_lib.sh
Raw File
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:34c2c9f8ba9a2b537f5ea887b84b6f75026b669f
directory badge Iframe embedding
swh:1:dir:879406117d8294f0e7d269dda438c087ec823660
sep_lib.sh
#!/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

	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


ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top