[arch-commits] Commit in msmtp/repos (5 files)

Eric Bélanger eric at archlinux.org
Fri Mar 23 18:05:03 EDT 2012


    Date: Friday, March 23, 2012 @ 18:05:02
  Author: eric
Revision: 154175

db-move: moved msmtp from [testing] to [extra] (i686)

Added:
  msmtp/repos/extra-i686/PKGBUILD
    (from rev 154174, msmtp/repos/testing-i686/PKGBUILD)
  msmtp/repos/extra-i686/msmtp.install
    (from rev 154174, msmtp/repos/testing-i686/msmtp.install)
Deleted:
  msmtp/repos/extra-i686/PKGBUILD
  msmtp/repos/extra-i686/msmtp.install
  msmtp/repos/testing-i686/

---------------+
 PKGBUILD      |   86 +++++++++++++++++++++++++++++++-------------------------
 msmtp.install |   40 +++++++++++++-------------
 2 files changed, 68 insertions(+), 58 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-03-23 22:04:18 UTC (rev 154174)
+++ extra-i686/PKGBUILD	2012-03-23 22:05:02 UTC (rev 154175)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: tobias <tobias at archlinux.org>
-# Contributor: Ben Mazer <blm at groknil.org>
-
-pkgname=msmtp
-pkgver=1.4.27
-pkgrel=1
-pkgdesc="A mini smtp client"
-arch=('i686' 'x86_64')
-license=('GPL3')
-url="http://msmtp.sourceforge.net"
-depends=('gnutls' 'libidn')
-makedepends=('texlive-core')
-provides=('smtp-forwarder')
-install=msmtp.install
-source=(http://download.sourceforge.net/sourceforge/msmtp/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('e335745133b4729fe84c49f836b4d2fa9281e040')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --sysconfdir=/etc --with-ssl=gnutls
-  make
-  make -C doc html pdf
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install 
-  make DESTDIR="${pkgdir}" -C doc install-html install-pdf
-
-# Installing example configs and scripts to /usr/share/doc/msmtp
-# as they are not installed by default (Debian and Gentoo do it this way)
-  install -d "${pkgdir}/usr/share/doc/msmtp"
-  cp -r scripts/{find_alias,msmtp-gnome-tool,msmtpqueue,msmtpq,set_sendmail} "${pkgdir}/usr/share/doc/msmtp/"
-  install -D -m644 doc/*.example "${pkgdir}/usr/share/doc/msmtp/"
-
-  install -D -m644 scripts/vim/msmtp.vim "${pkgdir}/usr/share/vim/vimfiles/syntax/msmtp.vim"
-}

Copied: msmtp/repos/extra-i686/PKGBUILD (from rev 154174, msmtp/repos/testing-i686/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-03-23 22:05:02 UTC (rev 154175)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Contributor: Ben Mazer <blm at groknil.org>
+
+pkgbase=msmtp
+pkgname=('msmtp' 'msmtp-mta')
+pkgver=1.4.27
+pkgrel=2
+arch=('i686' 'x86_64')
+license=('GPL3')
+url="http://msmtp.sourceforge.net"
+makedepends=('texlive-core' 'gsasl' 'libgnome-keyring')
+source=(http://download.sourceforge.net/sourceforge/msmtp/${pkgbase}-${pkgver}.tar.bz2)
+sha1sums=('e335745133b4729fe84c49f836b4d2fa9281e040')
+
+build() {
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  ./configure --prefix=/usr --sysconfdir=/etc --with-ssl=gnutls
+  make
+  make -C doc html pdf
+}
+
+package_msmtp() {
+  pkgdesc="A mini smtp client"
+  depends=('gsasl' 'libgnome-keyring')
+  install=msmtp.install
+
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  make DESTDIR="${pkgdir}" install 
+  make DESTDIR="${pkgdir}" -C doc install-html install-pdf
+
+# Installing example configs and scripts to /usr/share/doc/msmtp
+# as they are not installed by default (Debian and Gentoo do it this way)
+  install -d "${pkgdir}/usr/share/doc/msmtp"
+  cp -r scripts/{find_alias,msmtp-gnome-tool,msmtpqueue,msmtpq,set_sendmail} "${pkgdir}/usr/share/doc/msmtp/"
+  install -D -m644 doc/*.example "${pkgdir}/usr/share/doc/msmtp/"
+
+  install -D -m644 scripts/vim/msmtp.vim "${pkgdir}/usr/share/vim/vimfiles/syntax/msmtp.vim"
+}
+
+package_msmtp-mta() {
+  pkgdesc="A mini smtp client - the regular MTA"
+  depends=('msmtp')
+  provides=('smtp-forwarder')
+
+  install -d "${pkgdir}/usr/sbin"
+  ln -s /usr/bin/msmtp "${pkgdir}/usr/sbin/sendmail"
+}

Deleted: extra-i686/msmtp.install
===================================================================
--- extra-i686/msmtp.install	2012-03-23 22:04:18 UTC (rev 154174)
+++ extra-i686/msmtp.install	2012-03-23 22:05:02 UTC (rev 154175)
@@ -1,20 +0,0 @@
-infodir=usr/share/info
-filelist=(msmtp.info)
-
-post_install() {
-  for file in ${filelist[@]}; do
-    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
-  done
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  for file in ${filelist[@]}; do
-    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
-  done
-}
-
-# vim:set ts=2 sw=2 et:

Copied: msmtp/repos/extra-i686/msmtp.install (from rev 154174, msmtp/repos/testing-i686/msmtp.install)
===================================================================
--- extra-i686/msmtp.install	                        (rev 0)
+++ extra-i686/msmtp.install	2012-03-23 22:05:02 UTC (rev 154175)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(msmtp.info)
+
+post_install() {
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list