blob: c87c58258bb2edd9e3cc24b8d906c54a212e27e8 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "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"
9LICENSE = "BSD & MPL-1"
10LIC_FILES_CHKSUM = "file://COPYING;md5=4202a0a62910cf94f7af8a3436a2a2dd"
11
12DEPENDS = "openssl"
13
14SRC_URI = "${DEBIAN_MIRROR}/main/h/heirloom-mailx/heirloom-mailx_12.5.orig.tar.gz;name=archive \
15 file://0001-Don-t-reuse-weak-symbol-optopt-to-fix-FTBFS-on-mips.patch \
16 file://0002-Patched-out-SSL2-support-since-it-is-no-longer-suppo.patch \
17 file://0003-Fixed-Lintian-warning-warning-macro-N-not-defined.patch \
18 file://0011-outof-Introduce-expandaddr-flag.patch \
19 file://0012-unpack-Disable-option-processing-for-email-addresses.patch \
20 file://0013-fio.c-Unconditionally-require-wordexp-support.patch \
21 file://0014-globname-Invoke-wordexp-with-WRDE_NOCMD.patch \
22 file://0015-usr-sbin-sendmail.patch \
23 file://explicitly.disable.krb5.support.patch \
24 "
25
26SRC_URI[archive.md5sum] = "29a6033ef1412824d02eb9d9213cb1f2"
27SRC_URI[archive.sha256sum] = "015ba4209135867f37a0245d22235a392b8bbed956913286b887c2e2a9a421ad"
28
29S = "${WORKDIR}/heirloom-mailx-12.5"
30
31inherit autotools-brokensep
32
33CFLAGS_append = " -D_BSD_SOURCE -DDEBIAN -I${S}/EXT"
34
35# "STRIP=true" means that 'true' command will be used to 'strip' files which will achieve the effect of not stripping them
36# mailx's Makefile doesn't allow a more straightforward way to avoid stripping
37EXTRA_OEMAKE = "SENDMAIL=${sbindir}/sendmail IPv6=-DHAVE_IPv6_FUNCS PREFIX=/usr UCBINSTALL=/usr/bin/install STRIP=true"
38
39# The makeconfig can't run parallelly, otherwise the checking results
40# might be incorrect and lead to errors:
41# fio.c:56:17: fatal error: ssl.h: No such file or directory
42# #include <ssl.h>
43PARALLEL_MAKE = ""
Patrick Williamsf1e5d692016-03-30 15:21:19 -050044
45# Causes gcc to get stuck and eat all available memory in qemuarm builds
46# http://errors.yoctoproject.org/Errors/Details/20488/
47ARM_INSTRUCTION_SET_armv4 = "arm"
48ARM_INSTRUCTION_SET_armv5 = "arm"