[arch-commits] Commit in neomutt/repos/community-x86_64 (5 files)

Maxim Baz maximbaz at archlinux.org
Fri Apr 17 16:00:16 UTC 2020


    Date: Friday, April 17, 2020 @ 16:00:16
  Author: maximbaz
Revision: 615598

archrelease: copy trunk to community-x86_64

Added:
  neomutt/repos/community-x86_64/2270.patch
    (from rev 615597, neomutt/trunk/2270.patch)
  neomutt/repos/community-x86_64/PKGBUILD
    (from rev 615597, neomutt/trunk/PKGBUILD)
  neomutt/repos/community-x86_64/default-ca-certificates.patch
    (from rev 615597, neomutt/trunk/default-ca-certificates.patch)
Deleted:
  neomutt/repos/community-x86_64/PKGBUILD
  neomutt/repos/community-x86_64/default-ca-certificates.patch

-------------------------------+
 2270.patch                    |   33 ++++++++++
 PKGBUILD                      |  131 ++++++++++++++++++++--------------------
 default-ca-certificates.patch |   24 +++----
 3 files changed, 112 insertions(+), 76 deletions(-)

Copied: neomutt/repos/community-x86_64/2270.patch (from rev 615597, neomutt/trunk/2270.patch)
===================================================================
--- 2270.patch	                        (rev 0)
+++ 2270.patch	2020-04-17 16:00:16 UTC (rev 615598)
@@ -0,0 +1,33 @@
+From 9e7537caddb9c6adc720bb3322a7512cf51ab025 Mon Sep 17 00:00:00 2001
+From: Richard Russon <rich at flatcap.org>
+Date: Fri, 17 Apr 2020 15:36:58 +0100
+Subject: [PATCH] ensure OP_NULL is always first
+
+A recent refactoring altered the ordering of the OPs when autocrypt was
+enabled.  This mean that OP_NULL wasn't 0 any more.
+
+Fixes: #2268
+---
+ opcodes.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/opcodes.h b/opcodes.h
+index 701df71f86..3984d3a038 100644
+--- a/opcodes.h
++++ b/opcodes.h
+@@ -37,7 +37,6 @@
+ #endif
+ 
+ #define OPS_CORE(_fmt) \
+-  _fmt(OP_NULL,                           N_("null operation")) \
+   _fmt(OP_ATTACH_COLLAPSE,                N_("toggle display of subparts")) \
+   _fmt(OP_ATTACH_VIEW_MAILCAP,            N_("force viewing of attachment using mailcap")) \
+   _fmt(OP_ATTACH_VIEW_TEXT,               N_("view attachment as text")) \
+@@ -317,6 +316,7 @@
+   _fmt(OP_COMPOSE_SMIME_MENU,             N_("show S/MIME options")) \
+ 
+ #define OPS(_fmt) \
++  _fmt(OP_NULL,                           N_("null operation")) \
+   OPS_AUTOCRYPT(_fmt) \
+   OPS_CORE(_fmt) \
+   OPS_SIDEBAR(_fmt) \

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-17 16:00:11 UTC (rev 615597)
+++ PKGBUILD	2020-04-17 16:00:16 UTC (rev 615598)
@@ -1,64 +0,0 @@
-# Maintainer: Alad Wenter <alad at archlinux.org>
-# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Contributor: Chris Salzberg <chris at dejimata.com>
-# Contributor: Leonidas Spyropoulos <artafinde at gmail.com>
-pkgname=neomutt
-pkgver=20200320
-pkgrel=1
-pkgdesc='A version of mutt with added features'
-url='https://neomutt.org/'
-license=('GPL')
-arch=('x86_64')
-depends=('glibc' 'gpgme' 'lua' 'notmuch-runtime' 'krb5' 'gnutls' 'sqlite'
-         'libsasl' 'ncurses' 'libidn2' 'lmdb' 'gdbm' 'kyotocabinet'
-         'lz4' 'zlib' 'zstd')
-optdepends=('python: keybase.py'
-            'perl: smime_keys'
-            'ca-certificates: default CA certificates')
-makedepends=('git' 'gnupg' 'libxslt' 'docbook-xsl' 'w3m')
-_github='https://github.com/neomutt/neomutt'
-source=("$pkgname-$pkgver.tar.gz::$_github/archive/$pkgver.tar.gz"
-        "$pkgname-$pkgver.tar.gz.sig::$_github/releases/download/$pkgver/$pkgver.tar.gz.sig"
-        "default-ca-certificates.patch")
-sha256sums=('69daf2e0633dee7e8bdba74ab714adfa70e8f078028b56d612228c2aa836aafa'
-            'SKIP'
-            '410a364ae8249c969fc321f0f50ecb4603e9443bd73b31f58c8487e6b8b510e0')
-validpgpkeys=('86C2397270DD7A561263CA4E5FAF0A6EE7371805') # Richard Russon (flatcap) <rich at flatcap.org>
-
-prepare() {
-    cd "$pkgname-$pkgver"
-    patch -Np1 -i "$srcdir/default-ca-certificates.patch"
-}
-
-build() {
-    cd "$pkgname-$pkgver"
-    ./configure \
-        --prefix=/usr \
-        --sysconfdir=/etc \
-        --libexecdir=/usr/lib \
-        --gpgme \
-        --sqlite \
-        --autocrypt \
-        --lua \
-        --notmuch \
-        --gss \
-        --gnutls \
-        --sasl \
-        --with-ui=ncurses \
-        --with-idn2=/usr \
-        --disable-idn \
-        --idn2 \
-        --lmdb \
-        --kyotocabinet \
-        --gdbm \
-        --lz4 \
-        --zlib \
-        --zstd
-    make
-}
-
-package() {
-    cd "$pkgname-$pkgver"
-    make DESTDIR="$pkgdir" install
-}

Copied: neomutt/repos/community-x86_64/PKGBUILD (from rev 615597, neomutt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-17 16:00:16 UTC (rev 615598)
@@ -0,0 +1,67 @@
+# Maintainer: Alad Wenter <alad at archlinux.org>
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Chris Salzberg <chris at dejimata.com>
+# Contributor: Leonidas Spyropoulos <artafinde at gmail.com>
+pkgname=neomutt
+pkgver=20200417
+pkgrel=1
+pkgdesc='A version of mutt with added features'
+url='https://neomutt.org/'
+license=('GPL')
+arch=('x86_64')
+depends=('glibc' 'gpgme' 'lua' 'notmuch-runtime' 'krb5' 'gnutls' 'sqlite'
+         'libsasl' 'ncurses' 'libidn2' 'lmdb' 'gdbm' 'kyotocabinet'
+         'lz4' 'zlib' 'zstd')
+optdepends=('python: keybase.py'
+            'perl: smime_keys'
+            'ca-certificates: default CA certificates')
+makedepends=('git' 'gnupg' 'libxslt' 'docbook-xsl' 'w3m')
+_github='https://github.com/neomutt/neomutt'
+source=("$pkgname-$pkgver.tar.gz::$_github/archive/$pkgver.tar.gz"
+        "$pkgname-$pkgver.tar.gz.sig::$_github/releases/download/$pkgver/$pkgver.tar.gz.sig"
+        "2270.patch"
+        "default-ca-certificates.patch")
+sha256sums=('6ed358053ae17694b580f3b5b13eec9f00f5a7320e76fae6fba767607c40cc48'
+            'SKIP'
+            '014b02fe80e9b8bed6dba5230c3b62f34bc5b6b82326f27236f375620e059a80'
+            '571716b8979e9b43328416c3c56eff228b6c58355d7c080b8987ea89c6360776')
+validpgpkeys=('86C2397270DD7A561263CA4E5FAF0A6EE7371805') # Richard Russon (flatcap) <rich at flatcap.org>
+
+prepare() {
+    cd "$pkgname-$pkgver"
+    patch -Np1 -i "$srcdir/2270.patch"
+    patch -Np1 -i "$srcdir/default-ca-certificates.patch"
+}
+
+build() {
+    cd "$pkgname-$pkgver"
+    ./configure \
+        --prefix=/usr \
+        --sysconfdir=/etc \
+        --libexecdir=/usr/lib \
+        --gpgme \
+        --sqlite \
+        --autocrypt \
+        --lua \
+        --notmuch \
+        --gss \
+        --gnutls \
+        --sasl \
+        --with-ui=ncurses \
+        --with-idn2=/usr \
+        --disable-idn \
+        --idn2 \
+        --lmdb \
+        --kyotocabinet \
+        --gdbm \
+        --lz4 \
+        --zlib \
+        --zstd
+    make
+}
+
+package() {
+    cd "$pkgname-$pkgver"
+    make DESTDIR="$pkgdir" install
+}

Deleted: default-ca-certificates.patch
===================================================================
--- default-ca-certificates.patch	2020-04-17 16:00:11 UTC (rev 615597)
+++ default-ca-certificates.patch	2020-04-17 16:00:16 UTC (rev 615598)
@@ -1,12 +0,0 @@
---- a/doc/neomuttrc.head
-+++ b/doc/neomuttrc.head.new
-@@ -48,6 +48,9 @@ bind browser y exit
- # be undone with unmime_lookup.
- mime_lookup application/octet-stream
-
-+# System-wide CA file managed by the ca-certificates package
-+set ssl_ca_certificates_file="/etc/ssl/certs/ca-certificates.crt"
-+
- ##
- ## *** DEFAULT SETTINGS FOR THE ATTACHMENTS PATCH ***
- ##

Copied: neomutt/repos/community-x86_64/default-ca-certificates.patch (from rev 615597, neomutt/trunk/default-ca-certificates.patch)
===================================================================
--- default-ca-certificates.patch	                        (rev 0)
+++ default-ca-certificates.patch	2020-04-17 16:00:16 UTC (rev 615598)
@@ -0,0 +1,12 @@
+--- a/docs/neomuttrc.head
++++ b/docs/neomuttrc.head.new
+@@ -48,6 +48,9 @@ bind browser y exit
+ # be undone with unmime_lookup.
+ mime_lookup application/octet-stream
+
++# System-wide CA file managed by the ca-certificates package
++set ssl_ca_certificates_file="/etc/ssl/certs/ca-certificates.crt"
++
+ ##
+ ## *** DEFAULT SETTINGS FOR THE ATTACHMENTS PATCH ***
+ ##



More information about the arch-commits mailing list