[sks] Try to build with libdb5.2

Nick Bebout nb at fedoraproject.org
Wed Jan 25 03:21:16 UTC 2012


commit 4f6abc515a683cbc49dafa3b8b0d90c9b17d9259
Author: Nick Bebout <nb at fedoraproject.org>
Date:   Tue Jan 24 21:21:03 2012 -0600

    Try to build with libdb5.2

 sks-libdb5.2.patch |   13 +++++++++++++
 sks.spec           |    4 ++--
 2 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/sks-libdb5.2.patch b/sks-libdb5.2.patch
new file mode 100644
index 0000000..c6adcf0
--- /dev/null
+++ b/sks-libdb5.2.patch
@@ -0,0 +1,13 @@
+Common subdirectories: sks-1.1.1/bdb and sks-1.1.1-patched/bdb
+diff -u sks-1.1.1/Makefile.local.unused sks-1.1.1-patched/Makefile.local.unused
+--- sks-1.1.1/Makefile.local.unused	2009-03-25 20:18:03.000000000 -0500
++++ sks-1.1.1-patched/Makefile.local.unused	2009-10-13 16:54:17.835163112 -0500
+@@ -1,7 +1,7 @@
+ BDBLIB=-L/usr/lib
+ BDBINCLUDE=-I/usr/include
+ PREFIX=/usr/local
+-LIBDB=-ldb-4.6
++LIBDB=-ldb-5.2
+ MANDIR=/usr/share/man
+ export BDBLIB
+ export BDBINCLUDE
diff --git a/sks.spec b/sks.spec
index d51fcff..b94b6f3 100644
--- a/sks.spec
+++ b/sks.spec
@@ -10,10 +10,10 @@ URL:            http://code.google.com/p/sks-keyserver/
 Source0:        sks.tar.bz2
 Source1:        sks-db.init
 Source2:        sks-recon.init
-Patch0:         sks-libdb4.8.patch
+Patch0:         sks-libdb5.2.patch
 #Patch1:		sks-1.1.1-bdb.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires:  ocaml ocaml-camlp4-devel db4-devel zlib-devel chrpath
+BuildRequires:  ocaml ocaml-camlp4-devel libdb-devel zlib-devel chrpath
 Requires(pre):    /usr/sbin/groupadd /usr/sbin/useradd
 Requires(post):   /sbin/chkconfig
 Requires(preun):  /sbin/chkconfig /sbin/service


More information about the scm-commits mailing list