Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Nov 2020 11:18:17 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
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
Message-ID:  <202011081118.0A8BIHlD073693@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011081118.0A8BIHlD073693>