mutt : bump (#2811)

This commit is contained in:
miqlas
2018-07-21 17:47:22 +02:00
committed by GitHub
parent 5416ab70d0
commit a20954b1dd
4 changed files with 1 additions and 141 deletions

View File

@@ -14,7 +14,7 @@ COPYRIGHT="1996-2016 Michael R. Elkins
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://bitbucket.org/mutt/mutt/downloads/mutt-$portVersion.tar.gz"
CHECKSUM_SHA256="f4d1bf26350c1ac81b551f98e5a4fd80d7fecd86919aa8165e69fde87de1b5df"
CHECKSUM_SHA256="0215b5f90ef9cc33441a6ca842379b64412ed7f8da83ed68bfaa319179f5535b"
PATCHES="mutt-$portVersion.patchset"
ARCHITECTURES="?x86_gcc2 x86 x86_64"

View File

@@ -1,113 +0,0 @@
SUMMARY="Small but very powerful text-based mail client"
DESCRIPTION="A text-based email client for Unix-like systems. \
The Mutt slogan is All mail clients suck. This one just sucks less."
HOMEPAGE="http://www.mutt.org/"
COPYRIGHT="1996-2016 Michael R. Elkins
1996-2002 Brandon Long
1997-2009 Thomas Roessler
1998-2005 Werner Koch
1999-2014 Brendan Cully
1999-2002 Tommi Komulainen
2000-2004 Edmund Grimley Evans
2006-2009 Rocco Rutte
2014-2017 Kevin J. McCarthy"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="https://bitbucket.org/mutt/mutt/downloads/mutt-$portVersion.tar.gz"
CHECKSUM_SHA256="9b81746d67ffeca5ea44f60893b70dc93c86d4bc10187d4dd360185e4d42ed42"
PATCHES="mutt-$portVersion.patchset"
ARCHITECTURES="?x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
mutt$secondaryArchSuffix = $portVersion
cmd:flea$secondaryArchSuffix = $portVersion
cmd:mutt$secondaryArchSuffix = $portVersion
cmd:muttbug$secondaryArchSuffix = $portVersion
cmd:pgpewrap$secondaryArchSuffix = $portVersion
cmd:pgpring$secondaryArchSuffix = $portVersion
cmd:smime_keys$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
cmd:gpg$secondaryArchSuffix
lib:libaspell$secondaryArchSuffix
lib:libassuan$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libgettextpo$secondaryArchSuffix
lib:libgnutls$secondaryArchSuffix
lib:libgpgme$secondaryArchSuffix
lib:libgpg_error$secondaryArchSuffix
lib:libgsasl$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libidn$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libaspell$secondaryArchSuffix
devel:libassuan$secondaryArchSuffix
devel:libcrypto$secondaryArchSuffix
devel:libgettextlib$secondaryArchSuffix
devel:libgnutls$secondaryArchSuffix
devel:libgpgme$secondaryArchSuffix
devel:libgpg_error$secondaryArchSuffix
devel:libgsasl$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libidn$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
devel:libncurses$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:autoreconf
cmd:awk
cmd:bison
cmd:gawk
cmd:gcc$secondaryArchSuffix
cmd:gpg$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:m4
"
GLOBAL_WRITABLE_FILES="
settings/Muttrc keep-old
settings/Muttrc.dist keep-old
settings/mime.types keep-old
settings/mime.types.dist keep-old
"
BUILD()
{
export CFLAGS="-D_BSD_SOURCE"
export LDFLAGS="-lnetwork -lbsd"
libtoolize --force --copy --install
autoreconf -vfi
runConfigure configure \
--enable-compressed \
--enable-gpgme \
--enable-imap \
--enable-pop \
--enable-smtp \
--enable-sidebar \
--disable-warnings \
--with-gnutls \
--with-idn \
--with-regex \
--with-ssl \
--with-mailpath=`finddir B_USER_DIRECTORY`/mail/mutt
make $jobArgs
}
INSTALL()
{
make install
}

View File

@@ -1,27 +0,0 @@
From 71de919e2ba5b93d8004047e32adc0186241827b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
Date: Mon, 26 Dec 2016 21:43:34 +0100
Subject: [PATCH] Haiku patch
---
getdomain.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/getdomain.c b/getdomain.c
index 15803af..8abd415 100644
--- a/getdomain.c
+++ b/getdomain.c
@@ -28,6 +28,10 @@
#include "mutt.h"
+#ifdef __HAIKU__
+#define _SC_HOST_NAME_MAX 72
+#endif
+
int getdnsdomainname (char *d, size_t len)
{
--
2.10.2