From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 5 20:00:43 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E16716A4E1 for ; Thu, 5 Oct 2006 20:00:43 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47E4943D79 for ; Thu, 5 Oct 2006 20:00:41 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k95K0fh2095451 for ; Thu, 5 Oct 2006 20:00:41 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k95K0eon095446; Thu, 5 Oct 2006 20:00:40 GMT (envelope-from gnats) Resent-Date: Thu, 5 Oct 2006 20:00:40 GMT Resent-Message-Id: <200610052000.k95K0eon095446@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, jan grant Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDAB316A4EC for ; Thu, 5 Oct 2006 19:56:01 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EA1843DE0 for ; Thu, 5 Oct 2006 19:55:36 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k95JtZdn066960 for ; Thu, 5 Oct 2006 19:55:35 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k95JtZwB066959; Thu, 5 Oct 2006 19:55:35 GMT (envelope-from nobody) Message-Id: <200610051955.k95JtZwB066959@www.freebsd.org> Date: Thu, 5 Oct 2006 19:55:35 GMT From: jan grant To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/104028: security/stunnel pkg-deinstall doesn't work in batch mode 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: Thu, 05 Oct 2006 20:00:43 -0000 >Number: 104028 >Category: ports >Synopsis: security/stunnel pkg-deinstall doesn't work in batch mode >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: Thu Oct 05 20:00:40 GMT 2006 >Closed-Date: >Last-Modified: >Originator: jan grant >Release: 6-stable >Organization: university of bristol >Environment: FreeBSD tribble.ilrt.bris.ac.uk 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Wed Oct 4 01:31:17 BST 2006 jan@bris.ac.uk:/external/usr.obj/usr/src/sys/JAN i386 (essentially GENERIC) >Description: /usr/ports/security/stunnel/pkg-deinstall says: [[[ if [ -z "${PACKAGE_BUILDING}" -a -z "${BATCH}" ]; then read -p "${question} [${default}]? " answer fi ]]] Neither environment variable is typically set. In particular, BATCH=yes may be a _make_ variable (and my pkgtools.conf has this:) [[[ MAKE_ARGS = { '*/*' => 'BATCH=yes', ]]] which works with every other port. I don't know if there is actually an environment variable you might make use of, but this behaviour could do with documenting. >How-To-Repeat: portupgrade -f security/stunnel >Fix: Well, a workaround is to supply an appropriate environment as well as the makevar in pkgtools.conf; don't know if this could be engineered to occur in a makefile; I document this in case anyone else bumps into it. >Release-Note: >Audit-Trail: >Unformatted: