summaryrefslogtreecommitdiff
path: root/community/couchdb
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-10 01:12:52 -0800
committerroot <root@rshg054.dnsready.net>2013-02-10 01:12:52 -0800
commit1bb2648cde916ac27d3dd75d7b64a4ddc89787b7 (patch)
tree016bfa1969323404c37dbef29cfc7242a5a8e9f3 /community/couchdb
parente9c244cac8e5dc1c59c7e8b7bc885fef04224b70 (diff)
Sun Feb 10 01:12:35 PST 2013
Diffstat (limited to 'community/couchdb')
-rw-r--r--community/couchdb/configure-fix.patch21
-rw-r--r--community/couchdb/rc-script.patch57
2 files changed, 0 insertions, 78 deletions
diff --git a/community/couchdb/configure-fix.patch b/community/couchdb/configure-fix.patch
deleted file mode 100644
index 0bb68ecfe..000000000
--- a/community/couchdb/configure-fix.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -rup apache-couchdb-1.2.0/configure apache-couchdb-1.2.0.new/configure
---- apache-couchdb-1.2.0/configure 2012-03-29 23:05:41.000000000 +0200
-+++ apache-couchdb-1.2.0.new/configure 2012-04-08 13:50:14.923693056 +0200
-@@ -18234,7 +18234,7 @@ echo "$as_me: error: $erlang_version_err
- fi
- fi
-
--otp_release="`${ERL} -noshell -eval 'io:put_chars(erlang:system_info(otp_release)).' -s erlang halt`"
-+otp_release="`${ERL} -smp disable -noshell -eval 'io:put_chars(erlang:system_info(otp_release)).' -s erlang halt`"
-
- if test x$otp_release \> xR13B03; then
- USE_OTP_NIFS_TRUE=
-@@ -18253,7 +18253,7 @@ else
- fi
-
-
--has_crypto=`${ERL} -eval "case application:load(crypto) of ok -> ok; _ -> exit(no_crypto) end." -noshell -s init stop`
-+has_crypto=`${ERL} -smp disable -eval "case application:load(crypto) of ok -> ok; _ -> exit(no_crypto) end." -noshell -s init stop`
-
- if test -n "$has_crypto"; then
- { { echo "$as_me:$LINENO: error: Could not find the Erlang crypto library. Has Erlang been compiled with OpenSSL support?" >&5
diff --git a/community/couchdb/rc-script.patch b/community/couchdb/rc-script.patch
deleted file mode 100644
index 1dd723ffc..000000000
--- a/community/couchdb/rc-script.patch
+++ /dev/null
@@ -1,57 +0,0 @@
---- couchdb 2011-12-27 01:21:59.000000000 +0400
-+++ couchdb.my 2011-12-27 01:21:18.000000000 +0400
-@@ -1,6 +1,4 @@
--#!/bin/bash
--. /etc/rc.conf
--. /etc/rc.d/functions
-+#!/bin/sh -e
-
- # Licensed under the Apache License, Version 2.0 (the "License"); you may not
- # use this file except in compliance with the License. You may obtain a copy of
-@@ -31,7 +29,7 @@
- NAME=couchdb
- SCRIPT_NAME=`basename $0`
- COUCHDB=/usr/bin/couchdb
--CONFIGURATION_FILE=/etc/conf.d/couchdb
-+CONFIGURATION_FILE=/etc/default/couchdb
- RUN_DIR=/var/run/couchdb
- LSB_LIBRARY=/lib/lsb/init-functions
-
-@@ -44,14 +42,16 @@
- fi
-
- log_daemon_msg () {
-- stat_busy $@
-+ # Dummy function to be replaced by LSB library.
-+
-+ echo $@
- }
-
- log_end_msg () {
-+ # Dummy function to be replaced by LSB library.
-+
- if test "$1" != "0"; then
-- stat_fail
-- else
-- stat_done
-+ echo "Error with $DESCRIPTION: $NAME"
- fi
- return $1
- }
-@@ -66,7 +66,7 @@
- command="$command $COUCHDB_OPTIONS"
- fi
- if test -n "$COUCHDB_USER"; then
-- if su $COUCHDB_USER -s /bin/bash -c "$command"; then
-+ if su $COUCHDB_USER -c "$command"; then
- return $SCRIPT_OK
- else
- return $SCRIPT_ERROR
-@@ -84,7 +84,6 @@
- # Start Apache CouchDB as a background process.
-
- mkdir -p "$RUN_DIR"
-- chown -R $COUCHDB_USER "$RUN_DIR"
- command="$COUCHDB -b"
- if test -n "$COUCHDB_STDOUT_FILE"; then
- command="$command -o $COUCHDB_STDOUT_FILE"