1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/mail/panda-imap/files/pkg-req.ssl
Alex Kozlov 48b75d7b86 - Remove vestiges of pkg-req support
Differential Revision:	https://reviews.freebsd.org/D5
Approved by:	bapt
2017-04-18 15:15:06 +00:00

28 lines
631 B
Bash

#! /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