From owner-cvs-all@FreeBSD.ORG Sat May 3 20:39:12 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1421837B401; Sat, 3 May 2003 20:39:12 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B778F43F75; Sat, 3 May 2003 20:39:11 -0700 (PDT) (envelope-from gad@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h443dB0U008189; Sat, 3 May 2003 20:39:11 -0700 (PDT) (envelope-from gad@repoman.freebsd.org) Received: (from gad@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h443dBG4008188; Sat, 3 May 2003 20:39:11 -0700 (PDT) Message-Id: <200305040339.h443dBG4008188@repoman.freebsd.org> From: Garance A Drosehn Date: Sat, 3 May 2003 20:39:11 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/usr.sbin/newsyslog newsyslog.8 newsyslog.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 May 2003 03:39:12 -0000 gad 2003/05/03 20:39:11 PDT FreeBSD src repository Modified files: (Branch: RELENG_4) usr.sbin/newsyslog newsyslog.8 newsyslog.c Log: MFC *: Add a command-line option of '-s', which indicates that newsyslog should not send a signal to any processes. Also add a config-file flag of 'N' or 'n', which indicates that the given logfile has no process which needs a signal when it is rotated. Both of these are based on changes NetBSD has made, although the implementation is somewhat different. Also add a command-line option of '-R somename', which indicates that newsyslog should rotate all files given on the command, even if they don't seem to need to be rotated. This also brings in some other minor improvements, such as improving the interactions between specific log files given on the command line, and config-file entries which specify a filename-pattern (flag 'G'). [* = 1.40 newsyslog.8, 1.55->1.63 & 1.65 newsyslog.c] PR: bin/36553 (2nd half), 29363 (a small part of) Obtained from: NetBSD (for option -s and flag 'N') Revision Changes Path 1.23.2.12 +124 -51 src/usr.sbin/newsyslog/newsyslog.8 1.25.2.15 +458 -238 src/usr.sbin/newsyslog/newsyslog.c