Initial import of apache-couchdb-0.8.1.
CouchDB is a distributed, document-oriented, Non-Relational DataBase Management Server (NRDBMS). It is accessible via a RESTful JSON API, and provides incremental replication with bi-directional conflict detection and management. Data is stored with a schema-free, flat address space, and may be queried via a table-oriented reporting engine that uses Javascript as a query language. Joint work of maintainer Benoit Chesneau, fgsch@ and myself.
This commit is contained in:
parent
6122a65c79
commit
4ba937d626
52
databases/apache-couchdb/Makefile
Normal file
52
databases/apache-couchdb/Makefile
Normal file
@ -0,0 +1,52 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/03/16 22:05:59 bernd Exp $
|
||||
|
||||
COMMENT = distributed, document-oriented database
|
||||
|
||||
COUCH_VER = 0.8.1-incubating
|
||||
DISTNAME = apache-couchdb-${COUCH_VER}
|
||||
PKGNAME = apache-couchdb-0.8.1
|
||||
CATEGORIES = databases
|
||||
|
||||
HOMEPAGE = http://incubator.apache.org/couchdb/
|
||||
|
||||
MAINTAINER = Benoit Chesneau <benoitc@metavers.net>
|
||||
|
||||
# Apache 2.0
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM = Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
WANTLIB = c pthread
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_APACHE:=incubator/couchdb/${COUCH_VER}/}
|
||||
|
||||
BUILD_DEPENDS = ::lang/erlang
|
||||
RUN_DEPENDS = ::lang/erlang
|
||||
LIB_DEPENDS = icudata,icui18n,icuuc::textproc/icu4c \
|
||||
js::lang/spidermonkey
|
||||
|
||||
MAKE_FLAGS = LDFLAGS="-L${LOCALBASE}/lib -pthread" \
|
||||
CFLAGS="-I${LOCALBASE}/include/nspr" \
|
||||
localstatelibdir="/var/couchdb" \
|
||||
default_sysconf_data=""
|
||||
|
||||
USE_GMAKE = Yes
|
||||
USE_LIBTOOL = Yes
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ARGS = ${CONFIGURE_SHARED} \
|
||||
--localstatedir=/var \
|
||||
--with-erlang=${LOCALBASE}/lib/erlang/usr/include \
|
||||
--with-spidermonkey=${LOCALBASE}/include/js
|
||||
|
||||
NO_REGRESS = Yes
|
||||
|
||||
SUBST_VARS += COUCH_VER
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/couchdb
|
||||
${INSTALL_DATA} ${WRKBUILD}/etc/couchdb/couch.ini \
|
||||
${PREFIX}/share/examples/couchdb/couch.ini
|
||||
|
||||
.include <bsd.port.mk>
|
5
databases/apache-couchdb/distinfo
Normal file
5
databases/apache-couchdb/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (apache-couchdb-0.8.1-incubating.tar.gz) = ieA3s3C+8zvpPw8xfgdhXw==
|
||||
RMD160 (apache-couchdb-0.8.1-incubating.tar.gz) = KSjus+OBbVo65DtUjN6W3iid3dU=
|
||||
SHA1 (apache-couchdb-0.8.1-incubating.tar.gz) = G75HdqElV32JrnsmIvQG5Zvp0Rk=
|
||||
SHA256 (apache-couchdb-0.8.1-incubating.tar.gz) = ZH8VBpee5T1Ih6KzpfzxAEvmTJRXyNNYqP7Vcg+dqXA=
|
||||
SIZE (apache-couchdb-0.8.1-incubating.tar.gz) = 562627
|
12
databases/apache-couchdb/patches/patch-Makefile_in
Normal file
12
databases/apache-couchdb/patches/patch-Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2009/03/16 22:05:59 bernd Exp $
|
||||
--- Makefile.in.orig Sun Mar 8 00:04:27 2009
|
||||
+++ Makefile.in Sun Mar 8 00:04:43 2009
|
||||
@@ -225,7 +225,7 @@ version_release = @version_release@
|
||||
version_revision = @version_revision@
|
||||
version_stage = @version_stage@
|
||||
SUBDIRS = bin etc src share var
|
||||
-localdoc_DATA = AUTHORS.gz BUGS.gz CHANGES.gz NEWS.gz README.gz THANKS.gz
|
||||
+localdoc_DATA = AUTHORS BUGS CHANGES NEWS README THANKS
|
||||
DISTCLEANFILES = $(localdoc_DATA)
|
||||
EXTRA_DIST = AUTHORS BUGS CHANGES LICENSE NEWS NOTICE README THANKS
|
||||
all: config.h
|
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-etc_couchdb_Makefile_in,v 1.1.1.1 2009/03/16 22:05:59 bernd Exp $
|
||||
--- etc/couchdb/Makefile.in.orig Wed Mar 11 11:33:26 2009
|
||||
+++ etc/couchdb/Makefile.in Wed Mar 11 11:34:02 2009
|
||||
@@ -341,7 +341,7 @@ info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
-install-data-am: install-localconfDATA
|
||||
+install-data-am:
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
8
databases/apache-couchdb/pkg/DESCR
Normal file
8
databases/apache-couchdb/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
||||
CouchDB is a distributed, document-oriented, Non-Relational DataBase
|
||||
Management Server (NRDBMS).
|
||||
|
||||
It is accessible via a RESTful JSON API, and provides incremental
|
||||
replication with bi-directional conflict detection and management.
|
||||
Data is stored with a schema-free, flat address space, and may be
|
||||
queried via a table-oriented reporting engine that uses Javascript
|
||||
as a query language.
|
18
databases/apache-couchdb/pkg/MESSAGE
Normal file
18
databases/apache-couchdb/pkg/MESSAGE
Normal file
@ -0,0 +1,18 @@
|
||||
To start CouchDB at boot and shut it down when the system goes down,
|
||||
add the following lines to /etc/rc.local and /etc/rc.shutdown, respectively:
|
||||
|
||||
/etc/rc.local:
|
||||
|
||||
if [ -x ${TRUEPREFIX}/bin/couchdb ]; then
|
||||
echo -n ' couchdb'
|
||||
install -d -o _couchdb /var/run/couchdb
|
||||
su -l _couchdb -c "${TRUEPREFIX}/bin/couchdb -b -p \
|
||||
/var/run/couchdb/couchdb.pid" >/dev/null
|
||||
fi
|
||||
|
||||
/etc/rc.shutdown:
|
||||
|
||||
if [ -r /var/run/couchdb/couchdb.pid ]; then
|
||||
su -l _couchdb -c "${TRUEPREFIX}/bin/couchdb -d -p \
|
||||
/var/run/couchdb/couchdb.pid" >/dev/null
|
||||
fi
|
2
databases/apache-couchdb/pkg/PFRAG.shared
Normal file
2
databases/apache-couchdb/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2009/03/16 22:05:59 bernd Exp $
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/priv/lib/couch_erl_driver.so
|
142
databases/apache-couchdb/pkg/PLIST
Normal file
142
databases/apache-couchdb/pkg/PLIST
Normal file
@ -0,0 +1,142 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/03/16 22:05:59 bernd Exp $
|
||||
@newgroup _couchdb:621
|
||||
@newuser _couchdb:621:_couchdb:daemon:CouchDB account:/var/couchdb:/bin/sh
|
||||
%%SHARED%%
|
||||
bin/couchdb
|
||||
bin/couchjs
|
||||
lib/couchdb/
|
||||
lib/couchdb/bin/
|
||||
@bin lib/couchdb/bin/couchjs
|
||||
lib/couchdb/erlang/
|
||||
lib/couchdb/erlang/lib/
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/cjson.beam
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/couch.app
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/couch_btree.beam
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/couch_db.beam
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/couch_db_update_notifier.beam
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/couch_doc.beam
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/couch_event_sup.beam
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/couch_file.beam
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/couch_ft_query.beam
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/couch_httpd.beam
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/couch_key_tree.beam
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/couch_log.beam
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/couch_query_servers.beam
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/couch_rep.beam
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/couch_server.beam
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/couch_server_sup.beam
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/couch_stream.beam
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/couch_util.beam
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/ebin/couch_view.beam
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/include/
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/include/couch_db.hrl
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/priv/
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/priv/lib/
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/priv/lib/couch_erl_driver.a
|
||||
lib/couchdb/erlang/lib/couch-${COUCH_VER}/priv/lib/couch_erl_driver.la
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochifmt.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochifmt_records.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochifmt_std.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochihex.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochijson.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochijson2.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochinum.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochiweb.app
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochiweb.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochiweb_app.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochiweb_charref.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochiweb_cookies.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochiweb_echo.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochiweb_headers.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochiweb_html.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochiweb_http.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochiweb_multipart.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochiweb_request.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochiweb_response.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochiweb_skel.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochiweb_socket_server.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochiweb_sup.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/mochiweb_util.beam
|
||||
lib/couchdb/erlang/lib/mochiweb-r82/ebin/reloader.beam
|
||||
@man man/man1/couchdb.1
|
||||
@man man/man1/couchjs.1
|
||||
share/couchdb/
|
||||
share/couchdb/server/
|
||||
share/couchdb/server/main.js
|
||||
share/couchdb/www/
|
||||
share/couchdb/www/browse/
|
||||
share/couchdb/www/browse/_compact_database.html
|
||||
share/couchdb/www/browse/_create_database.html
|
||||
share/couchdb/www/browse/_create_document.html
|
||||
share/couchdb/www/browse/_delete_database.html
|
||||
share/couchdb/www/browse/_delete_document.html
|
||||
share/couchdb/www/browse/_save_view_as.html
|
||||
share/couchdb/www/browse/database.html
|
||||
share/couchdb/www/browse/document.html
|
||||
share/couchdb/www/browse/index.html
|
||||
share/couchdb/www/couch_tests.html
|
||||
share/couchdb/www/favicon.ico
|
||||
share/couchdb/www/image/
|
||||
share/couchdb/www/image/add.gif
|
||||
share/couchdb/www/image/apply.gif
|
||||
share/couchdb/www/image/bg.png
|
||||
share/couchdb/www/image/cancel.gif
|
||||
share/couchdb/www/image/compact.gif
|
||||
share/couchdb/www/image/delete-mini.gif
|
||||
share/couchdb/www/image/delete.gif
|
||||
share/couchdb/www/image/grippie.gif
|
||||
share/couchdb/www/image/hgrad.gif
|
||||
share/couchdb/www/image/load.gif
|
||||
share/couchdb/www/image/logo.png
|
||||
share/couchdb/www/image/order-asc.gif
|
||||
share/couchdb/www/image/order-desc.gif
|
||||
share/couchdb/www/image/path.gif
|
||||
share/couchdb/www/image/progress.gif
|
||||
share/couchdb/www/image/run-mini.gif
|
||||
share/couchdb/www/image/run.gif
|
||||
share/couchdb/www/image/running.gif
|
||||
share/couchdb/www/image/save.gif
|
||||
share/couchdb/www/image/spinner.gif
|
||||
share/couchdb/www/image/test_failure.gif
|
||||
share/couchdb/www/image/test_success.gif
|
||||
share/couchdb/www/image/thead-key.gif
|
||||
share/couchdb/www/image/thead.gif
|
||||
share/couchdb/www/image/toggle-collapse.gif
|
||||
share/couchdb/www/image/toggle-expand.gif
|
||||
share/couchdb/www/image/twisty.gif
|
||||
share/couchdb/www/index.html
|
||||
share/couchdb/www/replicator.html
|
||||
share/couchdb/www/script/
|
||||
share/couchdb/www/script/browse.js
|
||||
share/couchdb/www/script/couch.js
|
||||
share/couchdb/www/script/couch_tests.js
|
||||
share/couchdb/www/script/jquery.cookies.js
|
||||
share/couchdb/www/script/jquery.couch.js
|
||||
share/couchdb/www/script/jquery.dialog.js
|
||||
share/couchdb/www/script/jquery.js
|
||||
share/couchdb/www/script/jquery.resizer.js
|
||||
share/couchdb/www/script/jquery.suggest.js
|
||||
share/couchdb/www/script/json2.js
|
||||
share/couchdb/www/script/pprint.js
|
||||
share/couchdb/www/style/
|
||||
share/couchdb/www/style/layout.css
|
||||
share/doc/couchdb/
|
||||
share/doc/couchdb/AUTHORS
|
||||
share/doc/couchdb/BUGS
|
||||
share/doc/couchdb/CHANGES
|
||||
share/doc/couchdb/NEWS
|
||||
share/doc/couchdb/README
|
||||
share/doc/couchdb/THANKS
|
||||
share/examples/couchdb/
|
||||
@sample ${SYSCONFDIR}/couchdb/
|
||||
share/examples/couchdb/couch.ini
|
||||
@sample ${SYSCONFDIR}/couchdb/couch.ini
|
||||
@mode 700
|
||||
@owner _couchdb
|
||||
@group _couchdb
|
||||
@sample /var/log/couchdb/
|
||||
@sample /var/couchdb/
|
Loading…
Reference in New Issue
Block a user