Merge pull request #26331 from orivej/libnetfilter_log

libnetfilter_log: init at 1.0.1
This commit is contained in:
Jörg Thalheim 2017-06-02 21:31:24 +01:00 committed by GitHub
commit 7a0bce8422
3 changed files with 32 additions and 1 deletions

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
re-inventing the wheel.
'';
homepage = http://netfilter.org/projects/libmnl/index.html;
license = stdenv.lib.licenses.gpl2Plus;
license = stdenv.lib.licenses.lgpl21Plus;
platforms = stdenv.lib.platforms.linux;
};

View File

@ -0,0 +1,29 @@
{ stdenv, fetchurl, pkgconfig, libnfnetlink, libmnl }:
stdenv.mkDerivation rec {
name = "libnetfilter_log-${version}";
version = "1.0.1";
src = fetchurl {
url = "http://netfilter.org/projects/libnetfilter_log/files/${name}.tar.bz2";
sha256 = "089vjcfxl5qjqpswrbgklf4wflh44irmw6sk2k0kmfixfmszxq3l";
};
buildInputs = [ libmnl ];
propagatedBuildInputs = [ libnfnetlink ];
nativeBuildInputs = [ pkgconfig ];
meta = with stdenv.lib; {
description = "Userspace library providing interface to packets that have been logged by the kernel packet filter";
longDescription = ''
libnetfilter_log is a userspace library providing interface to packets
that have been logged by the kernel packet filter. It is is part of a
system that deprecates the old syslog/dmesg based packet logging. This
library has been previously known as libnfnetlink_log.
'';
homepage = http://netfilter.org/projects/libnetfilter_log/;
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ orivej nckx ];
};
}

View File

@ -8912,6 +8912,8 @@ with pkgs;
libnetfilter_cttimeout = callPackage ../development/libraries/libnetfilter_cttimeout { };
libnetfilter_log = callPackage ../development/libraries/libnetfilter_log { };
libnetfilter_queue = callPackage ../development/libraries/libnetfilter_queue { };
libnfnetlink = callPackage ../development/libraries/libnfnetlink { };