2018-07-25 21:44:21 +00:00
|
|
|
{ stdenv, fetchurl, zlib, libpng, gd, geoip, db }:
|
2010-02-25 13:30:34 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2011-12-26 17:27:30 +00:00
|
|
|
name = "webalizer-2.23-05";
|
2010-02-25 13:30:34 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-12-26 17:27:30 +00:00
|
|
|
url = ftp://ftp.mrunix.net/pub/webalizer/webalizer-2.23-05-src.tar.bz2;
|
|
|
|
sha256 = "0nl88y57a7gawfragj3viiigfkh5sgivfb4n0k89wzcjw278pj5g";
|
2010-02-25 13:30:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure =
|
|
|
|
''
|
|
|
|
substituteInPlace ./configure \
|
2018-09-10 19:55:44 +00:00
|
|
|
--replace "--static" ""
|
2010-02-25 13:30:34 +00:00
|
|
|
'';
|
|
|
|
|
2018-09-10 19:55:44 +00:00
|
|
|
buildInputs = [zlib libpng gd geoip db];
|
2010-02-25 13:30:34 +00:00
|
|
|
|
2018-07-25 21:44:21 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-dns"
|
|
|
|
"--enable-geoip"
|
|
|
|
"--disable-static"
|
|
|
|
"--enable-shared"
|
|
|
|
];
|
2016-08-02 16:06:29 +00:00
|
|
|
|
2018-09-10 19:55:44 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Web server log file analysis program";
|
|
|
|
homepage = http://www.webalizer.org;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.gpl2;
|
2016-08-02 16:06:29 +00:00
|
|
|
};
|
2010-02-25 13:30:34 +00:00
|
|
|
}
|