diff options
author | ak <ak@FreeBSD.org> | 2017-04-18 23:15:06 +0800 |
---|---|---|
committer | ak <ak@FreeBSD.org> | 2017-04-18 23:15:06 +0800 |
commit | 8b9ddc92a3b8adbe7a4760799b3c915a6f0bb94f (patch) | |
tree | 10deab438978a080be185166041c3a8110e6725d /mail/panda-imap/files/pkg-req.ssl | |
parent | e2f332dca5c8032cdb3a5ff4b31b7039063a9c6c (diff) | |
download | freebsd-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.ssl | 27 |
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 |