Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/riastradh-drm2]: src sync with HEAD



details:   https://anonhg.NetBSD.org/src/rev/da20919a3791
branches:  riastradh-drm2
changeset: 787989:da20919a3791
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Jul 23 21:07:19 2013 +0000

description:
sync with HEAD

diffstat:

 bin/hostname/hostname.1                                                |     34 +-
 bin/hostname/hostname.c                                                |    124 +-
 build.sh                                                               |      5 +-
 common/lib/libc/arch/m68k/atomic/Makefile.inc                          |      6 +-
 common/lib/libc/arch/m68k/gen/bswap16.S                                |     15 +-
 common/lib/libc/arch/m68k/gen/bswap32.S                                |     18 +-
 common/lib/libc/arch/m68k/gen/bswap64.S                                |     25 +-
 common/lib/libc/arch/m68k/string/bcmp.S                                |     56 +-
 common/lib/libc/arch/m68k/string/bcopy.S                               |     28 +-
 common/lib/libc/arch/m68k/string/bzero.S                               |     18 +-
 common/lib/libc/arch/m68k/string/ffs.S                                 |     23 +-
 common/lib/libc/arch/m68k/string/memcmp.S                              |     26 +-
 common/lib/libc/arch/m68k/string/memset.S                              |     33 +-
 common/lib/libc/arch/m68k/string/strcmp.S                              |     35 +-
 common/lib/libc/arch/m68k/string/strncmp.S                             |     47 +-
 common/lib/libc/arch/m68k/string/strncpy.S                             |     10 +-
 crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c                        |      8 +-
 crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c                      |      6 +-
 crypto/dist/ipsec-tools/src/racoon/plainrsa-gen.8                      |      4 +-
 crypto/dist/ipsec-tools/src/racoon/racoonctl.8                         |      4 +-
 crypto/external/bsd/heimdal/dist/lib/gssapi/mech/mech.5                |      4 +-
 crypto/external/bsd/netpgp/dist/src/hkpclient/hkpc.1                   |      4 +-
 crypto/external/bsd/netpgp/dist/src/hkpd/hkpd.1                        |      4 +-
 crypto/external/bsd/netpgp/dist/src/lib/libnetpgp.3                    |      4 +-
 crypto/external/bsd/netpgp/dist/src/libbn/libnetpgpbn.3                |      4 +-
 crypto/external/bsd/netpgp/dist/src/libdigest/tiger.3                  |      4 +-
 crypto/external/bsd/netpgp/dist/src/libmj/libmj.3                      |      4 +-
 crypto/external/bsd/netpgp/dist/src/libpaa/libpaa.3                    |      4 +-
 crypto/external/bsd/netpgp/dist/src/librsa/libnetpgprsa.3              |      4 +-
 crypto/external/bsd/netpgp/dist/src/libverify/libnetpgpverify.3        |      4 +-
 crypto/external/bsd/netpgp/dist/src/netpgp/netpgp.1                    |      4 +-
 crypto/external/bsd/netpgp/dist/src/netpgpkeys/netpgpkeys.1            |      4 +-
 crypto/external/bsd/netpgp/dist/src/netpgpverify/netpgpverify.1        |      4 +-
 crypto/external/bsd/netpgp/dist/src/pgp2ssh/pgp2ssh.1                  |      4 +-
 crypto/external/bsd/openssh/dist/scp.1                                 |      6 +-
 crypto/external/bsd/openssh/dist/sftp-server.8                         |      4 +-
 crypto/external/bsd/openssh/dist/ssh-keyscan.1                         |      6 +-
 crypto/external/bsd/openssh/dist/ssh-keysign.8                         |      4 +-
 crypto/external/bsd/openssh/dist/ssh-pkcs11-helper.8                   |      4 +-
 dist/pf/sbin/pflogd/pflogd.8                                           |      4 +-
 dist/smbfs/mount_smbfs/mount_smbfs.8                                   |      4 +-
 dist/smbfs/smbutil/smbutil.1                                           |      2 +-
 distrib/sets/lists/base/md.sun2                                        |      3 +-
 distrib/sets/lists/base/shl.mi                                         |      5 +-
 distrib/sets/lists/comp/md.evbcf                                       |     47 +
 distrib/sets/lists/comp/mi                                             |      4 +-
 distrib/sets/lists/comp/shl.mi                                         |      3 +-
 distrib/sets/lists/debug/mi                                            |     30 +-
 distrib/sets/lists/debug/shl.mi                                        |      3 +-
 distrib/sets/lists/tests/mi                                            |      7 +-
 doc/3RDPARTY                                                           |     12 +-
 doc/BRANCHES                                                           |     17 +-
 doc/CHANGES                                                            |      9 +-
 doc/HACKS                                                              |     21 +-
 etc/etc.evbcf/MAKEDEV.conf                                             |     15 +
 etc/etc.evbcf/Makefile.inc                                             |     13 +
 etc/etc.evbcf/ttys                                                     |     22 +
 etc/man.conf                                                           |      4 +-
 etc/mtree/NetBSD.dist.tests                                            |      3 +-
 external/bsd/acpica/bin/iasl/iasl.8                                    |      6 +-
 external/bsd/bind/dist/lib/dns/tests/rdata_test.c                      |      3 +-
 external/bsd/cron/dist/crontab.5                                       |      6 +-
 external/bsd/dhcpcd/dist/defs.h                                        |      4 +-
 external/bsd/dhcpcd/dist/dhcpcd-hooks/30-hostname                      |     70 +-
 external/bsd/dhcpcd/dist/dhcpcd-run-hooks.8.in                         |      4 +-
 external/bsd/dhcpcd/dist/dhcpcd.8.in                                   |      4 +-
 external/bsd/dhcpcd/dist/dhcpcd.c                                      |     74 +-
 external/bsd/dhcpcd/dist/dhcpcd.conf.5.in                              |      4 +-
 external/bsd/dhcpcd/dist/dhcpcd.h                                      |      4 +-
 external/bsd/dhcpcd/dist/if-bsd.c                                      |     28 +-
 external/bsd/dhcpcd/dist/ipv6.c                                        |     13 +-
 external/bsd/dhcpcd/dist/ipv6rs.c                                      |     18 +-
 external/bsd/dhcpcd/dist/platform-bsd.c                                |     59 +-
 external/bsd/dhcpcd/dist/platform.h                                    |      4 +-
 external/bsd/fetch/dist/libfetch/fetch.3                               |     14 +-
 external/bsd/iscsi/dist/src/lib/libiscsi.3                             |      4 +-
 external/bsd/libarchive/dist/libarchive/archive_entry.3                |      2 +-
 external/bsd/libarchive/dist/libarchive/archive_read.3                 |      2 +-
 external/bsd/libarchive/dist/libarchive/archive_read_disk.3            |      2 +-
 external/bsd/libarchive/dist/libarchive/archive_util.3                 |      2 +-
 external/bsd/libarchive/dist/libarchive/archive_write.3                |      2 +-
 external/bsd/libarchive/dist/libarchive/archive_write_disk.3           |      2 +-
 external/bsd/libarchive/dist/libarchive/libarchive.3                   |      2 +-
 external/bsd/libarchive/dist/libarchive/libarchive_internals.3         |      2 +-
 external/bsd/libarchive/dist/libarchive/tar.5                          |      2 +-
 external/bsd/liblzf/usr.bin/lzf/lzf.1                                  |      4 +-
 external/bsd/openpam/dist/bin/pamtest/pamtest.1                        |      4 +-
 external/bsd/openpam/dist/bin/su/su.1                                  |      4 +-
 external/bsd/openpam/dist/doc/man/openpam.3                            |      4 +-
 external/bsd/openpam/dist/doc/man/openpam_free_envlist.3               |      4 +-
 external/bsd/openpam/dist/doc/man/openpam_get_feature.3                |      4 +-
 external/bsd/openpam/dist/doc/man/openpam_readlinev.3                  |      4 +-
 external/bsd/openpam/dist/doc/man/openpam_readword.3                   |      4 +-
 external/bsd/openpam/dist/doc/man/openpam_set_feature.3                |      4 +-
 external/bsd/openpam/dist/doc/man/openpam_straddch.3                   |      4 +-
 external/bsd/openpam/dist/doc/man/openpam_subst.3                      |      4 +-
 external/bsd/openpam/dist/doc/man/pam.3                                |      4 +-
 external/bsd/openpam/dist/doc/man/pam.conf.5                           |      4 +-
 external/bsd/openpam/dist/doc/man/pam_conv.3                           |      4 +-
 external/bsd/openpam/dist/misc/gendoc.pl                               |      4 +-
 external/bsd/openresolv/dist/resolvconf.8.in                           |      2 +-
 external/bsd/openresolv/dist/resolvconf.conf.5.in                      |      2 +-
 external/bsd/pkg_install/dist/bpm/bpm.1                                |      4 +-
 external/bsd/tmux/dist/tmux.1                                          |      4 +-
 external/bsd/wpa/bin/hostapd/hostapd.8                                 |      4 +-
 external/bsd/wpa/bin/hostapd/hostapd.conf.5                            |      4 +-
 external/bsd/wpa/bin/hostapd_cli/hostapd_cli.8                         |      4 +-
 external/bsd/wpa/bin/wpa_cli/wpa_cli.8                                 |      4 +-
 external/bsd/wpa/bin/wpa_passphrase/wpa_passphrase.8                   |      4 +-
 external/bsd/wpa/bin/wpa_supplicant/wpa_supplicant.8                   |      4 +-
 external/bsd/wpa/bin/wpa_supplicant/wpa_supplicant.conf.5              |      4 +-
 external/bsd/wpa/dist/hostapd/ChangeLog                                |     24 +
 external/bsd/wpa/dist/hostapd/hlr_auc_gw.c                             |     46 +-
 external/bsd/wpa/dist/hostapd/hostapd.eap_user                         |      6 +
 external/bsd/wpa/dist/src/ap/drv_callbacks.c                           |      9 +-
 external/bsd/wpa/dist/src/ap/wpa_auth.c                                |      5 +-
 external/bsd/wpa/dist/src/common/version.h                             |      2 +-
 external/bsd/wpa/dist/src/crypto/tls_openssl.c                         |     16 +-
 external/bsd/wpa/dist/src/eap_common/eap_defs.h                        |      2 +-
 external/bsd/wpa/dist/src/eap_common/eap_pwd_common.c                  |      2 +-
 external/bsd/wpa/dist/src/eap_peer/eap.c                               |     22 +-
 external/bsd/wpa/dist/src/eap_peer/eap_aka.c                           |      4 +-
 external/bsd/wpa/dist/src/eap_peer/eap_sim.c                           |      9 +-
 external/bsd/wpa/dist/src/eap_server/eap_server_aka.c                  |     19 +-
 external/bsd/wpa/dist/src/eap_server/eap_server_sim.c                  |      6 +-
 external/bsd/wpa/dist/src/eap_server/eap_server_tls_common.c           |      8 +
 external/bsd/wpa/dist/src/eap_server/eap_server_ttls.c                 |     16 +-
 external/bsd/wpa/dist/src/eap_server/eap_sim_db.c                      |     75 +-
 external/bsd/wpa/dist/src/eap_server/eap_sim_db.h                      |     17 +-
 external/bsd/wpa/dist/src/eapol_supp/eapol_supp_sm.c                   |      5 +-
 external/bsd/wpa/dist/src/p2p/p2p.c                                    |     77 +-
 external/bsd/wpa/dist/src/p2p/p2p_go_neg.c                             |     11 +
 external/bsd/wpa/dist/src/p2p/p2p_i.h                                  |      2 +-
 external/bsd/wpa/dist/src/p2p/p2p_invitation.c                         |      3 +-
 external/bsd/wpa/dist/src/p2p/p2p_pd.c                                 |     10 +-
 external/bsd/wpa/dist/src/rsn_supp/pmksa_cache.c                       |     24 +-
 external/bsd/wpa/dist/src/rsn_supp/wpa.c                               |     12 +-
 external/bsd/wpa/dist/src/wps/wps_common.c                             |      2 +-
 external/bsd/wpa/dist/src/wps/wps_enrollee.c                           |     10 +-
 external/bsd/wpa/dist/src/wps/wps_registrar.c                          |     14 +-
 external/bsd/wpa/dist/wpa_supplicant/ChangeLog                         |     76 +
 external/bsd/wpa/dist/wpa_supplicant/config.c                          |     23 +-
 external/bsd/wpa/dist/wpa_supplicant/config_file.c                     |     34 +-
 external/bsd/wpa/dist/wpa_supplicant/config_ssid.h                     |      4 +
 external/bsd/wpa/dist/wpa_supplicant/ctrl_iface.c                      |     81 +-
 external/bsd/wpa/dist/wpa_supplicant/ctrl_iface.h                      |     15 -
 external/bsd/wpa/dist/wpa_supplicant/dbus/dbus_new.c                   |     11 +-
 external/bsd/wpa/dist/wpa_supplicant/dbus/dbus_new_handlers.c          |     40 +-
 external/bsd/wpa/dist/wpa_supplicant/dbus/dbus_new_handlers.h          |      4 +
 external/bsd/wpa/dist/wpa_supplicant/doc/docbook/wpa_background.8      |      2 +-
 external/bsd/wpa/dist/wpa_supplicant/doc/docbook/wpa_cli.8             |      2 +-
 external/bsd/wpa/dist/wpa_supplicant/doc/docbook/wpa_gui.8             |      2 +-
 external/bsd/wpa/dist/wpa_supplicant/doc/docbook/wpa_passphrase.8      |      2 +-
 external/bsd/wpa/dist/wpa_supplicant/doc/docbook/wpa_priv.8            |      2 +-
 external/bsd/wpa/dist/wpa_supplicant/doc/docbook/wpa_supplicant.8      |      2 +-
 external/bsd/wpa/dist/wpa_supplicant/doc/docbook/wpa_supplicant.conf.5 |      2 +-
 external/bsd/wpa/dist/wpa_supplicant/events.c                          |      7 +-
 external/bsd/wpa/dist/wpa_supplicant/interworking.c                    |      1 +
 external/bsd/wpa/dist/wpa_supplicant/p2p_supplicant.c                  |     56 +-
 external/bsd/wpa/dist/wpa_supplicant/scan.c                            |     19 +-
 external/bsd/wpa/dist/wpa_supplicant/sme.c                             |      2 +
 external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/wpagui.cpp            |      6 +-
 external/bsd/wpa/dist/wpa_supplicant/wpa_supplicant.c                  |     95 +-
 external/bsd/wpa/dist/wpa_supplicant/wpa_supplicant_i.h                |     16 +
 external/bsd/wpa/dist/wpa_supplicant/wps_supplicant.c                  |     10 +-
 external/gpl3/binutils/dist/bfd/config.bfd                             |      3 +-
 external/gpl3/binutils/dist/config.guess                               |     16 +-
 external/gpl3/binutils/dist/config.sub                                 |      4 +-
 external/gpl3/binutils/dist/gas/config/tc-m68k.c                       |      4 +-
 external/gpl3/binutils/dist/gas/configure.tgt                          |      2 +-
 external/gpl3/binutils/dist/ld/configure.tgt                           |      3 +-
 external/gpl3/binutils/lib/libbfd/arch/coldfire/bfd.h                  |   5958 +++
 external/gpl3/binutils/lib/libbfd/arch/coldfire/bfd_stdint.h           |     51 +
 external/gpl3/binutils/lib/libbfd/arch/coldfire/bfdver.h               |      8 +
 external/gpl3/binutils/lib/libbfd/arch/coldfire/config.h               |    368 +
 external/gpl3/binutils/lib/libbfd/arch/coldfire/defs.mk                |      9 +
 external/gpl3/binutils/lib/libiberty/arch/coldfire/config.h            |    495 +
 external/gpl3/binutils/lib/libiberty/arch/coldfire/defs.mk             |      8 +
 external/gpl3/binutils/lib/libopcodes/arch/coldfire/config.h           |    114 +
 external/gpl3/binutils/lib/libopcodes/arch/coldfire/defs.mk            |      6 +
 external/gpl3/binutils/usr.bin/common/arch/coldfire/config.h           |    244 +
 external/gpl3/binutils/usr.bin/common/arch/coldfire/defs.mk            |     36 +
 external/gpl3/binutils/usr.bin/gas/arch/coldfire/config.h              |    324 +
 external/gpl3/binutils/usr.bin/gas/arch/coldfire/defs.mk               |      8 +
 external/gpl3/binutils/usr.bin/gas/arch/coldfire/itbl-cpu.h            |      4 +
 external/gpl3/binutils/usr.bin/gas/arch/coldfire/obj-format.h          |      4 +
 external/gpl3/binutils/usr.bin/gas/arch/coldfire/targ-cpu.h            |      4 +
 external/gpl3/binutils/usr.bin/gas/arch/coldfire/targ-env.h            |      4 +
 external/gpl3/binutils/usr.bin/gprof/arch/coldfire/defs.mk             |      8 +
 external/gpl3/binutils/usr.bin/gprof/arch/coldfire/gconfig.h           |    118 +
 external/gpl3/binutils/usr.bin/ld/arch/coldfire/config.h               |    220 +
 external/gpl3/binutils/usr.bin/ld/arch/coldfire/defs.mk                |     12 +
 external/gpl3/binutils/usr.bin/ld/arch/coldfire/ldemul-list.h          |     13 +
 external/gpl3/gcc/dist/config.guess                                    |      6 +-
 external/gpl3/gcc/dist/config.sub                                      |      4 +-
 external/gpl3/gcc/dist/gcc/config.gcc                                  |     24 +-
 external/gpl3/gcc/dist/gcc/config/m68k/netbsd-elf.h                    |     56 +-
 external/gpl3/gcc/dist/gcc/configure                                   |      4 +-
 external/gpl3/gcc/dist/gcc/configure.ac                                |      4 +-
 external/gpl3/gcc/lib/crtstuff/arch/coldfire.mk                        |     13 +
 external/gpl3/gcc/lib/libgcc/Makefile.inc                              |      5 +-
 external/gpl3/gcc/lib/libgcc/arch/coldfire.mk                          |     26 +
 external/gpl3/gcc/lib/libgcc/libgcov/arch/coldfire/defs.mk             |      7 +
 external/gpl3/gcc/lib/libgcc/libgcov/arch/coldfire/gcov-iov.h          |      8 +
 external/gpl3/gcc/lib/libgomp/arch/coldfire/config.h                   |    136 +
 external/gpl3/gcc/lib/libgomp/arch/coldfire/libgomp.spec               |      7 +
 external/gpl3/gcc/lib/libgomp/arch/coldfire/libgomp_f.h                |     97 +
 external/gpl3/gcc/lib/libgomp/arch/coldfire/omp.h                      |    109 +
 external/gpl3/gcc/lib/libiberty/arch/coldfire/config.h                 |    480 +
 external/gpl3/gcc/lib/libobjc/arch/coldfire/config.h                   |     73 +
 external/gpl3/gcc/lib/libobjc/arch/coldfire/defs.mk                    |     16 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/coldfire/c++allocator.h        |     41 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/coldfire/c++config.h           |   1507 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/coldfire/config.h              |   1127 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/coldfire/cxxabi_tweaks.h       |     62 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/coldfire/defs.mk               |     48 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/coldfire/gstdint.h             |     51 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/coldfire/gthr-default.h        |    872 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/coldfire/gthr-posix.h          |    872 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/coldfire/gthr-single.h         |    296 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/coldfire/gthr-tpf.h            |    233 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/coldfire/gthr.h                |    177 +
 external/gpl3/gcc/usr.bin/gcc/arch/coldfire/all-tree.def               |      5 +
 external/gpl3/gcc/usr.bin/gcc/arch/coldfire/auto-host.h                |   1915 +
 external/gpl3/gcc/usr.bin/gcc/arch/coldfire/bconfig.h                  |     11 +
 external/gpl3/gcc/usr.bin/gcc/arch/coldfire/bversion.h                 |      8 +
 external/gpl3/gcc/usr.bin/gcc/arch/coldfire/config.h                   |     14 +
 external/gpl3/gcc/usr.bin/gcc/arch/coldfire/configargs.h               |     11 +
 external/gpl3/gcc/usr.bin/gcc/arch/coldfire/defs.mk                    |     66 +
 external/gpl3/gcc/usr.bin/gcc/arch/coldfire/gthr-default.h             |      5 +
 external/gpl3/gcc/usr.bin/gcc/arch/coldfire/gtyp-input.list            |    185 +
 external/gpl3/gcc/usr.bin/gcc/arch/coldfire/multilib.h                 |     20 +
 external/gpl3/gcc/usr.bin/gcc/arch/coldfire/plugin-version.h           |     17 +
 external/gpl3/gcc/usr.bin/gcc/arch/coldfire/tm.h                       |     31 +
 external/gpl3/gcc/usr.bin/libcpp/arch/coldfire/config.h                |    290 +
 external/gpl3/gcc/usr.bin/libdecnumber/arch/coldfire/config.h          |     99 +
 external/gpl3/gdb/dist/bfd/config.bfd                                  |      3 +-
 external/gpl3/gdb/dist/config.guess                                    |     14 +
 external/gpl3/gdb/dist/config.sub                                      |      4 +-
 external/gpl3/gdb/dist/gdb/configure.host                              |      4 +-
 external/gpl3/gdb/dist/gdb/configure.tgt                               |      2 +-
 external/gpl3/gdb/lib/libbfd/arch/coldfire/bfd-in3.h                   |   5976 +++
 external/gpl3/gdb/lib/libbfd/arch/coldfire/bfd.h                       |   5976 +++
 external/gpl3/gdb/lib/libbfd/arch/coldfire/bfd_stdint.h                |     51 +
 external/gpl3/gdb/lib/libbfd/arch/coldfire/bfdver.h                    |      8 +
 external/gpl3/gdb/lib/libbfd/arch/coldfire/config.h                    |    356 +
 external/gpl3/gdb/lib/libbfd/arch/coldfire/defs.mk                     |      9 +
 external/gpl3/gdb/lib/libbfd/arch/coldfire/targmatch.h                 |   2640 +
 external/gpl3/gdb/lib/libdecnumber/arch/coldfire/config.h              |    243 +
 external/gpl3/gdb/lib/libdecnumber/arch/coldfire/defs.mk               |      5 +
 external/gpl3/gdb/lib/libdecnumber/arch/coldfire/gstdint.h             |     51 +
 external/gpl3/gdb/lib/libgdb/arch/coldfire/config.h                    |    986 +
 external/gpl3/gdb/lib/libgdb/arch/coldfire/defs.mk                     |      7 +
 external/gpl3/gdb/lib/libgdb/arch/coldfire/init.c                      |    254 +
 external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.h                  |    246 +
 external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.inc                |   1034 +
 external/gpl3/gdb/lib/libgdb/arch/coldfire/version.c                   |      8 +
 external/gpl3/gdb/lib/libgdb/arch/coldfire/xml-builtin.c               |    534 +
 external/gpl3/gdb/lib/libiberty/arch/coldfire/config.h                 |    495 +
 external/gpl3/gdb/lib/libiberty/arch/coldfire/defs.mk                  |      8 +
 external/gpl3/gdb/lib/libopcodes/arch/coldfire/config.h                |    114 +
 external/gpl3/gdb/lib/libopcodes/arch/coldfire/defs.mk                 |      7 +
 external/gpl3/gdb/lib/libreadline/arch/coldfire/config.h               |    243 +
 external/gpl3/gdb/lib/libreadline/arch/coldfire/defs.mk                |      6 +
 external/lgpl3/gmp/Makefile.netbsd-gmp                                 |      4 +-
 external/lgpl3/gmp/dist/acinclude.m4                                   |      3 +
 external/lgpl3/gmp/dist/configfsf.sub                                  |      4 +-
 external/lgpl3/gmp/dist/configure                                      |     10 +
 external/lgpl3/gmp/dist/configure.in                                   |      8 +-
 external/lgpl3/gmp/lib/libgmp/arch/coldfire/Makefile.inc               |    163 +
 external/lgpl3/gmp/lib/libgmp/arch/coldfire/config.h                   |    587 +
 external/lgpl3/gmp/lib/libgmp/arch/coldfire/config.m4                  |     19 +
 external/lgpl3/gmp/lib/libgmp/arch/coldfire/gmp-mparam.h               |     22 +
 external/lgpl3/gmp/lib/libgmp/arch/coldfire/gmp.h                      |   2283 +
 external/lgpl3/gmp/lib/libgmp/arch/coldfire/mp.h                       |    164 +
 external/mit/xorg/bin/xrdb/Makefile                                    |      5 +-
 external/zlib/pigz/dist/pigz.1                                         |      2 +-
 games/countmail/countmail.6                                            |      4 +-
 gnu/dist/groff/tmac/groff_mdoc.man                                     |      4 +-
 lib/csu/arch/m68k/crtbegin.h                                           |     12 +-
 lib/csu/common/Makefile.inc                                            |      5 +-
 lib/libarch/Makefile                                                   |      4 +-
 lib/libarch/m68k/Makefile.inc                                          |      4 +-
 lib/libbluetooth/bluetooth.3                                           |      4 +-
 lib/libc/arch/arm/SYS.h                                                |      7 +-
 lib/libc/arch/m68k/Makefile.inc                                        |      5 +-
 lib/libc/arch/m68k/gdtoa/Makefile.inc                                  |      4 +-
 lib/libc/arch/m68k/gen/Makefile.inc                                    |     27 +-
 lib/libc/arch/m68k/gen/adddf3.S                                        |     56 -
 lib/libc/arch/m68k/gen/addsf3.S                                        |     54 -
 lib/libc/arch/m68k/gen/cmpdf2.S                                        |     59 -
 lib/libc/arch/m68k/gen/cmpsf2.S                                        |     59 -
 lib/libc/arch/m68k/gen/divdf3.S                                        |     56 -
 lib/libc/arch/m68k/gen/divsf3.S                                        |     54 -
 lib/libc/arch/m68k/gen/extendsfdf2.S                                   |     55 -
 lib/libc/arch/m68k/gen/fixdfsi.S                                       |     51 -
 lib/libc/arch/m68k/gen/fixunsdfsi.S                                    |     58 -
 lib/libc/arch/m68k/gen/floatsidf.S                                     |     55 -
 lib/libc/arch/m68k/gen/flt_rounds.S                                    |     26 -
 lib/libc/arch/m68k/gen/flt_rounds_softfloat.S                          |      8 +-
 lib/libc/arch/m68k/gen/fpgetmask.S                                     |     15 -
 lib/libc/arch/m68k/gen/fpgetround.S                                    |     15 -
 lib/libc/arch/m68k/gen/fpgetsticky.S                                   |     15 -
 lib/libc/arch/m68k/gen/fpsetmask.S                                     |     20 -
 lib/libc/arch/m68k/gen/fpsetround.S                                    |     20 -
 lib/libc/arch/m68k/gen/fpsetsticky.S                                   |     20 -
 lib/libc/arch/m68k/gen/modf.S                                          |     62 -
 lib/libc/arch/m68k/gen/muldf3.S                                        |     56 -
 lib/libc/arch/m68k/gen/mulsf3.S                                        |     54 -
 lib/libc/arch/m68k/gen/subdf3.S                                        |     56 -
 lib/libc/arch/m68k/gen/subsf3.S                                        |     54 -
 lib/libc/arch/m68k/gen/truncdfsf2.S                                    |     53 -
 lib/libc/arch/m68k/hardfloat/Makefile.inc                              |     16 +
 lib/libc/arch/m68k/hardfloat/cmpdf2.S                                  |     18 +-
 lib/libc/arch/m68k/hardfloat/cmpsf2.S                                  |     18 +-
 lib/libc/arch/m68k/hardfloat/fixunsdfsi.S                              |     25 +-
 lib/libc/arch/m68k/hardfloat/fixunssfsi.S                              |     75 +
 lib/libc/arch/m68k/hardfloat/floatunsidf.S                             |     70 +
 lib/libc/arch/m68k/hardfloat/floatunsisf.S                             |     66 +
 lib/libc/arch/m68k/hardfloat/ledf2.S                                   |     55 +
 lib/libc/arch/m68k/hardfloat/lesf2.S                                   |     55 +
 lib/libc/arch/m68k/hardfloat/ltdf2.S                                   |     55 +
 lib/libc/arch/m68k/hardfloat/ltsf2.S                                   |     55 +
 lib/libc/arch/m68k/hardfloat/modf.S                                    |     12 +-
 lib/libc/arch/m68k/hardfloat/nedf2.S                                   |     55 +
 lib/libc/arch/m68k/hardfloat/nesf2.S                                   |     55 +
 lib/libc/arch/m68k/hardfloat/unorddf2.S                                |     52 +
 lib/libc/arch/m68k/hardfloat/unordsf2.S                                |     53 +
 lib/libc/arch/m68k/quad/ashldi3.S                                      |      6 +-
 lib/libc/arch/m68k/quad/ashrdi3.S                                      |      6 +-
 lib/libc/arch/m68k/quad/lshrdi3.S                                      |      6 +-
 lib/libc/arch/m68k/softfloat/softfloat.h                               |      4 +-
 lib/libc/arch/m68k/string/memccpy.S                                    |     20 +-
 lib/libc/arch/m68k/string/swab.S                                       |      8 +-
 lib/libc/arch/powerpc/string/bzero.S                                   |     49 +-
 lib/libc/arch/vax/sys/brk.S                                            |     13 +-
 lib/libc/arch/vax/sys/sbrk.S                                           |     15 +-
 lib/libc/cdb/cdb.5                                                     |      4 +-
 lib/libc/cdb/cdbr.3                                                    |      4 +-
 lib/libc/cdb/cdbw.3                                                    |      4 +-
 lib/libc/compat/arch/m68k/gen/compat_setjmp.S                          |     48 +-
 lib/libc/compat/arch/m68k/gen/compat_sigsetjmp.S                       |     16 +-
 lib/libc/gen/ftok.3                                                    |      4 +-
 lib/libc/gen/posix_spawn.3                                             |      4 +-
 lib/libc/gen/posix_spawn_file_actions_addopen.3                        |      4 +-
 lib/libc/gen/posix_spawn_file_actions_init.3                           |      4 +-
 lib/libc/gen/posix_spawnattr_getflags.3                                |      4 +-
 lib/libc/gen/posix_spawnattr_getpgroup.3                               |      4 +-
 lib/libc/gen/posix_spawnattr_getschedparam.3                           |      4 +-
 lib/libc/gen/posix_spawnattr_getschedpolicy.3                          |      4 +-
 lib/libc/gen/posix_spawnattr_getsigdefault.3                           |      4 +-
 lib/libc/gen/posix_spawnattr_getsigmask.3                              |      4 +-
 lib/libc/gen/posix_spawnattr_init.3                                    |      4 +-
 lib/libc/stdlib/jemalloc.3                                             |      2 +-
 lib/libc/stdlib/strfmon.3                                              |      6 +-
 lib/libc/time/Makefile                                                 |     61 +-
 lib/libc/time/Theory                                                   |     27 +-
 lib/libc/time/difftime.c                                               |     23 +-
 lib/libc/time/localtime.c                                              |    233 +-
 lib/libc/time/private.h                                                |    120 +-
 lib/libc/time/scheck.c                                                 |     45 +-
 lib/libc/time/strftime.c                                               |     17 +-
 lib/libc/time/tz-art.htm                                               |      8 +-
 lib/libc/time/tz-link.htm                                              |     43 +-
 lib/libc/time/tzfile.h                                                 |      4 +-
 lib/libc/time/zdump.8                                                  |     24 +-
 lib/libc/time/zdump.c                                                  |    275 +-
 lib/libc/time/zic.c                                                    |    210 +-
 lib/libm/src/s_nextafter.c                                             |      6 +-
 lib/libm/src/s_nextafterl.c                                            |      8 +-
 lib/libpam/modules/pam_radius/pam_radius.8                             |      6 +-
 lib/libpam/modules/pam_ssh/pam_ssh.8                                   |      6 +-
 lib/libperfuse/ops.c                                                   |     35 +-
 lib/libpthread/pthread_testcancel.3                                    |      4 +-
 lib/libpuffs/puffs.3                                                   |      4 +-
 lib/librefuse/refuse.3                                                 |      6 +-
 lib/librump/rump.3                                                     |      4 +-
 lib/librumphijack/hijack.c                                             |     22 +-
 lib/librumphijack/hijackdlsym.c                                        |      7 +-
 lib/librumpuser/rumpuser.3                                             |      6 +-
 lib/librumpuser/rumpuser_port.h                                        |     20 +-
 lib/librumpuser/rumpuser_sp.c                                          |     15 +-
 lib/libterminfo/termcap.3                                              |      4 +-
 lib/libterminfo/terminfo.3                                             |      4 +-
 lib/libterminfo/terminfo.5.in                                          |      4 +-
 lib/libukfs/ukfs.3                                                     |      4 +-
 lib/libutil/getbyteorder.3                                             |      4 +-
 lib/libutil/strpct.3                                                   |      4 +-
 lib/libz/zlib.3                                                        |      8 +-
 libexec/atrun/atrun.8                                                  |      4 +-
 libexec/httpd/libbozohttpd/libbozohttpd.3                              |      6 +-
 libexec/ld.aout_so/Makefile                                            |      5 +-
 libexec/ld.elf_so/Makefile                                             |      3 +-
 libexec/ld.elf_so/arch/m68k/rtld_start.S                               |     11 +-
 libexec/makewhatis/makewhatis.8                                        |      8 +-
 sbin/bioctl/bioctl.8                                                   |      6 +-
 sbin/fsck_lfs/fsck_lfs.8                                               |      4 +-
 sbin/iscsictl/iscsictl.8                                               |      4 +-
 sbin/iscsid/iscsid.8                                                   |      4 +-
 sbin/ldconfig/Makefile                                                 |      4 +-
 sbin/mount_hfs/mount_hfs.8                                             |      6 +-
 sbin/mount_ntfs/mount_ntfs.8                                           |      4 +-
 sbin/newfs_msdos/newfs_msdos.8                                         |      4 +-
 sbin/newfs_udf/Makefile                                                |      4 +-
 sbin/newfs_udf/newfs_udf.8                                             |      4 +-
 sbin/newfs_udf/newfs_udf.c                                             |    813 +-
 sbin/newfs_udf/newfs_udf.h                                             |     68 +
 sbin/newfs_udf/udf_write.c                                             |    820 +
 sbin/newfs_udf/udf_write.h                                             |     42 +
 sbin/rcorder/rcorder.8                                                 |      6 +-
 sbin/swapctl/swapctl.8                                                 |      4 +-
 sbin/veriexecctl/veriexecctl.8                                         |      8 +-
 share/examples/refuse/dmesgfs/dmesgfs.8                                |      2 +-
 share/examples/refuse/ian/libfetch/fetch.3                             |     12 +-
 share/examples/refuse/pcifs/pcifs.8                                    |      4 +-
 share/examples/refuse/virtdir/virtdir.3                                |      4 +-
 share/man/man3/bitmap.3                                                |      4 +-
 share/man/man3/bits.3                                                  |      6 +-
 share/man/man3/rbtree.3                                                |      6 +-
 share/man/man3/tgmath.3                                                |      4 +-
 share/man/man4/acpitz.4                                                |      4 +-
 share/man/man4/admtemp.4                                               |      4 +-
 share/man/man4/aibs.4                                                  |      4 +-
 share/man/man4/alipm.4                                                 |      4 +-
 share/man/man4/altmem.4                                                |      4 +-
 share/man/man4/amdtemp.4                                               |      4 +-
 share/man/man4/an.4                                                    |      4 +-
 share/man/man4/aps.4                                                   |      4 +-
 share/man/man4/athn.4                                                  |      4 +-
 share/man/man4/bcsp.4                                                  |      4 +-
 share/man/man4/bio.4                                                   |      8 +-
 share/man/man4/btuart.4                                                |      4 +-
 share/man/man4/bwi.4                                                   |      4 +-
 share/man/man4/cdce.4                                                  |      8 +-
 share/man/man4/ciss.4                                                  |      6 +-
 share/man/man4/cue.4                                                   |      4 +-
 share/man/man4/cz.4                                                    |      6 +-
 share/man/man4/ddc.4                                                   |      4 +-
 share/man/man4/dge.4                                                   |      4 +-
 share/man/man4/dm.4                                                    |     10 +-
 share/man/man4/emuxki.4                                                |      4 +-
 share/man/man4/esa.4                                                   |      4 +-
 share/man/man4/flash.4                                                 |      4 +-
 share/man/man4/gcscaudio.4                                             |      4 +-
 share/man/man4/gpio.4                                                  |      8 +-
 share/man/man4/gpioiic.4                                               |      6 +-
 share/man/man4/gpiolock.4                                              |      4 +-
 share/man/man4/gpioow.4                                                |      6 +-
 share/man/man4/gpiopwm.4                                               |      4 +-
 share/man/man4/gpiosim.4                                               |      4 +-
 share/man/man4/gre.4                                                   |      6 +-
 share/man/man4/gtp.4                                                   |      4 +-
 share/man/man4/guspnp.4                                                |      4 +-
 share/man/man4/hdaudio.4                                               |      4 +-
 share/man/man4/iavc.4                                                  |      8 +-
 share/man/man4/ibmcd.4                                                 |      4 +-
 share/man/man4/ichsmb.4                                                |     21 +-
 share/man/man4/iic.4                                                   |      4 +-
 share/man/man4/ippp.4                                                  |     10 +-
 share/man/man4/ipw.4                                                   |      4 +-
 share/man/man4/irip.4                                                  |      6 +-
 share/man/man4/isdn.4                                                  |      6 +-
 share/man/man4/isdnbchan.4                                             |      6 +-
 share/man/man4/isdncapi.4                                              |      8 +-
 share/man/man4/isdnctl.4                                               |      6 +-
 share/man/man4/isdntel.4                                               |      6 +-
 share/man/man4/isdntrc.4                                               |      6 +-
 share/man/man4/isic.4                                                  |      6 +-
 share/man/man4/isv.4                                                   |      4 +-
 share/man/man4/iteide.4                                                |      6 +-
 share/man/man4/itesio.4                                                |      6 +-
 share/man/man4/iwi.4                                                   |      4 +-
 share/man/man4/iwic.4                                                  |      6 +-
 share/man/man4/iwn.4                                                   |      4 +-
 share/man/man4/ixg.4                                                   |      6 +-
 share/man/man4/lmc.4                                                   |      4 +-
 share/man/man4/malo.4                                                  |      8 +-
 share/man/man4/man4.amiga/a1k2cp.4                                     |      4 +-
 share/man/man4/man4.amiga/bppcsc.4                                     |      4 +-
 share/man/man4/man4.amiga/clockport.4                                  |      4 +-
 share/man/man4/man4.amiga/cv3dpb.4                                     |      4 +-
 share/man/man4/man4.amiga/efa.4                                        |      4 +-
 share/man/man4/man4.amiga/em4k.4                                       |      4 +-
 share/man/man4/man4.amiga/empb.4                                       |      4 +-
 share/man/man4/man4.amiga/mppb.4                                       |      4 +-
 share/man/man4/man4.amiga/p5membar.4                                   |      4 +-
 share/man/man4/man4.amiga/p5pb.4                                       |      4 +-
 share/man/man4/man4.evbarm/iopaau.4                                    |      4 +-
 share/man/man4/man4.evbarm/iopwdog.4                                   |      4 +-
 share/man/man4/man4.hp700/cpu.4                                        |      4 +-
 share/man/man4/man4.i386/cmos.4                                        |      6 +-
 share/man/man4/man4.i386/elanpar.4                                     |      4 +-
 share/man/man4/man4.i386/elanpex.4                                     |      4 +-
 share/man/man4/man4.i386/elansc.4                                      |     10 +-
 share/man/man4/man4.i386/gcscpcib.4                                    |      4 +-
 share/man/man4/man4.i386/geodewdog.4                                   |      6 +-
 share/man/man4/man4.i386/glxsb.4                                       |      4 +-
 share/man/man4/man4.i386/gscpcib.4                                     |      6 +-
 share/man/man4/man4.i386/ndis.4                                        |      8 +-
 share/man/man4/man4.i386/viac7temp.4                                   |      4 +-
 share/man/man4/man4.sparc64/envctrl.4                                  |      4 +-
 share/man/man4/man4.sparc64/lom.4                                      |      4 +-
 share/man/man4/man4.x86/balloon.4                                      |      6 +-
 share/man/man4/man4.x86/coretemp.4                                     |      4 +-
 share/man/man4/man4.x86/soekrisgpio.4                                  |      6 +-
 share/man/man4/man4.x86/vmt.4                                          |      4 +-
 share/man/man4/mcp980x.4                                               |      4 +-
 share/man/man4/mtd.4                                                   |      4 +-
 share/man/man4/mvsata.4                                                |      4 +-
 share/man/man4/nsmb.4                                                  |      4 +-
 share/man/man4/oboe.4                                                  |      4 +-
 share/man/man4/onewire.4                                               |      6 +-
 share/man/man4/options.4                                               |      9 +-
 share/man/man4/otus.4                                                  |      4 +-
 share/man/man4/owtemp.4                                                |      6 +-
 share/man/man4/pad.4                                                   |      4 +-
 share/man/man4/pciback.4                                               |      4 +-
 share/man/man4/piixpcib.4                                              |      4 +-
 share/man/man4/piixpm.4                                                |      6 +-
 share/man/man4/pseye.4                                                 |      4 +-
 share/man/man4/ptcd.4                                                  |      2 +-
 share/man/man4/puffs.4                                                 |      4 +-
 share/man/man4/pwdog.4                                                 |      4 +-
 share/man/man4/ral.4                                                   |      4 +-
 share/man/man4/re.4                                                    |      4 +-
 share/man/man4/rtw.4                                                   |      4 +-
 share/man/man4/rum.4                                                   |      6 +-
 share/man/man4/siisata.4                                               |      4 +-
 share/man/man4/sk.4                                                    |      8 +-
 share/man/man4/smsh.4                                                  |      4 +-
 share/man/man4/spdmem.4                                                |      6 +-
 share/man/man4/speaker.4                                               |      4 +-
 share/man/man4/spif.4                                                  |      4 +-
 share/man/man4/sti.4                                                   |      4 +-
 share/man/man4/sysmon.4                                                |      4 +-
 share/man/man4/thinkpad.4                                              |      4 +-
 share/man/man4/ti.4                                                    |      4 +-
 share/man/man4/tps65217pmic.4                                          |      4 +-
 share/man/man4/u3g.4                                                   |      6 +-
 share/man/man4/uatp.4                                                  |      4 +-
 share/man/man4/ug.4                                                    |      4 +-
 share/man/man4/upgt.4                                                  |      4 +-
 share/man/man4/urndis.4                                                |      8 +-
 share/man/man4/ustir.4                                                 |      4 +-
 share/man/man4/uthum.4                                                 |      6 +-
 share/man/man4/utoppy.4                                                |      4 +-
 share/man/man4/uvideo.4                                                |      4 +-
 share/man/man4/uyurex.4                                                |      4 +-
 share/man/man4/veriexec.4                                              |      6 +-
 share/man/man4/vge.4                                                   |      4 +-
 share/man/man4/video.4                                                 |      4 +-
 share/man/man4/wb.4                                                    |      4 +-
 share/man/man4/wbsio.4                                                 |      6 +-
 share/man/man4/wi.4                                                    |      6 +-
 share/man/man4/wm.4                                                    |      4 +-
 share/man/man4/wpi.4                                                   |      6 +-
 share/man/man4/xbd.4                                                   |      4 +-
 share/man/man4/xbdback.4                                               |      4 +-
 share/man/man4/xenbus.4                                                |      4 +-
 share/man/man4/xennet.4                                                |      6 +-
 share/man/man4/xge.4                                                   |      4 +-
 share/man/man4/xpci.4                                                  |      4 +-
 share/man/man4/xvif.4                                                  |      4 +-
 share/man/man4/zyd.4                                                   |      8 +-
 share/man/man5/capfile.5                                               |      4 +-
 share/man/man5/veriexec.5                                              |      8 +-
 share/man/man7/c.7                                                     |      4 +-
 share/man/man7/security.7                                              |      4 +-
 share/man/man7/setuid.7                                                |      4 +-
 share/man/man7/src.7                                                   |      4 +-
 share/man/man7/tests.atf.7                                             |      4 +-
 share/man/man7/tests.kyua.7                                            |      4 +-
 share/man/man8/man8.i386/multiboot.8                                   |      4 +-
 share/man/man8/man8.x68k/newdisk.8                                     |      4 +-
 share/man/man8/rescue.8                                                |      8 +-
 share/man/man8/veriexec.8                                              |      4 +-
 share/man/man9/cprng.9                                                 |    249 +-
 share/man/man9/ddc.9                                                   |      6 +-
 share/man/man9/deviter.9                                               |      4 +-
 share/man/man9/edid.9                                                  |      4 +-
 share/man/man9/fileassoc.9                                             |      6 +-
 share/man/man9/firmload.9                                              |      4 +-
 share/man/man9/flash.9                                                 |      4 +-
 share/man/man9/genfs.9                                                 |      4 +-
 share/man/man9/genfs_rename.9                                          |      6 +-
 share/man/man9/ieee80211.9                                             |      6 +-
 share/man/man9/ieee80211_crypto.9                                      |      6 +-
 share/man/man9/ieee80211_input.9                                       |      6 +-
 share/man/man9/ieee80211_ioctl.9                                       |      6 +-
 share/man/man9/ieee80211_node.9                                        |      6 +-
 share/man/man9/ieee80211_output.9                                      |      6 +-
 share/man/man9/ieee80211_proto.9                                       |      6 +-
 share/man/man9/ieee80211_radiotap.9                                    |      8 +-
 share/man/man9/iic.9                                                   |      4 +-
 share/man/man9/in_getifa.9                                             |      4 +-
 share/man/man9/kauth.9                                                 |      6 +-
 share/man/man9/kcpuset.9                                               |    113 +-
 share/man/man9/knote.9                                                 |      4 +-
 share/man/man9/man9.i386/return_address.9                              |      4 +-
 share/man/man9/man9.x86/nmi.9                                          |      4 +-
 share/man/man9/memoryallocators.9                                      |      6 +-
 share/man/man9/microtime.9                                             |      4 +-
 share/man/man9/microuptime.9                                           |      4 +-
 share/man/man9/module.9                                                |      6 +-
 share/man/man9/opencrypto.9                                            |      6 +-
 share/man/man9/percpu.9                                                |      4 +-
 share/man/man9/pmf.9                                                   |      6 +-
 share/man/man9/rssadapt.9                                              |      4 +-
 share/man/man9/secmodel.9                                              |      4 +-
 share/man/man9/secmodel_bsd44.9                                        |      4 +-
 share/man/man9/secmodel_extensions.9                                   |      4 +-
 share/man/man9/secmodel_overlay.9                                      |      4 +-
 share/man/man9/secmodel_securelevel.9                                  |      4 +-
 share/man/man9/secmodel_suser.9                                        |      4 +-
 share/man/man9/sysmon_pswitch.9                                        |      4 +-
 share/man/man9/sysmon_taskq.9                                          |      4 +-
 share/man/man9/tvtohz.9                                                |      4 +-
 share/man/man9/veriexec.9                                              |      6 +-
 share/man/man9/video.9                                                 |      4 +-
 share/man/man9/xcall.9                                                 |      4 +-
 share/mk/bsd.endian.mk                                                 |      5 +-
 share/mk/bsd.lib.mk                                                    |      4 +-
 share/mk/bsd.own.mk                                                    |     11 +-
 share/mk/bsd.sys.mk                                                    |     10 +-
 share/mk/sys.mk                                                        |      4 +-
 sys/arch/amd64/conf/files.amd64                                        |      9 +-
 sys/arch/amiga/stand/bootblock/boot/Makefile                           |      5 +-
 sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile                     |      5 +-
 sys/arch/amiga/stand/bootblock/ppcboot/Makefile                        |      5 +-
 sys/arch/emips/include/disklabel.h                                     |      2 +-
 sys/arch/evbcf/Makefile                                                |      6 +
 sys/arch/evbcf/compile/Makefile                                        |      3 +
 sys/arch/evbcf/conf/majors.evbcf                                       |     46 +
 sys/arch/evbcf/evbcf/vectors.s                                         |    143 +
 sys/arch/evbcf/include/Makefile                                        |     25 +
 sys/arch/evbcf/include/ansi.h                                          |      3 +
 sys/arch/evbcf/include/aout_machdep.h                                  |      3 +
 sys/arch/evbcf/include/asm.h                                           |      3 +
 sys/arch/evbcf/include/autoconf.h                                      |     40 +
 sys/arch/evbcf/include/bswap.h                                         |      3 +
 sys/arch/evbcf/include/bus.h                                           |      6 +
 sys/arch/evbcf/include/bus_dma.h                                       |    254 +
 sys/arch/evbcf/include/bus_space.h                                     |    650 +
 sys/arch/evbcf/include/cdefs.h                                         |      3 +
 sys/arch/evbcf/include/cpu.h                                           |    181 +
 sys/arch/evbcf/include/db_machdep.h                                    |      7 +
 sys/arch/evbcf/include/disklabel.h                                     |    147 +
 sys/arch/evbcf/include/elf_machdep.h                                   |      3 +
 sys/arch/evbcf/include/endian.h                                        |      3 +
 sys/arch/evbcf/include/endian_machdep.h                                |      3 +
 sys/arch/evbcf/include/float.h                                         |      3 +
 sys/arch/evbcf/include/frame.h                                         |      3 +
 sys/arch/evbcf/include/ieee.h                                          |      3 +
 sys/arch/evbcf/include/ieeefp.h                                        |      3 +
 sys/arch/evbcf/include/int_const.h                                     |      3 +
 sys/arch/evbcf/include/int_fmtio.h                                     |      3 +
 sys/arch/evbcf/include/int_limits.h                                    |      3 +
 sys/arch/evbcf/include/int_mwgwtypes.h                                 |      3 +
 sys/arch/evbcf/include/int_types.h                                     |      3 +
 sys/arch/evbcf/include/intr.h                                          |     90 +
 sys/arch/evbcf/include/kcore.h                                         |      3 +
 sys/arch/evbcf/include/limits.h                                        |      3 +
 sys/arch/evbcf/include/loadfile_machdep.h                              |     64 +
 sys/arch/evbcf/include/lock.h                                          |      4 +
 sys/arch/evbcf/include/math.h                                          |      3 +
 sys/arch/evbcf/include/mcontext.h                                      |      3 +
 sys/arch/evbcf/include/mutex.h                                         |      3 +
 sys/arch/evbcf/include/param.h                                         |     79 +
 sys/arch/evbcf/include/pcb.h                                           |      3 +
 sys/arch/evbcf/include/pmap.h                                          |      7 +
 sys/arch/evbcf/include/pmc.h                                           |      3 +
 sys/arch/evbcf/include/proc.h                                          |      3 +
 sys/arch/evbcf/include/profile.h                                       |      3 +
 sys/arch/evbcf/include/psl.h                                           |      3 +
 sys/arch/evbcf/include/pte.h                                           |      5 +
 sys/arch/evbcf/include/ptrace.h                                        |      4 +
 sys/arch/evbcf/include/reg.h                                           |      8 +
 sys/arch/evbcf/include/rwlock.h                                        |      3 +
 sys/arch/evbcf/include/setjmp.h                                        |      3 +
 sys/arch/evbcf/include/signal.h                                        |      3 +
 sys/arch/evbcf/include/sunos_machdep.h                                 |      3 +
 sys/arch/evbcf/include/svr4_machdep.h                                  |      3 +
 sys/arch/evbcf/include/trap.h                                          |      3 +
 sys/arch/evbcf/include/types.h                                         |     10 +
 sys/arch/evbcf/include/vmparam.h                                       |     98 +
 sys/arch/evbcf/include/wchar_limits.h                                  |      3 +
 sys/arch/evbcf/stand/Makefile                                          |      3 +
 sys/arch/evbppc/mpc85xx/autoconf.c                                     |     10 +-
 sys/arch/evbppc/mpc85xx/machdep.c                                      |     18 +-
 sys/arch/i386/conf/files.i386                                          |      9 +-
 sys/arch/luna68k/dev/lunafb.c                                          |     29 +-
 sys/arch/luna68k/dev/timekeeper.c                                      |     28 +-
 sys/arch/luna68k/dev/timekeeper.h                                      |      3 +-
 sys/arch/m68k/include/asm.h                                            |     25 +-
 sys/arch/m68k/include/byte_swap.h                                      |     15 +-
 sys/arch/m68k/include/float.h                                          |     18 +-
 sys/arch/m68k/include/fpreg.h                                          |      6 +-
 sys/arch/m68k/include/math.h                                           |      4 +-
 sys/arch/m68k/include/pmap_coldfire.h                                  |    145 +
 sys/arch/m68k/include/profile.h                                        |      4 +-
 sys/arch/m68k/include/pte_coldfire.h                                   |    241 +
 sys/arch/m68k/m68k/copy.s                                              |    338 +-
 sys/arch/m68k/m68k/oc_cksum.s                                          |     97 +-
 sys/arch/powerpc/booke/booke_machdep.c                                 |     32 +-
 sys/arch/powerpc/booke/booke_pmap.c                                    |     12 +-
 sys/arch/powerpc/include/booke/pmap.h                                  |      6 +-
 sys/arch/powerpc/include/cpu.h                                         |     14 +-
 sys/arch/powerpc/include/cpuset.h                                      |     57 -
 sys/arch/powerpc/include/types.h                                       |      3 +-
 sys/arch/powerpc/powerpc/powerpc_machdep.c                             |      6 +-
 sys/arch/vax/boot/Makefile.inc                                         |      4 +-
 sys/arch/x68k/include/cdefs.h                                          |      2 +-
 sys/arch/x68k/include/cpufunc.h                                        |      2 +-
 sys/arch/x68k/include/ieeefp.h                                         |      2 +-
 sys/arch/x68k/include/profile.h                                        |      2 +-
 sys/arch/x68k/include/setjmp.h                                         |      2 +-
 sys/arch/x86/conf/files.x86                                            |      9 +-
 sys/arch/x86/include/bootinfo.h                                        |      2 +-
 sys/arch/x86/pci/pci_machdep.c                                         |     21 +-
 sys/compat/linux/common/linux_futex.c                                  |      8 +-
 sys/compat/netbsd32/netbsd32_conv.h                                    |      5 +-
 sys/compat/netbsd32/netbsd32_fs.c                                      |    322 +-
 sys/compat/netbsd32/netbsd32_netbsd.c                                  |    296 +-
 sys/dev/i2c/sdtemp.c                                                   |      6 +-
 sys/dev/ic/comvar.h                                                    |      7 +-
 sys/dev/ic/spdmem.c                                                    |     62 +-
 sys/dev/ic/spdmemvar.h                                                 |      8 +-
 sys/dev/pci/com_puc.c                                                  |     42 +-
 sys/dev/pci/eso.c                                                      |      7 +-
 sys/dev/pci/files.pci                                                  |      7 +-
 sys/dev/pci/ichsmb.c                                                   |     12 +-
 sys/dev/pci/ixgbe/ixgbe_osdep.h                                        |      3 +-
 sys/dev/pci/lpt_puc.c                                                  |      7 +-
 sys/dev/pci/pcidevs                                                    |     26 +-
 sys/dev/pci/pcidevs.h                                                  |     28 +-
 sys/dev/pci/pcidevs_data.h                                             |  15358 +++++----
 sys/dev/pci/piixpm.c                                                   |    126 +-
 sys/dev/pci/piixpmreg.h                                                |     15 +-
 sys/dev/pci/puc.c                                                      |     79 +-
 sys/dev/pci/puccn.c                                                    |     22 +-
 sys/dev/pci/puccn.h                                                    |      3 +-
 sys/dev/pci/pucdata.c                                                  |    272 +-
 sys/dev/pci/pucvar.h                                                   |      4 +-
 sys/dev/pci/sv.c                                                       |     11 +-
 sys/dev/rndpseudo.c                                                    |     20 +-
 sys/dev/usb/ukbd.c                                                     |      6 +-
 sys/external/bsd/drm/dist/bsd-core/drm_drv.c                           |      1 +
 sys/kern/subr_kcpuset.c                                                |    103 +-
 sys/kern/subr_vmem.c                                                   |      4 +-
 sys/kern/sysv_msg.c                                                    |     10 +-
 sys/kern/vfs_syscalls.c                                                |     14 +-
 sys/kern/vnode_if.c                                                    |      8 +-
 sys/kern/vnode_if.sh                                                   |      4 +-
 sys/lib/libkern/Makefile.libkern                                       |      6 +-
 sys/lib/libkern/arch/m68k/Makefile.inc                                 |      8 +-
 sys/lib/libkern/arch/m68k/random.S                                     |     18 +-
 sys/lib/libkern/arch/m68k/scanc.S                                      |     31 +-
 sys/lib/libkern/arch/m68k/skpc.S                                       |     18 +-
 sys/miscfs/procfs/procfs_map.c                                         |      6 +-
 sys/miscfs/specfs/spec_vnops.c                                         |      5 +-
 sys/modules/lfs/Makefile                                               |      6 +-
 sys/net/if_mpls.c                                                      |     20 +-
 sys/netmpls/mpls_proto.c                                               |     17 +-
 sys/rump/fs/lib/liblfs/Makefile                                        |      8 +-
 sys/rump/include/rump/rumpvnode_if.h                                   |      8 +-
 sys/rump/librump/rumpkern/Makefile.rumpkern                            |      5 +-
 sys/rump/librump/rumpnet/netisr.c                                      |     14 +-
 sys/rump/librump/rumpvfs/rumpvnode_if.c                                |     12 +-
 sys/rump/net/Makefile.rumpnetcomp                                      |      5 +-
 sys/rump/net/lib/libnet/Makefile                                       |      3 +-
 sys/rump/net/lib/libnet/opt/opt_mpls.h                                 |      4 +-
 sys/rump/net/lib/libnetmpls/Makefile                                   |     14 +
 sys/rump/net/lib/libnetmpls/Makefile.inc                               |      6 +
 sys/rump/net/lib/libnetmpls/component.c                                |     59 +
 sys/rump/net/lib/libnetmpls/shlib_version                              |      4 +
 sys/rump/net/lib/libshmif/if_shmem.c                                   |      7 +-
 sys/sys/kcpuset.h                                                      |     25 +-
 sys/sys/vfs_syscalls.h                                                 |      7 +-
 sys/sys/vnode_if.h                                                     |      6 +-
 sys/ufs/files.ufs                                                      |      4 +-
 sys/ufs/lfs/lfs_extern.h                                               |      5 +-
 sys/ufs/lfs/lfs_rename.c                                               |   1171 +
 sys/ufs/lfs/lfs_vnops.c                                                |    241 +-
 sys/ufs/lfs/ulfs_extern.h                                              |     26 +-
 sys/ufs/lfs/ulfs_inode.h                                               |     65 +-
 sys/ufs/lfs/ulfs_rename.c                                              |   1047 -
 sys/ufs/lfs/ulfs_vnops.c                                               |    215 +-
 sys/uvm/pmap/pmap.c                                                    |     25 +-
 sys/uvm/pmap/pmap.h                                                    |     13 +-
 sys/uvm/pmap/pmap_tlb.c                                                |    127 +-
 sys/uvm/pmap/pmap_tlb.h                                                |     20 +-
 tests/lib/libc/sys/Makefile                                            |      6 +-
 tests/lib/libexecinfo/Makefile                                         |      4 +-
 tests/net/Makefile                                                     |      4 +-
 tests/net/mpls/Makefile                                                |     10 +
 tests/net/mpls/t_mpls_fw.sh                                            |    188 +
 tests/net/mpls/t_rfc4182.sh                                            |    165 +
 tools/Makefile                                                         |      4 +-
 tools/compat/compat_defs.h                                             |      7 +-
 tools/compat/configure                                                 |  12263 ++++---
 tools/compat/configure.ac                                              |      7 +-
 tools/compat/nbtool_config.h.in                                        |    319 +-
 tools/gcc/Makefile                                                     |      4 +-
 tools/headerlist                                                       |      4 +-
 usr.bin/audio/play/audioplay.1                                         |      4 +-
 usr.bin/audio/record/audiorecord.1                                     |      4 +-
 usr.bin/crunch/crunchgen/crunchgen.1                                   |      6 +-
 usr.bin/crunch/crunchide/crunchide.1                                   |      4 +-
 usr.bin/elf2aout/Makefile                                              |      7 +-
 usr.bin/fdformat/Makefile                                              |      4 +-
 usr.bin/gzip/gzip.1                                                    |      4 +-
 usr.bin/infocmp/infocmp.1                                              |      4 +-
 usr.bin/ipcs/ipcs.1                                                    |      4 +-
 usr.bin/m4/m4.1                                                        |      8 +-
 usr.bin/make/main.c                                                    |     30 +-
 usr.bin/man/Makefile                                                   |      6 +-
 usr.bin/man/man.1                                                      |      9 +-
 usr.bin/man/man.c                                                      |     83 +-
 usr.bin/man/manconf.c                                                  |      8 +-
 usr.bin/nvi/recover/virecover.8                                        |      4 +-
 usr.bin/pmc/pmc.1                                                      |      6 +-
 usr.bin/qsubst/qsubst.1                                                |      4 +-
 usr.bin/rfcomm_sppd/rfcomm_sppd.1                                      |      4 +-
 usr.bin/sdiff/sdiff.1                                                  |      4 +-
 usr.bin/sdpquery/sdpquery.1                                            |      4 +-
 usr.bin/shlock/shlock.1                                                |      4 +-
 usr.bin/sockstat/sockstat.1                                            |      4 +-
 usr.bin/tabs/tabs.1                                                    |      4 +-
 usr.bin/tic/tic.1                                                      |      4 +-
 usr.bin/units/units.1                                                  |      4 +-
 usr.bin/unzip/unzip.1                                                  |      6 +-
 usr.bin/usbhidctl/usbhidctl.1                                          |      4 +-
 usr.bin/utoppya/utoppya.1                                              |      4 +-
 usr.bin/xlint/arch/coldfire/targparam.h                                |     54 +
 usr.sbin/acpitools/acpidump/acpidump.8                                 |     22 +-
 usr.sbin/acpitools/amldb/amldb.8                                       |     18 +-
 usr.sbin/btattach/btattach.8                                           |      4 +-
 usr.sbin/btdevctl/btdevctl.8                                           |      4 +-
 usr.sbin/bthcid/bthcid.8                                               |      6 +-
 usr.sbin/fwctl/fwctl.8                                                 |      8 +-
 usr.sbin/gpioctl/gpioctl.8                                             |      6 +-
 usr.sbin/hdaudioctl/hdaudioctl.8                                       |      6 +-
 usr.sbin/ipwctl/ipwctl.8                                               |      4 +-
 usr.sbin/isdn/dtmfdecode/dtmfdecode.1                                  |      8 +-
 usr.sbin/isdn/isdnd/isdnd.8                                            |      6 +-
 usr.sbin/isdn/isdnd/isdnd.acct.5                                       |      6 +-
 usr.sbin/isdn/isdnd/isdnd.rates.5                                      |      6 +-
 usr.sbin/isdn/isdnd/isdnd.rc.5                                         |      8 +-
 usr.sbin/isdn/isdnmonitor/isdnmonitor.8                                |      6 +-
 usr.sbin/isdn/isdntel/isdntel.8                                        |      6 +-
 usr.sbin/isdn/isdntelctl/isdntelctl.8                                  |      6 +-
 usr.sbin/isdn/isdntrace/isdntrace.8                                    |      6 +-
 usr.sbin/iwictl/iwictl.8                                               |      4 +-
 usr.sbin/ldpd/fsm.c                                                    |      4 +-
 usr.sbin/ldpd/label.c                                                  |     92 +-
 usr.sbin/ldpd/label.h                                                  |     11 +-
 usr.sbin/ldpd/ldp_command.c                                            |     11 +-
 usr.sbin/ldpd/ldp_command.h                                            |      7 +-
 usr.sbin/ldpd/ldp_peer.c                                               |     83 +-
 usr.sbin/ldpd/ldp_peer.h                                               |      4 +-
 usr.sbin/ldpd/mpls_interface.c                                         |    193 +-
 usr.sbin/ldpd/mpls_interface.h                                         |      6 +-
 usr.sbin/ldpd/mpls_routes.c                                            |     97 +-
 usr.sbin/ldpd/mpls_routes.h                                            |      4 +-
 usr.sbin/ldpd/socketops.c                                              |     47 +-
 usr.sbin/ldpd/tlv_stack.c                                              |     46 +-
 usr.sbin/lmcconfig/lmcconfig.8                                         |      4 +-
 usr.sbin/mailwrapper/mailer.conf.5                                     |      4 +-
 usr.sbin/mailwrapper/mailwrapper.8                                     |      4 +-
 usr.sbin/mmcformat/mmcformat.8                                         |      4 +-
 usr.sbin/mopd/mopchk/mopchk.1                                          |      4 +-
 usr.sbin/mopd/mopd/mopd.8                                              |      4 +-
 usr.sbin/mopd/mopprobe/mopprobe.1                                      |      4 +-
 usr.sbin/mopd/moptrace/moptrace.1                                      |      6 +-
 usr.sbin/ndiscvt/ndiscvt.8                                             |      6 +-
 usr.sbin/paxctl/paxctl.8                                               |      6 +-
 usr.sbin/rpc.yppasswdd/rpc.yppasswdd.8                                 |      4 +-
 usr.sbin/sdpd/sdpd.8                                                   |      4 +-
 usr.sbin/sunlabel/sunlabel.8                                           |      4 +-
 usr.sbin/wiconfig/wiconfig.8                                           |      4 +-
 usr.sbin/wlanctl/wlanctl.8                                             |      4 +-
 usr.sbin/ypserv/makedbm/makedbm.8                                      |      4 +-
 usr.sbin/ypserv/mkalias/mkalias.8                                      |      4 +-
 usr.sbin/ypserv/mknetid/mknetid.8                                      |      4 +-
 usr.sbin/ypserv/mknetid/netid.5                                        |      4 +-
 usr.sbin/ypserv/revnetgroup/revnetgroup.8                              |      4 +-
 usr.sbin/ypserv/stdethers/stdethers.8                                  |      4 +-
 usr.sbin/ypserv/stdhosts/stdhosts.8                                    |      4 +-
 usr.sbin/ypserv/ypinit/Makefile.yp                                     |     18 +-
 usr.sbin/ypserv/yptest/yptest.8                                        |      4 +-
 usr.sbin/ypserv/ypxfr/ypxfr.8                                          |      4 +-
 891 files changed, 66073 insertions(+), 19955 deletions(-)

diffs (truncated from 107063 to 300 lines):

diff -r 0f502d72f935 -r da20919a3791 bin/hostname/hostname.1
--- a/bin/hostname/hostname.1   Wed Jul 17 15:50:59 2013 +0000
+++ b/bin/hostname/hostname.1   Tue Jul 23 21:07:19 2013 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: hostname.1,v 1.17 2003/08/07 09:05:13 agc Exp $
+.\"    $NetBSD: hostname.1,v 1.17.66.1 2013/07/23 21:07:19 riastradh Exp $
 .\"
 .\" Copyright (c) 1983, 1988, 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"    @(#)hostname.1  8.2 (Berkeley) 4/28/95
 .\"
-.Dd April 28, 1995
+.Dd July 19, 2013
 .Dt HOSTNAME 1
 .Os
 .Sh NAME
@@ -37,7 +37,7 @@
 .Nd set or print name of current host system
 .Sh SYNOPSIS
 .Nm
-.Op Fl s
+.Op Fl AadfIis
 .Op Ar name-of-host
 .Sh DESCRIPTION
 .Nm
@@ -50,14 +50,36 @@
 .Pp
 Options:
 .Bl -tag -width flag
+.It Fl A
+Display the FQDN of each address on all interfaces.
+.It Fl a
+Display alias name(s) of the host.
+.It Fl d
+Display the DNS domain.
+.It Fl f
+Display the FQDN for the hostname.
+.It Fl I
+Display each IP address on all interfaces.
+.It Fl i
+Display the IP address(es) for the hostname.
 .It Fl s
-Trims off any domain information from the printed
-name.
+Display the short hostname.
 .El
+.Sh NOTES
+With the exception of
+.Fl I
+and
+.Fl s ,
+the other options will retrieve their results from the resolver.
 .Sh SEE ALSO
 .Xr domainname 1 ,
+.Xr getaddrinfo 3 ,
+.Xr gethostbyname 3 ,
 .Xr gethostname 3 ,
-.Xr sethostname 3
+.Xr getifaddrs 3 ,
+.Xr getnameinfo 3 ,
+.Xr sethostname 3 ,
+.Xr hosts 5
 .Sh HISTORY
 The
 .Nm
diff -r 0f502d72f935 -r da20919a3791 bin/hostname/hostname.c
--- a/bin/hostname/hostname.c   Wed Jul 17 15:50:59 2013 +0000
+++ b/bin/hostname/hostname.c   Tue Jul 23 21:07:19 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hostname.c,v 1.17 2011/08/29 14:51:18 joerg Exp $ */
+/* $NetBSD: hostname.c,v 1.17.12.1 2013/07/23 21:07:19 riastradh Exp $ */
 
 /*
  * Copyright (c) 1988, 1993
@@ -39,13 +39,19 @@
 #if 0
 static char sccsid[] = "@(#)hostname.c 8.2 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: hostname.c,v 1.17 2011/08/29 14:51:18 joerg Exp $");
+__RCSID("$NetBSD: hostname.c,v 1.17.12.1 2013/07/23 21:07:19 riastradh Exp $");
 #endif
 #endif /* not lint */
 
 #include <sys/param.h>
+#include <sys/socket.h>
+
+#include <net/if.h>
+#include <netinet/in.h>
 
 #include <err.h>
+#include <ifaddrs.h>
+#include <netdb.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -56,13 +62,36 @@
 int
 main(int argc, char *argv[])
 {
-       int ch, sflag;
+       int ch, Aflag, aflag, dflag, Iflag, iflag, fflag, sflag, i;
        char *p, hostname[MAXHOSTNAMELEN + 1];
+       struct addrinfo hints, *ainfos, *ai;
+       struct hostent *hent;
+       struct ifaddrs *ifa, *ifp;
+       struct sockaddr_in6 *sin6;
+       char buf[MAX(MAXHOSTNAMELEN + 1, INET6_ADDRSTRLEN)];
 
        setprogname(argv[0]);
-       sflag = 0;
-       while ((ch = getopt(argc, argv, "s")) != -1)
+       Aflag = aflag = dflag = Iflag = iflag = fflag = sflag = 0;
+       while ((ch = getopt(argc, argv, "AadIifs")) != -1)
                switch (ch) {
+               case 'A':
+                       Aflag = 1;
+                       break;
+               case 'a':
+                       aflag = 1;
+                       break;
+               case 'd':
+                       dflag = 1;
+                       break;
+               case 'I':
+                       Iflag = 1;
+                       break;
+               case 'i':
+                       iflag = 1;
+                       break;
+               case 'f':
+                       fflag = 1;
+                       break;
                case 's':
                        sflag = 1;
                        break;
@@ -79,13 +108,90 @@
        if (*argv) {
                if (sethostname(*argv, strlen(*argv)))
                        err(1, "sethostname");
+       } else if (Aflag || Iflag) {
+               if (getifaddrs(&ifa) == -1)
+                       err(1, "getifaddrs");
+               for (ifp = ifa; ifp; ifp = ifp->ifa_next) {
+                       if (ifp->ifa_addr == NULL ||
+                           ifp->ifa_flags & IFF_LOOPBACK ||
+                           !(ifp->ifa_flags & IFF_UP))
+                               continue;
+
+                       switch(ifp->ifa_addr->sa_family) {
+                       case AF_INET:
+                               break;
+                       case AF_INET6:
+                               /* Skip link local addresses */
+                               sin6 = (struct sockaddr_in6 *)ifp->ifa_addr;
+                               if (IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr) ||
+                                   IN6_IS_ADDR_MC_LINKLOCAL(&sin6->sin6_addr))
+                                       continue;
+                               break;
+                       default:
+                               /* We only translate IPv4 or IPv6 addresses */
+                               continue;
+                       }
+                       i = getnameinfo(ifp->ifa_addr, ifp->ifa_addr->sa_len,
+                           buf, sizeof(buf), NULL, 0,
+                           Iflag ? NI_NUMERICHOST: NI_NAMEREQD);
+                       if (i) {
+                               if (Iflag && i != EAI_NONAME)
+                                       errx(1, "getnameinfo: %s",
+                                           gai_strerror(i));
+                       } else
+                               printf("%s\n", buf);
+               }
+               freeifaddrs(ifa);
        } else {
                if (gethostname(hostname, sizeof(hostname)))
                        err(1, "gethostname");
                hostname[sizeof(hostname) - 1] = '\0';
-               if (sflag && (p = strchr(hostname, '.')))
-                       *p = '\0';
-               (void)printf("%s\n", hostname);
+               if (aflag) {
+                       if ((hent = gethostbyname(hostname)) == NULL)
+                               errx(1, "gethostbyname: %s",
+                                   hstrerror(h_errno));
+                       for (i = 0; hent->h_aliases[i]; i++)
+                               printf("%s\n", hent->h_aliases[i]);
+               } else if (dflag || iflag || fflag) {
+                       memset(&hints, 0, sizeof(hints));
+                       hints.ai_family = AF_UNSPEC;
+                       hints.ai_socktype = SOCK_DGRAM;
+                       hints.ai_flags = AI_CANONNAME;
+                       i = getaddrinfo(hostname, NULL, &hints, &ainfos);
+                       if (i)
+                               errx(1, "getaddrinfo: %s", gai_strerror(i));
+                       if (ainfos) {
+                               if (dflag) {
+                                       if ((p = strchr(ainfos->ai_canonname,
+                                           '.')))
+                                               printf("%s\n", p + 1);
+                               } else if (iflag) {
+                                       for (ai = ainfos; ai; ai = ai->ai_next)
+                                       {
+                                               i = getnameinfo(ai->ai_addr,
+                                                   ai->ai_addrlen,
+                                                   buf, sizeof(buf), NULL, 0,
+                                                   NI_NUMERICHOST);
+                                               if (i)
+                                                       errx(1,
+                                                           "getnameinfo: %s",
+                                                           gai_strerror(i));
+                                               printf("%s\n", buf);
+                                       }
+                               } else {
+                                       if (sflag &&
+                                           (p = strchr(ainfos->ai_canonname,
+                                           '.')))
+                                               *p = '\0';
+                                       printf("%s\n", ainfos->ai_canonname);
+                               }
+                               freeaddrinfo(ainfos);
+                       }
+               } else {
+                       if (sflag && (p = strchr(hostname, '.')))
+                               *p = '\0';
+                       printf("%s\n", hostname);
+               }
        }
        exit(0);
        /* NOTREACHED */
@@ -94,7 +200,7 @@
 static void
 usage(void)
 {
-       (void)fprintf(stderr, "usage: %s [-s] [name-of-host]\n",
+       (void)fprintf(stderr, "usage: %s [-AadfIis] [name-of-host]\n",
            getprogname());
        exit(1);
        /* NOTREACHED */
diff -r 0f502d72f935 -r da20919a3791 build.sh
--- a/build.sh  Wed Jul 17 15:50:59 2013 +0000
+++ b/build.sh  Tue Jul 23 21:07:19 2013 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/env sh
-#      $NetBSD: build.sh,v 1.269 2013/06/28 06:17:37 msaitoh Exp $
+#      $NetBSD: build.sh,v 1.269.2.1 2013/07/23 21:07:19 riastradh Exp $
 #
 # Copyright (c) 2001-2011 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -593,6 +593,7 @@
 MACHINE=evbarm         MACHINE_ARCH=earmeb     ALIAS=evbearm-eb
 MACHINE=evbarm         MACHINE_ARCH=earmhf     ALIAS=evbearmhf-el
 MACHINE=evbarm         MACHINE_ARCH=earmhfeb   ALIAS=evbearmhf-eb
+MACHINE=evbcf          MACHINE_ARCH=coldfire
 MACHINE=evbmips                MACHINE_ARCH=           NO_DEFAULT
 MACHINE=evbmips                MACHINE_ARCH=mips64eb   ALIAS=evbmips64-eb
 MACHINE=evbmips                MACHINE_ARCH=mips64el   ALIAS=evbmips64-el
@@ -1732,7 +1733,7 @@
        eval cat <<EOF ${makewrapout}
 #! ${HOST_SH}
 # Set proper variables to allow easy "make" building of a NetBSD subtree.
-# Generated from:  \$NetBSD: build.sh,v 1.269 2013/06/28 06:17:37 msaitoh Exp $
+# Generated from:  \$NetBSD: build.sh,v 1.269.2.1 2013/07/23 21:07:19 riastradh Exp $
 # with these arguments: ${_args}
 #
 
diff -r 0f502d72f935 -r da20919a3791 common/lib/libc/arch/m68k/atomic/Makefile.inc
--- a/common/lib/libc/arch/m68k/atomic/Makefile.inc     Wed Jul 17 15:50:59 2013 +0000
+++ b/common/lib/libc/arch/m68k/atomic/Makefile.inc     Tue Jul 23 21:07:19 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.9 2009/01/04 17:54:29 pooka Exp $
+#      $NetBSD: Makefile.inc,v 1.9.18.1 2013/07/23 21:07:19 riastradh Exp $
 
 #
 # Note: The atomic operations here in these assembly files are atomic
@@ -11,7 +11,7 @@
 
 .if defined(LIB) && (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" \
        || ${LIB} == "rump")
-.if ${MACHINE_ARCH} != "m68000"
+.if ${MACHINE_ARCH} == "m68k"
 
 SRCS+= atomic_add.S atomic_and.S atomic_cas.S atomic_dec.S \
        atomic_inc.S atomic_or.S atomic_swap.S membar_ops_nop.c
@@ -27,7 +27,7 @@
 .endif
 
 .if defined(LIB) && (${LIB} == "c" || ${LIB} == "pthread")
-.if ${MACHINE_ARCH} != "m68000"
+.if ${MACHINE_ARCH} == "m68k"
 
 SRCS+= atomic_init_cas.c
 
diff -r 0f502d72f935 -r da20919a3791 common/lib/libc/arch/m68k/gen/bswap16.S
--- a/common/lib/libc/arch/m68k/gen/bswap16.S   Wed Jul 17 15:50:59 2013 +0000
+++ b/common/lib/libc/arch/m68k/gen/bswap16.S   Tue Jul 23 21:07:19 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bswap16.S,v 1.4 2013/07/16 23:24:18 matt Exp $ */
+/*     $NetBSD: bswap16.S,v 1.4.2.1 2013/07/23 21:07:19 riastradh Exp $        */



Home | Main Index | Thread Index | Old Index