Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-0.7.git;a=commitdiff;h=84e130354c42bbc8507e6f6ba03700b218bb400e

commit 84e130354c42bbc8507e6f6ba03700b218bb400e
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Mon Nov 26 16:05:50 2007 +0100

db-4.5-4.5.20-1terminus1-i686
- new package
- it's necessary to fix secbug #2542
- yeah i know it's ugly to add a new pkg to stable but i have no better idea

diff --git a/source/lib-extra/db-4.5/FrugalBuild 
b/source/lib-extra/db-4.5/FrugalBuild
new file mode 100644
index 0000000..0d3b094
--- /dev/null
+++ b/source/lib-extra/db-4.5/FrugalBuild
@@ -0,0 +1,45 @@
+# Compiling Time: 1.31 SBU
+# Maintainer: VMiklos <[EMAIL PROTECTED]>
+
+pkgname=db-4.5
+pkgver=4.5.20
+pkgrel=1terminus1
+pkgdesc="The Berkeley DB embedded database system v4.5.x"
+url="http://www.sleepycat.com";
+depends=('libstdc++')
+groups=('lib-extra')
+archs=('i686' 'x86_64')
+up2date="$pkgver"
+source=(http://download.oracle.com/berkeley-db/db-$pkgver.tar.gz \
+       
http://www.oracle.com/technology/products/berkeley-db/db/update/4.5.20/patch.4.5.20.1
 \
+       
http://www.oracle.com/technology/products/berkeley-db/db/update/4.5.20/patch.4.5.20.2)
+sha1sums=('0e5a6c152c5d7089899481d9de689d1f7e77bde1' \
+          '0d55d4d7357b896bde91e096b40bfc100bb27d9d' \
+          'a3fcbc023489c059659f789d9473ac25d6d3a477')
+
+# this package is just for openldap, nothing else
+
+build()
+{
+       Fcd db-$pkgver
+       Fpatch patch.4.5.20.1
+       Fpatch patch.4.5.20.2
+       cd build_unix
+       ../dist/configure --prefix=/usr --enable-compat185 \
+               --enable-shared --disable-static --enable-cxx
+
+       make LIBSO_LIBS=-lpthread || return 1
+
+       make prefix=$Fdestdir/usr includedir=$Fdestdir/usr/include/$pkgname 
install
+
+       # conflicts with db
+       Frm /usr/docs
+       Frm /usr/lib/libdb{,_cxx}{,-4}.so
+       cd $Fdestdir/usr/bin
+       for i in *
+       do
+               mv $i db-4.5_${i/db_/}
+       done
+}
+
+# optimization ok
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to