sks: build with default db version

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