Date: Friday, May 12, 2023 @ 13:05:16
Author: freswa
Revision: 1460089
archrelease: copy trunk to community-x86_64
Added:
neomutt/repos/community-x86_64/PKGBUILD
(from rev 1460088, neomutt/trunk/PKGBUILD)
neomutt/repos/community-x86_64/default-ca-certificates.patch
(from rev 1460088, neomutt/trunk/default-ca-certificates.patch)
neomutt/repos/community-x86_64/find_gpg-error_with_pkgconf.patch
(from rev 1460088, neomutt/trunk/find_gpg-error_with_pkgconf.patch)
neomutt/repos/community-x86_64/keys/
Deleted:
neomutt/repos/community-x86_64/PKGBUILD
neomutt/repos/community-x86_64/default-ca-certificates.patch
neomutt/repos/community-x86_64/find_gpg-error_with_pkgconf.patch
neomutt/repos/community-x86_64/keys/
-----------------------------------+
PKGBUILD | 132 ++++++++++-----------
default-ca-certificates.patch | 24 +--
find_gpg-error_with_pkgconf.patch | 220 ++++++++++++++++++------------------
3 files changed, 188 insertions(+), 188 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-12 13:05:03 UTC (rev 1460088)
+++ PKGBUILD 2023-05-12 13:05:16 UTC (rev 1460089)
@@ -1,66 +0,0 @@
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Maintainer: Frederik Schwan <freswa at archlinux dot org>
-# Contributor: Alad Wenter <[email protected]>
-# Contributor: Jelle van der Waa <[email protected]>
-# Contributor: Chris Salzberg <[email protected]>
-# Contributor: Leonidas Spyropoulos <[email protected]>
-pkgname=neomutt
-pkgver=20230407
-pkgrel=1
-pkgdesc='A version of mutt with added features'
-url='https://neomutt.org/'
-license=('GPL')
-arch=('x86_64')
-depends=('glibc' 'gpgme' 'lua53' '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=('9c1167984337d136368fbca56be8c04a550060a2fdd33c96538910ea13ba6d4f'
- 'SKIP'
- '571716b8979e9b43328416c3c56eff228b6c58355d7c080b8987ea89c6360776')
-validpgpkeys=('86C2397270DD7A561263CA4E5FAF0A6EE7371805') # Richard Russon
(flatcap) <[email protected]>
-
-prepare() {
- cd "$pkgname-$pkgver"
- patch -Np1 -i ../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 \
- --ubsan \
- --lz4 \
- --zlib \
- --zstd
- make
-}
-
-package() {
- cd "$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
-}
Copied: neomutt/repos/community-x86_64/PKGBUILD (from rev 1460088,
neomutt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-12 13:05:16 UTC (rev 1460089)
@@ -0,0 +1,66 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Alad Wenter <[email protected]>
+# Contributor: Jelle van der Waa <[email protected]>
+# Contributor: Chris Salzberg <[email protected]>
+# Contributor: Leonidas Spyropoulos <[email protected]>
+pkgname=neomutt
+pkgver=20230512
+pkgrel=1
+pkgdesc='A version of mutt with added features'
+url='https://neomutt.org/'
+license=('GPL')
+arch=('x86_64')
+depends=('glibc' 'gpgme' 'lua53' '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=('44a6c9d8e6f58c6a3b21b6af5f044ffd0ed2deb1a7cdc6bdda14669917bd09c4'
+ 'SKIP'
+ '571716b8979e9b43328416c3c56eff228b6c58355d7c080b8987ea89c6360776')
+validpgpkeys=('86C2397270DD7A561263CA4E5FAF0A6EE7371805') # Richard Russon
(flatcap) <[email protected]>
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ patch -Np1 -i ../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 \
+ --ubsan \
+ --lz4 \
+ --zlib \
+ --zstd
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
Deleted: default-ca-certificates.patch
===================================================================
--- default-ca-certificates.patch 2023-05-12 13:05:03 UTC (rev 1460088)
+++ default-ca-certificates.patch 2023-05-12 13:05:16 UTC (rev 1460089)
@@ -1,12 +0,0 @@
---- 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 ***
- ##
Copied: neomutt/repos/community-x86_64/default-ca-certificates.patch (from rev
1460088, neomutt/trunk/default-ca-certificates.patch)
===================================================================
--- default-ca-certificates.patch (rev 0)
+++ default-ca-certificates.patch 2023-05-12 13:05:16 UTC (rev 1460089)
@@ -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 ***
+ ##
Deleted: find_gpg-error_with_pkgconf.patch
===================================================================
--- find_gpg-error_with_pkgconf.patch 2023-05-12 13:05:03 UTC (rev 1460088)
+++ find_gpg-error_with_pkgconf.patch 2023-05-12 13:05:16 UTC (rev 1460089)
@@ -1,110 +0,0 @@
-diff --git a/Makefile.autosetup b/Makefile.autosetup
-index 339c536eba..2ae61bc107 100644
---- a/Makefile.autosetup
-+++ b/Makefile.autosetup
-@@ -601,7 +601,7 @@ $(PWD)/mutt:
- LIBNCRYPT= libncrypt.a
- LIBNCRYPTOBJS= ncrypt/config.o ncrypt/crypt.o ncrypt/cryptglue.o \
- ncrypt/crypt_mod.o
--@if HAVE_GPGME
-+@if HAVE_PKG_GPGME
- LIBNCRYPTOBJS+= ncrypt/crypt_gpgme.o ncrypt/dlg_gpgme.o \
- ncrypt/gpgme_functions.o ncrypt/crypt_mod_pgp_gpgme.o \
- ncrypt/crypt_mod_smime_gpgme.o
-diff --git a/auto.def b/auto.def
-index 34572c4e72..24fe5eb95f 100644
---- a/auto.def
-+++ b/auto.def
-@@ -478,88 +478,13 @@
- define-append CFLAGS -D_FILE_OFFSET_BITS=[get-define _FILE_OFFSET_BITS]
- }
-
-- msg-checking "Checking for GPGME..."
-- if {1} {
-- # Locate gpgme-config
-- set gpgme_prefix [opt-val with-gpgme $prefix]
-- set gpgme_config_guess [file join $gpgme_prefix bin gpgme-config]
-- if {[file-isexec $gpgme_config_guess]} {
-- define GPGME-CONFIG $gpgme_config_guess
-- } else {
-- if {![cc-check-progs gpgme-config]} {
-- user-error "Unable to find gpgme-config"
-- }
-- }
-- set gpgme_config [get-define GPGME-CONFIG]
-+ pkgconf true gpgme
-+ pkgconf true gpg-error
-+ # Version might look like this: 1.13.1-unknown, so split on both '.'
and '-'
-+ lassign [split [get-define PKG_GPGME_VERSION] .-] gpgme_maj gpgme_min
gpgme_patch
-
-- # Version
-- if {[catch {exec-with-stderr $gpgme_config --version} gpgme_version err]}
{
-- user-error "Could not derive --version from $gpgme_config"
-- }
-- if {[scan $gpgme_version "%d.%d.%d" gpgme_maj gpgme_min gpgme_patch] !=
3} {
-- user-error "Could not parse GPGME version $gpgme_version"
-- }
-- msg-result $gpgme_version
-- if {[get-define want-autocrypt]} {
-- if {$gpgme_maj < 1 || $gpgme_min < 8} {
-- user-error "Found GPGME version $gpgme_version, need 1.8.0 for
AutoCrypt"
-- }
-- } else {
-- if {$gpgme_maj < 1 || $gpgme_min < 4} {
-- user-error "Found GPGME version $gpgme_version, need 1.4.0"
-- }
-- }
-- define GPGME_VERSION_NUMBER [format "0x%02x%02x%02x" $gpgme_maj
$gpgme_min $gpgme_patch]
--
-- # RHEL6 doesn't have this function yet
-- cc-check-function-in-lib gpgme_op_export_keys gpgme
--
-- # CFLAGS
-- if {[catch {exec-with-stderr $gpgme_config --cflags} res err]} {
-- user-error "Could not derive --cflags from $gpgme_config"
-- }
-- define-append CFLAGS $res
--
-- # LIBS
-- if {[catch {exec-with-stderr $gpgme_config --libs} res err]} {
-- user-error "Could not derive --libs from $gpgme_config"
-- }
-- define-append LIBS $res
-- }
-- define-feature gpgme
--
-- msg-checking "Checking for gpg-error..."
-- if {1} {
-- # Locate gpg-error-config
-- set gpg_error_config_guess [file join $gpgme_prefix bin gpg-error-config]
-- if {[file-isexec $gpg_error_config_guess]} {
-- define GPG-ERROR-CONFIG $gpg_error_config_guess
-- } else {
-- if {![cc-check-progs gpg-error-config]} {
-- user-error "Unable to find gpg-error-config"
-- }
-- }
-- set gpg_error_config [get-define GPG-ERROR-CONFIG]
--
-- # Version
-- if {[catch {exec-with-stderr $gpg_error_config --version}
gpg_error_version err]} {
-- user-error "Could not derive --version from $gpg_error_config"
-- }
--
-- # CFLAGS
-- if {[catch {exec-with-stderr $gpg_error_config --cflags} res err]} {
-- user-error "Could not derive --cflags from $gpg_error_config"
-- }
-- define-append CFLAGS $res
--
-- # LIBS
-- if {[catch {exec-with-stderr $gpg_error_config --libs} res err]} {
-- user-error "Could not derive --libs from $gpg_error_config"
-- }
-- define-append LIBS $res
-- }
-- msg-result $gpg_error_version
-
-+ define GPGME_VERSION_NUMBER [format "0x%02x%02x%02x" $gpgme_maj
$gpgme_min $gpgme_patch]
- define CRYPT_BACKEND_GPGME
- }
Copied: neomutt/repos/community-x86_64/find_gpg-error_with_pkgconf.patch (from
rev 1460088, neomutt/trunk/find_gpg-error_with_pkgconf.patch)
===================================================================
--- find_gpg-error_with_pkgconf.patch (rev 0)
+++ find_gpg-error_with_pkgconf.patch 2023-05-12 13:05:16 UTC (rev 1460089)
@@ -0,0 +1,110 @@
+diff --git a/Makefile.autosetup b/Makefile.autosetup
+index 339c536eba..2ae61bc107 100644
+--- a/Makefile.autosetup
++++ b/Makefile.autosetup
+@@ -601,7 +601,7 @@ $(PWD)/mutt:
+ LIBNCRYPT= libncrypt.a
+ LIBNCRYPTOBJS= ncrypt/config.o ncrypt/crypt.o ncrypt/cryptglue.o \
+ ncrypt/crypt_mod.o
+-@if HAVE_GPGME
++@if HAVE_PKG_GPGME
+ LIBNCRYPTOBJS+= ncrypt/crypt_gpgme.o ncrypt/dlg_gpgme.o \
+ ncrypt/gpgme_functions.o ncrypt/crypt_mod_pgp_gpgme.o \
+ ncrypt/crypt_mod_smime_gpgme.o
+diff --git a/auto.def b/auto.def
+index 34572c4e72..24fe5eb95f 100644
+--- a/auto.def
++++ b/auto.def
+@@ -478,88 +478,13 @@
+ define-append CFLAGS -D_FILE_OFFSET_BITS=[get-define _FILE_OFFSET_BITS]
+ }
+
+- msg-checking "Checking for GPGME..."
+- if {1} {
+- # Locate gpgme-config
+- set gpgme_prefix [opt-val with-gpgme $prefix]
+- set gpgme_config_guess [file join $gpgme_prefix bin gpgme-config]
+- if {[file-isexec $gpgme_config_guess]} {
+- define GPGME-CONFIG $gpgme_config_guess
+- } else {
+- if {![cc-check-progs gpgme-config]} {
+- user-error "Unable to find gpgme-config"
+- }
+- }
+- set gpgme_config [get-define GPGME-CONFIG]
++ pkgconf true gpgme
++ pkgconf true gpg-error
++ # Version might look like this: 1.13.1-unknown, so split on both '.'
and '-'
++ lassign [split [get-define PKG_GPGME_VERSION] .-] gpgme_maj gpgme_min
gpgme_patch
+
+- # Version
+- if {[catch {exec-with-stderr $gpgme_config --version} gpgme_version err]}
{
+- user-error "Could not derive --version from $gpgme_config"
+- }
+- if {[scan $gpgme_version "%d.%d.%d" gpgme_maj gpgme_min gpgme_patch] !=
3} {
+- user-error "Could not parse GPGME version $gpgme_version"
+- }
+- msg-result $gpgme_version
+- if {[get-define want-autocrypt]} {
+- if {$gpgme_maj < 1 || $gpgme_min < 8} {
+- user-error "Found GPGME version $gpgme_version, need 1.8.0 for
AutoCrypt"
+- }
+- } else {
+- if {$gpgme_maj < 1 || $gpgme_min < 4} {
+- user-error "Found GPGME version $gpgme_version, need 1.4.0"
+- }
+- }
+- define GPGME_VERSION_NUMBER [format "0x%02x%02x%02x" $gpgme_maj
$gpgme_min $gpgme_patch]
+-
+- # RHEL6 doesn't have this function yet
+- cc-check-function-in-lib gpgme_op_export_keys gpgme
+-
+- # CFLAGS
+- if {[catch {exec-with-stderr $gpgme_config --cflags} res err]} {
+- user-error "Could not derive --cflags from $gpgme_config"
+- }
+- define-append CFLAGS $res
+-
+- # LIBS
+- if {[catch {exec-with-stderr $gpgme_config --libs} res err]} {
+- user-error "Could not derive --libs from $gpgme_config"
+- }
+- define-append LIBS $res
+- }
+- define-feature gpgme
+-
+- msg-checking "Checking for gpg-error..."
+- if {1} {
+- # Locate gpg-error-config
+- set gpg_error_config_guess [file join $gpgme_prefix bin gpg-error-config]
+- if {[file-isexec $gpg_error_config_guess]} {
+- define GPG-ERROR-CONFIG $gpg_error_config_guess
+- } else {
+- if {![cc-check-progs gpg-error-config]} {
+- user-error "Unable to find gpg-error-config"
+- }
+- }
+- set gpg_error_config [get-define GPG-ERROR-CONFIG]
+-
+- # Version
+- if {[catch {exec-with-stderr $gpg_error_config --version}
gpg_error_version err]} {
+- user-error "Could not derive --version from $gpg_error_config"
+- }
+-
+- # CFLAGS
+- if {[catch {exec-with-stderr $gpg_error_config --cflags} res err]} {
+- user-error "Could not derive --cflags from $gpg_error_config"
+- }
+- define-append CFLAGS $res
+-
+- # LIBS
+- if {[catch {exec-with-stderr $gpg_error_config --libs} res err]} {
+- user-error "Could not derive --libs from $gpg_error_config"
+- }
+- define-append LIBS $res
+- }
+- msg-result $gpg_error_version
+
++ define GPGME_VERSION_NUMBER [format "0x%02x%02x%02x" $gpgme_maj
$gpgme_min $gpgme_patch]
+ define CRYPT_BACKEND_GPGME
+ }