opensmtpd.table-socketmap: init at 1.1.1
The opensmtpd-extra package has been deprecated in favor of standalone repositories for each of the filters. Introduce table-socketmap, which is one of these new standalone filters to read login info from a Unix socket.
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
autoconf,
|
||||
automake,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "opensmtpd-table-socketmap";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpenSMTPD";
|
||||
repo = "table-socketmap";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-YTV0ijD264C7JAiB5ZfuCZhAmkLN0GSNl1vkZ3i3aRo=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoconf
|
||||
automake
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--sysconfdir=/etc"
|
||||
"--localstatedir=/var"
|
||||
"--with-path-socket=/run"
|
||||
"--with-path-pidfile=/run"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
sh bootstrap
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.opensmtpd.org/";
|
||||
description = "ldap table for the OpenSMTPD mail server";
|
||||
changelog = "https://github.com/OpenSMTPD/table-socketmap/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.isc;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [
|
||||
pks
|
||||
];
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user