[csw-devel] SF.net SVN: gar:[6468] csw/mgar/pkg/bdb44

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Sep 25 09:14:18 CEST 2009


Revision: 6468
          http://gar.svn.sourceforge.net/gar/?rev=6468&view=rev
Author:   dmichelsen
Date:     2009-09-25 07:14:18 +0000 (Fri, 25 Sep 2009)

Log Message:
-----------
bdb44: Reinstatiate full bdb44 manifest

Added Paths:
-----------
    csw/mgar/pkg/bdb44/tags/bdb-consolidation-4.4.20,REV=2009.07.28/
    csw/mgar/pkg/bdb44/trunk/Makefile
    csw/mgar/pkg/bdb44/trunk/checksums
    csw/mgar/pkg/bdb44/trunk/files/

Removed Paths:
-------------
    csw/mgar/pkg/bdb44/trunk/Makefile
    csw/mgar/pkg/bdb44/trunk/legacy/

Deleted: csw/mgar/pkg/bdb44/trunk/Makefile
===================================================================
--- csw/mgar/pkg/bdb44/trunk/Makefile	2009-09-25 07:07:00 UTC (rev 6467)
+++ csw/mgar/pkg/bdb44/trunk/Makefile	2009-09-25 07:14:18 UTC (rev 6468)
@@ -1,91 +0,0 @@
-GARNAME = db
-GARVERSION = 4.4.20
-CATEGORIES = lib
-
-DESCRIPTION = embedded database libraries and utilities
-define BLURB
-  Berkeley DB (libdb) is a programmatic toolkit that provides embedded database
-  support for both traditional and client/server applications. It includes
-  b+tree, queue, extended linear hashing, fixed, and variable-length record
-  access methods, transactions, locking, logging, shared memory caching and
-  database recovery. DB supports C, C++, Java, and Perl APIs. It is available
-  for a wide variety of UNIX platforms as well as Windows NT and Windows 95
-  (MSVC 4, 5 and 6).
-endef
-
-MASTER_SITES = http://download.oracle.com/berkeley-db/
-SPKG_SOURCEURL = http://www.oracle.com/technology/software/products/berkeley-db/db/index.html
-
-CONFIGURE_SCRIPTS =
-BUILD_SCRIPTS =
-INSTALL_SCRIPTS = custom-$(GARCH) custom-all
-TEST_SCRIPTS =
-
-ENABLE_CHECK = 0
-PACKAGES = CSWbdb44 
-SPKG_DESC = BerkeleyDB 4.4 embedded database libraries and utilities
-CATALOGNAME = berkeleydb44
-REQUIRED_PKGS = CSWbdb
-
-include gar/category.mk
-
-install-custom-i386:
-	ginstall -d $(DESTDIR)$(prefix)/bdb44/lib
-	cd $(DESTDIR)$(prefix)/bdb44/lib && gln -s . i386
-
-install-custom-sparc:
-	ginstall -d $(DESTDIR)$(prefix)/bdb44/lib/sparcv9
-	ginstall -d $(DESTDIR)$(prefix)/bdb44/bin/sparcv9
-	cd $(DESTDIR)$(prefix)/bdb44/lib && gln -s . sparcv8
-	cd $(DESTDIR)$(prefix)/bdb44/lib && gln -s sparcv9 64
-	cd $(DESTDIR)$(prefix)/bdb44/lib/sparcv9 && gln -s $(libdir)/sparcv9/db.jar db.jar
-	cd $(DESTDIR)$(prefix)/bdb44/lib/sparcv9 && gln -s $(libdir)/sparcv9/libdb-4.so libdb-4.4.so
-	cd $(DESTDIR)$(prefix)/bdb44/lib/sparcv9 && gln -s $(libdir)/sparcv9/libdb-4.so libdb-4.so
-	cd $(DESTDIR)$(prefix)/bdb44/lib/sparcv9 && gln -s $(libdir)/sparcv9/libdb.so libdb.so
-	cd $(DESTDIR)$(prefix)/bdb44/lib/sparcv9 && gln -s $(libdir)/sparcv9/libdb_cxx-4.so libdb_cxx-4.4.so 
-	cd $(DESTDIR)$(prefix)/bdb44/lib/sparcv9 && gln -s $(libdir)/sparcv9/libdb_cxx-4.so libdb_cxx-4.so
-	cd $(DESTDIR)$(prefix)/bdb44/lib/sparcv9 && gln -s $(libdir)/sparcv9/libdb_cxx.so libdb_cxx.so 
-	cd $(DESTDIR)$(prefix)/bdb44/lib/sparcv9 && gln -s $(libdir)/sparcv9/libdb_java-4.so libdb_java-4.4.so
-	cd $(DESTDIR)$(prefix)/bdb44/lib/sparcv9 && gln -s $(libdir)/sparcv9/libdb_java-4.so libdb_java-4.4_g.so
-	cd $(DESTDIR)$(prefix)/bdb44/lib/sparcv9 && gln -s $(libdir)/sparcv9/libdb_java-4.so libdb_java-4.so 
-	cd $(DESTDIR)$(prefix)/bdb44/lib/sparcv9 && gln -s $(libdir)/sparcv9/libdb_java.so libdb_java.so
-	cd $(DESTDIR)$(prefix)/bdb44/bin/sparcv9 && gln -s $(bindir)/sparcv9/db_archive db_archive
-	cd $(DESTDIR)$(prefix)/bdb44/bin/sparcv9 && gln -s $(bindir)/sparcv9/db_checkpoint db_checkpoint 
-	cd $(DESTDIR)$(prefix)/bdb44/bin/sparcv9 && gln -s $(bindir)/sparcv9/db_deadlock db_deadlock
-	cd $(DESTDIR)$(prefix)/bdb44/bin/sparcv9 && gln -s $(bindir)/sparcv9/db_dump db_dump 
-	cd $(DESTDIR)$(prefix)/bdb44/bin/sparcv9 && gln -s $(bindir)/sparcv9/db_load db_load
-	cd $(DESTDIR)$(prefix)/bdb44/bin/sparcv9 && gln -s $(bindir)/sparcv9/db_printlog db_printlog
-	cd $(DESTDIR)$(prefix)/bdb44/bin/sparcv9 && gln -s $(bindir)/sparcv9/db_recover db_recover
-	cd $(DESTDIR)$(prefix)/bdb44/bin/sparcv9 && gln -s $(bindir)/sparcv9/db_stat db_stat
-	cd $(DESTDIR)$(prefix)/bdb44/bin/sparcv9 && gln -s $(bindir)/sparcv9/db_upgrade db_upgrade
-	cd $(DESTDIR)$(prefix)/bdb44/bin/sparcv9 && gln -s $(bindir)/sparcv9/db_verify db_verify
-	cd $(DESTDIR)$(prefix)/bdb44/bin/sparcv9 && gln -s $(bindir)/sparcv9/berkeley_db_svc berkeley_db_svc
-	cd $(DESTDIR)$(prefix)/bdb44/bin/sparcv9 && gln -s $(bindir)/sparcv9/db_hotbackup db_hotbackup
-
-install-custom-all:
-	ginstall -d $(DESTDIR)$(prefix)/bdb44/lib
-	ginstall -d $(DESTDIR)$(prefix)/bdb44/bin
-	cd $(DESTDIR)$(prefix)/bdb44/lib && gln -s . 32
-	cd $(DESTDIR)$(prefix)/bdb44/lib && gln -s $(libdir)/db.jar db.jar
-	cd $(DESTDIR)$(prefix)/bdb44/lib && gln -s $(libdir)/libdb-4.so libdb-4.4.so
-	cd $(DESTDIR)$(prefix)/bdb44/lib && gln -s $(libdir)/libdb-4.so libdb-4.so
-	cd $(DESTDIR)$(prefix)/bdb44/lib && gln -s $(libdir)/libdb.so libdb.so
-	cd $(DESTDIR)$(prefix)/bdb44/lib && gln -s $(libdir)/libdb_cxx-4.so libdb_cxx-4.4.so 
-	cd $(DESTDIR)$(prefix)/bdb44/lib && gln -s $(libdir)/libdb_cxx-4.so libdb_cxx-4.so
-	cd $(DESTDIR)$(prefix)/bdb44/lib && gln -s $(libdir)/libdb_cxx.so libdb_cxx.so 
-	cd $(DESTDIR)$(prefix)/bdb44/lib && gln -s $(libdir)/libdb_java-4.so libdb_java-4.4.so
-	cd $(DESTDIR)$(prefix)/bdb44/lib && gln -s $(libdir)/libdb_java-4.so libdb_java-4.4_g.so
-	cd $(DESTDIR)$(prefix)/bdb44/lib && gln -s $(libdir)/libdb_java-4.so libdb_java-4.so 
-	cd $(DESTDIR)$(prefix)/bdb44/lib && gln -s $(libdir)/libdb_java.so libdb_java.so
-	cd $(DESTDIR)$(prefix)/bdb44/bin && gln -s $(bindir)/db_archive db_archive
-	cd $(DESTDIR)$(prefix)/bdb44/bin && gln -s $(bindir)/db_checkpoint db_checkpoint
-	cd $(DESTDIR)$(prefix)/bdb44/bin && gln -s $(bindir)/db_deadlock db_deadlock
-	cd $(DESTDIR)$(prefix)/bdb44/bin && gln -s $(bindir)/db_dump db_dump
-	cd $(DESTDIR)$(prefix)/bdb44/bin && gln -s $(bindir)/db_load db_load 
-	cd $(DESTDIR)$(prefix)/bdb44/bin && gln -s $(bindir)/db_printlog db_printlog
-	cd $(DESTDIR)$(prefix)/bdb44/bin && gln -s $(bindir)/db_recover db_recover 
-	cd $(DESTDIR)$(prefix)/bdb44/bin && gln -s $(bindir)/db_stat db_stat
-	cd $(DESTDIR)$(prefix)/bdb44/bin && gln -s $(bindir)/db_upgrade db_upgrade
-	cd $(DESTDIR)$(prefix)/bdb44/bin && gln -s $(bindir)/db_verify db_verify 
-	cd $(DESTDIR)$(prefix)/bdb44/bin && gln -s $(bindir)/berkeley_db_svc berkeley_db_svc
-	cd $(DESTDIR)$(prefix)/bdb44/bin && gln -s $(bindir)/db_hotbackup db_hotbackup

Copied: csw/mgar/pkg/bdb44/trunk/Makefile (from rev 6465, csw/mgar/pkg/bdb44/trunk/legacy/Makefile)
===================================================================
--- csw/mgar/pkg/bdb44/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/bdb44/trunk/Makefile	2009-09-25 07:14:18 UTC (rev 6468)
@@ -0,0 +1,101 @@
+GARNAME = db
+GARVERSION = 4.4.20
+CATEGORIES = lib
+
+DESCRIPTION = embedded database libraries and utilities
+define BLURB
+  Berkeley DB (libdb) is a programmatic toolkit that provides embedded database
+  support for both traditional and client/server applications. It includes
+  b+tree, queue, extended linear hashing, fixed, and variable-length record
+  access methods, transactions, locking, logging, shared memory caching and
+  database recovery. DB supports C, C++, Java, and Perl APIs. It is available
+  for a wide variety of UNIX platforms as well as Windows NT and Windows 95
+  (MSVC 4, 5 and 6).
+endef
+
+MASTER_SITES = http://download.oracle.com/berkeley-db/
+DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz 
+
+PACKAGES = CSWbdb44 CSWbdb44-devel CSWbdb44-doc
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+SPKG_SOURCEURL = http://www.oracle.com/technology/software/products/berkeley-db/db/index.html
+
+WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/build_unix
+
+PATCHDIR = $(WORKSRC)/..
+PATCHDIRLEVEL = 0
+PATCHFILES += $(notdir $(wildcard $(FILEDIR)/patch.*.diff))
+
+BUILD64 = 1
+
+CONFIGURE_SCRIPTS = dist
+
+prefix = $(BUILD_PREFIX)/bdb44
+docdir = $(BUILD_PREFIX)/share/doc
+
+CONFIGURE_ARGS  = $(DIRPATHS)
+CONFIGURE_ARGS += --disable-cryptography
+CONFIGURE_ARGS += --enable-compat185
+CONFIGURE_ARGS += --enable-o_direct
+CONFIGURE_ARGS += --enable-rpc
+CONFIGURE_ARGS += --enable-cxx
+CONFIGURE_ARGS += --enable-java
+
+# Exclude TCL support for 64 bit until we have a 64 bit TCL
+ifeq ($(MEMORYMODEL),32)
+CONFIGURE_ARGS += --enable-tcl
+CONFIGURE_ARGS += --with-tcl=$(libdir)
+endif
+
+FIXCONFIG_DIRS  = $(DESTDIR)$(prefix)/bdb44/lib
+
+# bdb tests are *very* time consuming
+TEST_SCRIPTS =
+
+NO_ISAEXEC = 1
+
+PACKAGES = CSWbdb44 CSWbdb44-devel CSWbdb44-doc
+
+CATALOGNAME_CSWbdb44       = berkeleydb44
+CATALOGNAME_CSWbdb44-devel = berkeleydb44_devel
+CATALOGNAME_CSWbdb44-doc   = berkeleydb44_doc
+
+ARCHALL_CSWbdb44-doc = 1
+
+SPKG_DESC_CSWbdb44       = BerkeleyDB 4.4 embedded database libraries and utilities
+SPKG_DESC_CSWbdb44-devel = BerkeleyDB 4.4 development support
+SPKG_DESC_CSWbdb44-doc   = BerkeleyDB 4.4 documentation
+
+REQUIRED_PKGS_CSWbdb44-devel = CSWbdb44
+INCOMPATIBLE_PKGS_CSWbdb44-doc = CSWbdb44doc
+
+LICENSE = LICENSE
+
+# Leave the docs where they are for now
+#EXTRA_PAX_ARGS_isa-sparcv8 = -s ",^\.$(prefix)/docs/,$(docdir)/bdb44/,p"
+#EXTRA_PAX_ARGS_isa-i386    = -s ",^\.$(prefix)/docs/,$(docdir)/bdb44/,p"
+
+#PKGFILES_CSWbdb44-doc = $(PKGFILES_DOC)
+PKGFILES_CSWbdb44-doc = $(prefix)/docs/.*
+
+PKGFILES_CSWbdb44-devel = $(PKGFILES_DEVEL)
+
+include gar/category.mk
+
+LIBS += -lnsl
+export LIBS
+
+PATH := /usr/j2se/bin:$(PATH)
+export PATH
+
+configure-dist:
+	( cd $(WORKSRC) ; $(CONFIGURE_ENV) ../dist/configure $(CONFIGURE_ARGS) )
+	@$(MAKECOOKIE)
+
+post-merge:
+	gln -s . $(PKGROOT)$(libdir)/32
+	gln -s $(ISA_DEFAULT64) $(PKGROOT)$(libdir)/64
+	@$(MAKECOOKIE)

Copied: csw/mgar/pkg/bdb44/trunk/checksums (from rev 6465, csw/mgar/pkg/bdb44/trunk/legacy/checksums)
===================================================================
--- csw/mgar/pkg/bdb44/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/bdb44/trunk/checksums	2009-09-25 07:14:18 UTC (rev 6468)
@@ -0,0 +1,6 @@
+d84dff288a19186b136b0daf7067ade3  download/db-4.4.20.tar.gz
+66584d621355df055b6e05b4a02e9c3e  download/patch.4.4.20.1.diff
+85df93a0867f6cace3501671cdeb6ed1  download/patch.4.4.20.2.diff
+88ee91889ebf5498b22b2e7bed945d41  download/patch.4.4.20.3.diff
+c2ef7b3e59460c35950fab5f2faa3fc0  download/patch.4.4.20.4.diff
+099621e0dad419188acd42c588242131  download/patch.4.4.20.5.diff


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list