Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=mcirstabumps.git;a=commitdiff;h=d203cf784755531a13ec6082443cdc0ac1e43b33

commit d203cf784755531a13ec6082443cdc0ac1e43b33
Author: DeX77 <[email protected]>
Date:   Wed Jul 1 22:10:01 2015 +0200

mailutils-2.99.98-1-x86_64

* version bump / rebuilt with gnutls>=3.4.2

diff --git a/source/network-extra/mailutils/FrugalBuild 
b/source/network-extra/mailutils/FrugalBuild
index 48eebbf..28657f9 100644
--- a/source/network-extra/mailutils/FrugalBuild
+++ b/source/network-extra/mailutils/FrugalBuild
@@ -2,19 +2,22 @@
# Maintainer: bouleetbil <[email protected]>

pkgname=mailutils
-pkgver=2.2
-pkgrel=5
+pkgver=2.99.98
+pkgrel=1
pkgdesc="Mailutils is a swiss army knife of electronic mail handling. It offers 
a rich set of utilities and daemons for processing the e-mail."
url="http://mailutils.org/";
-depends=('pam' 'gnutls>=3.2.12.1' 'libgcrypt>=1.6.1' 'libldap' 'guile1' 
'pysqlite2' 'gdbm>=1.10')
+depends=('pam' 'gnutls>=3.4.2' 'libgcrypt>=1.6.1' 'libldap' 'guile1' 
'pysqlite2' 'gdbm>=1.10')
makedepends=('openldap' 'emacs' 'krb5')
groups=('network-extra')
archs=('i686' 'x86_64')
-Fconfopts+=" --with-gdbm --with-gnutls \
-       --libexecdir=/usr/lib/$pkgname --without-fribidi \
-       --without-tcp-wrappers"
-up2date="Flasttar http://mailutils.org/download.html";
-source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2 
build-fix.patch python.diff)
-signatures=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2.sig '' '')
+Fconfopts+="   --with-gdbm \
+               --with-gnutls \
+               --libexecdir=/usr/lib/$pkgname \
+               --without-fribidi \
+               --without-tcp-wrappers"
+up2date="Flasttar http://alpha.gnu.org/gnu/$pkgname/";
+source=(http://alpha.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz \
+       gnutls.patch)
+signatures=(http://alpha.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz.sig '')

# optimization OK
diff --git a/source/network-extra/mailutils/gnutls.patch 
b/source/network-extra/mailutils/gnutls.patch
new file mode 100644
index 0000000..a7e3e1a
--- /dev/null
+++ b/source/network-extra/mailutils/gnutls.patch
@@ -0,0 +1,25 @@
+diff -wbBur mailutils-2.99.98.org/libmu_auth/tls.c 
mailutils-2.99.98/libmu_auth/tls.c
+--- mailutils-2.99.98.org/libmu_auth/tls.c     2012-01-05 22:21:42.000000000 
+0400
++++ mailutils-2.99.98/libmu_auth/tls.c 2015-04-16 16:00:39.803642048 +0300
+@@ -428,20 +428,9 @@
+   struct _mu_tls_stream *sp = (struct _mu_tls_stream *) stream;
+   int rc;
+   mu_transport_t transport[2];
+-  static int protocol_priority[] = {GNUTLS_TLS1, GNUTLS_SSL3, 0};
+-  static int kx_priority[] = {GNUTLS_KX_RSA, 0};
+-  static int cipher_priority[] = {GNUTLS_CIPHER_3DES_CBC,
+-                                GNUTLS_CIPHER_ARCFOUR_128,
+-                                0};
+-  static int comp_priority[] = {GNUTLS_COMP_NULL, 0};
+-  static int mac_priority[] = {GNUTLS_MAC_SHA, GNUTLS_MAC_MD5, 0};
+
+   gnutls_init (&sp->session, GNUTLS_CLIENT);
+-  gnutls_protocol_set_priority (sp->session, protocol_priority);
+-  gnutls_cipher_set_priority (sp->session, cipher_priority);
+-  gnutls_compression_set_priority (sp->session, comp_priority);
+-  gnutls_kx_set_priority (sp->session, kx_priority);
+-  gnutls_mac_set_priority (sp->session, mac_priority);
++  gnutls_set_default_priority (sp->session);
+
+   gnutls_certificate_allocate_credentials (&x509_cred);
+   if (mu_tls_module_config.ssl_cafile)
diff --git a/source/network-extra/mailutils/python.diff 
b/source/network-extra/mailutils/python.diff
deleted file mode 100644
index 9264161..0000000
--- a/source/network-extra/mailutils/python.diff
+++ /dev/null
@@ -1,23 +0,0 @@
---- python/libmu_py/Makefile.in.org    2009-09-10 21:18:43.000000000 +0200
-+++ python/libmu_py/Makefile.in        2010-01-21 19:51:58.000000000 +0100
-@@ -122,7 +122,7 @@
-       "$(DESTDIR)$(lispdir)"
- LTLIBRARIES = $(lib_LTLIBRARIES) $(pythonexec_LTLIBRARIES)
- am__DEPENDENCIES_1 =
--c_api_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
-+c_api_la_DEPENDENCIES = libmu_py.la
- am_c_api_la_OBJECTS = c_api.lo
- c_api_la_OBJECTS = $(am_c_api_la_OBJECTS)
- AM_V_lt = $(am__v_lt_$(V))
---- python/libmu_py/Makefile.in.org    2010-01-21 19:54:19.000000000 +0100
-+++ python/libmu_py/Makefile.in        2010-01-21 20:29:56.000000000 +0100
-@@ -886,7 +886,7 @@
-         echo "rm -f \"$${dir}/so_locations\""; \
-         rm -f "$${dir}/so_locations"; \
-       done
--install-pythonexecLTLIBRARIES: $(pythonexec_LTLIBRARIES)
-+install-pythonexecLTLIBRARIES: $(pythonexec_LTLIBRARIES) 
install-libLTLIBRARIES
-       @$(NORMAL_INSTALL)
-       test -z "$(pythonexecdir)" || $(MKDIR_P) "$(DESTDIR)$(pythonexecdir)"
-       @list='$(pythonexec_LTLIBRARIES)'; test -n "$(pythonexecdir)" || list=; 
\
-
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to