diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2000-04-06 16:11:09 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2000-04-06 16:11:09 +0000 |
commit | e852ed17d905386f3bbad057fda2f07926227f89 (patch) | |
tree | 9c602984a369e27373c3cd3b71bd8c8e791393f2 /gnu/usr.bin/perl/Porting | |
parent | 9cfdf10e50d1f9e72606c75c7b7a0e18940c80aa (diff) |
virgin perl 5.6.0
Diffstat (limited to 'gnu/usr.bin/perl/Porting')
-rw-r--r-- | gnu/usr.bin/perl/Porting/config.sh | 435 | ||||
-rw-r--r-- | gnu/usr.bin/perl/Porting/findvars | 21 | ||||
-rw-r--r-- | gnu/usr.bin/perl/Porting/genlog | 7 | ||||
-rw-r--r-- | gnu/usr.bin/perl/Porting/p4desc | 118 |
4 files changed, 461 insertions, 120 deletions
diff --git a/gnu/usr.bin/perl/Porting/config.sh b/gnu/usr.bin/perl/Porting/config.sh index 20e1c4cfd78..3f29888e6c6 100644 --- a/gnu/usr.bin/perl/Porting/config.sh +++ b/gnu/usr.bin/perl/Porting/config.sh @@ -8,9 +8,9 @@ # Package name : perl5 # Source directory : . -# Configuration time: Tue Jul 21 10:03:27 EDT 1998 -# Configured by : doughera -# Target system : linux fractal 2.0.34 #1 tue jun 23 10:09:17 edt 1998 i686 unknown +# Configuration time: Tue Mar 21 23:22:20 EET 2000 +# Configured by : jhi +# Target system : osf1 alpha.hut.fi v4.0 878 alpha Author='' Date='$Date' @@ -27,33 +27,40 @@ _a='.a' _exe='' _o='.o' afs='false' -alignbytes='4' +alignbytes='8' ansi2knr='' aphostname='' -apiversion='5.005' +api_revision='5' +api_subversion='0' +api_version='5' +api_versionstring='5.005' ar='ar' -archlib='/opt/perl/lib/5.005/i686-linux-thread' -archlibexp='/opt/perl/lib/5.005/i686-linux-thread' -archname='i686-linux-thread' +archlib='/opt/perl/lib/5.6.0/alpha-dec_osf-thread-multi' +archlibexp='/opt/perl/lib/5.6.0/alpha-dec_osf-thread-multi' +archname64='' +archname='alpha-dec_osf-thread-multi' archobjs='' awk='awk' baserev='5.0' bash='' bin='/opt/perl/bin' +bincompat5005='undef' binexp='/opt/perl/bin' bison='' byacc='byacc' -byteorder='1234' -c='' +byteorder='12345678' +c='\c' castflags='0' cat='cat' cc='cc' -cccdlflags='-fpic' -ccdlflags='-rdynamic' -ccflags='-D_REENTRANT -Dbool=char -DHAS_BOOL -I/usr/local/include' -cf_by='doughera' +cccdlflags=' ' +ccdlflags=' -Wl,-rpath,/opt/perl/lib/5.6.0/alpha-dec_osf-thread-multi/CORE' +ccflags='-pthread -std -DLANGUAGE_C' +ccsymbols='__alpha=1 __LANGUAGE_C__=1 __osf__=1 __unix__=1 _LONGLONG=1 _SYSTYPE_BSD=1 SYSTYPE_BSD=1 unix=1' +cf_by='jhi' cf_email='yourname@yourhost.yourplace.com' -cf_time='Tue Jul 21 10:03:27 EDT 1998' +cf_time='Tue Mar 21 23:22:20 EET 2000' +charsize='1' chgrp='' chmod='' chown='' @@ -65,23 +72,42 @@ cp='cp' cpio='' cpp='cpp' cpp_stuff='42' -cppflags='-D_REENTRANT -Dbool=char -DHAS_BOOL -I/usr/local/include' -cpplast='-' -cppminus='-' -cpprun='cc -E' -cppstdin='cc -E' +cppccsymbols='LANGUAGE_C=1' +cppflags='-pthread -std -DLANGUAGE_C' +cpplast='' +cppminus='' +cpprun='/usr/bin/cpp' +cppstdin='cppstdin' +cppsymbols='_AES_SOURCE=1 __alpha=1 __ALPHA=1 _ANSI_C_SOURCE=1 __LANGUAGE_C__=1 _LONGLONG=1 __osf__=1 _OSF_SOURCE=1 _POSIX_C_SOURCE=199506 _POSIX_SOURCE=1 _REENTRANT=1 __STDC__=1 _SYSTYPE_BSD=1 __unix__=1 _XOPEN_SOURCE=1' +crosscompile='undef' cryptlib='' csh='csh' d_Gconvert='gcvt((x),(n),(b))' +d_PRIEldbl='define' +d_PRIFldbl='define' +d_PRIGldbl='define' +d_PRIX64='define' +d_PRId64='define' +d_PRIeldbl='define' +d_PRIfldbl='define' +d_PRIgldbl='define' +d_PRIi64='define' +d_PRIo64='define' +d_PRIu64='define' +d_PRIx64='define' d_access='define' +d_accessx='undef' d_alarm='define' d_archlib='define' -d_attribut='define' +d_atolf='undef' +d_atoll='undef' +d_attribut='undef' d_bcmp='define' d_bcopy='define' +d_bincompat5005='undef' d_bsd='undef' d_bsdgetpgrp='undef' -d_bsdsetpgrp='undef' +d_bsdsetpgrp='define' d_bzero='define' d_casti32='undef' d_castneg='define' @@ -96,18 +122,21 @@ d_csh='define' d_cuserid='define' d_dbl_dig='define' d_difftime='define' -d_dirnamlen='undef' +d_dirnamlen='define' d_dlerror='define' d_dlopen='define' d_dlsymun='undef' d_dosuid='undef' +d_drand48proto='define' d_dup2='define' +d_eaccess='undef' d_endgrent='define' d_endhent='define' d_endnent='define' d_endpent='define' d_endpwent='define' d_endsent='define' +d_endspent='undef' d_eofnblk='define' d_eunice='undef' d_fchmod='define' @@ -121,16 +150,26 @@ d_flexfnam='define' d_flock='define' d_fork='define' d_fpathconf='define' +d_fpos64_t='undef' +d_fs_data_s='undef' +d_fseeko='undef' d_fsetpos='define' +d_fstatfs='define' +d_fstatvfs='define' +d_ftello='undef' d_ftime='undef' +d_getcwd='define' +d_getfsstat='define' d_getgrent='define' d_getgrps='define' d_gethbyaddr='define' d_gethbyname='define' d_gethent='define' -d_gethname='undef' +d_gethname='define' d_gethostprotos='define' d_getlogin='define' +d_getmnt='undef' +d_getmntent='undef' d_getnbyaddr='define' d_getnbyname='define' d_getnent='define' @@ -149,38 +188,62 @@ d_getsbyname='define' d_getsbyport='define' d_getsent='define' d_getservprotos='define' +d_getspent='undef' +d_getspnam='undef' d_gettimeod='define' -d_gnulibc='define' +d_gnulibc='undef' d_grpasswd='define' +d_hasmntopt='undef' d_htonl='define' +d_iconv='define' d_index='undef' d_inetaton='define' +d_int64_t='undef' d_isascii='define' d_killpg='define' -d_lchown='undef' +d_lchown='define' +d_ldbl_dig='define' d_link='define' d_locconv='define' d_lockf='define' d_longdbl='define' d_longlong='define' +d_lseekproto='define' d_lstat='define' +d_madvise='define' d_mblen='define' d_mbstowcs='define' d_mbtowc='define' +d_memchr='define' d_memcmp='define' d_memcpy='define' d_memmove='define' d_memset='define' d_mkdir='define' +d_mkdtemp='undef' d_mkfifo='define' +d_mkstemp='define' +d_mkstemps='undef' d_mktime='define' +d_mmap='define' +d_mprotect='define' d_msg='define' +d_msg_ctrunc='define' +d_msg_dontroute='define' +d_msg_oob='define' +d_msg_peek='define' +d_msg_proxy='undef' d_msgctl='define' d_msgget='define' d_msgrcv='define' d_msgsnd='define' +d_msync='define' +d_munmap='define' d_mymalloc='undef' d_nice='define' +d_nv_preserves_uv='undef' +d_off64_t='undef' +d_old_pthread_create_joinable='undef' d_oldpthreads='undef' d_oldsock='undef' d_open3='define' @@ -191,15 +254,16 @@ d_pipe='define' d_poll='define' d_portable='define' d_pthread_yield='undef' -d_pthreads_created_joinable='define' d_pwage='undef' d_pwchange='undef' d_pwclass='undef' -d_pwcomment='undef' +d_pwcomment='define' d_pwexpire='undef' d_pwgecos='define' -d_pwquota='undef' d_pwpasswd='define' +d_pwquota='define' +d_qgcvt='undef' +d_quad='define' d_readdir='define' d_readlink='define' d_rename='define' @@ -209,6 +273,7 @@ d_safebcpy='define' d_safemcpy='undef' d_sanemcmp='define' d_sched_yield='define' +d_scm_rights='define' d_seekdir='define' d_select='define' d_sem='define' @@ -235,10 +300,11 @@ d_setregid='define' d_setresgid='undef' d_setresuid='undef' d_setreuid='define' -d_setrgid='undef' -d_setruid='undef' +d_setrgid='define' +d_setruid='define' d_setsent='define' d_setsid='define' +d_setspent='undef' d_setvbuf='define' d_sfio='undef' d_shm='define' @@ -250,10 +316,16 @@ d_shmget='define' d_sigaction='define' d_sigsetjmp='define' d_socket='define' +d_socklen_t='undef' d_sockpair='define' -d_statblks='undef' -d_stdio_cnt_lval='undef' +d_sqrtl='define' +d_statblks='define' +d_statfs_f_flags='define' +d_statfs_s='define' +d_statvfs='define' +d_stdio_cnt_lval='define' d_stdio_ptr_lval='define' +d_stdio_stream_array='define' d_stdiobase='define' d_stdstdio='define' d_strchr='define' @@ -263,7 +335,11 @@ d_strerrm='strerror(e)' d_strerror='define' d_strtod='define' d_strtol='define' +d_strtold='undef' +d_strtoll='undef' d_strtoul='define' +d_strtoull='undef' +d_strtouq='undef' d_strxfrm='define' d_suidsafe='undef' d_symlink='define' @@ -275,13 +351,18 @@ d_system='define' d_tcgetpgrp='define' d_tcsetpgrp='define' d_telldir='define' +d_telldirproto='define' d_time='define' d_times='define' d_truncate='define' d_tzname='define' d_umask='define' d_uname='define' -d_union_semun='define' +d_union_semun='undef' +d_ustat='define' +d_vendorarch='undef' +d_vendorbin='undef' +d_vendorlib='undef' d_vfork='undef' d_void_closedir='undef' d_voidsig='define' @@ -301,7 +382,8 @@ direntrytype='struct dirent' dlext='so' dlsrc='dl_dlopen.xs' doublesize='8' -dynamic_ext='B DB_File Data/Dumper Fcntl GDBM_File IO IPC/SysV NDBM_File ODBM_File Opcode POSIX SDBM_File Socket Thread attrs re' +drand01='drand48()' +dynamic_ext='B ByteLoader DB_File Data/Dumper Devel/DProf Devel/Peek Fcntl File/Glob IO IPC/SysV NDBM_File ODBM_File Opcode POSIX SDBM_File Socket Sys/Hostname Sys/Syslog Thread attrs re' eagain='EAGAIN' ebcdic='undef' echo='echo' @@ -310,17 +392,24 @@ emacs='' eunicefix=':' exe_ext='' expr='expr' -extensions='B DB_File Data/Dumper Fcntl GDBM_File IO IPC/SysV NDBM_File ODBM_File Opcode POSIX SDBM_File Socket Thread attrs re Errno' -find='find' +extensions='B ByteLoader DB_File Data/Dumper Devel/DProf Devel/Peek Fcntl File/Glob IO IPC/SysV NDBM_File ODBM_File Opcode POSIX SDBM_File Socket Sys/Hostname Sys/Syslog Thread attrs re Errno' +fflushNULL='define' +fflushall='undef' +find='' firstmakefile='makefile' flex='' +fpossize='8' fpostype='fpos_t' freetype='void' -full_csh='/bin/csh' -full_sed='/bin/sed' -gccversion='2.7.2.3' +full_ar='/usr/bin/ar' +full_csh='/usr/bin/csh' +full_sed='/usr/bin/sed' +gccversion='' +gidformat='"u"' +gidsign='1' +gidsize='4' gidtype='gid_t' -glibpth='/usr/shlib /shlib /lib/pa1.1 /usr/lib/large /lib /usr/lib /usr/lib/386 /lib/386 /lib/large /usr/lib/small /lib/small /usr/ccs/lib /usr/ucblib /usr/local/lib ' +glibpth='/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib' grep='grep' groupcat='cat /etc/group' groupstype='gid_t' @@ -330,6 +419,14 @@ h_sysfile='true' hint='recommended' hostcat='cat /etc/hosts' huge='' +i16size='2' +i16type='short' +i32size='4' +i32type='int' +i64size='8' +i64type='long' +i8size='1' +i8type='char' i_arpainet='define' i_bsdioctl='' i_db='define' @@ -339,88 +436,131 @@ i_dld='undef' i_dlfcn='define' i_fcntl='undef' i_float='define' -i_gdbm='define' +i_gdbm='undef' i_grp='define' +i_iconv='define' +i_ieeefp='undef' +i_inttypes='undef' i_limits='define' i_locale='define' +i_machcthr='undef' i_malloc='define' i_math='define' i_memory='undef' +i_mntent='undef' i_ndbm='define' i_netdb='define' i_neterrno='undef' +i_netinettcp='define' i_niin='define' +i_poll='define' +i_pthread='define' i_pwd='define' i_rpcsvcdbm='undef' i_sfio='undef' i_sgtty='undef' +i_shadow='undef' +i_socks='undef' i_stdarg='define' i_stddef='define' i_stdlib='define' i_string='define' +i_sunmath='undef' +i_sysaccess='define' i_sysdir='define' i_sysfile='define' i_sysfilio='undef' i_sysin='undef' i_sysioctl='define' +i_syslog='define' +i_sysmman='define' +i_sysmode='define' +i_sysmount='define' i_sysndir='undef' i_sysparam='define' i_sysresrc='define' +i_syssecrt='define' i_sysselct='define' i_syssockio='' i_sysstat='define' +i_sysstatfs='undef' +i_sysstatvfs='define' i_systime='define' i_systimek='undef' i_systimes='define' i_systypes='define' +i_sysuio='define' i_sysun='define' +i_sysutsname='define' +i_sysvfs='undef' i_syswait='define' i_termio='undef' i_termios='define' i_time='undef' i_unistd='define' +i_ustat='define' i_utime='define' i_values='define' i_varargs='undef' i_varhdr='stdarg.h' i_vfork='undef' +ignore_versioned_solibs='' +inc_version_list=' ' +inc_version_list_init='0' incpath='' inews='' -installarchlib='/opt/perl/lib/5.005/i686-linux-thread' +installarchlib='/opt/perl/lib/5.6.0/alpha-dec_osf-thread-multi' installbin='/opt/perl/bin' installman1dir='/opt/perl/man/man1' installman3dir='/opt/perl/man/man3' -installprivlib='/opt/perl/lib/5.005' -installscript='/opt/perl/script' -installsitearch='/opt/perl/lib/site_perl/5.005/i686-linux-thread' -installsitelib='/opt/perl/lib/site_perl/5.005' +installprefix='/opt/perl' +installprefixexp='/opt/perl' +installprivlib='/opt/perl/lib/5.6.0' +installscript='/opt/perl/bin' +installsitearch='/opt/perl/lib/site_perl/5.6.0/alpha-dec_osf-thread-multi' +installsitebin='/opt/perl/bin' +installsitelib='/opt/perl/lib/site_perl/5.6.0' +installstyle='lib' +installusrbinperl='define' +installvendorarch='' +installvendorbin='' +installvendorlib='' intsize='4' -known_extensions='B DB_File Data/Dumper Fcntl GDBM_File IO IPC/SysV NDBM_File ODBM_File Opcode POSIX SDBM_File Socket Thread attrs re' +ivdformat='"ld"' +ivsize='8' +ivtype='long' +known_extensions='B ByteLoader DB_File Data/Dumper Devel/DProf Devel/Peek Fcntl File/Glob GDBM_File IO IPC/SysV NDBM_File ODBM_File Opcode POSIX SDBM_File Socket Sys/Hostname Sys/Syslog Thread attrs re' ksh='' large='' -ld='cc' -lddlflags='-shared -L/usr/local/lib' -ldflags=' -L/usr/local/lib' +ld='ld' +lddlflags='-shared -expect_unresolved "*" -msym -std -s' +ldflags='' +ldlibpthname='LD_LIBRARY_PATH' less='less' lib_ext='.a' -libc='' -libperl='libperl.a' -libpth='/usr/local/lib /lib /usr/lib' -libs='-lnsl -lndbm -lgdbm -ldbm -ldb -ldl -lm -lpthread -lc -lposix -lcrypt' -libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m pthread c cposix posix ndir dir crypt ucb BSD PW x' -line='line' +libc='/usr/shlib/libc.so' +libperl='libperl.so' +libpth='/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /var/shlib' +libs='-lgdbm -ldbm -ldb -lm -liconv -lpthread -lexc' +libsdirs=' /usr/shlib /usr/ccs/lib' +libsfiles=' libgdbm.so libdbm.a libdb.so libm.so libiconv.so libpthread.so libexc.so' +libsfound=' /usr/shlib/libgdbm.so /usr/ccs/lib/libdbm.a /usr/shlib/libdb.so /usr/shlib/libm.so /usr/shlib/libiconv.so /usr/shlib/libpthread.so /usr/shlib/libexc.so' +libspath=' /usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /var/shlib' +libswanted='sfio socket bind inet nsl nm gdbm dbm db malloc dld ld sun m cposix posix ndir dir crypt sec ucb BSD x iconv pthread exc' +line='' lint='' lkflags='' ln='ln' -lns='/bin/ln -s' +lns='/usr/bin/ln -s' locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include' loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib' -longdblsize='12' +longdblsize='8' longlongsize='8' -longsize='4' +longsize='8' lp='' lpr='' ls='ls' +lseeksize='8' lseektype='off_t' mail='' mailx='' @@ -436,64 +576,90 @@ man3dir='/opt/perl/man/man3' man3direxp='/opt/perl/man/man3' man3ext='3' medium='' -mips='' mips_type='' mkdir='mkdir' +mmaptype='void *' models='none' modetype='mode_t' more='more' +multiarch='undef' mv='' -myarchname='i686-linux' +myarchname='alpha-dec_osf' mydomain='.yourplace.com' myhostname='yourhost' -myuname='linux fractal 2.0.34 #1 tue jun 23 10:09:17 edt 1998 i686 unknown ' -n='-n' +myuname='osf1 alpha.hut.fi v4.0 878 alpha ' +n='' netdb_hlen_type='int' netdb_host_type='const char *' netdb_name_type='const char *' -netdb_net_type='unsigned long' +netdb_net_type='int' nm='nm' -nm_opt='' -nm_so_opt='--dynamic' +nm_opt='-p' +nm_so_opt='' nonxs_ext='Errno' nroff='nroff' +nvsize='8' +nvtype='double' o_nonblock='O_NONBLOCK' obj_ext='.o' +old_pthread_create_joinable='' optimize='-O' orderlib='false' -osname='linux' -osvers='2.0.34' +osname='dec_osf' +osvers='4.0' package='perl5' -pager='/usr/bin/less' +pager='/c/bin/less' passcat='cat /etc/passwd' -patchlevel='5' +patchlevel='6' path_sep=':' -perl='perl' +perl5='/u/vieraat/vieraat/jhi/Perl/bin/perl' +perl='' perladmin='yourname@yourhost.yourplace.com' perlpath='/opt/perl/bin/perl' pg='pg' phostname='' pidtype='pid_t' plibpth='' +pm_apiversion='5.005' pmake='' pr='' prefix='/opt/perl' prefixexp='/opt/perl' -privlib='/opt/perl/lib/5.005' -privlibexp='/opt/perl/lib/5.005' +privlib='/opt/perl/lib/5.6.0' +privlibexp='/opt/perl/lib/5.6.0' prototype='define' -ptrsize='4' -randbits='31' +ptrsize='8' +quadkind='2' +quadtype='long' +randbits='48' +randfunc='drand48' +randseedtype='long' ranlib=':' rd_nodata='-1' +revision='5' rm='rm' rmail='' -runnm='false' -scriptdir='/opt/perl/script' -scriptdirexp='/opt/perl/script' +runnm='true' +sPRIEldbl='"E"' +sPRIFldbl='"F"' +sPRIGldbl='"G"' +sPRIX64='"lX"' +sPRId64='"ld"' +sPRIeldbl='"e"' +sPRIfldbl='"f"' +sPRIgldbl='"g"' +sPRIi64='"li"' +sPRIo64='"lo"' +sPRIu64='"lu"' +sPRIx64='"lx"' +sched_yield='sched_yield()' +scriptdir='/opt/perl/bin' +scriptdirexp='/opt/perl/bin' sed='sed' +seedfunc='srand48' +selectminbits='32' selecttype='fd_set *' -sendmail='sendmail' +sendmail='' sh='/bin/sh' shar='' sharpbang='#!' @@ -501,14 +667,22 @@ shmattype='void *' shortsize='2' shrpenv='' shsharp='true' -sig_name='ZERO HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR UNUSED IOT CLD POLL ' -sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "UNUSED", "IOT", "CLD", "POLL", 0' -sig_num='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, 25, 26, 27, 28, 29, 30, 31, 6, 17, 29, 0' +sig_count='49' +sig_name='ZERO HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM IOINT STOP TSTP CONT CHLD TTIN TTOU AIO XCPU XFSZ VTALRM PROF WINCH INFO USR1 USR2 RESV RTMIN NUM34 NUM35 NUM36 NUM37 NUM38 NUM39 NUM40 NUM41 NUM42 NUM43 NUM44 NUM45 NUM46 NUM47 MAX IOT LOST URG CLD IO POLL PTY PWR RTMAX ' +sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "EMT", "FPE", "KILL", "BUS", "SEGV", "SYS", "PIPE", "ALRM", "TERM", "IOINT", "STOP", "TSTP", "CONT", "CHLD", "TTIN", "TTOU", "AIO", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "INFO", "USR1", "USR2", "RESV", "RTMIN", "NUM34", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "MAX", "IOT", "LOST", "URG", "CLD", "IO", "POLL", "PTY", "PWR", "RTMAX", 0' +sig_num='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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 6 6 16 20 23 23 23 29 48 ' +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, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 6, 6, 16, 20, 23, 23, 23, 29, 48, 0' signal_t='void' -sitearch='/opt/perl/lib/site_perl/5.005/i686-linux-thread' -sitearchexp='/opt/perl/lib/site_perl/5.005/i686-linux-thread' -sitelib='/opt/perl/lib/site_perl/5.005' -sitelibexp='/opt/perl/lib/site_perl/5.005' +sitearch='/opt/perl/lib/site_perl/5.6.0/alpha-dec_osf-thread-multi' +sitearchexp='/opt/perl/lib/site_perl/5.6.0/alpha-dec_osf-thread-multi' +sitebin='/opt/perl/bin' +sitebinexp='/opt/perl/bin' +sitelib='/opt/perl/lib/site_perl/5.6.0' +sitelib_stem='/opt/perl/lib/site_perl' +sitelibexp='/opt/perl/lib/site_perl/5.6.0' +siteprefix='/opt/perl' +siteprefixexp='/opt/perl' +sizesize='8' sizetype='size_t' sleep='' smail='' @@ -516,6 +690,7 @@ small='' so='so' sockethdr='' socketlib='' +socksizetype='int' sort='sort' spackage='Perl5' spitshell='cat' @@ -525,12 +700,13 @@ ssizetype='ssize_t' startperl='#!/opt/perl/bin/perl' startsh='#!/bin/sh' static_ext=' ' -stdchar='char' -stdio_base='((fp)->_IO_read_base)' -stdio_bufsiz='((fp)->_IO_read_end - (fp)->_IO_read_base)' -stdio_cnt='((fp)->_IO_read_end - (fp)->_IO_read_ptr)' +stdchar='unsigned char' +stdio_base='((fp)->_base)' +stdio_bufsiz='((fp)->_cnt + (fp)->_ptr - (fp)->_base)' +stdio_cnt='((fp)->_cnt)' stdio_filbuf='' -stdio_ptr='((fp)->_IO_read_ptr)' +stdio_ptr='((fp)->_ptr)' +stdio_stream_array='_iob' strings='/usr/include/string.h' submit='' subversion='0' @@ -538,7 +714,7 @@ sysman='/usr/man/man1' tail='' tar='' tbl='' -tee='tee' +tee='' test='test' timeincl='/usr/include/sys/time.h ' timetype='time_t' @@ -546,40 +722,85 @@ touch='touch' tr='tr' trnl='\n' troff='' +u16size='2' +u16type='unsigned short' +u32size='4' +u32type='unsigned int' +u64size='8' +u64type='unsigned long' +u8size='1' +u8type='unsigned char' +uidformat='"u"' +uidsign='1' +uidsize='4' uidtype='uid_t' uname='uname' uniq='uniq' +uquadtype='unsigned long' +use5005threads='undef' +use64bitall='define' +use64bitint='define' usedl='define' +useithreads='define' +uselargefiles='define' +uselongdouble='undef' +usemorebits='undef' +usemultiplicity='define' usemymalloc='n' -usenm='false' +usenm='true' useopcode='true' useperlio='undef' useposix='true' usesfio='false' -useshrplib='false' +useshrplib='true' +usesocks='undef' usethreads='define' +usevendorprefix='undef' usevfork='false' usrinc='/usr/include' uuname='' -version='5.005' +uvoformat='"lo"' +uvsize='8' +uvtype='unsigned long' +uvuformat='"lu"' +uvxformat='"lx"' +vendorarch='' +vendorarchexp='' +vendorbin='' +vendorbinexp='' +vendorlib='' +vendorlib_stem='' +vendorlibexp='' +vendorprefix='' +vendorprefixexp='' +version='5.6.0' vi='' voidflags='15' xlibpth='/usr/lib/386 /lib/386' +xs_apiversion='5.6.0' zcat='' zip='zip' # Configure command line arguments. config_arg0='Configure' -config_args='-Dprefix=/opt/perl -Doptimize=-O -Dusethreads -Dcf_by=yourname -Dcf_email=yourname@yourhost.yourplace.com -Dperladmin=yourname@yourhost.yourplace.com -Dmydomain=.yourplace.com -Dmyhostname=yourhost -dE' -config_argc=9 +config_args='-Dprefix=/opt/perl -Doptimize=-O -Dusethreads -Duse64bitint -Duselargefiles -Dcf_by=yourname -Dcf_email=yourname@yourhost.yourplace.com -Dperladmin=yourname@yourhost.yourplace.com -Dmydomain=.yourplace.com -Dmyhostname=yourhost -dE' +config_argc=11 config_arg1='-Dprefix=/opt/perl' config_arg2='-Doptimize=-O' config_arg3='-Dusethreads' -config_arg4='-Dcf_by=yourname' -config_arg5='-Dcf_email=yourname@yourhost.yourplace.com' -config_arg6='-Dperladmin=yourname@yourhost.yourplace.com' -config_arg7='-Dmydomain=.yourplace.com' -config_arg8='-Dmyhostname=yourhost' -config_arg9='-dE' -PATCHLEVEL=5 -SUBVERSION=0 -CONFIG=true +config_arg4='-Duse64bitint' +config_arg5='-Duselargefiles' +config_arg6='-Dcf_by=yourname' +config_arg7='-Dcf_email=yourname@yourhost.yourplace.com' +config_arg8='-Dperladmin=yourname@yourhost.yourplace.com' +config_arg9='-Dmydomain=.yourplace.com' +config_arg10='-Dmyhostname=yourhost' +config_arg11='-dE' +PERL_REVISION=5 +PERL_VERSION=6 +PERL_SUBVERSION=0 +PERL_API_REVISION=5 +PERL_API_VERSION=5 +PERL_API_SUBVERSION=0 +CONFIGDOTSH=true +# Variables propagated from previous config.sh file. +pp_sys_cflags='ccflags="$ccflags -DNO_EFF_ONLY_OK"' diff --git a/gnu/usr.bin/perl/Porting/findvars b/gnu/usr.bin/perl/Porting/findvars index 2e81244ac86..3cdb854614d 100644 --- a/gnu/usr.bin/perl/Porting/findvars +++ b/gnu/usr.bin/perl/Porting/findvars @@ -11,15 +11,17 @@ chop $pat if $pat =~ /\|$/; # grep while (<>) { - if (/^(.*?)\b($pat)\b(.*)$/o) { - my $head = "$1#$2#"; - $_ = $3; - while (/^(.*?)\b($pat)\b(.*)$/o) { - $head .= "$1#$2#"; - $_ = $3; - } - print "$ARGV\:$.\:$head$_\n"; - } + print "$ARGV\:$.\:$_" if s/\b($pat)\b/#$1#/og; +# this variant might useful if the transformation is more complicated +# if (/^(.*?)\b($pat)\b(.*)$/o) { +# my $head = "$1#$2#"; +# $_ = $3; +# while (/^(.*?)\b($pat)\b(.*)$/o) { +# $head .= "$1#$2#"; +# $_ = $3; +# } +# print "$ARGV\:$.\:$head$_\n"; +# } } continue { close ARGV if eof; @@ -238,7 +240,6 @@ osname pad_reset_pending padix padix_floor -parsehook patchlevel patleave pending_ident diff --git a/gnu/usr.bin/perl/Porting/genlog b/gnu/usr.bin/perl/Porting/genlog index 5c3e90577e1..efb7ef8e108 100644 --- a/gnu/usr.bin/perl/Porting/genlog +++ b/gnu/usr.bin/perl/Porting/genlog @@ -12,7 +12,7 @@ # # Outputs the changelist to stdout. # -# Gurusamy Sarathy <gsar@umich.edu> +# Gurusamy Sarathy <gsar@activestate.com> # use Text::Wrap; @@ -107,8 +107,9 @@ EOT my $files = $files{$branch}{$kind}; # don't show large branches and integrations $files = ["($kind " . scalar(@$files) . ' files)'] - if (@$files > 25 - && ( $kind eq 'integrate' || $kind eq 'branch')); + if (@$files > 25 && ($kind eq 'integrate' + || $kind eq 'branch')) + || @$files > 100; print wrap(sprintf("%12s ", $editkind{$kind}), sprintf("%12s ", $editkind{$kind}), "@$files\n"); diff --git a/gnu/usr.bin/perl/Porting/p4desc b/gnu/usr.bin/perl/Porting/p4desc new file mode 100644 index 00000000000..0bf79da2e00 --- /dev/null +++ b/gnu/usr.bin/perl/Porting/p4desc @@ -0,0 +1,118 @@ +#!/usr/bin/perl -wpi.bak + +# +# Munge "p4 describe ..." output to include new files. +# +# Gurusamy Sarathy <gsar@activestate.com> +# + +use vars qw($thisfile $change $file $fnum $h $v $p4port @addfiles); + +BEGIN { + $0 =~ s|^.*/||; + $p4port = $ENV{P4PORT} || 'localhost:1666'; + for (@ARGV) { + if ($p4port =~ /^\s+$/) { + $p4port = $_; + } + elsif (/^-p(.*)$/) { + $p4port = $1 || ' '; + } + elsif (/^-v$/) { + $v++; + } + elsif (/^-h/) { + $h++; + } + else { + push @files, $_; + } + } + unless (@files) { @files = '-'; undef $^I; } + @ARGV = @files; + if ($h) { + print STDERR <<USAGE; +Usage: $0 [-p \$P4PORT] [-v] [-h] [files] + + -p host:port p4 port (e.g. myhost:1666) + -h print this help + -v output progress messages + +A smart 'cat'. When fed the spew from "p4 describe ..." on STDIN, +spits it right out on STDOUT, followed by patches for any new files +detected in the spew. Can also be used to edit insitu a bunch of +files containing said spew. + +WARNING: Currently only emits unified diffs. + +Examples: + p4 describe -du 123 | $0 > change-123.desc + p4 describe -du 123 | $0 | p4d2p > change-123.patch + +USAGE + exit(0); + } + $thisfile = ""; +} + + +if ($ARGV ne $thisfile) { + warn "processing patchfile [$ARGV]\n" unless $ARGV eq '-'; + $thisfile = $ARGV; +} + +my $cur = m|^Affected files| ... m|^Differences|; + +# while we are within range +if ($cur) { + if (m{^\.\.\. (//depot/.+?#\d+) (add|branch)$}) { + my $newfile = $1; + push @addfiles, $newfile; + warn "$newfile add, revision != 1!\n" unless $newfile =~ /#1$/; + } + warn "file [$file] line [$cur] file# [$fnum]\n" if $v; +} + +if (/^Change (\d+) by/) { + $_ = "\n\n" . $_ if $change; # start of a new change list + $change = $1; + my $new = newfiles(); + if ($new) { + $_ = $new . $_; + } +} + +if (eof) { + $_ .= newfiles(); +} + +sub newfiles { + my $addfile; + my $ret = ""; + for $addfile (@addfiles) { + my $type = `p4 -p $p4port files '$addfile'`; + if ($?) { + warn "$0: `p4 -p $p4port print '$addfile'` failed, status[$?]\n"; + next; + } + $type =~ m|^//.*\((.+)\)$| or next; + $type = $1; + unless ($type =~ /text/) { + $ret .= "\n==== $addfile ($type) ====\n\n"; + next; + } + my @new = `p4 -p $p4port print '$addfile'`; + if ($?) { + die "$0: `p4 -p $p4port print '$addfile'` failed, status[$?]\n"; + } + my $desc = shift @new; # discard initial description + $ret .= "\n==== $addfile ($type) ====\n\n"; + my $lines = "," . @new; + $lines = "" if @new < 2; + $ret .= "\@\@ -0,0 +1$lines \@\@\n"; + $ret .= join("+","",@new); + $ret .= "\n\\ No newline at end of file\n" if $ret !~ /\n$/; + } + @addfiles = (); + return $ret; +} |