sks: build with default db version

This commit is contained in:
Franz Pletz 2017-10-24 13:10:42 +02:00
parent 17a069276f
commit b4d1c8898e
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromBitbucket, ocaml, zlib, db48, perl, camlp4 }:
{ stdenv, fetchFromBitbucket, ocaml, zlib, db, perl, camlp4 }:
stdenv.mkDerivation rec {
name = "sks-${version}";
@ -11,13 +11,13 @@ stdenv.mkDerivation rec {
sha256 = "00q5ma5rvl10rkc6cdw8d69bddgrmvy0ckqj3hbisy65l4idj2zm";
};
buildInputs = [ ocaml zlib db48 perl camlp4 ];
buildInputs = [ ocaml zlib db perl camlp4 ];
makeFlags = [ "PREFIX=$(out)" "MANDIR=$(out)/share/man" ];
preConfigure = ''
cp Makefile.local.unused Makefile.local
sed -i \
-e "s:^LIBDB=.*$:LIBDB=-ldb-4.8:g" \
-e "s:^LIBDB=.*$:LIBDB=-ldb:g" \
Makefile.local
'';
@ -27,8 +27,7 @@ stdenv.mkDerivation rec {
checkPhase = "./sks unit_test";
meta = with stdenv.lib; {
description = "An OpenPGP keyserver whose goal is to provide easy to
deploy, decentralized, and highly reliable synchronization";
description = "An easily deployable & decentralized OpenPGP keyserver";
longDescription = ''
SKS is an OpenPGP keyserver whose goal is to provide easy to deploy,
decentralized, and highly reliable synchronization. That means that a key
@ -39,7 +38,7 @@ stdenv.mkDerivation rec {
inherit (src.meta) homepage;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ primeos ];
maintainers = with maintainers; [ primeos fpletz ];
};
}