aboutsummaryrefslogtreecommitdiff
path: root/databases/couchdb
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish@FreeBSD.org>2011-08-18 13:24:48 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2011-08-18 13:24:48 +0000
commit2ec38fd52c6c803f0744d2bb0df5f47cabaf6af6 (patch)
tree2f95d55c80626d42242b5a9bd22716ddd4ed7ced /databases/couchdb
parenta0c442537a1cf65feacc7cc6ad4ab6b3b32de5c2 (diff)
downloadports-2ec38fd52c6c803f0744d2bb0df5f47cabaf6af6.tar.gz
ports-2ec38fd52c6c803f0744d2bb0df5f47cabaf6af6.zip
Notes
Diffstat (limited to 'databases/couchdb')
-rw-r--r--databases/couchdb/Makefile25
-rw-r--r--databases/couchdb/distinfo4
-rw-r--r--databases/couchdb/pkg-deinstall15
-rw-r--r--databases/couchdb/pkg-install20
-rw-r--r--databases/couchdb/pkg-plist112
5 files changed, 125 insertions, 51 deletions
diff --git a/databases/couchdb/Makefile b/databases/couchdb/Makefile
index d4cfb32b7376..5e8b07f8d3b2 100644
--- a/databases/couchdb/Makefile
+++ b/databases/couchdb/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= couchdb
-PORTVERSION= 1.0.0
-PORTREVISION= 3
+PORTVERSION= 1.1.0
PORTEPOCH= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_APACHE}
@@ -20,14 +19,12 @@ COMMENT= A document database server, accessible via a RESTful JSON API
LIB_DEPENDS= icudata:${PORTSDIR}/devel/icu \
js:${PORTSDIR}/lang/spidermonkey \
curl.6:${PORTSDIR}/ftp/curl
-BUILD_DEPENDS= ${LOCALBASE}/lib/erlang/usr/include/erl_driver.h:${PORTSDIR}/lang/erlang-lite
-RUN_DEPENDS= ${BUILD_DEPENDS}
+BUILD_DEPENDS= ${LOCALBASE}/lib/erlang/usr/include/erl_driver.h:${PORTSDIR}/lang/erlang-lite \
+ ${LOCALBASE}/bin/help2man:${PORTSDIR}/misc/help2man
+RUN_DEPENDS= ${LOCALBASE}/lib/erlang/usr/include/erl_driver.h:${PORTSDIR}/lang/erlang-lite
-COUCH_VARDIR?= /var
-COUCH_DBDIR?= ${COUCH_VARDIR}/db/couchdb
-COUCH_LOGDIR?= ${COUCH_VARDIR}/log/couchdb
-COUCH_LIBDIR?= ${COUCH_VARDIR}/lib/couchdb
-COUCH_USER?= couchdb
+USERS= couchdb
+GROUPS= couchdb
USERS= ${COUCH_USER}
GROUPS= ${USERS}
@@ -57,10 +54,12 @@ post-patch:
.endif
post-install:
+.ifndef PACKAGE_BUILDING
+ @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+.endif
@${CAT} ${PKGMESSAGE}
- ${MKDIR} ${COUCH_DBDIR}
- ${CHOWN} ${COUCH_USER} ${COUCH_DBDIR}
- ${CHOWN} ${COUCH_USER} ${COUCH_LOGDIR}
- ${CHOWN} ${COUCH_USER} ${COUCH_LIBDIR}
+
+post-deinstall:
+ @PKG_PREFIX=${PREFIX} ${SH} ${PKGDEINSTALL} ${PKGNAME} POST-DEINSTALL
.include <bsd.port.mk>
diff --git a/databases/couchdb/distinfo b/databases/couchdb/distinfo
index 76d8352b184f..9d2cd3da9701 100644
--- a/databases/couchdb/distinfo
+++ b/databases/couchdb/distinfo
@@ -1,2 +1,2 @@
-SHA256 (apache-couchdb-1.0.0.tar.gz) = ca38de6823a51dbfa521f65089683b5ff3aa405e78c807aaf1e1ad24b83c2f57
-SIZE (apache-couchdb-1.0.0.tar.gz) = 951979
+SHA256 (apache-couchdb-1.1.0.tar.gz) = 08432165e72fa55e128e90d34b5b5e2d3b9af228fa2b30d3a3fa70a88a3c6498
+SIZE (apache-couchdb-1.1.0.tar.gz) = 1088226
diff --git a/databases/couchdb/pkg-deinstall b/databases/couchdb/pkg-deinstall
new file mode 100644
index 000000000000..d5ba72d0ab0b
--- /dev/null
+++ b/databases/couchdb/pkg-deinstall
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+RMDIR=/bin/rmdir
+
+COUCH_DBDIR=/var/db/couchdb
+COUCH_LOGDIR=/var/log/couchdb
+COUCH_LIBDIR=/var/lib/couchdb
+
+if [ "$2" = "POST-DEINSTALL" ]; then
+ for i in ${COUCH_LIBDIR} ${COUCH_DBDIR} ${COUCH_LOGDIR}; do
+ ${RMDIR} ${i} 2>/dev/null
+ done
+fi
+
+exit 0
diff --git a/databases/couchdb/pkg-install b/databases/couchdb/pkg-install
new file mode 100644
index 000000000000..5152f6ffcba6
--- /dev/null
+++ b/databases/couchdb/pkg-install
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+COUCH_USER=couchdb
+COUCH_GROUP=couchdb
+
+CHOWN=/usr/sbin/chown
+MKDIR="/bin/mkdir -p"
+
+COUCH_DBDIR=/var/db/couchdb
+COUCH_LOGDIR=/var/log/couchdb
+COUCH_LIBDIR=/var/lib/couchdb
+
+if [ "$2" = "POST-INSTALL" ]; then
+ ${MKDIR} ${COUCH_DBDIR} ${COUCH_LOGDIR} ${COUCH_LIBDIR}
+ ${CHOWN} ${COUCH_USER}:${COUCH_GROUP} ${COUCH_DBDIR}
+ ${CHOWN} ${COUCH_USER}:${COUCH_GROUP} ${COUCH_LOGDIR}
+ ${CHOWN} ${COUCH_USER}:${COUCH_GROUP} ${COUCH_LIBDIR}
+fi
+
+exit 0
diff --git a/databases/couchdb/pkg-plist b/databases/couchdb/pkg-plist
index 865ccf53cd1f..bda12db83841 100644
--- a/databases/couchdb/pkg-plist
+++ b/databases/couchdb/pkg-plist
@@ -58,6 +58,10 @@ lib/couchdb/erlang/lib/couch-%%PORTVERSION%%/ebin/couch_view_compactor.beam
lib/couchdb/erlang/lib/couch-%%PORTVERSION%%/ebin/couch_view_group.beam
lib/couchdb/erlang/lib/couch-%%PORTVERSION%%/ebin/couch_view_updater.beam
lib/couchdb/erlang/lib/couch-%%PORTVERSION%%/ebin/couch_work_queue.beam
+lib/couchdb/erlang/lib/couch-%%PORTVERSION%%/ebin/couch_httpd_proxy.beam
+lib/couchdb/erlang/lib/couch-%%PORTVERSION%%/ebin/couch_httpd_vhost.beam
+lib/couchdb/erlang/lib/couch-%%PORTVERSION%%/ebin/couch_os_daemons.beam
+lib/couchdb/erlang/lib/couch-%%PORTVERSION%%/ebin/couch_replication_manager.beam
lib/couchdb/erlang/lib/couch-%%PORTVERSION%%/include/couch_db.hrl
lib/couchdb/erlang/lib/couch-%%PORTVERSION%%/include/couch_js_functions.hrl
lib/couchdb/erlang/lib/couch-%%PORTVERSION%%/priv/couchspawnkillable
@@ -81,38 +85,48 @@ lib/couchdb/erlang/lib/etap/ebin/etap_report.beam
lib/couchdb/erlang/lib/etap/ebin/etap_request.beam
lib/couchdb/erlang/lib/etap/ebin/etap_string.beam
lib/couchdb/erlang/lib/etap/ebin/etap_web.beam
-lib/couchdb/erlang/lib/ibrowse-1.5.2/ebin/ibrowse.app
-lib/couchdb/erlang/lib/ibrowse-1.5.2/ebin/ibrowse.beam
-lib/couchdb/erlang/lib/ibrowse-1.5.2/ebin/ibrowse_app.beam
-lib/couchdb/erlang/lib/ibrowse-1.5.2/ebin/ibrowse_http_client.beam
-lib/couchdb/erlang/lib/ibrowse-1.5.2/ebin/ibrowse_lb.beam
-lib/couchdb/erlang/lib/ibrowse-1.5.2/ebin/ibrowse_lib.beam
-lib/couchdb/erlang/lib/ibrowse-1.5.2/ebin/ibrowse_sup.beam
-lib/couchdb/erlang/lib/ibrowse-1.5.2/ebin/ibrowse_test.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochifmt.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochifmt_records.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochifmt_std.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochihex.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochijson.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochijson2.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochinum.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochiweb.app
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochiweb.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochiweb_app.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochiweb_charref.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochiweb_cookies.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochiweb_echo.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochiweb_headers.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochiweb_html.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochiweb_http.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochiweb_multipart.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochiweb_request.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochiweb_response.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochiweb_skel.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochiweb_socket_server.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochiweb_sup.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/mochiweb_util.beam
-lib/couchdb/erlang/lib/mochiweb-r113/ebin/reloader.beam
+lib/couchdb/erlang/lib/ibrowse-2.2.0/ebin/ibrowse.app
+lib/couchdb/erlang/lib/ibrowse-2.2.0/ebin/ibrowse.beam
+lib/couchdb/erlang/lib/ibrowse-2.2.0/ebin/ibrowse_app.beam
+lib/couchdb/erlang/lib/ibrowse-2.2.0/ebin/ibrowse_http_client.beam
+lib/couchdb/erlang/lib/ibrowse-2.2.0/ebin/ibrowse_lb.beam
+lib/couchdb/erlang/lib/ibrowse-2.2.0/ebin/ibrowse_lib.beam
+lib/couchdb/erlang/lib/ibrowse-2.2.0/ebin/ibrowse_sup.beam
+lib/couchdb/erlang/lib/ibrowse-2.2.0/ebin/ibrowse_test.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochifmt.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochifmt_records.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochifmt_std.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiglobal.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochihex.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochijson.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochijson2.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochilists.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochilogfile2.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochinum.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochitemp.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiutf8.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb.app
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb_acceptor.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb_app.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb_charref.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb_cookies.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb_cover.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb_echo.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb_headers.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb_html.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb_http.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb_io.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb_mime.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb_multipart.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb_request.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb_response.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb_skel.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb_socket.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb_socket_server.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb_sup.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/mochiweb_util.beam
+lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin/reloader.beam
%%DATADIR%%/server/main.js
%%DATADIR%%/www/_sidebar.html
%%DATADIR%%/www/config.html
@@ -120,14 +134,17 @@ lib/couchdb/erlang/lib/mochiweb-r113/ebin/reloader.beam
%%DATADIR%%/www/custom_test.html
%%DATADIR%%/www/database.html
%%DATADIR%%/www/dialog/_admin_party.html
+%%DATADIR%%/www/dialog/_change_password.html
%%DATADIR%%/www/dialog/_compact_cleanup.html
%%DATADIR%%/www/dialog/_create_admin.html
+%%DATADIR%%/www/dialog/_create_config.html
%%DATADIR%%/www/dialog/_create_database.html
%%DATADIR%%/www/dialog/_database_security.html
%%DATADIR%%/www/dialog/_delete_database.html
%%DATADIR%%/www/dialog/_delete_document.html
%%DATADIR%%/www/dialog/_login.html
%%DATADIR%%/www/dialog/_save_view_as.html
+%%DATADIR%%/www/dialog/_share_test_reports.html
%%DATADIR%%/www/dialog/_signup.html
%%DATADIR%%/www/dialog/_upload_attachment.html
%%DATADIR%%/www/document.html
@@ -155,6 +172,8 @@ lib/couchdb/erlang/lib/mochiweb-r113/ebin/reloader.beam
%%DATADIR%%/www/image/save.png
%%DATADIR%%/www/image/sidebar-toggle.png
%%DATADIR%%/www/image/spinner.gif
+%%DATADIR%%/www/image/spinner_33.gif
+%%DATADIR%%/www/image/spinner_6b.gif
%%DATADIR%%/www/image/test_failure.gif
%%DATADIR%%/www/image/test_success.gif
%%DATADIR%%/www/image/thead-key.gif
@@ -178,12 +197,19 @@ lib/couchdb/erlang/lib/mochiweb-r113/ebin/reloader.beam
%%DATADIR%%/www/script/jquery.js
%%DATADIR%%/www/script/jquery.resizer.js
%%DATADIR%%/www/script/jquery.suggest.js
+%%DATADIR%%/www/script/jquery-ui-1.8.11.custom.min.js
%%DATADIR%%/www/script/json2.js
+%%DATADIR%%/www/script/jspec/jspec.css
+%%DATADIR%%/www/script/jspec/jspec.jquery.js
+%%DATADIR%%/www/script/jspec/jspec.js
+%%DATADIR%%/www/script/jspec/jspec.xhr.js
%%DATADIR%%/www/script/oauth.js
%%DATADIR%%/www/script/sha1.js
%%DATADIR%%/www/script/test/all_docs.js
+%%DATADIR%%/www/script/test/attachment_conflicts.js
%%DATADIR%%/www/script/test/attachment_names.js
%%DATADIR%%/www/script/test/attachment_paths.js
+%%DATADIR%%/www/script/test/attachment_ranges.js
%%DATADIR%%/www/script/test/attachment_views.js
%%DATADIR%%/www/script/test/attachments.js
%%DATADIR%%/www/script/test/attachments_multipart.js
@@ -226,6 +252,7 @@ lib/couchdb/erlang/lib/mochiweb-r113/ebin/reloader.beam
%%DATADIR%%/www/script/test/reduce_false.js
%%DATADIR%%/www/script/test/reduce_false_temp.js
%%DATADIR%%/www/script/test/replication.js
+%%DATADIR%%/www/script/test/replicator_db.js
%%DATADIR%%/www/script/test/rev_stemming.js
%%DATADIR%%/www/script/test/rewrite.js
%%DATADIR%%/www/script/test/security_validation.js
@@ -249,9 +276,20 @@ lib/couchdb/erlang/lib/mochiweb-r113/ebin/reloader.beam
%%DATADIR%%/www/script/test/view_sandboxing.js
%%DATADIR%%/www/script/test/view_update_seq.js
%%DATADIR%%/www/script/test/view_xml.js
+%%DATADIR%%/www/spec/couch_js_class_methods_spec.js
+%%DATADIR%%/www/spec/couch_js_instance_methods_1_spec.js
+%%DATADIR%%/www/spec/couch_js_instance_methods_2_spec.js
+%%DATADIR%%/www/spec/couch_js_instance_methods_3_spec.js
+%%DATADIR%%/www/spec/custom_helpers.js
+%%DATADIR%%/www/spec/jquery_couch_js_class_methods_spec.js
+%%DATADIR%%/www/spec/jquery_couch_js_instance_methods_1_spec.js
+%%DATADIR%%/www/spec/jquery_couch_js_instance_methods_2_spec.js
+%%DATADIR%%/www/spec/jquery_couch_js_instance_methods_3_spec.js
+%%DATADIR%%/www/spec/run.html
%%DATADIR%%/www/session.html
%%DATADIR%%/www/status.html
%%DATADIR%%/www/style/layout.css
+%%DATADIR%%/www/style/jquery-ui-1.8.11.custom.css
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS.gz
%%PORTDOCS%%%%DOCSDIR%%/BUGS.gz
%%PORTDOCS%%%%DOCSDIR%%/CHANGES.gz
@@ -265,10 +303,10 @@ lib/couchdb/erlang/lib/mochiweb-r113/ebin/reloader.beam
%%PORTDOCS%%%%DOCSDIR%%/README.gz
%%PORTDOCS%%%%DOCSDIR%%/THANKS.gz
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm lib/couchdb/erlang/lib/mochiweb-r113/ebin
-@dirrm lib/couchdb/erlang/lib/mochiweb-r113
-@dirrm lib/couchdb/erlang/lib/ibrowse-1.5.2/ebin
-@dirrm lib/couchdb/erlang/lib/ibrowse-1.5.2
+@dirrm lib/couchdb/erlang/lib/mochiweb-7c2bc2/ebin
+@dirrm lib/couchdb/erlang/lib/mochiweb-7c2bc2
+@dirrm lib/couchdb/erlang/lib/ibrowse-2.2.0/ebin
+@dirrm lib/couchdb/erlang/lib/ibrowse-2.2.0
@dirrm lib/couchdb/erlang/lib/etap/ebin
@dirrm lib/couchdb/erlang/lib/etap
@dirrm lib/couchdb/erlang/lib/erlang-oauth/ebin
@@ -289,8 +327,10 @@ lib/couchdb/erlang/lib/mochiweb-r113/ebin/reloader.beam
@dirrm etc/couchdb/local.d
@dirrmtry etc/couchdb
@dirrm %%DATADIR%%/www/style
+@dirrm %%DATADIR%%/www/script/jspec
@dirrm %%DATADIR%%/www/script/test
@dirrm %%DATADIR%%/www/script
+@dirrm %%DATADIR%%/www/spec
@dirrm %%DATADIR%%/www/image
@dirrm %%DATADIR%%/www/dialog
@dirrm %%DATADIR%%/www