[update] mail/nmh

2018-03-08 Thread Pascal Stumpf
Update to nmh 1.7.1; take maintainer if no one objects.


Index: Makefile
===
RCS file: /cvs/ports/mail/nmh/Makefile,v
retrieving revision 1.43
diff -u -p -r1.43 Makefile
--- Makefile2 Feb 2018 03:55:42 -   1.43
+++ Makefile8 Mar 2018 13:11:19 -
@@ -2,10 +2,12 @@
 
 COMMENT=   new MH mail handling program
 
-DISTNAME=  nmh-1.7
+DISTNAME=  nmh-1.7.1
 CATEGORIES=mail
 MASTER_SITES=  ${MASTER_SITE_SAVANNAH:=nmh/}
 HOMEPAGE=  http://www.nongnu.org/nmh/
+
+MAINTAINER =   Pascal Stumpf 
 
 # BSD-like
 PERMIT_PACKAGE_CDROM=  Yes
Index: distinfo
===
RCS file: /cvs/ports/mail/nmh/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- distinfo30 Nov 2017 11:14:53 -  1.10
+++ distinfo8 Mar 2018 13:11:19 -
@@ -1,2 +1,2 @@
-SHA256 (nmh-1.7.tar.gz) = zQXHyiyuUkrpn2umc0Y6XN7/Yt+T6FkTqpJ3roMEzkQ=
-SIZE (nmh-1.7.tar.gz) = 1391594
+SHA256 (nmh-1.7.1.tar.gz) = 8fuUu/fZX81DJ3x8/aVWM6BHGH9Xr8bBu5MhhSvQfBE=
+SIZE (nmh-1.7.1.tar.gz) = 1400083



Re: [update] mail/nmh

2017-11-27 Thread Anthony J. Bentley
Pascal Stumpf writes:
> Update nmh to 1.7.  I've been using this for the past few days without
> problems (no-sasl) and lightly tested the sasl FLAVOR.

Been using 1.7rc3 for a few weeks now with no problems. Your diff is
slightly better than mine; ok with me.



Re: [update] mail/nmh

2017-11-26 Thread Klemens Nanni
On Sun, Nov 26, 2017 at 12:01:50PM +0100, Pascal Stumpf wrote:
> Update nmh to 1.7.  I've been using this for the past few days without
> problems (no-sasl) and lightly tested the sasl FLAVOR.
Lightly tested w/o SASL on an amd64 machine, works fine.

> This version now supports OAuth, but that pulls in curl and nghttp2.  I
> have chosen to disable it.  Is anyone planning on using this?  If so, it
> could probably be folded into the sasl FLAVOR.
Sounds good to me.

> Some executables have moved from libexec/ to libexec/nmh.  I think this
> is a bit cleaner, but it requires the user to adjust their
> fetchmail/fdm/MTA config if they use slocal(1).
> 
> ok?

You can set SEPARATE_BUILD=Yes.



[update] mail/nmh

2017-11-26 Thread Pascal Stumpf
Update nmh to 1.7.  I've been using this for the past few days without
problems (no-sasl) and lightly tested the sasl FLAVOR.

This version now supports OAuth, but that pulls in curl and nghttp2.  I
have chosen to disable it.  Is anyone planning on using this?  If so, it
could probably be folded into the sasl FLAVOR.

Some executables have moved from libexec/ to libexec/nmh.  I think this
is a bit cleaner, but it requires the user to adjust their
fetchmail/fdm/MTA config if they use slocal(1).

ok?

Index: Makefile
===
RCS file: /cvs/ports/mail/nmh/Makefile,v
retrieving revision 1.41
diff -u -p -r1.41 Makefile
--- Makefile15 Nov 2017 21:28:05 -  1.41
+++ Makefile26 Nov 2017 10:53:27 -
@@ -2,23 +2,23 @@
 
 COMMENT=   new MH mail handling program
 
-DISTNAME=  nmh-1.6
+DISTNAME=  nmh-1.7
 CATEGORIES=mail
 MASTER_SITES=  ${MASTER_SITE_SAVANNAH:=nmh/}
 HOMEPAGE=  http://www.nongnu.org/nmh/
-REVISION=  1
 
 # BSD-like
 PERMIT_PACKAGE_CDROM=  Yes
 
-WANTLIB=   c crypto edit iconv ssl termcap
+WANTLIB=   c crypto curses edit iconv ssl
 
-SYSCONFDIR=${PREFIX}/lib/nmh
+SYSCONFDIR=${PREFIX}/lib
 CONFIGURE_STYLE=   gnu
 CONFIGURE_ARGS=--libdir='$${exec_prefix}/libexec' \
--with-locking=fcntl \
--with-readline \
-   --with-tls
+   --with-tls \
+   --without-oauth
 
 LIB_DEPENDS =  converters/libiconv
 # needed for replyfilter
@@ -38,6 +38,8 @@ USE_GROFF =   Yes
 WANTLIB += sasl2
 LIB_DEPENDS+=  security/cyrus-sasl2
 CONFIGURE_ARGS+=   --with-cyrus-sasl
+.else
+CONFIGURE_ARGS+=   --without-cyrus-sasl
 .endif
 
 NO_TEST=   Yes
Index: distinfo
===
RCS file: /cvs/ports/mail/nmh/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo18 Jun 2014 05:51:47 -  1.9
+++ distinfo26 Nov 2017 10:53:27 -
@@ -1,2 +1,2 @@
-SHA256 (nmh-1.6.tar.gz) = KTOK4ryHIv6KWQS3tgGmOUO3Kwe2/NpT86NU7bamS8M=
-SIZE (nmh-1.6.tar.gz) = 1197272
+SHA256 (nmh-1.7.tar.gz) = zQXHyiyuUkrpn2umc0Y6XN7/Yt+T6FkTqpJ3roMEzkQ=
+SIZE (nmh-1.7.tar.gz) = 1391594
Index: patches/patch-configure
===
RCS file: /cvs/ports/mail/nmh/patches/patch-configure,v
retrieving revision 1.2
diff -u -p -r1.2 patch-configure
--- patches/patch-configure 18 Jun 2014 05:51:47 -  1.2
+++ patches/patch-configure 26 Nov 2017 10:53:27 -
@@ -1,7 +1,8 @@
 $OpenBSD: patch-configure,v 1.2 2014/06/18 05:51:47 pascal Exp $
 configure.orig Sun Jun 15 22:34:17 2014
-+++ configure  Mon Jun 16 10:04:04 2014
-@@ -6181,7 +6181,6 @@ fi
+Index: configure
+--- configure.orig
 configure
+@@ -6337,7 +6337,6 @@ fi
  
  if test x"$with_readline" = xyes -o x"$with_readline" = xmaybe; then :
save_LIBS="$LIBS"
@@ -9,7 +10,7 @@ $OpenBSD: patch-configure,v 1.2 2014/06/
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing 
readline" >&5
  $as_echo_n "checking for library containing readline... " >&6; }
  if ${ac_cv_search_readline+:} false; then :
-@@ -6206,7 +6205,7 @@ return readline ();
+@@ -6362,7 +6361,7 @@ return readline ();
return 0;
  }
  _ACEOF
Index: patches/patch-uip_rcvtty_c
===
RCS file: /cvs/ports/mail/nmh/patches/patch-uip_rcvtty_c,v
retrieving revision 1.2
diff -u -p -r1.2 patch-uip_rcvtty_c
--- patches/patch-uip_rcvtty_c  18 Jun 2014 05:51:47 -  1.2
+++ patches/patch-uip_rcvtty_c  26 Nov 2017 10:53:27 -
@@ -7,8 +7,9 @@ Backout recent breakage...
 
http://git.savannah.gnu.org/cgit/nmh.git/patch/?id=6443ed24f6c3b41186636a0b0fea93ebe9452047
 
 
 uip/rcvtty.c.orig  Mon Apr 14 13:41:27 2014
-+++ uip/rcvtty.c   Wed Apr 16 07:59:10 2014
+Index: uip/rcvtty.c
+--- uip/rcvtty.c.orig
 uip/rcvtty.c
 @@ -23,6 +23,8 @@
  
  #ifdef HAVE_GETUTXENT
@@ -39,7 +40,7 @@ http://git.savannah.gnu.org/cgit/nmh.git
 +register FILE *uf;
 +#endif
  
- if (nmh_init(argv[0], 1)) { return 1; }
+ if (nmh_init(argv[0], 2)) { return 1; }
  
 @@ -162,8 +167,15 @@ main (int argc, char **argv)
  }
@@ -59,7 +60,7 @@ http://git.savannah.gnu.org/cgit/nmh.git
  #endif /* HAVE_GETUTXENT */
  
  exit (RCV_MOK);
-@@ -274,7 +286,6 @@ header_fd (void)
+@@ -285,7 +297,6 @@ header_fd (void)
  }
  
  
@@ -67,7 +68,7 @@ http://git.savannah.gnu.org/cgit/nmh.git
  static void
  alert (char *tty, int md)
  {
-@@ -312,4 +323,3 @@ alert (char *tty, int md)
+@@ -323,4 +334,3 @@ alert (char *tty, int md)
  
  close (td);
  }
Index: pkg/PLIST
===
RCS file: