aboutsummaryrefslogtreecommitdiffstats
path: root/security/stunnel
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-06-06 07:03:15 +0800
committerflz <flz@FreeBSD.org>2005-06-06 07:03:15 +0800
commitafc6495b249724c40983aa6e457942944035a0e4 (patch)
tree7f44a286d8f047aabbec39041ac94c7ce1257971 /security/stunnel
parente7ccd589f285d6e7a6200f5dbada21b2e8f9b4db (diff)
downloadfreebsd-ports-gnome-afc6495b249724c40983aa6e457942944035a0e4.tar.gz
freebsd-ports-gnome-afc6495b249724c40983aa6e457942944035a0e4.tar.zst
freebsd-ports-gnome-afc6495b249724c40983aa6e457942944035a0e4.zip
- Fix deinstall script when running in BATCH mode.
PR: ports/67762 Submitted by: Linus Sjoberg <lsjoberg@aland.net> Approved by: maintainer timeout (7 weeks)
Diffstat (limited to 'security/stunnel')
-rw-r--r--security/stunnel/Makefile1
-rw-r--r--security/stunnel/pkg-deinstall2
2 files changed, 2 insertions, 1 deletions
diff --git a/security/stunnel/Makefile b/security/stunnel/Makefile
index 69541c422f46..3a052bfe49d7 100644
--- a/security/stunnel/Makefile
+++ b/security/stunnel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= stunnel
PORTVERSION= 4.10
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.stunnel.org/download/stunnel/src/ \
ftp://stunnel.mirt.net/stunnel/OBSOLETE/ \
diff --git a/security/stunnel/pkg-deinstall b/security/stunnel/pkg-deinstall
index 8d31c1c37859..bef875e0bc34 100644
--- a/security/stunnel/pkg-deinstall
+++ b/security/stunnel/pkg-deinstall
@@ -13,7 +13,7 @@ ask() {
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