nail: Remove GSSAPI dependency
authorRosen Penev <rosenp@gmail.com>
Sat, 17 Nov 2018 01:11:57 +0000 (17:11 -0800)
committerRosen Penev <rosenp@gmail.com>
Sat, 17 Nov 2018 01:13:35 +0000 (17:13 -0800)
Buildbots are currently failing because of this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
mail/nail/Makefile
mail/nail/patches/010-remove-gssapi.patch [new file with mode: 0644]

index 20c12751360d532aa6f86a082d4595e21337c0a8..2990084d2b3b2180753a19c930b8685022b1be91 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=nail
 PKG_VERSION:=12.5
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 PKG_LICENSE:=BSD-2-Clause
 
 PKG_SOURCE:=heirloom-mailx_$(PKG_VERSION).orig.tar.gz
diff --git a/mail/nail/patches/010-remove-gssapi.patch b/mail/nail/patches/010-remove-gssapi.patch
new file mode 100644 (file)
index 0000000..e88d356
--- /dev/null
@@ -0,0 +1,52 @@
+diff --git a/makeconfig b/makeconfig
+index 0ab36b8..ee1e3a1 100644
+--- a/makeconfig
++++ b/makeconfig
+@@ -413,47 +413,6 @@ int main(void)
+ !
+ fi
+-cat >$tmp2.c <<\!
+-#include <gssapi/gssapi.h>
+-
+-int main(void)
+-{
+-      gss_import_name(0, 0, GSS_C_NT_HOSTBASED_SERVICE, 0);
+-      gss_init_sec_context(0,0,0,0,0,0,0,0,0,0,0,0,0);
+-      return 0;
+-}
+-!
+-
+-<$tmp2.c link_check gssapi 'for GSSAPI in libgss' \
+-              '#define USE_GSSAPI' '-lgss' ||
+-      <$tmp2.c link_check gssapi 'for GSSAPI in libgssapi_krb5' \
+-                      '#define USE_GSSAPI' '-lgssapi_krb5' ||
+-              link_check gssapi 'for GSSAPI in libgssapi_krb5, old-style' \
+-                              '#define USE_GSSAPI
+-#define GSSAPI_OLD_STYLE' '-lgssapi_krb5' <<\! || \
+-                      link_check gssapi 'for GSSAPI in libgssapi' \
+-                              '#define USE_GSSAPI
+-#define       GSSAPI_REG_INCLUDE' '-lgssapi' <<\%
+-#include <gssapi/gssapi.h>
+-#include <gssapi/gssapi_generic.h>
+-
+-int main(void)
+-{
+-      gss_import_name(0, 0, gss_nt_service_name, 0);
+-      gss_init_sec_context(0,0,0,0,0,0,0,0,0,0,0,0,0);
+-      return 0;
+-}
+-!
+-#include <gssapi.h>
+-
+-int main(void)
+-{
+-      gss_import_name(0, 0, GSS_C_NT_HOSTBASED_SERVICE, 0);
+-      gss_init_sec_context(0,0,0,0,0,0,0,0,0,0,0,0,0);
+-      return 0;
+-}
+-%
+-
+ cat >$tmp2.c <<\!
+ #include "config.h"
+ #ifdef HAVE_NL_LANGINFO