summaryrefslogtreecommitdiff
path: root/community/couchdb
diff options
context:
space:
mode:
Diffstat (limited to 'community/couchdb')
-rw-r--r--community/couchdb/PKGBUILD11
-rw-r--r--community/couchdb/erlang-r16b01.patch12
2 files changed, 19 insertions, 4 deletions
diff --git a/community/couchdb/PKGBUILD b/community/couchdb/PKGBUILD
index 92a5e7393..276e62de3 100644
--- a/community/couchdb/PKGBUILD
+++ b/community/couchdb/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 90750 2013-05-13 15:02:06Z spupykin $
+# $Id: PKGBUILD 93089 2013-06-24 09:55:10Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua
# Contributor: Michael Fellinger <m.fellinger@gmail.com>
pkgname=couchdb
pkgver=1.2.2
-pkgrel=3
+pkgrel=4
pkgdesc="A document-oriented database that can be queried and indexed in a MapReduce fashion using JSON"
arch=('i686' 'x86_64')
url="http://couchdb.apache.org"
@@ -19,16 +19,19 @@ backup=('etc/couchdb/local.ini'
source=("http://www.sai.msu.su/apache/couchdb/source/$pkgver/apache-couchdb-$pkgver.tar.gz"{,.asc}
"couchdb.service"
"couchdb.tmpfiles"
- "build-fix.patch")
+ "build-fix.patch"
+ "erlang-r16b01.patch")
md5sums=('6cc49c22fadcf7d8cf8aa34dae71b203'
'SKIP'
'8914a7ffc6745f94106d96206709acb4'
'1e254ebe32eeb061be64193bafa35dbf'
- '71afe48505dfc07ba2091786b4650fa2')
+ '71afe48505dfc07ba2091786b4650fa2'
+ '5ee0105a72b841de4d9c19d0fd2508e0')
build() {
cd "$srcdir/apache-$pkgname-$pkgver"
patch -p1 <$srcdir/build-fix.patch
+ patch -p1 <$srcdir/erlang-r16b01.patch
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var
diff --git a/community/couchdb/erlang-r16b01.patch b/community/couchdb/erlang-r16b01.patch
new file mode 100644
index 000000000..f10bc6cf9
--- /dev/null
+++ b/community/couchdb/erlang-r16b01.patch
@@ -0,0 +1,12 @@
+diff -wbBur apache-couchdb-1.2.2/src/couchdb/couch_app.erl apache-couchdb-1.2.2.q/src/couchdb/couch_app.erl
+--- apache-couchdb-1.2.2/src/couchdb/couch_app.erl 2013-03-24 00:33:33.000000000 +0400
++++ apache-couchdb-1.2.2.q/src/couchdb/couch_app.erl 2013-06-21 19:30:30.083579366 +0400
+@@ -20,7 +20,7 @@
+
+ start(_Type, DefaultIniFiles) ->
+ IniFiles = get_ini_files(DefaultIniFiles),
+- case start_apps([crypto, public_key, sasl, inets, oauth, ssl, ibrowse, mochiweb, os_mon]) of
++ case start_apps([crypto, asn1, public_key, sasl, inets, oauth, ssl, ibrowse, mochiweb, os_mon]) of
+ ok ->
+ couch_server_sup:start_link(IniFiles);
+ {error, Reason} ->