From: Jarkko Hietaniemi Date: Sun, 25 Mar 2001 04:23:24 +0000 (+0000) Subject: Add MIME::Base64 here and there. Again, a lot of X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=160d5bf43c84e9ab7773694c152c81c6d5a0f7c2;p=p5sagit%2Fp5-mst-13.2.git Add MIME::Base64 here and there. Again, a lot of optimism is in the air. p4raw-id: //depot/perl@9337 --- diff --git a/configure.com b/configure.com index de3efdf..3767f79 100644 --- a/configure.com +++ b/configure.com @@ -2392,7 +2392,7 @@ $ echo "SDBM_File if you have the GDBM library built on your machine." $ echo "" $ echo "Which modules do you want to build into perl?" $! we need to add Byteloader to this list: -$ dflt = "re Fcntl Encode Errno File::Glob Filter::Util::Call IO Opcode Devel::Peek Devel::DProf Data::Dumper attrs VMS::Stdio VMS::DCLsym B SDBM_File Storable Thread Sys::Hostname Digest::MD5 PerlIO::Scalar" +$ dflt = "re Fcntl Encode Errno File::Glob Filter::Util::Call IO Opcode Devel::Peek Devel::DProf Data::Dumper attrs VMS::Stdio VMS::DCLsym B SDBM_File Storable Thread Sys::Hostname Digest::MD5 PerlIO::Scalar MIME::Base64" $ IF ccname .EQS. "DEC" .OR. ccname .EQS. "CXX" $ THEN $ dflt = dflt + " POSIX" diff --git a/djgpp/config.over b/djgpp/config.over index 47ac9a3..f6e77f8 100644 --- a/djgpp/config.over +++ b/djgpp/config.over @@ -39,7 +39,8 @@ repair() -e 's/encode/Encode/'\ -e 's=filter/util/call=Filter/Util/Call=' \ -e 's=digest/md5=Digest/MD5=' \ - -e 's=perlio/scalar=PerlIO/Scalar=' + -e 's=perlio/scalar=PerlIO/Scalar=' \ + -e 's=mime/base64=MIME/Base64=' } static_ext=$(repair "$static_ext") extensions=$(repair "$extensions") diff --git a/epoc/config.sh b/epoc/config.sh index 3fe9fb8..db84cf0 100644 --- a/epoc/config.sh +++ b/epoc/config.sh @@ -396,7 +396,7 @@ emacs='' eunicefix=':' exe_ext='' expr='expr' -extensions='Data/Dumper Digest/MD5 Errno Fcntl File/Glob Filter::Util::Call IO Opcode PerlIO::Scalar Socket Storable Sys/Hostname attrs re' +extensions='Data/Dumper Digest/MD5 Errno Fcntl File/Glob Filter::Util::Call IO MIME::Base64 Opcode PerlIO::Scalar Socket Storable Sys/Hostname attrs re' fflushNULL='undef' fflushall='define' find='' diff --git a/hints/uts.sh b/hints/uts.sh index f0ab0e2..fdf8c00 100644 --- a/hints/uts.sh +++ b/hints/uts.sh @@ -14,5 +14,5 @@ libs='-lsocket -lnsl -ldl -lm' optimize='undef' prefix='psf_prefix' static_ext='none' -dynamic_ext='Data/Dumper Digest/MD5 Errno Fcntl Filter::Util::Call GDBM_File IO Opcode PerlIO::Scalar POSIX Socket Storable attrs re' +dynamic_ext='Data/Dumper Digest/MD5 Errno Fcntl Filter::Util::Call GDBM_File IO MIME::Base64 Opcode PerlIO::Scalar POSIX Socket Storable attrs re' useshrplib='define' diff --git a/hints/uwin.sh b/hints/uwin.sh index e55f532..b8dd26c 100644 --- a/hints/uwin.sh +++ b/hints/uwin.sh @@ -24,7 +24,7 @@ i_utime=undef # compile/link flags ldflags=-g optimize=-g -static_ext="B Data/Dumper Digest/MD5 Errno Fcntl Filter::Util::Call IO IPC/SysV Opcode PerlIO::Scalar POSIX SDBM_File Socket Storable attrs re" +static_ext="B Data/Dumper Digest/MD5 Errno Fcntl Filter::Util::Call IO IPC/SysV MIME::Base64 Opcode PerlIO::Scalar POSIX SDBM_File Socket Storable attrs re" #static_ext=none # dynamic loading needs work usedl=undef diff --git a/hints/vmesa.sh b/hints/vmesa.sh index 081ee6f..1109c8b 100644 --- a/hints/vmesa.sh +++ b/hints/vmesa.sh @@ -218,7 +218,7 @@ dynamic_ext='' eagain='EAGAIN' ebcdic='define' exe_ext='' -extensions='Data/Dumper Digest/MD5 Errno Fcntl Filter::Util:Call GDBM_File IO IPC/SysV NDBM_File Opcode PerlIO::Scalar POSIX Socket Storable Thread attrs re' +extensions='Data/Dumper Digest/MD5 Errno Fcntl Filter::Util:Call GDBM_File IO IPC/SysV MIME::Base64 NDBM_File Opcode PerlIO::Scalar POSIX Socket Storable Thread attrs re' fpostype='fpos_t' freetype='void' groupstype='gid_t' @@ -317,7 +317,7 @@ sig_num_init='0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,2 sizetype='size_t' so='.a' ssizetype='ssize_t' -static_ext='Data/Dumper Digest/MD5 Fcntl Filter::Util::Call GDBM_File IO IPC/SysV NDBM_File Opcode PerlIO::Scalar POSIX Socket Storable Thread attrs re' +static_ext='Data/Dumper Digest/MD5 Fcntl Filter::Util::Call GDBM_File IO IPC/SysV MIME::Base64 NDBM_File Opcode PerlIO::Scalar POSIX Socket Storable Thread attrs re' stdchar='char' stdio_cnt='(fp)->__countIn' stdio_ptr='(fp)->__bufPtr' diff --git a/win32/Makefile b/win32/Makefile index 89cd0d9..429569e 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -609,7 +609,7 @@ SETARGV_OBJ = setargv$(o) DYNAMIC_EXT = Socket IO Fcntl Opcode SDBM_File POSIX attrs Thread B re \ Data/Dumper Devel/Peek ByteLoader Devel/DProf File/Glob \ Sys/Hostname Storable Filter/Util/Call Encode Digest/MD5 \ - PerlIO/Scalar + PerlIO/Scalar MIME/Base64 STATIC_EXT = DynaLoader NONXS_EXT = Errno @@ -636,6 +636,7 @@ FILTER = $(EXTDIR)\Filter\Util\Call\Call ENCODE = $(EXTDIR)\Encode\Encode MD5 = $(EXTDIR)\Digest\MD5\MD5 PERLIOSCALAR = $(EXTDIR)\PerlIO\Scalar\Scalar +MIMEBASE64 = $(EXTDIR)\MIME\Base64\Base64 SOCKET_DLL = $(AUTODIR)\Socket\Socket.dll FCNTL_DLL = $(AUTODIR)\Fcntl\Fcntl.dll @@ -658,6 +659,7 @@ FILTER_DLL = $(AUTODIR)\Filter\Util\Call\Call.dll ENCODE_DLL = $(AUTODIR)\Encode\Encode.dll MD5_DLL = $(AUTODIR)\Digest\MD5\MD5.dll PERLIOSCALAR_DLL= $(AUTODIR)\PerlIO\Scalar\Scalar.dll +MIMEBASE64_DLL = $(AUTODIR)\MIME\Base64\Base64.dll ERRNO_PM = $(LIBDIR)\Errno.pm @@ -1075,6 +1077,8 @@ distclean: clean -del /f $(LIBDIR)\Filter\Util\Call\Call.pm -del /f $(LIBDIR)\Digest\MD5.pm -del /f $(LIBDIR)\PerlIO\Scalar\Scalar.pm + -del /f $(LIBDIR)\MIME\Base64\Base64.pm + -del /f $(LIBDIR)\MIME\Base64\QuotedPrint.pm -if exist $(LIBDIR)\IO rmdir /s /q $(LIBDIR)\IO -rmdir /s $(LIBDIR)\IO -if exist $(LIBDIR)\Thread rmdir /s /q $(LIBDIR)\Thread @@ -1085,8 +1089,14 @@ distclean: clean -rmdir /s $(LIBDIR)\Data -if exist $(LIBDIR)\Filter\Util\Call rmdir /s /q $(LIBDIR)\Filter\Util\Call -if exist $(LIBDIR)\Filter\Util rmdir /s /q $(LIBDIR)\Filter\Util + -if exist $(LIBDIR)\Digest\MD5 rmdir /s /q $(LIBDIR)\Digest\MD5 + -rmdir /s $(LIBDIR)\Digest\MD5 -if exist $(LIBDIR)\Digest rmdir /s /q $(LIBDIR)\Digest -rmdir /s $(LIBDIR)\Digest + -if exist $(LIBDIR)\MIME\Base64 rmdir /s /q $(LIBDIR)\MIME\Base64 + -rmdir /s $(LIBDIR)\MIME\Base64 + -if exist $(LIBDIR)\MIME rmdir /s /q $(LIBDIR)\MIME + -rmdir /s $(LIBDIR)\MIME -del /f $(PODDIR)\*.html -del /f $(PODDIR)\*.bat cd ..\utils diff --git a/win32/makefile.mk b/win32/makefile.mk index 08854db..f365bcf 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -744,7 +744,7 @@ SETARGV_OBJ = setargv$(o) DYNAMIC_EXT = Socket IO Fcntl Opcode SDBM_File POSIX attrs Thread B re \ Data/Dumper Devel/Peek ByteLoader Devel/DProf File/Glob \ Sys/Hostname Storable Filter/Util/Call Encode \ - Digest/MD5 PerlIO/Scalar + Digest/MD5 PerlIO/Scalar MIME/Base64 STATIC_EXT = DynaLoader NONXS_EXT = Errno @@ -771,6 +771,7 @@ STORABLE = $(EXTDIR)\Storable\Storable FILTER = $(EXTDIR)\Filter\Util\Call\Call ENCODE = $(EXTDIR)\Encode\Encode MD5 = $(EXTDIR)\Digest\MD5\MD5 +MIMEBASE64 = $(EXTDIR)\MIME\Base64\Base64 SOCKET_DLL = $(AUTODIR)\Socket\Socket.dll FCNTL_DLL = $(AUTODIR)\Fcntl\Fcntl.dll @@ -793,6 +794,7 @@ STORABLE_DLL = $(AUTODIR)\Storable\Storable.dll FILTER_DLL = $(AUTODIR)\Filter\Util\Call\Call.dll ENCODE_DLL = $(AUTODIR)\Encode\Encode.dll MD5_DLL = $(AUTODIR)\Digest\MD5\MD5.dll +MIMEBASE64_DLL = $(AUTODIR)\MIME\Base64\Base64.dll ERRNO_PM = $(LIBDIR)\Errno.pm @@ -817,7 +819,8 @@ EXTENSION_C = \ $(STORABLE).c \ $(FILTER).c \ $(ENCODE).c \ - $(MD5).c + $(MD5).c \ + $(MIMEBASE64).c EXTENSION_DLL = \ $(SOCKET_DLL) \ @@ -840,7 +843,8 @@ EXTENSION_DLL = \ $(STORABLE_DLL) \ $(FILTER_DLL) \ $(ENCODE_DLL) \ - $(MD5_DLL) + $(MD5_DLL) \ + $(MIMEBASE64_DLL) EXTENSION_PM = \ $(ERRNO_PM) @@ -1244,11 +1248,16 @@ $(FILTER_DLL): $(PERLDEP) $(FILTER).xs ..\..\..\..\miniperl -I..\..\..\..\lib Makefile.PL INSTALLDIRS=perl cd $(EXTDIR)\Filter\Util\Call && $(MAKE) -$(MD5_DLL): $(PERLDEP) $(FILTER).xs +$(MD5_DLL): $(PERLDEP) $(MD5).xs cd $(EXTDIR)\Digest\MD5 && \ ..\..\..\miniperl -I..\..\..\lib Makefile.PL INSTALLDIRS=perl cd $(EXTDIR)\Digest\MD5 && $(MAKE) +$(MIMEBASE64_DLL): $(PERLDEP) $(MIMEBASE64).xs + cd $(EXTDIR)\Digest\Mime\Base64 && \ + ..\..\..\miniperl -I..\..\..\lib Makefile.PL INSTALLDIRS=perl + cd $(EXTDIR)\Digest\MIMEBASE64 && $(MAKE) + $(ERRNO_PM): $(PERLDEP) $(ERRNO)_pm.PL cd $(EXTDIR)\$(*B) && \ ..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl @@ -1300,13 +1309,18 @@ distclean: clean -del /f $(LIBDIR)\Storable.pm -del /f $(LIBDIR)\Filter\Util\Call\Call.pm -del /f $(LIBDIR)\Digest\MD5.pm + -del /f $(LIBDIR)\MIME\Base64\Base64.pm + -del /f $(LIBDIR)\MIME\Base64\QuotedPrint.pm -if exist $(LIBDIR)\IO rmdir /s /q $(LIBDIR)\IO || rmdir /s $(LIBDIR)\IO -if exist $(LIBDIR)\Thread rmdir /s /q $(LIBDIR)\Thread || rmdir /s $(LIBDIR)\Thread -if exist $(LIBDIR)\B rmdir /s /q $(LIBDIR)\B || rmdir /s $(LIBDIR)\B -if exist $(LIBDIR)\Data rmdir /s /q $(LIBDIR)\Data || rmdir /s $(LIBDIR)\Data -if exist $(LIBDIR)\Filter\Util\Call rmdir /s /q $(LIBDIR)\Filter\Util\Call || rmdir /s $(LIBDIR)\Filter -if exist $(LIBDIR)\Filter\Util rmdir /s /q $(LIBDIR)\Filter\Util || rmdir /s $(LIBDIR)\Filter + -if exist $(LIBDIR)\Digest\MD5 rmdir /s /q $(LIBDIR)\Digest\MD5 || rmdir /s $(LIBDIR)\Digest\MD5 -if exist $(LIBDIR)\Digest rmdir /s /q $(LIBDIR)\Digest || rmdir /s $(LIBDIR)\Digest + -if exist $(LIBDIR)\MIME\Base64 rmdir /s /q $(LIBDIR)\MIME\Base64 || rmdir /s $(LIBDIR)\MIME\Base64 + -if exist $(LIBDIR)\MIME rmdir /s /q $(LIBDIR)\MIME || rmdir /s $(LIBDIR)\MIME -del /f $(PODDIR)\*.html -del /f $(PODDIR)\*.bat -cd ..\utils && del /f h2ph splain perlbug pl2pm c2ph h2xs perldoc \