CONFIGURE_ARGS="\
linux-generic32 \
no-idea no-cast no-seed no-md2 no-sha0 no-whrlpool \
-DL_ENDIAN \
"

# unneeded directories
UNNEEDED_SOURCES="\
MacOS \
Netware \
VMS \
apps/demoCA \
apps/set \
bugs \
certs \
crypto/camellia \
crypto/cast \
crypto/cms \
crypto/idea \
crypto/md2 \
crypto/rc5 \
crypto/seed \
crypto/whrlpool \
demos \
doc \
engines \
ms \
os2 \
perl \
shlib \
test \
times \
tools \
util \
"

# unneeded files
UNNEEDED_SOURCES+="\
CHANGES \
CHANGES.SSLeay \
Configure \
FAQ \
INSTALL \
INSTALL.DJGPP \
INSTALL.MacOS \
INSTALL.NW \
INSTALL.OS2 \
INSTALL.VMS \
INSTALL.W32 \
INSTALL.W64 \
INSTALL.WCE \
LICENSE \
Makefile \
Makefile.org \
Makefile.shared \
NEWS \
PROBLEMS \
README \
README.ASN1 \
README.ENGINE \
apps/Makefile \
apps/ts.c \
apps/tsget \
config \
crypto/Makefile \
crypto/aes/Makefile \
crypto/asn1/Makefile \
crypto/bf/INSTALL \
crypto/bf/Makefile \
crypto/bf/README \
crypto/bf/VERSION \
crypto/bf/asm/readme \
crypto/bf/bf_cbc.c \
crypto/bf/bf_opts.c \
crypto/bf/bfs.cpp \
crypto/bf/bfspeed.c \
crypto/bf/bftest.c \
crypto/bio/Makefile \
crypto/bn/Makefile \
crypto/buffer/Makefile \
crypto/comp/Makefile \
crypto/conf/Makefile \
crypto/des/Makefile \
crypto/dh/Makefile \
crypto/dh/dh_prn.c \
crypto/dsa/Makefile \
crypto/dso/Makefile \
crypto/dso/dso_beos.c \
crypto/ec/Makefile \
crypto/ecdh/Makefile \
crypto/ecdsa/Makefile \
crypto/engine/Makefile \
crypto/engine/tb_asnmth.c \
crypto/engine/tb_pkmeth.c \
crypto/err/Makefile \
crypto/evp/Makefile \
crypto/evp/m_md2.c \
crypto/evp/m_sha.c \
crypto/hmac/Makefile \
crypto/jpake/Makefile \
crypto/krb5/Makefile \
crypto/lhash/Makefile \
crypto/md4/Makefile \
crypto/md5/Makefile \
crypto/mdc2/Makefile \
crypto/modes/Makefile \
crypto/modes/cts128.c \
crypto/modes/modes.h \
crypto/objects/Makefile \
crypto/ocsp/Makefile \
crypto/pem/Makefile \
crypto/pkcs12/Makefile \
crypto/pkcs7/Makefile \
crypto/pkcs7/bio_pk7.c \
crypto/pqueue/Makefile \
crypto/rand/Makefile \
crypto/rc2/Makefile \
crypto/rc4/Makefile \
crypto/ripemd/Makefile \
crypto/rsa/Makefile \
crypto/sha/Makefile \
crypto/sha/sha_one.c \
crypto/stack/Makefile \
crypto/store/Makefile \
crypto/ts/Makefile \
crypto/ts/ts.h \
crypto/ts/ts_asn1.c \
crypto/ts/ts_conf.c \
crypto/ts/ts_lib.c \
crypto/ts/ts_req_print.c \
crypto/ts/ts_req_utils.c \
crypto/ts/ts_rsp_print.c \
crypto/ts/ts_rsp_sign.c \
crypto/ts/ts_rsp_utils.c \
crypto/ts/ts_rsp_verify.c \
crypto/ts/ts_verify_ctx.c \
crypto/txt_db/Makefile \
crypto/ui/Makefile \
crypto/x509/Makefile \
crypto/x509v3/Makefile \
include/openssl/camellia.h \
include/openssl/cast.h \
include/openssl/cms.h \
include/openssl/idea.h \
include/openssl/mdc2.h \
include/openssl/seed.h \
include/openssl/whrlpool.h \
install.com \
makevms.com \
openssl.doxy \
openssl.spec \
" 

NEEDED_SOURCES="\
apps \
crypto \
e_os.h \
e_os2.h \
ssl \
include \
"

OPENSSL_PATCHES="\
progs.patch \
small_records.patch \
handshake_cutthrough.patch \
jsse.patch \
secadv_20101116-2.patch \
"

OPENSSL_PATCHES_progs_SOURCES="\
apps/openssl.c \
apps/progs.h \
apps/speed.c \
crypto/ui/ui_openssl.c \
"

OPENSSL_PATCHES_handshake_cutthrough_SOURCES="\
apps/s_client.c \
ssl/s3_clnt.c \
ssl/s3_lib.c \
ssl/ssl.h \
ssl/ssl3.h \
ssl/ssl_lib.c \
ssl/ssltest.c \
test/testssl \
"

OPENSSL_PATCHES_small_records_SOURCES="\
ssl/d1_pkt.c \
ssl/s23_srvr.c \
ssl/s3_both.c \
ssl/s3_pkt.c \
ssl/ssl.h \
ssl/ssl3.h \
ssl/ssltest.c \
test/testssl \
"

OPENSSL_PATCHES_jsse_SOURCES="\
ssl/ssl.h \
ssl/d1_clnt.c \
ssl/s23_clnt.c \
ssl/s3_both.c \
ssl/s3_clnt.c \
ssl/s3_srvr.c \
ssl/ssl_err.c \
ssl/ssl_lib.c \
ssl/ssl_locl.h
ssl/ssl_rsa.c \
ssl/ssl_sess.c \
"

OPENSSL_PATCHES_secadv_20101116_2_SOURCES="\
ssl/t1_lib.c \
"
