From owner-svn-src-vendor@FreeBSD.ORG Sun Nov 9 09:06:05 2008 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DCCC1065693; Sun, 9 Nov 2008 09:06:05 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 286FA8FC22; Sun, 9 Nov 2008 09:06:05 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mA9965TP035430; Sun, 9 Nov 2008 09:06:05 GMT (envelope-from rafan@svn.freebsd.org) Received: (from rafan@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mA9964w4035426; Sun, 9 Nov 2008 09:06:04 GMT (envelope-from rafan@svn.freebsd.org) Message-Id: <200811090906.mA9964w4035426@svn.freebsd.org> From: Rong-En Fan Date: Sun, 9 Nov 2008 09:06:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184786 - in vendor/ncurses/dist: . contrib doc form include man menu misc ncurses panel progs X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2008 09:06:05 -0000 Author: rafan Date: Sun Nov 9 09:06:04 2008 New Revision: 184786 URL: http://svn.freebsd.org/changeset/base/184786 Log: - Flatten the vendor area Added: vendor/ncurses/dist/ANNOUNCE - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/ANNOUNCE vendor/ncurses/dist/AUTHORS - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/AUTHORS vendor/ncurses/dist/INSTALL - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/INSTALL vendor/ncurses/dist/MANIFEST - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/MANIFEST vendor/ncurses/dist/Makefile.in - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/Makefile.in vendor/ncurses/dist/Makefile.os2 - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/Makefile.os2 vendor/ncurses/dist/NEWS - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/NEWS vendor/ncurses/dist/README - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/README vendor/ncurses/dist/README.emx - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/README.emx vendor/ncurses/dist/TO-DO - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/TO-DO vendor/ncurses/dist/aclocal.m4 - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/aclocal.m4 vendor/ncurses/dist/announce.html.in - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/announce.html.in vendor/ncurses/dist/config.guess - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/config.guess vendor/ncurses/dist/config.sub - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/config.sub vendor/ncurses/dist/configure - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/configure vendor/ncurses/dist/configure.in - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/configure.in vendor/ncurses/dist/convert_configure.pl - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/convert_configure.pl vendor/ncurses/dist/dist.mk - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/dist.mk vendor/ncurses/dist/doc/ - copied from r184783, vendor/ncurses/dist/contrib/ncurses/doc/ vendor/ncurses/dist/form/ - copied from r184783, vendor/ncurses/dist/contrib/ncurses/form/ vendor/ncurses/dist/include/ - copied from r184783, vendor/ncurses/dist/contrib/ncurses/include/ vendor/ncurses/dist/install-sh - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/install-sh vendor/ncurses/dist/man/ - copied from r184783, vendor/ncurses/dist/contrib/ncurses/man/ vendor/ncurses/dist/menu/ - copied from r184783, vendor/ncurses/dist/contrib/ncurses/menu/ vendor/ncurses/dist/misc/ - copied from r184783, vendor/ncurses/dist/contrib/ncurses/misc/ vendor/ncurses/dist/mk-0th.awk - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/mk-0th.awk vendor/ncurses/dist/mk-1st.awk - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/mk-1st.awk vendor/ncurses/dist/mk-2nd.awk - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/mk-2nd.awk vendor/ncurses/dist/mk-hdr.awk - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/mk-hdr.awk vendor/ncurses/dist/mkdirs.sh - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/mkdirs.sh vendor/ncurses/dist/ncurses/ - copied from r184783, vendor/ncurses/dist/contrib/ncurses/ncurses/ vendor/ncurses/dist/panel/ - copied from r184783, vendor/ncurses/dist/contrib/ncurses/panel/ vendor/ncurses/dist/progs/ - copied from r184783, vendor/ncurses/dist/contrib/ncurses/progs/ vendor/ncurses/dist/tar-copy.sh - copied unchanged from r184783, vendor/ncurses/dist/contrib/ncurses/tar-copy.sh Deleted: vendor/ncurses/dist/contrib/ Copied: vendor/ncurses/dist/ANNOUNCE (from r184783, vendor/ncurses/dist/contrib/ncurses/ANNOUNCE) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/ncurses/dist/ANNOUNCE Sun Nov 9 09:06:04 2008 (r184786, copy of r184783, vendor/ncurses/dist/contrib/ncurses/ANNOUNCE) @@ -0,0 +1,463 @@ + Announcing ncurses 5.6 + + The ncurses (new curses) library is a free software emulation of + curses in System V Release 4.0, and more. It uses terminfo format, + supports pads and color and multiple highlights and forms characters + and function-key mapping, and has all the other SYSV-curses + enhancements over BSD curses. + + In mid-June 1995, the maintainer of 4.4BSD curses declared that he + considered 4.4BSD curses obsolete, and encouraged the keepers of Unix + releases such as BSD/OS, FreeBSD and NetBSD to switch over to ncurses. + + The ncurses code was developed under GNU/Linux. It has been in use for + some time with OpenBSD as the system curses library, and on FreeBSD + and NetBSD as an external package. It should port easily to any + ANSI/POSIX-conforming UNIX. It has even been ported to OS/2 Warp! + + The distribution includes the library and support utilities, including + a terminfo compiler tic(1), a decompiler infocmp(1), clear(1), + tput(1), tset(1), and a termcap conversion tool captoinfo(1). Full + manual pages are provided for the library and tools. + + The ncurses distribution is available via anonymous FTP at the GNU + distribution site [1]ftp://ftp.gnu.org/gnu/ncurses/ . + It is also available at [2]ftp://invisible-island.net/ncurses/ . + + Release Notes + + This release is designed to be upward compatible from ncurses 5.0 + through 5.5; very few applications will require recompilation, + depending on the platform. These are the highlights from the + change-log since ncurses 5.5 release. + + Interface changes: + * generate linkable stubs for some macros: + getbegx, getbegy, getcurx, getcury, getmaxx, getmaxy, getparx, + getpary, getpary, + and (for libncursesw) + wgetbkgrnd + + New features and improvements: + * library + + support hashed databases for the terminal descriptions. This + uses the Berkeley database, has been tested for several + versions on different platforms. + + add use_legacy_coding() function to support lynx's + font-switching feature. + + add extension nofilter(), to cancel a prior filter() call. + + add/install a package config script, e.g., ncurses5-config or + ncursesw5-config, according to configuration options. + + provide ifdef for NCURSES_NOMACROS which suppresses most + macro definitions from curses.h, i.e., where a macro is + defined to override a function to improve performance. + + make ifdef's consistent in curses.h for the extended colors + so the header file can be used for the normal curses library. + The header file installed for extended colors is a variation + of the wide-character configuration. + + improve tgetstr() by making the return value point into the + user's buffer, if provided. + + add ifdef's allowing ncurses to be built with tparm() using + either varargs (the existing status), or using a + fixed-parameter list (to match X/Open). + + widen the test for xterm kmous a little to allow for other + strings than "\E[M", e.g., for xterm-sco functionality in + xterm. + + modify wgetnstr() to return KEY_RESIZE if a sigwinch occurs. + + move prototypes for wide-character trace functions from + curses.tail to curses.wide to avoid accidental reference to + those if _XOPEN_SOURCE_EXTENDED is defined without ensuring + that is included. + + change the way shared libraries (other than libtool) are + installed. Rather than copying the build-tree's libraries, + link the shared objects into the install directory. This + makes the --with-rpath option work except with $(DESTDIR). + + several improvements for rendering in hpterm. These are only + available if the library is configured using + --enable-xmc-glitch. + + Add NCURSES_NO_HARD_TABS and NCURSES_NO_MAGIC_COOKIE + environment variables to allow runtime suppression of the + related hard-tabs and xmc-glitch features. + * programs: + + add new test programs: chgat.c, demo_altkeys.c, echochar.c, + foldkeys.c, movewindow.c, redraw.c, (noting that existing + test programs also were modified to test additional + features). + + modify tack to test extended capability function-key strings. + + modify toe to access termcap data, e.g., via cgetent() + functions, or as a text file if those are not available. + + improve infocmp/tic -f option formatting. + + add toe -a option, to show all databases. This uses new + private interfaces in the ncurses library for iterating + through the list of databases. + + modify MKfallback.sh to use tic -x when constructing fallback + tables to allow extended capabilities to be retrieved from a + fallback entry. + * terminal database + + add terminfo entries for xfce terminal (xfce) and multi gnome + terminal (mgt) + + add nsterm-16color entry + + updated mlterm terminfo entry + + add kon, kon2 and jfbterm terminfo entry + + remove invis capability from klone+sgr, mainly used by linux + entry, since it does not really do this + + add ka2, kb1, kb3, kc2 to vt220-keypad as an extension + + add shifted up/down arrow codes to xterm-new as kind/kri + strings + + add hpterm-color terminfo entry + + add 256color variants of terminfo entries for programs which + are reported to implement this feature + + correct order of use-clauses in rxvt-basic entry which made + codes for f1-f4 vt100-style rather than vt220-style. + + Major bug fixes: + * correct a typo in configure --with-bool option for the case where + --without-cxx is used. + * move assignment from environment variable ESCDELAY from initscr() + down to newterm() so the environment variable affects timeouts for + terminals opened with newterm() as well. + * modify werase to clear multicolumn characters that extend into a + derived window. + * modify wchgat() to mark updated cells as changed so a refresh will + repaint those cells. + * correct logic in wadd_wch() and wecho_wch(), which did not guard + against passing the multi-column attribute into a call on + waddch(), e.g., using data returned by win_wch() + * fix redrawing of windows other than stdscr using wredrawln() by + touching the corresponding rows in curscr. + * reduce memory leaks in repeated calls to tgetent() by remembering + the last TERMINAL* value allocated to hold the corresponding data + and freeing that if the tgetent() result buffer is the same as the + previous call. + * modify read_termtype() so the term_names data is always allocated + as part of the str_table, a better fix for a memory leak. + * fix wins_nwstr(), which did not handle single-column non-8bit + codes. + * modify wbkgrnd() to avoid clearing the A_CHARTEXT attribute bits + since those record the state of multicolumn characters. + * improve SIGWINCH handling by postponing its effect during + newterm(), etc., when allocating screens. + * remove 970913 feature for copying subwindows as they are moved in + mvwin(). + * add checks in waddchnstr() and wadd_wchnstr() to stop copying when + a null character is found. + * add some checks to ensure current position is within scrolling + region before scrolling on a new line. + * add a workaround to ACS mapping to allow applications such as + test/blue.c to use the "PC ROM" characters by masking them with + A_ALTCHARSET. This worked up til 5.5, but was lost in the revision + of legacy coding. + + Portability: + * configure script: + + new options: + + --with-hashed-db + Use Berkeley hashed database for storing terminfo + data rather than storing each compiled entry in a + separate binary file within a directory tree. + + --without-dlsym + Do not use dlsym() to load GPM dynamically. + + --with-valgrind + Simplify building for testing with valgrind. + + --enable-wgetch-events + Compile with experimental wgetch-events code. + + --enable-signed-char + Store booleans in "signed char" rather than "char". + + + improved options: + + --disable-largefile + make the option work both ways. + + --with-gpm + The option now accepts a parameter, i.e., the name + of the dynamic GPM library to load via dlopen() + + --disable-symlinks + The option now allows one to disable symlink() in + tic even when link() does not work. + + * other configure/build issues: + + remove special case for Darwin in CF_XOPEN_SOURCE configure + macro. + + add configure check to ensure that SIGWINCH is defined on + platforms such as OS X which exclude that when _XOPEN_SOURCE, + etc., are defined + + use ld's -search_paths_first option on Darwin to work around + odd search rules on that platform. + + improve ifdef's for _POSIX_VDISABLE in tset to work with Mac + OS X. + + modify configure script to ensure that if the C compiler is + used rather than the loader in making shared libraries, the + $(CFLAGS) variable is also used. + + use ${CC} rather than ${LD} in shared library rules for + IRIX64, Solaris to help ensure that initialization sections + are provided for extra linkage requirements, e.g., of C++ + applications. + + improve some shared-library configure scripting for Linux, + FreeBSD and NetBSD to make --with-shlib-version work. + + split up dependency of names.c and codes.c in + ncurses/Makefile to work with parallel make. + + modify MKlib_gen.sh to change preprocessor-expanded _Bool + back to bool. + + modify progs/Makefile.in to make tput init work properly with + cygwin, i.e., do not pass a .exe in the reference string used + in check_aliases. + * library: + + ignore wide-acs line-drawing characters that wcwidth() claims + are not one-column. This is a workaround for Solaris' broken + locale support. + + reduce name-pollution in term.h by removing #define's for + HAVE_xxx symbols. + + fix #ifdef in c++/internal.h for QNX 6.1 + * test programs: + + modify test/configure script to allow building test programs + with PDCurses/X11. + + modified test programs to allow some to work with NetBSD + curses. Several do not because NetBSD curses implements a + subset of X/Open curses, and also lacks much of SVr4 + additions. But it is enough for comparison. + + improved test/configure to build test/ncurses on HPUX 11 + using the vendor curses. + + change configure script to produce test/Makefile from data + file. + + Features of Ncurses + + The ncurses package is fully compatible with SVr4 (System V Release 4) + curses: + * All 257 of the SVr4 calls have been implemented (and are + documented). + * Full support for SVr4 curses features including keyboard mapping, + color, forms-drawing with ACS characters, and automatic + recognition of keypad and function keys. + * An emulation of the SVr4 panels library, supporting a stack of + windows with backing store, is included. + * An emulation of the SVr4 menus library, supporting a uniform but + flexible interface for menu programming, is included. + * An emulation of the SVr4 form library, supporting data collection + through on-screen forms, is included. + * Binary terminfo entries generated by the ncurses tic(1) + implementation are bit-for-bit-compatible with the entry format + SVr4 curses uses. + * The utilities have options to allow you to filter terminfo entries + for use with less capable curses/terminfo versions such as the + HP/UX and AIX ports. + + The ncurses package also has many useful extensions over SVr4: + * The API is 8-bit clean and base-level conformant with the X/OPEN + curses specification, XSI curses (that is, it implements all BASE + level features, and most EXTENDED features). It includes many + function calls not supported under SVr4 curses (but portability of + all calls is documented so you can use the SVr4 subset only). + * Unlike SVr3 curses, ncurses can write to the rightmost-bottommost + corner of the screen if your terminal has an insert-character + capability. + * Ada95 and C++ bindings. + * Support for mouse event reporting with X Window xterm and FreeBSD + and OS/2 console windows. + * Extended mouse support via Alessandro Rubini's gpm package. + * The function wresize() allows you to resize windows, preserving + their data. + * The function use_default_colors() allows you to use the terminal's + default colors for the default color pair, achieving the effect of + transparent colors. + * The functions keyok() and define_key() allow you to better control + the use of function keys, e.g., disabling the ncurses KEY_MOUSE, + or by defining more than one control sequence to map to a given + key code. + * Support for 16-color terminals, such as aixterm and modern xterm. + * Better cursor-movement optimization. The package now features a + cursor-local-movement computation more efficient than either BSD's + or System V's. + * Super hardware scrolling support. The screen-update code + incorporates a novel, simple, and cheap algorithm that enables it + to make optimal use of hardware scrolling, line-insertion, and + line-deletion for screen-line movements. This algorithm is more + powerful than the 4.4BSD curses quickch() routine. + * Real support for terminals with the magic-cookie glitch. The + screen-update code will refrain from drawing a highlight if the + magic- cookie unattributed spaces required just before the + beginning and after the end would step on a non-space character. + It will automatically shift highlight boundaries when doing so + would make it possible to draw the highlight without changing the + visual appearance of the screen. + * It is possible to generate the library with a list of pre-loaded + fallback entries linked to it so that it can serve those terminal + types even when no terminfo tree or termcap file is accessible + (this may be useful for support of screen-oriented programs that + must run in single-user mode). + * The tic(1)/captoinfo utility provided with ncurses has the ability + to translate many termcaps from the XENIX, IBM and AT&T extension + sets. + * A BSD-like tset(1) utility is provided. + * The ncurses library and utilities will automatically read terminfo + entries from $HOME/.terminfo if it exists, and compile to that + directory if it exists and the user has no write access to the + system directory. This feature makes it easier for users to have + personal terminfo entries without giving up access to the system + terminfo directory. + * You may specify a path of directories to search for compiled + descriptions with the environment variable TERMINFO_DIRS (this + generalizes the feature provided by TERMINFO under stock System + V.) + * In terminfo source files, use capabilities may refer not just to + other entries in the same source file (as in System V) but also to + compiled entries in either the system terminfo directory or the + user's $HOME/.terminfo directory. + * A script (capconvert) is provided to help BSD users transition + from termcap to terminfo. It gathers the information in a TERMCAP + environment variable and/or a ~/.termcap local entries file and + converts it to an equivalent local terminfo tree under + $HOME/.terminfo. + * Automatic fallback to the /etc/termcap file can be compiled in + when it is not possible to build a terminfo tree. This feature is + neither fast nor cheap, you don't want to use it unless you have + to, but it's there. + * The table-of-entries utility toe makes it easy for users to see + exactly what terminal types are available on the system. + * The library meets the XSI requirement that every macro entry point + have a corresponding function which may be linked (and will be + prototype-checked) if the macro definition is disabled with + #undef. + * An HTML "Introduction to Programming with NCURSES" document + provides a narrative introduction to the curses programming + interface. + + State of the Package + + Numerous bugs present in earlier versions have been fixed; the library + is far more reliable than it used to be. Bounds checking in many + `dangerous' entry points has been improved. The code is now type-safe + according to gcc -Wall. The library has been checked for malloc leaks + and arena corruption by the Purify memory-allocation tester. + + The ncurses code has been tested with a wide variety of applications + including (versions starting with those noted): + + cdk + Curses Development Kit + [3]http://invisible-island.net/cdk/ + [4]http://www.vexus.ca/products/CDK/ + + ded + directory-editor + [5]http://invisible-island.net/ded/ + + dialog + the underlying application used in Slackware's setup, and the + basis for similar applications on GNU/Linux. + [6]http://invisible-island.net/dialog/ + + lynx + the character-screen WWW browser + [7]http://lynx.isc.org/release/ + + Midnight Commander + file manager + [8]http://www.ibiblio.org/mc/ + + mutt + mail utility + [9]http://www.mutt.org/ + + ncftp + file-transfer utility + [10]http://www.ncftp.com/ + + nvi + New vi versions 1.50 are able to use ncurses versions 1.9.7 and + later. + [11]http://www.bostic.com/vi/ + + pinfo + Lynx-like info browser. + [12]http://dione.ids.pl/~pborys/software/pinfo/ + + tin + newsreader, supporting color, MIME [13]http://www.tin.org/ + + vh-1.6 + Volks-Hypertext browser for the Jargon File + [14]http://www.debian.org/Packages/unstable/text/vh.html + + as well as some that use ncurses for the terminfo support alone: + + minicom + terminal emulator + [15]http://alioth.debian.org/projects/minicom/ + + vile + vi-like-emacs + [16]http://invisible-island.net/vile/ + + The ncurses distribution includes a selection of test programs + (including a few games). + +Who's Who and What's What + + Zeyd Ben-Halim started it from a previous package pcurses, written by + Pavel Curtis. Eric S. Raymond continued development. Juergen Pfeifer + wrote most of the form and menu libraries. Ongoing work is being done + by [17]Thomas Dickey. Thomas Dickey acts as the maintainer for the + Free Software Foundation, which holds the copyright on ncurses. + Contact the current maintainers at [18]bug-ncurses@gnu.org. + + To join the ncurses mailing list, please write email to + bug-ncurses-request@gnu.org containing the line: + subscribe @ + + This list is open to anyone interested in helping with the development + and testing of this package. + + Beta versions of ncurses and patches to the current release are made + available at [19]ftp://invisible-island.net/ncurses/ . + +Future Plans + + * Extended-level XPG4 conformance, with internationalization + support. + * Ports to more systems, including DOS and Windows. + + We need people to help with these projects. If you are interested in + working on them, please join the ncurses list. + +Other Related Resources + + The distribution provides a newer version of the terminfo-format + terminal description file once maintained by [20]Eric Raymond . Unlike + the older version, the termcap and terminfo data are provided in the + same file, and provides several user-definable extensions beyond the + X/Open specification. + + You can find lots of information on terminal-related topics not + covered in the terminfo file at [21]Richard Shuford's archive . + +References + + 1. ftp://ftp.gnu.org/gnu/ncurses/ + 2. ftp://invisible-island.net/ncurses/ + 3. http://invisible-island.net/cdk/ + 4. http://www.vexus.ca/products/CDK/ + 5. http://invisible-island.net/ded/ + 6. http://invisible-island.net/dialog/ + 7. http://lynx.isc.org/release/ + 8. http://www.ibiblio.org/mc/ + 9. http://www.mutt.org/ + 10. http://www.ncftp.com/ + 11. http://www.bostic.com/vi/ + 12. http://dione.ids.pl/~pborys/software/pinfo/ + 13. http://www.tin.org/ + 14. http://www.debian.org/Packages/unstable/text/vh.html + 15. http://alioth.debian.org/projects/minicom/ + 16. http://invisible-island.net/vile/ + 17. mailto:dickey@invisible-island.net + 18. mailto:bug-ncurses@gnu.org + 19. ftp://invisible-island.net/ncurses/ + 20. http://www.catb.org/~esr/terminfo/ + 21. http://www.cs.utk.edu/~shuford/terminal_index.html Copied: vendor/ncurses/dist/AUTHORS (from r184783, vendor/ncurses/dist/contrib/ncurses/AUTHORS) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/ncurses/dist/AUTHORS Sun Nov 9 09:06:04 2008 (r184786, copy of r184783, vendor/ncurses/dist/contrib/ncurses/AUTHORS) @@ -0,0 +1,38 @@ +------------------------------------------------------------------------------- +-- Copyright (c) 2006 Free Software Foundation, Inc. -- +-- -- +-- Permission is hereby granted, free of charge, to any person obtaining a -- +-- copy of this software and associated documentation files (the -- +-- "Software"), to deal in the Software without restriction, including -- +-- without limitation the rights to use, copy, modify, merge, publish, -- +-- distribute, distribute with modifications, sublicense, and/or sell copies -- +-- of the Software, and to permit persons to whom the Software is furnished -- +-- to do so, subject to the following conditions: -- +-- -- +-- The above copyright notice and this permission notice shall be included -- +-- in all copies or substantial portions of the Software. -- +-- -- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -- +-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -- +-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -- +-- NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -- +-- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -- +-- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -- +-- USE OR OTHER DEALINGS IN THE SOFTWARE. -- +-- -- +-- Except as contained in this notice, the name(s) of the above copyright -- +-- holders shall not be used in advertising or otherwise to promote the -- +-- sale, use or other dealings in this Software without prior written -- +-- authorization. -- +------------------------------------------------------------------------------- +-- $Id: AUTHORS,v 1.2 2006/10/28 21:44:52 tom Exp $ +------------------------------------------------------------------------------- +These are the principal authors/contributors of ncurses since 1.9.9e, +in decreasing order of their contribution: + +TD Thomas E. Dickey +JPF Juergen Pfeifer +ESR Eric S Raymond +AVL Alexander V Lukyanov +PB Philippe Blain +SV Sven Verdoolaege Copied: vendor/ncurses/dist/INSTALL (from r184783, vendor/ncurses/dist/contrib/ncurses/INSTALL) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/ncurses/dist/INSTALL Sun Nov 9 09:06:04 2008 (r184786, copy of r184783, vendor/ncurses/dist/contrib/ncurses/INSTALL) @@ -0,0 +1,1619 @@ +------------------------------------------------------------------------------- +-- Copyright (c) 1998-2005,2006 Free Software Foundation, Inc. -- +-- -- +-- Permission is hereby granted, free of charge, to any person obtaining a -- +-- copy of this software and associated documentation files (the -- +-- "Software"), to deal in the Software without restriction, including -- +-- without limitation the rights to use, copy, modify, merge, publish, -- +-- distribute, distribute with modifications, sublicense, and/or sell copies -- +-- of the Software, and to permit persons to whom the Software is furnished -- +-- to do so, subject to the following conditions: -- +-- -- +-- The above copyright notice and this permission notice shall be included -- +-- in all copies or substantial portions of the Software. -- +-- -- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -- +-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -- +-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -- +-- NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -- +-- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -- +-- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -- +-- USE OR OTHER DEALINGS IN THE SOFTWARE. -- +-- -- +-- Except as contained in this notice, the name(s) of the above copyright -- +-- holders shall not be used in advertising or otherwise to promote the -- +-- sale, use or other dealings in this Software without prior written -- +-- authorization. -- +------------------------------------------------------------------------------- +-- $Id: INSTALL,v 1.124 2008/03/29 18:07:32 tom Exp $ +--------------------------------------------------------------------- + How to install Ncurses/Terminfo on your system +--------------------------------------------------------------------- + + ************************************************************ + * READ ALL OF THIS FILE BEFORE YOU TRY TO INSTALL NCURSES. * + ************************************************************ + +You should be reading the file INSTALL in a directory called ncurses-d.d, where +d.d is the current version number. There should be several subdirectories, +including `c++', `form', `man', `menu', 'misc', `ncurses', `panel', `progs', +and `test'. See the README file for a roadmap to the package. + +If you are a Linux or FreeBSD or NetBSD distribution integrator or packager, +please read and act on the section titled IF YOU ARE A SYSTEM INTEGRATOR +below. + +If you are converting from BSD curses and do not have root access, be sure +to read the BSD CONVERSION NOTES section below. + +If you are trying to build applications using gpm with ncurses, +read the USING NCURSES WITH GPM section below. + +If you are running over the Andrew File System see the note below on +USING NCURSES WITH AFS. + +If you are cross-compiling, see the note below on BUILDING NCURSES WITH A +CROSS-COMPILER. + +If you want to build the Ada95 binding, go to the Ada95 directory and +follow the instructions there. The Ada95 binding is not covered below. + +If you are using anything but (a) Linux, or (b) one of the 4.4BSD-based +i386 Unixes, go read the Portability section in the TO-DO file before you +do anything else. + + +REQUIREMENTS: +------------ + +You will need the following to build and install ncurses under UNIX: + + * ANSI C compiler (gcc, for instance) + * sh (bash will do) + * awk (mawk or gawk will do) + * sed + * BSD or System V style install (a script is enclosed) + +Ncurses has been also built in the OS/2 EMX environment. + + +INSTALLATION PROCEDURE: +---------------------- + +1. First, decide whether you want ncurses to replace your existing library (in + which case you'll need super-user privileges) or be installed in parallel + with it. + + The --prefix option to configure changes the root directory for installing + ncurses. The default is normally in subdirectories of /usr/local, except + for systems where ncurses is normally installed as a system library, e.g., + Linux, the various BSD systems and Cygwin. Use --prefix=/usr to replace + your default curses distribution. + + The package gets installed beneath the --prefix directory as follows: + + In $(prefix)/bin: tic, infocmp, captoinfo, tset, + reset, clear, tput, toe + In $(prefix)/lib: libncurses*.* libcurses.a + In $(prefix)/share/terminfo: compiled terminal descriptions + In $(prefix)/include: C header files + Under $(prefix)/man: the manual pages + + Note that the configure script attempts to locate previous installation of + ncurses, and will set the default prefix according to where it finds the + ncurses headers. + + Do not use commands such as + + make install prefix=XXX + + to change the prefix after configuration, since the prefix value is used + for some absolute pathnames such as TERMINFO. Instead do this + + make install DESTDIR=XXX + + See also the discussion of --with-install-prefix. + +2. Type `./configure' in the top-level directory of the distribution to + configure ncurses for your operating system and create the Makefiles. + Besides --prefix, various configuration options are available to customize + the installation; use `./configure --help' to list the available options. + + If your operating system is not supported, read the PORTABILITY section in + the file ncurses/README for information on how to create a configuration + file for your system. + + The `configure' script generates makefile rules for one or more object + models and their associated libraries: + + libncurses.a (normal) + + libcurses.a (normal, a link to libncurses.a) + This gets left out if you configure with --disable-overwrite. + + libncurses.so (shared) + + libncurses_g.a (debug) + + libncurses_p.a (profile) + + libncurses.la (libtool) + + If you configure using the --enable-widec option, a "w" is appended to the + library names (e.g., libncursesw.a), and the resulting libraries support + wide-characters, e.g., via a UTF-8 locale. The corresponding header files + are compatible with the non-wide-character configuration; wide-character + features are provided by ifdef's in the header files. The wide-character + library interfaces are not binary-compatible with the non-wide-character + version. Building and running the wide-character code relies on a fairly + recent implementation of libiconv. We have built this configuration on + Linux using libiconv, sometimes requiring libutf8. + + If you configure using the --with-pthread option, a "t" is appended to + the library names (e.g., libncursest.a, libncursestw.a). + + If you do not specify any models, the normal and debug libraries will be + configured. Typing `configure' with no arguments is equivalent to: + + ./configure --with-normal --with-debug --enable-overwrite + + Typing + + ./configure --with-shared + + makes the shared libraries the default, resulting in + + ./configure --with-shared --with-normal --with-debug --enable-overwrite + + If you want only shared libraries, type + + ./configure --with-shared --without-normal --without-debug + + Rules for generating shared libraries are highly dependent upon the choice + of host system and compiler. We've been testing shared libraries on Linux + and SunOS with gcc, but more work needs to be done to make shared libraries + work on other systems. + + If you have libtool installed, you can type + + ./configure --with-libtool + + to generate the appropriate static and/or shared libraries for your + platform using libtool. + + You can make curses and terminfo fall back to an existing file of termcap + definitions by configuring with --enable-termcap. If you do this, the + library will search /etc/termcap before the terminfo database, and will + also interpret the contents of the TERM environment variable. See the + section BSD CONVERSION NOTES below. + +3. Type `make'. Ignore any warnings, no error messages should be produced. + This should compile the ncurses library, the terminfo compiler tic(1), + captoinfo(1), infocmp(1), toe(1), clear(1) tset(1), reset(1), and tput(1) + programs (see the manual pages for explanation of what they do), some test + programs, and the panels, menus, and forms libraries. + +4. Run ncurses and several other test programs in the test directory to + verify that ncurses functions correctly before doing an install that + may overwrite system files. Read the file test/README for details on + the test programs. + + NOTE: You must have installed the terminfo database, or set the + environment variable $TERMINFO to point to a SVr4-compatible terminfo + database before running the test programs. Not all vendors' terminfo + databases are SVr4-compatible, but most seem to be. Exceptions include + DEC's Digital Unix (formerly known as OSF/1). + + If you run the test programs WITHOUT installing terminfo, ncurses may + read the termcap file and cache that in $HOME/.terminfo, which will + thereafter be used instead of the terminfo database. See the comments + on "--enable-getcap-cache", to see why this is a Bad Thing. + + It is possible to configure ncurses to use other terminfo database formats. + A few are provided as examples in the include-directory (see --with-caps). + + The ncurses program is designed specifically to test the ncurses library. + You can use it to verify that the screen highlights work correctly, that + cursor addressing and window scrolling works OK, etc. + +5. Once you've tested, you can type `make install' to install libraries, + the programs, the terminfo database and the manual pages. Alternately, you + can type `make install' in each directory you want to install. In the + top-level directory, you can do a partial install using these commands: + + 'make install.progs' installs tic, infocmp, etc... + 'make install.includes' installs the headers. + 'make install.libs' installs the libraries (and the headers). + 'make install.data' installs the terminfo data. (Note: `tic' must + be installed before the terminfo data can be + compiled). + 'make install.man' installs the manual pages. + + ############################################################################ + # CAVEAT EMPTOR: `install.data' run as root will NUKE any existing # + # terminfo database. If you have any custom or unusual entries SAVE them # + # before you install ncurses. I have a file called terminfo.custom for # + # this purpose. Don't forget to run tic on the file once you're done. # + ############################################################################ + + The terminfo(5) manual page must be preprocessed with tbl(1) before + being formatted by nroff(1). Modern man(1) implementations tend to do + this by default, but you may want to look at your version's manual page + to be sure. You may also install the manual pages after preprocessing + with tbl(1) by specifying the configure option --with-manpage-tbl. + + If the system already has a curses library that you need to keep using + you'll need to distinguish between it and ncurses. See the discussion of + --disable-overwrite. If ncurses is installed outside the standard + directories (/usr/include and /usr/lib) then all your users will need to + use the -I option to compile programs and -L to link them. + + If you have another curses installed in your system and you accidentally + compile using its curses.h you'll end up with a large number of + undefined symbols at link time. + + IF YOU DO NOT HAVE ROOT: Change directory to the `progs' subdirectory + and run the `capconvert' script. This script will deduce various things + about your environment and use them to build you a private terminfo tree, + so you can use ncurses applications. + + If more than one user at your site does this, the space for the duplicate + trees is wasted. Try to get your site administrators to install a system- + wide terminfo tree instead. + + See the BSD CONVERSION NOTES section below for a few more details. + +6. The c++ directory has C++ classes that are built on top of ncurses and + panels. You must have c++ (and its libraries) installed before you can + compile and run the demo. + + Use --without-cxx-binding to tell configure to not build the C++ bindings + and demo. + + If you do not have C++, you must use the --without-cxx option to tell + the configure script to not attempt to determine the type of 'bool' + which may be supported by C++. IF YOU USE THIS OPTION, BE ADVISED THAT + YOU MAY NOT BE ABLE TO COMPILE (OR RUN) NCURSES APPLICATIONS WITH C++. + + +SUMMARY OF CONFIGURE OPTIONS: +---------------------------- + + The configure script provides a short list of its options when you type + + ./configure --help + + The --help and several options are common to all configure scripts that are + generated with autoconf. Those are all listed before the line + + --enable and --with options recognized: + + The other options are specific to this package. We list them in alphabetic + order. + + --disable-assumed-color + With ncurses 5.1, we introduced a new function, assume_default_colors() + which allows applications to specify what the default foreground and + background color are assumed to be. Most color applications use + full-screen color; but a few do not color the background. While the + assumed values can be overridden by invoking assume_default_colors(), + you may find it useful to set the assumed values to the pre-5.1 + convention, using this configure option. + + --disable-big-core + Assume machine has little memory. The configure script attempts to + determine if your machine has enough memory (about 6Mb) to compile the + terminfo database without writing portions to disk. Some allocators + return deceptive results, so you may have to override the configure + script. Or you may be building tic for a smaller machine. + + --disable-big-strings + Disable compile-time optimization of predefined tables which puts + all of their strings into a very long string, to reduce relocation + overhead. + + --disable-database + Use only built-in data. The ncurses libraries normally read terminfo + and termcap data from disk. You can configure ncurses to have a + built-in database, aka "fallback" entries. Embedded applications may + have no need for an external database. Some, but not all of the + programs are useful in this configuration, e.g., reset and tput versus + infocmp and tic. + + --disable-ext-funcs + Disable function-extensions. Configure ncurses without the functions + that are not specified by XSI. See ncurses/modules for the exact + list of library modules that would be suppressed. + + --disable-hashmap + Compile without hashmap scrolling-optimization code. This algorithm is + the default. + + --disable-home-terminfo + The $HOME/.terminfo directory is normally added to ncurses' search + list for reading/writing terminfo entries, since that directory is + more likely writable than the system terminfo database. Use this + option to disable the feature altogether. + + --disable-largefile + Disable compiler flags needed to use large-file interfaces. + + --disable-leaks + For testing, compile-in code that frees memory that normally would not + be freed, to simplify analysis of memory-leaks. + + Any implementation of curses must not free the memory associated with + a screen, since (even after calling endwin()), it must be available + for use in the next call to refresh(). There are also chunks of + memory held for performance reasons. That makes it hard to analyze + curses applications for memory leaks. To work around this, build + a debugging version of the ncurses library which frees those chunks + which it can, and provides the _nc_free_and_exit() function to free + the remainder on exit. The ncurses utility and test programs use this + feature, e.g., via the ExitProgram() macro. + + --disable-lp64 + The header files will ignore use of the _LP64 symbol to make chtype + and mmask_t types 32 bits (they may be long on 64-bit hosts, for + compatibility with older releases). + + NOTE: this is potentially an ABI change, depending on existing + packages. The default for this option is "disabled" for ncurses + ABI 5, and "enabled" for ABI 6. + + --disable-macros + For testing, use functions rather than macros. The program will run + more slowly, but it is simpler to debug. This defines NCURSES_NOMACROS + at build time. See also the --enable-expanded option. + + --disable-overwrite + If you are installing ncurses on a system which contains another + development version of curses, or which could be confused by the loader + for another version, we recommend that you leave out the link to + -lcurses. The ncurses library is always available as -lncurses. + Disabling overwrite also causes the ncurses header files to be + installed into a subdirectory, e.g., /usr/local/include/ncurses, + rather than the include directory. This makes it simpler to avoid + compile-time conflicts with other versions of curses.h + + --disable-relink + If --enable-rpath is given, the generated makefiles normally will + rebuild the libraries during install. Use this option to simply + copy whatever the linked produced. + + This option is ignored if --enable-rpath is not given. + + --disable-root-environ + Compile with environment restriction, so certain environment variables + are not available when running as root, or via a setuid/setgid + application. These are (for example $TERMINFO) those that allow the + search path for the terminfo or termcap entry to be customized. + + --disable-scroll-hints + Compile without scroll-hints code. This option is ignored when + hashmap scrolling is configured, which is the default. + + --disable-tparm-varargs + Portable programs should call tparm() using the fixed-length parameter + list documented in X/Open. ncurses provides varargs support for this + function. Use --disable-tparm-varargs to disable this support. + + --enable-assertions + For testing, compile-in assertion code. This is used only for a few + places where ncurses cannot easily recover by returning an error code. + + --enable-broken_linker + A few platforms have what we consider a broken linker: it cannot link + objects from an archive solely by referring to data objects in those + files, but requires a function reference. This configure option + changes several data references to functions to work around this + problem. + + NOTE: With ncurses 5.1, this may not be necessary, since we are + told that some linkers interpret uninitialized global data as a + different type of reference which behaves as described above. We have + explicitly initialized all of the global data to work around the + problem. + + --enable-bsdpad + Recognize BSD-style prefix padding. Some ancient BSD programs (such as + nethack) call tputs("50") to implement delays. + + --enable-colorfgbg + Compile with experimental $COLORFGBG code. That environment variable + is set by some terminal emulators as a hint to applications, by + advertising the default foreground and background colors. During + initialization, ncurses sets color pair 0 to match this. + + --enable-const + The curses interface as documented in XSI is rather old, in fact + including features that precede ANSI C. The prototypes generally do + not make effective use of "const". When using stricter compilers (or + gcc with appropriate warnings), you may see warnings about the mismatch + between const and non-const data. We provide a configure option which + changes the interfaces to use const - quieting these warnings and + reflecting the actual use of the parameters more closely. The ncurses + library uses the symbol NCURSES_CONST for these instances of const, + and if you have asked for compiler warnings, will add gcc's const-qual + warning. There will still be warnings due to subtle inconsistencies + in the interface, but at a lower level. + + NOTE: configuring ncurses with this option may detract from the + portability of your applications by encouraging you to use const in + places where the XSI curses interface would not allow them. Similar + issues arise when porting to SVr4 curses, which uses const in even + fewer places. + + --enable-echo + Use the option --disable-echo to make the build-log less verbose by + suppressing the display of the compile and link commands. This makes + it easier to see the compiler warnings. (You can always use "make -n" + to see the options that are used). + + --enable-expanded + For testing, generate functions for certain macros to make them visible + as such to the debugger. See also the --disable-macros option. + + --enable-ext-colors + Extend the cchar_t structure to allow more than 16 colors to be + encoded. This applies only to the wide-character (--enable-widec) + configuration. + + NOTE: using this option will make libraries which are not binary- + compatible with libncursesw 5.4. None of the interfaces change, but + applications which have an array of cchar_t's must be recompiled. + + --enable-ext-mouse + Modify the encoding of mouse state to make room for a 5th mouse button. + That allows one to use ncurses with a wheel mouse with xterm or + similar X terminal emulators. + + NOTE: using this option will make libraries which are not binary- + compatible with libncursesw 5.4. None of the interfaces change, but + applications which have mouse mask mmask_t's must be recompiled. + + --enable-getcap + Use the 4.4BSD getcap code if available, or a bundled version of it to + fetch termcap entries. Entries read in this way cannot use (make + cross-references to) the terminfo tree, but it is faster than reading + /etc/termcap. + + If configured for one of the *BSD systems, this automatically uses + the hashed database system produced using cap_mkdb or similar tools. + In that case, there is no advantage in using the --enable-getcap-cache + option. + + See also the --with-hashed-db option. + + --enable-getcap-cache + Cache translated termcaps under the directory $HOME/.terminfo + *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-vendor@FreeBSD.ORG Sun Nov 9 09:07:47 2008 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 935E2106567A; Sun, 9 Nov 2008 09:07:47 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7D3778FC13; Sun, 9 Nov 2008 09:07:47 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mA997lZB035488; Sun, 9 Nov 2008 09:07:47 GMT (envelope-from rafan@svn.freebsd.org) Received: (from rafan@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mA997lIm035487; Sun, 9 Nov 2008 09:07:47 GMT (envelope-from rafan@svn.freebsd.org) Message-Id: <200811090907.mA997lIm035487@svn.freebsd.org> From: Rong-En Fan Date: Sun, 9 Nov 2008 09:07:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184787 - in vendor/ncurses/dist: . doc doc/html form include man menu misc misc/tabset ncurses ncurses/base ncurses/tinfo ncurses/trace ncurses/tty ncurses/widechar panel progs X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2008 09:07:47 -0000 Author: rafan Date: Sun Nov 9 09:07:46 2008 New Revision: 184787 URL: http://svn.freebsd.org/changeset/base/184787 Log: - Remove svn:keywords on unmodified vendor code Modified: vendor/ncurses/dist/ANNOUNCE (props changed) vendor/ncurses/dist/AUTHORS (props changed) vendor/ncurses/dist/INSTALL (props changed) vendor/ncurses/dist/MANIFEST (props changed) vendor/ncurses/dist/Makefile.in (props changed) vendor/ncurses/dist/Makefile.os2 (props changed) vendor/ncurses/dist/NEWS (props changed) vendor/ncurses/dist/README (props changed) vendor/ncurses/dist/README.emx (props changed) vendor/ncurses/dist/TO-DO (props changed) vendor/ncurses/dist/aclocal.m4 (props changed) vendor/ncurses/dist/announce.html.in (props changed) vendor/ncurses/dist/config.guess (props changed) vendor/ncurses/dist/config.sub (props changed) vendor/ncurses/dist/configure (props changed) vendor/ncurses/dist/configure.in (props changed) vendor/ncurses/dist/convert_configure.pl (props changed) vendor/ncurses/dist/dist.mk (props changed) vendor/ncurses/dist/doc/hackguide.doc (props changed) vendor/ncurses/dist/doc/html/NCURSES-Programming-HOWTO.html (props changed) vendor/ncurses/dist/doc/html/announce.html (props changed) vendor/ncurses/dist/doc/html/hackguide.html (props changed) vendor/ncurses/dist/doc/html/ncurses-intro.html (props changed) vendor/ncurses/dist/doc/ncurses-intro.doc (props changed) vendor/ncurses/dist/form/Makefile.in (props changed) vendor/ncurses/dist/form/READ.ME (props changed) vendor/ncurses/dist/form/f_trace.c (props changed) vendor/ncurses/dist/form/fld_arg.c (props changed) vendor/ncurses/dist/form/fld_attr.c (props changed) vendor/ncurses/dist/form/fld_current.c (props changed) vendor/ncurses/dist/form/fld_def.c (props changed) vendor/ncurses/dist/form/fld_dup.c (props changed) vendor/ncurses/dist/form/fld_ftchoice.c (props changed) vendor/ncurses/dist/form/fld_ftlink.c (props changed) vendor/ncurses/dist/form/fld_info.c (props changed) vendor/ncurses/dist/form/fld_just.c (props changed) vendor/ncurses/dist/form/fld_link.c (props changed) vendor/ncurses/dist/form/fld_max.c (props changed) vendor/ncurses/dist/form/fld_move.c (props changed) vendor/ncurses/dist/form/fld_newftyp.c (props changed) vendor/ncurses/dist/form/fld_opts.c (props changed) vendor/ncurses/dist/form/fld_pad.c (props changed) vendor/ncurses/dist/form/fld_page.c (props changed) vendor/ncurses/dist/form/fld_stat.c (props changed) vendor/ncurses/dist/form/fld_type.c (props changed) vendor/ncurses/dist/form/fld_user.c (props changed) vendor/ncurses/dist/form/form.h (props changed) vendor/ncurses/dist/form/form.priv.h (props changed) vendor/ncurses/dist/form/frm_cursor.c (props changed) vendor/ncurses/dist/form/frm_data.c (props changed) vendor/ncurses/dist/form/frm_def.c (props changed) vendor/ncurses/dist/form/frm_driver.c (props changed) vendor/ncurses/dist/form/frm_hook.c (props changed) vendor/ncurses/dist/form/frm_opts.c (props changed) vendor/ncurses/dist/form/frm_page.c (props changed) vendor/ncurses/dist/form/frm_post.c (props changed) vendor/ncurses/dist/form/frm_req_name.c (props changed) vendor/ncurses/dist/form/frm_scale.c (props changed) vendor/ncurses/dist/form/frm_sub.c (props changed) vendor/ncurses/dist/form/frm_user.c (props changed) vendor/ncurses/dist/form/frm_win.c (props changed) vendor/ncurses/dist/form/fty_alnum.c (props changed) vendor/ncurses/dist/form/fty_alpha.c (props changed) vendor/ncurses/dist/form/fty_enum.c (props changed) vendor/ncurses/dist/form/fty_int.c (props changed) vendor/ncurses/dist/form/fty_ipv4.c (props changed) vendor/ncurses/dist/form/fty_num.c (props changed) vendor/ncurses/dist/form/fty_regex.c (props changed) vendor/ncurses/dist/form/headers (props changed) vendor/ncurses/dist/form/llib-lform (props changed) vendor/ncurses/dist/form/llib-lformw (props changed) vendor/ncurses/dist/form/modules (props changed) vendor/ncurses/dist/include/Caps (props changed) vendor/ncurses/dist/include/Caps.aix4 (props changed) vendor/ncurses/dist/include/Caps.hpux11 (props changed) vendor/ncurses/dist/include/Caps.keys (props changed) vendor/ncurses/dist/include/Caps.osf1r5 (props changed) vendor/ncurses/dist/include/Caps.uwin (props changed) vendor/ncurses/dist/include/MKhashsize.sh (props changed) vendor/ncurses/dist/include/MKkey_defs.sh (props changed) vendor/ncurses/dist/include/MKncurses_def.sh (props changed) vendor/ncurses/dist/include/MKparametrized.sh (props changed) vendor/ncurses/dist/include/MKterm.h.awk.in (props changed) vendor/ncurses/dist/include/Makefile.in (props changed) vendor/ncurses/dist/include/capdefaults.c (props changed) vendor/ncurses/dist/include/curses.h.in (props changed) vendor/ncurses/dist/include/curses.tail (props changed) vendor/ncurses/dist/include/curses.wide (props changed) vendor/ncurses/dist/include/edit_cfg.sh (props changed) vendor/ncurses/dist/include/hashed_db.h (props changed) vendor/ncurses/dist/include/headers (props changed) vendor/ncurses/dist/include/nc_alloc.h (props changed) vendor/ncurses/dist/include/nc_panel.h (props changed) vendor/ncurses/dist/include/nc_tparm.h (props changed) vendor/ncurses/dist/include/ncurses_cfg.hin (props changed) vendor/ncurses/dist/include/ncurses_defs (props changed) vendor/ncurses/dist/include/ncurses_dll.h (props changed) vendor/ncurses/dist/include/term_entry.h (props changed) vendor/ncurses/dist/include/termcap.h.in (props changed) vendor/ncurses/dist/include/tic.h (props changed) vendor/ncurses/dist/include/unctrl.h.in (props changed) vendor/ncurses/dist/install-sh (props changed) vendor/ncurses/dist/man/MKterminfo.sh (props changed) vendor/ncurses/dist/man/Makefile.in (props changed) vendor/ncurses/dist/man/captoinfo.1m (props changed) vendor/ncurses/dist/man/clear.1 (props changed) vendor/ncurses/dist/man/curs_add_wch.3x (props changed) vendor/ncurses/dist/man/curs_add_wchstr.3x (props changed) vendor/ncurses/dist/man/curs_addch.3x (props changed) vendor/ncurses/dist/man/curs_addchstr.3x (props changed) vendor/ncurses/dist/man/curs_addstr.3x (props changed) vendor/ncurses/dist/man/curs_addwstr.3x (props changed) vendor/ncurses/dist/man/curs_attr.3x (props changed) vendor/ncurses/dist/man/curs_beep.3x (props changed) vendor/ncurses/dist/man/curs_bkgd.3x (props changed) vendor/ncurses/dist/man/curs_bkgrnd.3x (props changed) vendor/ncurses/dist/man/curs_border.3x (props changed) vendor/ncurses/dist/man/curs_border_set.3x (props changed) vendor/ncurses/dist/man/curs_clear.3x (props changed) vendor/ncurses/dist/man/curs_color.3x (props changed) vendor/ncurses/dist/man/curs_delch.3x (props changed) vendor/ncurses/dist/man/curs_deleteln.3x (props changed) vendor/ncurses/dist/man/curs_extend.3x (props changed) vendor/ncurses/dist/man/curs_get_wch.3x (props changed) vendor/ncurses/dist/man/curs_get_wstr.3x (props changed) vendor/ncurses/dist/man/curs_getcchar.3x (props changed) vendor/ncurses/dist/man/curs_getch.3x (props changed) vendor/ncurses/dist/man/curs_getstr.3x (props changed) vendor/ncurses/dist/man/curs_getyx.3x (props changed) vendor/ncurses/dist/man/curs_in_wch.3x (props changed) vendor/ncurses/dist/man/curs_in_wchstr.3x (props changed) vendor/ncurses/dist/man/curs_inch.3x (props changed) vendor/ncurses/dist/man/curs_inchstr.3x (props changed) vendor/ncurses/dist/man/curs_initscr.3x (props changed) vendor/ncurses/dist/man/curs_inopts.3x (props changed) vendor/ncurses/dist/man/curs_ins_wch.3x (props changed) vendor/ncurses/dist/man/curs_ins_wstr.3x (props changed) vendor/ncurses/dist/man/curs_insch.3x (props changed) vendor/ncurses/dist/man/curs_insstr.3x (props changed) vendor/ncurses/dist/man/curs_instr.3x (props changed) vendor/ncurses/dist/man/curs_inwstr.3x (props changed) vendor/ncurses/dist/man/curs_kernel.3x (props changed) vendor/ncurses/dist/man/curs_legacy.3x (props changed) vendor/ncurses/dist/man/curs_mouse.3x (props changed) vendor/ncurses/dist/man/curs_move.3x (props changed) vendor/ncurses/dist/man/curs_opaque.3x (props changed) vendor/ncurses/dist/man/curs_outopts.3x (props changed) vendor/ncurses/dist/man/curs_overlay.3x (props changed) vendor/ncurses/dist/man/curs_pad.3x (props changed) vendor/ncurses/dist/man/curs_print.3x (props changed) vendor/ncurses/dist/man/curs_printw.3x (props changed) vendor/ncurses/dist/man/curs_refresh.3x (props changed) vendor/ncurses/dist/man/curs_scanw.3x (props changed) vendor/ncurses/dist/man/curs_scr_dump.3x (props changed) vendor/ncurses/dist/man/curs_scroll.3x (props changed) vendor/ncurses/dist/man/curs_slk.3x (props changed) vendor/ncurses/dist/man/curs_termattrs.3x (props changed) vendor/ncurses/dist/man/curs_termcap.3x (props changed) vendor/ncurses/dist/man/curs_terminfo.3x (props changed) vendor/ncurses/dist/man/curs_threads.3x (props changed) vendor/ncurses/dist/man/curs_touch.3x (props changed) vendor/ncurses/dist/man/curs_trace.3x (props changed) vendor/ncurses/dist/man/curs_util.3x (props changed) vendor/ncurses/dist/man/curs_window.3x (props changed) vendor/ncurses/dist/man/default_colors.3x (props changed) vendor/ncurses/dist/man/define_key.3x (props changed) vendor/ncurses/dist/man/form.3x (props changed) vendor/ncurses/dist/man/form_cursor.3x (props changed) vendor/ncurses/dist/man/form_data.3x (props changed) vendor/ncurses/dist/man/form_driver.3x (props changed) vendor/ncurses/dist/man/form_field.3x (props changed) vendor/ncurses/dist/man/form_field_attributes.3x (props changed) vendor/ncurses/dist/man/form_field_buffer.3x (props changed) vendor/ncurses/dist/man/form_field_info.3x (props changed) vendor/ncurses/dist/man/form_field_just.3x (props changed) vendor/ncurses/dist/man/form_field_new.3x (props changed) vendor/ncurses/dist/man/form_field_opts.3x (props changed) vendor/ncurses/dist/man/form_field_userptr.3x (props changed) vendor/ncurses/dist/man/form_field_validation.3x (props changed) vendor/ncurses/dist/man/form_fieldtype.3x (props changed) vendor/ncurses/dist/man/form_hook.3x (props changed) vendor/ncurses/dist/man/form_new.3x (props changed) vendor/ncurses/dist/man/form_new_page.3x (props changed) vendor/ncurses/dist/man/form_opts.3x (props changed) vendor/ncurses/dist/man/form_page.3x (props changed) vendor/ncurses/dist/man/form_post.3x (props changed) vendor/ncurses/dist/man/form_requestname.3x (props changed) vendor/ncurses/dist/man/form_userptr.3x (props changed) vendor/ncurses/dist/man/form_win.3x (props changed) vendor/ncurses/dist/man/infocmp.1m (props changed) vendor/ncurses/dist/man/infotocap.1m (props changed) vendor/ncurses/dist/man/key_defined.3x (props changed) vendor/ncurses/dist/man/keybound.3x (props changed) vendor/ncurses/dist/man/keyok.3x (props changed) vendor/ncurses/dist/man/legacy_coding.3x (props changed) vendor/ncurses/dist/man/make_sed.sh (props changed) vendor/ncurses/dist/man/man_db.renames (props changed) vendor/ncurses/dist/man/manlinks.sed (props changed) vendor/ncurses/dist/man/menu.3x (props changed) vendor/ncurses/dist/man/menu_attributes.3x (props changed) vendor/ncurses/dist/man/menu_cursor.3x (props changed) vendor/ncurses/dist/man/menu_driver.3x (props changed) vendor/ncurses/dist/man/menu_format.3x (props changed) vendor/ncurses/dist/man/menu_hook.3x (props changed) vendor/ncurses/dist/man/menu_items.3x (props changed) vendor/ncurses/dist/man/menu_mark.3x (props changed) vendor/ncurses/dist/man/menu_new.3x (props changed) vendor/ncurses/dist/man/menu_opts.3x (props changed) vendor/ncurses/dist/man/menu_pattern.3x (props changed) vendor/ncurses/dist/man/menu_post.3x (props changed) vendor/ncurses/dist/man/menu_requestname.3x (props changed) vendor/ncurses/dist/man/menu_spacing.3x (props changed) vendor/ncurses/dist/man/menu_userptr.3x (props changed) vendor/ncurses/dist/man/menu_win.3x (props changed) vendor/ncurses/dist/man/mitem_current.3x (props changed) vendor/ncurses/dist/man/mitem_name.3x (props changed) vendor/ncurses/dist/man/mitem_new.3x (props changed) vendor/ncurses/dist/man/mitem_opts.3x (props changed) vendor/ncurses/dist/man/mitem_userptr.3x (props changed) vendor/ncurses/dist/man/mitem_value.3x (props changed) vendor/ncurses/dist/man/mitem_visible.3x (props changed) vendor/ncurses/dist/man/ncurses.3x (props changed) vendor/ncurses/dist/man/panel.3x (props changed) vendor/ncurses/dist/man/resizeterm.3x (props changed) vendor/ncurses/dist/man/term.5 (props changed) vendor/ncurses/dist/man/term.7 (props changed) vendor/ncurses/dist/man/terminfo.head (props changed) vendor/ncurses/dist/man/terminfo.tail (props changed) vendor/ncurses/dist/man/tic.1m (props changed) vendor/ncurses/dist/man/toe.1m (props changed) vendor/ncurses/dist/man/tput.1 (props changed) vendor/ncurses/dist/man/tset.1 (props changed) vendor/ncurses/dist/man/wresize.3x (props changed) vendor/ncurses/dist/menu/Makefile.in (props changed) vendor/ncurses/dist/menu/READ.ME (props changed) vendor/ncurses/dist/menu/eti.h (props changed) vendor/ncurses/dist/menu/headers (props changed) vendor/ncurses/dist/menu/llib-lmenu (props changed) vendor/ncurses/dist/menu/llib-lmenuw (props changed) vendor/ncurses/dist/menu/m_attribs.c (props changed) vendor/ncurses/dist/menu/m_cursor.c (props changed) vendor/ncurses/dist/menu/m_driver.c (props changed) vendor/ncurses/dist/menu/m_format.c (props changed) vendor/ncurses/dist/menu/m_global.c (props changed) vendor/ncurses/dist/menu/m_hook.c (props changed) vendor/ncurses/dist/menu/m_item_cur.c (props changed) vendor/ncurses/dist/menu/m_item_nam.c (props changed) vendor/ncurses/dist/menu/m_item_new.c (props changed) vendor/ncurses/dist/menu/m_item_opt.c (props changed) vendor/ncurses/dist/menu/m_item_top.c (props changed) vendor/ncurses/dist/menu/m_item_use.c (props changed) vendor/ncurses/dist/menu/m_item_val.c (props changed) vendor/ncurses/dist/menu/m_item_vis.c (props changed) vendor/ncurses/dist/menu/m_items.c (props changed) vendor/ncurses/dist/menu/m_new.c (props changed) vendor/ncurses/dist/menu/m_opts.c (props changed) vendor/ncurses/dist/menu/m_pad.c (props changed) vendor/ncurses/dist/menu/m_pattern.c (props changed) vendor/ncurses/dist/menu/m_post.c (props changed) vendor/ncurses/dist/menu/m_req_name.c (props changed) vendor/ncurses/dist/menu/m_scale.c (props changed) vendor/ncurses/dist/menu/m_spacing.c (props changed) vendor/ncurses/dist/menu/m_sub.c (props changed) vendor/ncurses/dist/menu/m_trace.c (props changed) vendor/ncurses/dist/menu/m_userptr.c (props changed) vendor/ncurses/dist/menu/m_win.c (props changed) vendor/ncurses/dist/menu/menu.h (props changed) vendor/ncurses/dist/menu/menu.priv.h (props changed) vendor/ncurses/dist/menu/mf_common.h (props changed) vendor/ncurses/dist/menu/modules (props changed) vendor/ncurses/dist/misc/Makefile.in (props changed) vendor/ncurses/dist/misc/chkdef.cmd (props changed) vendor/ncurses/dist/misc/cleantic.cmd (props changed) vendor/ncurses/dist/misc/cmpdef.cmd (props changed) vendor/ncurses/dist/misc/csort (props changed) vendor/ncurses/dist/misc/emx.src (props changed) vendor/ncurses/dist/misc/form.def (props changed) vendor/ncurses/dist/misc/form.ref (props changed) vendor/ncurses/dist/misc/gen_edit.sh (props changed) vendor/ncurses/dist/misc/jpf-indent (props changed) vendor/ncurses/dist/misc/makedef.cmd (props changed) vendor/ncurses/dist/misc/makellib (props changed) vendor/ncurses/dist/misc/menu.def (props changed) vendor/ncurses/dist/misc/menu.ref (props changed) vendor/ncurses/dist/misc/ncu-indent (props changed) vendor/ncurses/dist/misc/ncurses-config.in (props changed) vendor/ncurses/dist/misc/ncurses.def (props changed) vendor/ncurses/dist/misc/ncurses.ref (props changed) vendor/ncurses/dist/misc/panel.def (props changed) vendor/ncurses/dist/misc/panel.ref (props changed) vendor/ncurses/dist/misc/run_tic.in (props changed) vendor/ncurses/dist/misc/shlib (props changed) vendor/ncurses/dist/misc/tabset/std (props changed) vendor/ncurses/dist/misc/tabset/stdcrt (props changed) vendor/ncurses/dist/misc/tabset/vt100 (props changed) vendor/ncurses/dist/misc/tabset/vt300 (props changed) vendor/ncurses/dist/misc/tdlint (props changed) vendor/ncurses/dist/misc/terminfo.src (props changed) vendor/ncurses/dist/mk-0th.awk (props changed) vendor/ncurses/dist/mk-1st.awk (props changed) vendor/ncurses/dist/mk-2nd.awk (props changed) vendor/ncurses/dist/mk-hdr.awk (props changed) vendor/ncurses/dist/mkdirs.sh (props changed) vendor/ncurses/dist/ncurses/Makefile.in (props changed) vendor/ncurses/dist/ncurses/README (props changed) vendor/ncurses/dist/ncurses/README.IZ (props changed) vendor/ncurses/dist/ncurses/SigAction.h (props changed) vendor/ncurses/dist/ncurses/base/MKkeyname.awk (props changed) vendor/ncurses/dist/ncurses/base/MKlib_gen.sh (props changed) vendor/ncurses/dist/ncurses/base/MKunctrl.awk (props changed) vendor/ncurses/dist/ncurses/base/README (props changed) vendor/ncurses/dist/ncurses/base/define_key.c (props changed) vendor/ncurses/dist/ncurses/base/key_defined.c (props changed) vendor/ncurses/dist/ncurses/base/keybound.c (props changed) vendor/ncurses/dist/ncurses/base/keyok.c (props changed) vendor/ncurses/dist/ncurses/base/legacy_coding.c (props changed) vendor/ncurses/dist/ncurses/base/lib_addch.c (props changed) vendor/ncurses/dist/ncurses/base/lib_addstr.c (props changed) vendor/ncurses/dist/ncurses/base/lib_beep.c (props changed) vendor/ncurses/dist/ncurses/base/lib_bkgd.c (props changed) vendor/ncurses/dist/ncurses/base/lib_box.c (props changed) vendor/ncurses/dist/ncurses/base/lib_chgat.c (props changed) vendor/ncurses/dist/ncurses/base/lib_clear.c (props changed) vendor/ncurses/dist/ncurses/base/lib_clearok.c (props changed) vendor/ncurses/dist/ncurses/base/lib_clrbot.c (props changed) vendor/ncurses/dist/ncurses/base/lib_clreol.c (props changed) vendor/ncurses/dist/ncurses/base/lib_color.c (props changed) vendor/ncurses/dist/ncurses/base/lib_colorset.c (props changed) vendor/ncurses/dist/ncurses/base/lib_delch.c (props changed) vendor/ncurses/dist/ncurses/base/lib_delwin.c (props changed) vendor/ncurses/dist/ncurses/base/lib_dft_fgbg.c (props changed) vendor/ncurses/dist/ncurses/base/lib_echo.c (props changed) vendor/ncurses/dist/ncurses/base/lib_endwin.c (props changed) vendor/ncurses/dist/ncurses/base/lib_erase.c (props changed) vendor/ncurses/dist/ncurses/base/lib_flash.c (props changed) vendor/ncurses/dist/ncurses/base/lib_freeall.c (props changed) vendor/ncurses/dist/ncurses/base/lib_getch.c (props changed) vendor/ncurses/dist/ncurses/base/lib_getstr.c (props changed) vendor/ncurses/dist/ncurses/base/lib_hline.c (props changed) vendor/ncurses/dist/ncurses/base/lib_immedok.c (props changed) vendor/ncurses/dist/ncurses/base/lib_inchstr.c (props changed) vendor/ncurses/dist/ncurses/base/lib_initscr.c (props changed) vendor/ncurses/dist/ncurses/base/lib_insch.c (props changed) vendor/ncurses/dist/ncurses/base/lib_insdel.c (props changed) vendor/ncurses/dist/ncurses/base/lib_insnstr.c (props changed) vendor/ncurses/dist/ncurses/base/lib_instr.c (props changed) vendor/ncurses/dist/ncurses/base/lib_isendwin.c (props changed) vendor/ncurses/dist/ncurses/base/lib_leaveok.c (props changed) vendor/ncurses/dist/ncurses/base/lib_mouse.c (props changed) vendor/ncurses/dist/ncurses/base/lib_move.c (props changed) vendor/ncurses/dist/ncurses/base/lib_mvwin.c (props changed) vendor/ncurses/dist/ncurses/base/lib_newterm.c (props changed) vendor/ncurses/dist/ncurses/base/lib_newwin.c (props changed) vendor/ncurses/dist/ncurses/base/lib_nl.c (props changed) vendor/ncurses/dist/ncurses/base/lib_overlay.c (props changed) vendor/ncurses/dist/ncurses/base/lib_pad.c (props changed) vendor/ncurses/dist/ncurses/base/lib_printw.c (props changed) vendor/ncurses/dist/ncurses/base/lib_redrawln.c (props changed) vendor/ncurses/dist/ncurses/base/lib_refresh.c (props changed) vendor/ncurses/dist/ncurses/base/lib_restart.c (props changed) vendor/ncurses/dist/ncurses/base/lib_scanw.c (props changed) vendor/ncurses/dist/ncurses/base/lib_screen.c (props changed) vendor/ncurses/dist/ncurses/base/lib_scroll.c (props changed) vendor/ncurses/dist/ncurses/base/lib_scrollok.c (props changed) vendor/ncurses/dist/ncurses/base/lib_scrreg.c (props changed) vendor/ncurses/dist/ncurses/base/lib_set_term.c (props changed) vendor/ncurses/dist/ncurses/base/lib_slk.c (props changed) vendor/ncurses/dist/ncurses/base/lib_slkatr_set.c (props changed) vendor/ncurses/dist/ncurses/base/lib_slkatrof.c (props changed) vendor/ncurses/dist/ncurses/base/lib_slkatron.c (props changed) vendor/ncurses/dist/ncurses/base/lib_slkatrset.c (props changed) vendor/ncurses/dist/ncurses/base/lib_slkattr.c (props changed) vendor/ncurses/dist/ncurses/base/lib_slkclear.c (props changed) vendor/ncurses/dist/ncurses/base/lib_slkcolor.c (props changed) vendor/ncurses/dist/ncurses/base/lib_slkinit.c (props changed) vendor/ncurses/dist/ncurses/base/lib_slklab.c (props changed) vendor/ncurses/dist/ncurses/base/lib_slkrefr.c (props changed) vendor/ncurses/dist/ncurses/base/lib_slkset.c (props changed) vendor/ncurses/dist/ncurses/base/lib_slktouch.c (props changed) vendor/ncurses/dist/ncurses/base/lib_touch.c (props changed) vendor/ncurses/dist/ncurses/base/lib_ungetch.c (props changed) vendor/ncurses/dist/ncurses/base/lib_vline.c (props changed) vendor/ncurses/dist/ncurses/base/lib_wattroff.c (props changed) vendor/ncurses/dist/ncurses/base/lib_wattron.c (props changed) vendor/ncurses/dist/ncurses/base/lib_winch.c (props changed) vendor/ncurses/dist/ncurses/base/lib_window.c (props changed) vendor/ncurses/dist/ncurses/base/memmove.c (props changed) vendor/ncurses/dist/ncurses/base/nc_panel.c (props changed) vendor/ncurses/dist/ncurses/base/resizeterm.c (props changed) vendor/ncurses/dist/ncurses/base/safe_sprintf.c (props changed) vendor/ncurses/dist/ncurses/base/sigaction.c (props changed) vendor/ncurses/dist/ncurses/base/tries.c (props changed) vendor/ncurses/dist/ncurses/base/use_window.c (props changed) vendor/ncurses/dist/ncurses/base/version.c (props changed) vendor/ncurses/dist/ncurses/base/vsscanf.c (props changed) vendor/ncurses/dist/ncurses/base/wresize.c (props changed) vendor/ncurses/dist/ncurses/curses.priv.h (props changed) vendor/ncurses/dist/ncurses/fifo_defs.h (props changed) vendor/ncurses/dist/ncurses/llib-lncurses (props changed) vendor/ncurses/dist/ncurses/llib-lncursest (props changed) vendor/ncurses/dist/ncurses/llib-lncursesw (props changed) vendor/ncurses/dist/ncurses/modules (props changed) vendor/ncurses/dist/ncurses/tinfo/MKcaptab.awk (props changed) vendor/ncurses/dist/ncurses/tinfo/MKcaptab.sh (props changed) vendor/ncurses/dist/ncurses/tinfo/MKcodes.awk (props changed) vendor/ncurses/dist/ncurses/tinfo/MKfallback.sh (props changed) vendor/ncurses/dist/ncurses/tinfo/MKkeys_list.sh (props changed) vendor/ncurses/dist/ncurses/tinfo/MKnames.awk (props changed) vendor/ncurses/dist/ncurses/tinfo/README (props changed) vendor/ncurses/dist/ncurses/tinfo/access.c (props changed) vendor/ncurses/dist/ncurses/tinfo/add_tries.c (props changed) vendor/ncurses/dist/ncurses/tinfo/alloc_entry.c (props changed) vendor/ncurses/dist/ncurses/tinfo/alloc_ttype.c (props changed) vendor/ncurses/dist/ncurses/tinfo/captoinfo.c (props changed) vendor/ncurses/dist/ncurses/tinfo/comp_error.c (props changed) vendor/ncurses/dist/ncurses/tinfo/comp_expand.c (props changed) vendor/ncurses/dist/ncurses/tinfo/comp_hash.c (props changed) vendor/ncurses/dist/ncurses/tinfo/comp_parse.c (props changed) vendor/ncurses/dist/ncurses/tinfo/comp_scan.c (props changed) vendor/ncurses/dist/ncurses/tinfo/db_iterator.c (props changed) vendor/ncurses/dist/ncurses/tinfo/doalloc.c (props changed) vendor/ncurses/dist/ncurses/tinfo/entries.c (props changed) vendor/ncurses/dist/ncurses/tinfo/free_ttype.c (props changed) vendor/ncurses/dist/ncurses/tinfo/getenv_num.c (props changed) vendor/ncurses/dist/ncurses/tinfo/hashed_db.c (props changed) vendor/ncurses/dist/ncurses/tinfo/home_terminfo.c (props changed) vendor/ncurses/dist/ncurses/tinfo/init_keytry.c (props changed) vendor/ncurses/dist/ncurses/tinfo/lib_acs.c (props changed) vendor/ncurses/dist/ncurses/tinfo/lib_baudrate.c (props changed) vendor/ncurses/dist/ncurses/tinfo/lib_cur_term.c (props changed) vendor/ncurses/dist/ncurses/tinfo/lib_data.c (props changed) vendor/ncurses/dist/ncurses/tinfo/lib_has_cap.c (props changed) vendor/ncurses/dist/ncurses/tinfo/lib_kernel.c (props changed) vendor/ncurses/dist/ncurses/tinfo/lib_longname.c (props changed) vendor/ncurses/dist/ncurses/tinfo/lib_napms.c (props changed) vendor/ncurses/dist/ncurses/tinfo/lib_options.c (props changed) vendor/ncurses/dist/ncurses/tinfo/lib_print.c (props changed) vendor/ncurses/dist/ncurses/tinfo/lib_raw.c (props changed) vendor/ncurses/dist/ncurses/tinfo/lib_setup.c (props changed) vendor/ncurses/dist/ncurses/tinfo/lib_termcap.c (props changed) vendor/ncurses/dist/ncurses/tinfo/lib_termname.c (props changed) vendor/ncurses/dist/ncurses/tinfo/lib_tgoto.c (props changed) vendor/ncurses/dist/ncurses/tinfo/lib_ti.c (props changed) vendor/ncurses/dist/ncurses/tinfo/lib_tparm.c (props changed) vendor/ncurses/dist/ncurses/tinfo/lib_tputs.c (props changed) vendor/ncurses/dist/ncurses/tinfo/lib_ttyflags.c (props changed) vendor/ncurses/dist/ncurses/tinfo/make_keys.c (props changed) vendor/ncurses/dist/ncurses/tinfo/name_match.c (props changed) vendor/ncurses/dist/ncurses/tinfo/parse_entry.c (props changed) vendor/ncurses/dist/ncurses/tinfo/read_entry.c (props changed) vendor/ncurses/dist/ncurses/tinfo/read_termcap.c (props changed) vendor/ncurses/dist/ncurses/tinfo/setbuf.c (props changed) vendor/ncurses/dist/ncurses/tinfo/strings.c (props changed) vendor/ncurses/dist/ncurses/tinfo/trim_sgr0.c (props changed) vendor/ncurses/dist/ncurses/tinfo/use_screen.c (props changed) vendor/ncurses/dist/ncurses/tinfo/write_entry.c (props changed) vendor/ncurses/dist/ncurses/trace/README (props changed) vendor/ncurses/dist/ncurses/trace/lib_trace.c (props changed) vendor/ncurses/dist/ncurses/trace/lib_traceatr.c (props changed) vendor/ncurses/dist/ncurses/trace/lib_tracebits.c (props changed) vendor/ncurses/dist/ncurses/trace/lib_tracechr.c (props changed) vendor/ncurses/dist/ncurses/trace/lib_tracedmp.c (props changed) vendor/ncurses/dist/ncurses/trace/lib_tracemse.c (props changed) vendor/ncurses/dist/ncurses/trace/trace_buf.c (props changed) vendor/ncurses/dist/ncurses/trace/trace_tries.c (props changed) vendor/ncurses/dist/ncurses/trace/trace_xnames.c (props changed) vendor/ncurses/dist/ncurses/trace/varargs.c (props changed) vendor/ncurses/dist/ncurses/trace/visbuf.c (props changed) vendor/ncurses/dist/ncurses/tty/MKexpanded.sh (props changed) vendor/ncurses/dist/ncurses/tty/hardscroll.c (props changed) vendor/ncurses/dist/ncurses/tty/hashmap.c (props changed) vendor/ncurses/dist/ncurses/tty/lib_mvcur.c (props changed) vendor/ncurses/dist/ncurses/tty/lib_tstp.c (props changed) vendor/ncurses/dist/ncurses/tty/lib_twait.c (props changed) vendor/ncurses/dist/ncurses/tty/lib_vidattr.c (props changed) vendor/ncurses/dist/ncurses/tty/tty_display.h (props changed) vendor/ncurses/dist/ncurses/tty/tty_input.h (props changed) vendor/ncurses/dist/ncurses/tty/tty_update.c (props changed) vendor/ncurses/dist/ncurses/widechar/charable.c (props changed) vendor/ncurses/dist/ncurses/widechar/lib_add_wch.c (props changed) vendor/ncurses/dist/ncurses/widechar/lib_box_set.c (props changed) vendor/ncurses/dist/ncurses/widechar/lib_cchar.c (props changed) vendor/ncurses/dist/ncurses/widechar/lib_erasewchar.c (props changed) vendor/ncurses/dist/ncurses/widechar/lib_get_wch.c (props changed) vendor/ncurses/dist/ncurses/widechar/lib_get_wstr.c (props changed) vendor/ncurses/dist/ncurses/widechar/lib_hline_set.c (props changed) vendor/ncurses/dist/ncurses/widechar/lib_in_wch.c (props changed) vendor/ncurses/dist/ncurses/widechar/lib_in_wchnstr.c (props changed) vendor/ncurses/dist/ncurses/widechar/lib_ins_wch.c (props changed) vendor/ncurses/dist/ncurses/widechar/lib_inwstr.c (props changed) vendor/ncurses/dist/ncurses/widechar/lib_key_name.c (props changed) vendor/ncurses/dist/ncurses/widechar/lib_pecho_wchar.c (props changed) vendor/ncurses/dist/ncurses/widechar/lib_slk_wset.c (props changed) vendor/ncurses/dist/ncurses/widechar/lib_unget_wch.c (props changed) vendor/ncurses/dist/ncurses/widechar/lib_vid_attr.c (props changed) vendor/ncurses/dist/ncurses/widechar/lib_vline_set.c (props changed) vendor/ncurses/dist/ncurses/widechar/lib_wacs.c (props changed) vendor/ncurses/dist/ncurses/widechar/lib_wunctrl.c (props changed) vendor/ncurses/dist/panel/Makefile.in (props changed) vendor/ncurses/dist/panel/headers (props changed) vendor/ncurses/dist/panel/llib-lpanel (props changed) vendor/ncurses/dist/panel/llib-lpanelw (props changed) vendor/ncurses/dist/panel/modules (props changed) vendor/ncurses/dist/panel/p_above.c (props changed) vendor/ncurses/dist/panel/p_below.c (props changed) vendor/ncurses/dist/panel/p_bottom.c (props changed) vendor/ncurses/dist/panel/p_delete.c (props changed) vendor/ncurses/dist/panel/p_hidden.c (props changed) vendor/ncurses/dist/panel/p_hide.c (props changed) vendor/ncurses/dist/panel/p_move.c (props changed) vendor/ncurses/dist/panel/p_new.c (props changed) vendor/ncurses/dist/panel/p_replace.c (props changed) vendor/ncurses/dist/panel/p_show.c (props changed) vendor/ncurses/dist/panel/p_top.c (props changed) vendor/ncurses/dist/panel/p_update.c (props changed) vendor/ncurses/dist/panel/p_user.c (props changed) vendor/ncurses/dist/panel/p_win.c (props changed) vendor/ncurses/dist/panel/panel.c (props changed) vendor/ncurses/dist/panel/panel.h (props changed) vendor/ncurses/dist/panel/panel.priv.h (props changed) vendor/ncurses/dist/progs/MKtermsort.sh (props changed) vendor/ncurses/dist/progs/Makefile.in (props changed) vendor/ncurses/dist/progs/capconvert (props changed) vendor/ncurses/dist/progs/clear.c (props changed) vendor/ncurses/dist/progs/clear.sh (props changed) vendor/ncurses/dist/progs/dump_entry.c (props changed) vendor/ncurses/dist/progs/dump_entry.h (props changed) vendor/ncurses/dist/progs/infocmp.c (props changed) vendor/ncurses/dist/progs/modules (props changed) vendor/ncurses/dist/progs/progs.priv.h (props changed) vendor/ncurses/dist/progs/tic.c (props changed) vendor/ncurses/dist/progs/toe.c (props changed) vendor/ncurses/dist/progs/tput.c (props changed) vendor/ncurses/dist/progs/tset.c (props changed) vendor/ncurses/dist/tar-copy.sh (props changed) From owner-svn-src-vendor@FreeBSD.ORG Sun Nov 9 14:08:54 2008 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D80D5106564A; Sun, 9 Nov 2008 14:08:54 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id BF3608FC14; Sun, 9 Nov 2008 14:08:54 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mA9E8s3Y043197; Sun, 9 Nov 2008 14:08:54 GMT (envelope-from rafan@svn.freebsd.org) Received: (from rafan@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mA9E8sLW043192; Sun, 9 Nov 2008 14:08:54 GMT (envelope-from rafan@svn.freebsd.org) Message-Id: <200811091408.mA9E8sLW043192@svn.freebsd.org> From: Rong-En Fan Date: Sun, 9 Nov 2008 14:08:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184798 - in vendor/ncurses/dist: . doc/html form include man menu misc ncurses ncurses/base ncurses/tinfo ncurses/trace ncurses/tty ncurses/widechar panel progs X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2008 14:08:55 -0000 Author: rafan Date: Sun Nov 9 14:08:54 2008 New Revision: 184798 URL: http://svn.freebsd.org/changeset/base/184798 Log: - Import ncurses 5.7-20081102 (5.7 release) onto vendor branch Added: vendor/ncurses/dist/man/curs_memleaks.3x vendor/ncurses/dist/misc/ncurses.supp Modified: vendor/ncurses/dist/ANNOUNCE vendor/ncurses/dist/INSTALL vendor/ncurses/dist/MANIFEST vendor/ncurses/dist/NEWS vendor/ncurses/dist/TO-DO vendor/ncurses/dist/aclocal.m4 vendor/ncurses/dist/announce.html.in vendor/ncurses/dist/config.guess vendor/ncurses/dist/config.sub vendor/ncurses/dist/configure vendor/ncurses/dist/configure.in vendor/ncurses/dist/dist.mk vendor/ncurses/dist/doc/html/announce.html vendor/ncurses/dist/form/form.priv.h vendor/ncurses/dist/form/frm_def.c vendor/ncurses/dist/form/frm_driver.c vendor/ncurses/dist/form/frm_req_name.c vendor/ncurses/dist/include/MKterm.h.awk.in vendor/ncurses/dist/include/capdefaults.c vendor/ncurses/dist/include/curses.h.in vendor/ncurses/dist/include/curses.tail vendor/ncurses/dist/include/nc_alloc.h vendor/ncurses/dist/include/nc_panel.h vendor/ncurses/dist/include/ncurses_defs vendor/ncurses/dist/include/term_entry.h vendor/ncurses/dist/man/curs_getcchar.3x vendor/ncurses/dist/man/curs_terminfo.3x vendor/ncurses/dist/man/curs_util.3x vendor/ncurses/dist/man/form.3x vendor/ncurses/dist/man/form_driver.3x vendor/ncurses/dist/man/form_field_buffer.3x vendor/ncurses/dist/man/man_db.renames vendor/ncurses/dist/man/menu_attributes.3x vendor/ncurses/dist/man/menu_driver.3x vendor/ncurses/dist/man/menu_pattern.3x vendor/ncurses/dist/man/ncurses.3x vendor/ncurses/dist/menu/m_driver.c vendor/ncurses/dist/menu/m_req_name.c vendor/ncurses/dist/misc/ncu-indent vendor/ncurses/dist/misc/terminfo.src vendor/ncurses/dist/ncurses/Makefile.in vendor/ncurses/dist/ncurses/base/MKkeyname.awk vendor/ncurses/dist/ncurses/base/MKlib_gen.sh vendor/ncurses/dist/ncurses/base/MKunctrl.awk vendor/ncurses/dist/ncurses/base/lib_addch.c vendor/ncurses/dist/ncurses/base/lib_delwin.c vendor/ncurses/dist/ncurses/base/lib_freeall.c vendor/ncurses/dist/ncurses/base/lib_getch.c vendor/ncurses/dist/ncurses/base/lib_getstr.c vendor/ncurses/dist/ncurses/base/lib_initscr.c vendor/ncurses/dist/ncurses/base/lib_mouse.c vendor/ncurses/dist/ncurses/base/lib_newterm.c vendor/ncurses/dist/ncurses/base/lib_newwin.c vendor/ncurses/dist/ncurses/base/lib_overlay.c vendor/ncurses/dist/ncurses/base/lib_restart.c vendor/ncurses/dist/ncurses/base/lib_screen.c vendor/ncurses/dist/ncurses/base/lib_set_term.c vendor/ncurses/dist/ncurses/base/lib_slk.c vendor/ncurses/dist/ncurses/base/lib_slkrefr.c vendor/ncurses/dist/ncurses/base/lib_ungetch.c vendor/ncurses/dist/ncurses/base/lib_window.c vendor/ncurses/dist/ncurses/base/resizeterm.c vendor/ncurses/dist/ncurses/base/tries.c vendor/ncurses/dist/ncurses/base/use_window.c vendor/ncurses/dist/ncurses/base/wresize.c vendor/ncurses/dist/ncurses/curses.priv.h vendor/ncurses/dist/ncurses/fifo_defs.h vendor/ncurses/dist/ncurses/llib-lncurses vendor/ncurses/dist/ncurses/llib-lncursest vendor/ncurses/dist/ncurses/llib-lncursesw vendor/ncurses/dist/ncurses/tinfo/MKcodes.awk vendor/ncurses/dist/ncurses/tinfo/MKnames.awk vendor/ncurses/dist/ncurses/tinfo/alloc_entry.c vendor/ncurses/dist/ncurses/tinfo/alloc_ttype.c vendor/ncurses/dist/ncurses/tinfo/captoinfo.c vendor/ncurses/dist/ncurses/tinfo/comp_expand.c vendor/ncurses/dist/ncurses/tinfo/comp_hash.c vendor/ncurses/dist/ncurses/tinfo/comp_parse.c vendor/ncurses/dist/ncurses/tinfo/comp_scan.c vendor/ncurses/dist/ncurses/tinfo/entries.c vendor/ncurses/dist/ncurses/tinfo/home_terminfo.c vendor/ncurses/dist/ncurses/tinfo/init_keytry.c vendor/ncurses/dist/ncurses/tinfo/lib_acs.c vendor/ncurses/dist/ncurses/tinfo/lib_baudrate.c vendor/ncurses/dist/ncurses/tinfo/lib_cur_term.c vendor/ncurses/dist/ncurses/tinfo/lib_data.c vendor/ncurses/dist/ncurses/tinfo/lib_options.c vendor/ncurses/dist/ncurses/tinfo/lib_setup.c vendor/ncurses/dist/ncurses/tinfo/lib_termcap.c vendor/ncurses/dist/ncurses/tinfo/lib_tgoto.c vendor/ncurses/dist/ncurses/tinfo/lib_tparm.c vendor/ncurses/dist/ncurses/tinfo/lib_tputs.c vendor/ncurses/dist/ncurses/tinfo/lib_ttyflags.c vendor/ncurses/dist/ncurses/tinfo/make_keys.c vendor/ncurses/dist/ncurses/tinfo/name_match.c vendor/ncurses/dist/ncurses/tinfo/parse_entry.c vendor/ncurses/dist/ncurses/tinfo/read_entry.c vendor/ncurses/dist/ncurses/tinfo/use_screen.c vendor/ncurses/dist/ncurses/tinfo/write_entry.c vendor/ncurses/dist/ncurses/trace/lib_trace.c vendor/ncurses/dist/ncurses/trace/lib_traceatr.c vendor/ncurses/dist/ncurses/trace/lib_tracebits.c vendor/ncurses/dist/ncurses/trace/lib_tracechr.c vendor/ncurses/dist/ncurses/trace/lib_tracedmp.c vendor/ncurses/dist/ncurses/trace/lib_tracemse.c vendor/ncurses/dist/ncurses/trace/trace_buf.c vendor/ncurses/dist/ncurses/trace/trace_tries.c vendor/ncurses/dist/ncurses/trace/varargs.c vendor/ncurses/dist/ncurses/trace/visbuf.c vendor/ncurses/dist/ncurses/tty/hardscroll.c vendor/ncurses/dist/ncurses/tty/lib_mvcur.c vendor/ncurses/dist/ncurses/tty/lib_twait.c vendor/ncurses/dist/ncurses/tty/tty_update.c vendor/ncurses/dist/ncurses/widechar/charable.c vendor/ncurses/dist/ncurses/widechar/lib_get_wch.c vendor/ncurses/dist/ncurses/widechar/lib_get_wstr.c vendor/ncurses/dist/ncurses/widechar/lib_key_name.c vendor/ncurses/dist/ncurses/widechar/lib_unget_wch.c vendor/ncurses/dist/panel/p_new.c vendor/ncurses/dist/panel/panel.priv.h vendor/ncurses/dist/progs/MKtermsort.sh vendor/ncurses/dist/progs/Makefile.in vendor/ncurses/dist/progs/dump_entry.c vendor/ncurses/dist/progs/dump_entry.h vendor/ncurses/dist/progs/infocmp.c vendor/ncurses/dist/progs/progs.priv.h vendor/ncurses/dist/progs/tic.c vendor/ncurses/dist/progs/toe.c vendor/ncurses/dist/progs/tput.c vendor/ncurses/dist/progs/tset.c Modified: vendor/ncurses/dist/ANNOUNCE ============================================================================== --- vendor/ncurses/dist/ANNOUNCE Sun Nov 9 14:06:44 2008 (r184797) +++ vendor/ncurses/dist/ANNOUNCE Sun Nov 9 14:08:54 2008 (r184798) @@ -1,4 +1,4 @@ - Announcing ncurses 5.6 + Announcing ncurses 5.7 The ncurses (new curses) library is a free software emulation of curses in System V Release 4.0, and more. It uses terminfo format, @@ -27,205 +27,217 @@ Release Notes This release is designed to be upward compatible from ncurses 5.0 - through 5.5; very few applications will require recompilation, + through 5.6; very few applications will require recompilation, depending on the platform. These are the highlights from the - change-log since ncurses 5.5 release. + change-log since ncurses 5.6 release. Interface changes: * generate linkable stubs for some macros: - getbegx, getbegy, getcurx, getcury, getmaxx, getmaxy, getparx, - getpary, getpary, - and (for libncursesw) - wgetbkgrnd + getattrs New features and improvements: * library - + support hashed databases for the terminal descriptions. This - uses the Berkeley database, has been tested for several - versions on different platforms. - + add use_legacy_coding() function to support lynx's - font-switching feature. - + add extension nofilter(), to cancel a prior filter() call. - + add/install a package config script, e.g., ncurses5-config or - ncursesw5-config, according to configuration options. - + provide ifdef for NCURSES_NOMACROS which suppresses most - macro definitions from curses.h, i.e., where a macro is - defined to override a function to improve performance. - + make ifdef's consistent in curses.h for the extended colors - so the header file can be used for the normal curses library. - The header file installed for extended colors is a variation - of the wide-character configuration. - + improve tgetstr() by making the return value point into the - user's buffer, if provided. - + add ifdef's allowing ncurses to be built with tparm() using - either varargs (the existing status), or using a - fixed-parameter list (to match X/Open). - + widen the test for xterm kmous a little to allow for other - strings than "\E[M", e.g., for xterm-sco functionality in - xterm. - + modify wgetnstr() to return KEY_RESIZE if a sigwinch occurs. - + move prototypes for wide-character trace functions from - curses.tail to curses.wide to avoid accidental reference to - those if _XOPEN_SOURCE_EXTENDED is defined without ensuring - that is included. - + change the way shared libraries (other than libtool) are - installed. Rather than copying the build-tree's libraries, - link the shared objects into the install directory. This - makes the --with-rpath option work except with $(DESTDIR). - + several improvements for rendering in hpterm. These are only - available if the library is configured using - --enable-xmc-glitch. - + Add NCURSES_NO_HARD_TABS and NCURSES_NO_MAGIC_COOKIE - environment variables to allow runtime suppression of the - related hard-tabs and xmc-glitch features. + + new flavor of the ncurses library provides rudimentary + support for POSIX threads. Several functions are reentrant, + but most require either a window-level or screen-level mutex. + (This is API-compatible, but not ABI-compatible with the + normal library). + + add NCURSES_OPAQUE symbol to curses.h, will use to make + structs opaque in selected configurations. + + add NCURSES_EXT_FUNCS and NCURSES_EXT_COLORS symbols to + curses.h to make it simpler to tell if the extended functions + and/or colors are declared. + + add wresize() to C++ binding + + eliminate fixed-buffer vsprintf() calls in C++ binding. + + add several functions to C++ binding which wrap C functions + that pass a WINDOW* parameter. + + adapt mouse-handling code from menu library in form-library + + improve tracing for form library, showing created forms, + fields, etc. + + make $NCURSES_NO_PADDING feature work for termcap interface . + + add check to trace-file open, if the given name is a + directory, add ".log" to the name and try again. + + several new manpages: curs_legacy.3x, curs_memleaks.3x, + curs_opaque.3x and curs_threads.3x * programs: - + add new test programs: chgat.c, demo_altkeys.c, echochar.c, - foldkeys.c, movewindow.c, redraw.c, (noting that existing - test programs also were modified to test additional - features). - + modify tack to test extended capability function-key strings. - + modify toe to access termcap data, e.g., via cgetent() - functions, or as a text file if those are not available. - + improve infocmp/tic -f option formatting. - + add toe -a option, to show all databases. This uses new - private interfaces in the ncurses library for iterating - through the list of databases. - + modify MKfallback.sh to use tic -x when constructing fallback - tables to allow extended capabilities to be retrieved from a - fallback entry. + + modified three test-programs to demonstrate the threading + support in this version: ditto, rain, worm. + + several new test-programs: demo_panels, dots_mvcur, + inch_wide, inchs, key_name, key_names, savescreen, + savescreen.sh test_arrays, test_get_wstr, test_getstr, + test_instr, test_inwstr and test_opaque. + + add adacurses-config to the Ada95 install. + + modify tic -f option to format spaces as \s to prevent them + from being lost when that is read back in unformatted + strings. + + The tack program is now distributed separately from ncurses. * terminal database - + add terminfo entries for xfce terminal (xfce) and multi gnome - terminal (mgt) - + add nsterm-16color entry - + updated mlterm terminfo entry - + add kon, kon2 and jfbterm terminfo entry - + remove invis capability from klone+sgr, mainly used by linux - entry, since it does not really do this - + add ka2, kb1, kb3, kc2 to vt220-keypad as an extension - + add shifted up/down arrow codes to xterm-new as kind/kri - strings - + add hpterm-color terminfo entry - + add 256color variants of terminfo entries for programs which - are reported to implement this feature - + correct order of use-clauses in rxvt-basic entry which made - codes for f1-f4 vt100-style rather than vt220-style. + + added entries: + o Eterm-256color, Eterm-88color and rxvt-88color + o aterm + o konsole-256color + o mrxvt + o screen.mlterm + o screen.rxvt + o teraterm4.59 is now the primary primary teraterm entry, + renamed original to teraterm2.3 + o 9term terminal + o Newbury Data entries + + updated/improved entries: + o gnome to version 2.22.3 + o h19, z100 + o konsole to version 1.6.6 + o mlterm, mlterm+pcfkeys + o xterm, and building-blocks for function-keys to [3]xterm + patch #230. Major bug fixes: - * correct a typo in configure --with-bool option for the case where - --without-cxx is used. - * move assignment from environment variable ESCDELAY from initscr() - down to newterm() so the environment variable affects timeouts for - terminals opened with newterm() as well. - * modify werase to clear multicolumn characters that extend into a - derived window. - * modify wchgat() to mark updated cells as changed so a refresh will - repaint those cells. - * correct logic in wadd_wch() and wecho_wch(), which did not guard - against passing the multi-column attribute into a call on - waddch(), e.g., using data returned by win_wch() - * fix redrawing of windows other than stdscr using wredrawln() by - touching the corresponding rows in curscr. - * reduce memory leaks in repeated calls to tgetent() by remembering - the last TERMINAL* value allocated to hold the corresponding data - and freeing that if the tgetent() result buffer is the same as the - previous call. - * modify read_termtype() so the term_names data is always allocated - as part of the str_table, a better fix for a memory leak. - * fix wins_nwstr(), which did not handle single-column non-8bit - codes. - * modify wbkgrnd() to avoid clearing the A_CHARTEXT attribute bits - since those record the state of multicolumn characters. - * improve SIGWINCH handling by postponing its effect during - newterm(), etc., when allocating screens. - * remove 970913 feature for copying subwindows as they are moved in - mvwin(). - * add checks in waddchnstr() and wadd_wchnstr() to stop copying when - a null character is found. - * add some checks to ensure current position is within scrolling - region before scrolling on a new line. - * add a workaround to ACS mapping to allow applications such as - test/blue.c to use the "PC ROM" characters by masking them with - A_ALTCHARSET. This worked up til 5.5, but was lost in the revision - of legacy coding. + * add logic to tic for cancelling strings in user-defined + capabilities (this is needed for current konsole terminfo entry). + * modify mk-1st.awk so the generated makefile rules for linking or + installing shared libraries do not first remove the library, in + case it is in use, e.g., libncurses.so by /bin/sh. + * correct check for notimeout() in wgetch(). + * fix a sign-extension bug in infocmp's repair_acsc() function. + * change winnstr() to stop at the end of the line. + * make Ada95 demo_panels() example work. + * fix for adding a non-spacing character at the beginning of a line. + * fill in extended-color pair to make colors work for + wide-characters using extended-colors. + * improve refresh of window on top of multi-column characters, + taking into account split characters on left/right window + boundaries. + * modify win_wchnstr() to ensure that only a base cell is returned + for each multi-column character. + * improve waddch() and winsch() handling of EILSEQ from mbrtowc() by + using unctrl() to display illegal bytes rather than trying to + append further bytes to make up a valid sequence. + * restore curs_set() state after endwin()/refresh() + * modify keyname() to use "^X" form only if meta() has been called, + or if keyname() is called without initializing curses, e.g., via + initscr() or newterm(). + * modify unctrl() to check codes in 128-255 range versus isprint(). + If they are not printable, and locale was set, use a "M-" or "~" + sequence. + * improve resizeterm() by moving ripped-off lines, and repainting + the soft-keys. + * modify form library to accept control characters such as newline + in set_field_buffer(), which is compatible with Solaris. + * use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc., + to make those work properly with the --enable-ext-mouse + configuration + * correct some functions in Ada95 binding which were using return + value from C where none was returned. + * reviewed/fixed issues reported by Coverity and Klocwork tools. Portability: * configure script: + new options: - --with-hashed-db - Use Berkeley hashed database for storing terminfo - data rather than storing each compiled entry in a - separate binary file within a directory tree. + --disable-big-strings + control whether static string tables are generated + as single large strings (to improve startup + performance), or as array of individual strings. + + --disable-relink + control whether shared libraries are relinked + (during install) when rpath is enabled. + + --disable-tic-depends + make explicit whether tic library depends on + ncurses/ncursesw library. + + --enable-mixed-case + override the configure script's check if the + filesystem supports mixed-case filenames. This + allows one to control how the terminal database + maps to the filesystem. For filesystems that do not + support mixed-case, the library uses generate + 2-character (hexadecimal) codes for the lower-level + of the filesystem terminfo database + + --enable-reentrant + builds a different flavor of the ncurses library + (ncursest) which improves reentrant use of the + library by reducing global and static variables + (see the "--with-pthread" option for the threaded + support). + + --enable-weak-symbols + use weak-symbols for linking to the POSIX thread + library, and use the same soname for the ncurses + shared library as the normal library (caveat: the + ABI is for the threaded library, which makes global + data accessed via functions). + + --with-pthread + build with the POSIX thread library (tested with + AIX, Linux, FreeBSD, OpenBSD, HPUX, IRIX64, + Solaris, Tru64). + + --with-ticlib + build/install the tic-support functions in a + separate library - --without-dlsym - Do not use dlsym() to load GPM dynamically. + + improved options: - --with-valgrind - Simplify building for testing with valgrind. + --enable-ext-colors + requires the wide-character configuration. - --enable-wgetch-events - Compile with experimental wgetch-events code. + --with-chtype + ignore option value "unsigned" is always added to + the type in curses.h; do the same for + --with-mmask-t. - --enable-signed-char - Store booleans in "signed char" rather than "char". + --with-dmalloc + build-fix for redefinition of strndup. - + improved options: + --with-hashed-db + accepts a parameter which is the install-prefix of + a given Berkeley Database. - --disable-largefile - make the option work both ways. + --with-hashed-db + the $LIBS environment variable overrides the search + for the db library. - --with-gpm - The option now accepts a parameter, i.e., the name - of the dynamic GPM library to load via dlopen() - - --disable-symlinks - The option now allows one to disable symlink() in - tic even when link() does not work. + --without-hashed-db + assumed when "--disable-database" is used. * other configure/build issues: - + remove special case for Darwin in CF_XOPEN_SOURCE configure - macro. - + add configure check to ensure that SIGWINCH is defined on - platforms such as OS X which exclude that when _XOPEN_SOURCE, - etc., are defined - + use ld's -search_paths_first option on Darwin to work around - odd search rules on that platform. - + improve ifdef's for _POSIX_VDISABLE in tset to work with Mac - OS X. - + modify configure script to ensure that if the C compiler is - used rather than the loader in making shared libraries, the - $(CFLAGS) variable is also used. - + use ${CC} rather than ${LD} in shared library rules for - IRIX64, Solaris to help ensure that initialization sections - are provided for extra linkage requirements, e.g., of C++ - applications. - + improve some shared-library configure scripting for Linux, - FreeBSD and NetBSD to make --with-shlib-version work. - + split up dependency of names.c and codes.c in - ncurses/Makefile to work with parallel make. - + modify MKlib_gen.sh to change preprocessor-expanded _Bool - back to bool. - + modify progs/Makefile.in to make tput init work properly with - cygwin, i.e., do not pass a .exe in the reference string used - in check_aliases. + + build-fixes for LynxOS + + modify shared-library rules to allow FreeBSD 3.x to use + rpath. + + build-fix for FreeBSD "contemporary" TTY interface. + + build-fixes for AIX with libtool. + + build-fixes for Darwin and libtool. + + modify BeOS-specific ifdef's to build on Haiku. + + corrected gcc options for building shared libraries on + Solaris and IRIX64. + + change shared-library configuration for OpenBSD, make rpath + work. + + build-fixes for using libutf8, e.g., on OpenBSD 3.7 + + add "-e" option in ncurses/Makefile.in when generating + source-files to force earlier exit if the build environment + fails unexpectedly. + + add support for shared libraries for QNX. + + change delimiter in MKlib_gen.sh from '%' to '@', to avoid + substitution by IBM xlc to '#' as part of its extensions to + digraphs. * library: - + ignore wide-acs line-drawing characters that wcwidth() claims - are not one-column. This is a workaround for Solaris' broken - locale support. - + reduce name-pollution in term.h by removing #define's for - HAVE_xxx symbols. - + fix #ifdef in c++/internal.h for QNX 6.1 + + rewrite wrapper for wcrtomb(), making it work on Solaris. + This is used in the form library to determine the length of + the buffer needed by field_buffer. + + add/use configure script macro CF_SIG_ATOMIC_T, use the + corresponding type for data manipulated by signal handlers. + + set locale in misc/ncurses-config.in since it uses a range + + disable GPM mouse support when $TERM does not happen to + contain "linux", since Gpm_Open() no longer limits its + assertion to terminals that it might handle, e.g., within + "screen" in xterm. + + reset mouse file-descriptor when unloading GPM library. * test programs: - + modify test/configure script to allow building test programs - with PDCurses/X11. - + modified test programs to allow some to work with NetBSD - curses. Several do not because NetBSD curses implements a - subset of X/Open curses, and also lacks much of SVr4 - additions. But it is enough for comparison. - + improved test/configure to build test/ncurses on HPUX 11 - using the vendor curses. - + change configure script to produce test/Makefile from data - file. + + update test programs to build/work with various UNIX curses + for comparisons. Features of Ncurses @@ -271,6 +283,8 @@ the use of function keys, e.g., disabling the ncurses KEY_MOUSE, or by defining more than one control sequence to map to a given key code. + * Support for 256-color terminals, such as modern xterm, when + configured using the --enable-ext-colors option. * Support for 16-color terminals, such as aixterm and modern xterm. * Better cursor-movement optimization. The package now features a cursor-local-movement computation more efficient than either BSD's @@ -342,49 +356,45 @@ cdk Curses Development Kit - [3]http://invisible-island.net/cdk/ - [4]http://www.vexus.ca/products/CDK/ + [4]http://invisible-island.net/cdk/ + [5]http://www.vexus.ca/products/CDK/ ded directory-editor - [5]http://invisible-island.net/ded/ + [6]http://invisible-island.net/ded/ dialog the underlying application used in Slackware's setup, and the basis for similar applications on GNU/Linux. - [6]http://invisible-island.net/dialog/ + [7]http://invisible-island.net/dialog/ lynx the character-screen WWW browser - [7]http://lynx.isc.org/release/ + [8]http://lynx.isc.org/release/ Midnight Commander file manager - [8]http://www.ibiblio.org/mc/ + [9]http://www.ibiblio.org/mc/ mutt mail utility - [9]http://www.mutt.org/ + [10]http://www.mutt.org/ ncftp file-transfer utility - [10]http://www.ncftp.com/ + [11]http://www.ncftp.com/ nvi New vi versions 1.50 are able to use ncurses versions 1.9.7 and later. - [11]http://www.bostic.com/vi/ + [12]http://www.bostic.com/vi/ pinfo Lynx-like info browser. - [12]http://dione.ids.pl/~pborys/software/pinfo/ + [13]https://alioth.debian.org/projects/pinfo/ tin - newsreader, supporting color, MIME [13]http://www.tin.org/ - - vh-1.6 - Volks-Hypertext browser for the Jargon File - [14]http://www.debian.org/Packages/unstable/text/vh.html + newsreader, supporting color, MIME [14]http://www.tin.org/ as well as some that use ncurses for the terminfo support alone: @@ -402,7 +412,7 @@ Who's Who and What's What Zeyd Ben-Halim started it from a previous package pcurses, written by - Pavel Curtis. Eric S. Raymond continued development. Juergen Pfeifer + Pavel Curtis. Eric S. Raymond continued development. Jürgen Pfeifer wrote most of the form and menu libraries. Ongoing work is being done by [17]Thomas Dickey. Thomas Dickey acts as the maintainer for the Free Software Foundation, which holds the copyright on ncurses. @@ -442,18 +452,18 @@ References 1. ftp://ftp.gnu.org/gnu/ncurses/ 2. ftp://invisible-island.net/ncurses/ - 3. http://invisible-island.net/cdk/ - 4. http://www.vexus.ca/products/CDK/ - 5. http://invisible-island.net/ded/ - 6. http://invisible-island.net/dialog/ - 7. http://lynx.isc.org/release/ - 8. http://www.ibiblio.org/mc/ - 9. http://www.mutt.org/ - 10. http://www.ncftp.com/ - 11. http://www.bostic.com/vi/ - 12. http://dione.ids.pl/~pborys/software/pinfo/ - 13. http://www.tin.org/ - 14. http://www.debian.org/Packages/unstable/text/vh.html + 3. http://invisible-island.net/xterm/xterm.log.html#xterm_230 + 4. http://invisible-island.net/cdk/ + 5. http://www.vexus.ca/products/CDK/ + 6. http://invisible-island.net/ded/ + 7. http://invisible-island.net/dialog/ + 8. http://lynx.isc.org/release/ + 9. http://www.ibiblio.org/mc/ + 10. http://www.mutt.org/ + 11. http://www.ncftp.com/ + 12. http://www.bostic.com/vi/ + 13. https://alioth.debian.org/projects/pinfo/ + 14. http://www.tin.org/ 15. http://alioth.debian.org/projects/minicom/ 16. http://invisible-island.net/vile/ 17. mailto:dickey@invisible-island.net Modified: vendor/ncurses/dist/INSTALL ============================================================================== --- vendor/ncurses/dist/INSTALL Sun Nov 9 14:06:44 2008 (r184797) +++ vendor/ncurses/dist/INSTALL Sun Nov 9 14:08:54 2008 (r184798) @@ -1,5 +1,5 @@ ------------------------------------------------------------------------------- --- Copyright (c) 1998-2005,2006 Free Software Foundation, Inc. -- +-- Copyright (c) 1998-2006,2008 Free Software Foundation, Inc. -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this software and associated documentation files (the -- @@ -25,7 +25,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: INSTALL,v 1.124 2008/03/29 18:07:32 tom Exp $ +-- $Id: INSTALL,v 1.135 2008/11/02 21:13:51 tom Exp $ --------------------------------------------------------------------- How to install Ncurses/Terminfo on your system --------------------------------------------------------------------- @@ -393,6 +393,18 @@ SUMMARY OF CONFIGURE OPTIONS: Compile without scroll-hints code. This option is ignored when hashmap scrolling is configured, which is the default. + --disable-tic-depends + When building shared libraries, normally the tic library is linked to + depend upon the ncurses library (and in turn, on the term-library if + the --with-termlib option was given). The tic- and term-libraries + ABI does not depend on the --enable-widec option. Some packagers have + used this to reduce the number of library files which are packaged + by using only one copy of those libraries. To make this work properly, + the tic library must be built without an explicit dependency on the + ncurses (or ncursesw) library. Use this configure option to do that. + For example + configure --with-ticlib --with-shared --disable-tic-depends + --disable-tparm-varargs Portable programs should call tparm() using the fixed-length parameter list documented in X/Open. ncurses provides varargs support for this @@ -572,6 +584,13 @@ SUMMARY OF CONFIGURE OPTIONS: --enable-warnings Turn on GCC compiler warnings. There should be only a few. + --enable-weak-symbols + If the --with-pthread option is set, check if the compiler supports + weak-symbols. If it does, then name the thread-capable library without + the "t" (libncurses rather than libncursest), and provide for + dynamically loading the pthreads entrypoints at runtime. This allows + one to reduce the number of library files for ncurses. + --enable-wgetch-events Compile with experimental wgetch-events code. See ncurses/README.IZ @@ -598,6 +617,9 @@ SUMMARY OF CONFIGURE OPTIONS: Normally this is the same as the release version; some ports have special requirements for compatibility. + This option does not affect linking with libtool, which uses the + release major/minor numbers. + --with-ada-compiler=CMD Specify the Ada95 compiler command (default "gnatmake") @@ -625,20 +647,32 @@ SUMMARY OF CONFIGURE OPTIONS: to do this if the target compiler has unusual flags which confuse the host compiler. + You can also set the environment variable $BUILD_CFLAGS rather than + use this option. + --with-build-cppflags=XXX If cross-compiling, specify the host C preprocessor-flags. You might need to do this if the target compiler has unusual flags which confuse the host compiler. + You can also set the environment variable $BUILD_CPPFLAGS rather than + use this option. + --with-build-ldflags=XXX If cross-compiling, specify the host linker-flags. You might need to do this if the target linker has unusual flags which confuse the host compiler. + You can also set the environment variable $BUILD_LDFLAGS rather than + use this option. + --with-build-libs=XXX If cross-compiling, the host libraries. You might need to do this if the target environment requires unusual libraries. + You can also set the environment variable $BUILD_LIBS rather than + use this option. + --with-caps=XXX Specify an alternate terminfo capabilities file, which makes the configure script look for "include/Caps.XXX". A few systems, e.g., @@ -795,6 +829,14 @@ SUMMARY OF CONFIGURE OPTIONS: may be unsigned. Use this option if you need to preserve compatibility with 64-bit executables. + --with-normal + Generate normal (i.e., static) libraries (default). + + Note: on Linux, the configure script will attempt to use the GPM + library via the dlsym() function call. Use --without-dlsym to disable + this feature, or --without-gpm, depending on whether you wish to use + GPM. + --with-ospeed=TYPE Override type of ospeed variable, which is part of the termcap compatibility interface. In termcap, this is a 'short', which works @@ -808,14 +850,6 @@ SUMMARY OF CONFIGURE OPTIONS: those using termcap, do not use the higher speeds. Your application (or system, in general) may or may not. - --with-normal - Generate normal (i.e., static) libraries (default). - - Note: on Linux, the configure script will attempt to use the GPM - library via the dlsym() function call. Use --without-dlsym to disable - this feature, or --without-gpm, depending on whether you wish to use - GPM. - --with-profile Generate profile-libraries These are named by adding "_p" to the root, e.g., libncurses_p.a @@ -898,6 +932,12 @@ SUMMARY OF CONFIGURE OPTIONS: library. As in termlib, there is no ABI difference between the "wide" libticw.so and libtic.so + NOTE: Overriding the name of the tic library may be useful if you are + also using the --with-termlib option to rename libtinfo. If you are + not doing that, renaming the tic library can result in conflicting + library dependencies for tic and other programs built with the tic + library. + --with-trace Configure the trace() function as part of the all models of the ncurses library. Normally it is part of the debug (libncurses_g) library only. @@ -961,6 +1001,94 @@ COMPATIBILITY WITH OLDER VERSIONS OF NCU you may encounter when building a system with different versions of ncurses: + 5.7 (November 2, 2008) + Interface changes: + + + generate linkable stubs for some macros: + getattrs + + + Add new library configuration for tic-library (the non-curses portion + of the ncurses library used for the tic program as well as some + others such as tack. There is no API change, but makefiles would be + changed to use the tic-library built separately. + + tack, distributed separately from ncurses, uses some of the internal + _nc_XXX functions, which are declared in the tic.h header file. + + The reason for providing this separate library is that none of the + functions in it are suitable for threaded applications. + + + Add new library configuration (ncursest, ncurseswt) which provides + rudimentary support for POSIX threads. This introduces opaque + access functions to the WINDOW structure and adds a parameter to + several internal functions. + + + move most internal variables (except tic-library) into data blocks + _nc_globals and _nc_prescreen to simplify analysis. Those were + globally accessible, but since they were not part of the documented + API, there is no ABI change. + + + changed static tables of strings to be indices into long strings, to + improve startup performance. This changes parameter lists for some + of the internal functions. + + Added extensions: + + + add NCURSES_OPAQUE definition in curses.h to control whether internal + details of the WINDOW structure are visible to an application. This + is always defined when the threaded library is built, and is optional + otherwise. New functions for this: is_cleared, is_idcok, is_idlok, + is_immedok, is_keypad, is_leaveok, is_nodelay, is_notimeout, + is_scrollok, is_syncok, wgetparent and wgetscrreg. + + + the threaded library (ncursest) also disallows direct updating of + global curses-level variables, providing functions (via macros) for + obtaining their value. A few of those variables can be modified by + the application, using new functions: set_escdelay, set_tabsize + + + added functions use_window() and use_screen() which wrap a mutex + (if threading is configured) around a call to a user-supplied + function. + + Added internal functions: + _nc_get_alias_table + _nc_get_screensize + _nc_keyname + _nc_screen_of + _nc_set_no_padding + _nc_tracechar + _nc_tracemouse + _nc_unctrl + _nc_ungetch + + These are used for leak-testing, and are stubs for + ABI compatibility when ncurses is not configured for that + using the --disable-leaks configure script option: + + _nc_free_and_exit + _nc_leaks_tinfo + + Removed internal functions: + none + + Modified internal functions: + _nc_fifo_dump + _nc_find_entry + _nc_handle_sigwinch + _nc_init_keytry + _nc_keypad + _nc_locale_breaks_acs + _nc_timed_wait + _nc_update_screensize + + Use new typedef TRIES to replace "struct tries": + + _nc_add_to_try + _nc_expand_try + _nc_remove_key + _nc_remove_string + _nc_trace_tries + 5.6 (December 17, 2006) Interface changes: Modified: vendor/ncurses/dist/MANIFEST ============================================================================== --- vendor/ncurses/dist/MANIFEST Sun Nov 9 14:06:44 2008 (r184797) +++ vendor/ncurses/dist/MANIFEST Sun Nov 9 14:08:54 2008 (r184798) @@ -349,8 +349,10 @@ ./doc/html/man/curs_instr.3x.html ./doc/html/man/curs_inwstr.3x.html ./doc/html/man/curs_kernel.3x.html +./doc/html/man/curs_legacy.3x.html ./doc/html/man/curs_mouse.3x.html ./doc/html/man/curs_move.3x.html +./doc/html/man/curs_opaque.3x.html ./doc/html/man/curs_outopts.3x.html ./doc/html/man/curs_overlay.3x.html ./doc/html/man/curs_pad.3x.html @@ -364,6 +366,7 @@ ./doc/html/man/curs_termattrs.3x.html ./doc/html/man/curs_termcap.3x.html ./doc/html/man/curs_terminfo.3x.html +./doc/html/man/curs_threads.3x.html ./doc/html/man/curs_touch.3x.html ./doc/html/man/curs_trace.3x.html ./doc/html/man/curs_util.3x.html @@ -555,6 +558,7 @@ ./man/curs_inwstr.3x ./man/curs_kernel.3x ./man/curs_legacy.3x +./man/curs_memleaks.3x ./man/curs_mouse.3x ./man/curs_move.3x ./man/curs_opaque.3x @@ -700,6 +704,7 @@ ./misc/ncurses-config.in ./misc/ncurses.def ./misc/ncurses.ref +./misc/ncurses.supp ./misc/panel.def ./misc/panel.ref ./misc/run_tic.in Modified: vendor/ncurses/dist/NEWS ============================================================================== --- vendor/ncurses/dist/NEWS Sun Nov 9 14:06:44 2008 (r184797) +++ vendor/ncurses/dist/NEWS Sun Nov 9 14:08:54 2008 (r184798) @@ -25,7 +25,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: NEWS,v 1.1233 2008/05/03 23:14:39 tom Exp $ +-- $Id: NEWS,v 1.1320 2008/11/02 00:56:22 tom Exp $ ------------------------------------------------------------------------------- This is a log of changes that ncurses has gone through since Zeyd started @@ -45,6 +45,238 @@ See the AUTHORS file for the correspondi Changes through 1.9.9e did not credit all contributions; it is not possible to add this information. +20081102 5.7 release for upload to ftp.gnu.org + +20081025 + + add a manpage to discuss memory leaks. + + add support for shared libraries for QNX (other than libtool, which + does not work well on that platform). + + build-fix for QNX C++ binding. + +20081018 + + build-fixes for OS/2 EMX. + + modify form library to accept control characters such as newline + in set_field_buffer(), which is compatible with Solaris (report by + Nit Khair). + + modify configure script to assume --without-hashed-db when + --disable-database is used. + + add "-e" option in ncurses/Makefile.in when generating source-files + to force earlier exit if the build environment fails unexpectedly + (prompted by patch by Adrian Bunk). + + change configure script to use CF_UTF8_LIB, improved variant of + CF_LIBUTF8. + +20081012 + + add teraterm4.59 terminfo entry, use that as primary teraterm entry, rename + original to teraterm2.3 -TD + + update "gnome" terminfo to 2.22.3 -TD + + update "konsole" terminfo to 1.6.6, needs today's fix for tic -TD + + add "aterm" terminfo -TD + + add "linux2.6.26" terminfo -TD + + add logic to tic for cancelling strings in user-defined capabilities, + overlooked til now. + +20081011 + + update html documentation. + + add -m and -s options to test/keynames.c and test/key_names.c to test + the meta() function with keyname() or key_name(), respectively. + + correct return value of key_name() on error; it is null. + + document some unresolved issues for rpath and pthreads in TO-DO. + + fix a missing prototype for ioctl() on OpenBSD in tset.c + + add configure option --disable-tic-depends to make explicit whether + tic library depends on ncurses/ncursesw library, amends change from + 20080823 (prompted by Debian #501421). + +20081004 + + some build-fixes for configure --disable-ext-funcs (incomplete, but + works for C/C++ parts). + + improve configure-check for awks unable to handle large strings, e.g. + AIX 5.1 whose awk silently gives up on large printf's. + +20080927 + + fix build for --with-dmalloc by workaround for redefinition of + strndup between string.h and dmalloc.h + + fix build for --disable-sigwinch + + add environment variable NCURSES_GPM_TERMS to allow override to use + GPM on terminals other than "linux", etc. + + disable GPM mouse support when $TERM does not happen to contain + "linux", since Gpm_Open() no longer limits its assertion to terminals + that it might handle, e.g., within "screen" in xterm. + + reset mouse file-descriptor when unloading GPM library (report by + Miroslav Lichvar). + + fix build for --disable-leaks --enable-widec --with-termlib + > patch by Juergen Pfeifer: + + use improved initialization for soft-label keys in Ada95 sample code. + + discard internal symbol _nc_slk_format (unused since 20080112). + + move call of slk_paint_info() from _nc_slk_initialize() to + slk_intern_refresh(), improving initialization. + +20080925 + + fix bug in mouse code for GPM from 20080920 changes (reported in + Debian #500103, also Miroslav Lichvar). + +20080920 + + fix shared-library rules for cygwin with tic- and tinfo-libraries. + + fix a memory leak when failure to connect to GPM. + + correct check for notimeout() in wgetch() (report on linux.redhat + newsgroup by FurtiveBertie). + + add an example warning-suppression file for valgrind, + misc/ncurses.supp (based on example from Reuben Thomas) + +20080913 + + change shared-library configuration for OpenBSD, make rpath work. + + build-fixes for using libutf8, e.g., on OpenBSD 3.7 + +20080907 + + corrected fix for --enable-weak-symbols (report by Frederic L W + Meunier). + +20080906 + + corrected gcc options for building shared libraries on IRIX64. + + add configure check for awk programs unable to handle big-strings, + use that to improve the default for --enable-big-strings option. + + makefile-fixes for --enable-weak-symbols (report by Frederic L W + Meunier). + + update test/configure script. + + adapt ifdef's from library to make test/view.c build when mbrtowc() + is unavailable, e.g., with HPUX 10.20. + + add configure check for wcsrtombs, mbsrtowcs, which are used in + test/ncurses.c, and use wcstombs, mbstowcs instead if available, + fixing build of ncursew for HPUX 11.00 + +20080830 + + fixes to make Ada95 demo_panels() example work. + + modify Ada95 'rain' test program to accept keyboard commands like the + C-version. + + modify BeOS-specific ifdef's to build on Haiku (patch by Scott + Mccreary). + + add configure-check to see if the std namespace is legal for cerr + and endl, to fix a build issue with Tru64. + + consistently use NCURSES_BOOL in lib_gen.c + + filter #line's from lib_gen.c + + change delimiter in MKlib_gen.sh from '%' to '@', to avoid + substitution by IBM xlc to '#' as part of its extensions to digraphs. + + update config.guess, config.sub from + http://savannah.gnu.org/projects/config + (caveat - its maintainer removed support for older Linux systems). + +20080823 + + modify configure check for pthread library to work with OSF/1 5.1, + which uses #define's to associate its header and library. + + use pthread_mutexattr_init() for initializing pthread_mutexattr_t, + makes threaded code work on HPUX 11.23 + + fix a bug in demo_menus in freeing menus (cf: 20080804). + + modify configure script for the case where tic library is used (and + possibly renamed) to remove its dependency upon ncurses/ncursew + library (patch by Dr Werner Fink). + + correct manpage for menu_fore() which gave wrong default for + the attribute used to display a selected entry (report by Mike Gran). + + add Eterm-256color, Eterm-88color and rxvt-88color (prompted by + Debian #495815) -TD + +20080816 + + add configure option --enable-weak-symbols to turn on new feature. + + add configure-check for availability of weak symbols. + + modify linkage with pthread library to use weak symbols so that + applications not linked to that library will not use the mutexes, + etc. This relies on gcc, and may be platform-specific (patch by Dr + Werner Fink). + + add note to INSTALL to document limitation of renaming of tic library + using the --with-ticlib configure option (report by Dr Werner Fink). + + document (in manpage) why tputs does not detect I/O errors (prompted + by comments by Samuel Thibault). + + fix remaining warnings from Klocwork report. + +20080804 + + modify _nc_panelhook() data to account for a permanent memory leak. + + fix memory leaks in test/demo_menus + + fix most warnings from Klocwork tool (report by Larry Zhou). + + modify configure script CF_XOPEN_SOURCE macro to add case for + "dragonfly" from xterm #236 changes. + + modify configure script --with-hashed-db to let $LIBS override the + search for the db library (prompted by report by Samson Pierre). + +20080726 + + build-fixes for gcc 4.3.1 (changes to gnat "warnings", and C inlining + thresholds). + +20080713 + + build-fix (reports by Christian Ebert, Funda Wang). + +20080712 + + compiler-warning fixes for Solaris. + +20080705 + + use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc., to + make those work properly with the "--enable-ext-mouse" configuration + (cf: 20050205). + + improve documentation of build-cc options in INSTALL. + + work-around a bug in gcc 4.2.4 on AIX, which does not pass the + -static/-dynamic flags properly to linker, causing test/bs to + not link. + +20080628 + + correct some ifdef's needed for the broken-linker configuration. + + make debugging library's $BAUDRATE feature work for termcap + interface. + + make $NCURSES_NO_PADDING feature work for termcap interface (prompted + by comment on FreeBSD mailing list). + + add screen.mlterm terminfo entry -TD + + improve mlterm and mlterm+pcfkeys terminfo entries -TD + +20080621 + + regenerated html documentation. + + expand manpage description of parameters for form_driver() and + menu_driver() (prompted by discussion with Adam Spragg). + + add null-pointer checks for cur_term in baudrate() and + def_shell_mode(), def_prog_mode() + + fix some memory leaks in delscreen() and wide acs. + +20080614 + + modify test/ditto.c to illustrate multi-threaded use_screen(). + + change CC_SHARED_OPTS from -KPIC to -xcode=pic32 for Solaris. + + add "-shared" option to MK_SHARED_LIB for gcc on Solaris (report + by Poor Yorick). + +20080607 + + finish changes to wgetch(), making it switch as needed to the + window's actual screen when calling wrefresh() and wgetnstr(). That + allows wgetch() to get used concurrently in different threads with + some minor restrictions, e.g., the application should not delete a + window which is being used in a wgetch(). + + simplify mutex's, combining the window- and screen-mutex's. + +20080531 + + modify wgetch() to use the screen which corresponds to its window + parameter rather than relying on SP; some dependent functions still + use SP internally. + + factor out most use of SP in lib_mouse.c, using parameter. + + add internal _nc_keyname(), replacing keyname() to associate with a + particular SCREEN rather than the global SP. *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-vendor@FreeBSD.ORG Sun Nov 9 14:10:20 2008 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34A0D10656AE; Sun, 9 Nov 2008 14:10:20 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 068638FC20; Sun, 9 Nov 2008 14:10:20 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mA9EAJDD043263; Sun, 9 Nov 2008 14:10:19 GMT (envelope-from rafan@svn.freebsd.org) Received: (from rafan@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mA9EAJjo043262; Sun, 9 Nov 2008 14:10:19 GMT (envelope-from rafan@svn.freebsd.org) Message-Id: <200811091410.mA9EAJjo043262@svn.freebsd.org> From: Rong-En Fan Date: Sun, 9 Nov 2008 14:10:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184799 - vendor/ncurses/5.7-20081102 X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2008 14:10:20 -0000 Author: rafan Date: Sun Nov 9 14:10:19 2008 New Revision: 184799 URL: http://svn.freebsd.org/changeset/base/184799 Log: - Tag ncurses 5.7-20081102 Added: vendor/ncurses/5.7-20081102/ - copied from r184798, vendor/ncurses/dist/ From owner-svn-src-vendor@FreeBSD.ORG Wed Nov 12 23:48:21 2008 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E930106567C; Wed, 12 Nov 2008 23:48:21 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 06C7A8FC1C; Wed, 12 Nov 2008 23:48:21 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mACNmKvc043433; Wed, 12 Nov 2008 23:48:20 GMT (envelope-from rwatson@svn.freebsd.org) Received: (from rwatson@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mACNmKYu043426; Wed, 12 Nov 2008 23:48:20 GMT (envelope-from rwatson@svn.freebsd.org) Message-Id: <200811122348.mACNmKYu043426@svn.freebsd.org> From: Robert Watson Date: Wed, 12 Nov 2008 23:48:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184899 - in vendor/openbsm/dist: . bin bsm compat config contrib etc libbsm man modules test tools X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2008 23:48:21 -0000 Author: rwatson Date: Wed Nov 12 23:48:20 2008 New Revision: 184899 URL: http://svn.freebsd.org/changeset/base/184899 Log: Flatten OpenBSM vendor tree in preparation for new OpenBSM vendor import. Added: vendor/openbsm/dist/CHANGELOG - copied unchanged from r184898, vendor/openbsm/dist/contrib/openbsm/CHANGELOG vendor/openbsm/dist/HISTORY - copied unchanged from r184898, vendor/openbsm/dist/contrib/openbsm/HISTORY vendor/openbsm/dist/LICENSE - copied unchanged from r184898, vendor/openbsm/dist/contrib/openbsm/LICENSE vendor/openbsm/dist/Makefile - copied unchanged from r184898, vendor/openbsm/dist/contrib/openbsm/Makefile vendor/openbsm/dist/Makefile.am - copied unchanged from r184898, vendor/openbsm/dist/contrib/openbsm/Makefile.am vendor/openbsm/dist/Makefile.in - copied unchanged from r184898, vendor/openbsm/dist/contrib/openbsm/Makefile.in vendor/openbsm/dist/README - copied unchanged from r184898, vendor/openbsm/dist/contrib/openbsm/README vendor/openbsm/dist/TODO - copied unchanged from r184898, vendor/openbsm/dist/contrib/openbsm/TODO vendor/openbsm/dist/VERSION - copied unchanged from r184898, vendor/openbsm/dist/contrib/openbsm/VERSION vendor/openbsm/dist/aclocal.m4 - copied unchanged from r184898, vendor/openbsm/dist/contrib/openbsm/aclocal.m4 vendor/openbsm/dist/autogen.sh - copied unchanged from r184898, vendor/openbsm/dist/contrib/openbsm/autogen.sh vendor/openbsm/dist/bin/ - copied from r184898, vendor/openbsm/dist/contrib/openbsm/bin/ vendor/openbsm/dist/bsm/ - copied from r184898, vendor/openbsm/dist/contrib/openbsm/bsm/ vendor/openbsm/dist/compat/ - copied from r184898, vendor/openbsm/dist/contrib/openbsm/compat/ vendor/openbsm/dist/config/ - copied from r184898, vendor/openbsm/dist/contrib/openbsm/config/ vendor/openbsm/dist/configure - copied unchanged from r184898, vendor/openbsm/dist/contrib/openbsm/configure vendor/openbsm/dist/configure.ac - copied unchanged from r184898, vendor/openbsm/dist/contrib/openbsm/configure.ac vendor/openbsm/dist/etc/ - copied from r184898, vendor/openbsm/dist/contrib/openbsm/etc/ vendor/openbsm/dist/libbsm/ - copied from r184898, vendor/openbsm/dist/contrib/openbsm/libbsm/ vendor/openbsm/dist/man/ - copied from r184898, vendor/openbsm/dist/contrib/openbsm/man/ vendor/openbsm/dist/modules/ - copied from r184898, vendor/openbsm/dist/contrib/openbsm/modules/ vendor/openbsm/dist/test/ - copied from r184898, vendor/openbsm/dist/contrib/openbsm/test/ vendor/openbsm/dist/tools/ - copied from r184898, vendor/openbsm/dist/contrib/openbsm/tools/ Deleted: vendor/openbsm/dist/contrib/ Copied: vendor/openbsm/dist/CHANGELOG (from r184898, vendor/openbsm/dist/contrib/openbsm/CHANGELOG) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/openbsm/dist/CHANGELOG Wed Nov 12 23:48:20 2008 (r184899, copy of r184898, vendor/openbsm/dist/contrib/openbsm/CHANGELOG) @@ -0,0 +1,97 @@ +OpenBSM 1.0 alpha 4 + +- Remove "audit" user example from audit_user, as it's not present on most + systems. +- Add cannot_audit() function non-Darwin systems that wraps auditon(); + required by OpenSSH BSM support. Convert Darwin cannot_audit() into a + function rather than a macro. +- Library build fixed on Darwin following include file tweaks. The native + Darwin sys/audit.h conflicts with bsm/audit.h due to duplicate types, so + for now we force bsm_wrappers.c to not perform a nested include of + sys/audit.h. + +OpenBSM 1.0 alpha 3 + +- Man page formatting, cross reference, mlinks, and accuracy improvements. +- auditd and tools now compile and run on FreeBSD/arm. +- auditd will now fchown() the trail file to the audit review group, if + defined at compile-time. +- Added AUE_SYSARCH for FreeBSD. +- Definition of AUE_SETFSGID fixed for Linux. + +OpenBSM 1.0 alpha 2 + +- Man page formatting improvements. +- A number of new audit event identifiers for FreeBSD, Linux, and POSIX.1b + events. +- Remove 'tfm' class, unused in OpenBSM. + +OpenBSM 1.0 alpha 1 + +- Import of Darwin74 BSM drop +- Use 'syslog' for audit log warnings, rather than echoing to a file in + audit_warn. +- Compile using BSD make infrastructure. +- Integrate bsm/ include files from Darwin74 XNU drop into OpenBSM. +- Narrow set of symbols and defines that are exposed in user space: don't + compile in code relying on kernel-only types such as 'struct socket'. +- Add README, including basic build documentation. +- Compilation of Apple-specific notify and Machroutines now #ifdef __APPLE__. +- Staticize libbsm global variables to avoid leakage into application. +- Add free_au_user_ent() so that au_user_ent's don't have to be leaked. +- Clean up bogus nul-termination checks in libbsm. +- Add libbsm API man pages: au_class.3 au_control.3 au_event.3 + au_free_token.3 au_io.3 au_mask.3 au_token.3 au_user.3 libbsm.3. +- Add man pages for BSM system calls: audit.2 auditctl.2 auditon.2 getaudit.2 + getauid.2 setaudit.2 setauid.2 +- Modify various libbsm interfaces to more consistently return 'errno' values + on failure. +- Break out au_close() into constituent parts, allowing records to be written + to memory as well as files. +- Prefix various defines with 'BSM_' to reduce name space pollution. +- Added audit_internal.h, which can be used by a kernel audit implementation + wanting to rely on libbsm components. +- Build with warnings, and eliminate warnings. +- Make libbsm endian-independent, storing and reading BSM are big endian + (network byte order) rather than native byte order. More consistently + print IP addresses using the IP address print routine. These changes + make use of sys/endian.h from *BSD; since this isn't present on Darwin, + add it to OpenBSM as compat/endian.h, which is used only on Darwin. +- Import of Darwin80 BSM drop, including 64-bit file IDs, better + documentation of private APIs, and bug fixes. +- White space cleanup. +- Add audit.log.5, a first cut at a man page documenting the BSM file format. +- Teach au_read_rec() to recognize stand-alone file tokens, which are present + at the beginning and end of Solaris audit trails. Technically, these + appear to violate the high level BSM spec, which suggests that all tokens + are present in records, but need to be supported. +- Implement HEADER64, ATTR64, SUBJECT64 token types, which make it possible + to run praudit(1) on basic Solaris BSM streams. +- Switched to Solaris spelling of token names; Darwin spellings are now + deprecated and will be removed in a future version of OpenBSM. +- Adopt Solaris model for representing IPv4 and IPv6 addresses. +- Prefer C99 types. +- Attempt to universally adopt the BSD style(9) coding style for + consistency. +- auditreduce(1) now has a usage message. +- Update support for auditctl(2) system call to support FreeBSD. +- Add support for /dev/audit as the trigger source on FreeBSD. +- Add additional event types for Darwin, FreeBSD, and Solaris. Annotate + conflicts (there are a few, unfortunately). Correct spellings, comment, + sort, etc. These include {get,set}res[ug]id(), sendfile(), lchflags(), + eaccess(), kqueue(), kevent(), poll(), lchmod(). +- Relicensed under a BSD license, many thanks to Apple, Inc! +- Many bug fixes, cleanups, thread safety in the class, control, event, + and user system audit databases. Annotate some persisting atomicity + bugs associated with the API and implementation. +- Add audump test tool. +- Adopt OpenSolaris BSM API memory semantics: caller allocates memory, + or static memory is returned for non-_r() versions of API calls. + _free() calls dropped as a result, and source code compatibility with + OpenSolaris improved significantly. +- Annotate BSM events with origin OS and compatibility information. +- auditd(8), audit(8) added to the OpenBSM distribution. auditd extended + to support reloading of kernel event table. +- Allow comments in /etc/security configuration files. + +$P4: //depot/projects/trustedbsd/openbsm/CHANGELOG#12 $ Copied: vendor/openbsm/dist/HISTORY (from r184898, vendor/openbsm/dist/contrib/openbsm/HISTORY) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/openbsm/dist/HISTORY Wed Nov 12 23:48:20 2008 (r184899, copy of r184898, vendor/openbsm/dist/contrib/openbsm/HISTORY) @@ -0,0 +1,305 @@ +OpenBSM 1.0 + +- Fix bug in auditreduce(8) which resulted in a memory fault/crash when + the user specified an event name with -m. +- Remove AU_.* hard-coded audit class constants, as udit classes are now + entirely dynamically configured using /etc/security/audit_class. + +OpenBSM 1.0 alpha 15 + +- Fix bug when processing in_addr_ex tokens. +- Restore the behavior of printing the string/text specified while + auditing arg32 tokens. +- Synchronized audit event list to Solaris, picking up the *at(2) system call + definitions, now required for FreeBSD and Linux. Added additional events + for *at(2) system calls not present in Solaris. +- Bugs in auditreduce(8) fixed allowing partial date strings to be used in + filtering events. + +OpenBSM 1.0 alpha 14 + +- Fix endian issues when processing IPv6 addresses for extended subject + and process tokens. +- gcc41 warnings clean. +- Teach audit_submit(3) about getaudit_addr(2). +- Add support for zonename tokens. + +OpenBSM 1.0 alpha 13 + +- compat/clock_gettime.h now provides a compatibility implementation of + clock_gettime(), which fixes building on Mac OS X. +- Countless man page improvements, markup fixes, content fixs, etc. +- XML printing support via "praudit -x". +- audit.log.5 expanded to include additional BSM token types. +- Added encoding and decoding routines for process64_ex, process32_ex, + subject32_ex, header64, and attr64 tokens. +- Additional audit event identifiers for listen, mlockall/munlockall, + getpath, POSIX message queues, and mandatory access control. + +OpenBSM 1.0 alpha 12 + +- Correct bug in auditreduce which prevented the -c option from working + correctly when the user specifies to process successful or failed events. + The problem stemmed from not having access to the return token at the time + the initial preselection occurred, but now a second preselection process + occurs while processing the return token. +- getacfilesz(3) API added to read new audit_control(5) filesz setting, + which auditd(8) now sets the kernel audit trail rotation size to. +- auditreduce(1) now uses stdin if no file names are specified on the command + line; this was the documented behavior previously, but it was not + implemented. Be more specific in auditreduce(1)'s examples section about + what might be done with the output of auditreduce. +- Add audit_warn(5) closefile event so that administrators can hook + termination of an audit trail file. For example, this might be used to + compress the trail file after it is closed. +- auditreduce(1) now uses regular expressions for pathname matching. Users can + now supply one or more (comma delimited) regular expressions for searching + the pathnames. If one of the regular expressions is prefixed with a tilde + (~), and a path matches, it will be excluded from the search results. + +OpenBSM 1.0 alpha 11 + +- Reclassify certain read/write operations as having no class rather than the + fr/fw class; our default classes audit intent (open) not operations (read, + write). +- Introduce AUE_SYSCTL_WRITE event so that BSD/Darwin systems can audit reads + and writes of sysctls as separate events. Add additional kernel + environment and jail events for FreeBSD. +- Break AUDIT_TRIGGER_OPEN_NEW into two events, AUDIT_TRIGGER_ROTATE_USER + (issued by the user audit(8) tool) and AUDIT_TRIGGER_ROTATE_KERNEL (issued + by the kernel audit implementation) so that they can be distinguished. +- Disable rate limiting of rotate requests; as the kernel doesn't retransmit + a dropped request, the log file will otherwise grow indefinitely if the + trigger is dropped. +- Improve auditd debugging output. +- Fix a number of threading related bugs in audit_control file reading + routines. +- Add APIs au_poltostr() and au_strtopol() to convert between text + representations of audit_control policy flags and the flags passed to + auditon(A_SETPOLICY) and retrieved from auditon(A_GETPOLICY). +- Add API getacpol() to return the 'policy:' entry from audit_control, an + extension to the Solaris file format to allow specification of policy + persistent flags. +- Update audump to print the audit_control policy field. +- Update auditd to read the audit_control policy field and set the kernel + policy to match it when configuring/reconfiguring. Remove the -s and -h + arguments as these policies are now set via the configuration file. If a + policy line is not found in the configuration file, continue with the + current default of setting AUDIT_CNT. +- Fix bugs in the parsing of large execve(2) arguments and environmental + variable tokens; increase maximum parsed argument and variable count. +- configure now detects strlcat(), used by policy-related functions. +- Reference token and record sample files added to test tree. + +OpenBSM 1.0 alpha 10 + +- auditd now generates complete audit records for its events, as required for + application-submitted audit records in the the FreeBSD kernel audit + implementation. + +OpenBSM 1.0 alpha 9 + +- Rename many OpenBSM-specific constants and API elements containing the + strings "BSM" and "bsm" to "AUDIT" and "audit", observing that this is true + for almost all existing constants and APIs. +- Instead of passing a per-instance cookie directly into all audit filter + APIs, pass in the audit filter daemon state pointer, which is then used by + the module using an audit_filter_{get,set}cookie() API. This will allow + future service APIs provided by the filter daemon to maintain their own + state -- for example, per-module preselection state. + +OpenBSM 1.0 alpha 8 + +- Correct typo in definition of AUR_INT. +- Adopt OpenSolaris constant values for AUDIT_* configuration flags. +- Arguments to au_to_exec_args() and au_to_exec_env() no longer const. +- Add kernel versions of au_to_exec_args() and au_to_exec_env(). +- Fix exec argument type that is printed for env strings from 'arg' to 'env'. +- New OpenBSM token version number assigned, constants added for other + commonly seen version numbers. +- OpenBSM-specific events assigned numbers in the 43xxx range to avoid future + collisions with Solaris. Darwin events renamed to AUE_DARWIN_foo, as they + are now deprecated numberings. +- autoconf now detects clock_gettime(), which is not available on Darwin. +- praudit output fixes relating to arg32 and arg64 tokens. +- Maximum record size updated to 64k-1 to match Solaris record size limit. +- Various style and comment cleanups in include files. + +OpenBSM 1.0 alpha 7 + +- Adopted Solaris-compatible format for subject32_ex and subject64_ex + tokens, which previously did not correctly implement variable length + address storage. +- Prefer inttypes.h to stdint.h; enhance queue.h detection to test for + TAILQ_FOREACH_SAFE(), which is present in recent BSD queue.h's, but not + older ones. OpenBSM now builds on some FreeBSD 4.x version. +- New event types for extended attributes, ACLs, and scheduling. + +OpenBSM 1.0 alpha 6 + +- Use AU_TO_WRITE and AU_NO_TO_WRITE for the 'keep' argument to au_close(); + previously we used hard-coded 0 and 1 values. +- Add man page for au_open(), au_write(), au_close(), and + au_close_buffer(). +- Support a more complete range of data types for the arbitrary data token: + add AUR_CHAR (alias to AUR_BYTE), remove AUR_LONG, add AUR_INT32 (alias + to AUR_INT), add AUR_INT64. +- Add au_close_token(), which allows writing a single token_t to a memory + buffer. Not likely to be used much by applications, but useful for + writing test tools. +- Modify au_to_file() so that it accepts a timeval in user space, not just + kernel -- this is not a Solaris BSM API so can be modified without + causing compatibility issues. +- Define a new API, au_to_header32_tm(), which adds a struct timeval + argument to the ordinary au_to_header32(), which is now implemented by + wrapping au_to_header32_tm() and calling gettimeofday(). #ifndef KERNEL + the APIs that invoke gettimeofday(), rather than having a variable + definition. Don't try to retrieve time zone information using + gettimeofday(), as it's not needed, and introduces possible failure + modes. +- Don't perform byte order transformations on the addr/machine fields of + the terminal ID that appears in the process32/subject32 tokens. These + are assumed to be IP addresses, and as such, to be in network byte + order. +- Universally, APIs now assume that IP addresses and ports are provided + in network byte order. APIs now generally provide these types in + network byte order when decoding. +- Beginnings of an OpenBSM test framework can now be found in openbsm/test. + This code is not built or installed by default. +- auditd now assigns more appropriate syslog levels to its debugging and + error information. +- Support for audit filters introduced: audit filters are dynamically + loaded shared objects that run in the context of a new daemon, + auditfilterd. The daemon reads from an audit pipe and feeds both BSM and + parsed versions of records to shared objects using a module API. This + will provide a framework for the writing of intrusion detection services. +- New utility API, audit_submit(), added to capture common elements of audit + record submission for many applications. + +OpenBSM 1.0 alpha 5 + +- Update install notes to indicate /etc files are to be installed manually. +- On systems without LOG_SECURITY, use LOG_AUTH. +- Convert to autoconf/automake in order to move to a more portable (not + BSD-specific) build infrastructure, and more easy conditional building of + components. Currently, the primary feature loss is that automake does + not have native support for manual symlinks. This will be addressed in a + future OpenBSM release. +- Add compat/queue.h, to be used on systems dated BSD queue macro libraries + (as found on Linux). +- Rename CHANGELOG to HISTORY, as our change log doesn't follow some of the + existing conventions for a CHANGELOG. +- Some private data structures moved from audit.h to audit_internal.h to + prevent inappropriate use by applications and name space pollution. +- Improved detection and use of endian macros using autoconf. +- Avoid non-portable use of struct in6_addr, which is largely opaque. +- Avoid leaking BSD kernel socket related token code to user space in + bsm_token.c. +- Teach System V IPC calls to look for Linux naming variations for certain + struct ipc_perm fields. +- Test for audit system calls, and if not present, don't build + bsm_wrappers.c, bsm_notify.c, audit(8), and auditd(8), which rely on + those system calls. +- au_close() is not implemented on systems that don't have audit system + calls, but au_close_buffer() is. +- Work around missing BSDisms in bsm_wrapper.c. +- Fix nested includes so including libbsm.h in an application on Linux + picks up the necessary definitions. + +OpenBSM 1.0 alpha 4 + +- Remove "audit" user example from audit_user, as it's not present on most + systems. +- Add cannot_audit() function non-Darwin systems that wraps auditon(); + required by OpenSSH BSM support. Convert Darwin cannot_audit() into a + function rather than a macro. +- Library build fixed on Darwin following include file tweaks. The native + Darwin sys/audit.h conflicts with bsm/audit.h due to duplicate types, so + for now we force bsm_wrappers.c to not perform a nested include of + sys/audit.h. + +OpenBSM 1.0 alpha 3 + +- Man page formatting, cross reference, mlinks, and accuracy improvements. +- auditd and tools now compile and run on FreeBSD/arm. +- auditd will now fchown() the trail file to the audit review group, if + defined at compile-time. +- Added AUE_SYSARCH for FreeBSD. +- Definition of AUE_SETFSGID fixed for Linux. + +OpenBSM 1.0 alpha 2 + +- Man page formatting improvements. +- A number of new audit event identifiers for FreeBSD, Linux, and POSIX.1b + events. +- Remove 'tfm' class, unused in OpenBSM. + +OpenBSM 1.0 alpha 1 + +- Import of Darwin74 BSM drop +- Use 'syslog' for audit log warnings, rather than echoing to a file in + audit_warn. +- Compile using BSD make infrastructure. +- Integrate bsm/ include files from Darwin74 XNU drop into OpenBSM. +- Narrow set of symbols and defines that are exposed in user space: don't + compile in code relying on kernel-only types such as 'struct socket'. +- Add README, including basic build documentation. +- Compilation of Apple-specific notify and Machroutines now #ifdef __APPLE__. +- Staticize libbsm global variables to avoid leakage into application. +- Add free_au_user_ent() so that au_user_ent's don't have to be leaked. +- Clean up bogus nul-termination checks in libbsm. +- Add libbsm API man pages: au_class.3 au_control.3 au_event.3 + au_free_token.3 au_io.3 au_mask.3 au_token.3 au_user.3 libbsm.3. +- Add man pages for BSM system calls: audit.2 auditctl.2 auditon.2 getaudit.2 + getauid.2 setaudit.2 setauid.2 +- Modify various libbsm interfaces to more consistently return 'errno' values + on failure. +- Break out au_close() into constituent parts, allowing records to be written + to memory as well as files. +- Prefix various defines with 'BSM_' to reduce name space pollution. +- Added audit_internal.h, which can be used by a kernel audit implementation + wanting to rely on libbsm components. +- Build with warnings, and eliminate warnings. +- Make libbsm endian-independent, storing and reading BSM are big endian + (network byte order) rather than native byte order. More consistently + print IP addresses using the IP address print routine. These changes + make use of sys/endian.h from *BSD; since this isn't present on Darwin, + add it to OpenBSM as compat/endian.h, which is used only on Darwin. +- Import of Darwin80 BSM drop, including 64-bit file IDs, better + documentation of private APIs, and bug fixes. +- White space cleanup. +- Add audit.log.5, a first cut at a man page documenting the BSM file format. +- Teach au_read_rec() to recognize stand-alone file tokens, which are present + at the beginning and end of Solaris audit trails. Technically, these + appear to violate the high level BSM spec, which suggests that all tokens + are present in records, but need to be supported. +- Implement HEADER64, ATTR64, SUBJECT64 token types, which make it possible + to run praudit(1) on basic Solaris BSM streams. +- Switched to Solaris spelling of token names; Darwin spellings are now + deprecated and will be removed in a future version of OpenBSM. +- Adopt Solaris model for representing IPv4 and IPv6 addresses. +- Prefer C99 types. +- Attempt to universally adopt the BSD style(9) coding style for + consistency. +- auditreduce(1) now has a usage message. +- Update support for auditctl(2) system call to support FreeBSD. +- Add support for /dev/audit as the trigger source on FreeBSD. +- Add additional event types for Darwin, FreeBSD, and Solaris. Annotate + conflicts (there are a few, unfortunately). Correct spellings, comment, + sort, etc. These include {get,set}res[ug]id(), sendfile(), lchflags(), + eaccess(), kqueue(), kevent(), poll(), lchmod(). +- Relicensed under a BSD license, many thanks to Apple, Inc! +- Many bug fixes, cleanups, thread safety in the class, control, event, + and user system audit databases. Annotate some persisting atomicity + bugs associated with the API and implementation. +- Add audump test tool. +- Adopt OpenSolaris BSM API memory semantics: caller allocates memory, + or static memory is returned for non-_r() versions of API calls. + _free() calls dropped as a result, and source code compatibility with + OpenSolaris improved significantly. +- Annotate BSM events with origin OS and compatibility information. +- auditd(8), audit(8) added to the OpenBSM distribution. auditd extended + to support reloading of kernel event table. +- Allow comments in /etc/security configuration files. + +$P4: //depot/projects/trustedbsd/openbsm/HISTORY#57 $ Copied: vendor/openbsm/dist/LICENSE (from r184898, vendor/openbsm/dist/contrib/openbsm/LICENSE) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/openbsm/dist/LICENSE Wed Nov 12 23:48:20 2008 (r184899, copy of r184898, vendor/openbsm/dist/contrib/openbsm/LICENSE) @@ -0,0 +1,33 @@ +OpenBSM is covered by a number of copyrights, with licenses being either two +or three clause BSD licenses. Individual file headers should be consulted +for specific copyrights on specific components. The TrustedBSD Project would +appreciate the contribution of fixes and enhancements under identical or +substantially similar licenses: + + * Copyright (c) + * All rights reserved. + * + * + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + +$P4: //depot/projects/trustedbsd/openbsm/LICENSE#4 $ Copied: vendor/openbsm/dist/Makefile (from r184898, vendor/openbsm/dist/contrib/openbsm/Makefile) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/openbsm/dist/Makefile Wed Nov 12 23:48:20 2008 (r184899, copy of r184898, vendor/openbsm/dist/contrib/openbsm/Makefile) @@ -0,0 +1,9 @@ +# +# $P4: //depot/projects/trustedbsd/openbsm/Makefile#2 $ +# + +SUBDIR= bsm \ + libbsm \ + bin + +.include Copied: vendor/openbsm/dist/Makefile.am (from r184898, vendor/openbsm/dist/contrib/openbsm/Makefile.am) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/openbsm/dist/Makefile.am Wed Nov 12 23:48:20 2008 (r184899, copy of r184898, vendor/openbsm/dist/contrib/openbsm/Makefile.am) @@ -0,0 +1,17 @@ +# +# $P4: //depot/projects/trustedbsd/openbsm/Makefile.am#2 $ +# + +SUBDIRS = \ + bsm \ + libbsm \ + bin \ + man \ + modules + +EXTRA_DIST = \ + CHANGELOG \ + LICENSE \ + README \ + TODO \ + VERSION Copied: vendor/openbsm/dist/Makefile.in (from r184898, vendor/openbsm/dist/contrib/openbsm/Makefile.in) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/openbsm/dist/Makefile.in Wed Nov 12 23:48:20 2008 (r184899, copy of r184898, vendor/openbsm/dist/contrib/openbsm/Makefile.in) @@ -0,0 +1,643 @@ +# Makefile.in generated by automake 1.10 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +# +# $P4: //depot/projects/trustedbsd/openbsm/Makefile.in#5 $ +# +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = . +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(top_srcdir)/config/config.h.in \ + $(top_srcdir)/configure TODO config/config.guess \ + config/config.sub config/depcomp config/install-sh \ + config/ltmain.sh config/missing +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + { test ! -d $(distdir) \ + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -fr $(distdir); }; } +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +distuninstallcheck_listfiles = find . -type f -print +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO = @ECHO@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +VERSION = @VERSION@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +SUBDIRS = \ + bsm \ + libbsm \ + bin \ + man \ + modules + +EXTRA_DIST = \ + CHANGELOG \ + LICENSE \ + README \ + TODO \ + VERSION + +all: all-recursive + +.SUFFIXES: +am--refresh: + @: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ + cd $(srcdir) && $(AUTOMAKE) --foreign \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config/config.h: config/stamp-h1 + @if test ! -f $@; then \ + rm -f config/stamp-h1; \ + $(MAKE) $(AM_MAKEFLAGS) config/stamp-h1; \ + else :; fi + +config/stamp-h1: $(top_srcdir)/config/config.h.in $(top_builddir)/config.status + @rm -f config/stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config/config.h +$(top_srcdir)/config/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_srcdir) && $(AUTOHEADER) + rm -f config/stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config/config.h config/stamp-h1 + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +$(RECURSIVE_CLEAN_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + $(am__remove_distdir) + test -d $(distdir) || mkdir $(distdir) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + distdir=`$(am__cd) $(distdir) && pwd`; \ + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$top_distdir" \ + distdir="$$distdir/$$subdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + distdir) \ + || exit 1; \ + fi; \ + done + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r $(distdir) +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__remove_distdir) + +dist dist-all: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && cd $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck + $(am__remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @cd $(distuninstallcheck_dir) \ + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-vendor@FreeBSD.ORG Wed Nov 12 23:49:56 2008 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EFC71065672; Wed, 12 Nov 2008 23:49:56 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 278448FC0C; Wed, 12 Nov 2008 23:49:56 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mACNnt8c043494; Wed, 12 Nov 2008 23:49:56 GMT (envelope-from rwatson@svn.freebsd.org) Received: (from rwatson@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mACNntvY043493; Wed, 12 Nov 2008 23:49:55 GMT (envelope-from rwatson@svn.freebsd.org) Message-Id: <200811122349.mACNntvY043493@svn.freebsd.org> From: Robert Watson Date: Wed, 12 Nov 2008 23:49:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184900 - in vendor/openbsm/dist: . bin bin/audit bin/auditd bin/auditfilterd bin/auditreduce bin/praudit bsm compat config etc libbsm man modules modules/auditfilter_noop test test/bsm... X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2008 23:49:56 -0000 Author: rwatson Date: Wed Nov 12 23:49:55 2008 New Revision: 184900 URL: http://svn.freebsd.org/changeset/base/184900 Log: Disable keyword exansion in OpenBSM vendor branch. Modified: vendor/openbsm/dist/CHANGELOG (props changed) vendor/openbsm/dist/HISTORY (props changed) vendor/openbsm/dist/LICENSE (props changed) vendor/openbsm/dist/Makefile (props changed) vendor/openbsm/dist/Makefile.am (props changed) vendor/openbsm/dist/Makefile.in (props changed) vendor/openbsm/dist/README (props changed) vendor/openbsm/dist/TODO (props changed) vendor/openbsm/dist/VERSION (props changed) vendor/openbsm/dist/aclocal.m4 (props changed) vendor/openbsm/dist/autogen.sh (props changed) vendor/openbsm/dist/bin/Makefile (props changed) vendor/openbsm/dist/bin/Makefile.am (props changed) vendor/openbsm/dist/bin/Makefile.in (props changed) vendor/openbsm/dist/bin/audit/Makefile (props changed) vendor/openbsm/dist/bin/audit/Makefile.am (props changed) vendor/openbsm/dist/bin/audit/Makefile.in (props changed) vendor/openbsm/dist/bin/audit/audit.8 (props changed) vendor/openbsm/dist/bin/audit/audit.c (props changed) vendor/openbsm/dist/bin/auditd/Makefile (props changed) vendor/openbsm/dist/bin/auditd/Makefile.am (props changed) vendor/openbsm/dist/bin/auditd/Makefile.in (props changed) vendor/openbsm/dist/bin/auditd/audit_warn.c (props changed) vendor/openbsm/dist/bin/auditd/auditd.8 (props changed) vendor/openbsm/dist/bin/auditd/auditd.c (props changed) vendor/openbsm/dist/bin/auditd/auditd.h (props changed) vendor/openbsm/dist/bin/auditfilterd/Makefile.am (props changed) vendor/openbsm/dist/bin/auditfilterd/Makefile.in (props changed) vendor/openbsm/dist/bin/auditfilterd/auditfilterd.8 (props changed) vendor/openbsm/dist/bin/auditfilterd/auditfilterd.c (props changed) vendor/openbsm/dist/bin/auditfilterd/auditfilterd.h (props changed) vendor/openbsm/dist/bin/auditfilterd/auditfilterd_conf.c (props changed) vendor/openbsm/dist/bin/auditreduce/Makefile (props changed) vendor/openbsm/dist/bin/auditreduce/Makefile.am (props changed) vendor/openbsm/dist/bin/auditreduce/Makefile.in (props changed) vendor/openbsm/dist/bin/auditreduce/auditreduce.1 (props changed) vendor/openbsm/dist/bin/auditreduce/auditreduce.c (props changed) vendor/openbsm/dist/bin/auditreduce/auditreduce.h (props changed) vendor/openbsm/dist/bin/praudit/Makefile (props changed) vendor/openbsm/dist/bin/praudit/Makefile.am (props changed) vendor/openbsm/dist/bin/praudit/Makefile.in (props changed) vendor/openbsm/dist/bin/praudit/praudit.1 (props changed) vendor/openbsm/dist/bin/praudit/praudit.c (props changed) vendor/openbsm/dist/bsm/Makefile (props changed) vendor/openbsm/dist/bsm/Makefile.am (props changed) vendor/openbsm/dist/bsm/Makefile.in (props changed) vendor/openbsm/dist/bsm/audit.h (props changed) vendor/openbsm/dist/bsm/audit_filter.h (props changed) vendor/openbsm/dist/bsm/audit_internal.h (props changed) vendor/openbsm/dist/bsm/audit_kevents.h (props changed) vendor/openbsm/dist/bsm/audit_record.h (props changed) vendor/openbsm/dist/bsm/audit_uevents.h (props changed) vendor/openbsm/dist/bsm/libbsm.h (props changed) vendor/openbsm/dist/compat/clock_gettime.h (props changed) vendor/openbsm/dist/compat/endian.h (props changed) vendor/openbsm/dist/compat/queue.h (props changed) vendor/openbsm/dist/compat/strlcat.h (props changed) vendor/openbsm/dist/config/config.guess (props changed) vendor/openbsm/dist/config/config.h.in (props changed) vendor/openbsm/dist/config/config.sub (props changed) vendor/openbsm/dist/config/depcomp (props changed) vendor/openbsm/dist/config/install-sh (props changed) vendor/openbsm/dist/config/ltmain.sh (props changed) vendor/openbsm/dist/config/missing (props changed) vendor/openbsm/dist/configure (props changed) vendor/openbsm/dist/configure.ac (props changed) vendor/openbsm/dist/etc/audit_class (props changed) vendor/openbsm/dist/etc/audit_control (props changed) vendor/openbsm/dist/etc/audit_event (props changed) vendor/openbsm/dist/etc/audit_filter (props changed) vendor/openbsm/dist/etc/audit_user (props changed) vendor/openbsm/dist/etc/audit_warn (props changed) vendor/openbsm/dist/libbsm/Makefile (props changed) vendor/openbsm/dist/libbsm/Makefile.am (props changed) vendor/openbsm/dist/libbsm/Makefile.in (props changed) vendor/openbsm/dist/libbsm/au_class.3 (props changed) vendor/openbsm/dist/libbsm/au_control.3 (props changed) vendor/openbsm/dist/libbsm/au_event.3 (props changed) vendor/openbsm/dist/libbsm/au_free_token.3 (props changed) vendor/openbsm/dist/libbsm/au_io.3 (props changed) vendor/openbsm/dist/libbsm/au_mask.3 (props changed) vendor/openbsm/dist/libbsm/au_open.3 (props changed) vendor/openbsm/dist/libbsm/au_token.3 (props changed) vendor/openbsm/dist/libbsm/au_user.3 (props changed) vendor/openbsm/dist/libbsm/audit_submit.3 (props changed) vendor/openbsm/dist/libbsm/bsm_audit.c (props changed) vendor/openbsm/dist/libbsm/bsm_class.c (props changed) vendor/openbsm/dist/libbsm/bsm_control.c (props changed) vendor/openbsm/dist/libbsm/bsm_event.c (props changed) vendor/openbsm/dist/libbsm/bsm_flags.c (props changed) vendor/openbsm/dist/libbsm/bsm_io.c (props changed) vendor/openbsm/dist/libbsm/bsm_mask.c (props changed) vendor/openbsm/dist/libbsm/bsm_notify.c (props changed) vendor/openbsm/dist/libbsm/bsm_token.c (props changed) vendor/openbsm/dist/libbsm/bsm_user.c (props changed) vendor/openbsm/dist/libbsm/bsm_wrappers.c (props changed) vendor/openbsm/dist/libbsm/libbsm.3 (props changed) vendor/openbsm/dist/man/Makefile (props changed) vendor/openbsm/dist/man/Makefile.am (props changed) vendor/openbsm/dist/man/Makefile.in (props changed) vendor/openbsm/dist/man/audit.2 (props changed) vendor/openbsm/dist/man/audit.log.5 (props changed) vendor/openbsm/dist/man/audit_class.5 (props changed) vendor/openbsm/dist/man/audit_control.5 (props changed) vendor/openbsm/dist/man/audit_event.5 (props changed) vendor/openbsm/dist/man/audit_user.5 (props changed) vendor/openbsm/dist/man/audit_warn.5 (props changed) vendor/openbsm/dist/man/auditctl.2 (props changed) vendor/openbsm/dist/man/auditon.2 (props changed) vendor/openbsm/dist/man/getaudit.2 (props changed) vendor/openbsm/dist/man/getauid.2 (props changed) vendor/openbsm/dist/man/setaudit.2 (props changed) vendor/openbsm/dist/man/setauid.2 (props changed) vendor/openbsm/dist/modules/Makefile.am (props changed) vendor/openbsm/dist/modules/Makefile.in (props changed) vendor/openbsm/dist/modules/auditfilter_noop/Makefile.am (props changed) vendor/openbsm/dist/modules/auditfilter_noop/Makefile.in (props changed) vendor/openbsm/dist/modules/auditfilter_noop/auditfilter_noop.c (props changed) vendor/openbsm/dist/test/Makefile.am (props changed) vendor/openbsm/dist/test/Makefile.in (props changed) vendor/openbsm/dist/test/bsm/Makefile.am (props changed) vendor/openbsm/dist/test/bsm/Makefile.in (props changed) vendor/openbsm/dist/test/bsm/generate.c (props changed) vendor/openbsm/dist/tools/Makefile (props changed) vendor/openbsm/dist/tools/Makefile.am (props changed) vendor/openbsm/dist/tools/Makefile.in (props changed) vendor/openbsm/dist/tools/audump.c (props changed) From owner-svn-src-vendor@FreeBSD.ORG Thu Nov 13 00:04:16 2008 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 291E2106568E; Thu, 13 Nov 2008 00:04:16 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 101388FC1B; Thu, 13 Nov 2008 00:04:16 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mAD04FCb043960; Thu, 13 Nov 2008 00:04:15 GMT (envelope-from rwatson@svn.freebsd.org) Received: (from rwatson@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mAD04FkR043943; Thu, 13 Nov 2008 00:04:15 GMT (envelope-from rwatson@svn.freebsd.org) Message-Id: <200811130004.mAD04FkR043943@svn.freebsd.org> From: Robert Watson Date: Thu, 13 Nov 2008 00:04:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184902 - in vendor/openbsm/dist: . bin bin/audit bin/auditd bin/auditfilterd bin/auditreduce bin/praudit bsm compat config etc libbsm man modules modules/auditfilter_noop sys sys/bsm t... X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2008 00:04:16 -0000 Author: rwatson Date: Thu Nov 13 00:04:15 2008 New Revision: 184902 URL: http://svn.freebsd.org/changeset/base/184902 Log: Vendor import of OpenBSM 1.1 alpha2, which incorporates the following changes since the last imported OpenBSM release: OpenBSM 1.1 alpha 2 - Include files in OpenBSM are now broken out into two parts: library builds required solely for user space, and system includes, which may also be required for use in the kernels of systems integrating OpenBSM. Submitted by Stacey Son. - Configure option --with-native-includes allows forcing the use of native include for system includes, rather than the versions bundled with OpenBSM. This is intended specifically for platforms that ship OpenBSM, have adapted versions of the system includes in a kernel source tree, and will use the OpenBSM build infrastructure with an unmodified OpenBSM distribution, allowing the customized system includes to be used with the OpenBSM build. Submitted by Stacey Son. - Various strcpy()'s/strcat()'s have been changed to strlcpy()'s/strlcat()'s or asprintf(). Added compat/strlcpy.h for Linux. - Remove compatibility defines for old Darwin token constant names; now only BSM token names are provided and used. - Add support for extended header tokens, which contain space for information on the host generating the record. - Add support for setting extended host information in the kernel, which is used for setting host information in extended header tokens. The audit_control file now supports a "host" parameter which can be used by auditd to set the information; if not present, the kernel parameters won't be set and auditd uses unextended headers for records that it generates. OpenBSM 1.1 alpha 1 - Add option to auditreduce(1) which allows users to invert sense of matching, such that BSM records that do not match, are selected. - Fix bug in audit_write() where we commit an incomplete record in the event there is an error writing the subject token. This was submitted by Diego Giagio. - Build support for Mac OS X 10.5.1 submitted by Eric Hall. - Fix a bug which resulted in host XML attributes not beingguments so that const strings can be passed as arguments to tokens. This patch was submitted by Xin LI. - Modify the -m option so users can select more then one audit event. - For Mac OS X, added Mach IPC support for audit trigger messages. - Fixed a bug in getacna() which resulted in a locking problem on Mac OS X. - Added LOG_PERROR flag to openlog when -d option is used with auditd. - AUE events added for Mac OS X Leopard system calls. Obtained from: TrustedBSD Project Sponsored by: Apple Inc. Added: vendor/openbsm/dist/CREDITS vendor/openbsm/dist/INSTALL vendor/openbsm/dist/NEWS vendor/openbsm/dist/bin/auditd/audit_triggers.defs vendor/openbsm/dist/bin/auditd/auditd_control.defs vendor/openbsm/dist/compat/strlcpy.h (contents, props changed) vendor/openbsm/dist/sys/ vendor/openbsm/dist/sys/Makefile.am (contents, props changed) vendor/openbsm/dist/sys/Makefile.in (contents, props changed) vendor/openbsm/dist/sys/bsm/ vendor/openbsm/dist/sys/bsm/Makefile.am (contents, props changed) vendor/openbsm/dist/sys/bsm/Makefile.in (contents, props changed) vendor/openbsm/dist/sys/bsm/audit.h (contents, props changed) vendor/openbsm/dist/sys/bsm/audit_internal.h (contents, props changed) vendor/openbsm/dist/sys/bsm/audit_kevents.h (contents, props changed) vendor/openbsm/dist/sys/bsm/audit_record.h (contents, props changed) Deleted: vendor/openbsm/dist/CHANGELOG vendor/openbsm/dist/HISTORY vendor/openbsm/dist/Makefile vendor/openbsm/dist/bin/Makefile vendor/openbsm/dist/bin/audit/Makefile vendor/openbsm/dist/bin/auditd/Makefile vendor/openbsm/dist/bin/auditreduce/Makefile vendor/openbsm/dist/bin/praudit/Makefile vendor/openbsm/dist/bsm/Makefile vendor/openbsm/dist/bsm/audit.h vendor/openbsm/dist/bsm/audit_internal.h vendor/openbsm/dist/bsm/audit_kevents.h vendor/openbsm/dist/bsm/audit_record.h vendor/openbsm/dist/libbsm/Makefile vendor/openbsm/dist/man/Makefile vendor/openbsm/dist/test/reference/process32ex_record vendor/openbsm/dist/test/reference/process32ex_token vendor/openbsm/dist/tools/Makefile Modified: vendor/openbsm/dist/LICENSE vendor/openbsm/dist/Makefile.am vendor/openbsm/dist/Makefile.in vendor/openbsm/dist/README vendor/openbsm/dist/TODO vendor/openbsm/dist/VERSION vendor/openbsm/dist/bin/Makefile.in vendor/openbsm/dist/bin/audit/Makefile.am vendor/openbsm/dist/bin/audit/Makefile.in vendor/openbsm/dist/bin/audit/audit.8 vendor/openbsm/dist/bin/audit/audit.c vendor/openbsm/dist/bin/auditd/Makefile.am vendor/openbsm/dist/bin/auditd/Makefile.in vendor/openbsm/dist/bin/auditd/audit_warn.c vendor/openbsm/dist/bin/auditd/auditd.8 vendor/openbsm/dist/bin/auditd/auditd.c vendor/openbsm/dist/bin/auditd/auditd.h vendor/openbsm/dist/bin/auditfilterd/Makefile.am vendor/openbsm/dist/bin/auditfilterd/Makefile.in vendor/openbsm/dist/bin/auditfilterd/auditfilterd.c vendor/openbsm/dist/bin/auditreduce/Makefile.am vendor/openbsm/dist/bin/auditreduce/Makefile.in vendor/openbsm/dist/bin/auditreduce/auditreduce.1 vendor/openbsm/dist/bin/auditreduce/auditreduce.c vendor/openbsm/dist/bin/auditreduce/auditreduce.h vendor/openbsm/dist/bin/praudit/Makefile.am vendor/openbsm/dist/bin/praudit/Makefile.in vendor/openbsm/dist/bin/praudit/praudit.1 vendor/openbsm/dist/bin/praudit/praudit.c vendor/openbsm/dist/bsm/Makefile.am vendor/openbsm/dist/bsm/Makefile.in vendor/openbsm/dist/bsm/audit_uevents.h vendor/openbsm/dist/bsm/libbsm.h vendor/openbsm/dist/compat/clock_gettime.h vendor/openbsm/dist/compat/strlcat.h vendor/openbsm/dist/config/config.h.in vendor/openbsm/dist/configure vendor/openbsm/dist/configure.ac vendor/openbsm/dist/etc/audit_event vendor/openbsm/dist/libbsm/Makefile.am vendor/openbsm/dist/libbsm/Makefile.in vendor/openbsm/dist/libbsm/au_class.3 vendor/openbsm/dist/libbsm/au_free_token.3 vendor/openbsm/dist/libbsm/au_token.3 vendor/openbsm/dist/libbsm/audit_submit.3 vendor/openbsm/dist/libbsm/bsm_audit.c vendor/openbsm/dist/libbsm/bsm_class.c vendor/openbsm/dist/libbsm/bsm_control.c vendor/openbsm/dist/libbsm/bsm_event.c vendor/openbsm/dist/libbsm/bsm_flags.c vendor/openbsm/dist/libbsm/bsm_io.c vendor/openbsm/dist/libbsm/bsm_mask.c vendor/openbsm/dist/libbsm/bsm_notify.c vendor/openbsm/dist/libbsm/bsm_token.c vendor/openbsm/dist/libbsm/bsm_user.c vendor/openbsm/dist/libbsm/bsm_wrappers.c vendor/openbsm/dist/man/Makefile.in vendor/openbsm/dist/man/audit.2 vendor/openbsm/dist/man/audit.log.5 vendor/openbsm/dist/man/audit_class.5 vendor/openbsm/dist/man/audit_control.5 vendor/openbsm/dist/man/audit_event.5 vendor/openbsm/dist/man/audit_user.5 vendor/openbsm/dist/man/audit_warn.5 vendor/openbsm/dist/man/auditctl.2 vendor/openbsm/dist/man/auditon.2 vendor/openbsm/dist/man/getaudit.2 vendor/openbsm/dist/man/getauid.2 vendor/openbsm/dist/man/setaudit.2 vendor/openbsm/dist/man/setauid.2 vendor/openbsm/dist/modules/Makefile.in vendor/openbsm/dist/modules/auditfilter_noop/Makefile.am vendor/openbsm/dist/modules/auditfilter_noop/Makefile.in vendor/openbsm/dist/modules/auditfilter_noop/auditfilter_noop.c vendor/openbsm/dist/test/Makefile.am vendor/openbsm/dist/test/Makefile.in vendor/openbsm/dist/test/bsm/Makefile.am vendor/openbsm/dist/test/bsm/Makefile.in vendor/openbsm/dist/tools/Makefile.am vendor/openbsm/dist/tools/Makefile.in Added: vendor/openbsm/dist/CREDITS ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/openbsm/dist/CREDITS Thu Nov 13 00:04:15 2008 (r184902) @@ -0,0 +1,33 @@ +OpenBSM Credits + +The following organizations and individuals have contributed substantially to +the development of OpenBSM: + + Apple Inc. + McAfee Research, McAfee, Inc. + SPARTA, Inc. + Robert Watson + Wayne Salamon + Suresh Krishnaswamy + Kevin Van Vechten + Tom Rhodes + Wojciech Koszek + Chunyang Yuan + Poul-Henning Kamp + Christian Brueffer + Olivier Houchard + Christian Peron + Martin Fong + Pawel Worach + Martin Englund + Ruslan Ermilov + Martin Voros + Diego Giagio + Alex Samorukov + Eric Hall + Xin LI + Stacey Son + +In addition, Coverity, Inc.'s Prevent(tm) static analysis tool and Gimpel +Software's FlexeLint tool were used to identify a number of bugs in the +OpenBSM implementation. Added: vendor/openbsm/dist/INSTALL ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/openbsm/dist/INSTALL Thu Nov 13 00:04:15 2008 (r184902) @@ -0,0 +1,29 @@ +OpenBSM Build and Installation Instructions + +OpenBSM is currently built using autoconf and automake, which should allow +for building on a range of operating systems, including FreeBSD, Mac OS X, +and Linux. Depending on the availability of audit facilities in the +underlying operating system, some components that depend on kernel audit +support are built conditionally. Typically, build will be performed using: + + ./configure + make + +To install, use: + + make install + +You may wish to specify that the OpenBSM components not be installed in the +base system, rather in a specific directory. This may be done using the +--prefix argument to configure. If installing to a specific directory, +remember to update your library path so that running tools from that +directory the correct libbsm is used: + + ./configure --prefix=/home/rwatson/openbsm + make + make install + LD_LIBRARY_PATH=/home/rwatson/openbsm/libbsm ; export LD_LIBRARY_PATH + +You will need to manually propagate openbsm/etc/* into /etc/security on your +system; this is not done automatically so as to avoid disrupting the current +configuration. Currently, the locations of these files is not configurable. Modified: vendor/openbsm/dist/LICENSE ============================================================================== --- vendor/openbsm/dist/LICENSE Wed Nov 12 23:53:56 2008 (r184901) +++ vendor/openbsm/dist/LICENSE Thu Nov 13 00:04:15 2008 (r184902) @@ -1,3 +1,5 @@ +OpenBSM Copyrights and Licensing + OpenBSM is covered by a number of copyrights, with licenses being either two or three clause BSD licenses. Individual file headers should be consulted for specific copyrights on specific components. The TrustedBSD Project would @@ -30,4 +32,4 @@ substantially similar licenses: * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. -$P4: //depot/projects/trustedbsd/openbsm/LICENSE#4 $ +$P4: //depot/projects/trustedbsd/openbsm/LICENSE#5 $ Modified: vendor/openbsm/dist/Makefile.am ============================================================================== --- vendor/openbsm/dist/Makefile.am Wed Nov 12 23:53:56 2008 (r184901) +++ vendor/openbsm/dist/Makefile.am Thu Nov 13 00:04:15 2008 (r184902) @@ -1,5 +1,5 @@ # -# $P4: //depot/projects/trustedbsd/openbsm/Makefile.am#2 $ +# $P4: //depot/projects/trustedbsd/openbsm/Makefile.am#3 $ # SUBDIRS = \ @@ -7,7 +7,8 @@ SUBDIRS = \ libbsm \ bin \ man \ - modules + modules \ + sys EXTRA_DIST = \ CHANGELOG \ Modified: vendor/openbsm/dist/Makefile.in ============================================================================== --- vendor/openbsm/dist/Makefile.in Wed Nov 12 23:53:56 2008 (r184901) +++ vendor/openbsm/dist/Makefile.in Thu Nov 13 00:04:15 2008 (r184902) @@ -15,7 +15,7 @@ @SET_MAKE@ # -# $P4: //depot/projects/trustedbsd/openbsm/Makefile.in#5 $ +# $P4: //depot/projects/trustedbsd/openbsm/Makefile.in#8 $ # VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ @@ -38,7 +38,7 @@ host_triplet = @host@ subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(top_srcdir)/config/config.h.in \ - $(top_srcdir)/configure TODO config/config.guess \ + $(top_srcdir)/configure INSTALL NEWS TODO config/config.guess \ config/config.sub config/depcomp config/install-sh \ config/ltmain.sh config/missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 @@ -116,6 +116,7 @@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MIG = @MIG@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ @@ -187,7 +188,8 @@ SUBDIRS = \ libbsm \ bin \ man \ - modules + modules \ + sys EXTRA_DIST = \ CHANGELOG \ Added: vendor/openbsm/dist/NEWS ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/openbsm/dist/NEWS Thu Nov 13 00:04:15 2008 (r184902) @@ -0,0 +1,351 @@ +OpenBSM Version History + +OpenBSM 1.1 alpha 2 + +- Include files in OpenBSM are now broken out into two parts: library builds + required solely for user space, and system includes, which may also be + required for use in the kernels of systems integrating OpenBSM. Submitted + by Stacey Son. +- Configure option --with-native-includes allows forcing the use of native + include for system includes, rather than the versions bundled with OpenBSM. + This is intended specifically for platforms that ship OpenBSM, have adapted + versions of the system includes in a kernel source tree, and will use the + OpenBSM build infrastructure with an unmodified OpenBSM distribution, + allowing the customized system includes to be used with the OpenBSM build. + Submitted by Stacey Son. +- Various strcpy()'s/strcat()'s have been changed to strlcpy()'s/strlcat()'s + or asprintf(). Added compat/strlcpy.h for Linux. +- Remove compatibility defines for old Darwin token constant names; now only + BSM token names are provided and used. +- Add support for extended header tokens, which contain space for information + on the host generating the record. +- Add support for setting extended host information in the kernel, which is + used for setting host information in extended header tokens. The + audit_control file now supports a "host" parameter which can be used by + auditd to set the information; if not present, the kernel parameters won't + be set and auditd uses unextended headers for records that it generates. + +OpenBSM 1.1 alpha 1 + +- Add option to auditreduce(1) which allows users to invert sense of + matching, such that BSM records that do not match, are selected. +- Fix bug in audit_write() where we commit an incomplete record in the + event there is an error writing the subject token. This was submitted + by Diego Giagio. +- Build support for Mac OS X 10.5.1 submitted by Eric Hall. +- Fix a bug which resulted in host XML attributes not being printed + while processing extended header tokens. This patch was submitted by + Martin Voros. +- Constification of function arguments so that const strings can be passed + as arguments to tokens. This patch was submitted by Xin LI. +- Modify the -m option so users can select more then one audit event. +- For Mac OS X, added Mach IPC support for audit trigger messages. +- Fixed a bug in getacna() which resulted in a locking problem on Mac OS X. +- Added LOG_PERROR flag to openlog when -d option is used with auditd. +- AUE events added for Mac OS X Leopard system calls. + +OpenBSM 1.0 + +- Fix bug in auditreduce(1) which resulted in a memory fault/crash when + the user specified an event name with -m. +- Remove AU_.* hard-coded audit class constants, as audit classes are now + entirely dynamically configured using /etc/security/audit_class. + +OpenBSM 1.0 alpha 15 + +- Fix bug when processing in_addr_ex tokens. +- Restore the behavior of printing the string/text specified while + auditing arg32 tokens. +- Synchronized audit event list to Solaris, picking up the *at(2) system call + definitions, now required for FreeBSD and Linux. Added additional events + for *at(2) system calls not present in Solaris. +- Bugs in auditreduce(1) fixed allowing partial date strings to be used in + filtering events. + +OpenBSM 1.0 alpha 14 + +- Fix endian issues when processing IPv6 addresses for extended subject + and process tokens. +- gcc41 warnings clean. +- Teach audit_submit(3) about getaudit_addr(2). +- Add support for zonename tokens. + +OpenBSM 1.0 alpha 13 + +- compat/clock_gettime.h now provides a compatibility implementation of + clock_gettime(), which fixes building on Mac OS X. +- Countless man page improvements, markup fixes, content fixs, etc. +- XML printing support via "praudit -x". +- audit.log.5 expanded to include additional BSM token types. +- Added encoding and decoding routines for process64_ex, process32_ex, + subject32_ex, header64, and attr64 tokens. +- Additional audit event identifiers for listen, mlockall/munlockall, + getpath, POSIX message queues, and mandatory access control. + +OpenBSM 1.0 alpha 12 + +- Correct bug in auditreduce which prevented the -c option from working + correctly when the user specifies to process successful or failed events. + The problem stemmed from not having access to the return token at the time + the initial preselection occurred, but now a second preselection process + occurs while processing the return token. +- getacfilesz(3) API added to read new audit_control(5) filesz setting, + which auditd(8) now sets the kernel audit trail rotation size to. +- auditreduce(1) now uses stdin if no file names are specified on the command + line; this was the documented behavior previously, but it was not + implemented. Be more specific in auditreduce(1)'s examples section about + what might be done with the output of auditreduce. +- Add audit_warn(5) closefile event so that administrators can hook + termination of an audit trail file. For example, this might be used to + compress the trail file after it is closed. +- auditreduce(1) now uses regular expressions for pathname matching. Users can + now supply one or more (comma delimited) regular expressions for searching + the pathnames. If one of the regular expressions is prefixed with a tilde + (~), and a path matches, it will be excluded from the search results. + +OpenBSM 1.0 alpha 11 + +- Reclassify certain read/write operations as having no class rather than the + fr/fw class; our default classes audit intent (open) not operations (read, + write). +- Introduce AUE_SYSCTL_WRITE event so that BSD/Darwin systems can audit reads + and writes of sysctls as separate events. Add additional kernel + environment and jail events for FreeBSD. +- Break AUDIT_TRIGGER_OPEN_NEW into two events, AUDIT_TRIGGER_ROTATE_USER + (issued by the user audit(8) tool) and AUDIT_TRIGGER_ROTATE_KERNEL (issued + by the kernel audit implementation) so that they can be distinguished. +- Disable rate limiting of rotate requests; as the kernel doesn't retransmit + a dropped request, the log file will otherwise grow indefinitely if the + trigger is dropped. +- Improve auditd debugging output. +- Fix a number of threading related bugs in audit_control file reading + routines. +- Add APIs au_poltostr() and au_strtopol() to convert between text + representations of audit_control policy flags and the flags passed to + auditon(A_SETPOLICY) and retrieved from auditon(A_GETPOLICY). +- Add API getacpol() to return the 'policy:' entry from audit_control, an + extension to the Solaris file format to allow specification of policy + persistent flags. +- Update audump to print the audit_control policy field. +- Update auditd to read the audit_control policy field and set the kernel + policy to match it when configuring/reconfiguring. Remove the -s and -h + arguments as these policies are now set via the configuration file. If a + policy line is not found in the configuration file, continue with the + current default of setting AUDIT_CNT. +- Fix bugs in the parsing of large execve(2) arguments and environmental + variable tokens; increase maximum parsed argument and variable count. +- configure now detects strlcat(), used by policy-related functions. +- Reference token and record sample files added to test tree. + +OpenBSM 1.0 alpha 10 + +- auditd now generates complete audit records for its events, as required for + application-submitted audit records in the FreeBSD kernel audit + implementation. + +OpenBSM 1.0 alpha 9 + +- Rename many OpenBSM-specific constants and API elements containing the + strings "BSM" and "bsm" to "AUDIT" and "audit", observing that this is true + for almost all existing constants and APIs. +- Instead of passing a per-instance cookie directly into all audit filter + APIs, pass in the audit filter daemon state pointer, which is then used by + the module using an audit_filter_{get,set}cookie() API. This will allow + future service APIs provided by the filter daemon to maintain their own + state -- for example, per-module preselection state. + +OpenBSM 1.0 alpha 8 + +- Correct typo in definition of AUR_INT. +- Adopt OpenSolaris constant values for AUDIT_* configuration flags. +- Arguments to au_to_exec_args() and au_to_exec_env() no longer const. +- Add kernel versions of au_to_exec_args() and au_to_exec_env(). +- Fix exec argument type that is printed for env strings from 'arg' to 'env'. +- New OpenBSM token version number assigned, constants added for other + commonly seen version numbers. +- OpenBSM-specific events assigned numbers in the 43xxx range to avoid future + collisions with Solaris. Darwin events renamed to AUE_DARWIN_foo, as they + are now deprecated numberings. +- autoconf now detects clock_gettime(), which is not available on Darwin. +- praudit output fixes relating to arg32 and arg64 tokens. +- Maximum record size updated to 64k-1 to match Solaris record size limit. +- Various style and comment cleanups in include files. + +OpenBSM 1.0 alpha 7 + +- Adopted Solaris-compatible format for subject32_ex and subject64_ex + tokens, which previously did not correctly implement variable length + address storage. +- Prefer inttypes.h to stdint.h; enhance queue.h detection to test for + TAILQ_FOREACH_SAFE(), which is present in recent BSD queue.h's, but not + older ones. OpenBSM now builds on some FreeBSD 4.x versions. +- New event types for extended attributes, ACLs, and scheduling. + +OpenBSM 1.0 alpha 6 + +- Use AU_TO_WRITE and AU_NO_TO_WRITE for the 'keep' argument to au_close(); + previously we used hard-coded 0 and 1 values. +- Add man page for au_open(), au_write(), au_close(), and + au_close_buffer(). +- Support a more complete range of data types for the arbitrary data token: + add AUR_CHAR (alias to AUR_BYTE), remove AUR_LONG, add AUR_INT32 (alias + to AUR_INT), add AUR_INT64. +- Add au_close_token(), which allows writing a single token_t to a memory + buffer. Not likely to be used much by applications, but useful for + writing test tools. +- Modify au_to_file() so that it accepts a timeval in user space, not just + kernel -- this is not a Solaris BSM API so can be modified without + causing compatibility issues. +- Define a new API, au_to_header32_tm(), which adds a struct timeval + argument to the ordinary au_to_header32(), which is now implemented by + wrapping au_to_header32_tm() and calling gettimeofday(). #ifndef KERNEL + the APIs that invoke gettimeofday(), rather than having a variable + definition. Don't try to retrieve time zone information using + gettimeofday(), as it's not needed, and introduces possible failure + modes. +- Don't perform byte order transformations on the addr/machine fields of + the terminal ID that appears in the process32/subject32 tokens. These + are assumed to be IP addresses, and as such, to be in network byte + order. +- Universally, APIs now assume that IP addresses and ports are provided + in network byte order. APIs now generally provide these types in + network byte order when decoding. +- Beginnings of an OpenBSM test framework can now be found in openbsm/test. + This code is not built or installed by default. +- auditd now assigns more appropriate syslog levels to its debugging and + error information. +- Support for audit filters introduced: audit filters are dynamically + loaded shared objects that run in the context of a new daemon, + auditfilterd. The daemon reads from an audit pipe and feeds both BSM and + parsed versions of records to shared objects using a module API. This + will provide a framework for the writing of intrusion detection services. +- New utility API, audit_submit(), added to capture common elements of audit + record submission for many applications. + +OpenBSM 1.0 alpha 5 + +- Update install notes to indicate /etc files are to be installed manually. +- On systems without LOG_SECURITY, use LOG_AUTH. +- Convert to autoconf/automake in order to move to a more portable (not + BSD-specific) build infrastructure, and more easy conditional building of + components. Currently, the primary feature loss is that automake does + not have native support for manual symlinks. This will be addressed in a + future OpenBSM release. +- Add compat/queue.h, to be used on systems dated BSD queue macro libraries + (as found on Linux). +- Rename CHANGELOG to HISTORY, as our change log doesn't follow some of the + existing conventions for a CHANGELOG. +- Some private data structures moved from audit.h to audit_internal.h to + prevent inappropriate use by applications and name space pollution. +- Improved detection and use of endian macros using autoconf. +- Avoid non-portable use of struct in6_addr, which is largely opaque. +- Avoid leaking BSD kernel socket related token code to user space in + bsm_token.c. +- Teach System V IPC calls to look for Linux naming variations for certain + struct ipc_perm fields. +- Test for audit system calls, and if not present, don't build + bsm_wrappers.c, bsm_notify.c, audit(8), and auditd(8), which rely on + those system calls. +- au_close() is not implemented on systems that don't have audit system + calls, but au_close_buffer() is. +- Work around missing BSDisms in bsm_wrapper.c. +- Fix nested includes so including libbsm.h in an application on Linux + picks up the necessary definitions. + +OpenBSM 1.0 alpha 4 + +- Remove "audit" user example from audit_user, as it's not present on most + systems. +- Add cannot_audit() function non-Darwin systems that wraps auditon(); + required by OpenSSH BSM support. Convert Darwin cannot_audit() into a + function rather than a macro. +- Library build fixed on Darwin following include file tweaks. The native + Darwin sys/audit.h conflicts with bsm/audit.h due to duplicate types, so + for now we force bsm_wrappers.c to not perform a nested include of + sys/audit.h. + +OpenBSM 1.0 alpha 3 + +- Man page formatting, cross reference, mlinks, and accuracy improvements. +- auditd and tools now compile and run on FreeBSD/arm. +- auditd will now fchown() the trail file to the audit review group, if + defined at compile-time. +- Added AUE_SYSARCH for FreeBSD. +- Definition of AUE_SETFSGID fixed for Linux. + +OpenBSM 1.0 alpha 2 + +- Man page formatting improvements. +- A number of new audit event identifiers for FreeBSD, Linux, and POSIX.1b + events. +- Remove 'tfm' class, unused in OpenBSM. + +OpenBSM 1.0 alpha 1 + +- Import of Darwin74 BSM drop +- Use 'syslog' for audit log warnings, rather than echoing to a file in + audit_warn. +- Compile using BSD make infrastructure. +- Integrate bsm/ include files from Darwin74 XNU drop into OpenBSM. +- Narrow set of symbols and defines that are exposed in user space: don't + compile in code relying on kernel-only types such as 'struct socket'. +- Add README, including basic build documentation. +- Compilation of Apple-specific notify and Machroutines now #ifdef __APPLE__. +- Staticize libbsm global variables to avoid leakage into applications. +- Add free_au_user_ent() so that au_user_ent's don't have to be leaked. +- Clean up bogus nul-termination checks in libbsm. +- Add libbsm API man pages: au_class.3 au_control.3 au_event.3 + au_free_token.3 au_io.3 au_mask.3 au_token.3 au_user.3 libbsm.3. +- Add man pages for BSM system calls: audit.2 auditctl.2 auditon.2 getaudit.2 + getauid.2 setaudit.2 setauid.2 +- Modify various libbsm interfaces to more consistently return 'errno' values + on failure. +- Break out au_close() into constituent parts, allowing records to be written + to memory as well as files. +- Prefix various defines with 'BSM_' to reduce name space pollution. +- Added audit_internal.h, which can be used by a kernel audit implementation + wanting to rely on libbsm components. +- Build with warnings, and eliminate warnings. +- Make libbsm endian-independent, storing and reading BSM are big endian + (network byte order) rather than native byte order. More consistently + print IP addresses using the IP address print routine. These changes + make use of sys/endian.h from *BSD; since this isn't present on Darwin, + add it to OpenBSM as compat/endian.h, which is used only on Darwin. +- Import of Darwin80 BSM drop, including 64-bit file IDs, better + documentation of private APIs, and bug fixes. +- White space cleanup. +- Add audit.log.5, a first cut at a man page documenting the BSM file format. +- Teach au_read_rec() to recognize stand-alone file tokens, which are present + at the beginning and end of Solaris audit trails. Technically, these + appear to violate the high level BSM spec, which suggests that all tokens + are present in records, but need to be supported. +- Implement HEADER64, ATTR64, SUBJECT64 token types, which make it possible + to run praudit(1) on basic Solaris BSM streams. +- Switched to Solaris spelling of token names; Darwin spellings are now + deprecated and will be removed in a future version of OpenBSM. +- Adopt Solaris model for representing IPv4 and IPv6 addresses. +- Prefer C99 types. +- Attempt to universally adopt the BSD style(9) coding style for + consistency. +- auditreduce(1) now has a usage message. +- Update support for auditctl(2) system call to support FreeBSD. +- Add support for /dev/audit as the trigger source on FreeBSD. +- Add additional event types for Darwin, FreeBSD, and Solaris. Annotate + conflicts (there are a few, unfortunately). Correct spellings, comment, + sort, etc. These include {get,set}res[ug]id(), sendfile(), lchflags(), + eaccess(), kqueue(), kevent(), poll(), lchmod(). +- Relicensed under a BSD license, many thanks to Apple, Inc! +- Many bug fixes, cleanups, thread safety in the class, control, event, + and user system audit databases. Annotate some persisting atomicity + bugs associated with the API and implementation. +- Add audump test tool. +- Adopt OpenSolaris BSM API memory semantics: caller allocates memory, + or static memory is returned for non-_r() versions of API calls. + _free() calls dropped as a result, and source code compatibility with + OpenSolaris improved significantly. +- Annotate BSM events with origin OS and compatibility information. +- auditd(8), audit(8) added to the OpenBSM distribution. auditd extended + to support reloading of kernel event table. +- Allow comments in /etc/security configuration files. + +$P4: //depot/projects/trustedbsd/openbsm/NEWS#9 $ Modified: vendor/openbsm/dist/README ============================================================================== --- vendor/openbsm/dist/README Wed Nov 12 23:53:56 2008 (r184901) +++ vendor/openbsm/dist/README Thu Nov 13 00:04:15 2008 (r184902) @@ -1,4 +1,4 @@ -OpenBSM 1.0 +OpenBSM 1.1 alpha 1 Introduction @@ -16,12 +16,13 @@ may be found in the FreeBSD and Mac OS X OpenBSM consists of several directories: bin/ Audit-related command line tools - bsm/ System include files for BSM + bsm/ Library include files for BSM compat/ Compatibility code to build on various OS's etc/ Sample /etc/security configuration files libbsm/ Implementation of BSM library interfaces and man pages man/ System call and configuration file man pages modules/ Directory for auditfilterd module source + sys/ System include files for BSM test/ Test token sets and geneneration program tools/ Tool directory, including audump to dump databases @@ -34,66 +35,9 @@ The following programs are included with audump Debugging tool to parse and print audit databases praudit Tool to print audit trails - Building + Build and Installation -OpenBSM is currently built using autoconf and automake, which should allow -for building on a range of operating systems, including FreeBSD, Mac OS X, -and Linux. Depending on the availability of audit facilities in the -underlying operating system, some components that depend on kernel audit -support are built conditionally. Typically, build will be performed using: - - ./configure - make - -To install, use: - - make install - -You may wish to specify that the OpenBSM components not be installed in the -base system, rather in a specific directory. This may be done using the ---prefix argument to configure. If installing to a specific directory, -remember to update your library path so that running tools from that -directory the correct libbsm is used: - - ./configure --prefix=/home/rwatson/openbsm - make - make install - LD_LIBRARY_PATH=/home/rwatson/openbsm/libbsm ; export LD_LIBRARY_PATH - -You will need to manually propagate openbsm/etc/* into /etc on your system; -this is not done automatically so as to avoid disrupting the current -configuration. Currently, the locations of these files is not configurable. - - Credits - -The following organizations and individuals have contributed substantially to -the development of OpenBSM: - - Apple Computer, Inc. - McAfee Research, McAfee, Inc. - SPARTA, Inc. - Robert Watson - Wayne Salamon - Suresh Krishnaswamy - Kevin Van Vechten - Tom Rhodes - Wojciech Koszek - Chunyang Yuan - Poul-Henning Kamp - Christian Brueffer - Olivier Houchard - Christian Peron - Martin Fong - Pawel Worach - Martin Englund - Ruslan Ermilov - Martin Voros - Diego Giagio - Alex Samorukov - -In addition, Coverity, Inc.'s Prevent(tm) static analysis tool and Gimpel -Software's FlexeLint tool were used to identify a number of bugs in the -OpenBSM implementation. +Please see the file INSTALL for build and installation instructions. Contributions @@ -111,4 +55,4 @@ Information on TrustedBSD may be found o http://www.TrustedBSD.org/ -$P4: //depot/projects/trustedbsd/openbsm/README#24 $ +$P4: //depot/projects/trustedbsd/openbsm/README#32 $ Modified: vendor/openbsm/dist/TODO ============================================================================== --- vendor/openbsm/dist/TODO Wed Nov 12 23:53:56 2008 (r184901) +++ vendor/openbsm/dist/TODO Thu Nov 13 00:04:15 2008 (r184902) @@ -1,5 +1,5 @@ -- Teach libbsm about any additional 64-bit token types that are present - in more recent Solaris versions. +OpenBSM TODO + - Build a regression test suite for libbsm that generates each token type and then compares the results with known good data. Make sure to test that things work properly with respect to endianness of the local @@ -18,5 +18,7 @@ trailer context. - Put hostname in trail file name. - Document audit_warn event arguments. +- Allow the path /etc/security to be configured at configure-time so that + alternative locations can be used. -$P4: //depot/projects/trustedbsd/openbsm/TODO#9 $ +$P4: //depot/projects/trustedbsd/openbsm/TODO#11 $ Modified: vendor/openbsm/dist/VERSION ============================================================================== --- vendor/openbsm/dist/VERSION Wed Nov 12 23:53:56 2008 (r184901) +++ vendor/openbsm/dist/VERSION Thu Nov 13 00:04:15 2008 (r184902) @@ -1 +1 @@ -OPENBSM_1_0 +OPENBSM_1_1_ALPHA_2 Modified: vendor/openbsm/dist/bin/Makefile.in ============================================================================== --- vendor/openbsm/dist/bin/Makefile.in Wed Nov 12 23:53:56 2008 (r184901) +++ vendor/openbsm/dist/bin/Makefile.in Thu Nov 13 00:04:15 2008 (r184902) @@ -15,7 +15,7 @@ @SET_MAKE@ # -# $P4: //depot/projects/trustedbsd/openbsm/bin/Makefile.in#5 $ +# $P4: //depot/projects/trustedbsd/openbsm/bin/Makefile.in#8 $ # VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ @@ -104,6 +104,7 @@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MIG = @MIG@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ Modified: vendor/openbsm/dist/bin/audit/Makefile.am ============================================================================== --- vendor/openbsm/dist/bin/audit/Makefile.am Wed Nov 12 23:53:56 2008 (r184901) +++ vendor/openbsm/dist/bin/audit/Makefile.am Thu Nov 13 00:04:15 2008 (r184902) @@ -1,10 +1,23 @@ # -# $P4: //depot/projects/trustedbsd/openbsm/bin/audit/Makefile.am#1 $ +# $P4: //depot/projects/trustedbsd/openbsm/bin/audit/Makefile.am#4 $ # -INCLUDES = -I$(top_srcdir) +if USE_NATIVE_INCLUDES +INCLUDES = -I$(top_builddir) -I$(top_srcdir) +else +INCLUDES = -I$(top_builddir) -I$(top_srcdir) -I$(top_srcdir)/sys +endif sbin_PROGRAMS = audit -audit_SOURCES = audit.c audit_LDADD = $(top_builddir)/libbsm/libbsm.la man8_MANS = audit.8 + +if USE_MACH_IPC +audit_SOURCES = auditd_control_user.c audit.c +CLEANFILES = auditd_control_user.c auditd_control_user.h + +auditd_control_user.c: $(top_srcdir)/bin/auditd/auditd_control.defs + $(MIG) -user auditd_control_user.c -header auditd_control_user.h -server /dev/null -sheader /dev/null $(top_srcdir)/bin/auditd/auditd_control.defs +else +audit_SOURCES = audit.c +endif Modified: vendor/openbsm/dist/bin/audit/Makefile.in ============================================================================== --- vendor/openbsm/dist/bin/audit/Makefile.in Wed Nov 12 23:53:56 2008 (r184901) +++ vendor/openbsm/dist/bin/audit/Makefile.in Thu Nov 13 00:04:15 2008 (r184902) @@ -15,7 +15,7 @@ @SET_MAKE@ # -# $P4: //depot/projects/trustedbsd/openbsm/bin/audit/Makefile.in#4 $ +# $P4: //depot/projects/trustedbsd/openbsm/bin/audit/Makefile.in#9 $ # VPATH = @srcdir@ @@ -49,7 +49,10 @@ CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)" sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(sbin_PROGRAMS) -am_audit_OBJECTS = audit.$(OBJEXT) +am__audit_SOURCES_DIST = audit.c auditd_control_user.c +@USE_MACH_IPC_FALSE@am_audit_OBJECTS = audit.$(OBJEXT) +@USE_MACH_IPC_TRUE@am_audit_OBJECTS = auditd_control_user.$(OBJEXT) \ +@USE_MACH_IPC_TRUE@ audit.$(OBJEXT) audit_OBJECTS = $(am_audit_OBJECTS) audit_DEPENDENCIES = $(top_builddir)/libbsm/libbsm.la DEFAULT_INCLUDES = -I. -I$(top_builddir)/config@am__isrc@ @@ -65,7 +68,7 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLF --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(audit_SOURCES) -DIST_SOURCES = $(audit_SOURCES) +DIST_SOURCES = $(am__audit_SOURCES_DIST) man8dir = $(mandir)/man8 NROFF = nroff MANS = $(man8_MANS) @@ -113,6 +116,7 @@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MIG = @MIG@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ @@ -179,10 +183,13 @@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -INCLUDES = -I$(top_srcdir) -audit_SOURCES = audit.c +@USE_NATIVE_INCLUDES_FALSE@INCLUDES = -I$(top_builddir) -I$(top_srcdir) -I$(top_srcdir)/sys +@USE_NATIVE_INCLUDES_TRUE@INCLUDES = -I$(top_builddir) -I$(top_srcdir) audit_LDADD = $(top_builddir)/libbsm/libbsm.la man8_MANS = audit.8 +@USE_MACH_IPC_FALSE@audit_SOURCES = audit.c +@USE_MACH_IPC_TRUE@audit_SOURCES = auditd_control_user.c audit.c +@USE_MACH_IPC_TRUE@CLEANFILES = auditd_control_user.c auditd_control_user.h all: all-am .SUFFIXES: @@ -255,6 +262,7 @@ distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/audit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/auditd_control_user.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @@ -426,6 +434,7 @@ install-strip: mostlyclean-generic: clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) @@ -511,6 +520,9 @@ uninstall-man: uninstall-man8 tags uninstall uninstall-am uninstall-man uninstall-man8 \ uninstall-sbinPROGRAMS + +@USE_MACH_IPC_TRUE@auditd_control_user.c: $(top_srcdir)/bin/auditd/auditd_control.defs +@USE_MACH_IPC_TRUE@ $(MIG) -user auditd_control_user.c -header auditd_control_user.h -server /dev/null -sheader /dev/null $(top_srcdir)/bin/auditd/auditd_control.defs # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: Modified: vendor/openbsm/dist/bin/audit/audit.8 ============================================================================== --- vendor/openbsm/dist/bin/audit/audit.8 Wed Nov 12 23:53:56 2008 (r184901) +++ vendor/openbsm/dist/bin/audit/audit.8 Thu Nov 13 00:04:15 2008 (r184902) @@ -1,4 +1,4 @@ -.\" Copyright (c) 2004 Apple Computer, Inc. +.\" Copyright (c) 2004 Apple Inc. .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without @@ -10,7 +10,7 @@ .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of +.\" 3. Neither the name of Apple Inc. ("Apple") nor the names of .\" its contributors may be used to endorse or promote products derived .\" from this software without specific prior written permission. .\" @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $P4: //depot/projects/trustedbsd/openbsm/bin/audit/audit.8#10 $ +.\" $P4: //depot/projects/trustedbsd/openbsm/bin/audit/audit.8#11 $ .\" .Dd October 2, 2006 .Dt AUDIT 8 Modified: vendor/openbsm/dist/bin/audit/audit.c ============================================================================== --- vendor/openbsm/dist/bin/audit/audit.c Wed Nov 12 23:53:56 2008 (r184901) +++ vendor/openbsm/dist/bin/audit/audit.c Thu Nov 13 00:04:15 2008 (r184902) @@ -1,5 +1,5 @@ -/* - * Copyright (c) 2005 Apple Computer, Inc. +/*- + * Copyright (c) 2005-2008 Apple Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -11,7 +11,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of + * 3. Neither the name of Apple Inc. ("Apple") nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * @@ -26,7 +26,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/openbsm/bin/audit/audit.c#8 $ + * $P4: //depot/projects/trustedbsd/openbsm/bin/audit/audit.c#11 $ */ /* * Program to trigger the audit daemon with a message that is either: @@ -37,7 +37,12 @@ */ #include +#include +#ifdef HAVE_FULL_QUEUE_H #include +#else /* !HAVE_FULL_QUEUE_H */ +#include +#endif /* !HAVE_FULL_QUEUE_H */ #include #include @@ -47,6 +52,58 @@ #include #include + +static int send_trigger(unsigned int); + +#ifdef USE_MACH_IPC +#include +#include +#include +#include +#include +#include +#include + +#include "auditd_control_user.h" + +static int +send_trigger(unsigned int trigger) +{ + mach_port_t serverPort; + kern_return_t error; + + error = host_get_audit_control_port(mach_host_self(), &serverPort); + if (error != KERN_SUCCESS) { + mach_error("Cannot get auditd_control Mach port: ", error); + return (-1); + } + + error = auditd_control(serverPort, trigger); + if (error != KERN_SUCCESS) { + mach_error("Error sending trigger: ", error); + return (-1); + } + + return (0); +} + +#else /* ! USE_MACH_IPC */ + +static int +send_trigger(unsigned int trigger) +{ + int error; + + error = auditon(A_SENDTRIGGER, &trigger, sizeof(trigger)); + if (error != 0) { + perror("Error sending trigger"); + return (-1); + } + + return (0); +} +#endif /* ! USE_MACH_IPC */ + static void usage(void) { @@ -88,11 +145,9 @@ main(int argc, char **argv) break; } } - if (auditon(A_SENDTRIGGER, &trigger, sizeof(trigger)) < 0) { - perror("Error sending trigger"); + if (send_trigger(trigger) < 0) exit(-1); - } else { - printf("Trigger sent.\n"); - exit (0); - } + + printf("Trigger sent.\n"); + exit (0); } Modified: vendor/openbsm/dist/bin/auditd/Makefile.am ============================================================================== --- vendor/openbsm/dist/bin/auditd/Makefile.am Wed Nov 12 23:53:56 2008 (r184901) +++ vendor/openbsm/dist/bin/auditd/Makefile.am Thu Nov 13 00:04:15 2008 (r184902) @@ -1,10 +1,26 @@ # -# $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/Makefile.am#1 $ +# $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/Makefile.am#4 $ # -INCLUDES = -I$(top_srcdir) +if USE_NATIVE_INCLUDES +INCLUDES = -I$(top_builddir) -I$(top_srcdir) +else +INCLUDES = -I$(top_builddir) -I$(top_srcdir) -I$(top_srcdir)/sys +endif sbin_PROGRAMS = auditd -auditd_SOURCES = audit_warn.c auditd.c auditd_LDADD = $(top_builddir)/libbsm/libbsm.la man8_MANS = auditd.8 + +if USE_MACH_IPC +auditd_SOURCES = auditd_control_server.c audit_triggers_server.c audit_warn.c auditd.c +CLEANFILES = auditd_control_server.c auditd_control_server.h audit_triggers_server.c audit_triggers_server.h + +auditd_control_server.c: auditd_control.defs + $(MIG) -user /dev/null -header /dev/null -server auditd_control_server.c -sheader auditd_control_server.h $(top_srcdir)/bin/auditd/auditd_control.defs + +audit_triggers_server.c: audit_triggers.defs + $(MIG) -user /dev/null -header /dev/null -server audit_triggers_server.c -sheader audit_triggers_server.h $(top_srcdir)/bin/auditd/audit_triggers.defs +else +auditd_SOURCES = audit_warn.c auditd.c +endif Modified: vendor/openbsm/dist/bin/auditd/Makefile.in ============================================================================== --- vendor/openbsm/dist/bin/auditd/Makefile.in Wed Nov 12 23:53:56 2008 (r184901) +++ vendor/openbsm/dist/bin/auditd/Makefile.in Thu Nov 13 00:04:15 2008 (r184902) @@ -15,7 +15,7 @@ @SET_MAKE@ # -# $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/Makefile.in#4 $ +# $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/Makefile.in#9 $ # VPATH = @srcdir@ @@ -49,7 +49,14 @@ CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)" sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(sbin_PROGRAMS) -am_auditd_OBJECTS = audit_warn.$(OBJEXT) auditd.$(OBJEXT) +am__auditd_SOURCES_DIST = audit_warn.c auditd.c \ + auditd_control_server.c audit_triggers_server.c +@USE_MACH_IPC_FALSE@am_auditd_OBJECTS = audit_warn.$(OBJEXT) \ +@USE_MACH_IPC_FALSE@ auditd.$(OBJEXT) +@USE_MACH_IPC_TRUE@am_auditd_OBJECTS = \ +@USE_MACH_IPC_TRUE@ auditd_control_server.$(OBJEXT) \ +@USE_MACH_IPC_TRUE@ audit_triggers_server.$(OBJEXT) \ +@USE_MACH_IPC_TRUE@ audit_warn.$(OBJEXT) auditd.$(OBJEXT) auditd_OBJECTS = $(am_auditd_OBJECTS) auditd_DEPENDENCIES = $(top_builddir)/libbsm/libbsm.la DEFAULT_INCLUDES = -I. -I$(top_builddir)/config@am__isrc@ @@ -65,7 +72,7 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLF --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(auditd_SOURCES) -DIST_SOURCES = $(auditd_SOURCES) +DIST_SOURCES = $(am__auditd_SOURCES_DIST) man8dir = $(mandir)/man8 NROFF = nroff MANS = $(man8_MANS) @@ -113,6 +120,7 @@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MIG = @MIG@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ @@ -179,10 +187,13 @@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -INCLUDES = -I$(top_srcdir) -auditd_SOURCES = audit_warn.c auditd.c +@USE_NATIVE_INCLUDES_FALSE@INCLUDES = -I$(top_builddir) -I$(top_srcdir) -I$(top_srcdir)/sys +@USE_NATIVE_INCLUDES_TRUE@INCLUDES = -I$(top_builddir) -I$(top_srcdir) auditd_LDADD = $(top_builddir)/libbsm/libbsm.la man8_MANS = auditd.8 +@USE_MACH_IPC_FALSE@auditd_SOURCES = audit_warn.c auditd.c +@USE_MACH_IPC_TRUE@auditd_SOURCES = auditd_control_server.c audit_triggers_server.c audit_warn.c auditd.c +@USE_MACH_IPC_TRUE@CLEANFILES = auditd_control_server.c auditd_control_server.h audit_triggers_server.c audit_triggers_server.h all: all-am .SUFFIXES: @@ -254,8 +265,10 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/audit_triggers_server.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/audit_warn.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/auditd.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/auditd_control_server.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @@ -427,6 +440,7 @@ install-strip: mostlyclean-generic: clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) @@ -512,6 +526,12 @@ uninstall-man: uninstall-man8 tags uninstall uninstall-am uninstall-man uninstall-man8 \ *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-vendor@FreeBSD.ORG Thu Nov 13 00:05:38 2008 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25D4C1065695; Thu, 13 Nov 2008 00:05:38 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id ECB618FC17; Thu, 13 Nov 2008 00:05:37 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mAD05bQ6044024; Thu, 13 Nov 2008 00:05:37 GMT (envelope-from rwatson@svn.freebsd.org) Received: (from rwatson@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mAD05bQd044023; Thu, 13 Nov 2008 00:05:37 GMT (envelope-from rwatson@svn.freebsd.org) Message-Id: <200811130005.mAD05bQd044023@svn.freebsd.org> From: Robert Watson Date: Thu, 13 Nov 2008 00:05:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184903 - vendor/openbsm/1.1-ALPHA-2 X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2008 00:05:38 -0000 Author: rwatson Date: Thu Nov 13 00:05:37 2008 New Revision: 184903 URL: http://svn.freebsd.org/changeset/base/184903 Log: Tag OpenBSM 1.1-alpha2 vendor import. Added: vendor/openbsm/1.1-ALPHA-2/ - copied from r184902, vendor/openbsm/dist/ From owner-svn-src-vendor@FreeBSD.ORG Sat Nov 15 04:38:11 2008 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66EFB106564A; Sat, 15 Nov 2008 04:38:11 +0000 (UTC) (envelope-from gshapiro@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5134A8FC0A; Sat, 15 Nov 2008 04:38:11 +0000 (UTC) (envelope-from gshapiro@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mAF4cBHk010496; Sat, 15 Nov 2008 04:38:11 GMT (envelope-from gshapiro@svn.freebsd.org) Received: (from gshapiro@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mAF4cBKe010495; Sat, 15 Nov 2008 04:38:11 GMT (envelope-from gshapiro@svn.freebsd.org) Message-Id: <200811150438.mAF4cBKe010495@svn.freebsd.org> From: Gregory Neil Shapiro Date: Sat, 15 Nov 2008 04:38:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184979 - vendor/sendmail/dist/src X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Nov 2008 04:38:11 -0000 Author: gshapiro Date: Sat Nov 15 04:38:10 2008 New Revision: 184979 URL: http://svn.freebsd.org/changeset/base/184979 Log: Bring in a change already in the sendmail repository that will allow sendmail to be built with the c99 compiler. Submitted by: rdivacky Modified: vendor/sendmail/dist/src/sendmail.h Modified: vendor/sendmail/dist/src/sendmail.h ============================================================================== --- vendor/sendmail/dist/src/sendmail.h Sat Nov 15 03:09:50 2008 (r184978) +++ vendor/sendmail/dist/src/sendmail.h Sat Nov 15 04:38:10 2008 (r184979) @@ -2642,7 +2642,7 @@ extern void unsetenv __P((char *)); /* update file system information: +/- some blocks */ #if SM_CONF_SHM -extern void upd_qs __P((ENVELOPE *, bool, bool, char *)); +extern void upd_qs __P((ENVELOPE *, int, int, char *)); # define updfs(e, count, space, where) upd_qs(e, count, space, where) #else /* SM_CONF_SHM */ # define updfs(e, count, space, where)