[arch-commits] Commit in opensmtpd/trunk (PKGBUILD opensmtpd.install)

Sébastien Luttringer seblu at nymeria.archlinux.org
Thu Jun 27 03:15:44 UTC 2013


    Date: Thursday, June 27, 2013 @ 05:15:43
  Author: seblu
Revision: 93172

upgpkg: opensmtpd 5.3.3p1-1

Modified:
  opensmtpd/trunk/PKGBUILD
  opensmtpd/trunk/opensmtpd.install

-------------------+
 PKGBUILD          |    4 ++--
 opensmtpd.install |    5 +++++
 2 files changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-06-27 02:40:55 UTC (rev 93171)
+++ PKGBUILD	2013-06-27 03:15:43 UTC (rev 93172)
@@ -3,7 +3,7 @@
 
 pkgname=opensmtpd
 pkgver=5.3.3p1
-pkgrel=0.1
+pkgrel=1
 pkgdesc='Free implementation of the server-side SMTP protocol'
 arch=('i686' 'x86_64')
 url='http://www.opensmtpd.org/'
@@ -17,7 +17,7 @@
         'smtpd.service'
         'smtpd.socket')
 md5sums=('795982f9b0b45c7645f897ba2ead0024'
-         '1281bab5adfdccb55d57f929c02eed19'
+         'a278f272d97a9fe5a8aac784a7c98d67'
          'c2c01e9ca78df3f65efe40a7c0e17ee0')
 
 prepare() {

Modified: opensmtpd.install
===================================================================
--- opensmtpd.install	2013-06-27 02:40:55 UTC (rev 93171)
+++ opensmtpd.install	2013-06-27 03:15:43 UTC (rev 93172)
@@ -13,6 +13,11 @@
 # arg 2:  the old package version
 post_upgrade() {
   post_install "$1"
+  if (( $(vercmp $2 5.3.3p1-1) < 0 )); then
+    echo 'Configuration files have been moved to /etc/smtpd.'
+    echo 'New users have been added.'
+    echo 'Check your configuration!'
+  fi
 }
 
 # arg 1:  the old package version




More information about the arch-commits mailing list