Date: Thursday, April 17, 2014 @ 12:32:43
  Author: spupykin
Revision: 109641

upgpkg: ejabberd 13.12-2

upd

Modified:
  ejabberd/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-04-17 07:59:27 UTC (rev 109640)
+++ PKGBUILD    2014-04-17 10:32:43 UTC (rev 109641)
@@ -5,7 +5,7 @@
 
 pkgname=ejabberd
 pkgver=13.12
-pkgrel=1
+pkgrel=2
 pkgdesc="Jabber server written in Erlang"
 arch=('x86_64' 'i686')
 url="http://www.ejabberd.im/";
@@ -38,7 +38,9 @@
        "git://github.com/esl/lhttpc"
        "$pkgname.logrotate"
        "ejabberd.service"
-       "crash-fix.patch")
+       "crash-fix.patch"
+       
"https://github.com/processone/ejabberd/commit/7af7b7d3f0c4bf399fb7db54c38090c8d1a25873.patch";
+       
"https://github.com/processone/ejabberd/commit/d97b4fd9ca36858a12bc5e6841334cde4c8f0431.patch";)
 md5sums=('6eadb6f190d55c8a679de5496ca0c4a9'
          'SKIP'
          'SKIP'
@@ -59,12 +61,19 @@
          'SKIP'
          'f97c8a96160f30e0aecc9526c12e6606'
          'a437aff9d7d477fb036d527205617e18'
-         'ef3dd667dec1627c1597c7f6f3cfcd4a')
+         'ef3dd667dec1627c1597c7f6f3cfcd4a'
+         'aa8cf60e39b0deee112e20f305022ade'
+         '5f2cada6c6504f1e3874ef33606751c8')
 
 prepare() {
   cd "$srcdir/$pkgname-$pkgver"
+
   patch -p1 <$srcdir/crash-fix.patch
 
+  # erlang 17 fix
+  patch -p1 <$srcdir/d97b4fd9ca36858a12bc5e6841334cde4c8f0431.patch
+  patch -p1 <$srcdir/7af7b7d3f0c4bf399fb7db54c38090c8d1a25873.patch
+
   mkdir -p "$srcdir/$pkgname-$pkgver/deps"
   for i in goldrush lager p1_cache_tab p1_iconv p1_pam \
            p1_stringprep p1_tls p1_xml p1_yaml p1_zlib xmlrpc \
@@ -72,6 +81,8 @@
     rm -rf "$srcdir/$pkgname-$pkgver/deps/$i"
     mv $srcdir/$i "$srcdir/$pkgname-$pkgver/deps"
   done
+
+  sed -i 's|%%% @author.*|%%% @author Oscar Hellstrom <os...@hellstrom.st>|g' 
deps/lhttpc/src/lhttpc.app.src
 }
 
 build() {

Reply via email to