Commit Graph

14 Commits

Author SHA1 Message Date
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Sergei Trofimovich
4a0fbcbd13 liboping: fix format arguments for printf()
Without the change build fails on `ncurses-6.3` as:

  oping.c:1601:38: error: too many arguments for format [-Werror=format-extra-args]
   1601 |                         HOST_PRINTF ("%zu bytes from %s (%s): icmp_seq=%u ttl=%i ",
        |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-12-04 18:54:38 +00:00
Sergei Trofimovich
387b85da72 liboping: pull pending upstream inclusion fix for ncurses-6.3
Without the fix build on ncurses-6.3 fails as:

    oping.c:1128:25: error: format not a string literal and no format arguments [-Werror=format-security]
     1128 |                         mvwprintw (ctx->window, /* y = */ 3, /* x = */ x + 2, symbol);
          |                         ^~~~~~~~~
2021-11-28 15:54:20 +00:00
Felix Buehler
3c12e95ad1 development: /s/name/pname&version/ 2021-06-30 09:45:11 +02:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Ryan Burns
bf71f459d2 liboping: fix build on Darwin 2020-09-20 17:58:08 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Robin Gloster
5f2b92e3ec
treewide: NIX_*_COMPILE -> string 2019-12-31 00:13:29 +01:00
Franz Pletz
6f0282dfcd
liboping: fix build with gcc8 2019-06-17 07:05:56 +02:00
John Ericson
f0d6b385d1 treewide: Make all the rest of configureFlags 2018-08-03 17:06:03 -04:00
volth
ad38b7c9ae liboping: 1.9.0 -> 1.10.0 2017-09-28 00:48:20 +02:00
Franz Pletz
152f1131c4
liboping: 1.8.0 -> 1.9.0 2017-01-22 13:01:02 +01:00
Bjørn Forsman
f6b7a24a9c liboping: update 1.6.2 -> 1.8.0
According to NEWS, the changes are in the command line tools, not the
library, so I think dependees (only collectd) will work fine.

Also update homepage: http://verplant.org/liboping/ => http://noping.cc/
2014-12-03 16:11:29 +01:00
Bjørn Forsman
06af50ff42 liboping: new package
liboping is a C library to generate ICMP echo requests, better known as
"ping packets". It is intended for use in network monitoring
applications or applications that would otherwise need to fork ping(1)
frequently.

http://verplant.org/liboping/
2014-06-15 00:42:40 +02:00