pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail Provide gssapi pkg option for {, neo}mutt.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/897905846919
branches:  trunk
changeset: 359345:897905846919
user:      elric <elric%pkgsrc.org@localhost>
date:      Tue Mar 07 20:42:28 2017 +0000

description:
Provide gssapi pkg option for {,neo}mutt.

diffstat:

 mail/mutt/options.mk    |  13 ++++++++++++-
 mail/neomutt/options.mk |  14 ++++++++++++--
 2 files changed, 24 insertions(+), 3 deletions(-)

diffs (70 lines):

diff -r afbe1d54240d -r 897905846919 mail/mutt/options.mk
--- a/mail/mutt/options.mk      Tue Mar 07 18:17:02 2017 +0000
+++ b/mail/mutt/options.mk      Tue Mar 07 20:42:28 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.27 2017/02/24 23:31:24 wiz Exp $
+# $NetBSD: options.mk,v 1.28 2017/03/07 20:42:28 elric Exp $
 
 # Global and legacy options
 
@@ -8,11 +8,22 @@
 PKG_SUPPORTED_OPTIONS= debug gpgme idn ssl smime sasl
 # TODO: add kyoto cabinet and lmdb backend options for header cache
 PKG_SUPPORTED_OPTIONS+=        mutt-hcache tokyocabinet mutt-smtp
+PKG_SUPPORTED_OPTIONS+=        gssapi
 PKG_SUGGESTED_OPTIONS= curses gpgme mutt-hcache mutt-smtp smime ssl
+PKG_SUGGESTED_OPTIONS+= gssapi
 PKG_OPTIONS_LEGACY_OPTS+=      ncurses:curses ncursesw:wide-curses
 
 .include "../../mk/bsd.options.mk"
 
+###
+### GSSAPI
+###
+
+.if !empty(PKG_OPTIONS:Mgssapi)
+.  include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ARGS+= --with-gss=${KRB5BASE}
+.endif
+
 ### curses
 ###
 .if !empty(PKG_OPTIONS:Mcurses) || !empty(PKG_OPTIONS:Mwide-curses)
diff -r afbe1d54240d -r 897905846919 mail/neomutt/options.mk
--- a/mail/neomutt/options.mk   Tue Mar 07 18:17:02 2017 +0000
+++ b/mail/neomutt/options.mk   Tue Mar 07 20:42:28 2017 +0000
@@ -1,15 +1,16 @@
-# $NetBSD: options.mk,v 1.4 2017/01/17 12:32:42 wiz Exp $
+# $NetBSD: options.mk,v 1.5 2017/03/07 20:42:28 elric Exp $
 
 # Global and legacy options
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.neomutt
 PKG_OPTIONS_REQUIRED_GROUPS=   display
 PKG_OPTIONS_GROUP.display=     slang ncurses ncursesw curses
-PKG_SUPPORTED_OPTIONS= debug gpgme idn ssl smime sasl
+PKG_SUPPORTED_OPTIONS= debug gpgme gssapi idn ssl smime sasl
 PKG_SUPPORTED_OPTIONS+=        mutt-hcache tokyocabinet mutt-smtp
 PKG_SUPPORTED_OPTIONS+=        mutt-compressed-mbox
 PKG_SUPPORTED_OPTIONS+=        mutt-sidebar
 PKG_SUGGESTED_OPTIONS= ncursesw gpgme idn mutt-hcache mutt-smtp sasl smime ssl
+PKG_SUGGESTED_OPTIONS+=        gssapi
 PKG_SUGGESTED_OPTIONS+=        mutt-compressed-mbox
 PKG_SUGGESTED_OPTIONS+=        mutt-hcache tokyocabinet mutt-smtp
 PKG_SUGGESTED_OPTIONS+=        mutt-compressed-mbox
@@ -18,6 +19,15 @@
 .include "../../mk/bsd.options.mk"
 
 ###
+### GSSAPI
+###
+
+.if !empty(PKG_OPTIONS:Mgssapi)
+.  include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ARGS+= --with-gss=${KRB5BASE}
+.endif
+
+###
 ### Slang
 ###
 .if !empty(PKG_OPTIONS:Mslang)



Home | Main Index | Thread Index | Old Index