import node-sqlite3 2.1.3

Asynchronous, non-blocking SQLite3 bindings for Node.JS.

from aaron bieber (MAINTAINER) with feedback from me and sthen@
ok sthen@
This commit is contained in:
jasper 2012-05-10 10:46:17 +00:00
parent 3dc7d54c0b
commit 404e0ab28d
5 changed files with 183 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/05/10 10:46:17 jasper Exp $
COMMENT = sqlite3 bindings for nodejs
NPM_VERSION = 2.1.3
NPM_NAME = sqlite3
CATEGORIES = databases
MAINTAINER = Aaron Bieber <deftly@gmail.com>
HOMEPAGE = https://github.com/developmentseed/node-sqlite3
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = www/node
CONFIGURE_STYLE = npm ext
WANTLIB = sqlite3
BUILD_DEPENDS = ${RUN_DEPENDS}
# needs expresso and further love
NO_REGRESS = Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (sqlite3-2.1.3.tgz) = sGQQUmFRzcWv/eFnWpGpTA==
RMD160 (sqlite3-2.1.3.tgz) = E8ZC1PLwYDCSVSzF2P1whGAVAp8=
SHA1 (sqlite3-2.1.3.tgz) = MJQ5vZRc0ZjiiDOGIEXf3iiX+uk=
SHA256 (sqlite3-2.1.3.tgz) = EVwuLxuQjFjtDuP6EZurVJIBpsEHZM/97XoZr3l+XGw=
SIZE (sqlite3-2.1.3.tgz) = 2090390

View File

@ -0,0 +1,23 @@
$OpenBSD: patch-binding_gyp,v 1.1.1.1 2012/05/10 10:46:17 jasper Exp $
Build against the system sqlite3.
--- binding.gyp.orig Wed May 9 22:13:31 2012
+++ binding.gyp Wed May 9 22:14:00 2012
@@ -7,9 +7,13 @@
'src/node_sqlite3.cc',
'src/statement.cc'
],
- 'dependencies': [
- 'deps/sqlite3/binding.gyp:sqlite3'
- ]
+ 'link_settings': {
+ 'libraries': [
+ '-lsqlite3',
+ '-lm',
+ '-lstdc++'
+ ],
+ }
}
]
}

View File

@ -0,0 +1 @@
Asynchronous, non-blocking SQLite3 bindings for Node.JS.

View File

@ -0,0 +1,124 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/05/10 10:46:17 jasper Exp $
lib/node_modules/sqlite3/
lib/node_modules/sqlite3/.npmignore
lib/node_modules/sqlite3/LICENSE
lib/node_modules/sqlite3/Makefile
lib/node_modules/sqlite3/README.md
lib/node_modules/sqlite3/benchmark/
lib/node_modules/sqlite3/benchmark/insert-transaction.sql
lib/node_modules/sqlite3/benchmark/insert.js
lib/node_modules/sqlite3/binding.gyp
lib/node_modules/sqlite3/build/
lib/node_modules/sqlite3/build/Makefile
lib/node_modules/sqlite3/build/Release/
lib/node_modules/sqlite3/build/Release/.deps/
lib/node_modules/sqlite3/build/Release/.deps/Release/
lib/node_modules/sqlite3/build/Release/.deps/Release/node_sqlite3.node.d
lib/node_modules/sqlite3/build/Release/.deps/Release/obj.target/
lib/node_modules/sqlite3/build/Release/.deps/Release/obj.target/node_sqlite3/
lib/node_modules/sqlite3/build/Release/.deps/Release/obj.target/node_sqlite3.node.d
lib/node_modules/sqlite3/build/Release/.deps/Release/obj.target/node_sqlite3/src/
lib/node_modules/sqlite3/build/Release/.deps/Release/obj.target/node_sqlite3/src/database.o.d
lib/node_modules/sqlite3/build/Release/.deps/Release/obj.target/node_sqlite3/src/node_sqlite3.o.d
lib/node_modules/sqlite3/build/Release/.deps/Release/obj.target/node_sqlite3/src/statement.o.d
lib/node_modules/sqlite3/build/Release/linker.lock
@bin lib/node_modules/sqlite3/build/Release/node_sqlite3.node
lib/node_modules/sqlite3/build/Release/obj.target/
lib/node_modules/sqlite3/build/Release/obj.target/node_sqlite3/
@bin lib/node_modules/sqlite3/build/Release/obj.target/node_sqlite3.node
lib/node_modules/sqlite3/build/Release/obj.target/node_sqlite3/src/
lib/node_modules/sqlite3/build/Release/obj.target/node_sqlite3/src/database.o
lib/node_modules/sqlite3/build/Release/obj.target/node_sqlite3/src/node_sqlite3.o
lib/node_modules/sqlite3/build/Release/obj.target/node_sqlite3/src/statement.o
lib/node_modules/sqlite3/build/binding.Makefile
lib/node_modules/sqlite3/build/config.gypi
lib/node_modules/sqlite3/build/node_sqlite3.target.mk
lib/node_modules/sqlite3/configure
lib/node_modules/sqlite3/deps/
lib/node_modules/sqlite3/deps/sqlite3/
lib/node_modules/sqlite3/deps/sqlite3/INSTALL
lib/node_modules/sqlite3/deps/sqlite3/Makefile.am
lib/node_modules/sqlite3/deps/sqlite3/Makefile.in
lib/node_modules/sqlite3/deps/sqlite3/README
lib/node_modules/sqlite3/deps/sqlite3/aclocal.m4
lib/node_modules/sqlite3/deps/sqlite3/binding.gyp
lib/node_modules/sqlite3/deps/sqlite3/config.guess
lib/node_modules/sqlite3/deps/sqlite3/config.sub
lib/node_modules/sqlite3/deps/sqlite3/configure
lib/node_modules/sqlite3/deps/sqlite3/configure.ac
lib/node_modules/sqlite3/deps/sqlite3/depcomp
lib/node_modules/sqlite3/deps/sqlite3/install-sh
lib/node_modules/sqlite3/deps/sqlite3/ltmain.sh
lib/node_modules/sqlite3/deps/sqlite3/missing
lib/node_modules/sqlite3/deps/sqlite3/shell.c
lib/node_modules/sqlite3/deps/sqlite3/sqlite3.1
lib/node_modules/sqlite3/deps/sqlite3/sqlite3.c
lib/node_modules/sqlite3/deps/sqlite3/sqlite3.h
lib/node_modules/sqlite3/deps/sqlite3/sqlite3.pc
lib/node_modules/sqlite3/deps/sqlite3/sqlite3.pc.in
lib/node_modules/sqlite3/deps/sqlite3/sqlite3ext.h
lib/node_modules/sqlite3/deps/sqlite3/tea/
lib/node_modules/sqlite3/deps/sqlite3/tea/Makefile.in
lib/node_modules/sqlite3/deps/sqlite3/tea/README
lib/node_modules/sqlite3/deps/sqlite3/tea/aclocal.m4
lib/node_modules/sqlite3/deps/sqlite3/tea/configure
lib/node_modules/sqlite3/deps/sqlite3/tea/configure.in
lib/node_modules/sqlite3/deps/sqlite3/tea/doc/
lib/node_modules/sqlite3/deps/sqlite3/tea/doc/sqlite3.n
lib/node_modules/sqlite3/deps/sqlite3/tea/generic/
lib/node_modules/sqlite3/deps/sqlite3/tea/generic/tclsqlite3.c
lib/node_modules/sqlite3/deps/sqlite3/tea/license.terms
lib/node_modules/sqlite3/deps/sqlite3/tea/pkgIndex.tcl.in
lib/node_modules/sqlite3/deps/sqlite3/tea/tclconfig/
lib/node_modules/sqlite3/deps/sqlite3/tea/tclconfig/install-sh
lib/node_modules/sqlite3/deps/sqlite3/tea/tclconfig/tcl.m4
lib/node_modules/sqlite3/deps/sqlite3/tea/win/
lib/node_modules/sqlite3/deps/sqlite3/tea/win/makefile.vc
lib/node_modules/sqlite3/deps/sqlite3/tea/win/nmakehlp.c
lib/node_modules/sqlite3/deps/sqlite3/tea/win/rules.vc
lib/node_modules/sqlite3/examples/
lib/node_modules/sqlite3/examples/simple-chaining.js
lib/node_modules/sqlite3/lib/
lib/node_modules/sqlite3/lib/index.js
lib/node_modules/sqlite3/lib/sqlite3.js
lib/node_modules/sqlite3/lib/trace.js
lib/node_modules/sqlite3/package.json
lib/node_modules/sqlite3/sqlite3.js
lib/node_modules/sqlite3/src/
lib/node_modules/sqlite3/src/async.h
lib/node_modules/sqlite3/src/database.cc
lib/node_modules/sqlite3/src/database.h
lib/node_modules/sqlite3/src/macros.h
lib/node_modules/sqlite3/src/node_sqlite3.cc
lib/node_modules/sqlite3/src/statement.cc
lib/node_modules/sqlite3/src/statement.h
lib/node_modules/sqlite3/src/threading.h
lib/node_modules/sqlite3/test/
lib/node_modules/sqlite3/test/affected.test.js
lib/node_modules/sqlite3/test/blob.test.js
lib/node_modules/sqlite3/test/cache.test.js
lib/node_modules/sqlite3/test/constants.test.js
lib/node_modules/sqlite3/test/database_fail.test.js
lib/node_modules/sqlite3/test/each.test.js
lib/node_modules/sqlite3/test/exec.test.js
lib/node_modules/sqlite3/test/extension.test.js
lib/node_modules/sqlite3/test/map.test.js
lib/node_modules/sqlite3/test/named_columns.test.js
lib/node_modules/sqlite3/test/named_params.test.js
lib/node_modules/sqlite3/test/null_error.test.js
lib/node_modules/sqlite3/test/open_close.test.js
lib/node_modules/sqlite3/test/other_objects.test.js
lib/node_modules/sqlite3/test/parallel_insert.test.js
lib/node_modules/sqlite3/test/prepare.test.js
lib/node_modules/sqlite3/test/profile.test.js
lib/node_modules/sqlite3/test/rerun.test.js
lib/node_modules/sqlite3/test/scheduling.test.js
lib/node_modules/sqlite3/test/serialization.test.js
lib/node_modules/sqlite3/test/support/
lib/node_modules/sqlite3/test/support/createdb.js
lib/node_modules/sqlite3/test/support/elmo.png
lib/node_modules/sqlite3/test/support/helper.js
lib/node_modules/sqlite3/test/support/prepare.db
lib/node_modules/sqlite3/test/support/script.sql
lib/node_modules/sqlite3/test/trace.test.js
lib/node_modules/sqlite3/test/unicode.test.js