From b88927a75ccaa6f5375d269b6a7b05d2b37aa52d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 2 Jul 2021 16:15:00 +0000 Subject: [PATCH] mutt: new package at 2.1.0 --- extra/mutt/build | 40 ++++++++++++++++++++++++++++++++++++++++ extra/mutt/checksums | 2 ++ extra/mutt/depends | 3 +++ extra/mutt/sources | 2 ++ extra/mutt/version | 1 + 5 files changed, 48 insertions(+) create mode 100755 extra/mutt/build create mode 100644 extra/mutt/checksums create mode 100644 extra/mutt/depends create mode 100644 extra/mutt/sources create mode 100644 extra/mutt/version diff --git a/extra/mutt/build b/extra/mutt/build new file mode 100755 index 00000000..bfca70b2 --- /dev/null +++ b/extra/mutt/build @@ -0,0 +1,40 @@ +#!/bin/sh -e + +out=$PWD/out +mkdir -p out + +( + cd cyrus-sasl + + export LDFLAGS="$LDFLAGS -lssl -lcrypto" + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-shared \ + --sbindir=/usr/bin + + make + make DESTDIR="$out" install +) + +# Remove perl dependency. +sed 's/ doc contrib/ contrib/g' Makefile.in > _ +mv -f _ Makefile.in + +./configure \ + ac_cv_search_sasl_encode64=-lsasl2 \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-doc \ + --disable-full-doc \ + --enable-pop \ + --enable-imap \ + --enable-smtp \ + --with-ssl \ + --with-sasl="$out/usr" + +make +make DESTDIR="$1" install + +rm -f "$1/etc/mime.types" diff --git a/extra/mutt/checksums b/extra/mutt/checksums new file mode 100644 index 00000000..c59d9f47 --- /dev/null +++ b/extra/mutt/checksums @@ -0,0 +1,2 @@ +80835bbcce920bccf4fc99676eda9e83f03a929b4022eada931d721ede330d37 +26866b1549b00ffd020f188a43c258017fa1c382b3ddadd8201536f72efb05d5 diff --git a/extra/mutt/depends b/extra/mutt/depends new file mode 100644 index 00000000..c375091c --- /dev/null +++ b/extra/mutt/depends @@ -0,0 +1,3 @@ +libressl +ncurses +zlib diff --git a/extra/mutt/sources b/extra/mutt/sources new file mode 100644 index 00000000..78401c0b --- /dev/null +++ b/extra/mutt/sources @@ -0,0 +1,2 @@ +https://bitbucket.org/mutt/mutt/downloads/mutt-2.1.0.tar.gz +https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-2.1.27/cyrus-sasl-2.1.27.tar.gz cyrus-sasl diff --git a/extra/mutt/version b/extra/mutt/version new file mode 100644 index 00000000..ef862396 --- /dev/null +++ b/extra/mutt/version @@ -0,0 +1 @@ +2.1.0 1