Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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;
^~~~~~
```
|
|
|
|
In 724e833ea2a, 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
|
|
Some of these have errors on newest llvm. It’s easiest to just add
-Wno-error in these cases.
|
|
... but the new gcc pointed out some real bug. I suppose update
would be best: https://github.com/ntop/ntopng/releases
|
|
I've also added darwin compatibility.
|
|
|
|
It seems upstream have moved the ntopng-1.2.1.tgz into an "old/"
subdirectory.
|
|
|
|
|
|
Successfully tested with the NixOS ntopng service.
|
|
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.
|
|
|
|
|
|
The current one doesn't work. (My bad for not testing properly after
having done the initial download with nix-prefetch-url.)
|
|
ntopng is a high-speed web-based traffic analysis and flow collection
tool. ntopng => ntop next generation.
http://www.ntop.org/products/ntop/
|