When doing a ports upgrade using # BATCH=1 portupgrade -a you expect all upgrades to be performed without any interaction with the user. This is not true for stunnel. When I checked my portupgrade today it was hung waiting for input with the prompt: "Remove group stunnel? [y/n]" Appearently this is due to the stunnel deinstall-script. After entering a 'n' the upgrade continued as espected. Either the deinstall should not ask the question or otherwise stunnel should not be upgraded when running portupgrade when BATCH is set. Fix: Check for BATCH in stunnel Makefile. How-To-Repeat: I have not tried to reproduce this, but it should suffice to run portupgrade with BATCH set when there is a newer stunnel available.
Responsible Changed From-To: freebsd-ports-bugs->roam Over to maintainer.
Here is the simple fix for BATCH mode while deinstalling stunnel: --- pkg-deinstall.orig Wed Apr 13 13:19:57 2005 +++ pkg-deinstall Wed Apr 13 13:31:18 2005 @@ -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 http://www.freebsd.org/cgi/query-pr.cgi?pr=67762
State Changed From-To: open->closed Committed, thanks!