From owner-svn-ports-all@freebsd.org Wed Jul 22 20:32:29 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3AE4E35FAEC; Wed, 22 Jul 2020 20:32:29 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BBnFn0pWpz4jY5; Wed, 22 Jul 2020 20:32:29 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 00314D26C; Wed, 22 Jul 2020 20:32:29 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 06MKWSBL045295; Wed, 22 Jul 2020 20:32:28 GMT (envelope-from matthew@FreeBSD.org) Received: (from matthew@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 06MKWStU045293; Wed, 22 Jul 2020 20:32:28 GMT (envelope-from matthew@FreeBSD.org) Message-Id: <202007222032.06MKWStU045293@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: matthew set sender to matthew@FreeBSD.org using -f From: Matthew Seaman Date: Wed, 22 Jul 2020 20:32:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r542893 - in head/sysutils/rsyslog8: . files X-SVN-Group: ports-head X-SVN-Commit-Author: matthew X-SVN-Commit-Paths: in head/sysutils/rsyslog8: . files X-SVN-Commit-Revision: 542893 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2020 20:32:29 -0000 Author: matthew Date: Wed Jul 22 20:32:28 2020 New Revision: 542893 URL: https://svnweb.freebsd.org/changeset/ports/542893 Log: Prevent rsyslogd from writing log messages about TZ being unset in the environment. This is a putely cosmetic change, as the default behaviour according to tzset(3) is: ``` If TZ does not appear in the environment, the best available approximation to local wall clock time, as specified by the tzfile(5)-format file /etc/localtime is used. ``` Slightly modified from the patch supplied by zi to use the rc.subr(8) '${name}_env' variable. PR: 248185 Submitted by: zi Modified: head/sysutils/rsyslog8/Makefile head/sysutils/rsyslog8/files/rsyslogd.in Modified: head/sysutils/rsyslog8/Makefile ============================================================================== --- head/sysutils/rsyslog8/Makefile Wed Jul 22 20:31:04 2020 (r542892) +++ head/sysutils/rsyslog8/Makefile Wed Jul 22 20:32:28 2020 (r542893) @@ -2,6 +2,7 @@ PORTNAME= rsyslog PORTVERSION= 8.2006.0 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.rsyslog.com/files/download/rsyslog/ Modified: head/sysutils/rsyslog8/files/rsyslogd.in ============================================================================== --- head/sysutils/rsyslog8/files/rsyslogd.in Wed Jul 22 20:31:04 2020 (r542892) +++ head/sysutils/rsyslog8/files/rsyslogd.in Wed Jul 22 20:32:28 2020 (r542893) @@ -17,6 +17,7 @@ load_rc_config $name : ${rsyslogd_enable:="NO"} : ${rsyslogd_pidfile:="/var/run/rsyslogd.pid"} : ${rsyslogd_config:="%%PREFIX%%/etc/rsyslog.conf"} +: ${rsyslogd_env:="TZ=/etc/localtime"} pidfile="${rsyslogd_pidfile}" command_args="-i ${pidfile} -f ${rsyslogd_config}" required_files="${rsyslogd_config}"