summaryrefslogtreecommitdiffstats
path: root/mail/imap-uw/pkg-req.ssl
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-06-25 02:40:49 +0000
committerdwcjr <dwcjr@FreeBSD.org>2001-06-25 02:40:49 +0000
commit3d4ae28f0716f6e6cce8776f0593bf5d693b9451 (patch)
tree61e3c116719b8be0ff09bd2f0dd7c2b8204ff3f6 /mail/imap-uw/pkg-req.ssl
parentb2a037605f1c5cabbb29715f3ded56696c0da86b (diff)
downloadFreeBSD-ports-3d4ae28f0716f6e6cce8776f0593bf5d693b9451.zip
FreeBSD-ports-3d4ae28f0716f6e6cce8776f0593bf5d693b9451.tar.gz
Update imap-uw and cclient to 0106191041
Add SSL support to both Add pkg-req.rev to detect version Add pkg-req.ssl to keep track of ssl versions PR: 28289 Submitted by: maintainer
Diffstat (limited to 'mail/imap-uw/pkg-req.ssl')
-rw-r--r--mail/imap-uw/pkg-req.ssl27
1 files changed, 27 insertions, 0 deletions
diff --git a/mail/imap-uw/pkg-req.ssl b/mail/imap-uw/pkg-req.ssl
new file mode 100644
index 0000000..9290be0
--- /dev/null
+++ b/mail/imap-uw/pkg-req.ssl
@@ -0,0 +1,27 @@
+#! /bin/sh
+# anders@fix.no, 2001-06-19
+
+sslenabled=`grep "^#define CCLIENT_SSLENABLED" $1 | awk '{print $3}' \
+| sed s/\"//g`
+
+case $2 in
+yes)
+ if [ "$sslenabled" = "yes" ]
+ then
+ echo "SSL check passed. We want SSL support, and cclient has it. Good."
+ exit 0
+ else
+ echo "SSL check failed. Wa want SSL support, but cclient doesn't have it."
+ echo "Please recompile and reinstall the cclient port with WITH_SSL=yes set."
+ exit 1
+ fi
+ ;;
+*)
+ if [ "$sslenabled" = "yes" ]
+ then
+ echo "You did not want SSL (by not defining WANT_SSL). Funny thing is, your cclient"
+ echo "port has SSL support installed."
+ exit 0
+ fi
+ ;;
+esac
OpenPOWER on IntegriCloud