Date: Mon, 13 Jul 2009 19:13:09 GMT From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 166033 for review Message-ID: <200907131913.n6DJD9Vf039858@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=166033 Change 166033 by trasz@trasz_victim on 2009/07/13 19:12:52 IFC. Affected files ... .. //depot/projects/soc2009/trasz_limits/ObsoleteFiles.inc#8 integrate .. //depot/projects/soc2009/trasz_limits/UPDATING#8 integrate .. //depot/projects/soc2009/trasz_limits/contrib/amd/amd/get_args.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/netcat/nc.1#3 integrate .. //depot/projects/soc2009/trasz_limits/contrib/ntp/scripts/mkver.in#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/sendmail/cf/sh/makeinfo.sh#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/Fixes#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/Imakefile#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/Makefile.ADMIN#2 delete .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/Makefile.in#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/README#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/RELEASE-PROCEDURE#2 delete .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/complete.tcsh#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/config.guess#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/config.h.in#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/config.rpath#1 branch .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/config.sub#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/config_f.h#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/configure#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/configure.in#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/ed.chared.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/ed.decls.h#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/ed.h#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/ed.inputl.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/ed.screen.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/ed.term.h#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/ed.xmap.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/glob.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/host.defs#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/ma.setp.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/patchlevel.h#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/sh.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/sh.char.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/sh.char.h#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/sh.decls.h#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/sh.dir.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/sh.dol.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/sh.err.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/sh.exec.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/sh.exp.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/sh.file.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/sh.func.c#3 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/sh.glob.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/sh.h#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/sh.lex.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/sh.proc.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/sh.proc.h#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/sh.sem.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/sh.set.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/snames.h#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/tc.bind.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/tc.const.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/tc.decls.h#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/tc.func.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/tc.os.h#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/tc.sig.h#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/tc.str.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/tcsh.man#3 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/tw.color.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/tw.comp.c#2 integrate .. //depot/projects/soc2009/trasz_limits/contrib/tcsh/tw.parse.c#2 integrate .. //depot/projects/soc2009/trasz_limits/etc/ntp.conf#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/gen/Makefile.inc#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/gen/ftok.3#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/gen/msgctl.3#3 delete .. //depot/projects/soc2009/trasz_limits/lib/libc/gen/msgget.3#2 delete .. //depot/projects/soc2009/trasz_limits/lib/libc/gen/msgrcv.3#2 delete .. //depot/projects/soc2009/trasz_limits/lib/libc/gen/msgsnd.3#2 delete .. //depot/projects/soc2009/trasz_limits/lib/libc/stdio/fread.c#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/stdio/fwrite.c#2 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/sys/Makefile.inc#5 integrate .. //depot/projects/soc2009/trasz_limits/lib/libc/sys/msgctl.2#1 branch .. //depot/projects/soc2009/trasz_limits/lib/libc/sys/msgget.2#1 branch .. //depot/projects/soc2009/trasz_limits/lib/libc/sys/msgrcv.2#1 branch .. //depot/projects/soc2009/trasz_limits/lib/libc/sys/msgsnd.2#1 branch .. //depot/projects/soc2009/trasz_limits/sbin/ifconfig/ifconfig.8#3 integrate .. //depot/projects/soc2009/trasz_limits/sbin/ifconfig/ifieee80211.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sbin/ifconfig/ifmedia.c#3 integrate .. //depot/projects/soc2009/trasz_limits/secure/lib/libcrypto/Makefile#3 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man4/Makefile#7 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man4/aac.4#2 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man4/ath.4#4 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man4/ieee80211.4#2 delete .. //depot/projects/soc2009/trasz_limits/share/man/man4/mwl.4#2 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man4/net80211.4#1 branch .. //depot/projects/soc2009/trasz_limits/share/man/man4/pcm.4#5 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man4/ral.4#3 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man4/wlan.4#3 integrate .. //depot/projects/soc2009/trasz_limits/share/man/man9/Makefile#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/amd64/amd64/pmap.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/amd64/conf/GENERIC#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/amd64/include/pmap.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/amd64/include/vm.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/arm/include/pmap.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/arm/include/vm.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/cam/ata/ata_xpt.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/cddl/contrib/opensolaris/common/nvpair/nvpair.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/conf/NOTES#8 integrate .. //depot/projects/soc2009/trasz_limits/sys/conf/files#10 integrate .. //depot/projects/soc2009/trasz_limits/sys/conf/options#8 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/compiler/aslcompile.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/contrib/dev/acpica/compiler/aslutils.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/aac/aac_disk.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ata/chipsets/ata-marvell.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ath/if_ath.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ath/if_athvar.h#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/hptrr/hptrr_config.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/mwl/if_mwl.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ral/rt2560.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/ral/rt2661.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/sound/usb/uaudio.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/dev/usb/usb_busdma.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/fs/nfs/nfs_commonkrpc.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/fs/nfsclient/nfs_clvnops.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/i386/conf/GENERIC#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/i386/i386/pmap.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/i386/include/pmap.h#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/i386/include/vm.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/i386/xen/pmap.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/ia64/ia64/pmap.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/ia64/include/pmap.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/ia64/include/vm.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/kern/kern_mbuf.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/mips/include/pmap.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/mips/include/vm.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/net/if_media.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/net/route.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/_ieee80211.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211.c#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211.h#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_action.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_ddb.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_freebsd.h#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_hwmp.c#1 branch .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_input.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_ioctl.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_ioctl.h#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_mesh.c#1 branch .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_mesh.h#1 branch .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_node.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_node.h#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_output.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_proto.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_proto.h#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_scan.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_scan.h#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_scan_sta.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/net80211/ieee80211_var.h#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet/tcp_offload.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet/tcp_sack.c#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet/tcp_syncache.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet/tcp_syncache.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet/tcp_var.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/netinet6/in6.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/nfs/nfs_common.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/pc98/conf/GENERIC#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/powerpc/aim/mmu_oea64.c#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/powerpc/include/pmap.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/powerpc/include/vm.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/sparc64/conf/GENERIC#7 integrate .. //depot/projects/soc2009/trasz_limits/sys/sparc64/include/pmap.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/sparc64/include/vm.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/sun4v/conf/GENERIC#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/sun4v/include/pmap.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/sun4v/include/vm.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/sun4v/sun4v/pmap.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/sys/param.h#9 integrate .. //depot/projects/soc2009/trasz_limits/sys/vm/device_pager.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/vm/pmap.h#2 integrate .. //depot/projects/soc2009/trasz_limits/sys/vm/vm.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/vm/vm_contig.c#6 integrate .. //depot/projects/soc2009/trasz_limits/sys/vm/vm_extern.h#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/vm/vm_map.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/vm/vm_object.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/vm/vm_object.h#4 integrate .. //depot/projects/soc2009/trasz_limits/sys/vm/vm_page.c#5 integrate .. //depot/projects/soc2009/trasz_limits/sys/vm/vm_phys.c#3 integrate .. //depot/projects/soc2009/trasz_limits/sys/vm/vm_phys.h#3 integrate .. //depot/projects/soc2009/trasz_limits/tools/regression/poll/4/pipepoll.out#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/poll/4/pipeselect.out#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/poll/7/pipepoll.out#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/poll/7/pipeselect.out#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/poll/Makefile#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/poll/Readme#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/poll/l/pipepoll.out#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/poll/l/pipeselect.out#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/poll/m/pipepoll.out#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/poll/m/pipeselect.out#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/poll/n/pipepoll.out#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/poll/n/pipeselect.out#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/poll/pipepoll.c#1 branch .. //depot/projects/soc2009/trasz_limits/tools/regression/poll/pipeselect.c#1 branch .. //depot/projects/soc2009/trasz_limits/tools/tools/nanobsd/gateworks/G2348#2 integrate .. //depot/projects/soc2009/trasz_limits/tools/tools/nanobsd/gateworks/G2358#3 integrate .. //depot/projects/soc2009/trasz_limits/tools/tools/net80211/scripts/config#2 integrate .. //depot/projects/soc2009/trasz_limits/tools/tools/net80211/scripts/mesh/common#1 branch .. //depot/projects/soc2009/trasz_limits/tools/tools/net80211/scripts/mesh/config.mesh#1 branch .. //depot/projects/soc2009/trasz_limits/tools/tools/net80211/scripts/mesh/setup.simple#1 branch .. //depot/projects/soc2009/trasz_limits/tools/tools/net80211/scripts/mesh/topology.line#1 branch .. //depot/projects/soc2009/trasz_limits/tools/tools/net80211/scripts/mesh/topology.ring#1 branch .. //depot/projects/soc2009/trasz_limits/tools/tools/net80211/scripts/mesh/topology.star#1 branch .. //depot/projects/soc2009/trasz_limits/tools/tools/net80211/scripts/mesh/topology.tree#1 branch .. //depot/projects/soc2009/trasz_limits/tools/tools/net80211/wlanstats/wlanstats.c#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.sbin/wpa/hostapd/hostapd.8#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.sbin/wpa/hostapd/hostapd.conf.5#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.sbin/wpa/hostapd_cli/hostapd_cli.8#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.sbin/wpa/wpa_cli/wpa_cli.8#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.sbin/wpa/wpa_passphrase/wpa_passphrase.8#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8#2 integrate .. //depot/projects/soc2009/trasz_limits/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5#2 integrate Differences ... ==== //depot/projects/soc2009/trasz_limits/ObsoleteFiles.inc#8 (text+ko) ==== @@ -1,5 +1,5 @@ # -# $FreeBSD: src/ObsoleteFiles.inc,v 1.199 2009/07/01 07:37:21 dfr Exp $ +# $FreeBSD: src/ObsoleteFiles.inc,v 1.200 2009/07/13 12:53:43 trasz Exp $ # # This file lists old files (OLD_FILES), libraries (OLD_LIBS) and # directories (OLD_DIRS) which should get removed at an update. Recently @@ -14,6 +14,11 @@ # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last. # +# 20090709: msgctl.3 msgget.3 msgrcv.3 msgsnd.3 manual pages moved +OLD_FILES+=usr/share/man/man3/msgctl.3.gz +OLD_FILES+=usr/share/man/man3/msgget.3.gz +OLD_FILES+=usr/share/man/man3/msgrcv.3.gz +OLD_FILES+=usr/share/man/man3/msgsnd.3.gz # 20090630: old kernel RPC implementation removal OLD_FILES+=usr/include/nfs/rpcv2.h # 20090624: update usbdi(9) ==== //depot/projects/soc2009/trasz_limits/UPDATING#8 (text+ko) ==== @@ -22,6 +22,20 @@ to maximize performance. (To disable malloc debugging, run ln -s aj /etc/malloc.conf.) +20090713: + The TOE interface to the TCP syncache has been modified to remove struct + tcpopt (<netinet/tcp_var.h>) from the ABI of the network stack. The + cxgb driver is the only TOE consumer affected by this change, and needs + to be recompiled along with the kernel. As this change breaks the ABI, + bump __FreeBSD_version to 800103. + +20090712: + Padding has been added to struct tcpcb, sackhint and tcpstat in + <netinet/tcp_var.h> to facilitate future MFCs and bug fixes whilst + maintainig the ABI. However, this change breaks the ABI, so bump + __FreeBSD_version to 800102. User space tools that rely on the size of + any of these structs (e.g. sockstat) need to be recompiled. + 20090630: The NFS_LEGACYRPC option has been removed along with the old kernel RPC implementation that this option selected. Kernel @@ -1641,4 +1655,4 @@ Contact Warner Losh if you have any questions about your use of this document. -$FreeBSD: src/UPDATING,v 1.627 2009/07/01 18:12:50 dfr Exp $ +$FreeBSD: src/UPDATING,v 1.629 2009/07/13 11:51:02 lstewart Exp $ ==== //depot/projects/soc2009/trasz_limits/contrib/amd/amd/get_args.c#2 (text+ko) ==== @@ -96,8 +96,8 @@ xsnprintf(tmpbuf, sizeof(tmpbuf), "Configured by %s@%s on date %s.\n", USER_NAME, HOST_NAME, CONFIG_DATE); strlcat(vers, tmpbuf, len); - xsnprintf(tmpbuf, sizeof(tmpbuf), "Built by %s@%s on date %s.\n", - BUILD_USER, BUILD_HOST, BUILD_DATE); + xsnprintf(tmpbuf, sizeof(tmpbuf), "Built by %s@%s.\n", + BUILD_USER, BUILD_HOST); strlcat(vers, tmpbuf, len); xsnprintf(tmpbuf, sizeof(tmpbuf), "cpu=%s (%s-endian), arch=%s, karch=%s.\n", cpu, endian, gopt.arch, gopt.karch); ==== //depot/projects/soc2009/trasz_limits/contrib/netcat/nc.1#3 (text+ko) ==== @@ -25,9 +25,9 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $FreeBSD: src/contrib/netcat/nc.1,v 1.13 2009/05/29 07:18:31 delphij Exp $ +.\" $FreeBSD: src/contrib/netcat/nc.1,v 1.14 2009/07/11 17:35:55 cperciva Exp $ .\" -.Dd $Mdocdate: May 6 2008 $ +.Dd May 6 2008 .Dt NC 1 .Os .Sh NAME ==== //depot/projects/soc2009/trasz_limits/contrib/ntp/scripts/mkver.in#2 (text+ko) ==== @@ -17,8 +17,6 @@ *) ConfStr="${ConfStr}-?" ;; esac -ConfStr="$ConfStr `LC_TIME=C TZ= date`" - if [ ! -f .version ]; then echo 0 > .version fi ==== //depot/projects/soc2009/trasz_limits/contrib/sendmail/cf/sh/makeinfo.sh#2 (text+ko) ==== @@ -13,7 +13,7 @@ # # $Id: makeinfo.sh,v 8.14 1999/02/07 07:26:25 gshapiro Exp $ # -# $FreeBSD: src/contrib/sendmail/cf/sh/makeinfo.sh,v 1.7 2002/06/11 21:16:35 gshapiro Exp $ +# $FreeBSD: src/contrib/sendmail/cf/sh/makeinfo.sh,v 1.8 2009/07/11 22:30:37 cperciva Exp $ # usewhoami=0 @@ -54,7 +54,7 @@ else host=`uname -n` fi -echo '#####' built by $user@$host on `LC_ALL=C LC_TIME=C date` +echo '#####' built by $user@$host echo '#####' in `pwd` | sed 's/\/tmp_mnt//' echo '#####' using $1 as configuration include directory | sed 's/\/tmp_mnt//' echo "define(\`__HOST__', $host)dnl" ==== //depot/projects/soc2009/trasz_limits/contrib/tcsh/Fixes#2 (text+ko) ==== @@ -1,3 +1,74 @@ + 21. V6.17.00 - 20090710 + 20. Fix dataroot autoconf issue. + 19. Fix directory stuff for unit tests. + 18. Fix small bug in history in loops. + 17. Provide newer config.{guess,sub} + 16. Fix gcc 4 warnings. + 15. Fix memory trashing bug introduced in 10. + 14. V6.16.01 - 20090624 + 13. add missing sigemptyset in goodbye() + 12. add rlimit swapsize from FreeBSD. + 11. restore behavior where a[n-] never prints an error. + 10. always save the whole command, not just the first 80 chars of it. + 9. fix short2str/short2qstr length adjustment in wide chars + (Vitezslav Crhonek) + 8. set histfile=/tmp/history.temp; set savehist=(100 merge); + alias precmd history -S. After that justpr is not restored and commands + don't execute. (Andriy Gapon) + 7. Fix "as" $ modifier from corrupting memory. + set t=demfonsftraftionf; echo $t:as/f// + 6. Make $% work with environment variable (Ron Johnston) + 5. Dragonfly script support (Matthias Schmidt, m65) + 4. Add autoexpand=onlyhistory (Don Estabrook, m66) + 3. Add history in loops (Laurence Darby, m48) + 2. Add missing colorls "rs" variable (Shlomi Fish, m70) + 1. Fix pts detection issue (Ruslan Ermilov) + + 33. V6.16.00 - 20080930 + 32. longjmp clobbered variable fixes. + 31. __GNX__ addition + 30. Windows fork fixes + 28. V6.15.02 - 20080830 + 27. Fix an eval free'ing botch (Per Hedeland) + 26. /bin/echo "`" coredumped because stderror() calls longjmp corrupting + the stack (Mark Davies). We should vet the code for all stderror() + calls that cleanup local stack variables. + 25. foo > ${undef} caused coredumps because of vfork() child corrupting + the state of the parent stack. + 24. $x[A-B] did not complain for A out of range. (Cai Xianchao) + 23. rename setp -> tcsh_setp to avoid conflict with mach (Javier Vasquez) + 22. Fix degree handling by defining __XPG4_CHAR_CLASS__ for solaris + (Mike Sullivan) + 21. Change 'od' to 'od -c' in tests so that they work on big endian machines. + (Martin Kraemer) + 20. Add environment variable COMMAND_LINE to be available in completions + (Marcin Konarski) + 19. V6.15.01 - 20070928 + 18. Evaluate expressions in the proper order (Li Zefan), controlled by + compat_expr. + 17. Don't need to flush() if we are silent. Prevents recursive error issue. + (joshua stein) + 16. Don't execute the jobcmd if the output is not a tty (Charles Ross) + 15. Quote the history in the examples (Johann 'Myrkraverk' Oskarsson) + 14. Mismatch clarification patch (Per Hedeland) + 13. Fix 'repeat n cmd &' abort() (Mike Sullivan) + 12. Fix octal parsing (Li Zefan) + 11. Fix pty detection for autologout setting (Kris Kennaway, Giorgos Keramidas) + 10. kill `foo` got stuck because sigchld was disabled too soon (Mark Peek) + 9. Avoid null pointer dereference in proc cwd (Kurt Miller) + 8. eval "foreach a b c" exits (Anthony Menasse) + 7. Quoting was broken in substitutions (Joe Wells) + 6. QNX patches via pkgsrc + 5. cd - twice from a directory that contained a glob pattern, + expands the glob twice (Mark Santcroos) + 4. MidnightBsd support (Lucas Holt) + 3. Fix history substitution core-dump with no history entries + 2. Merge two character tables that are the same (Martin Kraemer) + 1. On ancient 7 bit locales, punctuation characters are used to + denote special characters such as umlaut, adiaresis, etc. + These characters return true for isalpha/isalnum. Ignore them + because they break parsing (Martin Kraemer) + 74. V6.15.00 - 20070303 73. fix extension eating windows code (christos) 72. fix loop in %R history expansion (christos) ==== //depot/projects/soc2009/trasz_limits/contrib/tcsh/Imakefile#2 (text+ko) ==== @@ -1,5 +1,5 @@ XCOMM -XCOMM $tcsh: Imakefile,v 1.85 2006/03/02 18:46:44 christos Exp $ +XCOMM $tcsh: Imakefile,v 1.86 2007/03/19 23:25:02 christos Exp $ XCOMM XCOMM Imakefile for tcsh 6.12 XCOMM Marc Horowitz, MIT SIPB @@ -211,6 +211,10 @@ # define ConfigH bsd4.4 # endif /* FreeBsdArchitecture */ +# ifdef MidnightBSDArchitecture +# define ConfigH bsd4.4 +# endif /* MidnightBsdArchitecture */ + # ifdef i386SVR4Architecture # define ConfigH sysv4 # ifdef DELL ==== //depot/projects/soc2009/trasz_limits/contrib/tcsh/Makefile.in#2 (text+ko) ==== @@ -1,4 +1,4 @@ -# $tcsh: Makefile.in,v 3.36 2006/08/24 20:56:31 christos Exp $ +# $tcsh: Makefile.in,v 3.40 2009/06/24 22:09:05 christos Exp $ # Makefile.in 4.3 6/11/83 # # C Shell with process control; VM/UNIX VAX Makefile @@ -248,7 +248,7 @@ # The -B tells gcc to use /bin/ld. This is to avoid using the gnu ld, which # on the suns does not know how to make dynamically linked binaries. CC = @CC@ # This is set by autoconf. -#CC= gcc -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Werror -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wsign-compare -Wcast-qual -Wreturn-type -Wswitch -Wshadow -Wwrite-strings +#CC= gcc -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Werror -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wsign-compare -Wcast-qual -Wreturn-type -Wswitch -Wshadow -Wwrite-strings -Wextra #CC= gcc -Wall -pipe -B/bin/ # -ansi -pedantic #CC= gcc -m486 -pipe -Wall # Generate code for Intel 486 (linux) #CC= shlicc # BSDI2.1 w/ shared libraries @@ -278,7 +278,7 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ bindir=@bindir@ -mandir=@mandir@ +mandir=@datarootdir@/man MANSECT=1 DESTBIN=${DESTDIR}${bindir} DESTMAN=${DESTDIR}${mandir}/man${MANSECT} @@ -463,7 +463,7 @@ echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \ } >$(srcdir)/tests/package.m4 -$(srcdir)/tests/testsuite: tests/package.m4 tests/testsuite.at $(TESTFILES) +$(srcdir)/tests/testsuite: $(srcdir)/tests/package.m4 $(srcdir}/tests/testsuite.at $(TESTFILES) autom4te --language=autotest -I $(srcdir)/tests \ $(srcdir)/tests/testsuite.at -o $@.tmp mv $@.tmp $@ @@ -531,11 +531,16 @@ cp ${srcdir}/WishList ${srcdir}/Y2K ${DESTDIR}${prefix}/share/doc/tcsh perl ${srcdir}/tcsh.man2html ${srcdir}/tcsh.man cp -rp tcsh.html ${DESTDIR}${prefix}/share/doc/tcsh + -mkdir -p ${DESTDIR}/etc/defaults/etc/profile.d -mkdir -p ${DESTDIR}/etc/profile.d -mkdir -p ${DESTDIR}/etc/postinstall - cp -p ${srcdir}/cygwin/etc/csh.* ${DESTDIR}/etc - cp -p ${srcdir}/cygwin/etc/profile.d/*.tcsh ${DESTDIR}/etc/profile.d - cp -p ${srcdir}/cygwin/etc/postinstall/tcsh.sh ${DESTDIR}/etc/postinstall + -mkdir -p ${DESTDIR}/etc/preremove + cp -p ${srcdir}/cygwin/csh.cshrc ${DESTDIR}/etc/defaults/etc + cp -p ${srcdir}/cygwin/csh.login ${DESTDIR}/etc/defaults/etc + cp -p ${srcdir}/cygwin/bindkey.tcsh ${DESTDIR}/etc/defaults/etc/profile.d + cp -p ${srcdir}/complete.tcsh ${DESTDIR}/etc/defaults/etc/profile.d + cp -p ${srcdir}/cygwin/postinstall.sh ${DESTDIR}/etc/postinstall/tcsh.sh + cp -p ${srcdir}/cygwin/preremove.sh ${DESTDIR}/etc/preremove/tcsh.sh # Amiga Unix #install.man: tcsh.man ==== //depot/projects/soc2009/trasz_limits/contrib/tcsh/README#2 (text+ko) ==== @@ -1,4 +1,4 @@ -This is tcsh version 6.15. Tcsh is a version of the Berkeley +This is tcsh version 6.17.00. Tcsh is a version of the Berkeley C-Shell, with the addition of: a command line editor, command and file name completion, listing, etc. and a bunch of small additions to the shell itself. ==== //depot/projects/soc2009/trasz_limits/contrib/tcsh/complete.tcsh#2 (text+ko) ==== @@ -1,5 +1,5 @@ # -# $tcsh: complete.tcsh,v 1.47 2006/03/02 18:46:44 christos Exp $ +# $tcsh: complete.tcsh,v 1.51 2007/10/01 21:51:59 christos Exp $ # example file using the new completion code # # Debian GNU/Linux @@ -38,18 +38,18 @@ if ($?_complete) then set noglob if ( ! $?hosts ) set hosts - foreach f ($HOME/.hosts /usr/local/etc/csh.hosts $HOME/.rhosts /etc/hosts.equiv) - if ( -r $f ) then - set hosts = ($hosts `grep -v "+" $f | grep -E -v "^#" | tr -s " " " " | cut -f 1`) + foreach f ("$HOME/.hosts" /usr/local/etc/csh.hosts "$HOME/.rhosts" /etc/hosts.equiv) + if ( -r "$f" ) then + set hosts = ($hosts `grep -v "+" "$f" | grep -E -v "^#" | tr -s " " " " | cut -f 1`) endif end - if ( -r $HOME/.netrc ) then - set f=`awk '/machine/ { print $2 }' < $HOME/.netrc` >& /dev/null + if ( -r "$HOME/.netrc" ) then + set f=`awk '/machine/ { print $2 }' < "$HOME/.netrc"` >& /dev/null set hosts=($hosts $f) endif - if ( -r $HOME/.ssh/known_hosts ) then - set f=`cat $HOME/.ssh/known_hosts | cut -f 1 -d \ ` >& /dev/null - set f=`cat $HOME/.ssh/known_hosts | cut -f 1 -d \ | sed -e 's/,/ /g'` >& /dev/null + if ( -r "$HOME/.ssh/known_hosts" ) then + set f=`cat "$HOME/.ssh/known_hosts" | cut -f 1 -d \ ` >& /dev/null + set f=`cat "$HOME/.ssh/known_hosts" | cut -f 1 -d \ | sed -e 's/,/ /g'` >& /dev/null set hosts=($hosts $f) endif unset f @@ -224,7 +224,7 @@ # these should be merged with the MH completion hacks below - jgotts complete {refile,sprev,snext,scan,pick,rmm,inc,folder,show} \ - c@+@F:$HOME/Mail/@ + "c@+@F:$HOME/Mail/@" # these and interrupt handling from Jaap Vermeulen <jaap@sequent.com> complete {rexec,rxexec,rxterm,rmterm} \ @@ -286,7 +286,7 @@ complete setenv 'p/1/e/' 'c/*:/f/' # these and method of setting hosts from Kimmo Suominen <kim@tac.nyc.ny.us> - if ( -f $HOME/.mh_profile && -x "`which folders`" ) then + if ( -f "$HOME/.mh_profile" && -x "`which folders`" ) then if ( ! $?FOLDERS ) setenv FOLDERS "`folders -fast -recurse`" if ( ! $?MHA ) setenv MHA "`ali | sed -e '/^ /d' -e 's/:.*//'`" @@ -505,6 +505,19 @@ logout rdiff release remove rtag status tag unedit \ update watch watchers)/' 'n/-a/(edit unedit commit \ all none)/' 'n/watch/(on off add remove)/' + complete svn 'C@file:///@`'"${HOME}/etc/tcsh/complete.d/svn"'`@@' \ + 'n@ls@(file:/// svn+ssh:// svn://)@@' \ + 'n@help@(add blame cat checkout \ + cleanup commit copy delete export help \ + import info list ls lock log merge mkdir \ + move propdel propedit propget proplist \ + propset resolved revert status switch unlock \ + update)@' 'p@1@(add blame cat checkout \ + cleanup commit copy delete export help \ + import info list ls lock log merge mkdir \ + move propdel propedit propget proplist \ + propset resolved revert status switch unlock \ + update)@' complete cxx 'p/*/f:*.{c++,cxx,c,cc,C,cpp}/' complete detex 'p/*/f:*.tex/' complete edquota 'n/*/u/' @@ -591,14 +604,14 @@ flush-logs flush-status flush-tables flush-privileges \ kill password ping processlist reload refresh \ shutdown status variables version)/' - complete mutt c@-f=@F:${HOME}/Mail/@ \ + complete mutt "c@-f=@F:${HOME}/Mail/@" \ n/-a/f/ \ n/-F/f/ n/-H/f/ \ n/-s/x:'<subject line>'/ \ n/-e/x:'<command>'/ \ - n@-b@'`cat ${HOME}/.muttrc-alias | awk '"'"'{print $2 }'"'"\`@ \ - n@-c@'`cat ${HOME}/.muttrc-alias | awk '"'"'{print $2 }'"'"\`@ \ - n@*@'`cat ${HOME}/.muttrc-alias | awk '"'"'{print $2 }'"'"\`@ + n@-b@'`cat "${HOME}/.muttrc-alias" | awk '"'"'{print $2 }'"'"\`@ \ + n@-c@'`cat "${HOME}/.muttrc-alias" | awk '"'"'{print $2 }'"'"\`@ \ + n@*@'`cat "${HOME}/.muttrc-alias" | awk '"'"'{print $2 }'"'"\`@ complete ndc 'n/*/(status dumpdb reload stats trace notrace \ querylog start stop restart )/' if ($?traditional_complete) then @@ -711,14 +724,15 @@ complete unsetenv n/*/e/ set _maildir = /var/mail - if (-r $HOME/.mailrc) then + if (-r "$HOME/.mailrc") then complete mail c/-/"(e i f n s u v)"/ c/*@/\$hosts/ \ - c@+@F:$HOME/Mail@ C@[./\$~]@f@ n/-s/x:'<subject>'/ \ + "c@+@F:$HOME/Mail@" C@[./\$~]@f@ n/-s/x:'<subject>'/ \ n@-u@T:$_maildir@ n/-f/f/ \ - n@*@'`sed -n s/alias//p $HOME/.mailrc | tr -s " " " " | cut -f 2`'@ + n@*@'`sed -n s/alias//p "$HOME/.mailrc" | \ + tr -s " " " " | cut -f 2`'@ else complete mail c/-/"(e i f n s u v)"/ c/*@/\$hosts/ \ - c@+@F:$HOME/Mail@ C@[./\$~]@f@ n/-s/x:'<subject>'/ \ + "c@+@F:$HOME/Mail@" C@[./\$~]@f@ n/-s/x:'<subject>'/ \ n@-u@T:$_maildir@ n/-f/f/ n/*/u/ endif unset _maildir @@ -1029,23 +1043,41 @@ N/{-C,--directory}/'`\ls $:-1`'/ \ n/-[0-7]/"(l m h)"/ - # Linux filesystems - complete mount c/-/"(a f F h l n o r s t U v V w)"/ n/-[hV]/n/ \ - n/-o/x:'<options>'/ n/-t/x:'<vfstype>'/ \ - n/-L/x:'<label>'/ n/-U/x:'<uuid>'/ \ - n@*@'`grep -v "^#" /etc/fstab | tr -s " " " " | cut -f 2`'@ - complete umount c/-/"(a h n r t v V)"/ n/-t/x:'<vfstype>'/ \ - n/*/'`mount | cut -d " " -f 3`'/ - # Solaris filesystems - #complete mount c/-/"(a F m o O p r v V)"/ n/-p/n/ n/-v/n/ \ - # n/-o/x:'<FSType_options>'/ \ - # n@-F@'`\ls -1 /usr/lib/fs`'@ \ - # n@*@'`grep -v "^#" /etc/vfstab | tr -s " " " " | cut -f 3`'@ - #complete umount c/-/"(a o V)"/ n/-o/x:'<FSType_options>'/ \ - # n/*/'`mount | cut -d " " -f 1`'/ - #complete mountall c/-/"(F l r)"/ n@-F@'`\ls -1 /usr/lib/fs`'@ - #complete umountall c/-/"(F h k l r s)"/ n@-F@'`\ls -1 /usr/lib/fs`'@ \ - # n/-h/'`df -k | cut -s -d ":" -f 1 | sort -u`'/ + switch ( "$OSTYPE" ) + case "linux": + # Linux filesystems + complete mount c/-/"(a f F h l n o r s t U v V w)"/ n/-[hV]/n/ \ + n/-o/x:'<options>'/ n/-t/x:'<vfstype>'/ \ + n/-L/x:'<label>'/ n/-U/x:'<uuid>'/ \ + n@*@'`grep -v "^#" /etc/fstab | tr -s " " " " | cut -f 2`'@ + complete umount c/-/"(a h n r t v V)"/ n/-t/x:'<vfstype>'/ \ + n/*/'`mount | cut -d " " -f 3`'/ + breaksw + case "sunos*": + case "solaris": + # Solaris filesystems + complete mount c/-/"(a F m o O p r v V)"/ n/-p/n/ n/-v/n/ \ + n/-o/x:'<FSType_options>'/ \ + n@-F@'`\ls -1 /usr/lib/fs`'@ \ + n@*@'`grep -v "^#" /etc/vfstab | tr -s " " " " | cut -f 3`'@ + complete umount c/-/"(a o V)"/ n/-o/x:'<FSType_options>'/ \ + n/*/'`mount | cut -d " " -f 1`'/ + complete mountall c/-/"(F l r)"/ n@-F@'`\ls -1 /usr/lib/fs`'@ + complete umountall c/-/"(F h k l r s)"/ n@-F@'`\ls -1 /usr/lib/fs`'@ \ + n/-h/'`df -k | cut -s -d ":" -f 1 | sort -u`'/ + breaksw + case "cygwin": + # Cygwin mounts + complete mount c/-/"(b c f h m o p s t u v x E X)"/ n/-[hmpv]/n/ \ + n/-c/x:'/'/ \ + n/-o/"(user system binary text exec notexec cygexec nosuid managed)"/ \ + n@*@'`mount -p | tail -1 | cut -d " " -f 1 | xargs ls -1 | awk '"'"'{print $1":/"; } END{print "//";}'"'"'`'@ + complete umount c/-/"(A c h s S u U v)"/ n/-[AhSUv]/n/ \ + n@*@'`mount | grep -v noumount | cut -d " " -f 3`'@ + breaksw + default: + breaksw + endsw # these deal with NIS (formerly YP); if it's not running you don't need 'em if (-X domainname) then ==== //depot/projects/soc2009/trasz_limits/contrib/tcsh/config.guess#2 (text+ko) ==== @@ -1,9 +1,10 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 +# Free Software Foundation, Inc. -timestamp='2002-07-09' +timestamp='2009-06-10' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -17,13 +18,15 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. + # Originally written by Per Bothner <per@bothner.com>. # Please send patches to <config-patches@gnu.org>. Submit a context # diff and a properly formatted ChangeLog entry. @@ -53,8 +56,8 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -Free Software Foundation, Inc. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -66,11 +69,11 @@ while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) - echo "$timestamp" ; exit 0 ;; + echo "$timestamp" ; exit ;; --version | -v ) - echo "$version" ; exit 0 ;; + echo "$version" ; exit ;; --help | --h* | -h ) - echo "$usage"; exit 0 ;; + echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. @@ -98,30 +101,32 @@ # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. -# This shell variable is my proudest work .. or something. --bje +# Portable tmp directory creation inspired by the Autoconf team. -set_cc_for_build='tmpdir=${TMPDIR-/tmp}/config-guess-$$ ; -(old=`umask` && umask 077 && mkdir $tmpdir && umask $old && unset old) - || (echo "$me: cannot create $tmpdir" >&2 && exit 1) ; -dummy=$tmpdir/dummy ; -files="$dummy.c $dummy.o $dummy.rel $dummy" ; -trap '"'"'rm -f $files; rmdir $tmpdir; exit 1'"'"' 1 2 15 ; +set_cc_for_build=' +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; +: ${TMPDIR=/tmp} ; + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; +dummy=$tmp/dummy ; +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do - if ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; then + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; - rm -f $files ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; -esac ; -unset files' +esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) @@ -156,6 +161,7 @@ arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; + sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched @@ -164,7 +170,7 @@ arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep __ELF__ >/dev/null + | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? @@ -178,141 +184,128 @@ ;; esac # The OS release - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "${UNAME_VERSION}" in + Debian*) + release='-gnu' + ;; + *) + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + ;; + esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" - exit 0 ;; - amiga:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - arc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - hp300:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mac68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - macppc:OpenBSD:*:*) - echo powerpc-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme88k:OpenBSD:*:*) - echo m88k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvmeppc:OpenBSD:*:*) - echo powerpc-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - pmax:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sgi:OpenBSD:*:*) - echo mipseb-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sun3:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - wgrisc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; + exit ;; *:OpenBSD:*:*) - echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} + exit ;; + *:ekkoBSD:*:*) + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} + exit ;; + *:SolidBSD:*:*) + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} + exit ;; + macppc:MirBSD:*:*) + echo powerpc-unknown-mirbsd${UNAME_RELEASE} + exit ;; + *:MirBSD:*:*) + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} + exit ;; alpha:OSF1:*:*) - if test $UNAME_RELEASE = "V4.0"; then + case $UNAME_RELEASE in + *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` - fi + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE="alpha" ;; + "EV4.5 (21064)") + UNAME_MACHINE="alpha" ;; + "LCA4 (21066/21068)") + UNAME_MACHINE="alpha" ;; + "EV5 (21164)") + UNAME_MACHINE="alphaev5" ;; + "EV5.6 (21164A)") + UNAME_MACHINE="alphaev56" ;; + "EV5.6 (21164PC)") + UNAME_MACHINE="alphapca56" ;; + "EV5.7 (21164PC)") + UNAME_MACHINE="alphapca57" ;; + "EV6 (21264)") + UNAME_MACHINE="alphaev6" ;; + "EV6.7 (21264A)") + UNAME_MACHINE="alphaev67" ;; + "EV6.8CB (21264C)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8AL (21264B)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8CX (21264D)") + UNAME_MACHINE="alphaev68" ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE="alphaev69" ;; + "EV7 (21364)") + UNAME_MACHINE="alphaev7" ;; + "EV7.9 (21364A)") + UNAME_MACHINE="alphaev79" ;; + esac + # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. - cat <<EOF >$dummy.s - .data -\$Lformat: - .byte 37,100,45,37,120,10,0 # "%d-%x\n" - - .text - .globl main - .align 4 - .ent main -main: - .frame \$30,16,\$26,0 - ldgp \$29,0(\$27) - .prologue 1 - .long 0x47e03d80 # implver \$0 - lda \$2,-1 - .long 0x47e20c21 # amask \$2,\$1 - lda \$16,\$Lformat - mov \$0,\$17 - not \$1,\$18 - jsr \$26,printf - ldgp \$29,0(\$26) - mov 0,\$16 - jsr \$26,exit - .end main -EOF - eval $set_cc_for_build - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null - if test "$?" = 0 ; then - case `$dummy` in - 0-0) - UNAME_MACHINE="alpha" - ;; - 1-0) - UNAME_MACHINE="alphaev5" - ;; - 1-1) - UNAME_MACHINE="alphaev56" - ;; - 1-101) - UNAME_MACHINE="alphapca56" - ;; - 2-303) - UNAME_MACHINE="alphaev6" - ;; - 2-307) - UNAME_MACHINE="alphaev67" - ;; - 2-1307) - UNAME_MACHINE="alphaev68" - ;; - esac - fi - rm -f $dummy.s $dummy && rmdir $tmpdir - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - exit 0 ;; + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + exit ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix - exit 0 ;; + exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 - exit 0 ;; + exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 - exit 0;; + exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos - exit 0 ;; + exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos - exit 0 ;; + exit ;; >>> TRUNCATED FOR MAIL (1000 lines) <<<
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907131913.n6DJD9Vf039858>