From owner-svn-ports-all@freebsd.org Sun Nov 8 11:18:18 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 68AB02EDEF8; Sun, 8 Nov 2020 11:18:18 +0000 (UTC) (envelope-from mandree@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 4CTWp22W8wz3KmG; Sun, 8 Nov 2020 11:18:18 +0000 (UTC) (envelope-from mandree@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 44DA61ECE0; Sun, 8 Nov 2020 11:18:18 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A8BIIVU073695; Sun, 8 Nov 2020 11:18:18 GMT (envelope-from mandree@FreeBSD.org) Received: (from mandree@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0A8BIHlD073693; Sun, 8 Nov 2020 11:18:17 GMT (envelope-from mandree@FreeBSD.org) Message-Id: <202011081118.0A8BIHlD073693@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mandree set sender to mandree@FreeBSD.org using -f From: Matthias Andree Date: Sun, 8 Nov 2020 11:18:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r554449 - in branches/2020Q4/mail/fetchmail: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: mandree X-SVN-Commit-Paths: in branches/2020Q4/mail/fetchmail: . files X-SVN-Commit-Revision: 554449 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.34 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: Sun, 08 Nov 2020 11:18:18 -0000 Author: mandree Date: Sun Nov 8 11:18:17 2020 New Revision: 554449 URL: https://svnweb.freebsd.org/changeset/ports/554449 Log: Fix rc script when root's shell does not include /usr/local/bin in $PATH This is the blanket-approved safe part of PR 250925, as partial MFH r554447. Let's give the pidfile changes in 6.4.13 some time to mature before MFH'ing them. PR: 250691 PR: 250925 (partial MFH) Submitted by: Corey Halpin (maintainer) Approved by: ports-secteam@ (blanket for single-line tested fixes) Modified: branches/2020Q4/mail/fetchmail/Makefile branches/2020Q4/mail/fetchmail/files/fetchmail.in Modified: branches/2020Q4/mail/fetchmail/Makefile ============================================================================== --- branches/2020Q4/mail/fetchmail/Makefile Sun Nov 8 11:05:33 2020 (r554448) +++ branches/2020Q4/mail/fetchmail/Makefile Sun Nov 8 11:18:17 2020 (r554449) @@ -3,7 +3,7 @@ PORTNAME?= fetchmail DISTVERSION= 6.4.12 -PORTREVISION?= 3 +PORTREVISION?= 4 CATEGORIES= mail # The next line is inherited by the fetchmailconf slave port, # do NOT replace fetchmail by ${PORTNAME} Modified: branches/2020Q4/mail/fetchmail/files/fetchmail.in ============================================================================== --- branches/2020Q4/mail/fetchmail/files/fetchmail.in Sun Nov 8 11:05:33 2020 (r554448) +++ branches/2020Q4/mail/fetchmail/files/fetchmail.in Sun Nov 8 11:18:17 2020 (r554449) @@ -116,7 +116,7 @@ fetchmail_awaken() # query a value from the fetchmail config file, value specified in first argument fetchmail_dump_config() { - su -m ${fetchmail_user} -c "/bin/sh -c 'fetchmail -f ${fetchmail_config} --configdump'" | fgrep $1 | cut -d: -f2 + su -m ${fetchmail_user} -c "/bin/sh -c '${command} -f ${fetchmail_config} --configdump'" | fgrep $1 | cut -d: -f2 } # arguments: