Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- openssl build file from <tkil> (#openssl on freenode)
- Note how he uses perl to add /crypto/include to all the compiles in Makefile
- # ======================================================================
- # openssl
- bf=$done/openssl
- if [ ! -e $bf ]
- then
- v=1.0.1e
- cd ~/Source
- rm -rf openssl-$v openssl-build
- tar xf /opt/cross/downloads/openssl-$v.tar.gz
- cp -r -l openssl-$v openssl-build
- cd openssl-build
- ./config --prefix=/opt/crypto -d \
- threads zlib shared \
- no-idea no-mdc2 no-rc5 \
- -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS
- # sigh...
- perl -i~ -plwe 's!^(CFLAG=.*$)!$1 -DPURIFY -I /opt/crypto/include!' Makefile
- make depend
- make
- make install
- touch $bf
- fi
Advertisement
Add Comment
Please, Sign In to add comment