summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/db/.footprint31
-rw-r--r--base/db/.md5sum2
-rwxr-xr-xbase/db/Pkgfile27
3 files changed, 60 insertions, 0 deletions
diff --git a/base/db/.footprint b/base/db/.footprint
new file mode 100644
index 000000000..65901d937
--- /dev/null
+++ b/base/db/.footprint
@@ -0,0 +1,31 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/db_archive
+-rwxr-xr-x root/root usr/bin/db_checkpoint
+-rwxr-xr-x root/root usr/bin/db_codegen
+-rwxr-xr-x root/root usr/bin/db_deadlock
+-rwxr-xr-x root/root usr/bin/db_dump
+-rwxr-xr-x root/root usr/bin/db_hotbackup
+-rwxr-xr-x root/root usr/bin/db_load
+-rwxr-xr-x root/root usr/bin/db_printlog
+-rwxr-xr-x root/root usr/bin/db_recover
+-rwxr-xr-x root/root usr/bin/db_stat
+-rwxr-xr-x root/root usr/bin/db_upgrade
+-rwxr-xr-x root/root usr/bin/db_verify
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/db.h
+-rw-r--r-- root/root usr/include/db_185.h
+-rw-r--r-- root/root usr/include/db_cxx.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libdb-4.7.a
+-rw-r--r-- root/root usr/lib/libdb-4.7.la
+-rwxr-xr-x root/root usr/lib/libdb-4.7.so
+lrwxrwxrwx root/root usr/lib/libdb-4.so -> libdb-4.7.so
+-rw-r--r-- root/root usr/lib/libdb.a
+lrwxrwxrwx root/root usr/lib/libdb.so -> libdb-4.7.so
+-rw-r--r-- root/root usr/lib/libdb_cxx-4.7.a
+-rw-r--r-- root/root usr/lib/libdb_cxx-4.7.la
+-rwxr-xr-x root/root usr/lib/libdb_cxx-4.7.so
+lrwxrwxrwx root/root usr/lib/libdb_cxx-4.so -> libdb_cxx-4.7.so
+-rw-r--r-- root/root usr/lib/libdb_cxx.a
+lrwxrwxrwx root/root usr/lib/libdb_cxx.so -> libdb_cxx-4.7.so
diff --git a/base/db/.md5sum b/base/db/.md5sum
new file mode 100644
index 000000000..a17611b7e
--- /dev/null
+++ b/base/db/.md5sum
@@ -0,0 +1,2 @@
+dfe0d2a27439454fbafdeeef65fefade db-4.7.25-upstream_fixes-1.patch
+ec2b87e833779681a0c3a814aa71359e db-4.7.25.tar.gz
diff --git a/base/db/Pkgfile b/base/db/Pkgfile
new file mode 100755
index 000000000..94299ef80
--- /dev/null
+++ b/base/db/Pkgfile
@@ -0,0 +1,27 @@
+# Description: La base de données de Berkeley DB
+# URL: http://www.sleepycat.com/products/db.shtml
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: gcc
+
+name=db
+version=4.7.25
+release=1
+source=(http://download.oracle.com/berkeley-db/$name-$version.tar.gz \
+ http://www.linuxfromscratch.org/patches/lfs/development/$name-$version-upstream_fixes-1.patch)
+
+build() {
+ cd $name-$version
+ patch -Np1 -i ../$name-$version-upstream_fixes-1.patch
+ cd build_unix
+ ../dist/configure --prefix=/usr \
+ --enable-compat185 \
+ --enable-cxx
+ make
+ make DESTDIR=$PKG install
+ rm -rf $PKG/usr/docs
+ chmod -R +w $PKG
+ if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+ fi
+}