mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
opendkim: adopt, cleanup and fix opendkim-genkey
This commit is contained in:
parent
84817f8069
commit
1ea34520cd
@ -1,4 +1,5 @@
|
||||
{stdenv, fetchurl, openssl, libmilter, libbsd}:
|
||||
{ stdenv, fetchurl, pkgconfig, libbsd, openssl, libmilter
|
||||
, perl, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "opendkim-2.10.3";
|
||||
@ -7,15 +8,22 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "06v8bqhh604sz9rh5bvw278issrwjgc4h1wx2pz9a84lpxbvm823";
|
||||
};
|
||||
|
||||
configureFlags="--with-openssl=${openssl} --with-milter=${libmilter}";
|
||||
configureFlags= [ "--with-milter=${libmilter}" ];
|
||||
|
||||
buildInputs = [openssl libmilter libbsd];
|
||||
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
||||
|
||||
meta = {
|
||||
buildInputs = [ libbsd openssl libmilter perl ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/sbin/opendkim-genkey \
|
||||
--prefix PATH : ${openssl}/bin
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "C library for producing DKIM-aware applications and an open source milter for providing DKIM service";
|
||||
homepage = http://opendkim.org/;
|
||||
maintainers = [ ];
|
||||
platforms = with stdenv.lib.platforms; all;
|
||||
homepage = http://www.opendkim.org/;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user