1 --- openssl-0.9.7b.orig/apps/der_chop
2 +++ openssl-0.9.7b/apps/der_chop
7 # der_chop ... this is one total hack that Eric is really not proud of
8 # so don't look at it and don't ask for support
9 --- openssl-0.9.7b.orig/apps/Makefile.ssl
10 +++ openssl-0.9.7b/apps/Makefile.ssl
18 INCLUDES= -I$(TOP) -I../include $(KRB5_INCLUDES)
22 GENERAL=Makefile makeapps.com install.com
25 +#DLIBCRYPTO=../crypto/.libs/libcrypto.a
26 DLIBCRYPTO=../libcrypto.a
27 +#DLIBSSL=../ssl/.libs/libssl.a
29 +#LIBCRYPTO=-L$(TOP)/crypto/.libs -lcrypto
30 LIBCRYPTO=-L.. -lcrypto
31 +#LIBSSL=-L$(TOP)/ssl/.libs -lssl
37 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff $(EXE)
43 (cd ..; $(MAKE) DIRS=ssl all)
44 --- openssl-0.9.7b.orig/apps/progs.h
45 +++ openssl-0.9.7b/apps/progs.h
47 extern int spkac_main(int argc,char *argv[]);
48 extern int smime_main(int argc,char *argv[]);
49 extern int rand_main(int argc,char *argv[]);
50 -#ifndef OPENSSL_NO_ENGINE
51 extern int engine_main(int argc,char *argv[]);
53 extern int ocsp_main(int argc,char *argv[]);
55 #define FUNC_TYPE_GENERAL 1
57 #if !defined(OPENSSL_NO_SOCK) && !(defined(OPENSSL_NO_SSL2) && defined(OPENSSL_NO_SSL3))
58 {FUNC_TYPE_GENERAL,"s_client",s_client_main},
60 -#ifndef OPENSSL_NO_SPEED
61 {FUNC_TYPE_GENERAL,"speed",speed_main},
63 #if !defined(OPENSSL_NO_SOCK) && !(defined(OPENSSL_NO_SSL2) && defined(OPENSSL_NO_SSL3))
64 {FUNC_TYPE_GENERAL,"s_time",s_time_main},
67 {FUNC_TYPE_GENERAL,"spkac",spkac_main},
68 {FUNC_TYPE_GENERAL,"smime",smime_main},
69 {FUNC_TYPE_GENERAL,"rand",rand_main},
70 -#ifndef OPENSSL_NO_ENGINE
71 {FUNC_TYPE_GENERAL,"engine",engine_main},
73 {FUNC_TYPE_GENERAL,"ocsp",ocsp_main},
74 #ifndef OPENSSL_NO_MD2
75 {FUNC_TYPE_MD,"md2",dgst_main},
76 --- openssl-0.9.7b.orig/Configure
77 +++ openssl-0.9.7b/Configure
81 eval 'exec perl -S $0 ${1+"$@"}'
82 if $running_under_some_shell;
85 elsif ($shared_extension ne "" && $shared_extension =~ /^\.s([ol])\.[^\.]*\.[^\.]*$/)
88 - s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.s$sotmp.\$(SHLIB_MAJOR) .s$sotmp/;
89 +# s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.s$sotmp.\$(SHLIB_MAJOR) .s$sotmp/;
90 + s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.s$sotmp/;
92 elsif ($shared_extension ne "" && $shared_extension =~ /^\.[^\.]*\.[^\.]*\.dylib$/)
94 --- openssl-0.9.7b.orig/crypto/asn1/charmap.pl
95 +++ openssl-0.9.7b/crypto/asn1/charmap.pl
97 -#!/usr/local/bin/perl -w
102 --- openssl-0.9.7b.orig/crypto/Makefile.ssl
103 +++ openssl-0.9.7b/crypto/Makefile.ssl
106 GENERAL=Makefile README crypto-lib.com install.com
109 LIB= $(TOP)/libcrypto.a
110 SHARED_LIB= libcrypto$(SHLIB_EXT)
111 LIBSRC= cryptlib.c mem.c mem_clr.c mem_dbg.c cversion.c ex_data.c tmdiff.c cpt_err.c ebcdic.c uid.c o_time.c
113 @for i in $(SDIRS) ;\
115 (cd $$i && echo "making all in crypto/$$i..." && \
116 - $(MAKE) CC='$(CC)' INCLUDES='${INCLUDES}' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' all ) || exit 1; \
117 + $(MAKE) CC='$(CC)' INCLUDES='${INCLUDES}' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='true' all ) || exit 1; \
119 +# $(AR) $(LIB) *.lo */*.lo
122 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
127 - rm -f buildinf.h *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
128 + rm -f buildinf.h *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff date.h
129 + $(RM) -f *.lo */*.lo *.la
131 @for i in $(SDIRS) ;\
133 (cd $$i && echo "making clean in crypto/$$i..." && \
134 --- openssl-0.9.7b.orig/crypto/md5/asm/md5-sparcv9.S
135 +++ openssl-0.9.7b/crypto/md5/asm/md5-sparcv9.S
139 #if defined(MD5_BLOCK_DATA_ORDER)
140 -# if defined(OPENSSL_SYSNAME_ULTRASPARC)
141 +/*# if defined(OPENSSL_SYSNAME_ULTRASPARC)*/
143 # define X(i) [%i1+i*4]%asi
144 # define md5_block md5_block_asm_data_order_aligned
145 # define ASI_PRIMARY_LITTLE 0x88
148 # error "MD5_BLOCK_DATA_ORDER is supported only on UltraSPARC!"
153 # define X(i) [%i1+i*4]
154 --- openssl-0.9.7b.orig/crypto/opensslconf.h
155 +++ openssl-0.9.7b/crypto/opensslconf.h
157 /* OpenSSL was configured with the following options: */
158 #ifndef OPENSSL_DOING_MAKEDEPEND
160 +#ifndef OPENSSL_NO_IDEA
161 +# define OPENSSL_NO_IDEA
163 +#ifndef OPENSSL_NO_MDC2
164 +# define OPENSSL_NO_MDC2
166 +#ifndef OPENSSL_NO_RC5
167 +# define OPENSSL_NO_RC5
169 #ifndef OPENSSL_NO_KRB5
170 # define OPENSSL_NO_KRB5
173 #endif /* OPENSSL_DOING_MAKEDEPEND */
174 +#ifndef OPENSSL_THREADS
175 +# define OPENSSL_THREADS
178 /* The OPENSSL_NO_* macros are also defined as NO_* if the application
179 asks for it. This is a transient feature that is provided for those
180 who haven't had the time to do the appropriate changes in their
182 #ifdef OPENSSL_ALGORITHM_DEFINES
183 +# if defined(OPENSSL_NO_IDEA) && !defined(NO_IDEA)
186 +# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
189 +# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
192 # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
197 #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
198 #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
199 -#define OPENSSLDIR "/usr/local/ssl"
200 +#define OPENSSLDIR "/usr/lib/ssl"
206 #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
207 #define CONFIG_HEADER_BN_H
211 /* Should we define BN_DIV2W here? */
214 #define CONFIG_HEADER_RC4_LOCL_H
215 /* if this is defined data[i] is used instead of *data, this is a %20
221 #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
222 @@ -112,14 +133,14 @@
223 /* the following is tweaked from a config script, that is why it is a
224 * protected undef/define */
230 /* This helps C compiler generate the correct code for multiple functional
231 * units. It reduces register dependancies at the expense of 2 more
240 /* Unroll the inner loop, this sometimes helps, sometimes hinders.
241 * Very mucy CPU dependant */
247 /* These default values were supplied by
248 --- openssl-0.9.7b.orig/demos/tunala/configure.in
249 +++ openssl-0.9.7b/demos/tunala/configure.in
251 -dnl Process this file with autoconf to produce a configure script.
252 +#!/usr/local/bin/perl
254 AM_CONFIG_HEADER(config.h)
255 AM_INIT_AUTOMAKE(tunala, 0.0.1-dev)
256 --- openssl-0.9.7b.orig/doc/crypto/RAND_add.pod
257 +++ openssl-0.9.7b/doc/crypto/RAND_add.pod
262 -RAND_add, RAND_seed, RAND_status, RAND_event, RAND_screen - add
264 +RAND_add, RAND_seed, RAND_status, RAND_event, RAND_screen - add entropy to the PRNG
268 --- openssl-0.9.7b.orig/doc/Makefile.ssl
269 +++ openssl-0.9.7b/doc/Makefile.ssl
273 +#PODS = $(wildcard *.pod)
274 +#MANS = $(addsuffix .man, $(basename $(PODS)))
276 +MANS = openssl.1 ssl.3 crypto.3
278 +P2M = pod2man --center='OpenSSL Documentation' --release="OpenSSL $(VERSION)"
284 +manpages: openssl.1 crypto.3 ssl.3
287 + $(P2M) --section=1 openssl.pod > openssl.1
290 + $(P2M) --section=3 crypto.pod > crypto.3
293 + $(P2M) --section=3 ssl.pod > ssl.3
297 + mkdir -p $(INSTALL_PREFIX)$(INSTALLTOP)/share/man/man1
298 + mkdir -p $(INSTALL_PREFIX)$(INSTALLTOP)/share/man/man3
299 + install -m 644 -p openssl.1 $(INSTALL_PREFIX)$(INSTALLTOP)/share/man/man1
300 + install -m 644 -p crypto.3 $(INSTALL_PREFIX)$(INSTALLTOP)/share/man/man3
301 + install -m 644 -p ssl.3 $(INSTALL_PREFIX)$(INSTALLTOP)/share/man/man3
311 --- openssl-0.9.7b.orig/Makefile.org
312 +++ openssl-0.9.7b/Makefile.org
315 # PKCS1_CHECK - pkcs1 tests.
319 #CFLAG= -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -Wuninitialized -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
320 CFLAG= -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
322 # we might set SHLIB_MARK to '$(SHARED_LIBS)'.
325 -DIRS= crypto ssl $(SHLIB_MARK) apps test tools
326 +DIRS= crypto ssl $(SHLIB_MARK) apps doc tools
327 SHLIBDIRS= crypto ssl
329 # dirs in crypto to build
331 MAKEFILE= Makefile.ssl
332 MAKE= make -f Makefile.ssl
334 -MANDIR=$(OPENSSLDIR)/man
335 +MANDIR=/usr/share/man
342 if [ -f "$$i" ]; then \
343 ( echo installing $$i; \
344 - cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new; \
345 + cp -d $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new; \
346 $(RANLIB) $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new; \
347 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new; \
348 mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i ); \
349 @@ -847,33 +849,35 @@
350 for i in doc/apps/*.pod; do \
351 fn=`basename $$i .pod`; \
352 if [ "$$fn" = "config" ]; then sec=5; else sec=1; fi; \
353 - echo "installing man$$sec/$$fn.$$sec"; \
354 + secsuf=`echo -n $$sec; echo $(MANSUF)`; \
355 + echo "installing man$$sec/$$fn.$$secsuf"; \
356 (cd `$(PERL) util/dirname.pl $$i`; \
358 - --section=$$sec --center=OpenSSL \
359 + --section=$$secsuf --center=OpenSSL \
360 --release=$(VERSION) `basename $$i`") \
361 - > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$$sec; \
362 + > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$$secsuf; \
363 $(PERL) util/extract-names.pl < $$i | \
364 grep -v $$filecase "^$$fn\$$" | \
365 (cd $(INSTALL_PREFIX)$(MANDIR)/man$$sec/; \
367 - $$here/util/point.sh $$fn.$$sec $$n.$$sec; \
368 + $$here/util/point.sh $$fn.$$secsuf $$n.$$secsuf; \
371 for i in doc/crypto/*.pod doc/ssl/*.pod; do \
372 fn=`basename $$i .pod`; \
373 if [ "$$fn" = "des_modes" ]; then sec=7; else sec=3; fi; \
374 - echo "installing man$$sec/$$fn.$$sec"; \
375 + secsuf=`echo -n $$sec; echo $(MANSUF)`; \
376 + echo "installing man$$sec/$$fn.$$secsuf"; \
377 (cd `$(PERL) util/dirname.pl $$i`; \
379 - --section=$$sec --center=OpenSSL \
380 + --section=$$secsuf --center=OpenSSL \
381 --release=$(VERSION) `basename $$i`") \
382 - > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$$sec; \
383 + > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$$secsuf; \
384 $(PERL) util/extract-names.pl < $$i | \
385 grep -v $$filecase "^$$fn\$$" | \
386 (cd $(INSTALL_PREFIX)$(MANDIR)/man$$sec/; \
388 - $$here/util/point.sh $$fn.$$sec $$n.$$sec; \
389 + $$here/util/point.sh $$fn.$$secsuf $$n.$$secsuf; \
393 --- openssl-0.9.7b.orig/Makefile.ssl
394 +++ openssl-0.9.7b/Makefile.ssl
396 SHLIB_VERSION_HISTORY=
404 +SHLIB_EXT=.so.$(SHLIB_MAJOR).$(SHLIB_MINOR)
405 +PLATFORM=debian-i386
406 +OPTIONS=--prefix=/usr --openssldir=/usr/lib/ssl no-idea no-mdc2 no-rc5 no-krb5
407 +CONFIGURE_ARGS=--prefix=/usr --openssldir=/usr/lib/ssl no-idea no-mdc2 no-rc5 debian-i386
408 +SHLIB_TARGET=linux-shared
410 # HERE indicates where this Makefile lives. This can be used to indicate
411 # where sub-Makefiles are expected to be. Currently has very limited usage,
413 # for, say, /usr/ and yet have everything installed to /tmp/somedir/usr/.
414 # Normally it is left empty.
416 -INSTALLTOP=/usr/local/ssl
419 # Do not edit this manually. Use Configure --openssldir=DIR do change this!
420 -OPENSSLDIR=/usr/local/ssl
421 +OPENSSLDIR=/usr/lib/ssl
423 # NO_IDEA - Define to build without the IDEA algorithm
424 # NO_RC4 - Define to build without the RC4 algorithm
427 # PKCS1_CHECK - pkcs1 tests.
432 #CFLAG= -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -Wuninitialized -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
433 -CFLAG= -DOPENSSL_NO_KRB5 -O
435 +CFLAG= -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DOPENSSL_NO_IDEA -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall
436 +DEPFLAG= -DOPENSSL_NO_IDEA -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5
443 RANLIB= /usr/bin/ranlib
444 -PERL= /usr/local/bin/perl
447 TARFLAGS= --no-recursion
448 -MAKEDEPPROG=makedepend
451 # We let the C compiler driver to take care of .s files. This is done in
452 # order to be excused from maintaining a separate set of architecture
453 @@ -175,13 +176,13 @@
454 # we might set SHLIB_MARK to '$(SHARED_LIBS)'.
457 -DIRS= crypto ssl $(SHLIB_MARK) apps test tools
458 +DIRS= crypto ssl $(SHLIB_MARK) apps doc tools
459 SHLIBDIRS= crypto ssl
461 # dirs in crypto to build
463 - md2 md4 md5 sha mdc2 hmac ripemd \
464 - des rc2 rc4 rc5 idea bf cast \
465 + md2 md4 md5 sha hmac ripemd \
466 + des rc2 rc4 bf cast \
467 bn ec rsa dsa dh dso engine aes \
468 buffer bio stack lhash rand err objects \
469 evp asn1 pem x509 x509v3 conf txt_db pkcs7 pkcs12 comp ocsp ui krb5
471 MAKEFILE= Makefile.ssl
472 MAKE= make -f Makefile.ssl
474 -MANDIR=$(OPENSSLDIR)/man
475 +MANDIR=/usr/share/man
481 SHARED_CRYPTO=libcrypto$(SHLIB_EXT)
482 SHARED_SSL=libssl$(SHLIB_EXT)
484 -SHARED_LIBS_LINK_EXTS=
485 +SHARED_LIBS_LINK_EXTS=.so
491 if [ -f "$$i" ]; then \
492 ( echo installing $$i; \
493 - cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new; \
494 + cp -d $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new; \
495 $(RANLIB) $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new; \
496 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new; \
497 mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i ); \
498 @@ -849,33 +851,35 @@
499 for i in doc/apps/*.pod; do \
500 fn=`basename $$i .pod`; \
501 if [ "$$fn" = "config" ]; then sec=5; else sec=1; fi; \
502 - echo "installing man$$sec/$$fn.$$sec"; \
503 + secsuf=`echo -n $$sec; echo $(MANSUF)`; \
504 + echo "installing man$$sec/$$fn.$$secsuf"; \
505 (cd `$(PERL) util/dirname.pl $$i`; \
507 - --section=$$sec --center=OpenSSL \
508 + --section=$$secsuf --center=OpenSSL \
509 --release=$(VERSION) `basename $$i`") \
510 - > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$$sec; \
511 + > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$$secsuf; \
512 $(PERL) util/extract-names.pl < $$i | \
513 grep -v $$filecase "^$$fn\$$" | \
514 (cd $(INSTALL_PREFIX)$(MANDIR)/man$$sec/; \
516 - $$here/util/point.sh $$fn.$$sec $$n.$$sec; \
517 + $$here/util/point.sh $$fn.$$secsuf $$n.$$secsuf; \
520 for i in doc/crypto/*.pod doc/ssl/*.pod; do \
521 fn=`basename $$i .pod`; \
522 if [ "$$fn" = "des_modes" ]; then sec=7; else sec=3; fi; \
523 - echo "installing man$$sec/$$fn.$$sec"; \
524 + secsuf=`echo -n $$sec; echo $(MANSUF)`; \
525 + echo "installing man$$sec/$$fn.$$secsuf"; \
526 (cd `$(PERL) util/dirname.pl $$i`; \
528 - --section=$$sec --center=OpenSSL \
529 + --section=$$secsuf --center=OpenSSL \
530 --release=$(VERSION) `basename $$i`") \
531 - > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$$sec; \
532 + > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$$secsuf; \
533 $(PERL) util/extract-names.pl < $$i | \
534 grep -v $$filecase "^$$fn\$$" | \
535 (cd $(INSTALL_PREFIX)$(MANDIR)/man$$sec/; \
537 - $$here/util/point.sh $$fn.$$sec $$n.$$sec; \
538 + $$here/util/point.sh $$fn.$$secsuf $$n.$$secsuf; \
542 --- openssl-0.9.7b.orig/ssl/Makefile.ssl
543 +++ openssl-0.9.7b/ssl/Makefile.ssl
550 SHARED_LIB= libssl$(SHLIB_EXT)
557 $(AR) $(LIB) $(LIBOBJ)
558 $(RANLIB) $(LIB) || echo Never mind.
563 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
567 # DO NOT DELETE THIS LINE -- make depend depends on it.
569 --- openssl-0.9.7b.orig/ssl/ssl_algs.c
570 +++ openssl-0.9.7b/ssl/ssl_algs.c
575 +#undef SSLeay_add_ssl_algorithms
576 +int SSLeay_add_ssl_algorithms(void)
578 + return SSL_library_init();
580 --- openssl-0.9.7b.orig/test/Makefile.ssl
581 +++ openssl-0.9.7b/test/Makefile.ssl
587 +TOP= $(shell pwd)/..
589 INCLUDES= -I$(TOP) -I../include $(KRB5_INCLUDES)
592 tpkcs7.com tpkcs7d.com tverify.com testgen.com testss.com testssl.com \
593 testca.com VMSca-response.1 VMSca-response.2
595 +#DLIBCRYPTO= ../crypto/.libs/libcrypto.a
596 +#DLIBSSL= ../ssl/.libs/libssl.a
597 +#LIBCRYPTO= -L$(TOP)/crypto/.libs -lcrypto
598 +#LIBSSL= -L$(TOP)/ssl/.libs -lssl
599 DLIBCRYPTO= ../libcrypto.a
601 LIBCRYPTO= -L.. -lcrypto
602 --- openssl-0.9.7b.orig/tools/c_rehash
603 +++ openssl-0.9.7b/tools/c_rehash
605 -#!/usr/local/bin/perl
609 # Perl c_rehash script, scan all files in a directory
614 -my $dir = "/usr/local/ssl";
615 +my $dir = "/usr/lib/ssl";
617 if(defined $ENV{OPENSSL}) {
618 $openssl = $ENV{OPENSSL};
619 --- openssl-0.9.7b.orig/tools/c_rehash.in
620 +++ openssl-0.9.7b/tools/c_rehash.in
622 -#!/usr/local/bin/perl
626 # Perl c_rehash script, scan all files in a directory
627 --- openssl-0.9.7b.orig/util/clean-depend.pl
628 +++ openssl-0.9.7b/util/clean-depend.pl
630 -#!/usr/local/bin/perl -w
631 +#!/usr/local/bin/perl
632 # Clean the dependency list in a makefile of standard includes...
633 # Written by Ben Laurie <ben@algroup.co.uk> 19 Jan 1999
635 --- openssl-0.9.7b.orig/util/extract-names.pl
636 +++ openssl-0.9.7b/util/extract-names.pl
639 +#!/usr/local/bin/perl
641 $/ = ""; # Eat a paragraph at once.
643 --- openssl-0.9.7b.orig/util/mkdef.pl
644 +++ openssl-0.9.7b/util/mkdef.pl
646 -#!/usr/local/bin/perl -w
647 +#!/usr/local/bin/perl
649 # generate a .def file
651 --- openssl-0.9.7b.orig/util/mkerr.pl
652 +++ openssl-0.9.7b/util/mkerr.pl
654 -#!/usr/local/bin/perl -w
655 +#!/usr/local/bin/perl
657 my $config = "crypto/err/openssl.ec";
659 --- openssl-0.9.7b.orig/util/mkstack.pl
660 +++ openssl-0.9.7b/util/mkstack.pl
662 -#!/usr/local/bin/perl -w
663 +#!/usr/local/bin/perl
665 # This is a utility that searches out "DECLARE_STACK_OF()"
666 # declarations in .h and .c files, and updates/creates/replaces
667 --- openssl-0.9.7b.orig/util/pod2man.pl
668 +++ openssl-0.9.7b/util/pod2man.pl
670 -: #!/usr/bin/perl-5.005
671 +#!/usr/local/bin/perl
672 eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
673 if $running_under_some_shell;
675 --- openssl-0.9.7b.orig/util/selftest.pl
676 +++ openssl-0.9.7b/util/selftest.pl
678 -#!/usr/local/bin/perl -w
679 +#!/usr/local/bin/perl
681 # Run the test suite and generate a report