git: 8eeeb59f7ecc - main - mail/courier-imap: Update to 5.1.8

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Wed, 01 Jun 2022 13:51:21 UTC
The branch main has been updated by madpilot:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8eeeb59f7eccac5a1586f434a5509dd4a1d60720

commit 8eeeb59f7eccac5a1586f434a5509dd4a1d60720
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2022-06-01 13:50:49 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2022-06-01 13:50:49 +0000

    mail/courier-imap: Update to 5.1.8
---
 mail/courier-imap/Makefile                         |  3 +--
 mail/courier-imap/distinfo                         |  6 ++---
 .../files/patch-libs_maildir_configure             | 31 +++++++++++-----------
 mail/courier-imap/pkg-plist                        |  1 -
 4 files changed, 20 insertions(+), 21 deletions(-)

diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index 92bb983f41a4..74ed9cde1cb5 100644
--- a/mail/courier-imap/Makefile
+++ b/mail/courier-imap/Makefile
@@ -1,7 +1,7 @@
 # Created by: Neil Blakey-Milner
 
 PORTNAME=	courier-imap
-PORTVERSION=	5.1.7
+PORTVERSION=	5.1.8
 PORTEPOCH=	2
 CATEGORIES=	mail
 MASTER_SITES=	SF/courier/imap/${PORTVERSION}
@@ -98,7 +98,6 @@ CONFIGURE_ARGS+=--with-db=db  --with-userdb=${USERDB}
 
 EXTRA_DOCS=	AUTHORS INSTALL NEWS \
 		libs/imap/ChangeLog \
-		libs/imap/README \
 		libs/imap/README.proxy \
 		libs/maildir/README.imapkeywords.html \
 		libs/maildir/README.maildirfilter.html \
diff --git a/mail/courier-imap/distinfo b/mail/courier-imap/distinfo
index 31133f596488..05ec4804472a 100644
--- a/mail/courier-imap/distinfo
+++ b/mail/courier-imap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1642454544
-SHA256 (courier-imap-5.1.7.tar.bz2) = bf37754425993d7b15b2e72b0af6061e41d320bc598c9c62e086d650f71152df
-SIZE (courier-imap-5.1.7.tar.bz2) = 3364221
+TIMESTAMP = 1654070507
+SHA256 (courier-imap-5.1.8.tar.bz2) = 2732ea148a26e8caa2724c4b83f1258e9beef54786be503fa92355d2778ef269
+SIZE (courier-imap-5.1.8.tar.bz2) = 3395074
diff --git a/mail/courier-imap/files/patch-libs_maildir_configure b/mail/courier-imap/files/patch-libs_maildir_configure
index f9e076a9e356..ecb8a9af9299 100644
--- a/mail/courier-imap/files/patch-libs_maildir_configure
+++ b/mail/courier-imap/files/patch-libs_maildir_configure
@@ -1,22 +1,23 @@
---- libs/maildir/configure.orig	2021-03-14 17:58:25 UTC
+--- libs/maildir/configure.orig	2022-05-25 23:49:49 UTC
 +++ libs/maildir/configure
-@@ -17924,19 +17924,6 @@ fi
- done
+@@ -18965,20 +18965,6 @@ fi
+ fi
  
  
--for ac_func in inotify_init inotify_init1
--do :
--  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
--ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
--if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
--  cat >>confdefs.h <<_ACEOF
--#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
--_ACEOF
+-ac_fn_c_check_func "$LINENO" "inotify_init" "ac_cv_func_inotify_init"
+-if test "x$ac_cv_func_inotify_init" = xyes
+-then :
+-  printf "%s\n" "#define HAVE_INOTIFY_INIT 1" >>confdefs.h
+-
+-fi
+-ac_fn_c_check_func "$LINENO" "inotify_init1" "ac_cv_func_inotify_init1"
+-if test "x$ac_cv_func_inotify_init1" = xyes
+-then :
+-  printf "%s\n" "#define HAVE_INOTIFY_INIT1 1" >>confdefs.h
 -
 -fi
--done
 -
 -
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for missing gethostname prototype" >&5
- $as_echo_n "checking for missing gethostname prototype... " >&6; }
- if ${maildir_cv_SYS_GETHOSTNAME+:} false; then :
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for missing gethostname prototype" >&5
+ printf %s "checking for missing gethostname prototype... " >&6; }
+ if test ${maildir_cv_SYS_GETHOSTNAME+y}
diff --git a/mail/courier-imap/pkg-plist b/mail/courier-imap/pkg-plist
index 2368a6ebfa44..2913b0db1c4f 100644
--- a/mail/courier-imap/pkg-plist
+++ b/mail/courier-imap/pkg-plist
@@ -54,7 +54,6 @@ share/courier-imap/mkpop3dcert
 %%PORTDOCS%%%%DOCSDIR%%/INSTALL
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/README.proxy
 %%PORTDOCS%%%%DOCSDIR%%/README.imapkeywords.html
 %%PORTDOCS%%%%DOCSDIR%%/README.maildirfilter.html