summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mailx
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-07-21 15:10:28 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-29 13:09:08 +0100
commit331e651fd8ea94f2bc909007ce61e759f6f2a570 (patch)
tree43d969d8cd5acf2753be11f9f2220787b78cc9f4 /meta/recipes-extended/mailx
parentf2e84ad9223185d249066ab14d3f41c6f350de55 (diff)
downloadpoky-331e651fd8ea94f2bc909007ce61e759f6f2a570.tar.gz
mailx: remove support for autodetection of krb5
* it's autodetected from sysroot and makeconfig doesn't allow to explicitly define what's expected (From OE-Core rev: 203d5e1deb53e1c968498ff7595f57c73dc2697a) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/mailx')
-rw-r--r--meta/recipes-extended/mailx/mailx-12.5/explicitly.disable.krb5.support.patch46
-rw-r--r--meta/recipes-extended/mailx/mailx_12.5.bb1
2 files changed, 47 insertions, 0 deletions
diff --git a/meta/recipes-extended/mailx/mailx-12.5/explicitly.disable.krb5.support.patch b/meta/recipes-extended/mailx/mailx-12.5/explicitly.disable.krb5.support.patch
new file mode 100644
index 0000000000..8c7178bf8c
--- /dev/null
+++ b/meta/recipes-extended/mailx/mailx-12.5/explicitly.disable.krb5.support.patch
@@ -0,0 +1,46 @@
1krb5 support is autodetected from sysroot making builds undeterministic
2feel free to improve this to support explicitly enabling/disabling it
3
4Upstream-Status: Penging
5
6Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7
8--- a/makeconfig 2013-07-21 15:06:11.177792334 +0200
9+++ b/makeconfig 2013-07-21 15:07:20.028793994 +0200
10@@ -424,36 +424,6 @@
11 }
12 !
13
14-<$tmp2.c link_check gssapi 'for GSSAPI in libgss' \
15- '#define USE_GSSAPI' '-lgss' ||
16- <$tmp2.c link_check gssapi 'for GSSAPI in libgssapi_krb5' \
17- '#define USE_GSSAPI' '-lgssapi_krb5' ||
18- link_check gssapi 'for GSSAPI in libgssapi_krb5, old-style' \
19- '#define USE_GSSAPI
20-#define GSSAPI_OLD_STYLE' '-lgssapi_krb5' <<\! || \
21- link_check gssapi 'for GSSAPI in libgssapi' \
22- '#define USE_GSSAPI
23-#define GSSAPI_REG_INCLUDE' '-lgssapi' <<\%
24-#include <gssapi/gssapi.h>
25-#include <gssapi/gssapi_generic.h>
26-
27-int main(void)
28-{
29- gss_import_name(0, 0, gss_nt_service_name, 0);
30- gss_init_sec_context(0,0,0,0,0,0,0,0,0,0,0,0,0);
31- return 0;
32-}
33-!
34-#include <gssapi.h>
35-
36-int main(void)
37-{
38- gss_import_name(0, 0, GSS_C_NT_HOSTBASED_SERVICE, 0);
39- gss_init_sec_context(0,0,0,0,0,0,0,0,0,0,0,0,0);
40- return 0;
41-}
42-%
43-
44 cat >$tmp2.c <<\!
45 #include "config.h"
46 #ifdef HAVE_NL_LANGINFO
diff --git a/meta/recipes-extended/mailx/mailx_12.5.bb b/meta/recipes-extended/mailx/mailx_12.5.bb
index 2a08113bd2..f6734c7ee7 100644
--- a/meta/recipes-extended/mailx/mailx_12.5.bb
+++ b/meta/recipes-extended/mailx/mailx_12.5.bb
@@ -14,6 +14,7 @@ DEPENDS = "openssl"
14 14
15SRC_URI = "${DEBIAN_MIRROR}/main/h/heirloom-mailx/heirloom-mailx_${PV}.orig.tar.gz;name=archive \ 15SRC_URI = "${DEBIAN_MIRROR}/main/h/heirloom-mailx/heirloom-mailx_${PV}.orig.tar.gz;name=archive \
16 ${DEBIAN_MIRROR}/main/h/heirloom-mailx/heirloom-mailx_${PV}-1.diff.gz;name=patch \ 16 ${DEBIAN_MIRROR}/main/h/heirloom-mailx/heirloom-mailx_${PV}-1.diff.gz;name=patch \
17 file://explicitly.disable.krb5.support.patch \
17 " 18 "
18 19
19SRC_URI[archive.md5sum] = "29a6033ef1412824d02eb9d9213cb1f2" 20SRC_URI[archive.md5sum] = "29a6033ef1412824d02eb9d9213cb1f2"