aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MOVED1
-rw-r--r--databases/Makefile1
-rw-r--r--databases/db2/Makefile52
-rw-r--r--databases/db2/distinfo2
-rw-r--r--databases/db2/files/patch-aa515
-rw-r--r--databases/db2/files/patch-ab11
-rw-r--r--databases/db2/files/patch-ac11
-rw-r--r--databases/db2/pkg-descr13
-rw-r--r--databases/db2/pkg-plist38
9 files changed, 1 insertions, 643 deletions
diff --git a/MOVED b/MOVED
index 11a2c3e1b3a7..08f0d44dc3a7 100644
--- a/MOVED
+++ b/MOVED
@@ -1689,3 +1689,4 @@ net-p2p/torrentvolve||2011-04-12|Has expired: development has ceased, and last r
sysutils/gag||2011-04-12|Has expired: no point in having it as a port, can be downloaded from the website and burned
lang/gpc|lang/fpc|2011-04-12|Has expired: development has ceased; use lang/fpc instead
security/mypasswordsafe|security/gorilla|2011-04-12|Has expired: development has ceased; try security/gorilla instead
+database/db2||2011-04-12|Deprecated; use newer databases/db5* instead.
diff --git a/databases/Makefile b/databases/Makefile
index 517aed21ee85..844ee024b08c 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -32,7 +32,6 @@
SUBDIR += cyrus-imspd
SUBDIR += dalmp
SUBDIR += db
- SUBDIR += db2
SUBDIR += db3
SUBDIR += db4
SUBDIR += db41
diff --git a/databases/db2/Makefile b/databases/db2/Makefile
deleted file mode 100644
index c8c4f1cbb16e..000000000000
--- a/databases/db2/Makefile
+++ /dev/null
@@ -1,52 +0,0 @@
-# ports collection makefile for: Berkeley DB
-# Date created: 26 Jan 1998
-# Whom: Josh Tiefenbach <josh@ican.net>
-#
-# $FreeBSD$
-#
-
-PORTNAME= db2
-PORTVERSION= 2.7.7
-PORTREVISION= 1
-CATEGORIES= databases
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= ../../src/misc
-DISTNAME= db-${PORTVERSION}
-
-MAINTAINER= mandree@FreeBSD.org
-COMMENT= The Berkeley DB package, revision 2
-
-DEPRECATED= Way outdated version with only one user in the FreeBSD ports tree
-
-MAKE_JOBS_UNSAFE= yes
-
-WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
-
-USE_LDCONFIG= yes
-GNU_CONFIGURE= yes
-CONFIGURE_SCRIPT= ../dist/configure
-CONFIGURE_ARGS= --enable-compat185 \
- --enable-dump185 --enable-cxx
-
-.if !defined(NOPORTDOCS)
-PORTDOCS= *
-INSTALL_TARGET= install install_docs
-.endif
-
-post-install:
- @-${RM} -fr ${PREFIX}/share/examples/db2
- ${MKDIR} ${PREFIX}/share/examples/db2
- cd ${WRKSRC}/..; \
- ${TAR} -cf - --exclude tags examples/ examples_cxx/ examples_java/. \
- | ( cd ${PREFIX}/share/examples/db2; ${TAR} xf - )
- @${ECHO_MSG} ""
- @${ECHO_MSG} "Java support for ${PKGNAME} is *not* built by default, and requires that you"
- @${ECHO_MSG} "have a working copy of the JDK (v1.1) installed."
- @${ECHO_MSG} ""
- @${ECHO_MSG} "To build java support, please read:"
- @${ECHO_MSG} ""
- @${ECHO_MSG} "${WRKDIR}/${DISTNAME}/java/README"
- @${ECHO_MSG} ""
- @${ECHO_MSG} "and follow the directions therein."
-
-.include <bsd.port.mk>
diff --git a/databases/db2/distinfo b/databases/db2/distinfo
deleted file mode 100644
index 37c192db7cdd..000000000000
--- a/databases/db2/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (db-2.7.7.tar.gz) = a7c68cda55f0ff2202b40371942eab65dd30e56eb137fb51c3ff104df3655b8e
-SIZE (db-2.7.7.tar.gz) = 1112976
diff --git a/databases/db2/files/patch-aa b/databases/db2/files/patch-aa
deleted file mode 100644
index 0e91825543c0..000000000000
--- a/databases/db2/files/patch-aa
+++ /dev/null
@@ -1,515 +0,0 @@
---- ../dist/Makefile.in.orig Mon Dec 7 21:05:59 1998
-+++ ../dist/Makefile.in Tue May 4 17:14:55 2004
-@@ -1,13 +1,16 @@
- # @(#)Makefile.in 10.62 (Sleepycat) 12/7/98
-
-+SOVER?= 0
-+
- srcdir= @srcdir@/..
- CPPFLAGS=-I. -I$(srcdir)/include @CPPFLAGS@
-+SHAREDFLAGS= -fPIC -DPIC
- CFLAGS= -c @CFLAGS@ $(CPPFLAGS)
- CC= @CC@
- CXXFLAGS=-c @CXXFLAGS@ $(CPPFLAGS)
- CXX= @CXX@
--LDFLAGS=@LDFLAGS@
--LIBS= @LIBS@
-+LDFLAGS=@LDFLAGS@ -L.
-+LIBS= @LIBS@ -ldb2
-
- SHELL= @db_cv_path_sh@
- ar= @db_cv_path_ar@ cr
-@@ -43,85 +46,91 @@
- LOBJS= @LIBOBJS@
- POBJS= err.o getlong.o
-
--libdb= libdb.a
--all: $(libdb) $(PROGS)
-+libdb= libdb2.a
-+libdbso= libdb2.so.$(SOVER)
-+all: $(libdb) $(libdbso) $(PROGS)
-
- $(libdb): db.h $(OBJS) $(LOBJS)
- $(rm) -f $@
- $(ar) $@ $(OBJS) $(LOBJS)
- test ! -f $(ranlib) || $(ranlib) $@
-
-+$(libdbso): db.h $(OBJS:S/.o$/.so/g) $(LOBJS:S/.o$/.so/g)
-+ $(rm) -f $@
-+ $(CXX) -shared -Wl,-x -Wl,-assert -Wl,pure-text -Wl,-soname,$@ -o $@ $(OBJS:S/.o$/.so/g) $(LOBJS:S/.o$/.so/g)
-+ ln -sf $@ libdb2.so
-+
- DBA= db_archive.o $(POBJS)
--db_archive: $(DBA) $(libdb)
-- $(CC) -o $@ $(LDFLAGS) $(DBA) $(libdb) $(LIBS)
-+db_archive: $(DBA) $(libdbso)
-+ $(CC) -o $@ $(LDFLAGS) $(DBA) $(LIBS)
-
- DBB= db_checkpoint.o $(POBJS)
--db_checkpoint: $(DBB) $(libdb)
-- $(CC) -o $@ $(LDFLAGS) $(DBB) $(libdb) $(LIBS)
-+db_checkpoint: $(DBB) $(libdbso)
-+ $(CC) -o $@ $(LDFLAGS) $(DBB) $(LIBS)
-
- DBC= db_deadlock.o $(POBJS)
--db_deadlock: $(DBC) $(libdb)
-- $(CC) -o $@ $(LDFLAGS) $(DBC) $(libdb) $(LIBS)
-+db_deadlock: $(DBC) $(libdbso)
-+ $(CC) -o $@ $(LDFLAGS) $(DBC) $(LIBS)
-
- DBD= db_dump.o $(POBJS)
--db_dump: $(DBD) $(libdb)
-- $(CC) -o $@ $(LDFLAGS) $(DBD) $(libdb) $(LIBS)
-+db_dump: $(DBD) $(libdbso)
-+ $(CC) -o $@ $(LDFLAGS) $(DBD) $(LIBS)
-
- DBE= db_dump185.o $(POBJS)
- db_dump185: $(DBE)
- $(CC) -o $@ $(LDFLAGS) $(DBE) $(LIBS)
-
- DBF= db_load.o $(POBJS)
--db_load: $(DBF) $(libdb)
-- $(CC) -o $@ $(LDFLAGS) $(DBF) $(libdb) $(LIBS)
-+db_load: $(DBF) $(libdbso)
-+ $(CC) -o $@ $(LDFLAGS) $(DBF) $(LIBS)
-
- DBG= db_printlog.o $(POBJS)
--db_printlog: $(DBG) $(libdb)
-- $(CC) -o $@ $(LDFLAGS) $(DBG) $(libdb) $(LIBS)
-+db_printlog: $(DBG) $(libdbso)
-+ $(CC) -o $@ $(LDFLAGS) $(DBG) $(LIBS)
-
- DBH= db_recover.o $(POBJS)
--db_recover: $(DBH) $(libdb)
-- $(CC) -o $@ $(LDFLAGS) $(DBH) $(libdb) $(LIBS)
-+db_recover: $(DBH) $(libdbso)
-+ $(CC) -o $@ $(LDFLAGS) $(DBH) $(LIBS)
-
- DBI= db_stat.o $(POBJS)
--db_stat: $(DBI) $(libdb)
-- $(CC) -o $@ $(LDFLAGS) $(DBI) $(libdb) $(LIBS)
-+db_stat: $(DBI) $(libdbso)
-+ $(CC) -o $@ $(LDFLAGS) $(DBI) $(LIBS)
-
- EPROGS= ex_access ex_appinit ex_btrec ex_lock ex_mpool ex_thread ex_tpcb
- DBJ= ex_access.o
--ex_access: $(DBJ) $(libdb)
-- $(CC) -o $@ $(LDFLAGS) $(DBJ) $(libdb) $(LIBS)
-+ex_access: $(DBJ) $(libdbso)
-+ $(CC) -o $@ $(LDFLAGS) $(DBJ) $(LIBS)
-
- DBK= ex_appinit.o
--ex_appinit: $(DBK) $(libdb)
-- $(CC) -o $@ $(LDFLAGS) $(DBK) $(libdb) $(LIBS)
-+ex_appinit: $(DBK) $(libdbso)
-+ $(CC) -o $@ $(LDFLAGS) $(DBK) $(LIBS)
-
- DBL= ex_btrec.o
--ex_btrec: $(DBL) $(libdb)
-- $(CC) -o $@ $(LDFLAGS) $(DBL) $(libdb) $(LIBS)
-+ex_btrec: $(DBL) $(libdbso)
-+ $(CC) -o $@ $(LDFLAGS) $(DBL) $(LIBS)
-
- DBM= ex_lock.o $(POBJS)
--ex_lock: $(DBM) $(libdb)
-- $(CC) -o $@ $(LDFLAGS) $(DBM) $(libdb) $(LIBS)
-+ex_lock: $(DBM) $(libdbso)
-+ $(CC) -o $@ $(LDFLAGS) $(DBM) $(LIBS)
-
- DBN= ex_mpool.o
--ex_mpool: $(DBN) $(libdb)
-- $(CC) -o $@ $(LDFLAGS) $(DBN) $(libdb) $(LIBS)
-+ex_mpool: $(DBN) $(libdbso)
-+ $(CC) -o $@ $(LDFLAGS) $(DBN) $(LIBS)
-
- DBO= ex_thread.o
--ex_thread: $(DBO) $(libdb)
-- $(CC) -o $@ $(LDFLAGS) $(DBO) $(libdb) $(LIBS)
-+ex_thread: $(DBO) $(libdbso)
-+ $(CC) -o $@ $(LDFLAGS) $(DBO) $(LIBS)
-
- DBP= ex_tpcb.o $(POBJS)
--ex_tpcb: $(DBP) $(libdb)
-- $(CC) -o $@ $(LDFLAGS) $(DBP) $(libdb) $(LIBS)
-+ex_tpcb: $(DBP) $(libdbso)
-+ $(CC) -o $@ $(LDFLAGS) $(DBP) $(LIBS)
-
- DBT= tclAppInit.o tcl_dbm.o tcl_hsearch.o tcl_lock.o tcl_log.o tcl_mpool.o \
- tcl_mutex.o tcl_ndbm.o tcl_txn.o utils.o $(POBJS)
-
- dbtest: .dbtestrc
--dbtest: $(DBT) $(libdb)
-- $(CC) -o $@ $(LDFLAGS) $(DBT) $(libdb) $(LIBS)
-+dbtest: $(DBT) $(libdbso)
-+ $(CC) -o $@ $(LDFLAGS) $(DBT) $(LIBS)
-
- AOBJS= err.o getcwd.o getlong.o getopt.o memcmp.o memcpy.o memmove.o \
- raise.o snprintf.o strerror.o strsep.o vsnprintf.o
-@@ -131,8 +140,8 @@
- $(rm) -f $(DBA) $(DBB) $(DBC) $(DBD) $(DBE) $(DBF) $(DBG) $(DBH)
- $(rm) -f $(DBI) $(DBJ) $(DBK) $(DBL) $(DBM) $(DBN) $(DBO) $(DBP)
- $(rm) -f $(DBT)
-- $(rm) -f $(PROGS) $(EPROGS) $(POBJS) $(LOBJS) @build_test@
-- $(rm) -f core *.core .dbtestrc $(libdb)
-+ $(rm) -f $(PROGS) $(EPROGS) $(POBJS) $(LOBJS) *.so @build_test@
-+ $(rm) -f core *.core .dbtestrc $(libdb) $(libdbso)
-
- depend obj:
-
-@@ -141,11 +150,11 @@
- $(rm) -f confdefs.h db.h db_int.h db_185.h include.tcl
-
- prefix= @prefix@
--bindir= $(prefix)/BerkeleyDB/bin
--datadir=$(prefix)/BerkeleyDB/share
--includedir=$(prefix)/BerkeleyDB/include
--libdir= $(prefix)/BerkeleyDB/lib
--mandir= $(prefix)/BerkeleyDB/docs
-+bindir= $(prefix)/bin
-+datadir=$(prefix)/share/db2
-+includedir=$(prefix)/include/db2
-+libdir= $(prefix)/lib
-+mandir= $(prefix)/share/doc/db2
-
- dmode= 755
- emode= 555
-@@ -170,6 +179,9 @@
- @cd $(libdir) && $(rm) -f $(libdb)
- @$(cp) -p $(libdb) $(libdir)
- @cd $(libdir) && $(chmod) $(fmode) $(libdb)
-+ @$(cp) -p $(libdbso) $(libdir)
-+ @cd $(libdir) && $(chmod) $(fmode) $(libdbso)
-+ ln -sf $(libdbso) $(libdir)/libdb2.so
- @echo "Installing DB utilities: $(bindir) ..."
- @test -d $(bindir) || \
- ($(mkdir) -p $(bindir) && $(chmod) $(dmode) $(bindir))
-@@ -177,6 +189,8 @@
- @$(cp) -p $(PROGS) $(bindir)
- @cd $(bindir) && (test ! -f $(strip) || $(strip) $(PROGS))
- @cd $(bindir) && $(chmod) $(emode) $(PROGS)
-+
-+install_docs:
- @echo "Installing documentation: $(mandir) ..."
- @test -d $(mandir) || \
- ($(mkdir) -p $(mandir) && $(chmod) $(dmode) $(mandir))
-@@ -506,3 +520,320 @@
- $(CC) $(CFLAGS) $?
- vsnprintf.o: $(srcdir)/clib/vsnprintf.c
- $(CC) $(CFLAGS) $?
-+
-+# Shared build
-+# Programs.
-+db_archive.so: $(srcdir)/db_archive/db_archive.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_checkpoint.so: $(srcdir)/db_checkpoint/db_checkpoint.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_deadlock.so: $(srcdir)/db_deadlock/db_deadlock.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_dump.so: $(srcdir)/db_dump/db_dump.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_dump185.so: $(srcdir)/db_dump185/db_dump185.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_load.so: $(srcdir)/db_load/db_load.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_printlog.so: $(srcdir)/db_printlog/db_printlog.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_recover.so: $(srcdir)/db_recover/db_recover.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_stat.so: $(srcdir)/db_stat/db_stat.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+
-+# Examples.
-+ex_access.so: $(srcdir)/examples/ex_access.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+ex_appinit.so: $(srcdir)/examples/ex_appinit.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+ex_btrec.so: $(srcdir)/examples/ex_btrec.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+ex_lock.so: $(srcdir)/examples/ex_lock.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+ex_mpool.so: $(srcdir)/examples/ex_mpool.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+ex_thread.so: $(srcdir)/examples/ex_thread.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+ex_tpcb.so: $(srcdir)/examples/ex_tpcb.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+
-+# DB files.
-+db.so: $(srcdir)/db/db.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_am.so: $(srcdir)/db/db_am.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_auto.so: $(srcdir)/db/db_auto.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_conv.so: $(srcdir)/db/db_conv.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_dispatch.so: $(srcdir)/db/db_dispatch.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_dup.so: $(srcdir)/db/db_dup.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_iface.so: $(srcdir)/db/db_iface.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_join.so: $(srcdir)/db/db_join.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_overflow.so: $(srcdir)/db/db_overflow.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_pr.so: $(srcdir)/db/db_pr.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_rec.so: $(srcdir)/db/db_rec.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_ret.so: $(srcdir)/db/db_ret.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+
-+# Btree source files.
-+bt_compare.so: $(srcdir)/btree/bt_compare.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+bt_conv.so: $(srcdir)/btree/bt_conv.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+bt_curadj.so: $(srcdir)/btree/bt_curadj.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+bt_cursor.so: $(srcdir)/btree/bt_cursor.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+bt_delete.so: $(srcdir)/btree/bt_delete.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+bt_open.so: $(srcdir)/btree/bt_open.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+bt_page.so: $(srcdir)/btree/bt_page.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+bt_put.so: $(srcdir)/btree/bt_put.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+bt_rec.so: $(srcdir)/btree/bt_rec.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+bt_recno.so: $(srcdir)/btree/bt_recno.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+bt_rsearch.so: $(srcdir)/btree/bt_rsearch.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+bt_search.so: $(srcdir)/btree/bt_search.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+bt_split.so: $(srcdir)/btree/bt_split.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+bt_stack.so: $(srcdir)/btree/bt_stack.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+bt_stat.so: $(srcdir)/btree/bt_stat.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+btree_auto.so: $(srcdir)/btree/btree_auto.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+
-+# C++ interface files.
-+cxx_app.so: $(srcdir)/cxx/cxx_app.cpp
-+ $(CXX) $(CXXFLAGS) $(SHAREDFLAGS) $? -o $@
-+cxx_except.so: $(srcdir)/cxx/cxx_except.cpp
-+ $(CXX) $(CXXFLAGS) $(SHAREDFLAGS) $? -o $@
-+cxx_lock.so: $(srcdir)/cxx/cxx_lock.cpp
-+ $(CXX) $(CXXFLAGS) $(SHAREDFLAGS) $? -o $@
-+cxx_log.so: $(srcdir)/cxx/cxx_log.cpp
-+ $(CXX) $(CXXFLAGS) $(SHAREDFLAGS) $? -o $@
-+cxx_mpool.so: $(srcdir)/cxx/cxx_mpool.cpp
-+ $(CXX) $(CXXFLAGS) $(SHAREDFLAGS) $? -o $@
-+cxx_table.so: $(srcdir)/cxx/cxx_table.cpp
-+ $(CXX) $(CXXFLAGS) $(SHAREDFLAGS) $? -o $@
-+cxx_txn.so: $(srcdir)/cxx/cxx_txn.cpp
-+ $(CXX) $(CXXFLAGS) $(SHAREDFLAGS) $? -o $@
-+
-+# Hash source files.
-+hash_auto.so: $(srcdir)/hash/hash_auto.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+hash.so: $(srcdir)/hash/hash.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+hash_conv.so: $(srcdir)/hash/hash_conv.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+hash_dup.so: $(srcdir)/hash/hash_dup.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+hash_func.so: $(srcdir)/hash/hash_func.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+hash_page.so: $(srcdir)/hash/hash_page.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+hash_rec.so: $(srcdir)/hash/hash_rec.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+hash_stat.so: $(srcdir)/hash/hash_stat.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+
-+# Lock source files.
-+lock.so: $(srcdir)/lock/lock.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+lock_conflict.so:$(srcdir)/lock/lock_conflict.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+lock_deadlock.so:$(srcdir)/lock/lock_deadlock.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+lock_region.so:$(srcdir)/lock/lock_region.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+lock_util.so:$(srcdir)/lock/lock_util.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+
-+# Log source files.
-+log.so: $(srcdir)/log/log.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+log_archive.so: $(srcdir)/log/log_archive.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+log_auto.so: $(srcdir)/log/log_auto.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+log_compare.so: $(srcdir)/log/log_compare.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+log_findckp.so: $(srcdir)/log/log_findckp.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+log_get.so: $(srcdir)/log/log_get.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+log_put.so: $(srcdir)/log/log_put.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+log_rec.so: $(srcdir)/log/log_rec.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+log_register.so: $(srcdir)/log/log_register.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+
-+# Mpool source files.
-+mp_bh.so: $(srcdir)/mp/mp_bh.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+mp_fget.so: $(srcdir)/mp/mp_fget.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+mp_fopen.so: $(srcdir)/mp/mp_fopen.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+mp_fput.so: $(srcdir)/mp/mp_fput.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+mp_fset.so: $(srcdir)/mp/mp_fset.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+mp_open.so: $(srcdir)/mp/mp_open.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+mp_pr.so: $(srcdir)/mp/mp_pr.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+mp_region.so: $(srcdir)/mp/mp_region.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+mp_sync.so: $(srcdir)/mp/mp_sync.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+
-+# Mutex source files.
-+mutex.so: $(srcdir)/mutex/mutex.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+# XXX
-+# UTS4 spinlocks
-+uts4_cc.so: $(srcdir)/mutex/uts4_cc.s
-+ $(AS) $(ASFLAGS) $(SHAREDFLAGS) -o $@ $? -o $@
-+
-+# Transaction source files.
-+txn.so: $(srcdir)/txn/txn.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+txn_auto.so: $(srcdir)/txn/txn_auto.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+txn_rec.so: $(srcdir)/txn/txn_rec.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+
-+# XA source files.
-+xa.so: $(srcdir)/xa/xa.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+xa_db.so: $(srcdir)/xa/xa_db.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+xa_map.so: $(srcdir)/xa/xa_map.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+
-+# Historic interfaces.
-+hsearch.so: $(srcdir)/hsearch/hsearch.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+dbm.so: $(srcdir)/dbm/dbm.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db185.so: $(srcdir)/db185/db185.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+
-+# Common source files.
-+db_appinit.so: $(srcdir)/common/db_appinit.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_apprec.so: $(srcdir)/common/db_apprec.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_byteorder.so: $(srcdir)/common/db_byteorder.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_err.so: $(srcdir)/common/db_err.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_log2.so: $(srcdir)/common/db_log2.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_region.so: $(srcdir)/common/db_region.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_salloc.so: $(srcdir)/common/db_salloc.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+db_shash.so: $(srcdir)/common/db_shash.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+
-+# OS specific source files.
-+os_abs.so: $(srcdir)/os/os_abs.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+os_alloc.so: $(srcdir)/os/os_alloc.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+os_config.so: $(srcdir)/os/os_config.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+os_dir.so: $(srcdir)/os/os_dir.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+os_fid.so: $(srcdir)/os/os_fid.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+os_fsync.so: $(srcdir)/os/os_fsync.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+os_map.so: $(srcdir)/os/os_map.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+os_oflags.so: $(srcdir)/os/os_oflags.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+os_open.so: $(srcdir)/os/os_open.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+os_rpath.so: $(srcdir)/os/os_rpath.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+os_rw.so: $(srcdir)/os/os_rw.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+os_seek.so: $(srcdir)/os/os_seek.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+os_sleep.so: $(srcdir)/os/os_sleep.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+os_spin.so: $(srcdir)/os/os_spin.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+os_stat.so: $(srcdir)/os/os_stat.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+os_tmpdir.so: $(srcdir)/os/os_tmpdir.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+os_unlink.so: $(srcdir)/os/os_unlink.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+
-+# Test programs.
-+tclAppInit.so: $(srcdir)/test/tclAppInit.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+tcl_dbm.so: $(srcdir)/test/tcl_dbm.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+tcl_hsearch.so: $(srcdir)/test/tcl_hsearch.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+tcl_lock.so: $(srcdir)/test/tcl_lock.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+tcl_log.so: $(srcdir)/test/tcl_log.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+tcl_mpool.so: $(srcdir)/test/tcl_mpool.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+tcl_mutex.so: $(srcdir)/test/tcl_mutex.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+tcl_ndbm.so: $(srcdir)/test/tcl_ndbm.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+tcl_txn.so: $(srcdir)/test/tcl_txn.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+utils.so: $(srcdir)/test/utils.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+
-+# Replacement source files.
-+err.so: $(srcdir)/clib/err.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+getcwd.so: $(srcdir)/clib/getcwd.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+getlong.so: $(srcdir)/clib/getlong.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+getopt.so: $(srcdir)/clib/getopt.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+memcmp.so: $(srcdir)/clib/memcmp.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+memcpy.so: $(srcdir)/clib/memmove.c
-+ $(CC) -DMEMCOPY $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+memmove.so: $(srcdir)/clib/memmove.c
-+ $(CC) -DMEMMOVE $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+raise.so: $(srcdir)/clib/raise.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+snprintf.so: $(srcdir)/clib/snprintf.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+strerror.so: $(srcdir)/clib/strerror.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+strsep.so: $(srcdir)/clib/strsep.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
-+vsnprintf.so: $(srcdir)/clib/vsnprintf.c
-+ $(CC) $(CFLAGS) $(SHAREDFLAGS) $? -o $@
diff --git a/databases/db2/files/patch-ab b/databases/db2/files/patch-ab
deleted file mode 100644
index 16160886f375..000000000000
--- a/databases/db2/files/patch-ab
+++ /dev/null
@@ -1,11 +0,0 @@
---- ../include/db_cxx.h.orig Tue Aug 31 13:45:43 1999
-+++ ../include/db_cxx.h Sat Sep 14 14:50:27 2002
-@@ -717,7 +717,7 @@
- // call set_error_stream() to force all errors to a C++ stream.
- // It is unwise to mix these approaches.
- //
-- void set_error_stream(class ostream*);
-+ void set_error_stream(ostream*);
-
- // used internally
- static int runtime_error(const char *caller, int err,
diff --git a/databases/db2/files/patch-ac b/databases/db2/files/patch-ac
deleted file mode 100644
index 83873426b6ed..000000000000
--- a/databases/db2/files/patch-ac
+++ /dev/null
@@ -1,11 +0,0 @@
---- ../cxx/cxx_app.cpp.orig Wed Dec 16 14:53:47 1998
-+++ ../cxx/cxx_app.cpp Sat Sep 14 14:50:30 2002
-@@ -125,7 +125,7 @@
- // db_env triggered the call. A user that has multiple DB_ENVs
- // will simply not be able to have different streams for each one.
- //
--void DbEnv::set_error_stream(class ostream *stream)
-+void DbEnv::set_error_stream(ostream *stream)
- {
- error_stream_ = stream;
-
diff --git a/databases/db2/pkg-descr b/databases/db2/pkg-descr
deleted file mode 100644
index 9a1198f80953..000000000000
--- a/databases/db2/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-Version 2 of the Berkeley DB library. This version uses an underlying
-database format incompatible with revision 1 and a different standard API.
-Utilities are included in the distribution to convert v1.85 databases to v2
-databases, and a backwards compatible API is provided to maintain
-compatibility with programs using the v1.85 interface.
-
-There are minor interface changes in this release which may require that DB
-applications be modified and recompiled. For a complete discussion of
-interface changes, see:
-
-http://www.sleepycat.com/update/
-
-WWW: http://www.sleepycat.com/
diff --git a/databases/db2/pkg-plist b/databases/db2/pkg-plist
deleted file mode 100644
index 2a136e9e9621..000000000000
--- a/databases/db2/pkg-plist
+++ /dev/null
@@ -1,38 +0,0 @@
-include/db2/db.h
-include/db2/db_cxx.h
-include/db2/db_185.h
-lib/libdb2.a
-lib/libdb2.so
-lib/libdb2.so.0
-bin/db_archive
-bin/db_checkpoint
-bin/db_deadlock
-bin/db_dump
-bin/db_dump185
-bin/db_load
-bin/db_printlog
-bin/db_recover
-bin/db_stat
-%%EXAMPLESDIR%%/examples/README
-%%EXAMPLESDIR%%/examples/ex_access.c
-%%EXAMPLESDIR%%/examples/ex_appinit.c
-%%EXAMPLESDIR%%/examples/ex_btrec.c
-%%EXAMPLESDIR%%/examples/ex_lock.c
-%%EXAMPLESDIR%%/examples/ex_mpool.c
-%%EXAMPLESDIR%%/examples/ex_thread.c
-%%EXAMPLESDIR%%/examples/ex_tpcb.c
-%%EXAMPLESDIR%%/examples/ex_tpcb.h
-%%EXAMPLESDIR%%/examples_cxx/AccessExample.cpp
-%%EXAMPLESDIR%%/examples_cxx/AppinitExample.cpp
-%%EXAMPLESDIR%%/examples_cxx/LockExample.cpp
-%%EXAMPLESDIR%%/examples_cxx/MpoolExample.cpp
-%%EXAMPLESDIR%%/examples_cxx/TpcbExample.cpp
-%%EXAMPLESDIR%%/examples_java/AccessExample.java
-%%EXAMPLESDIR%%/examples_java/AppinitExample.java
-%%EXAMPLESDIR%%/examples_java/LockExample.java
-%%EXAMPLESDIR%%/examples_java/TpcbExample.java
-@dirrm include/db2
-@dirrm %%EXAMPLESDIR%%/examples
-@dirrm %%EXAMPLESDIR%%/examples_cxx
-@dirrm %%EXAMPLESDIR%%/examples_java
-@dirrm %%EXAMPLESDIR%%