aboutsummaryrefslogtreecommitdiffstats
path: root/mail/panda-imap/files/pkg-req.ssl
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2017-04-18 23:15:06 +0800
committerak <ak@FreeBSD.org>2017-04-18 23:15:06 +0800
commit8b9ddc92a3b8adbe7a4760799b3c915a6f0bb94f (patch)
tree10deab438978a080be185166041c3a8110e6725d /mail/panda-imap/files/pkg-req.ssl
parente2f332dca5c8032cdb3a5ff4b31b7039063a9c6c (diff)
downloadfreebsd-ports-graphics-8b9ddc92a3b8adbe7a4760799b3c915a6f0bb94f.tar.gz
freebsd-ports-graphics-8b9ddc92a3b8adbe7a4760799b3c915a6f0bb94f.tar.zst
freebsd-ports-graphics-8b9ddc92a3b8adbe7a4760799b3c915a6f0bb94f.zip
- Remove vestiges of pkg-req support
Differential Revision: https://reviews.freebsd.org/D5 Approved by: bapt
Diffstat (limited to 'mail/panda-imap/files/pkg-req.ssl')
-rw-r--r--mail/panda-imap/files/pkg-req.ssl27
1 files changed, 27 insertions, 0 deletions
diff --git a/mail/panda-imap/files/pkg-req.ssl b/mail/panda-imap/files/pkg-req.ssl
new file mode 100644
index 00000000000..881c5ef9049
--- /dev/null
+++ b/mail/panda-imap/files/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. We 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 WITH_SSL). Funny thing is, your cclient"
+ echo "port has SSL support installed."
+ exit 0
+ fi
+ ;;
+esac