/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. 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. How-To-Repeat: portupgrade -f security/stunnel
Responsible Changed From-To: freebsd-ports-bugs->roam Over to maintainer
roam 2006-10-08 18:06:54 UTC FreeBSD ports repository Modified files: security/stunnel Makefile Removed files: security/stunnel pkg-deinstall Log: Fix the problem with unattended deinstallation by not even attempting to remove the stunnel user and group at all - just kill the package deinstall script. PR: 104028 Reported by: jan grant <jan.grant@bristol.ac.uk>, Stephen Hurd <shurd@sasktel.net> (in private mail a while ago), and, I think, many others Revision Changes Path 1.75 +1 -0 ports/security/stunnel/Makefile 1.3 +0 -63 ports/security/stunnel/pkg-deinstall (dead) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed I just committed a change to the stunnel port - now it will no longer try to remove the stunnel user and group, ever. Thanks for reporting this - actually long-standing - problem!