35 lines
973 B
Text
35 lines
973 B
Text
#
|
|
# $Id$
|
|
#
|
|
# The OpenSSL package contains management tools and libraries
|
|
# relating to cryptography. These are useful for providing
|
|
# cryptography functions to other packages, notably OpenSSH,
|
|
# email applications and web browsers (for accessing HTTPS sites).
|
|
#
|
|
|
|
PKG="openssl"
|
|
PKG_VERSION="0.9.8d"
|
|
PKG_FILE="openssl-${PKG_VERSION}.tar.gz"
|
|
URL="ftp://ftp.openssl.org/source/${PKG_FILE}"
|
|
MD5="8ed1853538e1d05a1f5ada61ebf8bffa"
|
|
for i in PATCH{1..10}; do
|
|
unset $i
|
|
done
|
|
PATCH1=" http://www.linuxfromscratch.org/patches/blfs/svn/openssl-0.9.8d-fix_manpages-1.patch"
|
|
|
|
( cat << "xEOFx"
|
|
|
|
sed -i -e 's/mcpu/march/' config
|
|
patch -Np1 -i ../openssl-0.9.8d-fix_manpages-1.patch &&
|
|
./config --openssldir=/etc/ssl --prefix=/usr shared &&
|
|
make MANDIR=/usr/share/man
|
|
|
|
make MANDIR=/usr/share/man install &&
|
|
cp -v -r certs /etc/ssl &&
|
|
install -v -d -m755 /usr/share/doc/openssl-0.9.8d &&
|
|
cp -v -r doc/{HOWTO,README,*.{txt,html,gif}} \
|
|
/usr/share/doc/openssl-0.9.8d
|
|
|
|
|
|
xEOFx
|
|
) > tmp
|