Sam Hug
1f07bba4bf
ntopng: fix missing static assets
...
Instead of building the `dist` make target in the derivation (requires npm and
all that), we're using the upstream pre-built static assets. Upstream refers to
these using a sub-module so we need to fetch that.
Without this patch the web UI loads the html, but 404s on all CSS and JS assets
because the `$out/share/ntopng/httpdocs/dist` directory is empty
2023-06-17 22:04:22 +02:00
Fabian Affolter
31cb9b0840
ntopng: 5.2.1 -> 5.6
...
Changelog: https://github.com/ntop/ntopng/blob/5.6/CHANGELOG.md
2023-03-30 22:29:35 +02:00
Fabian Affolter
0d88b0dac6
ntopng: add changelog to meta
2023-03-30 22:25:36 +02:00
Ben Siraphob
259fa13d53
treewide: remove nativeBuildInputs that are in stdenv
2022-04-16 21:46:46 +03:00
Nikolay Amiantov
6a91c56637
ntopng: 2.0 -> 5.2.1
2022-02-16 20:48:59 +03:00
Felix Buehler
b2e9932ed8
tools/networking: replace name with pname&version
2021-08-04 22:44:30 +02:00
Ben Siraphob
76f93cc731
pkgs/tools: pkgconfig -> pkg-config
2021-01-16 23:49:59 -08:00
Ben Siraphob
8c5d37129f
pkgs/tools: stdenv.lib -> lib
2021-01-15 17:12:36 +07:00
Profpatsch
4a7f99d55d
treewide: with stdenv.lib; in meta -> with lib;
...
Part of: https://github.com/NixOS/nixpkgs/issues/108938
meta = with stdenv.lib;
is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.
This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.
The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs
2020-04-10 17:54:53 +01:00
Robin Gloster
313da176d3
treewide: NIX_*_FLAGS -> string
2019-12-31 00:16:46 +01:00
Claudio Bley
3b437ebe59
ntopng: Remove broken = true
2019-09-19 12:18:20 +02:00
Claudio Bley
c4486a084f
ntopng: Add patch needed to build with newer libpcap
...
Fixes build errors for the third-party mongoose module:
```
In file included from
/nix/store/r5s3w32ahjzdlzsfrhybc3l2qcpi6yb2-libpcap-1.9.0/include/pcap.h:43,
from /build/ntopng-2.0/include/ntop_includes.h:93,
from src/HTTPserver.cpp:22:
/nix/store/r5s3w32ahjzdlzsfrhybc3l2qcpi6yb2-libpcap-1.9.0/include/pcap/pcap.h:958: note: this is the location of the previous definition
#define INVALID_SOCKET -1
src/../third-party/mongoose/mongoose.c:270:13: error: multiple types in one declaration
typedef int SOCKET;
^~~~~~
```
2019-09-19 09:08:50 +02:00
Bjørn Forsman
5667484b64
ntopng: mark as broken
2019-09-17 20:24:28 +02:00
Matthew Bauer
74c784a79c
treewide: make -Wno-error flags clang-only
...
In 724e833ea2
, I was a little too aggressive in enabling these flags.
Many don’t work in gcc, and we should probably avoid settings them
widely. This makes those flags optional on isclang
2019-04-29 21:34:24 -04:00
Matthew Bauer
724e833ea2
treewide: disable -Werror for llvm 7
...
Some of these have errors on newest llvm. It’s easiest to just add
-Wno-error in these cases.
2019-04-26 21:55:04 -04:00
Vladimír Čunát
bf25148902
ntopng: fixup build with gcc7
...
... but the new gcc pointed out some real bug. I suppose update
would be best: https://github.com/ntop/ntopng/releases
2018-02-18 14:12:43 +01:00
Anthony Cowley
86c3444e03
ntopng: prefer nixpkgs over in-tree deps
...
I've also added darwin compatibility.
2016-05-11 19:33:08 -04:00
Mariusz `shd` Gliwiński
6783f8dd7b
ntopng: 1.2.1 -> 2.0.0
2015-10-28 13:35:09 +01:00
Bjørn Forsman
c2aadb38a7
ntopng: add extra download URL
...
It seems upstream have moved the ntopng-1.2.1.tgz into an "old/"
subdirectory.
2015-08-03 12:19:34 +02:00
Tobias Geerinckx-Rice
55b218160d
ntopng: use new geolite-legacy package
2015-04-04 16:23:45 +02:00
Mariusz `shd` Gliwiński
6ca841a4e9
[ntopng] geolite hash update
2015-03-26 16:27:24 +01:00
Bjørn Forsman
a6c7c1db7f
ntopng: update from 1.2.0 to 1.2.1
...
Successfully tested with the NixOS ntopng service.
2014-09-27 15:42:18 +02:00
Bjørn Forsman
273aa589d2
ntopng: update hashes and url
...
All geoip data files have changed, update hashes. The ntopng source url
itself has changed, the source is now located in an "old/" directory
(hash unchanged).
Build tested.
2014-09-27 13:52:19 +02:00
Rob Vermaas
8fc3bedb5a
Fix ntopng build
2014-08-26 11:22:23 +02:00
Bjørn Forsman
4d6605e882
Whitespace fixes in package expressions I maintain
2014-01-02 17:58:08 +01:00
Bjørn Forsman
a18b92f4e4
ntopng: fix download url
...
The current one doesn't work. (My bad for not testing properly after
having done the initial download with nix-prefetch-url.)
2013-12-15 19:40:15 +01:00
Bjørn Forsman
3cff0a8014
ntopng: new package
...
ntopng is a high-speed web-based traffic analysis and flow collection
tool. ntopng => ntop next generation.
http://www.ntop.org/products/ntop/
2013-12-09 21:35:01 +01:00