[arch-commits] Commit in mailutils/repos (10 files)

Sergej Pupykin spupykin at archlinux.org
Wed Jan 13 18:37:54 UTC 2016


    Date: Wednesday, January 13, 2016 @ 19:37:54
  Author: spupykin
Revision: 156332

archrelease: copy trunk to community-i686, community-x86_64

Added:
  mailutils/repos/community-i686/PKGBUILD
    (from rev 156331, mailutils/trunk/PKGBUILD)
  mailutils/repos/community-i686/mailutils.install
    (from rev 156331, mailutils/trunk/mailutils.install)
  mailutils/repos/community-x86_64/PKGBUILD
    (from rev 156331, mailutils/trunk/PKGBUILD)
  mailutils/repos/community-x86_64/mailutils.install
    (from rev 156331, mailutils/trunk/mailutils.install)
Deleted:
  mailutils/repos/community-i686/PKGBUILD
  mailutils/repos/community-i686/gnutls.patch
  mailutils/repos/community-i686/mailutils.install
  mailutils/repos/community-x86_64/PKGBUILD
  mailutils/repos/community-x86_64/gnutls.patch
  mailutils/repos/community-x86_64/mailutils.install

------------------------------------+
 /PKGBUILD                          |   76 +++++++++++++++++++++++++++++++++++
 /mailutils.install                 |   40 ++++++++++++++++++
 community-i686/PKGBUILD            |   42 -------------------
 community-i686/gnutls.patch        |   25 -----------
 community-i686/mailutils.install   |   20 ---------
 community-x86_64/PKGBUILD          |   42 -------------------
 community-x86_64/gnutls.patch      |   25 -----------
 community-x86_64/mailutils.install |   20 ---------
 8 files changed, 116 insertions(+), 174 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-01-13 18:37:41 UTC (rev 156331)
+++ community-i686/PKGBUILD	2016-01-13 18:37:54 UTC (rev 156332)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=mailutils
-pkgver=2.99.98
-pkgrel=3
-pkgdesc="MUA command line tool (mailx)"
-arch=(i686 x86_64)
-url="http://www.gnu.org/software/mailutils/"
-license=('GPL')
-depends=('libldap' 'pam' 'gnutls')
-makedepends=('emacs')
-install=mailutils.install
-options=(zipman !emptydirs)
-source=(http://alpha.gnu.org/gnu/mailutils/mailutils-$pkgver.tar.xz
-	gnutls.patch)
-md5sums=('7d87795ff24afa966ad5d6785f974141'
-         'd9491cbf1aad93fccb058cf56e9063a9')
-
-prepare() {
-  cd "$srcdir/mailutils-$pkgver"
-  patch -p1 <$srcdir/gnutls.patch
-}
-
-build() {
-  cd "$srcdir/mailutils-$pkgver"
-  ./configure --prefix=/usr --with-gdbm --with-gnutls \
-	--libexecdir=/usr/lib/$pkgname --without-fribidi \
-	--without-tcp-wrappers --sbindir=/usr/bin \
-	--without-python --without-guile
-  make
-}
-
-package() {
-  cd "$srcdir/mailutils-$pkgver"
-  make -j1 DESTDIR=$pkgdir install
-  rm -f $pkgdir/usr/share/info/dir
-  mv $pkgdir/usr/bin/mail $pkgdir/usr/bin/gnu-mail
-  mv $pkgdir/usr/share/man/man1/mail.1 $pkgdir/usr/share/man/man1/gnu-mail.1
-  chown -R root:root $pkgdir
-}

Copied: mailutils/repos/community-i686/PKGBUILD (from rev 156331, mailutils/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-01-13 18:37:54 UTC (rev 156332)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=mailutils
+pkgver=2.99.99
+pkgrel=1
+pkgdesc="MUA command line tool (mailx)"
+arch=(i686 x86_64)
+url="http://www.gnu.org/software/mailutils/"
+license=('GPL')
+depends=('libldap' 'pam' 'gnutls' 'gsasl' 'guile')
+makedepends=('emacs')
+install=mailutils.install
+options=(!emptydirs)
+source=(http://alpha.gnu.org/gnu/mailutils/mailutils-$pkgver.tar.xz)
+md5sums=('dbc9ea6d18bf8187a08bff3007af1ad7')
+
+build() {
+  cd "$srcdir/mailutils-$pkgver"
+  ./configure \
+	--prefix=/usr \
+	--sbindir=/usr/bin \
+	--libexecdir=/usr/lib/$pkgname \
+	--with-gdbm \
+	--with-gnutls \
+	--disable-python
+  make CFLAGS="$CFLAGS -O2" || make CFLAGS="$CFLAGS -O2" LDFLAGS="-L`pwd`/lib -lmutcpwrap"
+}
+
+package() {
+  cd "$srcdir/mailutils-$pkgver"
+  make -j1 DESTDIR=$pkgdir install
+  rm -f $pkgdir/usr/share/info/dir
+  mv $pkgdir/usr/bin/mail $pkgdir/usr/bin/gnu-mail
+  mv $pkgdir/usr/share/man/man1/mail.1 $pkgdir/usr/share/man/man1/gnu-mail.1
+  chown -R root:root $pkgdir
+}

Deleted: community-i686/gnutls.patch
===================================================================
--- community-i686/gnutls.patch	2016-01-13 18:37:41 UTC (rev 156331)
+++ community-i686/gnutls.patch	2016-01-13 18:37:54 UTC (rev 156332)
@@ -1,25 +0,0 @@
-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)

Deleted: community-i686/mailutils.install
===================================================================
--- community-i686/mailutils.install	2016-01-13 18:37:41 UTC (rev 156331)
+++ community-i686/mailutils.install	2016-01-13 18:37:54 UTC (rev 156332)
@@ -1,20 +0,0 @@
-infodir=usr/share/info
-filelist=(mailutils.info mailutils.info-1 mailutils.info-2)
-
-post_install() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
-  done
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
-  done
-}

Copied: mailutils/repos/community-i686/mailutils.install (from rev 156331, mailutils/trunk/mailutils.install)
===================================================================
--- community-i686/mailutils.install	                        (rev 0)
+++ community-i686/mailutils.install	2016-01-13 18:37:54 UTC (rev 156332)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(mailutils.info mailutils.info-1 mailutils.info-2)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-01-13 18:37:41 UTC (rev 156331)
+++ community-x86_64/PKGBUILD	2016-01-13 18:37:54 UTC (rev 156332)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=mailutils
-pkgver=2.99.98
-pkgrel=3
-pkgdesc="MUA command line tool (mailx)"
-arch=(i686 x86_64)
-url="http://www.gnu.org/software/mailutils/"
-license=('GPL')
-depends=('libldap' 'pam' 'gnutls')
-makedepends=('emacs')
-install=mailutils.install
-options=(zipman !emptydirs)
-source=(http://alpha.gnu.org/gnu/mailutils/mailutils-$pkgver.tar.xz
-	gnutls.patch)
-md5sums=('7d87795ff24afa966ad5d6785f974141'
-         'd9491cbf1aad93fccb058cf56e9063a9')
-
-prepare() {
-  cd "$srcdir/mailutils-$pkgver"
-  patch -p1 <$srcdir/gnutls.patch
-}
-
-build() {
-  cd "$srcdir/mailutils-$pkgver"
-  ./configure --prefix=/usr --with-gdbm --with-gnutls \
-	--libexecdir=/usr/lib/$pkgname --without-fribidi \
-	--without-tcp-wrappers --sbindir=/usr/bin \
-	--without-python --without-guile
-  make
-}
-
-package() {
-  cd "$srcdir/mailutils-$pkgver"
-  make -j1 DESTDIR=$pkgdir install
-  rm -f $pkgdir/usr/share/info/dir
-  mv $pkgdir/usr/bin/mail $pkgdir/usr/bin/gnu-mail
-  mv $pkgdir/usr/share/man/man1/mail.1 $pkgdir/usr/share/man/man1/gnu-mail.1
-  chown -R root:root $pkgdir
-}

Copied: mailutils/repos/community-x86_64/PKGBUILD (from rev 156331, mailutils/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-01-13 18:37:54 UTC (rev 156332)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=mailutils
+pkgver=2.99.99
+pkgrel=1
+pkgdesc="MUA command line tool (mailx)"
+arch=(i686 x86_64)
+url="http://www.gnu.org/software/mailutils/"
+license=('GPL')
+depends=('libldap' 'pam' 'gnutls' 'gsasl' 'guile')
+makedepends=('emacs')
+install=mailutils.install
+options=(!emptydirs)
+source=(http://alpha.gnu.org/gnu/mailutils/mailutils-$pkgver.tar.xz)
+md5sums=('dbc9ea6d18bf8187a08bff3007af1ad7')
+
+build() {
+  cd "$srcdir/mailutils-$pkgver"
+  ./configure \
+	--prefix=/usr \
+	--sbindir=/usr/bin \
+	--libexecdir=/usr/lib/$pkgname \
+	--with-gdbm \
+	--with-gnutls \
+	--disable-python
+  make CFLAGS="$CFLAGS -O2" || make CFLAGS="$CFLAGS -O2" LDFLAGS="-L`pwd`/lib -lmutcpwrap"
+}
+
+package() {
+  cd "$srcdir/mailutils-$pkgver"
+  make -j1 DESTDIR=$pkgdir install
+  rm -f $pkgdir/usr/share/info/dir
+  mv $pkgdir/usr/bin/mail $pkgdir/usr/bin/gnu-mail
+  mv $pkgdir/usr/share/man/man1/mail.1 $pkgdir/usr/share/man/man1/gnu-mail.1
+  chown -R root:root $pkgdir
+}

Deleted: community-x86_64/gnutls.patch
===================================================================
--- community-x86_64/gnutls.patch	2016-01-13 18:37:41 UTC (rev 156331)
+++ community-x86_64/gnutls.patch	2016-01-13 18:37:54 UTC (rev 156332)
@@ -1,25 +0,0 @@
-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)

Deleted: community-x86_64/mailutils.install
===================================================================
--- community-x86_64/mailutils.install	2016-01-13 18:37:41 UTC (rev 156331)
+++ community-x86_64/mailutils.install	2016-01-13 18:37:54 UTC (rev 156332)
@@ -1,20 +0,0 @@
-infodir=usr/share/info
-filelist=(mailutils.info mailutils.info-1 mailutils.info-2)
-
-post_install() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
-  done
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
-  done
-}

Copied: mailutils/repos/community-x86_64/mailutils.install (from rev 156331, mailutils/trunk/mailutils.install)
===================================================================
--- community-x86_64/mailutils.install	                        (rev 0)
+++ community-x86_64/mailutils.install	2016-01-13 18:37:54 UTC (rev 156332)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(mailutils.info mailutils.info-1 mailutils.info-2)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}



More information about the arch-commits mailing list