From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 23 10:20:10 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 893FE1065673 for ; Mon, 23 May 2011 10:20:10 +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 5BC6A8FC1B for ; Mon, 23 May 2011 10:20:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4NAKAJo003778 for ; Mon, 23 May 2011 10:20:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4NAKAp2003777; Mon, 23 May 2011 10:20:10 GMT (envelope-from gnats) Resent-Date: Mon, 23 May 2011 10:20:10 GMT Resent-Message-Id: <201105231020.p4NAKAp2003777@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, Jimmy Olgeni Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 319791065675 for ; Mon, 23 May 2011 10:11:34 +0000 (UTC) (envelope-from g.olgeni@colby.it) Received: from mail.colby.tv (93-62-141-58.ip22.fastwebnet.it [93.62.141.58]) by mx1.freebsd.org (Postfix) with ESMTP id 943548FC14 for ; Mon, 23 May 2011 10:11:32 +0000 (UTC) Received: from server.colby.local (localhost [127.0.0.1]) by server.colby.local (8.14.4/8.14.4) with ESMTP id p4NABV4B035924; Mon, 23 May 2011 12:11:31 +0200 (CEST) (envelope-from g.olgeni@colby.it) Received: from exchange.colby.local ([192.168.1.11] helo=exchange.colby.local) with IPv4:25 by server.colby.local; 23 May 2011 12:11:31 +0200 Received: from backoffice.colby.local ([192.168.1.56]) by exchange.colby.local over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 23 May 2011 12:11:31 +0200 Received: from backoffice.colby.local (localhost [127.0.0.1]) by backoffice.colby.local (8.14.4/8.14.4) with ESMTP id p4NABVos003624; Mon, 23 May 2011 12:11:31 +0200 (CEST) (envelope-from olgeni@backoffice.colby.local) Received: (from olgeni@localhost) by backoffice.colby.local (8.14.4/8.14.4/Submit) id p4NABVQk003623; Mon, 23 May 2011 12:11:31 +0200 (CEST) (envelope-from olgeni) Message-Id: <201105231011.p4NABVQk003623@backoffice.colby.local> Date: Mon, 23 May 2011 12:11:31 +0200 (CEST) From: Jimmy Olgeni To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: ohauer@FreeBSD.org Subject: ports/157266: [PATCH] mail/spamd: respect BATCH 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: Mon, 23 May 2011 10:20:10 -0000 >Number: 157266 >Category: ports >Synopsis: [PATCH] mail/spamd: respect BATCH >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 23 10:20:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jimmy Olgeni >Release: FreeBSD 8.2-STABLE amd64 >Organization: >Environment: System: FreeBSD backoffice 8.2-STABLE FreeBSD 8.2-STABLE #1: Sun May 15 20:37:17 CEST 2011 >Description: [DESCRIBE CHANGES] The "ask" function in pkg-install.in checks if PACKAGE_BUILDING is defined to avoid asking questions. It should also check for BATCH, else custom installation scripts may fail. Port maintainer (ohauer@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- spamd-4.8.0_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/mail/spamd/Makefile,v retrieving revision 1.22 diff -u -u -r1.22 Makefile --- Makefile 29 Dec 2010 20:04:23 -0000 1.22 +++ Makefile 23 May 2011 10:09:05 -0000 @@ -7,6 +7,7 @@ PORTNAME= spamd PORTVERSION= 4.8.0 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= BERLIOS MASTER_SITE_SUBDIR=freebsdspamd Index: files/pkg-install.in =================================================================== RCS file: /home/pcvs/ports/mail/spamd/files/pkg-install.in,v retrieving revision 1.3 diff -u -u -r1.3 pkg-install.in --- files/pkg-install.in 31 Oct 2010 22:10:52 -0000 1.3 +++ files/pkg-install.in 23 May 2011 10:09:05 -0000 @@ -13,7 +13,7 @@ question=$1 default=$2 - if [ -z "${PACKAGE_BUILDING}" ]; then + if [ -z "${PACKAGE_BUILDING}" -a -z "${BATCH}" ]; then read -p "${question} [${default}]? " answer fi if [ "x${answer}" = "x" ]; then --- spamd-4.8.0_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: