From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Sep 30 16:20:07 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E7EEF1065673 for ; Sun, 30 Sep 2012 16:20:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B7BD48FC14 for ; Sun, 30 Sep 2012 16:20:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8UGK7Kt080652 for ; Sun, 30 Sep 2012 16:20:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8UGK7f2080646; Sun, 30 Sep 2012 16:20:07 GMT (envelope-from gnats) Resent-Date: Sun, 30 Sep 2012 16:20:07 GMT Resent-Message-Id: <201209301620.q8UGK7f2080646@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, Rouslan Iskhakov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB9EB1065674 for ; Sun, 30 Sep 2012 16:10:48 +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 7D8988FC12 for ; Sun, 30 Sep 2012 16:10:48 +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 q8UGAmV8069148 for ; Sun, 30 Sep 2012 16:10:48 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q8UGAmID069147; Sun, 30 Sep 2012 16:10:48 GMT (envelope-from nobody) Message-Id: <201209301610.q8UGAmID069147@red.freebsd.org> Date: Sun, 30 Sep 2012 16:10:48 GMT From: Rouslan Iskhakov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/172182: amavis-p0fanalyzer doesn't start because of error in startup script X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2012 16:20:08 -0000 >Number: 172182 >Category: ports >Synopsis: amavis-p0fanalyzer doesn't start because of error in startup script >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 30 16:20:07 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Rouslan Iskhakov >Release: 9.0-RELEASE-p3 >Organization: >Environment: FreeBSD mail.rshell.net 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: amavis-p0fanalyzer doesn't start because of error in startup script. >How-To-Repeat: /usr/local/etc/rc.d/amavis-p0fanalyzer start >Fix: Patch attached with submission follows: diff -ruN /usr/ports/security/amavisd-new/Makefile /tmp/amavisd-new/Makefile --- /usr/ports/security/amavisd-new/Makefile 2012-09-30 11:58:20.000000000 +0200 +++ /tmp/amavisd-new/Makefile 2012-09-30 18:02:52.000000000 +0200 @@ -8,6 +8,7 @@ PORTNAME= amavisd-new PORTVERSION= 2.8.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= http://www.ijs.si/software/amavisd/ \ diff -ruN /usr/ports/security/amavisd-new/files/amavis-p0fanalyzer.in /tmp/amavisd-new/files/amavis-p0fanalyzer.in --- /usr/ports/security/amavisd-new/files/amavis-p0fanalyzer.in 2012-08-06 01:19:36.000000000 +0200 +++ /tmp/amavisd-new/files/amavis-p0fanalyzer.in 2012-09-30 17:52:47.000000000 +0200 @@ -9,7 +9,6 @@ amavis_p0fanalyzer_p0f_filter="${amavis_p0fanalyzer_p0f_filter-"tcp dst port 25"}" amavis_p0fanalyzer_pidfile1="${amavis_p0fanalyzer_pidfile1-/var/run/p0fanalyzer1.pid}" amavis_p0fanalyzer_pidfile2="${amavis_p0fanalyzer_pidfile2-/var/run/p0fanalyzer2.pid}" -amavis_p0f_daemon_flags="${amavis_p0f_daemon_flags--l}" amavis_p0fanalyzer_flags="${amavis_p0fanalyzer_flags-2345}" . /etc/rc.subr @@ -23,8 +22,7 @@ p0fanalyzer_start() { echo "Starting p0f-analyzer." && \ %%DAEMON%% ${amavis_p0fanalyzer_pidfile1} \ - %%PREFIX%%/bin/p0f ${amavis_p0f_daemon_flags} \ - "${amavis_p0fanalyzer_p0f_filter}" 2>&1 | \ + %%PREFIX%%/bin/p0f "${amavis_p0fanalyzer_p0f_filter}" 2>&1 | \ %%DAEMON%% ${amavis_p0fanalyzer_pidfile2} \ %%PREFIX%%/sbin/p0f-analyzer.pl ${amavis_p0fanalyzer_flags} } >Release-Note: >Audit-Trail: >Unformatted: