svn commit: r241002 - head/sys/contrib/ipfilter/netinet

2012-09-27 Thread Max Khon
Author: fjoe Date: Thu Sep 27 18:15:01 2012 New Revision: 241002 URL: http://svn.freebsd.org/changeset/base/241002 Log: Fix pseudo checksum calculation. This fixes ipfilter w/ network controllers that implement only partial rx csum offloading. PR: 106438 Obtained

svn commit: r238933 - head/sys/dev/puc

2012-07-30 Thread Max Khon
Author: fjoe Date: Tue Jul 31 05:23:23 2012 New Revision: 238933 URL: http://svn.freebsd.org/changeset/base/238933 Log: - Change back d_ofs to int8_t to not pessimize padding and size of struct puc_cfg. - Use puc_config_moxa for Moxa boards that need d_ofs greater than 0x7f Prodded by:

svn commit: r237350 - head/sys/dev/puc

2012-06-20 Thread Max Khon
Author: fjoe Date: Thu Jun 21 03:10:48 2012 New Revision: 237350 URL: http://svn.freebsd.org/changeset/base/237350 Log: Add support for the following Moxa PCIe multiport serial boards: - CP102E - CP102EL - CP132EL - CP114EL - CP118EL-A - CP168EL-A MFC after:1 week

svn commit: r237357 - head/sys/dev/puc

2012-06-20 Thread Max Khon
Author: fjoe Date: Thu Jun 21 04:57:59 2012 New Revision: 237357 URL: http://svn.freebsd.org/changeset/base/237357 Log: Remove Moxa CP-132EL definition (RS422/485-only board). Modified: head/sys/dev/puc/pucdata.c Modified: head/sys/dev/puc/pucdata.c

svn commit: r231543 - head/sys/netgraph

2012-02-11 Thread Max Khon
Author: fjoe Date: Sun Feb 12 05:14:12 2012 New Revision: 231543 URL: http://svn.freebsd.org/changeset/base/231543 Log: - Use fixed-width integer types. - Prefer to use C99 stdint types. This fixes ng_cisco on 64-bit architectures. MFC after:1 week Modified:

svn commit: r231544 - in head: tools/regression/usr.bin/make/execution/joberr usr.bin/make

2012-02-11 Thread Max Khon
Author: fjoe Date: Sun Feb 12 05:34:01 2012 New Revision: 231544 URL: http://svn.freebsd.org/changeset/base/231544 Log: Include target names in diagnostic output. Submitted by: Garrett Cooper Modified: head/tools/regression/usr.bin/make/execution/joberr/expected.stdout.1

svn commit: r228521 - head/usr.bin/make

2011-12-14 Thread Max Khon
Author: fjoe Date: Thu Dec 15 03:13:23 2011 New Revision: 228521 URL: http://svn.freebsd.org/changeset/base/228521 Log: job make: if stdout is a tty create a pty when running a command. Modified: head/usr.bin/make/Makefile head/usr.bin/make/job.c Modified: head/usr.bin/make/Makefile

svn commit: r228523 - head/tools/regression/usr.bin/make/execution/joberr

2011-12-14 Thread Max Khon
Author: fjoe Date: Thu Dec 15 06:01:06 2011 New Revision: 228523 URL: http://svn.freebsd.org/changeset/base/228523 Log: Add job error output test. make(1) with openpty() currently fails this test: there's a race condition and error output is sometimes lost. Added:

svn commit: r228524 - head/tools/regression/usr.bin/make/execution/joberr

2011-12-14 Thread Max Khon
Author: fjoe Date: Thu Dec 15 06:12:43 2011 New Revision: 228524 URL: http://svn.freebsd.org/changeset/base/228524 Log: Fix last-minute typo. Modified: head/tools/regression/usr.bin/make/execution/joberr/Makefile Modified: head/tools/regression/usr.bin/make/execution/joberr/Makefile

svn commit: r228525 - head/usr.bin/make

2011-12-14 Thread Max Khon
Author: fjoe Date: Thu Dec 15 06:25:19 2011 New Revision: 228525 URL: http://svn.freebsd.org/changeset/base/228525 Log: Revert r228521: sometimes job output is lost (see tools/regression/usr.bin/make/execution/joberr test). openpty(fd + 0, fd + 1,...) version does not have this problem

svn commit: r228311 - head/sys/conf

2011-12-06 Thread Max Khon
Author: fjoe Date: Tue Dec 6 18:01:09 2011 New Revision: 228311 URL: http://svn.freebsd.org/changeset/base/228311 Log: MK_CTF is not defined when kmod.mk is used with old bsd.own.mk. Modified: head/sys/conf/kmod.mk Modified: head/sys/conf/kmod.mk

Re: svn commit: r228158 - in head: . share/mk sys/conf

2011-12-06 Thread Max Khon
Gary, Hans, On Tue, Dec 6, 2011 at 4:06 PM, Gary Jennejohn gljennj...@googlemail.comwrote: I see regressions when building kernel modules from /usr/ports: On Monday 05 December 2011 14:39:56 Robert Huff wrote: Hello: When trying to update I get: === Building for

Re: svn commit: r228196 - in head: share/mk tools/build/options

2011-12-03 Thread Max Khon
Bruce, On Fri, Dec 2, 2011 at 9:41 PM, Bruce Evans b...@optusnet.com.au wrote: Log:  Revert to conservative defaults. WITH_PROFILE is a default now.  NO_PROFILE overrides in Makefile.inc1 and bsd.own.m are left intact  so that the reversal to the WITHOUT_PROFILE will be easier in future.

svn commit: r228196 - in head: share/mk tools/build/options

2011-12-02 Thread Max Khon
Author: fjoe Date: Fri Dec 2 09:09:54 2011 New Revision: 228196 URL: http://svn.freebsd.org/changeset/base/228196 Log: Revert to conservative defaults. WITH_PROFILE is a default now. NO_PROFILE overrides in Makefile.inc1 and bsd.own.m are left intact so that the reversal to the

svn commit: r228197 - head/share/man/man5

2011-12-02 Thread Max Khon
Author: fjoe Date: Fri Dec 2 09:28:19 2011 New Revision: 228197 URL: http://svn.freebsd.org/changeset/base/228197 Log: Regen. Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 == ---

svn commit: r228175 - head/usr.sbin/sade

2011-12-01 Thread Max Khon
Author: fjoe Date: Thu Dec 1 09:01:51 2011 New Revision: 228175 URL: http://svn.freebsd.org/changeset/base/228175 Log: Fix dialog autosizing: dlg_count_columns() does not handle NL characters. Modified: head/usr.sbin/sade/misc.c Modified: head/usr.sbin/sade/misc.c

svn commit: r228176 - head/usr.sbin/tzsetup

2011-12-01 Thread Max Khon
Author: fjoe Date: Thu Dec 1 09:02:57 2011 New Revision: 228176 URL: http://svn.freebsd.org/changeset/base/228176 Log: Sync xdialog_menu() implementation with sade. Modified: head/usr.sbin/tzsetup/tzsetup.c Modified: head/usr.sbin/tzsetup/tzsetup.c

svn commit: r228153 - head/usr.sbin/config

2011-11-30 Thread Max Khon
Author: fjoe Date: Wed Nov 30 13:33:09 2011 New Revision: 228153 URL: http://svn.freebsd.org/changeset/base/228153 Log: Generate ${NORMAL_CTFCONVERT} invocation without '@' modifier: - ${NORMAL_CC} is also invoked without '@' - Userland CTF support was changed previously to echo ctfconvert

Re: svn commit: r228143 - in head: . share/mk tools/build/options

2011-11-30 Thread Max Khon
John, On Wed, Nov 30, 2011 at 3:36 AM, John Baldwin j...@freebsd.org wrote: Author: fjoe Date: Tue Nov 29 19:46:17 2011 New Revision: 228143 URL: http://svn.freebsd.org/changeset/base/228143 Log: Turn off profiled libs build by default. Can be enabled back using

svn commit: r228157 - head/usr.bin/make

2011-11-30 Thread Max Khon
Author: fjoe Date: Wed Nov 30 18:07:38 2011 New Revision: 228157 URL: http://svn.freebsd.org/changeset/base/228157 Log: - Fix segmentation fault when running +command when run with -jX -n due to Compat_RunCommand() being called with `cmd' that is not on the node-commands list - Make

svn commit: r228158 - in head: . share/mk sys/conf

2011-11-30 Thread Max Khon
Author: fjoe Date: Wed Nov 30 18:11:49 2011 New Revision: 228158 URL: http://svn.freebsd.org/changeset/base/228158 Log: - CTF knob is now implemented using common scheme: MK_CTF=yes/no is defined based on WITH/WITHOUT_CTF settings, default is WITHOUT_CTF, NO_CTF overrides WITH_CTF (used by

svn commit: r228159 - head/tools/build/options

2011-11-30 Thread Max Khon
Author: fjoe Date: Wed Nov 30 18:22:44 2011 New Revision: 228159 URL: http://svn.freebsd.org/changeset/base/228159 Log: Add WITH_CTF description. Added: head/tools/build/options/WITH_CTF (contents, props changed) Added: head/tools/build/options/WITH_CTF

svn commit: r228160 - head/share/man/man5

2011-11-30 Thread Max Khon
Author: fjoe Date: Wed Nov 30 18:24:43 2011 New Revision: 228160 URL: http://svn.freebsd.org/changeset/base/228160 Log: Regen. Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 == ---

Re: svn commit: r228157 - head/usr.bin/make

2011-11-30 Thread Max Khon
Alexander, On Thu, Dec 1, 2011 at 7:16 AM, Alexander Best arun...@freebsd.org wrote: Author: fjoe Date: Wed Nov 30 18:07:38 2011 New Revision: 228157 URL: http://svn.freebsd.org/changeset/base/228157 Log: - Fix segmentation fault when running +command when run with -jX -n due

Re: svn commit: r228157 - head/usr.bin/make

2011-11-30 Thread Max Khon
Alexander, On Thu, Dec 1, 2011 at 11:05 AM, Max Khon f...@freebsd.org wrote: it would also be nice, if at some point, somebody could dive into the code to see why 'make buildkernel' will let clang produce coloured output, but 'make -j(N1) buildkernel' doesn't (and why adding a -B switch

Re: svn commit: r228157 - head/usr.bin/make

2011-11-30 Thread Max Khon
Alexander, On Thu, Dec 1, 2011 at 12:03 PM, Max Khon f...@freebsd.org wrote: it would also be nice, if at some point, somebody could dive into the code to see why 'make buildkernel' will let clang produce coloured output, but 'make -j(N1) buildkernel' doesn't (and why adding a -B switch

svn commit: r228120 - head/share/mk

2011-11-29 Thread Max Khon
Author: fjoe Date: Tue Nov 29 08:20:23 2011 New Revision: 228120 URL: http://svn.freebsd.org/changeset/base/228120 Log: Allow NO_FOO to override WITH_FOO that could be specified in /etc/src.conf. This is required to override knobs (e.g. WITH_PROFILE) during buildworld stages in

svn commit: r228121 - head/sys/conf

2011-11-29 Thread Max Khon
Author: fjoe Date: Tue Nov 29 08:21:54 2011 New Revision: 228121 URL: http://svn.freebsd.org/changeset/base/228121 Log: Fix typo in comments (conversation - conversion). Modified: head/sys/conf/kern.mk Modified: head/sys/conf/kern.mk

svn commit: r228124 - in head: share/mk sys/conf

2011-11-29 Thread Max Khon
Author: fjoe Date: Tue Nov 29 08:38:47 2011 New Revision: 228124 URL: http://svn.freebsd.org/changeset/base/228124 Log: Conditionalize ctfconvert/ctfmerge runs on make level (.if/.endif) instead of executing a shell on every object or executable/library file. This shaves off more than

Re: svn commit: r228114 - head/lib/libedit/edit/readline

2011-11-29 Thread Max Khon
David, On Tue, Nov 29, 2011 at 6:28 PM, David Chisnall thera...@freebsd.orgwrote: All this makes it possible to build and link gdb with -ledit. When I had a quick look a couple of days ago, kadmin and [k]gdb were the only things that linked against readline in base. With them now linking

svn commit: r228137 - in head: share/mk sys/conf

2011-11-29 Thread Max Khon
Author: fjoe Date: Tue Nov 29 16:34:44 2011 New Revision: 228137 URL: http://svn.freebsd.org/changeset/base/228137 Log: - fix WITH_CTF when specified in /etc/src.conf [1] - CTFCONVERT_CMD=... is a hack (should be defined to empty string instead): make(1) should be taught to ignore empty

Re: svn commit: r228124 - in head: share/mk sys/conf

2011-11-29 Thread Max Khon
Alexander, On Tue, Nov 29, 2011 at 9:00 PM, Alexander Kabaev kab...@gmail.com wrote: Author: fjoe Date: Tue Nov 29 08:38:47 2011 New Revision: 228124 URL: http://svn.freebsd.org/changeset/base/228124 Log: Conditionalize ctfconvert/ctfmerge runs on make level (.if/.endif) instead

svn commit: r228140 - head/sys/conf

2011-11-29 Thread Max Khon
Author: fjoe Date: Tue Nov 29 18:52:02 2011 New Revision: 228140 URL: http://svn.freebsd.org/changeset/base/228140 Log: Do not echo ${CTFCONVERT} command: config(8) will be fixed to not emit '@' for ${NORMAL_CTFCONVERT} invocation. Modified: head/sys/conf/kern.pre.mk Modified:

svn commit: r228141 - head/sys/conf

2011-11-29 Thread Max Khon
Author: fjoe Date: Tue Nov 29 19:13:01 2011 New Revision: 228141 URL: http://svn.freebsd.org/changeset/base/228141 Log: Call CTFMERGE only when WITH_CTF is defined. Modified: head/sys/conf/kmod.mk Modified: head/sys/conf/kmod.mk

svn commit: r228143 - in head: . share/mk tools/build/options

2011-11-29 Thread Max Khon
Author: fjoe Date: Tue Nov 29 19:46:17 2011 New Revision: 228143 URL: http://svn.freebsd.org/changeset/base/228143 Log: Turn off profiled libs build by default. Can be enabled back using WITH_PROFILE=yes in /etc/src.conf Added: head/tools/build/options/WITH_PROFILE - copied, changed

svn commit: r228147 - head/share/mk

2011-11-29 Thread Max Khon
Author: fjoe Date: Tue Nov 29 20:06:27 2011 New Revision: 228147 URL: http://svn.freebsd.org/changeset/base/228147 Log: CTFCONVERT_CMD=... hack does not work sufficiently well in parallel builds. Put a bandaid until make(1) is taught to ignore empty commands. Modified:

svn commit: r228149 - in head/tools/regression/usr.bin/make/execution: . ellipsis empty plus

2011-11-29 Thread Max Khon
Author: fjoe Date: Wed Nov 30 05:49:17 2011 New Revision: 228149 URL: http://svn.freebsd.org/changeset/base/228149 Log: Add three execution tests for make(1): - plus: execute +command when run with -jX -n - ellipsis: ellipsis (...) from variable - empty: empty command (from variable)

svn commit: r228065 - head/lib/libpam/modules/pam_unix

2011-11-28 Thread Max Khon
Author: fjoe Date: Mon Nov 28 14:01:17 2011 New Revision: 228065 URL: http://svn.freebsd.org/changeset/base/228065 Log: .include bsd.init.mk instead of bsd.own.mk The former allows common settings from ../Makefile.inc to be used. Modified: head/lib/libpam/modules/pam_unix/Makefile

svn commit: r228066 - head/tools

2011-11-28 Thread Max Khon
Author: fjoe Date: Mon Nov 28 14:03:36 2011 New Revision: 228066 URL: http://svn.freebsd.org/changeset/base/228066 Log: Add a comment that shows how to limit the build to the specific list of arches. Modified: head/tools/tinder.sh Modified: head/tools/tinder.sh

svn commit: r228074 - head/rescue/rescue

2011-11-28 Thread Max Khon
Author: fjoe Date: Mon Nov 28 15:44:04 2011 New Revision: 228074 URL: http://svn.freebsd.org/changeset/base/228074 Log: -lpthread is required by -lzfs so should be later in LIBS list. There were no undefined symbol pthread_xxx errors during the link before this fix only because of

svn commit: r228112 - head/rescue/rescue

2011-11-28 Thread Max Khon
Author: fjoe Date: Tue Nov 29 03:27:09 2011 New Revision: 228112 URL: http://svn.freebsd.org/changeset/base/228112 Log: -lreadline is not required anymore. Modified: head/rescue/rescue/Makefile Modified: head/rescue/rescue/Makefile

svn commit: r228113 - in head/kerberos5: usr.bin/kadmin usr.sbin/ktutil

2011-11-28 Thread Max Khon
Author: fjoe Date: Tue Nov 29 03:49:03 2011 New Revision: 228113 URL: http://svn.freebsd.org/changeset/base/228113 Log: Link with -ledit instead of -lreadline. Modified: head/kerberos5/usr.bin/kadmin/Makefile head/kerberos5/usr.sbin/ktutil/Makefile Modified:

svn commit: r228114 - head/lib/libedit/edit/readline

2011-11-28 Thread Max Khon
Author: fjoe Date: Tue Nov 29 04:50:57 2011 New Revision: 228114 URL: http://svn.freebsd.org/changeset/base/228114 Log: - Hide _rl_qsort_string_compare() that should be private to libreadline() implementation. - Add symlink /usr/include/edit/readline/tilde.h - readline.h All this makes

Re: svn commit: r227953 - head/gnu/lib/libodialog

2011-11-25 Thread Max Khon
Doug, On Fri, Nov 25, 2011 at 4:12 AM, Doug Barton do...@freebsd.org wrote: Author: fjoe Date: Thu Nov 24 20:34:50 2011 New Revision: 227953 URL: http://svn.freebsd.org/changeset/base/227953 Log: libodialog: Remove no longer used library. Deleted: head/gnu/lib/libodialog/

svn commit: r227928 - head/usr.sbin/sade

2011-11-24 Thread Max Khon
Author: fjoe Date: Thu Nov 24 08:56:24 2011 New Revision: 227928 URL: http://svn.freebsd.org/changeset/base/227928 Log: Remove unused code. Deleted: head/usr.sbin/sade/config.c Modified: head/usr.sbin/sade/Makefile head/usr.sbin/sade/sade.h Modified: head/usr.sbin/sade/Makefile

svn commit: r227929 - head/usr.sbin/sade

2011-11-24 Thread Max Khon
Author: fjoe Date: Thu Nov 24 10:08:22 2011 New Revision: 227929 URL: http://svn.freebsd.org/changeset/base/227929 Log: Remove unused code. Deleted: head/usr.sbin/sade/dispatch.c Modified: head/usr.sbin/sade/Makefile Modified: head/usr.sbin/sade/Makefile

svn commit: r227934 - head/usr.sbin/tzsetup

2011-11-24 Thread Max Khon
Author: fjoe Date: Thu Nov 24 13:24:06 2011 New Revision: 227934 URL: http://svn.freebsd.org/changeset/base/227934 Log: Port to new libdialog. Modified: head/usr.sbin/tzsetup/Makefile head/usr.sbin/tzsetup/tzsetup.c Modified: head/usr.sbin/tzsetup/Makefile

svn commit: r227935 - head/tools

2011-11-24 Thread Max Khon
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/tinder.shThu Nov 24 14:16:01 2011(r227935) @@ -0,0 +1,58 @@ +#!/bin/sh +# +# Copyright (c) 2011 Max Khon, The FreeBSD Project +# All

svn commit: r227936 - head/gnu/usr.bin/dialog

2011-11-24 Thread Max Khon
Author: fjoe Date: Thu Nov 24 14:17:04 2011 New Revision: 227936 URL: http://svn.freebsd.org/changeset/base/227936 Log: Use ${VAR} instead of $(VAR) consistently. Modified: head/gnu/usr.bin/dialog/Makefile Modified: head/gnu/usr.bin/dialog/Makefile

svn commit: r227937 - head/tools

2011-11-24 Thread Max Khon
Author: fjoe Date: Thu Nov 24 14:22:05 2011 New Revision: 227937 URL: http://svn.freebsd.org/changeset/base/227937 Log: Add missing ;; Modified: head/tools/tinder.sh Modified: head/tools/tinder.sh == ---

svn commit: r227939 - head/usr.sbin/sade

2011-11-24 Thread Max Khon
Author: fjoe Date: Thu Nov 24 15:47:01 2011 New Revision: 227939 URL: http://svn.freebsd.org/changeset/base/227939 Log: Disk selection dialog is now a normal menu, not a checkboxed menu: checkboxed menu is confusing and also can not be implemented in new libdialog. Modified:

svn commit: r227944 - head/usr.sbin/sade

2011-11-24 Thread Max Khon
Author: fjoe Date: Thu Nov 24 18:37:16 2011 New Revision: 227944 URL: http://svn.freebsd.org/changeset/base/227944 Log: Port to new libdialog. Modified: head/usr.sbin/sade/Makefile head/usr.sbin/sade/devices.c head/usr.sbin/sade/disks.c head/usr.sbin/sade/dmenu.c

svn commit: r227947 - head/usr.sbin/tzsetup

2011-11-24 Thread Max Khon
Author: fjoe Date: Thu Nov 24 18:45:23 2011 New Revision: 227947 URL: http://svn.freebsd.org/changeset/base/227947 Log: calloc +1 DIALOG_LISTITEM to prevent possible wild pointer access in dlg_default_listitem(). Modified: head/usr.sbin/tzsetup/tzsetup.c Modified:

svn commit: r227951 - in head: . gnu/lib share/mk

2011-11-24 Thread Max Khon
Author: fjoe Date: Thu Nov 24 20:31:06 2011 New Revision: 227951 URL: http://svn.freebsd.org/changeset/base/227951 Log: libodialog: disconnect from the build and obsolete. Modified: head/ObsoleteFiles.inc head/gnu/lib/Makefile head/share/mk/bsd.libnames.mk Modified:

svn commit: r227953 - head/gnu/lib/libodialog

2011-11-24 Thread Max Khon
Author: fjoe Date: Thu Nov 24 20:34:50 2011 New Revision: 227953 URL: http://svn.freebsd.org/changeset/base/227953 Log: libodialog: Remove no longer used library. Deleted: head/gnu/lib/libodialog/ ___ svn-src-head@freebsd.org mailing list

svn commit: r227962 - head/usr.sbin/sade

2011-11-24 Thread Max Khon
Author: fjoe Date: Fri Nov 25 07:10:59 2011 New Revision: 227962 URL: http://svn.freebsd.org/changeset/base/227962 Log: Remove DEBUG_FLAGS. Modified: head/usr.sbin/sade/Makefile Modified: head/usr.sbin/sade/Makefile

svn commit: r227902 - head/usr.sbin/sade

2011-11-23 Thread Max Khon
Author: fjoe Date: Wed Nov 23 19:06:30 2011 New Revision: 227902 URL: http://svn.freebsd.org/changeset/base/227902 Log: - Remove unused old libdialog includes - Remove unused functions Modified: head/usr.sbin/sade/misc.c head/usr.sbin/sade/sade.h Modified: head/usr.sbin/sade/misc.c

svn commit: r227903 - head/usr.sbin/sade

2011-11-23 Thread Max Khon
Author: fjoe Date: Wed Nov 23 19:11:03 2011 New Revision: 227903 URL: http://svn.freebsd.org/changeset/base/227903 Log: Remove unused functions. Modified: head/usr.sbin/sade/misc.c head/usr.sbin/sade/sade.h Modified: head/usr.sbin/sade/misc.c

svn commit: r227130 - head/sys/netgraph

2011-11-05 Thread Max Khon
Author: fjoe Date: Sun Nov 6 05:20:27 2011 New Revision: 227130 URL: http://svn.freebsd.org/changeset/base/227130 Log: Constify address argument of ng_address_path(). Modified: head/sys/netgraph/netgraph.h head/sys/netgraph/ng_base.c Modified: head/sys/netgraph/netgraph.h

svn commit: r211094 - head/games/fortune/datfiles

2010-08-09 Thread Max Khon
Author: fjoe Date: Mon Aug 9 09:26:17 2010 New Revision: 211094 URL: http://svn.freebsd.org/changeset/base/211094 Log: whereis netscape gives empty output for quite a long time already. Suggest to use whereis firefox instead. Modified: head/games/fortune/datfiles/freebsd-tips Modified: