Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

421
databases/Makefile Normal file
View File

@@ -0,0 +1,421 @@
# $NetBSD: Makefile,v 1.431 2013/06/13 17:43:03 mspo Exp $
COMMENT= Databases
SUBDIR+= abook
SUBDIR+= adodb
SUBDIR+= apache-cassandra
SUBDIR+= bdb-xml
SUBDIR+= cdb
SUBDIR+= clisp-bdb
SUBDIR+= clisp-gdbm
SUBDIR+= clisp-pgsql
SUBDIR+= couchdb
SUBDIR+= csharp-mysql
#SUBDIR+= cstore # not enabled at present due to its size requirements
SUBDIR+= datadraw
SUBDIR+= db
SUBDIR+= db3
SUBDIR+= db4
SUBDIR+= db46
SUBDIR+= db5
SUBDIR+= dbh
SUBDIR+= deforaos-libdatabase
SUBDIR+= edb
SUBDIR+= freetds
SUBDIR+= gdbm
SUBDIR+= gdbm_compat
SUBDIR+= gdbm_primitive
SUBDIR+= geneweb
SUBDIR+= gigabase
SUBDIR+= gnats
SUBDIR+= gnome-mime-data
SUBDIR+= gourmet
SUBDIR+= gq
SUBDIR+= gramps3
SUBDIR+= gtkdbfeditor
SUBDIR+= gtksql
SUBDIR+= guile-pg
SUBDIR+= idzebra
SUBDIR+= iodbc
SUBDIR+= ipa_sdb
SUBDIR+= java-db3
SUBDIR+= java-qdbm
SUBDIR+= java-tokyocabinet
SUBDIR+= jdbc-mysql31
SUBDIR+= jdbc-mysql5
SUBDIR+= jdbc-postgresql84
SUBDIR+= jdbc-postgresql92
SUBDIR+= kmysqladmin
SUBDIR+= krecipes
SUBDIR+= lbdb
SUBDIR+= ldapvi
SUBDIR+= libcassandra
SUBDIR+= libdbi
SUBDIR+= libdbi-driver-mysql
SUBDIR+= libdbi-driver-pgsql
SUBDIR+= libdbi-driver-sqlite
SUBDIR+= libdbi-driver-sqlite3
SUBDIR+= libgda
SUBDIR+= libgda-mysql
SUBDIR+= libgda-postgres
SUBDIR+= libgnomedb
SUBDIR+= libpqxx
SUBDIR+= libpqxx-doc
SUBDIR+= lua-sqlite
SUBDIR+= lua-tokyocabinet
SUBDIR+= luma
SUBDIR+= maatkit
SUBDIR+= mergeant
SUBDIR+= metakit-lib
SUBDIR+= myodbc
SUBDIR+= mysql-workbench
SUBDIR+= mysql5-client
SUBDIR+= mysql5-server
SUBDIR+= mysql51-client
SUBDIR+= mysql51-server
SUBDIR+= mysql55-client
SUBDIR+= mysql55-server
SUBDIR+= mysql56-client
SUBDIR+= mysql56-server
SUBDIR+= mysqlcc
SUBDIR+= mytop
SUBDIR+= nss-pgsql
SUBDIR+= nss_ldap
SUBDIR+= ocaml-dbm
SUBDIR+= ocaml-mysql
SUBDIR+= ocaml-sqlite3
SUBDIR+= odbc-postgresql
SUBDIR+= openldap
SUBDIR+= openldap-client
SUBDIR+= openldap-cloak
SUBDIR+= openldap-doc
SUBDIR+= openldap-nops
SUBDIR+= openldap-server
SUBDIR+= openldap-smbk5pwd
SUBDIR+= oraedit
SUBDIR+= p5-AddressBook
SUBDIR+= p5-AnyEvent-BDB
SUBDIR+= p5-Apache-DBI
SUBDIR+= p5-App-Sqitch
SUBDIR+= p5-BDB
SUBDIR+= p5-BerkeleyDB
SUBDIR+= p5-CDB_File
SUBDIR+= p5-Catalyst-Model-DBIC-Schema
SUBDIR+= p5-Catalyst-Model-RDBO
SUBDIR+= p5-CatalystX-CRUD
SUBDIR+= p5-CatalystX-CRUD-Model-RDBO
SUBDIR+= p5-CatalystX-CRUD-ModelAdapter-DBIC
SUBDIR+= p5-Class-DBI
SUBDIR+= p5-Class-DBI-AbstractSearch
SUBDIR+= p5-Class-DBI-Pg
SUBDIR+= p5-Class-DBI-Plugin
SUBDIR+= p5-Class-DBI-Plugin-DeepAbstractSearch
SUBDIR+= p5-DBD-CSV
SUBDIR+= p5-DBD-DB2
SUBDIR+= p5-DBD-Google
SUBDIR+= p5-DBD-Mock
SUBDIR+= p5-DBD-ODBC
SUBDIR+= p5-DBD-Oracle
SUBDIR+= p5-DBD-PgPP
SUBDIR+= p5-DBD-SQLite
SUBDIR+= p5-DBD-SQLite2
SUBDIR+= p5-DBD-Sybase
SUBDIR+= p5-DBD-XBase
SUBDIR+= p5-DBD-mysql
SUBDIR+= p5-DBD-postgresql
SUBDIR+= p5-DBI
SUBDIR+= p5-DBI-Shell
SUBDIR+= p5-DBICx-Deploy
SUBDIR+= p5-DBICx-MapMaker
SUBDIR+= p5-DBICx-TestDatabase
SUBDIR+= p5-DBIWrapper
SUBDIR+= p5-DBIx-Abstract
SUBDIR+= p5-DBIx-Class
SUBDIR+= p5-DBIx-Class-Candy
SUBDIR+= p5-DBIx-Class-Cursor-Cached
SUBDIR+= p5-DBIx-Class-DigestColumns
SUBDIR+= p5-DBIx-Class-DynamicDefault
SUBDIR+= p5-DBIx-Class-EncodedColumn
SUBDIR+= p5-DBIx-Class-Fixtures
SUBDIR+= p5-DBIx-Class-Helpers
SUBDIR+= p5-DBIx-Class-InflateColumn-IP
SUBDIR+= p5-DBIx-Class-IntrospectableM2M
SUBDIR+= p5-DBIx-Class-Loader
SUBDIR+= p5-DBIx-Class-RDBOHelpers
SUBDIR+= p5-DBIx-Class-Schema-Loader
SUBDIR+= p5-DBIx-Class-TimeStamp
SUBDIR+= p5-DBIx-Class-UUIDColumns
SUBDIR+= p5-DBIx-Class-Validation
SUBDIR+= p5-DBIx-Connector
SUBDIR+= p5-DBIx-ContextualFetch
SUBDIR+= p5-DBIx-DBSchema
SUBDIR+= p5-DBIx-Datasource
SUBDIR+= p5-DBIx-Schema
SUBDIR+= p5-DBIx-SearchBuilder
SUBDIR+= p5-DBM-Deep
SUBDIR+= p5-DB_File
SUBDIR+= p5-DB_File-Lock
SUBDIR+= p5-Dancer-Plugin-DBIC
SUBDIR+= p5-Data-Table
SUBDIR+= p5-DublinCore-Record
SUBDIR+= p5-Fsdb
SUBDIR+= p5-Ima-DBI
SUBDIR+= p5-Jifty-DBI
SUBDIR+= p5-MARC
SUBDIR+= p5-MARC-Record
SUBDIR+= p5-MARC-XML
SUBDIR+= p5-MLDBM
SUBDIR+= p5-MLDBM-Serializer-JSON
SUBDIR+= p5-MLDBM-Sync
SUBDIR+= p5-Net-Cassandra
SUBDIR+= p5-Net-MySQL
SUBDIR+= p5-ORLite
SUBDIR+= p5-ORLite-Migrate
SUBDIR+= p5-Palm
SUBDIR+= p5-RRD-Simple
SUBDIR+= p5-Redis
SUBDIR+= p5-Rose-DB
SUBDIR+= p5-Rose-DB-Object
SUBDIR+= p5-Rose-DBx-AutoReconnect
SUBDIR+= p5-Rose-DBx-Garden
SUBDIR+= p5-Rose-DBx-Garden-Catalyst
SUBDIR+= p5-Rose-DBx-Object-MoreHelpers
SUBDIR+= p5-Rose-DBx-TestDB
SUBDIR+= p5-SQL-Abstract
SUBDIR+= p5-SQL-Abstract-Limit
SUBDIR+= p5-SQL-ReservedWords
SUBDIR+= p5-SQL-Statement
SUBDIR+= p5-SQL-Translator
SUBDIR+= p5-Search-QueryParser
SUBDIR+= p5-Search-QueryParser-SQL
SUBDIR+= p5-Sort-SQL
SUBDIR+= p5-Template-DBI
SUBDIR+= p5-Tie-DBI
SUBDIR+= p5-YAML-MLDBM
SUBDIR+= p5-gdbm
SUBDIR+= p5-perl-ldap
SUBDIR+= p5-postgresql
SUBDIR+= p5-qdbm
SUBDIR+= p5-sybperl
SUBDIR+= p5-tokyocabinet
SUBDIR+= p5-tokyotyrant
SUBDIR+= palm-db-tools
SUBDIR+= pear-DB
SUBDIR+= pear-MDB2
SUBDIR+= pear-MDB2_Driver_mysql
SUBDIR+= pear-MDB2_Driver_mysqli
SUBDIR+= pear-MDB2_Driver_pgsql
SUBDIR+= pear-MDB2_Driver_sqlite
SUBDIR+= percona-toolkit
SUBDIR+= pgadmin3
SUBDIR+= pgbouncer
SUBDIR+= pgbuildfarm
SUBDIR+= pgpool
SUBDIR+= pgtcl
SUBDIR+= pgtclng
SUBDIR+= php-dba
SUBDIR+= php-dbx
SUBDIR+= php-ldap
SUBDIR+= php-mssql
SUBDIR+= php-mysql
SUBDIR+= php-mysqli
SUBDIR+= php-oci8
SUBDIR+= php-pdo
SUBDIR+= php-pdo_dblib
SUBDIR+= php-pdo_mysql
SUBDIR+= php-pdo_odbc
SUBDIR+= php-pdo_pgsql
SUBDIR+= php-pdo_sqlite
SUBDIR+= php-pgsql
SUBDIR+= php-redis
SUBDIR+= php-sqlite
SUBDIR+= phpldapadmin
SUBDIR+= phpmyadmin
SUBDIR+= phppgadmin
SUBDIR+= poco-data
SUBDIR+= poco-data-mysql
SUBDIR+= poco-data-odbc
SUBDIR+= poco-data-sqlite
SUBDIR+= postgresql-pgbench
SUBDIR+= postgresql-postgis
#SUBDIR+= postgresql-uuid # just contains files for postgresql*-uuid
SUBDIR+= postgresql84
SUBDIR+= postgresql84-adminpack
SUBDIR+= postgresql84-client
SUBDIR+= postgresql84-dblink
SUBDIR+= postgresql84-pgcrypto
SUBDIR+= postgresql84-plperl
SUBDIR+= postgresql84-plpython
SUBDIR+= postgresql84-pltcl
SUBDIR+= postgresql84-server
SUBDIR+= postgresql84-uuid
SUBDIR+= postgresql90
SUBDIR+= postgresql90-adminpack
SUBDIR+= postgresql90-client
SUBDIR+= postgresql90-datatypes
SUBDIR+= postgresql90-dblink
SUBDIR+= postgresql90-docs
SUBDIR+= postgresql90-fuzzystrmatch
SUBDIR+= postgresql90-monitoring
SUBDIR+= postgresql90-pgcrypto
SUBDIR+= postgresql90-plperl
SUBDIR+= postgresql90-plpython
SUBDIR+= postgresql90-pltcl
SUBDIR+= postgresql90-replicationtools
SUBDIR+= postgresql90-server
SUBDIR+= postgresql90-upgrade
SUBDIR+= postgresql90-uuid
SUBDIR+= postgresql91
SUBDIR+= postgresql91-adminpack
SUBDIR+= postgresql91-client
SUBDIR+= postgresql91-datatypes
SUBDIR+= postgresql91-dblink
SUBDIR+= postgresql91-docs
SUBDIR+= postgresql91-fuzzystrmatch
SUBDIR+= postgresql91-monitoring
SUBDIR+= postgresql91-pgcrypto
SUBDIR+= postgresql91-plperl
SUBDIR+= postgresql91-plpython
SUBDIR+= postgresql91-pltcl
SUBDIR+= postgresql91-replicationtools
SUBDIR+= postgresql91-server
SUBDIR+= postgresql91-upgrade
SUBDIR+= postgresql92
SUBDIR+= postgresql92-adminpack
SUBDIR+= postgresql92-client
SUBDIR+= postgresql92-datatypes
SUBDIR+= postgresql92-dblink
SUBDIR+= postgresql92-docs
SUBDIR+= postgresql92-fuzzystrmatch
SUBDIR+= postgresql92-monitoring
SUBDIR+= postgresql92-pgcrypto
SUBDIR+= postgresql92-plperl
SUBDIR+= postgresql92-plpython
SUBDIR+= postgresql92-pltcl
SUBDIR+= postgresql92-replicationtools
SUBDIR+= postgresql92-server
SUBDIR+= postgresql92-upgrade
SUBDIR+= pxtools
SUBDIR+= py-PgSQL
SUBDIR+= py-bdb-xml
SUBDIR+= py-bsddb3
SUBDIR+= py-cassa
SUBDIR+= py-cdb
SUBDIR+= py-ckanclient
SUBDIR+= py-cx_Oracle
SUBDIR+= py-datapkg
SUBDIR+= py-elixir
SUBDIR+= py-gdbm
SUBDIR+= py-ldap
SUBDIR+= py-metakit
SUBDIR+= py-mssql
SUBDIR+= py-mysqldb
SUBDIR+= py-pgnotify
SUBDIR+= py-postgresql
SUBDIR+= py-psycopg2
SUBDIR+= py-sqlalchemy
SUBDIR+= py-sqlalchemy-migrate
SUBDIR+= py-sqlite
SUBDIR+= py-sqlite2
SUBDIR+= py-sqlite3
SUBDIR+= py-sybase
SUBDIR+= py-table
SUBDIR+= py-tokyocabinet
SUBDIR+= qdbm
SUBDIR+= qdbm-cgi
SUBDIR+= qdbm-plus
SUBDIR+= quicklist
SUBDIR+= rdb
SUBDIR+= redis
SUBDIR+= rrdtool
SUBDIR+= rrdtool12
SUBDIR+= ruby-activeldap
SUBDIR+= ruby-activerecord-cassandra
SUBDIR+= ruby-activerecord-odbc
SUBDIR+= ruby-activerecord32
SUBDIR+= ruby-arel
SUBDIR+= ruby-cassandra
SUBDIR+= ruby-data_objects
SUBDIR+= ruby-datamapper
SUBDIR+= ruby-dbd-mysql
SUBDIR+= ruby-dbd-odbc
SUBDIR+= ruby-dbd-pg
SUBDIR+= ruby-dbd-sqlite
SUBDIR+= ruby-dbd-sqlite3
SUBDIR+= ruby-dbi
SUBDIR+= ruby-dm-active_model
SUBDIR+= ruby-dm-adjust
SUBDIR+= ruby-dm-aggregates
SUBDIR+= ruby-dm-ar-finders
SUBDIR+= ruby-dm-cli
SUBDIR+= ruby-dm-constraints
SUBDIR+= ruby-dm-core
SUBDIR+= ruby-dm-do-adapter
SUBDIR+= ruby-dm-ferret-adapter
SUBDIR+= ruby-dm-is-list
SUBDIR+= ruby-dm-is-nested_set
SUBDIR+= ruby-dm-is-remixable
SUBDIR+= ruby-dm-is-searchable
SUBDIR+= ruby-dm-is-state_machine
SUBDIR+= ruby-dm-is-tree
SUBDIR+= ruby-dm-is-versioned
SUBDIR+= ruby-dm-migrations
SUBDIR+= ruby-dm-mysql-adapter
SUBDIR+= ruby-dm-observer
SUBDIR+= ruby-dm-postgres-adapter
SUBDIR+= ruby-dm-rails
SUBDIR+= ruby-dm-rest-adapter
SUBDIR+= ruby-dm-serializer
SUBDIR+= ruby-dm-sqlite-adapter
SUBDIR+= ruby-dm-sweatshop
SUBDIR+= ruby-dm-tags
SUBDIR+= ruby-dm-timestamps
SUBDIR+= ruby-dm-transactions
SUBDIR+= ruby-dm-types
SUBDIR+= ruby-dm-validations
SUBDIR+= ruby-dm-yaml-adapter
SUBDIR+= ruby-do_mysql
SUBDIR+= ruby-do_postgres
SUBDIR+= ruby-do_sqlite3
SUBDIR+= ruby-gdbm
SUBDIR+= ruby-hiera
SUBDIR+= ruby-ldap
SUBDIR+= ruby-mysql
SUBDIR+= ruby-mysql2
SUBDIR+= ruby-odbc
SUBDIR+= ruby-pg
SUBDIR+= ruby-postgres-pr
SUBDIR+= ruby-qdbm
SUBDIR+= ruby-rrdtool
SUBDIR+= ruby-sequel
SUBDIR+= ruby-sqlite
SUBDIR+= ruby-sqlite3
SUBDIR+= ruby-tokyocabinet
SUBDIR+= ruby-tokyotyrant
SUBDIR+= ruby-vapor
SUBDIR+= sdbm
SUBDIR+= shared-mime-info
SUBDIR+= slony1
SUBDIR+= sqlite
SUBDIR+= sqlite3
SUBDIR+= sqlite3-docs
SUBDIR+= sqlite3-tcl
SUBDIR+= sqlitebrowser
SUBDIR+= sqlrelay
SUBDIR+= sqsh
SUBDIR+= sqsh-motif
SUBDIR+= sqsh-x11
SUBDIR+= tcl-fbsql
SUBDIR+= tcl-gdbm
SUBDIR+= tdb
SUBDIR+= tinycdb
SUBDIR+= tokyocabinet
SUBDIR+= tokyotyrant
SUBDIR+= unixodbc
SUBDIR+= virtuoso
SUBDIR+= xsqlmenu
SUBDIR+= yap2lc
SUBDIR+= yasql
.include "../mk/misc/category.mk"

17
databases/abook/DESCR Normal file
View File

@@ -0,0 +1,17 @@
Abook is a text-based addressbook program designed to use with mutt
mail client.
Import filters for following formats:
- ldif (Netscape Addressbook)
- mutt alias ( >= 0.4.10 )
- Pine addressbook
Export filters for following formats:
- ldif / Netscape addressbook (.4ld)
- Pine addressbook
- HTML
- mutt alias
- GnomeCard (VCard) addressbook
- elm alias
- plain text
- Spruce address book

25
databases/abook/Makefile Normal file
View File

@@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.24 2012/10/02 21:25:15 asau Exp $
#
DISTNAME= abook-0.6.0pre2
PKGNAME= abook-0.6.0rc2
PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://abook.sourceforge.net/devel/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://abook.sourceforge.net/
COMMENT= Text-based addressbook program
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt
USE_GNU_READLINE= yes
GNU_CONFIGURE= yes
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

9
databases/abook/PLIST Normal file
View File

@@ -0,0 +1,9 @@
@comment $NetBSD: PLIST,v 1.4 2011/02/18 23:56:48 shattered Exp $
bin/abook
man/man1/abook.1
man/man5/abookrc.5
share/locale/de/LC_MESSAGES/abook.mo
share/locale/fr/LC_MESSAGES/abook.mo
share/locale/it/LC_MESSAGES/abook.mo
share/locale/ja/LC_MESSAGES/abook.mo
share/locale/sv/LC_MESSAGES/abook.mo

6
databases/abook/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.12 2011/08/20 15:27:09 joerg Exp $
SHA1 (abook-0.6.0pre2.tar.gz) = 42a939fba43e51aa011fa185113c12ec4bc1e1ec
RMD160 (abook-0.6.0pre2.tar.gz) = 7b69dff4678e6deccc48ee3040f019c9a95463a9
Size (abook-0.6.0pre2.tar.gz) = 411412 bytes
SHA1 (patch-database.h) = 7debc679591bf0d05c345e36ab38035786ce693b

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-database.h,v 1.1 2011/08/20 15:27:09 joerg Exp $
--- database.h.orig 2011-08-20 13:47:08.000000000 +0000
+++ database.h
@@ -60,7 +60,7 @@ struct db_enumerator {
/*
* Field operations
*/
-inline int field_id(int i);
+int field_id(int i);
abook_field *find_standard_field(char *key, int do_declare);
abook_field *real_find_field(char *key, abook_field_list *list, int *nb);
#define find_field(key, list) real_find_field(key, list, NULL)

18
databases/adodb/DESCR Normal file
View File

@@ -0,0 +1,18 @@
ADOdb stands for Active Data Objects Data Base. It currently supports MySQL,
PostgreSQL, Interbase, Informix, Oracle, MS SQL 7, Foxpro, Access, ADO, Sybase,
DB2 and generic ODBC. The Sybase, Informix and PostgreSQL drivers are community
contributions. We hope more people will contribute drivers to support more
databases.
Unique Features of ADOdb
- Easy for Windows programmers to understand. Makes porting ASP code to PHP
easy because many of the conventions are similar to Microsoft's ADO.
- We provide support code to handle inserts and updates which can be adapted
to multiple databases quickly. Methods are provided for date handling,
string concatenation and string quoting characters for differing databases.
- A metatype system is built in so that we can figure out that types such as
CHAR, TEXT and STRING are equivalent in different databases.
- Easy to port because all the database dependent code are stored in stub
functions. You do not need to port the core logic of the classes.
- SQL to popup menu (<SELECT>) support included
- PHP4 Session support.

65
databases/adodb/Makefile Normal file
View File

@@ -0,0 +1,65 @@
# $NetBSD: Makefile,v 1.17 2013/03/16 07:21:19 obache Exp $
#
DISTNAME= adodb496a
PKGNAME= adodb-4.96a
PKGREVISION= 2
CATEGORIES= databases www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=adodb/}
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://adodb.sourceforge.net/
COMMENT= Active Data Objects Data Base for php
WRKSRC= ${WRKDIR}/adodb
NO_CONFIGURE= YES
NO_BUILD= YES
.include "../../lang/php/phpversion.mk"
.include "${PHPPKGSRCDIR}/buildlink3.mk"
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/adodb
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/adodb/cute_icons_for_site
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/adodb/datadict
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/adodb/drivers
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/adodb/lang
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/adodb/perf
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/adodb/tests
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/adodb/xsl
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/adodb/session
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/adodb
${INSTALL_DATA} ${WRKSRC}/*.php ${DESTDIR}${PREFIX}/share/adodb
${INSTALL_DATA} ${WRKSRC}/*.dtd ${DESTDIR}${PREFIX}/share/adodb
${INSTALL_DATA} ${WRKSRC}/cute_icons_for_site/*.gif \
${DESTDIR}${PREFIX}/share/adodb/cute_icons_for_site
${INSTALL_DATA} ${WRKSRC}/datadict/*.php \
${DESTDIR}${PREFIX}/share/adodb/datadict
${INSTALL_DATA} ${WRKSRC}/drivers/*.php \
${DESTDIR}${PREFIX}/share/adodb/drivers
${INSTALL_DATA} ${WRKSRC}/lang/*.php \
${DESTDIR}${PREFIX}/share/adodb/lang
${INSTALL_DATA} ${WRKSRC}/perf/*.php \
${DESTDIR}${PREFIX}/share/adodb/perf
${INSTALL_DATA} ${WRKSRC}/tests/*.php \
${DESTDIR}${PREFIX}/share/adodb/tests
${INSTALL_DATA} ${WRKSRC}/tests/*.xml \
${DESTDIR}${PREFIX}/share/adodb/tests
${INSTALL_DATA} ${WRKSRC}/session/*.php \
${DESTDIR}${PREFIX}/share/adodb/session
${INSTALL_DATA} ${WRKSRC}/session/*.txt \
${DESTDIR}${PREFIX}/share/adodb/session
${INSTALL_DATA} ${WRKSRC}/session/*.sql \
${DESTDIR}${PREFIX}/share/adodb/session
${INSTALL_DATA} ${WRKSRC}/session/*.xml \
${DESTDIR}${PREFIX}/share/adodb/session
${INSTALL_DATA} ${WRKSRC}/xsl/*.xsl ${DESTDIR}${PREFIX}/share/adodb/xsl
${INSTALL_DATA} ${WRKSRC}/docs/*.htm ${DESTDIR}${PREFIX}/share/doc/adodb
${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${PREFIX}/share/doc/adodb
${FIND} ${DESTDIR}${PREFIX}/share/adodb -name \*.\* -type f -print | \
${XARGS} ${CHMOD} ${SHAREMODE}
.include "../../mk/bsd.pkg.mk"

183
databases/adodb/PLIST Normal file
View File

@@ -0,0 +1,183 @@
@comment $NetBSD: PLIST,v 1.6 2009/06/14 17:43:14 joerg Exp $
share/adodb/adodb-active-record.inc.php
share/adodb/adodb-csvlib.inc.php
share/adodb/adodb-datadict.inc.php
share/adodb/adodb-error.inc.php
share/adodb/adodb-errorhandler.inc.php
share/adodb/adodb-errorpear.inc.php
share/adodb/adodb-exceptions.inc.php
share/adodb/adodb-iterator.inc.php
share/adodb/adodb-lib.inc.php
share/adodb/adodb-memcache.lib.inc.php
share/adodb/adodb-pager.inc.php
share/adodb/adodb-pear.inc.php
share/adodb/adodb-perf.inc.php
share/adodb/adodb-php4.inc.php
share/adodb/adodb-time.inc.php
share/adodb/adodb-xmlschema.inc.php
share/adodb/adodb-xmlschema03.inc.php
share/adodb/adodb.inc.php
share/adodb/cute_icons_for_site/adodb.gif
share/adodb/cute_icons_for_site/adodb2.gif
share/adodb/datadict/datadict-access.inc.php
share/adodb/datadict/datadict-db2.inc.php
share/adodb/datadict/datadict-firebird.inc.php
share/adodb/datadict/datadict-generic.inc.php
share/adodb/datadict/datadict-ibase.inc.php
share/adodb/datadict/datadict-informix.inc.php
share/adodb/datadict/datadict-mssql.inc.php
share/adodb/datadict/datadict-mysql.inc.php
share/adodb/datadict/datadict-oci8.inc.php
share/adodb/datadict/datadict-postgres.inc.php
share/adodb/datadict/datadict-sapdb.inc.php
share/adodb/datadict/datadict-sybase.inc.php
share/adodb/drivers/adodb-access.inc.php
share/adodb/drivers/adodb-ado.inc.php
share/adodb/drivers/adodb-ado5.inc.php
share/adodb/drivers/adodb-ado_access.inc.php
share/adodb/drivers/adodb-ado_mssql.inc.php
share/adodb/drivers/adodb-borland_ibase.inc.php
share/adodb/drivers/adodb-csv.inc.php
share/adodb/drivers/adodb-db2.inc.php
share/adodb/drivers/adodb-fbsql.inc.php
share/adodb/drivers/adodb-firebird.inc.php
share/adodb/drivers/adodb-ibase.inc.php
share/adodb/drivers/adodb-informix.inc.php
share/adodb/drivers/adodb-informix72.inc.php
share/adodb/drivers/adodb-ldap.inc.php
share/adodb/drivers/adodb-mssql.inc.php
share/adodb/drivers/adodb-mssql_n.inc.php
share/adodb/drivers/adodb-mssqlpo.inc.php
share/adodb/drivers/adodb-mysql.inc.php
share/adodb/drivers/adodb-mysqli.inc.php
share/adodb/drivers/adodb-mysqlt.inc.php
share/adodb/drivers/adodb-netezza.inc.php
share/adodb/drivers/adodb-oci8.inc.php
share/adodb/drivers/adodb-oci805.inc.php
share/adodb/drivers/adodb-oci8po.inc.php
share/adodb/drivers/adodb-odbc.inc.php
share/adodb/drivers/adodb-odbc_db2.inc.php
share/adodb/drivers/adodb-odbc_mssql.inc.php
share/adodb/drivers/adodb-odbc_oracle.inc.php
share/adodb/drivers/adodb-odbtp.inc.php
share/adodb/drivers/adodb-odbtp_unicode.inc.php
share/adodb/drivers/adodb-oracle.inc.php
share/adodb/drivers/adodb-pdo.inc.php
share/adodb/drivers/adodb-pdo_mssql.inc.php
share/adodb/drivers/adodb-pdo_mysql.inc.php
share/adodb/drivers/adodb-pdo_oci.inc.php
share/adodb/drivers/adodb-pdo_pgsql.inc.php
share/adodb/drivers/adodb-postgres.inc.php
share/adodb/drivers/adodb-postgres64.inc.php
share/adodb/drivers/adodb-postgres7.inc.php
share/adodb/drivers/adodb-postgres8.inc.php
share/adodb/drivers/adodb-proxy.inc.php
share/adodb/drivers/adodb-sapdb.inc.php
share/adodb/drivers/adodb-sqlanywhere.inc.php
share/adodb/drivers/adodb-sqlite.inc.php
share/adodb/drivers/adodb-sqlitepo.inc.php
share/adodb/drivers/adodb-sybase.inc.php
share/adodb/drivers/adodb-sybase_ase.inc.php
share/adodb/drivers/adodb-vfp.inc.php
share/adodb/lang/adodb-ar.inc.php
share/adodb/lang/adodb-bg.inc.php
share/adodb/lang/adodb-bgutf8.inc.php
share/adodb/lang/adodb-ca.inc.php
share/adodb/lang/adodb-cn.inc.php
share/adodb/lang/adodb-cz.inc.php
share/adodb/lang/adodb-da.inc.php
share/adodb/lang/adodb-de.inc.php
share/adodb/lang/adodb-en.inc.php
share/adodb/lang/adodb-es.inc.php
share/adodb/lang/adodb-esperanto.inc.php
share/adodb/lang/adodb-fr.inc.php
share/adodb/lang/adodb-hu.inc.php
share/adodb/lang/adodb-it.inc.php
share/adodb/lang/adodb-nl.inc.php
share/adodb/lang/adodb-pl.inc.php
share/adodb/lang/adodb-pt-br.inc.php
share/adodb/lang/adodb-ro.inc.php
share/adodb/lang/adodb-ru1251.inc.php
share/adodb/lang/adodb-sv.inc.php
share/adodb/lang/adodb_th.inc.php
share/adodb/lang/adodb-uk1251.inc.php
share/adodb/perf/perf-db2.inc.php
share/adodb/perf/perf-informix.inc.php
share/adodb/perf/perf-mssql.inc.php
share/adodb/perf/perf-mysql.inc.php
share/adodb/perf/perf-oci8.inc.php
share/adodb/perf/perf-postgres.inc.php
share/adodb/pivottable.inc.php
share/adodb/rsfilter.inc.php
share/adodb/server.php
share/adodb/session/adodb-compress-bzip2.php
share/adodb/session/adodb-compress-gzip.php
share/adodb/session/adodb-cryptsession.php
share/adodb/session/adodb-cryptsession2.php
share/adodb/session/adodb-encrypt-mcrypt.php
share/adodb/session/adodb-encrypt-md5.php
share/adodb/session/adodb-encrypt-secret.php
share/adodb/session/adodb-encrypt-sha1.php
share/adodb/session/adodb-sess.txt
share/adodb/session/adodb-session-clob.php
share/adodb/session/adodb-session-clob2.php
share/adodb/session/adodb-session.php
share/adodb/session/adodb-session2.php
share/adodb/session/adodb-sessions.mysql.sql
share/adodb/session/adodb-sessions.oracle.clob.sql
share/adodb/session/adodb-sessions.oracle.sql
share/adodb/session/session_schema.xml
share/adodb/session/session_schema2.xml
share/adodb/session/crypt.inc.php
share/adodb/tests/benchmark.php
share/adodb/tests/client.php
share/adodb/tests/pdo.php
share/adodb/tests/test-active-record.php
share/adodb/tests/test-active-recs2.php
share/adodb/tests/test-datadict.php
share/adodb/tests/test-perf.php
share/adodb/tests/test-pgblob.php
share/adodb/tests/test-php5.php
share/adodb/tests/test-xmlschema.php
share/adodb/tests/test.php
share/adodb/tests/test2.php
share/adodb/tests/test3.php
share/adodb/tests/test4.php
share/adodb/tests/test5.php
share/adodb/tests/test_rs_array.php
share/adodb/tests/testcache.php
share/adodb/tests/testdatabases.inc.php
share/adodb/tests/testgenid.php
share/adodb/tests/testmssql.php
share/adodb/tests/testoci8.php
share/adodb/tests/testoci8cursor.php
share/adodb/tests/testpaging.php
share/adodb/tests/testpear.php
share/adodb/tests/testsessions.php
share/adodb/tests/time.php
share/adodb/tests/tmssql.php
share/adodb/tests/xmlschema-mssql.xml
share/adodb/tests/xmlschema.xml
share/adodb/toexport.inc.php
share/adodb/tohtml.inc.php
share/adodb/xmlschema.dtd
share/adodb/xmlschema03.dtd
share/adodb/xsl/convert-0.1-0.2.xsl
share/adodb/xsl/convert-0.1-0.3.xsl
share/adodb/xsl/convert-0.2-0.1.xsl
share/adodb/xsl/convert-0.2-0.3.xsl
share/adodb/xsl/remove-0.2.xsl
share/adodb/xsl/remove-0.3.xsl
share/doc/adodb/docs-active-record.htm
share/doc/adodb/docs-adodb.htm
share/doc/adodb/docs-datadict.htm
share/doc/adodb/docs-oracle.htm
share/doc/adodb/docs-perf.htm
share/doc/adodb/docs-session.htm
share/doc/adodb/docs-session.old.htm
share/doc/adodb/license.txt
share/doc/adodb/old-changelog.htm
share/doc/adodb/readme.htm
share/doc/adodb/readme.txt
share/doc/adodb/tips_portable_sql.htm
share/doc/adodb/tute.htm

5
databases/adodb/distinfo Normal file
View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.8 2007/11/25 17:53:23 adrianp Exp $
SHA1 (adodb496a.tgz) = fadfd6d93ae827c6c9f66716f99cf68c41b5f9d2
RMD160 (adodb496a.tgz) = 742394fdde1830e267cce17481f8a5a97f27993d
Size (adodb496a.tgz) = 476835 bytes

View File

@@ -0,0 +1,3 @@
The Apache Cassandra Project develops a highly scalable second-generation
distributed database, bringing together Dynamo's fully distributed design
and Bigtable's ColumnFamily-based data model.

View File

@@ -0,0 +1,104 @@
# $NetBSD: Makefile,v 1.12 2013/05/10 12:54:50 fhajny Exp $
#
DISTNAME= apache-cassandra-${CASSANDRA_VER}
PKGNAME= apache-cassandra-${CASSANDRA_VER:S/-//}
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_APACHE:=cassandra/${CASSANDRA_VER:C/-.*//}/}
DISTFILES= ${DISTNAME}-bin${EXTRACT_SUFX}
MAINTAINER= tonnerre@NetBSD.org
HOMEPAGE= http://cassandra.apache.org/
COMMENT= Highly scalable, distributed structured key-value store
LICENSE= apache-2.0
NO_BUILD= yes
USE_LANGUAGES= # none
USE_JAVA= run
USE_JAVA2= 6
USE_TOOLS+= pax
PKG_DESTDIR_SUPPORT= destdir
.include "../../mk/bsd.prefs.mk"
CASSANDRA_VER= 1.2.4
CASSANDRA_HOME= ${PREFIX}/share/cassandra
EGDIR= ${PREFIX}/share/examples/cassandra
DOCDIR= ${PREFIX}/share/doc/cassandra
RCD_SCRIPTS= cassandra
CASSANDRA_USER?= cassandra
CASSANDRA_GROUP?= cassandra
PKG_GROUPS= ${CASSANDRA_GROUP}
PKG_USERS= ${CASSANDRA_USER}:${CASSANDRA_GROUP}
PKG_GROUPS_VARS+= CASSANDRA_GROUP
PKG_USERS_VARS= CASSANDRA_USER
PKG_HOME.cassandra= ${CASSANDRA_HOME}
PKG_SHELL.cassandra= ${SH}
# Following line only to unlock PKG_SYSCONFDIR_PERMS
PKG_SYSCONFSUBDIR= conf
PKG_SYSCONFVAR= cassandra
PKG_SYSCONFDIR.cassandra= ${CASSANDRA_HOME}/${PKG_SYSCONFSUBDIR}
PKG_SYSCONFDIR_PERMS= ${CASSANDRA_USER} ${CASSANDRA_GROUP} 0755
OWN_DIRS_PERMS+= ${VARBASE}/lib/cassandra ${CASSANDRA_USER} ${CASSANDRA_GROUP} 0751
OWN_DIRS_PERMS+= ${VARBASE}/log/cassandra ${CASSANDRA_USER} ${CASSANDRA_GROUP} 0755
FILES_SUBST+= JAVA_HOME=${PKG_JAVA_HOME} \
CASSANDRA_HOME=${CASSANDRA_HOME} \
CASSANDRA_USER=${CASSANDRA_USER} \
CASSANDRA_GROUP=${CASSANDRA_GROUP}
EGFILES= cassandra-env.sh cassandra-rackdc.properties \
cassandra-topology.properties cassandra.yaml \
commitlog_archiving.properties cqlshrc.sample \
log4j-server.properties log4j-tools.properties
DOCFILES= CHANGES LICENSE NEWS NOTICE README
.for f in ${EGFILES}
CONF_FILES_PERMS+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} \
${CASSANDRA_USER} ${CASSANDRA_GROUP} 0644
.endfor
INSTALLATION_DIRS+= ${CASSANDRA_HOME} ${EGDIR} ${DOCDIR}
CHECK_INTERPRETER_SKIP+=share/cassandra/interface/cassandra.thrift
CHECK_INTERPRETER_SKIP+=share/cassandra/pylib/setup.py
CHECK_INTERPRETER_SKIP+=share/cassandra/tools/bin/token-generator
do-install:
.for d in ${WORK_DIRS}
${RM} -rf ${WRKSRC}/${d}
.endfor
.for f in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/${f}.txt ${DESTDIR}${DOCDIR}/${f}
${RM} -f ${WRKSRC}/${f}.txt
.endfor
.for f in ${EGFILES}
${INSTALL_DATA} ${WRKSRC}/conf/${f} ${DESTDIR}${EGDIR}/${f}
.endfor
${FIND} ${WRKSRC} -name \*.exe -type f -print | ${XARGS} ${RM} -f
${FIND} ${WRKSRC} -name \*.bat -type f -print | ${XARGS} ${RM} -f
cd ${WRKSRC} && \
${PAX} -rw -pm bin interface javadoc lib pylib tools \
${DESTDIR}${CASSANDRA_HOME}
${FIND} ${DESTDIR}${CASSANDRA_HOME} -type d -print | \
${XARGS} ${CHMOD} ${PKGDIRMODE}
${FIND} ${DESTDIR}${CASSANDRA_HOME} -type f -print | \
${XARGS} ${CHMOD} ${SHAREMODE}
${FIND} ${DESTDIR}${CASSANDRA_HOME}/bin -type f -print | \
${XARGS} ${CHMOD} ${BINMODE}
${FIND} ${DESTDIR}${CASSANDRA_HOME} -type f -name \*.sh -print | \
${XARGS} ${CHMOD} ${BINMODE}
.include "../../lang/python/application.mk"
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.7 2013/04/29 11:16:39 fhajny Exp $
SHA1 (apache-cassandra-1.2.4-bin.tar.gz) = fa04ea0616e2749f5368c9e977b7ffa17d586bdc
RMD160 (apache-cassandra-1.2.4-bin.tar.gz) = 64a796c2814e04b8ea82e2457bffa0b907e79931
Size (apache-cassandra-1.2.4-bin.tar.gz) = 16289571 bytes

View File

@@ -0,0 +1,105 @@
#! @RCD_SCRIPTS_SHELL@
#
# $NetBSD: cassandra.sh,v 1.2 2010/10/17 23:41:12 tonnerre Exp $
#
# PROVIDE: cassandra
# REQUIRE: DAEMON
#
if [ -r /etc/rc.subr ]
then
. /etc/rc.subr
fi
name="cassandra"
rcvar=$name
command="@CASSANDRA_HOME@/bin/cassandra"
pidfile="@VARBASE@/run/cassandra/cassandra.pid"
cassandra_user="@CASSANDRA_USER@"
cassandra_group="@CASSANDRA_GROUP@"
start_cmd="$command start"
stop_cmd="$command stop"
restart_cmd="$stop_cmd && $start_cmd"
run_cmd="cassandra_run"
version_cmd="cassandra_version"
debug_cmd="cassandra_debug"
extra_commands="run version debug"
start_precmd="cassandra_precmd"
PREFIX=@PREFIX@
if [ -z "${JAVA_HOME}" ]
then
JAVA_HOME="@JAVA_HOME@"
export JAVA_HOME
fi
CATALINA_HOME=@CASSANDRA_HOME@
CASSANDRA_HOME=@CASSANDRA_HOME@
CASSANDRA_CONF=@PKG_SYSCONFBASE@/cassandra
CATALINA_PID=${pidfile}
export CATALINA_HOME
export CASSANDRA_HOME
export CASSANDRA_CONF
export CATALINA_PID
find ${PREFIX}/lib -type f -name \*.jar -print | while read jar
do
CLASSPATH=${CLASSPATH}:${jar}
done
unset jar
if [ -n "${cassandra_classpath}" ]
then
CLASSPATH=${CLASSPATH}:${cassandra_classpath}
fi
export CLASSPATH
cassandra_precmd()
{
if [ ! -d @VARBASE@/run/cassandra ]; then
@MKDIR@ @VARBASE@/run/cassandra
@CHMOD@ 0750 @VARBASE@/run/cassandra
@CHOWN@ ${cassandra_user}:${cassandra_group} @VARBASE@/run/cassandra
fi
}
cassandra_start()
{
cd $CATALINA_HOME/logs
@SU@ ${cassandra_user} -c "${command} start"
}
cassandra_stop()
{
rc_pid=$(check_pidfile $pidfile "${JAVA_HOME}/bin/java")
@SU@ ${cassandra_user} -c "${command} stop"
wait_for_pids $rc_pid
}
cassandra_run()
{
cd ${CATALINA_HOME}/logs
@SU@ ${cassandra_user} -c "${command} run"
}
cassandra_version()
{
@SU@ ${cassandra_user} -c "${command} version"
}
cassandra_debug()
{
cd ${CATALINA_HOME}/logs
@SU@ ${cassandra_user} -c "${command} debug"
}
if [ -f /etc/rc.subr ]
then
load_rc_config "$name"
run_rc_command "$1"
else
echo -n ' ${name}'
exec ${command} ${cassandra_flags} ${command_args}
fi

9
databases/bdb-xml/DESCR Normal file
View File

@@ -0,0 +1,9 @@
Berkeley DB XML is an application-specific native XML data manager
built on Berkeley DB, the world's most widely deployed data management
engine. Berkeley DB XML provides fast, reliable, scalable and
cost-effective storage and retrieval for native XML data and
semi-structured data.
Berkeley DB XML is supplied as a library that links directly into the
application's address space. This provides superior performance by
eliminating bottlenecks that occur in client-server systems.

View File

@@ -0,0 +1,33 @@
# $NetBSD: Makefile,v 1.20 2012/10/02 21:25:15 asau Exp $
DISTNAME= dbxml-2.5.16
PKGNAME= ${DISTNAME:S/db/bdb-/}
PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://download.oracle.com/berkeley-db/
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://www.oracle.com/us/products/database/berkeley-db/
COMMENT= Native XML data manager built on Berkeley DB
LICENSE= modified-bsd AND apache-1.1
CONFLICTS= dbxml<=1.2.1
WRKSRC= ${WRKDIR}/${DISTNAME}/dbxml
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-berkeleydb=${BDBBASE}
CONFIGURE_ARGS+= --with-xerces=${BUILDLINK_PREFIX.xerces-c}
CONFIGURE_ARGS+= --with-xqilla=${BUILDLINK_PREFIX.xqilla}
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
CONFIGURE_ENV+= BDB_TYPE=${BDB_TYPE}
BDB_ACCEPTED= db4 db5
.include "../../mk/bdb.buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../textproc/xerces-c/buildlink3.mk"
.include "../../textproc/xqilla/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

34
databases/bdb-xml/PLIST Normal file
View File

@@ -0,0 +1,34 @@
@comment $NetBSD: PLIST,v 1.5 2011/02/23 10:32:29 adam Exp $
bin/dbxml
bin/dbxml_dump
bin/dbxml_load
bin/dbxml_load_container
include/dbxml/DbXml.hpp
include/dbxml/DbXmlFwd.hpp
include/dbxml/XmlCompression.hpp
include/dbxml/XmlContainer.hpp
include/dbxml/XmlContainerConfig.hpp
include/dbxml/XmlData.hpp
include/dbxml/XmlDebugListener.hpp
include/dbxml/XmlDocument.hpp
include/dbxml/XmlEventReader.hpp
include/dbxml/XmlEventReaderToWriter.hpp
include/dbxml/XmlEventWriter.hpp
include/dbxml/XmlException.hpp
include/dbxml/XmlExternalFunction.hpp
include/dbxml/XmlIndexLookup.hpp
include/dbxml/XmlIndexSpecification.hpp
include/dbxml/XmlInputStream.hpp
include/dbxml/XmlManager.hpp
include/dbxml/XmlMetaDataIterator.hpp
include/dbxml/XmlNamespace.hpp
include/dbxml/XmlPortability.hpp
include/dbxml/XmlQueryContext.hpp
include/dbxml/XmlQueryExpression.hpp
include/dbxml/XmlResolver.hpp
include/dbxml/XmlResults.hpp
include/dbxml/XmlStatistics.hpp
include/dbxml/XmlTransaction.hpp
include/dbxml/XmlUpdateContext.hpp
include/dbxml/XmlValue.hpp
lib/libdbxml.la

View File

@@ -0,0 +1,20 @@
# $NetBSD: buildlink3.mk,v 1.14 2011/02/23 10:32:29 adam Exp $
BUILDLINK_TREE+= bdb-xml
.if !defined(BDB_XML_BUILDLINK3_MK)
BDB_XML_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.bdb-xml+= bdb-xml>=2.5.16
BUILDLINK_ABI_DEPENDS.bdb-xml+= bdb-xml>=2.5.16
BUILDLINK_PKGSRCDIR.bdb-xml?= ../../databases/bdb-xml
BDB_ACCEPTED= db4 db5
.include "../../mk/bdb.buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../textproc/xerces-c/buildlink3.mk"
.include "../../textproc/xqilla/buildlink3.mk"
.endif # BDB_XML_BUILDLINK3_MK
BUILDLINK_TREE+= -bdb-xml

View File

@@ -0,0 +1,11 @@
$NetBSD: distinfo,v 1.12 2012/03/11 20:26:57 markd Exp $
SHA1 (dbxml-2.5.16.tar.gz) = 46f0e6b301e556c2502e4da0cd96a599acc53837
RMD160 (dbxml-2.5.16.tar.gz) = fdb4c85271cb84a8e31931d8fb287ad17fafff9c
Size (dbxml-2.5.16.tar.gz) = 52819154 bytes
SHA1 (patch-configure) = f9b11c666d92be8ad6db40f31e58c316fb5cc9a4
SHA1 (patch-dbxml_src_dbxml_Results.cpp) = fa5f325b8f29fd4c1c5675b3ea8bfed84dbafa1a
SHA1 (patch-dbxml_src_dbxml_dataItem_DbXmlConfiguration.cpp) = a74fe4c644c3abb7aca14976b34cc86045355ba0
SHA1 (patch-dbxml_src_dbxml_dataItem_DbXmlDocumentCacheImpl.cpp) = 4a7fb559ef2419d1db4488ccd389651c7165d9a0
SHA1 (patch-dbxml_src_dbxml_dataItem_DbXmlPrintAST.cpp) = f181f837de51e9ca068f98e8f759c9e397d3ebbb
SHA1 (patch-dbxml_src_dbxml_dataItem_Join.cpp) = 691d34b196daa1814a32001cacbb707773b3ced6

View File

@@ -0,0 +1,43 @@
$NetBSD: patch-configure,v 1.1 2011/02/23 10:32:29 adam Exp $
--- configure.orig 2009-12-22 13:21:17.000000000 +0000
+++ configure
@@ -2656,17 +2656,17 @@ DB_TEST_PATH="<replace_with:_path_to_db_
DB_UTIL_PATH="<replace_with:_path_to_db_build>/build_unix"
# Check for a DB install tree
-if test `ls "$with_berkeleydb"/lib/libdb-*.la 2>/dev/null | wc -l` -gt 0 ; then
+if test `ls "$with_berkeleydb"/lib/lib${BDB_TYPE}-*.la 2>/dev/null | wc -l` -gt 0 ; then
{ echo "$as_me:$LINENO: checking for Berkeley DB version from install tree" >&5
echo $ECHO_N "checking for Berkeley DB version from install tree... $ECHO_C" >&6; }
- db_version=`ls "$with_berkeleydb"/lib/libdb-*.la | sed 's/.*db-\(.*\).la/\1/'`
+ db_version=`ls "$with_berkeleydb"/lib/lib${BDB_TYPE}-*.la | sed 's/.*db.-\(.*\).la/\1/'`
{ echo "$as_me:$LINENO: result: $db_version" >&5
echo "${ECHO_T}$db_version" >&6; }
DB_TCLLIB="<replace_with:_path_to_db_libs_with_tcl>/libdb_tcl-$db_version"
berkeleydb_include="-I$with_berkeleydb/include"
berkeleydb_lib="$with_berkeleydb/lib"
- berkeleydb_library="db-$db_version"
+ berkeleydb_library="${BDB_TYPE}-$db_version"
berkeleydb_jar="$with_berkeleydb/lib/db.jar"
@@ -2746,7 +2746,7 @@ echo "$as_me: error: $with_berkeleydb no
{ (exit 1); exit 1; }; }
fi
-if test "$db_version" != "4.3" && test "$db_version" != "4.4" && test "$db_version" != "4.5" && test "$db_version" != "4.6" && test "$db_version" != "4.7" && test "$db_version" != "4.8"; then
+if test "$db_version" != "4.3" && test "$db_version" != "4.4" && test "$db_version" != "4.5" && test "$db_version" != "4.6" && test "$db_version" != "4.7" && test "$db_version" != "4.8" && test "$db_version" != "5.1"; then
{ { echo "$as_me:$LINENO: error: $with_berkeleydb is version $db_version, which is not a supported version of Berkeley DB. The version must be at least 4.3" >&5
echo "$as_me: error: $with_berkeleydb is version $db_version, which is not a supported version of Berkeley DB. The version must be at least 4.3" >&2;}
{ (exit 1); exit 1; }; }
@@ -2995,7 +2995,7 @@ echo "${ECHO_T}$with_zlib" >&6; }
if test "$with_zlib" != "no"; then
{ echo "$as_me:$LINENO: checking if the ZLIB library is present" >&5
echo $ECHO_N "checking if the ZLIB library is present... $ECHO_C" >&6; }
- if test `ls $with_zlib/lib/libz.a 2>/dev/null | wc -l` -gt 0 ; then
+ if test `ls $with_zlib/include/zlib.h 2>/dev/null | wc -l` -gt 0 ; then
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
zlib_lib="-L$with_zlib/lib -R$with_zlib/lib"

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-dbxml_src_dbxml_Results.cpp,v 1.2 2012/03/11 20:26:57 markd Exp $
Fix build with gcc 4.6
--- src/dbxml/Results.cpp.orig 2009-12-22 13:17:00.000000000 +0000
+++ src/dbxml/Results.cpp
@@ -5,6 +5,7 @@
//
//
+#include <cstddef>
#include <xqilla/simple-api/XQQuery.hpp>
#include <xqilla/context/DynamicContext.hpp>
#include <xqilla/context/impl/XQDynamicContextImpl.hpp>

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-dbxml_src_dbxml_dataItem_DbXmlConfiguration.cpp,v 1.2 2012/03/11 20:26:57 markd Exp $
Fix build with gcc 4.6
--- src/dbxml/dataItem/DbXmlConfiguration.cpp.orig 2009-12-22 13:17:00.000000000 +0000
+++ src/dbxml/dataItem/DbXmlConfiguration.cpp
@@ -5,6 +5,7 @@
//
//
+#include <stddef.h>
#include "DbXmlConfiguration.hpp"
#include "DbXmlFactoryImpl.hpp"
#include "DbXmlSequenceBuilder.hpp"

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-dbxml_src_dbxml_dataItem_DbXmlDocumentCacheImpl.cpp,v 1.2 2012/03/11 20:26:57 markd Exp $
Fix build with gcc 4.6
--- src/dbxml/dataItem/DbXmlDocumentCacheImpl.cpp.orig 2009-12-22 13:17:00.000000000 +0000
+++ src/dbxml/dataItem/DbXmlDocumentCacheImpl.cpp
@@ -5,6 +5,7 @@
//
//
+#include <stddef.h>
#include "DbXmlDocumentCacheImpl.hpp"
#include <xercesc/internal/IGXMLScanner.hpp>

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-dbxml_src_dbxml_dataItem_DbXmlPrintAST.cpp,v 1.2 2012/03/11 20:26:57 markd Exp $
Fix build with gcc 4.6
--- src/dbxml/dataItem/DbXmlPrintAST.cpp.orig 2009-12-22 13:17:00.000000000 +0000
+++ src/dbxml/dataItem/DbXmlPrintAST.cpp
@@ -7,6 +7,7 @@
#include <iostream>
#include <sstream>
+#include <cstddef>
#include "DbXmlPrintAST.hpp"
#include "UTF8.hpp"

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-dbxml_src_dbxml_dataItem_Join.cpp,v 1.2 2012/03/11 20:26:57 markd Exp $
Fix build with gcc 4.6
--- src/dbxml/dataItem/Join.cpp.orig 2009-12-22 13:17:00.000000000 +0000
+++ src/dbxml/dataItem/Join.cpp
@@ -5,6 +5,7 @@
//
//
+#include <stddef.h>
#include "Join.hpp"
#include "DbXmlNodeImpl.hpp"

6
databases/cdb/DESCR Normal file
View File

@@ -0,0 +1,6 @@
cdb is a fast, reliable, simple package for creating and reading
constant databases.
cdb is designed to be used in mission-critical applications like
e-mail. Database replacement is safe against system crashes. Readers
don't have to pause during a rewrite.

30
databases/cdb/Makefile Normal file
View File

@@ -0,0 +1,30 @@
# $NetBSD: Makefile,v 1.22 2012/10/02 21:25:15 asau Exp $
DISTNAME= cdb-0.75
CATEGORIES= databases
MASTER_SITES= http://cr.yp.to/cdb/
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://cr.yp.to/cdb.html
COMMENT= Creates and reads constant databases
LICENSE= public-domain
PKG_INSTALLATION_TYPES= overwrite pkgviews
CONFLICTS+= tinycdb-[0-9]*
DJB_RESTRICTED= YES
INSTALLATION_DIRS= bin include lib
do-install:
for prog in cdbdump cdbget cdbmake cdbstats cdbtest; do \
${INSTALL_PROGRAM} ${WRKSRC}/$$prog ${DESTDIR}${PREFIX}/bin; \
done
${INSTALL_SCRIPT} ${WRKSRC}/cdbmake-12 ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/cdbmake-sv ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/cdb.h ${DESTDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/cdb.a ${DESTDIR}${PREFIX}/lib/libcdb.a
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"

10
databases/cdb/PLIST Normal file
View File

@@ -0,0 +1,10 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2001/12/10 18:11:46 martti Exp $
bin/cdbdump
bin/cdbget
bin/cdbmake
bin/cdbmake-12
bin/cdbmake-sv
bin/cdbstats
bin/cdbtest
include/cdb.h
lib/libcdb.a

6
databases/cdb/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.3 2005/02/23 16:33:05 agc Exp $
SHA1 (cdb-0.75.tar.gz) = 555749be5b2617e29e44b5326a2536813d62c248
RMD160 (cdb-0.75.tar.gz) = d52288ee6df58fdc5a79efc16693cd5e305f9c65
Size (cdb-0.75.tar.gz) = 54162 bytes
SHA1 (patch-aa) = 7e7a4e20ca36c3e773c729c0f0d751ac6340ccda

View File

@@ -0,0 +1,19 @@
$NetBSD: patch-aa,v 1.1 2004/01/31 01:23:16 kristerw Exp $
--- tryulong32.c.orig Sat Jan 31 02:15:54 2004
+++ tryulong32.c Sat Jan 31 02:16:38 2004
@@ -1,5 +1,8 @@
void main()
{
+#ifdef __arm__
+ _exit(0);
+#else
unsigned long u;
u = 1;
u += u; u += u; u += u; u += u; u += u; u += u; u += u; u += u;
@@ -8,4 +11,5 @@
u += u; u += u; u += u; u += u; u += u; u += u; u += u; u += u;
if (!u) _exit(0);
_exit(1);
+#endif
}

View File

@@ -0,0 +1 @@
CLISP Berkeley DB module

View File

@@ -0,0 +1,26 @@
# $NetBSD: Makefile,v 1.4 2013/04/06 13:09:24 rodent Exp $
#
CLISP_MODULE= berkeley-db
PKGNAME= clisp-bdb-$(CLISP_VERSION)
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clisp/}
MAINTAINER= hans@NetBSD.org
HOMEPAGE= http://clisp.cons.org/
COMMENT= CLISP Berkeley DB module
SUBST_CLASSES+= db4-libname
SUBST_STAGE.db4-libname= pre-configure
SUBST_FILES.db4-libname= modules/berkeley-db/configure
SUBST_SED.db4-libname= -e "/names_next_round='db '/s/db/db4/"
MAKE_JOBS_SAFE= no
.include "../../lang/clisp/module.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../databases/db4/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,9 @@
@comment $NetBSD: PLIST,v 1.2 2013/04/08 11:17:10 rodent Exp $
lib/clisp/dynmod/bdb.lisp
lib/clisp/dynmod/lib-bdb.so
lib/clisp/berkeley-db/Makefile
lib/clisp/berkeley-db/bdb.o
lib/clisp/berkeley-db/dbi.fas
lib/clisp/berkeley-db/dbi.lisp
lib/clisp/berkeley-db/link.sh
lib/clisp/berkeley-db/preload.lisp

View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.1 2011/04/20 18:31:36 hans Exp $
SHA1 (clisp-2.49.tar.gz) = 1743e7917013162400c955af441e991db43b3323
RMD160 (clisp-2.49.tar.gz) = ae30f3b681cb023e885c6e4ed12210ee5ba14c76
Size (clisp-2.49.tar.gz) = 9823111 bytes
SHA1 (patch-aa) = 659055c81e01a3e1bffe6f4609712624d6d1dcba
SHA1 (patch-ab) = bd098a22833ddcfd24f9b3055bab6239ae412805

View File

@@ -0,0 +1,26 @@
$NetBSD: patch-aa,v 1.1 2011/04/20 18:31:36 hans Exp $
Override ac_install_sh.
--- modules/berkeley-db/configure.orig 2010-07-09 13:00:01.000000000 +0400
+++ modules/berkeley-db/configure 2010-07-09 13:00:20.000000000 +0400
@@ -2285,19 +2285,6 @@
required=true
${required} && test $cl_cv_have_clisp = no && as_fn_error "CLISP not found" "$LINENO" 5
-ac_aux_dir=
-for ac_dir in $cl_cv_clisp_libdir/build-aux "$srcdir"/$cl_cv_clisp_libdir/build-aux; do
- for ac_t in install-sh install.sh shtool; do
- if test -f "$ac_dir/$ac_t"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/$ac_t -c"
- break 2
- fi
- done
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error "cannot find install-sh, install.sh, or shtool in $cl_cv_clisp_libdir/build-aux \"$srcdir\"/$cl_cv_clisp_libdir/build-aux" "$LINENO" 5
-fi
# These three variables are undocumented and unsupported,
# and are intended to be withdrawn in a future Autoconf release.

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.1 2011/04/20 18:31:36 hans Exp $
--- modules/berkeley-db/Makefile.in.orig 2010-03-24 20:44:56.000000000 +0100
+++ modules/berkeley-db/Makefile.in 2011-04-20 16:21:26.184581749 +0200
@@ -3,7 +3,7 @@
srcdir = @srcdir@
CC = @CC@
DBCPPFLAGS = @CPPFLAGS@
-CFLAGS = @CFLAGS@
+CFLAGS = @CLISP_CFLAGS@
CLISP = @CLISP@ -norc -q
CLISP_LINKKIT = @CLISP_LINKKIT@

View File

@@ -0,0 +1 @@
CLISP GNU database manager module

View File

@@ -0,0 +1,21 @@
# $NetBSD: Makefile,v 1.4 2012/01/24 09:10:58 sbd Exp $
#
CLISP_MODULE= gdbm
PKGNAME= clisp-$(CLISP_MODULE)-$(CLISP_VERSION)
PKGREVISION= 2
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clisp/}
MAINTAINER= asau@inbox.ru
HOMEPAGE= http://clisp.cons.org/
COMMENT= CLISP GNU database manager module
MAKE_JOBS_SAFE= no
.include "../../lang/clisp/module.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../databases/gdbm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,9 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2010/07/09 19:20:17 asau Exp $
lib/clisp/dynmod/gdbm.lisp
lib/clisp/dynmod/lib-gdbm.so
lib/clisp/gdbm/Makefile
lib/clisp/gdbm/gdbm.fas
lib/clisp/gdbm/gdbm.lisp
lib/clisp/gdbm/gdbm.o
lib/clisp/gdbm/link.sh
lib/clisp/gdbm/preload.lisp

View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.1.1.1 2010/07/09 19:20:17 asau Exp $
SHA1 (clisp-2.49.tar.gz) = 1743e7917013162400c955af441e991db43b3323
RMD160 (clisp-2.49.tar.gz) = ae30f3b681cb023e885c6e4ed12210ee5ba14c76
Size (clisp-2.49.tar.gz) = 9823111 bytes
SHA1 (patch-aa) = 097e64b5db28688fdea7be92e9bc46d5803b4c33
SHA1 (patch-ab) = 31cf1cad224471cf17703f540f98f9a4cd710ffb

View File

@@ -0,0 +1,26 @@
$NetBSD: patch-aa,v 1.1.1.1 2010/07/09 19:20:17 asau Exp $
Override ac_install_sh.
--- modules/gdbm/configure.orig 2010-07-09 13:00:01.000000000 +0400
+++ modules/gdbm/configure 2010-07-09 13:00:20.000000000 +0400
@@ -2285,19 +2285,6 @@
required=true
${required} && test $cl_cv_have_clisp = no && as_fn_error "CLISP not found" "$LINENO" 5
-ac_aux_dir=
-for ac_dir in $cl_cv_clisp_libdir/build-aux "$srcdir"/$cl_cv_clisp_libdir/build-aux; do
- for ac_t in install-sh install.sh shtool; do
- if test -f "$ac_dir/$ac_t"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/$ac_t -c"
- break 2
- fi
- done
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error "cannot find install-sh, install.sh, or shtool in $cl_cv_clisp_libdir/build-aux \"$srcdir\"/$cl_cv_clisp_libdir/build-aux" "$LINENO" 5
-fi
# These three variables are undocumented and unsupported,
# and are intended to be withdrawn in a future Autoconf release.

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.1.1.1 2010/07/09 19:20:17 asau Exp $
--- modules/gdbm/Makefile.in.orig 2010-04-16 11:36:35.000000000 +0400
+++ modules/gdbm/Makefile.in 2010-07-09 13:01:05.000000000 +0400
@@ -3,7 +3,7 @@
srcdir = @srcdir@
CC = @CC@
GDBMCPPFLAGS = @CPPFLAGS@
-CFLAGS = @CFLAGS@
+CFLAGS = @CLISP_CFLAGS@
CLISP = @CLISP@ -norc -q
CLISP_LINKKIT = @CLISP_LINKKIT@

View File

@@ -0,0 +1 @@
CLISP PostgreSQL module

View File

@@ -0,0 +1,21 @@
# $NetBSD: Makefile,v 1.2 2012/08/05 10:02:09 obache Exp $
#
CLISP_MODULE= postgresql
PKGNAME= clisp-pgsql-$(CLISP_VERSION)
PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clisp/}
MAINTAINER= asau@inbox.ru
HOMEPAGE= http://clisp.cons.org/
COMMENT= CLISP PostgreSQL module
MAKE_JOBS_SAFE= no
.include "../../lang/clisp/module.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,11 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2010/07/09 19:16:58 asau Exp $
lib/clisp/dynmod/lib-postgresql.so
lib/clisp/dynmod/postgresql.lisp
lib/clisp/postgresql/Makefile
lib/clisp/postgresql/README
lib/clisp/postgresql/link.sh
lib/clisp/postgresql/postgresql.fas
lib/clisp/postgresql/postgresql.lisp
lib/clisp/postgresql/postgresql.o
lib/clisp/postgresql/sql.fas
lib/clisp/postgresql/sql.lisp

View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.1.1.1 2010/07/09 19:16:58 asau Exp $
SHA1 (clisp-2.49.tar.gz) = 1743e7917013162400c955af441e991db43b3323
RMD160 (clisp-2.49.tar.gz) = ae30f3b681cb023e885c6e4ed12210ee5ba14c76
Size (clisp-2.49.tar.gz) = 9823111 bytes
SHA1 (patch-aa) = 06af5eec55d1ad89f395ddc96ad7c21eae61fc05
SHA1 (patch-ab) = dfb37c4488621961826d7da8b039bc06988d829e

View File

@@ -0,0 +1,26 @@
$NetBSD: patch-aa,v 1.1.1.1 2010/07/09 19:16:58 asau Exp $
Override ac_install_sh.
--- modules/postgresql/configure.orig 2010-07-08 03:04:04.000000000 +0400
+++ modules/postgresql/configure 2010-07-08 03:04:34.000000000 +0400
@@ -2349,19 +2349,6 @@
$as_echo "$cl_cv_clisp_FFI" >&6; }
${required} && test $cl_cv_clisp_FFI = no && \
as_fn_error "no FFI in CLISP" "$LINENO" 5
-ac_aux_dir=
-for ac_dir in $cl_cv_clisp_libdir/build-aux "$srcdir"/$cl_cv_clisp_libdir/build-aux; do
- for ac_t in install-sh install.sh shtool; do
- if test -f "$ac_dir/$ac_t"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/$ac_t -c"
- break 2
- fi
- done
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error "cannot find install-sh, install.sh, or shtool in $cl_cv_clisp_libdir/build-aux \"$srcdir\"/$cl_cv_clisp_libdir/build-aux" "$LINENO" 5
-fi
# These three variables are undocumented and unsupported,
# and are intended to be withdrawn in a future Autoconf release.

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.1.1.1 2010/07/09 19:16:58 asau Exp $
--- modules/postgresql/Makefile.in.orig 2010-04-16 11:36:56.000000000 +0400
+++ modules/postgresql/Makefile.in 2010-07-09 12:12:15.000000000 +0400
@@ -3,7 +3,7 @@
srcdir = @srcdir@
CC = @CC@
PQCPPFLAGS = @CPPFLAGS@
-CFLAGS = @CFLAGS@
+CFLAGS = @CLISP_CFLAGS@
CLISP = @CLISP@ -norc -q
CLISP_LINKKIT = @CLISP_LINKKIT@

11
databases/couchdb/DESCR Normal file
View File

@@ -0,0 +1,11 @@
Apache CouchDB is a distributed, fault-tolerant and schema-free document-
oriented database accessible via a RESTful HTTP/JSON API. Among other
features, it provides robust, incremental replication with bi-directional
conflict detection and resolution, and is queryable and indexable using
a table-oriented view engine with JavaScript acting as the default view
definition language.
CouchDB is written in Erlang, but can be easily accessed from any
environment that provides means to make HTTP requests. There are
a multitude of third-party client libraries that make this even easier
for a variety of programming languages and environments.

View File

@@ -0,0 +1,98 @@
# $NetBSD: Makefile,v 1.19 2013/05/31 12:39:47 wiz Exp $
#
DISTNAME= apache-couchdb-1.3.0
PKGNAME= ${DISTNAME:S/apache-//}
PKGREVISION= 2
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_APACHE:=couchdb/source/1.3.0/}
MAINTAINER= filip@joyent.com
HOMEPAGE= http://couchdb.apache.org/
COMMENT= Document database server, accessible via a RESTful JSON API
LICENSE= apache-2.0
VERSION.ejson= 0.1.0
VERSION.ibrowse= 2.2.0
VERSION.mochiweb= 1.4.1
VERSION.snappy= 1.0.3
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
USE_LIBTOOL= yes
BUILD_DEFS+= VARBASE
BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man
.include "../../mk/bsd.prefs.mk"
COUCH_DBDIR?= ${VARBASE}/db/couchdb
COUCH_EGDIR= ${PREFIX}/share/examples/couchdb
COUCH_LOGDIR?= ${VARBASE}/log/couchdb
COUCH_USER?= couchdb
COUCH_GROUP?= ${COUCH_USER}
PKG_GROUPS+= ${COUCH_GROUP}
PKG_USERS+= ${COUCH_USER}:${COUCH_GROUP}
PKG_GECOS.${COUCH_USER}=CouchDB Server User
PKG_HOME.${COUCH_USER}= ${COUCH_DBDIR}
PKG_SHELL.${COUCH_USER}=${COMMAND_SHELL}
# Solaris /var/run is root only
.if ${OPSYS} == "SunOS"
COUCH_RUNDIR?= ${VARBASE}/spool/couchdb
.else
COUCH_RUNDIR?= ${VARBASE}/run/couchdb
.endif
OWN_DIRS= ${COUCH_LOGDIR} ${COUCH_DBDIR} ${COUCH_RUNDIR} ${PKG_SYSCONFDIR}
OWN_DIRS_PERMS+= ${COUCH_DBDIR} ${COUCH_USER} ${COUCH_GROUP} 0770
OWN_DIRS_PERMS+= ${COUCH_LOGDIR} ${COUCH_USER} ${COUCH_GROUP} 0770
OWN_DIRS_PERMS+= ${COUCH_RUNDIR} ${COUCH_USER} ${COUCH_GROUP} 0770
PKG_SYSCONFSUBDIR= couchdb
PKG_SYSCONFDIR_PERMS= ${COUCH_USER} ${COUCH_GROUP} 0775
CONF_FILES_PERMS+= ${COUCH_EGDIR}/default.ini ${PKG_SYSCONFDIR}/default.ini ${COUCH_USER} ${COUCH_GROUP} 0660
CONF_FILES_PERMS+= ${COUCH_EGDIR}/local.ini ${PKG_SYSCONFDIR}/local.ini ${COUCH_USER} ${COUCH_GROUP} 0660
CONFIGURE_ARGS+= --disable-init
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --with-erlang=${BUILDLINK_PREFIX.erlang}/lib/erlang/usr/include
CONFIGURE_ARGS+= --with-js-include=${BUILDLINK_PREFIX.spidermonkey}
CONFIGURE_ARGS+= --with-js-lib=${BUILDLINK_PREFIX.spidermonkey}
.if ${OPSYS} == "SunOS"
REPLACE_INTERPRETER+= sh
REPLACE.sh.old= /bin/sh
REPLACE.sh.new= /bin/ksh
REPLACE_FILES.sh= bin/couchdb.tpl.in
.endif
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Setting standard paths
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths+= configure bin/couchdb.tpl.in
SUBST_SED.paths= -e 's,@EGDIR@,${COUCH_EGDIR},g'
SUBST_SED.paths+= -e 's,@RUNDIR@,${COUCH_RUNDIR},g'
SUBST_SED.paths+= -e 's,@ERLANG_PREFIX@,${BUILDLINK_PREFIX.erlang},g'
# This works around libtool abuse installing "couchspawnkillable". Will
# hopefully get fixed properly upstream.
SUBST_CLASSES+= unstrip
SUBST_MESSAGE.unstrip= Avoiding trying to strip a shell script
SUBST_STAGE.unstrip= post-configure
SUBST_FILES.unstrip+= src/couchdb/priv/Makefile
SUBST_SED.unstrip= -e '/^INSTALL_PROGRAM =/s, -s,,'
PLIST_SUBST+= VERSION.ejson=${VERSION.ejson}
PLIST_SUBST+= VERSION.ibrowse=${VERSION.ibrowse}
PLIST_SUBST+= VERSION.mochiweb=${VERSION.mochiweb}
PLIST_SUBST+= VERSION.snappy=${VERSION.snappy}
.include "../../lang/erlang/buildlink3.mk"
.include "../../lang/spidermonkey/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

431
databases/couchdb/PLIST Normal file
View File

@@ -0,0 +1,431 @@
@comment $NetBSD: PLIST,v 1.4 2013/04/24 12:22:37 jperkin Exp $
bin/couch-config
bin/couchdb
bin/couchjs
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch.app
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_app.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_auth_cache.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_btree.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_changes.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_compaction_daemon.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_compress.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_config.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_config_writer.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_db.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_db_update_notifier.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_db_update_notifier_sup.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_db_updater.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_doc.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_drv.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_ejson_compare.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_event_sup.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_external_manager.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_external_server.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_file.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_httpd.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_httpd_auth.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_httpd_cors.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_httpd_db.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_httpd_external.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_httpd_misc_handlers.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_httpd_oauth.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_httpd_proxy.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_httpd_rewrite.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_httpd_stats_handlers.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_httpd_vhost.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_key_tree.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_log.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_native_process.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_os_daemons.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_os_process.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_passwords.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_primary_sup.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_query_servers.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_ref_counter.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_secondary_sup.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_server.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_server_sup.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_stats_aggregator.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_stats_collector.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_stream.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_task_status.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_users_db.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_util.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_uuids.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/couch_work_queue.beam
lib/erlang/lib/couch-${PKGVERSION}/ebin/json_stream_parse.beam
lib/erlang/lib/couch-${PKGVERSION}/include/couch_db.hrl
lib/erlang/lib/couch-${PKGVERSION}/include/couch_js_functions.hrl
lib/erlang/lib/couch-${PKGVERSION}/priv/couchspawnkillable
lib/erlang/lib/couch-${PKGVERSION}/priv/lib/couch_ejson_compare.la
lib/erlang/lib/couch-${PKGVERSION}/priv/lib/couch_icu_driver.la
lib/erlang/lib/couch-${PKGVERSION}/priv/stat_descriptions.cfg
lib/erlang/lib/couch_index-0.1/ebin/couch_index.beam
lib/erlang/lib/couch_index-0.1/ebin/couch_index_compactor.beam
lib/erlang/lib/couch_index-0.1/ebin/couch_index_server.beam
lib/erlang/lib/couch_index-0.1/ebin/couch_index_updater.beam
lib/erlang/lib/couch_index-0.1/ebin/couch_index_util.beam
lib/erlang/lib/couch_mrview-0.1/ebin/couch_mrview.app
lib/erlang/lib/couch_mrview-0.1/ebin/couch_mrview.beam
lib/erlang/lib/couch_mrview-0.1/ebin/couch_mrview_cleanup.beam
lib/erlang/lib/couch_mrview-0.1/ebin/couch_mrview_compactor.beam
lib/erlang/lib/couch_mrview-0.1/ebin/couch_mrview_http.beam
lib/erlang/lib/couch_mrview-0.1/ebin/couch_mrview_index.beam
lib/erlang/lib/couch_mrview-0.1/ebin/couch_mrview_show.beam
lib/erlang/lib/couch_mrview-0.1/ebin/couch_mrview_test_util.beam
lib/erlang/lib/couch_mrview-0.1/ebin/couch_mrview_updater.beam
lib/erlang/lib/couch_mrview-0.1/ebin/couch_mrview_util.beam
lib/erlang/lib/couch_mrview-0.1/include/couch_mrview.hrl
lib/erlang/lib/couch_replicator-0.1/ebin/couch_replicator.app
lib/erlang/lib/couch_replicator-0.1/ebin/couch_replicator.beam
lib/erlang/lib/couch_replicator-0.1/ebin/couch_replicator_api_wrap.beam
lib/erlang/lib/couch_replicator-0.1/ebin/couch_replicator_httpc.beam
lib/erlang/lib/couch_replicator-0.1/ebin/couch_replicator_httpc_pool.beam
lib/erlang/lib/couch_replicator-0.1/ebin/couch_replicator_httpd.beam
lib/erlang/lib/couch_replicator-0.1/ebin/couch_replicator_job_sup.beam
lib/erlang/lib/couch_replicator-0.1/ebin/couch_replicator_manager.beam
lib/erlang/lib/couch_replicator-0.1/ebin/couch_replicator_notifier.beam
lib/erlang/lib/couch_replicator-0.1/ebin/couch_replicator_utils.beam
lib/erlang/lib/couch_replicator-0.1/ebin/couch_replicator_worker.beam
lib/erlang/lib/couch_replicator-0.1/include/couch_replicator.hrl
lib/erlang/lib/couch_replicator-0.1/include/couch_replicator_api_wrap.hrl
lib/erlang/lib/couch_replicator-0.1/include/couch_replicator_js_functions.hrl
lib/erlang/lib/ejson-${VERSION.ejson}/ebin/ejson.app
lib/erlang/lib/ejson-${VERSION.ejson}/ebin/ejson.beam
lib/erlang/lib/ejson-${VERSION.ejson}/ebin/mochijson2.beam
lib/erlang/lib/ejson-${VERSION.ejson}/ebin/mochinum.beam
lib/erlang/lib/ejson-${VERSION.ejson}/priv/ejson.la
lib/erlang/lib/erlang-oauth/ebin/oauth.app
lib/erlang/lib/erlang-oauth/ebin/oauth.beam
lib/erlang/lib/erlang-oauth/ebin/oauth_hmac_sha1.beam
lib/erlang/lib/erlang-oauth/ebin/oauth_http.beam
lib/erlang/lib/erlang-oauth/ebin/oauth_plaintext.beam
lib/erlang/lib/erlang-oauth/ebin/oauth_unix.beam
lib/erlang/lib/erlang-oauth/ebin/oauth_uri.beam
lib/erlang/lib/etap/ebin/etap.beam
lib/erlang/lib/ibrowse-${VERSION.ibrowse}/ebin/ibrowse.app
lib/erlang/lib/ibrowse-${VERSION.ibrowse}/ebin/ibrowse.beam
lib/erlang/lib/ibrowse-${VERSION.ibrowse}/ebin/ibrowse_app.beam
lib/erlang/lib/ibrowse-${VERSION.ibrowse}/ebin/ibrowse_http_client.beam
lib/erlang/lib/ibrowse-${VERSION.ibrowse}/ebin/ibrowse_lb.beam
lib/erlang/lib/ibrowse-${VERSION.ibrowse}/ebin/ibrowse_lib.beam
lib/erlang/lib/ibrowse-${VERSION.ibrowse}/ebin/ibrowse_sup.beam
lib/erlang/lib/ibrowse-${VERSION.ibrowse}/ebin/ibrowse_test.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochifmt.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochifmt_records.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochifmt_std.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiglobal.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochihex.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochijson.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochijson2.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochilists.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochilogfile2.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochinum.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochitemp.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiutf8.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb.app
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb_acceptor.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb_app.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb_charref.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb_cookies.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb_cover.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb_echo.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb_headers.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb_html.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb_http.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb_io.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb_mime.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb_multipart.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb_request.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb_response.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb_skel.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb_socket.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb_socket_server.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb_sup.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/mochiweb_util.beam
lib/erlang/lib/mochiweb-${VERSION.mochiweb}/ebin/reloader.beam
lib/erlang/lib/snappy-${VERSION.snappy}/ebin/snappy.app
lib/erlang/lib/snappy-${VERSION.snappy}/ebin/snappy.beam
lib/erlang/lib/snappy-${VERSION.snappy}/priv/snappy_nif.la
libexec/couchdb/couchjs
man/man1/couchdb.1
man/man1/couchjs.1
share/couchdb/server/main-coffee.js
share/couchdb/server/main.js
share/couchdb/www/_sidebar.html
share/couchdb/www/config.html
share/couchdb/www/couch_tests.html
share/couchdb/www/custom_test.html
share/couchdb/www/database.html
share/couchdb/www/dialog/_admin_party.html
share/couchdb/www/dialog/_change_password.html
share/couchdb/www/dialog/_compact_cleanup.html
share/couchdb/www/dialog/_create_admin.html
share/couchdb/www/dialog/_create_config.html
share/couchdb/www/dialog/_create_database.html
share/couchdb/www/dialog/_database_security.html
share/couchdb/www/dialog/_delete_database.html
share/couchdb/www/dialog/_delete_document.html
share/couchdb/www/dialog/_login.html
share/couchdb/www/dialog/_save_view_as.html
share/couchdb/www/dialog/_share_test_reports.html
share/couchdb/www/dialog/_signup.html
share/couchdb/www/dialog/_upload_attachment.html
share/couchdb/www/docs/_images/futon-createdb.png
share/couchdb/www/docs/_images/futon-editdoc.png
share/couchdb/www/docs/_images/futon-editeddoc.png
share/couchdb/www/docs/_images/futon-overview.png
share/couchdb/www/docs/_images/futon-replform.png
share/couchdb/www/docs/_sources/api-basics.txt
share/couchdb/www/docs/_sources/api/authn.txt
share/couchdb/www/docs/_sources/api/configuration.txt
share/couchdb/www/docs/_sources/api/database.txt
share/couchdb/www/docs/_sources/api/dbmaint.txt
share/couchdb/www/docs/_sources/api/design.txt
share/couchdb/www/docs/_sources/api/documents.txt
share/couchdb/www/docs/_sources/api/local.txt
share/couchdb/www/docs/_sources/api/misc.txt
share/couchdb/www/docs/_sources/api/reference.txt
share/couchdb/www/docs/_sources/changelog.txt
share/couchdb/www/docs/_sources/changes.txt
share/couchdb/www/docs/_sources/commonjs.txt
share/couchdb/www/docs/_sources/config_reference.txt
share/couchdb/www/docs/_sources/configuring.txt
share/couchdb/www/docs/_sources/cors.txt
share/couchdb/www/docs/_sources/ddocs.txt
share/couchdb/www/docs/_sources/errors.txt
share/couchdb/www/docs/_sources/http-proxying.txt
share/couchdb/www/docs/_sources/index.txt
share/couchdb/www/docs/_sources/intro.txt
share/couchdb/www/docs/_sources/json-structure.txt
share/couchdb/www/docs/_sources/os-daemons.txt
share/couchdb/www/docs/_sources/pretty_urls.txt
share/couchdb/www/docs/_sources/query-servers.txt
share/couchdb/www/docs/_sources/range.txt
share/couchdb/www/docs/_sources/release.txt
share/couchdb/www/docs/_sources/replication.txt
share/couchdb/www/docs/_sources/ssl.txt
share/couchdb/www/docs/_static/ajax-loader.gif
share/couchdb/www/docs/_static/basic.css
share/couchdb/www/docs/_static/comment-bright.png
share/couchdb/www/docs/_static/comment-close.png
share/couchdb/www/docs/_static/comment.png
share/couchdb/www/docs/_static/default.css
share/couchdb/www/docs/_static/doctools.js
share/couchdb/www/docs/_static/down-pressed.png
share/couchdb/www/docs/_static/down.png
share/couchdb/www/docs/_static/favicon.ico
share/couchdb/www/docs/_static/file.png
share/couchdb/www/docs/_static/jquery.js
share/couchdb/www/docs/_static/logo.png
share/couchdb/www/docs/_static/minus.png
share/couchdb/www/docs/_static/plus.png
share/couchdb/www/docs/_static/pygments.css
share/couchdb/www/docs/_static/rtd.css
share/couchdb/www/docs/_static/searchtools.js
share/couchdb/www/docs/_static/sidebar.js
share/couchdb/www/docs/_static/underscore.js
share/couchdb/www/docs/_static/up-pressed.png
share/couchdb/www/docs/_static/up.png
share/couchdb/www/docs/_static/websupport.js
share/couchdb/www/docs/api-basics.html
share/couchdb/www/docs/api/authn.html
share/couchdb/www/docs/api/configuration.html
share/couchdb/www/docs/api/database.html
share/couchdb/www/docs/api/dbmaint.html
share/couchdb/www/docs/api/design.html
share/couchdb/www/docs/api/documents.html
share/couchdb/www/docs/api/local.html
share/couchdb/www/docs/api/misc.html
share/couchdb/www/docs/api/reference.html
share/couchdb/www/docs/changelog.html
share/couchdb/www/docs/changes.html
share/couchdb/www/docs/commonjs.html
share/couchdb/www/docs/config_reference.html
share/couchdb/www/docs/configuring.html
share/couchdb/www/docs/cors.html
share/couchdb/www/docs/ddocs.html
share/couchdb/www/docs/errors.html
share/couchdb/www/docs/genindex.html
share/couchdb/www/docs/http-proxying.html
share/couchdb/www/docs/index.html
share/couchdb/www/docs/intro.html
share/couchdb/www/docs/json-structure.html
share/couchdb/www/docs/objects.inv
share/couchdb/www/docs/os-daemons.html
share/couchdb/www/docs/pretty_urls.html
share/couchdb/www/docs/query-servers.html
share/couchdb/www/docs/range.html
share/couchdb/www/docs/release.html
share/couchdb/www/docs/replication.html
share/couchdb/www/docs/search.html
share/couchdb/www/docs/searchindex.js
share/couchdb/www/docs/ssl.html
share/couchdb/www/document.html
share/couchdb/www/favicon.ico
share/couchdb/www/image/add.png
share/couchdb/www/image/apply.gif
share/couchdb/www/image/bg.png
share/couchdb/www/image/cancel.gif
share/couchdb/www/image/compact.png
share/couchdb/www/image/delete-mini.png
share/couchdb/www/image/delete.png
share/couchdb/www/image/grippie.gif
share/couchdb/www/image/hgrad.gif
share/couchdb/www/image/key.png
share/couchdb/www/image/load.png
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/rarrow.png
share/couchdb/www/image/run-mini.png
share/couchdb/www/image/run.png
share/couchdb/www/image/running.png
share/couchdb/www/image/save.png
share/couchdb/www/image/sidebar-toggle.png
share/couchdb/www/image/spinner.gif
share/couchdb/www/image/spinner_33.gif
share/couchdb/www/image/spinner_6b.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/base64.js
share/couchdb/www/script/couch.js
share/couchdb/www/script/couch_test_runner.js
share/couchdb/www/script/couch_tests.js
share/couchdb/www/script/futon.browse.js
share/couchdb/www/script/futon.format.js
share/couchdb/www/script/futon.js
share/couchdb/www/script/jquery-ui-1.8.11.custom.min.js
share/couchdb/www/script/jquery.couch.js
share/couchdb/www/script/jquery.dialog.js
share/couchdb/www/script/jquery.editinline.js
share/couchdb/www/script/jquery.form.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/jspec/jspec.css
share/couchdb/www/script/jspec/jspec.jquery.js
share/couchdb/www/script/jspec/jspec.js
share/couchdb/www/script/jspec/jspec.xhr.js
share/couchdb/www/script/oauth.js
share/couchdb/www/script/sha1.js
share/couchdb/www/script/test/all_docs.js
share/couchdb/www/script/test/attachment_names.js
share/couchdb/www/script/test/attachment_paths.js
share/couchdb/www/script/test/attachment_ranges.js
share/couchdb/www/script/test/attachment_views.js
share/couchdb/www/script/test/attachments.js
share/couchdb/www/script/test/attachments_multipart.js
share/couchdb/www/script/test/auth_cache.js
share/couchdb/www/script/test/basics.js
share/couchdb/www/script/test/batch_save.js
share/couchdb/www/script/test/bulk_docs.js
share/couchdb/www/script/test/changes.js
share/couchdb/www/script/test/coffee.js
share/couchdb/www/script/test/compact.js
share/couchdb/www/script/test/config.js
share/couchdb/www/script/test/conflicts.js
share/couchdb/www/script/test/content_negotiation.js
share/couchdb/www/script/test/cookie_auth.js
share/couchdb/www/script/test/copy_doc.js
share/couchdb/www/script/test/delayed_commits.js
share/couchdb/www/script/test/design_docs.js
share/couchdb/www/script/test/design_options.js
share/couchdb/www/script/test/design_paths.js
share/couchdb/www/script/test/erlang_views.js
share/couchdb/www/script/test/etags_head.js
share/couchdb/www/script/test/etags_views.js
share/couchdb/www/script/test/form_submit.js
share/couchdb/www/script/test/http.js
share/couchdb/www/script/test/invalid_docids.js
share/couchdb/www/script/test/jsonp.js
share/couchdb/www/script/test/large_docs.js
share/couchdb/www/script/test/list_views.js
share/couchdb/www/script/test/lorem.txt
share/couchdb/www/script/test/lorem_b64.txt
share/couchdb/www/script/test/lots_of_docs.js
share/couchdb/www/script/test/method_override.js
share/couchdb/www/script/test/multiple_rows.js
share/couchdb/www/script/test/oauth.js
share/couchdb/www/script/test/oauth_users_db.js
share/couchdb/www/script/test/proxyauth.js
share/couchdb/www/script/test/purge.js
share/couchdb/www/script/test/reader_acl.js
share/couchdb/www/script/test/recreate_doc.js
share/couchdb/www/script/test/reduce.js
share/couchdb/www/script/test/reduce_builtin.js
share/couchdb/www/script/test/reduce_false.js
share/couchdb/www/script/test/reduce_false_temp.js
share/couchdb/www/script/test/replication.js
share/couchdb/www/script/test/replicator_db.js
share/couchdb/www/script/test/replicator_db_security.js
share/couchdb/www/script/test/rev_stemming.js
share/couchdb/www/script/test/rewrite.js
share/couchdb/www/script/test/security_validation.js
share/couchdb/www/script/test/show_documents.js
share/couchdb/www/script/test/stats.js
share/couchdb/www/script/test/update_documents.js
share/couchdb/www/script/test/users_db.js
share/couchdb/www/script/test/users_db_security.js
share/couchdb/www/script/test/utf8.js
share/couchdb/www/script/test/uuids.js
share/couchdb/www/script/test/view_collation.js
share/couchdb/www/script/test/view_collation_raw.js
share/couchdb/www/script/test/view_compaction.js
share/couchdb/www/script/test/view_conflicts.js
share/couchdb/www/script/test/view_errors.js
share/couchdb/www/script/test/view_include_docs.js
share/couchdb/www/script/test/view_multi_key_all_docs.js
share/couchdb/www/script/test/view_multi_key_design.js
share/couchdb/www/script/test/view_multi_key_temp.js
share/couchdb/www/script/test/view_offsets.js
share/couchdb/www/script/test/view_pagination.js
share/couchdb/www/script/test/view_sandboxing.js
share/couchdb/www/script/test/view_update_seq.js
share/couchdb/www/script/test/view_xml.js
share/couchdb/www/session.html
share/couchdb/www/spec/couch_js_class_methods_spec.js
share/couchdb/www/spec/couch_js_instance_methods_1_spec.js
share/couchdb/www/spec/couch_js_instance_methods_2_spec.js
share/couchdb/www/spec/couch_js_instance_methods_3_spec.js
share/couchdb/www/spec/custom_helpers.js
share/couchdb/www/spec/jquery_couch_js_class_methods_spec.js
share/couchdb/www/spec/jquery_couch_js_instance_methods_1_spec.js
share/couchdb/www/spec/jquery_couch_js_instance_methods_2_spec.js
share/couchdb/www/spec/jquery_couch_js_instance_methods_3_spec.js
share/couchdb/www/spec/run.html
share/couchdb/www/status.html
share/couchdb/www/style/jquery-ui-1.8.11.custom.css
share/couchdb/www/style/layout.css
share/couchdb/www/verify_install.html
share/doc/couchdb/AUTHORS.gz
share/doc/couchdb/BUGS.gz
share/doc/couchdb/CHANGES.gz
share/doc/couchdb/CouchDB.pdf.gz
share/doc/couchdb/DEVELOPERS.gz
share/doc/couchdb/INSTALL.Unix.gz
share/doc/couchdb/INSTALL.Windows.gz
share/doc/couchdb/INSTALL.gz
share/doc/couchdb/LICENSE.gz
share/doc/couchdb/NEWS.gz
share/doc/couchdb/NOTICE.gz
share/doc/couchdb/README.gz
share/doc/couchdb/THANKS.gz
share/examples/couchdb/default.ini
share/examples/couchdb/local.ini
share/info/CouchDB
share/info/dir
@pkgdir share/examples/couchdb/local.d
@pkgdir share/examples/couchdb/default.d

View File

@@ -0,0 +1,10 @@
$NetBSD: distinfo,v 1.6 2013/04/24 12:22:37 jperkin Exp $
SHA1 (apache-couchdb-1.3.0.tar.gz) = 1085297fcabb020f407283aba1f74302c9923fa0
RMD160 (apache-couchdb-1.3.0.tar.gz) = 0803f388673c181eff6ee287a76203a780c0ce8b
Size (apache-couchdb-1.3.0.tar.gz) = 3420515 bytes
SHA1 (patch-aa) = 9b3666dd90392304f43cbf6b42a1476d7956871c
SHA1 (patch-ab) = f07acca555013b1bfde95bdd056cccd9a551440a
SHA1 (patch-ac) = b5dd1be18110655b1494278b168cf1971e1ca872
SHA1 (patch-ad) = 20fcfab5fe067d57703d2cc80e308b112ce60826
SHA1 (patch-ae) = a760518711e7f013de91a478fc2353183aa5ac5e

View File

@@ -0,0 +1,71 @@
$NetBSD: patch-aa,v 1.5 2013/04/24 12:22:38 jperkin Exp $
Set pkgsrc standard paths.
--- configure.orig 2013-03-30 14:46:50.000000000 +0000
+++ configure
@@ -646,6 +646,7 @@ localstatelogdir
localstatelibdir
locallibdir
localdocdir
+localegdir
localdatadir
localconfdir
bug_uri
@@ -18288,7 +18289,7 @@ fi
done
test -n "$CURL_CONFIG" || CURL_CONFIG="no"
- if test "$CURL_CONFIG" == "no"; then :
+ if test "$CURL_CONFIG" = "no"; then :
:
@@ -18300,7 +18301,7 @@ $as_echo "$as_me: WARNING: You will be u
else
- if test x"" == x; then :
+ if test x"" = x; then :
CURL_CFLAGS="`$CURL_CONFIG $curl_config_args --cflags`"
@@ -18310,7 +18311,7 @@ else
fi
- if test x"" == x; then :
+ if test x"" = x; then :
CURL_LIBS="`$CURL_CONFIG $curl_config_args --libs`"
@@ -19116,13 +19117,15 @@ localdatadir=${datadir}/${package_identi
localdocdir=${datadir}/doc/${package_identifier}
+localegdir=@EGDIR@
+
locallibdir=${libdir}/${package_identifier}
-localstatelibdir=${localstatedir}/lib/${package_identifier}
+localstatelibdir=${localstatedir}/db/${package_identifier}
localstatelogdir=${localstatedir}/log/${package_identifier}
-localstaterundir=${localstatedir}/run/${package_identifier}
+localstaterundir=@RUNDIR@
# On Windows we install directly into our erlang distribution.
@@ -19132,9 +19135,9 @@ if test x${IS_WINDOWS} = xTRUE; then
localerlanglibdir=${libdir}
else
- locallibbindir=${locallibdir}/bin
+ locallibbindir=${libexecdir}/${package_identifier}
- localerlanglibdir=${locallibdir}/erlang/lib
+ localerlanglibdir=@ERLANG_PREFIX@/lib/erlang/lib
fi

View File

@@ -0,0 +1,93 @@
$NetBSD: patch-ab,v 1.4 2013/04/24 12:22:38 jperkin Exp $
Install into examples, not sysconfdir.
--- etc/couchdb/Makefile.in.orig 2013-03-30 14:46:47.000000000 +0000
+++ etc/couchdb/Makefile.in
@@ -99,7 +99,7 @@ am__uninstall_files_from_dir = { \
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
$(am__cd) "$$dir" && rm -f $$files; }; \
}
-am__installdirs = "$(DESTDIR)$(localconfdir)"
+am__installdirs = "$(DESTDIR)$(localegdir)"
DATA = $(localconf_DATA) $(noinst_DATA)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
transform = @program_transform_name@
@@ -240,6 +240,7 @@ launchddir = @launchddir@
libdir = @libdir@
libexecdir = @libexecdir@
localconfdir = @localconfdir@
+localegdir = @localegdir@
localdatadir = @localdatadir@
localdocdir = @localdocdir@
localedir = @localedir@
@@ -331,25 +332,25 @@ clean-libtool:
-rm -rf .libs _libs
install-localconfDATA: $(localconf_DATA)
@$(NORMAL_INSTALL)
- @list='$(localconf_DATA)'; test -n "$(localconfdir)" || list=; \
+ @list='$(localconf_DATA)'; test -n "$(localegdir)" || list=; \
if test -n "$$list"; then \
- echo " $(MKDIR_P) '$(DESTDIR)$(localconfdir)'"; \
- $(MKDIR_P) "$(DESTDIR)$(localconfdir)" || exit 1; \
+ echo " $(MKDIR_P) '$(DESTDIR)$(localegdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(localegdir)" || exit 1; \
fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(localconfdir)'"; \
- $(INSTALL_DATA) $$files "$(DESTDIR)$(localconfdir)" || exit $$?; \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(localegdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(localegdir)" || exit $$?; \
done
uninstall-localconfDATA:
@$(NORMAL_UNINSTALL)
- @list='$(localconf_DATA)'; test -n "$(localconfdir)" || list=; \
+ @list='$(localconf_DATA)'; test -n "$(localegdir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
- dir='$(DESTDIR)$(localconfdir)'; $(am__uninstall_files_from_dir)
+ dir='$(DESTDIR)$(localegdir)'; $(am__uninstall_files_from_dir)
tags: TAGS
TAGS:
@@ -391,7 +392,7 @@ check-am: all-am
check: check-am
all-am: Makefile $(DATA)
installdirs:
- for dir in "$(DESTDIR)$(localconfdir)"; do \
+ for dir in "$(DESTDIR)$(localegdir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
@@ -558,20 +559,20 @@ local_dev.ini: local.ini
fi
install-data-hook:
- if test ! -f "$(DESTDIR)$(localconfdir)/local.ini"; then \
- cp $(srcdir)/local.ini "$(DESTDIR)$(localconfdir)/local.ini"; \
+ if test ! -f "$(DESTDIR)$(localegdir)/local.ini"; then \
+ cp $(srcdir)/local.ini "$(DESTDIR)$(localegdir)/local.ini"; \
fi
if test ! "$(mkdir_p)" = ""; then \
- $(mkdir_p) "$(DESTDIR)$(localconfdir)/default.d"; \
- $(mkdir_p) "$(DESTDIR)$(localconfdir)/local.d"; \
+ $(mkdir_p) "$(DESTDIR)$(localegdir)/default.d"; \
+ $(mkdir_p) "$(DESTDIR)$(localegdir)/local.d"; \
else \
echo "WARNING: You may have to create these directories by hand."; \
- mkdir -p "$(DESTDIR)$(localconfdir)/default.d"; \
- mkdir -p "$(DESTDIR)$(localconfdir)/local.d"; \
+ mkdir -p "$(DESTDIR)$(localegdir)/default.d"; \
+ mkdir -p "$(DESTDIR)$(localegdir)/local.d"; \
fi
uninstall-local:
- rm -f "$(DESTDIR)/$(localconfdir)/local.ini"
+ rm -f "$(DESTDIR)/$(localegdir)/local.ini"
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.

View File

@@ -0,0 +1,35 @@
$NetBSD: patch-ac,v 1.2 2013/03/04 14:12:40 fhajny Exp $
Remove logrotate files.
--- etc/Makefile.in.orig 2012-12-20 21:28:48.000000000 +0000
+++ etc/Makefile.in 2013-03-04 13:01:29.096858946 +0000
@@ -296,15 +296,15 @@ version_minor = @version_minor@
version_release = @version_release@
version_revision = @version_revision@
version_stage = @version_stage@
-SUBDIRS = couchdb default init launchd logrotate.d windows
+SUBDIRS = couchdb default init launchd windows
default_sysconf_data = logrotate.d/couchdb
@INIT_TRUE@init_sysconf_data = default/couchdb
@INIT_TRUE@init_DATA = init/couchdb
@LAUNCHD_TRUE@launchd_DATA = launchd/org.apache.couchdb.plist
-nobase_sysconf_DATA = $(default_sysconf_data) $(init_sysconf_data)
+nobase_sysconf_DATA = $(init_sysconf_data)
EXTRA_DIST = default/couchdb windows/couchdb.iss.tpl \
windows/README.txt.tpl $(am__append_1)
-CLEANFILES = $(init_DATA) $(default_sysconf_data) $(launchd_DATA)
+CLEANFILES = $(init_DATA) $(launchd_DATA)
couchdb_command_name = `echo couchdb | sed '$(transform)'`
all: all-recursive
@@ -740,9 +740,6 @@ init/couchdb: init/couchdb.tpl
-e "s|%couchdb_command_name%|$(couchdb_command_name)|" \
< $< > $@
-logrotate.d/couchdb: logrotate.d/couchdb.tpl
- sed -e "s|%localstatelogdir%|@localstatelogdir@|g" < $< > $@
-
launchd/org.apache.couchdb.plist: launchd/org.apache.couchdb.plist.tpl
if test "$(mkdir_p)"; then \
$(mkdir_p) launchd; \

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ad,v 1.1 2011/07/27 19:20:57 fhajny Exp $
Fix default PID file location in script.
--- bin/couchdb.tpl.in.orig 2010-06-25 18:50:03.000000000 +0000
+++ bin/couchdb.tpl.in
@@ -22,7 +22,7 @@ INTERACTIVE=false
KILL=false
LOCAL_CONFIG_DIR=%localconfdir%/local.d
LOCAL_CONFIG_FILE=%localconfdir%/%localini%
-PID_FILE=%localstatedir%/run/couchdb/couchdb.pid
+PID_FILE=@RUNDIR@/couchdb.pid
RECURSED=false
RESET_CONFIG=true
RESPAWN_TIMEOUT=0

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-ae,v 1.4 2013/03/04 14:12:40 fhajny Exp $
Use proper installer for script files.
--- src/couchdb/priv/Makefile.in.orig 2012-12-20 21:28:49.000000000 +0000
+++ src/couchdb/priv/Makefile.in 2013-03-04 13:13:06.147877580 +0000
@@ -447,8 +447,8 @@ install-couchprivPROGRAMS: $(couchpriv_P
while read type dir files; do \
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
test -z "$$files" || { \
- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(couchprivdir)$$dir'"; \
- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(couchprivdir)$$dir" || exit $$?; \
+ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(couchprivdir)$$dir'"; \
+ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(couchprivdir)$$dir" || exit $$?; \
} \
; done

View File

@@ -0,0 +1,6 @@
Connector/NET enables developers to easily create .NET applications that
require secure, high-performance data connectivity with MySQL. It implements
the required ADO.NET interfaces and integrates into ADO.NET aware tools.
Developers can build applications using their choice of .NET languages.
Connector/NET is a fully managed ADO.NET driver written in 100% pure C#.

View File

@@ -0,0 +1,26 @@
# $NetBSD: Makefile,v 1.3 2013/06/17 12:44:53 wiz Exp $
DISTNAME= mysql-connector-net-6.3.5-noinstall
PKGNAME= csharp-mysql-6.3.5
CATEGORIES= databases devel
MASTER_SITES= ${MASTER_SITE_MYSQL:=Connector-Net/}
EXTRACT_SUFX= .zip
MAINTAINER= kefren@NetBSD.org
HOMEPAGE= http://dev.mysql.com/downloads/connector/net/
COMMENT= Fully managed ADO.NET driver for MySQL
LICENSE= gnu-gpl-v2
DEPENDS+= mono>=2.0<3:../../lang/mono2
EXTRACT_DIR= ${WRKDIR}/${PKGNAME}
WRKSRC= ${EXTRACT_DIR}
do-build:
do-install:
${MV} ${WRKSRC}/v2/mysql.data.dll ${WRKSRC}/v2/MySql.Data.dll
${PREFIX}/bin/gacutil -i ${WRKSRC}/v2/MySql.Data.dll \
-root ${DESTDIR}${PREFIX}/lib
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2010/10/16 21:26:02 kefren Exp $
lib/mono/gac/MySql.Data/6.3.5.0__c5687fc88969c44d/MySql.Data.dll

View File

@@ -0,0 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/10/16 21:26:02 kefren Exp $
BUILDLINK_TREE+= csharp-mysql
.if !defined(CSHARP_MYSQL_BUILDLINK3_MK)
CSHARP_MYSQL_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.csharp-mysql+= csharp-mysql>=6.3.5
BUILDLINK_PKGSRCDIR.csharp-mysql?= ../../databases/csharp-mysql
.endif # CSHARP_MYSQL_BUILDLINK3_MK
BUILDLINK_TREE+= -csharp-mysql

View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2010/10/16 21:26:02 kefren Exp $
SHA1 (mysql-connector-net-6.3.5-noinstall.zip) = 1ea85a2664d99e679fe2985705ae07d5ae6a94a1
RMD160 (mysql-connector-net-6.3.5-noinstall.zip) = 93930e42425dab050c078dc7523d54bfb2bdc4ee
Size (mysql-connector-net-6.3.5-noinstall.zip) = 3348636 bytes

17
databases/cstore/DESCR Normal file
View File

@@ -0,0 +1,17 @@
C-Store is a read-optimized relational DBMS that contrasts sharply
with most current systems, which are write-optimized. Among the many
differences in its design are:
+ storage of data by column rather than by row,
+ careful coding and packing of objects into storage including main
memory during query processing,
+ storing an overlapping collection of column-oriented projections,
rather than the current fare of tables and indexes,
+ a non-traditional implementation of transactions which includes high
availability and snapshot isolation for read-only transactions,
+ and the extensive use of bitmap indexes to complement B-tree
structures.

8
databases/cstore/MESSAGE Normal file
View File

@@ -0,0 +1,8 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2007/11/10 11:33:00 agc Exp $
The storage requirements for this package could be considered to
be quite large - on the order of 20 Gigabytes for the complete
data.
===========================================================================

73
databases/cstore/Makefile Normal file
View File

@@ -0,0 +1,73 @@
# $NetBSD: Makefile,v 1.10 2013/05/31 12:39:47 wiz Exp $
DISTNAME= cstore0.2
PKGNAME= cstore-0.2
PKGREVISION= 6
CATEGORIES= databases
MASTER_SITES= http://db.lcs.mit.edu/projects/cstore/ \
http://db.csail.mit.edu/data/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} data4.tar.gz D6.data.ros.gz
MAINTAINER= agc@NetBSD.org
HOMEPAGE= http://db.lcs.mit.edu/projects/cstore/
COMMENT= Read-optimised column store relational DBMS
BDB_ACCEPTED= db4
USE_LANGUAGES= c c++
USE_TOOLS+= gmake perl pax
WRKSRC= ${WRKDIR}/cstore
REPLACE_PERL= Build/BSsrcs
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= post-patch
SUBST_FILES.prefix= Build/makefile.init
SUBST_SED.prefix= -e 's|@PREFIX@|'${PREFIX}'|g'
DATAFILES= D1.data.mini
DATAFILES+= D1.data.retsupp50sort
DATAFILES+= D1.shipdate.mini
DATAFILES+= D1.suppkey.mini
DATAFILES+= D10.data.ros
DATAFILES+= D10.data.wos
DATAFILES+= D2.data
DATAFILES+= D2.data.mini
DATAFILES+= D3.custkey.mini
DATAFILES+= D3.data.mini
DATAFILES+= D4.data
DATAFILES+= D4.data.mini
DATAFILES+= D5.data.mini
DATAFILES+= D6.data.ros
DATAFILES+= D6.data.wos
DATAFILES+= D7.data.ros
DATAFILES+= D7.data.wos
DATAFILES+= D8.data.ros
DATAFILES+= D8.data.wos
DATAFILES+= D9.data.ros
DATAFILES+= D9.data.wos
DATAFILES+= d1.lsuppkey.full
DATAFILES+= deltaPos.test
DATAFILES+= deltaPosTestBig2
DATAFILES+= lineitem.sorted.full
DATAFILES+= lshipdate.sorted.mini
DATAFILES+= lshipdate.sorted.tiny
DATAFILES+= supp.data
AUTO_MKDIRS= yes
post-extract:
cd ${WRKDIR} && mv ${DATAFILES} ${WRKSRC}/data
do-build:
cd ${WRKSRC}/src && ${SETENV} ${PKGSRC_MAKE_ENV} ${MAKE} debug2
cd ${WRKSRC}/src && ./cstoreqptest 0 createData.cnf global.cnf
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/cstoreqptest \
${DESTDIR}${PREFIX}/bin/cstoreqp
cd ${WRKSRC}/data && pax -rwpe . ${DESTDIR}${PREFIX}/cstore/data
cd ${WRKSRC}/doc && pax -rwpe . ${DESTDIR}${PREFIX}/share/doc/cstore
.include "../../archivers/lzo/buildlink3.mk"
.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

66
databases/cstore/PLIST Normal file
View File

@@ -0,0 +1,66 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:43:14 joerg Exp $
bin/cstoreqp
cstore/data/D1.data.mini
cstore/data/D1.data.retsupp50sort
cstore/data/D1.shipdate.mini
cstore/data/D1.suppkey.mini
cstore/data/D10.data.ros
cstore/data/D10.data.ros.1
cstore/data/D10.data.ros.2
cstore/data/D10.data.wos
cstore/data/D2.data
cstore/data/D2.data.1
cstore/data/D2.data.2
cstore/data/D2.data.3
cstore/data/D2.data.mini
cstore/data/D3.custkey.mini
cstore/data/D3.data.mini
cstore/data/D4.data
cstore/data/D4.data.1
cstore/data/D4.data.2
cstore/data/D4.data.3
cstore/data/D4.data.mini
cstore/data/D5.data.mini
cstore/data/D6.data.ros
cstore/data/D6.data.ros.1
cstore/data/D6.data.ros.2
cstore/data/D6.data.ros.3
cstore/data/D6.data.ros.4
cstore/data/D6.data.ros.5
cstore/data/D6.data.ros.6
cstore/data/D6.data.ros.7
cstore/data/D6.data.ros.8
cstore/data/D6.data.wos
cstore/data/D7.data.ros
cstore/data/D7.data.ros.1
cstore/data/D7.data.ros.2
cstore/data/D7.data.ros.3
cstore/data/D7.data.wos
cstore/data/D8.data.ros
cstore/data/D8.data.ros.1
cstore/data/D8.data.ros.2
cstore/data/D8.data.wos
cstore/data/D9.data.ros
cstore/data/D9.data.ros.1
cstore/data/D9.data.ros.2
cstore/data/D9.data.ros.3
cstore/data/D9.data.wos
cstore/data/d1.lsuppkey.full
cstore/data/d1.lsuppkey.full.1
cstore/data/deltaPos.test
cstore/data/deltaPosTestBig2
cstore/data/flushCache
cstore/data/getData
cstore/data/lineitem.sorted.full
cstore/data/lineitem.sorted.full.1
cstore/data/lshipdate.sorted.mini
cstore/data/lshipdate.sorted.tiny
cstore/data/makeLargeFile
cstore/data/supp.data
share/doc/cstore/CatalogPersistent.txt
share/doc/cstore/PlanGenerator_20050628.doc
share/doc/cstore/README
share/doc/cstore/ReleaseOverview.txt
share/doc/cstore/Union.doc
share/doc/cstore/thesis.pdf
share/doc/cstore/vldb.pdf

81
databases/cstore/distinfo Normal file
View File

@@ -0,0 +1,81 @@
$NetBSD: distinfo,v 1.2 2011/12/20 13:42:47 wiz Exp $
SHA1 (D6.data.ros.gz) = 3efe5c0b4675dcdc2c89cf9a1b6f305663d153a5
RMD160 (D6.data.ros.gz) = 20b99b066b953424dcb0b5435e9731806fac5d52
Size (D6.data.ros.gz) = 992143667 bytes
SHA1 (cstore0.2.tar.gz) = 51f3eac1adde49f72c454ed3895f5954ee17ad46
RMD160 (cstore0.2.tar.gz) = bb510ddcd3dbc5683059f313e6fb0335ad7c71dd
Size (cstore0.2.tar.gz) = 4292918 bytes
SHA1 (data4.tar.gz) = aa07edc8a13bb194774af49cd6a1f5a95574aefd
RMD160 (data4.tar.gz) = 9914cae55abfef9d880f14a004f4f608180ec905
Size (data4.tar.gz) = 1348695152 bytes
SHA1 (patch-aa) = 2a37550c253298dc30dff537050766ddf04896a3
SHA1 (patch-ab) = 92bb9855f834ffb7b54f0ca99efd8f1bf3c9c65e
SHA1 (patch-ac) = b495ba01f725c3b35ac1cd92a640a5978510dc19
SHA1 (patch-ad) = 4abd94414fb16281db481626a048fcd12d38a3eb
SHA1 (patch-ae) = c5fa606caafa61c0feac0ce12c3b479a124f392d
SHA1 (patch-af) = 8dbdc8d20bc56643a86bcbdff7ee631daadbad9a
SHA1 (patch-ag) = eb72568f71ec1372e0b69cad3e8b2f7d830597e4
SHA1 (patch-ah) = fca6811c7a53662e5cf41956867b39c974a96876
SHA1 (patch-ai) = a294ac30adf46ec031925363a0174c8dcd8b4c2a
SHA1 (patch-aj) = bdf1608656d2083bf0bb590942fb4f9ea0107c4e
SHA1 (patch-ak) = 6327d5bd5ec8f64ac5edd5f458ae1ee041bbfaa5
SHA1 (patch-al) = 8836e1c3925fe07d3fbe90122734e9c442fa0383
SHA1 (patch-ao) = ad649ccb0c599b8ad46ba7120d0b074e7eabda27
SHA1 (patch-ap) = c7058ab97051c8421e26344431929fb420ca0076
SHA1 (patch-aq) = 827992abf73b976d9ac2dd121d14212f7a61452c
SHA1 (patch-src_AM_CatalogInstance.cpp) = a32311603148df5219aa71dbc8fb0e8900a19cc8
SHA1 (patch-src_AM_PageWriter.cpp) = 158bbb137bffb46abd9fc6713c03db2c387c009c
SHA1 (patch-src_AM_ROSAM.cpp) = b3f194bdafb86abd44eaeb69357792febad69c64
SHA1 (patch-src_AM_ROSWOSSegment.cpp) = 10e85a9dcc5b8e9d5d8368b5aa04c0dd72c5c076
SHA1 (patch-src_AM_WSMV.cpp) = ee36161d9a31fc3c9ab994cbcd37bb7de766daa8
SHA1 (patch-src_Operators_ColumnExtracter.cpp) = 20773712242d7992ff81166eff8c503e5298b752
SHA1 (patch-src_Operators_HashJoin.h) = 089ef9b50fbb29a09d7e542346535287a8b8d381
SHA1 (patch-src_Operators_MinicolConcat.h) = 19a294484b6cb8232dce4f49a90effc020a2f016
SHA1 (patch-src_Operators_NLJoin.h) = e17bed875a7acccb06caeb288767524c645987bc
SHA1 (patch-src_Operators_SColumnExtracter.cpp) = 7f0f36563ae10d78e4d5226e67a62aca51587a85
SHA1 (patch-src_TM_WosTupleIter.cpp) = 5503e602c6da6ef917efa5957e60d72b68293033
SHA1 (patch-src_UnitTests_BDBPerformanceProfile.cpp) = d15969cb8da4847ee2e85bdf5ef20f9b4a16472b
SHA1 (patch-src_UnitTests_BDBReadWrite.cpp) = 615dd95cb9765fc4d0d5d3c8f83b8f222296e779
SHA1 (patch-src_UnitTests_DeltaPosWriterTest.cpp) = 6255ec2f1daa64018ee5ff957293b67e70342544
SHA1 (patch-src_UnitTests_HashMapTest.cpp) = c226cce1438410468d0ae749acd719cc2a14514f
SHA1 (patch-src_UnitTests_IntEncodeDecodeTest.cpp) = 9eecbf69cbf23fb1208f53df7efbe90fce5d38ed
SHA1 (patch-src_UnitTests_IntReaderWriterTest.cpp) = d84bbbef02f99741f623dc4be9ad2f1a45205e7d
SHA1 (patch-src_UnitTests_LZED.cpp) = 40ef27105aa88a51b27c1a4af009bb2e7d9c0739
SHA1 (patch-src_UnitTests_LZEncodeDecode.cpp) = 46af97873effdd5327e2a48b58d09053174845d7
SHA1 (patch-src_UnitTests_MergeTest.cpp) = 86b698ef45f6397c18c3b9257d882c861d0dfc6e
SHA1 (patch-src_UnitTests_NSEncodeDecode.cpp) = 441fc1b8679fffe02ea1752d3650d340cd4933b8
SHA1 (patch-src_UnitTests_PosBlockTest.cpp) = bfb2ffcab50b967fa57826939d49e715edb887dc
SHA1 (patch-src_UnitTests_Queries.cpp) = 9a0908350088aae8b4fd8373e23a958895983f8e
SHA1 (patch-src_UnitTests_RLEEncodeDecode.cpp) = a19cc964cac7ece9ae94760aeb598e288704c594
SHA1 (patch-src_UnitTests_RLEEncodeDecodeII.cpp) = 4d218b48f9354728b412e636d9ae4c2976128838
SHA1 (patch-src_UnitTests_Type2WriterTest.cpp) = de1136fa3aaecbb90413c3b77596f0f1616faf0f
SHA1 (patch-src_Wrappers_Encoder_BitSparseEncoder.cpp) = 5e2edc91e3deaf956ac66d3236fc2472ef407b0e
SHA1 (patch-src_Wrappers_Encoder_LZEncoder.cpp) = 9461b67660cc0dbe185c7d25f2029153bcdae6f2
SHA1 (patch-src_Wrappers_Encoder_RangeSparseEncoder.cpp) = da02bcdc03d880da0e3fb2bed89ef1eae991819d
SHA1 (patch-src_Wrappers_Encoder_SparseEncoder.cpp) = 75896515063014b143d89a2b6a8115448c5927be
SHA1 (patch-src_Wrappers_MultiBlock.h) = 769878e9d4ac42c5c15f14529969a19f31a1c575
SHA1 (patch-src_Wrappers_PosArrayBlock.h) = 14500febe816a25cc70d8bd3bf87f06edc6bc602
SHA1 (patch-src_Wrappers_PosBasicBlock.h) = f69257842706102944ca61c32ea43644d00568c1
SHA1 (patch-src_Wrappers_SMultiBlock.h) = f4cde96cf1dda37e10ee8a756f28c07aa72821cf
SHA1 (patch-src_Wrappers_SparseBlock.h) = 4d4a3aa4d7d96b4609c922fc785d8e53815152eb
SHA1 (patch-src_common_BlockWithPos.h) = 42a714eb32bd587fc8e882f0fc2cc694c45120ae
SHA1 (patch-src_common_MinicolBlock.h) = cae06f3bcaac900532e95014033bfdfa17ca15e1
SHA1 (patch-src_common_PosBlockArray.h) = 90dbdfa114064c5351169e3538e269c630a13888
SHA1 (patch-src_compressionexps_Dict2DataMaker.h) = 9b6e59fe63496e9c1b443fbe1302fa3e35080f2e
SHA1 (patch-src_compressionexps_DictCPU2DataMaker.h) = 8873c80c191d09e6d140cba6cb3fc70015679f06
SHA1 (patch-src_compressionexps_Int2DataMaker.h) = 25f316d0a42391a6c0cd876b44e8a548be47f03d
SHA1 (patch-src_compressionexps_JoinExpDataMaker.h) = 698ee59cb1e57adf0458ce85cc66fcc4cd857e1a
SHA1 (patch-src_compressionexps_LZ2DataMaker.cpp) = 6149ef7217109ac3b794076e2402f598843e94f2
SHA1 (patch-src_compressionexps_LZ2DataMaker.h) = de969c13a934aff7bc4411408527dbf056231a5f
SHA1 (patch-src_compressionexps_LZDataMaker.cpp) = cb3710d66e61020dc20fba87188847a3414b375e
SHA1 (patch-src_compressionexps_NS2DataMaker.h) = d946607b7f50e8a3efadd6ca9d54fbb080532927
SHA1 (patch-src_compressionexps_RLE2DataMaker.h) = 330c77c410dafc50d4447abe5cec9e6b4b6ad481
SHA1 (patch-src_compressionexps_SelExpDataMaker.h) = c624b46e12c0afc34e076220e3f106f8dd1cb1e2
SHA1 (patch-src_materialexps_PosAndEM.cpp) = 8a0dcc1c4cc452f74bc3b1dc0aed9673426faa21
SHA1 (patch-src_materialexps_PosAndLM.cpp) = 40ea2dc504e1264a83b8c4a8f52cefedcbb615db
SHA1 (patch-src_materialexps_PosAndMC.cpp) = 7981bd52604b10b26aa68e3cca231209e3aa5ca6
SHA1 (patch-src_plan_Node.h) = b60068d6c1542f3cee82d468510b0a4fa0add6e6
SHA1 (patch-src_plan_Nodes_SelectNode.cpp) = 7fe05ea193da588ca6727da16ea5fe73ab57fc0b
SHA1 (patch-src_sparseexps_SelExpDM.h) = 1afe37b5aa2ba86be34cabae25215d61fd391cb2
SHA1 (patch-src_sparseexps_StrSelExpDM.h) = 535dc0f2ad7c4787505640917a9e0e858af0ac64

View File

@@ -0,0 +1,33 @@
$NetBSD: patch-aa,v 1.2 2011/12/20 13:42:47 wiz Exp $
--- Build/makefile.init 2007/10/01 11:20:34 1.1
+++ Build/makefile.init 2007/10/01 11:24:09
@@ -1,10 +1,11 @@
CC:=$(WTF) g++
CSTORE_INCLUDE := src
-SLEEPYCAT_DIRECTORY := /usr/local/BerkeleyDB.4.2
-SLEEPYCAT_INCLUDE := $(SLEEPYCAT_DIRECTORY)/include/
+SLEEPYCAT_DIRECTORY := @PREFIX@
+SLEEPYCAT_INCLUDE := $(SLEEPYCAT_DIRECTORY)/include/db4
SLEEPYCAT_LIB := $(SLEEPYCAT_DIRECTORY)/lib
-LZO_LIB := /home/dna/huff/lzo-1.08/src/.libs
+LZO_INCLUDE := @PREFIX@/include/lzo
+LZO_LIB := @PREFIX@/lib
CFLAGS := -O0 -g3 -Wall -c -Wno-deprecated -fmessage-length=0
#override CFLAGS with optimization flags if so desired
@@ -17,10 +18,10 @@
endif
RULEFLAGS := -MM -MG -P -w
-IFLAGS := -I$(SLEEPYCAT_INCLUDE) -I$(CSTORE_INCLUDE)
-LFLAGS := -L$(SLEEPYCAT_LIB) -L$(LZO_LIB)
+IFLAGS := -I$(SLEEPYCAT_INCLUDE) -I$(CSTORE_INCLUDE) -I$(LZO_INCLUDE)
+LFLAGS := -L$(SLEEPYCAT_LIB) -L$(LZO_LIB) -Wl,-R$(SLEEPYCAT_LIB) -Wl,-R$(LZO_LIB)
OPTS := -Wl,--demangle
-LIBS := -ldb-4.2 -ldb_cxx-4.2 -lpthread -llzo
+LIBS := -ldb4 -ldb4_cxx -lpthread -llzo2
#override OPTS with gprof flags
ifdef __CSTORE_GPROF__
OPTS := -pg -Wl,--demangle

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ab,v 1.1.1.1 2007/11/10 11:33:00 agc Exp $
--- src/UnitTests/BAndOpTest.h 2007/11/07 20:18:13 1.1
+++ src/UnitTests/BAndOpTest.h 2007/11/07 20:19:06
@@ -60,8 +60,8 @@
BAndOpTest();
virtual ~BAndOpTest();
bool run(Globals* g, const vector<string>&);
- bool BAndOpTest::runTestCase1(unsigned int leftRunLengthDiff_, unsigned int rightRunLengthDiff_, unsigned int leftStartPosDiff_, unsigned int rightStartPosDiff_);
- bool BAndOpTest::runTestCase2(unsigned int leftRunLengthDiff_, unsigned int rightRunLengthDiff_, unsigned int leftStartPosDiff_, unsigned int rightStartPosDiff_);
+ bool runTestCase1(unsigned int leftRunLengthDiff_, unsigned int rightRunLengthDiff_, unsigned int leftStartPosDiff_, unsigned int rightStartPosDiff_);
+ bool runTestCase2(unsigned int leftRunLengthDiff_, unsigned int rightRunLengthDiff_, unsigned int leftStartPosDiff_, unsigned int rightStartPosDiff_);
};
#endif //_BANDOPTEST_H_

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ac,v 1.1.1.1 2007/11/10 11:33:00 agc Exp $
--- src/UnitTests/BOrOpTest.h 2007/11/07 20:19:59 1.1
+++ src/UnitTests/BOrOpTest.h 2007/11/07 20:20:14
@@ -60,8 +60,8 @@
BOrOpTest();
virtual ~BOrOpTest();
bool run(Globals* g, const vector<string>&);
- bool BOrOpTest::runTestCase1(unsigned int leftRunLengthDiff_, unsigned int rightRunLengthDiff_, unsigned int leftStartPosDiff_, unsigned int rightStartPosDiff_);
- bool BOrOpTest::runTestCase2(unsigned int leftRunLengthDiff_, unsigned int rightRunLengthDiff_, unsigned int leftStartPosDiff_, unsigned int rightStartPosDiff_);
+ bool runTestCase1(unsigned int leftRunLengthDiff_, unsigned int rightRunLengthDiff_, unsigned int leftStartPosDiff_, unsigned int rightStartPosDiff_);
+ bool runTestCase2(unsigned int leftRunLengthDiff_, unsigned int rightRunLengthDiff_, unsigned int leftStartPosDiff_, unsigned int rightStartPosDiff_);
};
#endif //_BOROPTEST_H_

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ad,v 1.1.1.1 2007/11/10 11:33:00 agc Exp $
--- src/UnitTests/BNotOpTest.h 2007/11/07 20:21:01 1.1
+++ src/UnitTests/BNotOpTest.h 2007/11/07 20:21:17
@@ -59,8 +59,8 @@
BNotOpTest();
virtual ~BNotOpTest();
bool run(Globals* g, const vector<string>&);
- bool BNotOpTest::runTestCase1(unsigned int leftRunLengthDiff_, unsigned int leftStartPosDiff_);
- bool BNotOpTest::runTestCase2(unsigned int leftRunLengthDiff_, unsigned int leftStartPosDiff_);
+ bool runTestCase1(unsigned int leftRunLengthDiff_, unsigned int leftStartPosDiff_);
+ bool runTestCase2(unsigned int leftRunLengthDiff_, unsigned int leftStartPosDiff_);
};
#endif //_BNOTOPTEST_H_

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ae,v 1.1.1.1 2007/11/10 11:33:00 agc Exp $
--- src/AM/CatalogInstance.h 2007/11/07 20:24:04 1.1
+++ src/AM/CatalogInstance.h 2007/11/07 20:24:30
@@ -156,7 +156,7 @@
CatalogInstance(); // class Projection* proj );
~CatalogInstance();
- list<class TVariable*> CatalogInstance::getColumns();
+ list<class TVariable*> getColumns();
class TVariable* getCol( string name );
void setAlias( string alias );
string getAlias();

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-af,v 1.1.1.1 2007/11/10 11:33:00 agc Exp $
--- src/parser/ListProjections.h 2007/11/07 20:25:20 1.1
+++ src/parser/ListProjections.h 2007/11/07 20:25:31
@@ -71,7 +71,7 @@
TVariable* getTuple(string projectionName, string tupleName );
void dump_env();
void add(Projection* e);
- void ListProjections::addTupleAlias( string pname, string tname, string alias );
+ void addTupleAlias( string pname, string tname, string alias );
list<Projection*> getProjections();
string toString();

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-ag,v 1.1.1.1 2007/11/10 11:33:00 agc Exp $
--- src/common/DataSource.cpp 2007/11/07 20:39:43 1.1
+++ src/common/DataSource.cpp 2007/11/07 20:40:46
@@ -279,9 +279,11 @@
case Predicate::OP_EQUAL:
lookupOnValue=true;
//for now assume value is an integer ... fix later ...
+ {
ValPos* vp = pred->getRHS();
assert(vp->type == ValPos::INTTYPE);
value=*(int*)vp->value;
+ }
break;
case Predicate::OP_LESS_THAN:
case Predicate::OP_LESS_THAN_OR_EQUAL:

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-ah,v 1.1.1.1 2007/11/10 11:33:00 agc Exp $
--- src/common/DatasourceFilters.cpp 2007/11/07 20:41:58 1.1
+++ src/common/DatasourceFilters.cpp 2007/11/07 20:42:15
@@ -114,10 +114,12 @@
case Predicate::OP_GREATER_THAN_OR_EQUAL:
case Predicate::OP_EQUAL:
lookupOnValue=true;
+ {
//for now assume value is an integer ... fix later ...
ValPos* vp = pred->getRHS();
assert(vp->type == ValPos::INTTYPE);
value=*(int*)vp->value;
+ }
break;
case Predicate::OP_LESS_THAN:
case Predicate::OP_LESS_THAN_OR_EQUAL:

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ai,v 1.1.1.1 2007/11/10 11:33:00 agc Exp $
--- src/common/PosBlockArray.cpp 2007/11/07 20:44:15 1.1
+++ src/common/PosBlockArray.cpp 2007/11/07 20:47:35
@@ -28,6 +28,8 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <cassert>
+
#include "PosBlockArray.h"
PosBlockArray::PosBlockArray(PosBlock** pba, int numEntries)

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-aj,v 1.2 2011/12/20 13:42:47 wiz Exp $
--- src/Wrappers/PosArrayBlock.cpp.orig 2006-09-19 21:47:50.000000000 +0000
+++ src/Wrappers/PosArrayBlock.cpp
@@ -1,5 +1,7 @@
+#include <cassert>
#include "PosArrayBlock.h"
-#include <iostream.h>
+#include <iostream>
+#include <string.h>
PosArrayBlock::PosArrayBlock(int capacity)
{

View File

@@ -0,0 +1,28 @@
$NetBSD: patch-ak,v 1.2 2011/12/20 13:42:47 wiz Exp $
--- src/Util/StopWatch.cpp.orig 2005-09-23 06:14:58.000000000 +0000
+++ src/Util/StopWatch.cpp
@@ -33,8 +33,9 @@
#include "StopWatch.h"
-#include <fstream.h>
-#include <iostream.h>
+#include <fstream>
+#include <iostream>
+using namespace std;
StopWatch::StopWatch()
{
@@ -52,6 +53,11 @@ void StopWatch::start() {
r1 = times(&t);
}
+// XXX would be better to get this value from sysctl
+#ifndef HZ
+#define HZ 100
+#endif
+
double StopWatch::stop() {
//clock_t diff = clock()-watch;
r2 = times(&u);

View File

@@ -0,0 +1,41 @@
$NetBSD: patch-al,v 1.2 2011/12/20 13:42:47 wiz Exp $
--- src/Util/BDBFile.cpp.orig 2005-07-09 06:23:41.000000000 +0000
+++ src/Util/BDBFile.cpp
@@ -32,6 +32,7 @@
#include <fstream>
#include <sstream>
#include <string>
+#include <string.h>
#include <map>
#include <math.h>
#include <cassert>
@@ -275,6 +276,7 @@ void BDBFile::closeCursor()
void BDBFile::showStats()
{
+#if 0
DB_BTREE_STAT *pStat;
dbHandle->stat(&pStat, 0);
@@ -284,10 +286,12 @@ void BDBFile::showStats()
cout << bdbFileName << " contains "
<< pStat->bt_ndata << " records\n";
free(pStat);
+#endif
}
u_long BDBFile::getRecordCount()
{
+#if 0
DB_BTREE_STAT *pStat;
dbHandle->stat(&pStat, 0);
@@ -297,6 +301,7 @@ u_long BDBFile::getRecordCount()
u_long cnt = pStat->bt_ndata;
free(pStat);
return cnt;
+#endif
}
void BDBFile::dumpDB()

View File

@@ -0,0 +1,23 @@
$NetBSD: patch-ao,v 1.1.1.1 2007/11/10 11:33:00 agc Exp $
--- Build/parser/subdir.mk 2007/11/08 10:39:53 1.1
+++ Build/parser/subdir.mk 2007/11/08 10:40:29
@@ -1,6 +1,6 @@
LEX = flex
LEXFLAGS = -i
-YACC = bison
+YACC = yacc
YACCFLAGS = -d
# intermediate things to be deleted if "make clean"
@@ -13,8 +13,8 @@
$(ROOT)/parser/grammar.cpp $(ROOT)/parser/grammar.h: $(ROOT)/parser/grammar.y
@echo 'Building: $@'
- $(YACC) $(YACCFLAGS) -o$@ $<
- mv $(ROOT)/parser/grammar.hpp $(ROOT)/parser/grammar.h
+ $(YACC) $(YACCFLAGS) -o $(ROOT)/parser/grammar.cpp $<
+ @echo > /dev/null mv $(ROOT)/parser/grammar.hpp $(ROOT)/parser/grammar.h
@echo 'Finished building: $<'
@echo ' '

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ap,v 1.1.1.1 2007/11/10 11:33:00 agc Exp $
--- src/parser/lexer.l 2007/11/08 11:04:34 1.1
+++ src/parser/lexer.l 2007/11/08 11:09:26
@@ -17,6 +17,8 @@
int lineno = 1;
extern "C" void yyerror(char *s);
+extern YYSTYPE yylval;
+
%}
%%

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-aq,v 1.1.1.1 2007/11/10 11:33:00 agc Exp $
--- src/makefile.targets 2007/11/08 11:15:50 1.1
+++ src/makefile.targets 2007/11/08 11:16:53
@@ -11,7 +11,7 @@
# emacs-style TAGS file
TAGS: SRCS
- etags -l c++ - <SRCS
+ @echo > /dev/null etags -l c++ - <SRCS
# lines of code report file
LOC: SRCS

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_AM_CatalogInstance.cpp,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/AM/CatalogInstance.cpp.orig 2006-10-18 06:05:29.000000000 +0000
+++ src/AM/CatalogInstance.cpp
@@ -29,6 +29,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <iostream>
+#include <stdlib.h>
#include "CatalogInstance.h"
#include "CatalogInstanceBDB.h"

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_AM_PageWriter.cpp,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/AM/PageWriter.cpp.orig 2006-09-07 23:41:23.000000000 +0000
+++ src/AM/PageWriter.cpp
@@ -29,6 +29,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <iostream>
+#include <stdlib.h>
#include <fstream>
#include <sstream>
#include <string>

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_AM_ROSAM.cpp,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/AM/ROSAM.cpp.orig 2006-09-20 15:01:44.000000000 +0000
+++ src/AM/ROSAM.cpp
@@ -30,6 +30,7 @@
*/
//#include <iostream>
#include <fstream>
+#include <stdlib.h>
#include <sstream>
#include <strstream>

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_AM_ROSWOSSegment.cpp,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/AM/ROSWOSSegment.cpp.orig 2006-10-18 06:05:29.000000000 +0000
+++ src/AM/ROSWOSSegment.cpp
@@ -32,6 +32,7 @@
#include <fstream>
#include <sstream>
#include <strstream>
+#include <stdlib.h>
#include <db_cxx.h>

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_AM_WSMV.cpp,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/AM/WSMV.cpp.orig 2005-07-06 04:06:24.000000000 +0000
+++ src/AM/WSMV.cpp
@@ -29,6 +29,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <iostream>
+#include <stdlib.h>
#include <fstream>
#include <sstream>
#include <string>

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_Operators_ColumnExtracter.cpp,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/Operators/ColumnExtracter.cpp.orig 2006-08-20 20:43:49.000000000 +0000
+++ src/Operators/ColumnExtracter.cpp
@@ -29,6 +29,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "ColumnExtracter.h"
+#include <stdlib.h>
ColumnExtracter::ColumnExtracter(string fileName, int c_index, bool FORCE_REBUILD)
{

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-src_Operators_HashJoin.h,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/Operators/HashJoin.h.orig 2006-09-29 18:20:44.000000000 +0000
+++ src/Operators/HashJoin.h
@@ -44,7 +44,7 @@
#include "../Wrappers/MultiBlock.h"
#include "../Util/HashMap.h"
#include <math.h>
-#include <hash_map.h>
+#include <hash_map>
class PBObject {
public:

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-src_Operators_MinicolConcat.h,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/Operators/MinicolConcat.h.orig 2006-02-25 20:26:25.000000000 +0000
+++ src/Operators/MinicolConcat.h
@@ -5,7 +5,7 @@
#include "../common/MinicolBlock.h"
#include "../common/UnexpectedException.h"
#include <stack>
-#include <list.h>
+#include <list>
class MinicolConcat : public Operator
{

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-src_Operators_NLJoin.h,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/Operators/NLJoin.h.orig 2006-08-20 20:43:49.000000000 +0000
+++ src/Operators/NLJoin.h
@@ -43,7 +43,7 @@
#include "../Wrappers/SMultiBlock.h"
#include "../Wrappers/MultiBlock.h"
#include <math.h>
-#include <hash_map.h>
+#include <hash_map>
class NLJoin : public Operator {

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_Operators_SColumnExtracter.cpp,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/Operators/SColumnExtracter.cpp.orig 2006-08-22 22:31:39.000000000 +0000
+++ src/Operators/SColumnExtracter.cpp
@@ -29,6 +29,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "SColumnExtracter.h"
+#include <stdlib.h>
SColumnExtracter::SColumnExtracter(string fileName, int c_index, int stringSize_, bool FORCE_REBUILD)
{

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_TM_WosTupleIter.cpp,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/TM/WosTupleIter.cpp.orig 2005-07-06 04:06:24.000000000 +0000
+++ src/TM/WosTupleIter.cpp
@@ -35,6 +35,7 @@
*/
#include <string>
+#include <stdlib.h>
#include <vector>
#include "WosTuple.h" //tuple representation of WOS projection

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_UnitTests_BDBPerformanceProfile.cpp,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/UnitTests/BDBPerformanceProfile.cpp.orig 2006-10-18 06:04:35.000000000 +0000
+++ src/UnitTests/BDBPerformanceProfile.cpp
@@ -29,6 +29,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "BDBPerformanceProfile.h"
+#include <stdlib.h>
BDBPerformanceProfile::BDBPerformanceProfile()
{

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_UnitTests_BDBReadWrite.cpp,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/UnitTests/BDBReadWrite.cpp.orig 2006-10-18 06:04:35.000000000 +0000
+++ src/UnitTests/BDBReadWrite.cpp
@@ -29,6 +29,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "BDBReadWrite.h"
+#include <stdlib.h>
BDBReadWrite::BDBReadWrite()
{}

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_UnitTests_DeltaPosWriterTest.cpp,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/UnitTests/DeltaPosWriterTest.cpp.orig 2006-10-17 19:35:33.000000000 +0000
+++ src/UnitTests/DeltaPosWriterTest.cpp
@@ -29,6 +29,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "DeltaPosWriterTest.h"
+#include <stdlib.h>
DeltaPosWriterTest::DeltaPosWriterTest()
{

View File

@@ -0,0 +1,41 @@
$NetBSD: patch-src_UnitTests_HashMapTest.cpp,v 1.1 2011/12/20 13:42:47 wiz Exp $
Avoid cast error.
--- src/UnitTests/HashMapTest.cpp.orig 2006-10-17 19:35:33.000000000 +0000
+++ src/UnitTests/HashMapTest.cpp
@@ -52,27 +52,27 @@ bool HashMapTest::run(Globals *g, const
map->put(&z, (void*)b, sizeof(int));
- if ((int)map->get(&x) != c) return false;
- if ((int)map->get(&y) != d) return false;
- if ((int)map->get(&z) != b) return false;
+ if ((int64_t)map->get(&x) != c) return false;
+ if ((int64_t)map->get(&y) != d) return false;
+ if ((int64_t)map->get(&z) != b) return false;
if (map->getDataSize() != 3*sizeof(int)) return false;
if (map->getNumKeys() != 3) return false;
map->put(&x, (void*)a, sizeof(int));
- if ((int)map->get(&x) != a) { return false; }
+ if ((int64_t)map->get(&x) != a) { return false; }
if (map->getDataSize() != 3*sizeof(int)) return false;
if (map->getNumKeys() != 3) return false;
map->put(&w, (void*)c, sizeof(int));
- if ((int)map->get(&x) != a) return false;
- if ((int)map->get(&w) != c) return false;
+ if ((int64_t)map->get(&x) != a) return false;
+ if ((int64_t)map->get(&w) != c) return false;
if (map->getDataSize() != 4*sizeof(int)) return false;
if (map->getNumKeys() != 4) return false;
for (int i = 0; i < 4; i++) {
ValPos* k = map->getKey()->clone();
- int a = (int)map->remove(k);
+ int a = (int64_t)map->remove(k);
cout << "HashMap: iterated over (" << *(int*)k->value << "," << a << ")\n";
delete k;
//cout << "NumKeys: " << map->getNumKeys() << "\n";

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_UnitTests_IntEncodeDecodeTest.cpp,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/UnitTests/IntEncodeDecodeTest.cpp.orig 2006-10-17 19:35:33.000000000 +0000
+++ src/UnitTests/IntEncodeDecodeTest.cpp
@@ -29,6 +29,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "IntEncodeDecodeTest.h"
+#include <stdlib.h>
IntEncodeDecodeTest::IntEncodeDecodeTest()
{

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_UnitTests_IntReaderWriterTest.cpp,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/UnitTests/IntReaderWriterTest.cpp.orig 2006-10-17 19:35:33.000000000 +0000
+++ src/UnitTests/IntReaderWriterTest.cpp
@@ -29,6 +29,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "IntReaderWriterTest.h"
+#include <stdlib.h>
IntReaderWriterTest::IntReaderWriterTest()
{

Some files were not shown because too many files have changed in this diff Show More