summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mailx
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
committerTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
commit972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch)
tree97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-extended/mailx
downloadpoky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
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.bb32
2 files changed, 78 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
new file mode 100644
index 0000000000..cc0b6bfd3a
--- /dev/null
+++ b/meta/recipes-extended/mailx/mailx_12.5.bb
@@ -0,0 +1,32 @@
1SUMMARY = "mailx is the traditional command-line-mode mail user agent"
2
3DESCRIPTION = "Mailx is derived from Berkeley Mail and is intended provide the \
4functionality of the POSIX mailx command with additional support \
5for MIME, IMAP, POP3, SMTP, and S/MIME."
6
7HOMEPAGE = "http://heirloom.sourceforge.net/mailx.html"
8SECTION = "console/network"
9PR = "r2"
10LICENSE = "BSD & MPL-1"
11LIC_FILES_CHKSUM = "file://COPYING;md5=4202a0a62910cf94f7af8a3436a2a2dd"
12
13DEPENDS = "openssl"
14
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 \
17 file://explicitly.disable.krb5.support.patch \
18 "
19
20SRC_URI[archive.md5sum] = "29a6033ef1412824d02eb9d9213cb1f2"
21SRC_URI[archive.sha256sum] = "015ba4209135867f37a0245d22235a392b8bbed956913286b887c2e2a9a421ad"
22SRC_URI[patch.md5sum] = "f466281336183be673bf136dd7096662"
23SRC_URI[patch.sha256sum] = "aaf2a4bbf145e5ca9cdeb0843091ec8cc01df6c9568c997207a5e97b4dc5ba43"
24
25S = "${WORKDIR}/heirloom-mailx-${PV}"
26
27inherit autotools-brokensep
28
29CFLAGS_append = " -D_BSD_SOURCE -DDEBIAN -I${S}/EXT"
30EXTRA_OEMAKE = "SENDMAIL=${sbindir}/sendmail"
31
32PARALLEL_MAKE = ""