From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 12 10:10:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 275A16A0 for ; Tue, 12 Feb 2013 10:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 0BFE8213 for ; Tue, 12 Feb 2013 10:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1CAA1cl047549 for ; Tue, 12 Feb 2013 10:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1CAA1YF047548; Tue, 12 Feb 2013 10:10:01 GMT (envelope-from gnats) Resent-Date: Tue, 12 Feb 2013 10:10:01 GMT Resent-Message-Id: <201302121010.r1CAA1YF047548@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Christoph Theis Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3E1EC62B for ; Tue, 12 Feb 2013 10:07:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 143691DD for ; Tue, 12 Feb 2013 10:07:05 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r1CA74xM038743 for ; Tue, 12 Feb 2013 10:07:04 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r1CA74Ei038742; Tue, 12 Feb 2013 10:07:04 GMT (envelope-from nobody) Message-Id: <201302121007.r1CA74Ei038742@red.freebsd.org> Date: Tue, 12 Feb 2013 10:07:04 GMT From: Christoph Theis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/176058: [maintainer-update] Hard coded path to grep in sendmail-whois-lines.conf X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2013 10:10:02 -0000 >Number: 176058 >Category: ports >Synopsis: [maintainer-update] Hard coded path to grep in sendmail-whois-lines.conf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Feb 12 10:10:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Christoph Theis >Release: >Organization: >Environment: >Description: action.d/sendmail-whois-lines.conf used a hardcoded path to /bin/grep. Allother actions do not use any path with grep. Thanks to Derek Kulinski for the tip. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 312090) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= fail2ban PORTVERSION= 0.8.7.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security python MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/tarball/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} Index: files/patch-sendmail-whois-lines.conf =================================================================== --- files/patch-sendmail-whois-lines.conf (revision 0) +++ files/patch-sendmail-whois-lines.conf (working copy) @@ -0,0 +1,11 @@ +--- config/action.d/sendmail-whois-lines.conf.orig 2012-08-01 03:45:04.000000000 +0200 ++++ config/action.d/sendmail-whois-lines.conf 2013-02-12 10:43:33.000000000 +0100 +@@ -57,7 +57,7 @@ + Here are more information about :\n + `/usr/bin/whois `\n\n + Lines containing IP: in \n +- `/bin/grep '\<\>' `\n\n ++ `grep '\<\>' `\n\n + Regards,\n + Fail2Ban" | /usr/sbin/sendmail -f + >Release-Note: >Audit-Trail: >Unformatted: