Commit Graph

11 Commits

Author SHA1 Message Date
krant d0546216d2 fping: update to 5.1
- Don't set default configure arg

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-06 17:52:14 +02:00
Rosen Penev fd18159394 fping: update to 5.0
Minor cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-19 15:00:34 -07:00
Rosen Penev a445b39bef
fping: update to 4.4
Remove upstreamed patch.

Whitespace Makefile cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-28 16:10:26 -07:00
Rosen Penev afbe8536f4
fping: update to 4.3
Fixes compilation with GCC 10.

Backported upstream patch to fix compilation without IPv6.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-17 15:12:16 -07:00
Henrique de Moraes Holschuh 958cbf5f45 fping: install fping SUID root
fping requires either root or CAP_NET_PING to work, otherwise it is
useless.  Use INSTALL_SUID so that fping will be setuid root, and thus
it will be usable by non-root users.

fping knows to drop root priviledges after it parses the command line
and creates the ping socket.  You actually get a lot less code running
as root when you make it setuid root and run it from an unprivileged
user.

This is the same way net/iputils already handles "ping", which has the
same requirements.

Signed-off-by: Henrique de Moraes Holschuh <henrique@nic.br>
2020-05-06 15:44:48 -03:00
Josef Schlehofer d55e9df6d8
fping: update to version 4.2
Use HTTPS everywhere

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-03-24 23:55:19 +01:00
Daniel Engberg 95bde85468
fping: Update to 4.1
Update fping to 4.1

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-11-05 20:37:14 +01:00
Florian Fainelli 3b333ec0f9 fping: Set -std=gnu99 to fix build errors due to C99 constructs
Fixes build errors such as:

mipsel-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..
-I/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/include
-I/home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/include
-I/home/florian/dev/toolchains/stbgcc-4.8-1.5/usr/include
-I/home/florian/dev/toolchains/stbgcc-4.8-1.5/include  -Wall -Wextra
-Wno-sign-compare -DIPV6 -Os -pipe -mno-branch-likely -mips32r2
-mtune=24kc -fno-caller-saves -Wno-unused-result  -D_FORTIFY_SOURCE=1
-Wl,-z,now -Wl,-z,relro  -MT fping-optparse.o -MD -MP -MF
.deps/fping-optparse.Tpo -c -o fping-optparse.o `test -f 'optparse.c' ||
echo './'`optparse.c
optparse.c: In function 'permute':
optparse.c:55:5: error: 'for' loop initial declarations are only allowed
in C99 mode
     for (int i = index; i < options->optind - 1; i++)
     ^
optparse.c:55:5: note: use option -std=c99 or -std=gnu99 to compile your
code
optparse.c: In function 'optstring_from_long':
optparse.c:160:5: error: 'for' loop initial declarations are only
allowed in C99 mode
     for (int i = 0; !longopts_end(longopts, i); i++) {

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-06-18 11:39:44 -07:00
Nikil Mehta efd451b70a fping: Update to 4.0
Signed-off-by: Nikil Mehta <nikil.mehta@gmail.com>
2017-04-30 23:19:42 -07:00
Nikil Mehta 9694bee218 fping: Update to 3.16
Signed-off-by: Nikil Mehta <nikil.mehta@gmail.com>
2017-02-22 00:26:04 -08:00
Nikil Mehta 04962735f7 fping: Add package
Signed-off-by: Nikil Mehta nikil.mehta@gmail.com
2016-11-27 14:07:07 -08:00