History log of /freebsd-14.2/sbin/ping/Makefile (Results 1 – 25 of 39)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0
# bd7dceb2 07-Nov-2023 Antranig Vartanian <[email protected]>

ping6(8): Add ping6(8) as MLINK to ping(8)

Reviewed by: chuck
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D42203

(cherry picked from commit d6e457328d0e57176b66ba5f5c614bec

ping6(8): Add ping6(8) as MLINK to ping(8)

Reviewed by: chuck
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D42203

(cherry picked from commit d6e457328d0e57176b66ba5f5c614becca680fea)

show more ...


# d0b2dbfa 16-Aug-2023 Warner Losh <[email protected]>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 55e0aefa 05-Jul-2023 Mateusz Guzik <[email protected]>

ping: low-effort fix to make it compilable without inet6


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0
# fd26389b 28-Nov-2020 Alan Somers <[email protected]>

ping: allow building without INET support

Building without INET6 support was already possible. Now it's possible to
build ping with only INET6, or even with neither INET nor INET6.

Reported by: bz

ping: allow building without INET support

Building without INET6 support was already possible. Now it's possible to
build ping with only INET6, or even with neither INET nor INET6.

Reported by: bz
Reviewed by: bz
MFC-With: 368045
Differential Revision: https://reviews.freebsd.org/D27394

show more ...


# d2624517 26-Nov-2020 Alan Somers <[email protected]>

ping: add a ping6 hard link for backwards compatibility

When invoked as "ping6", ping will now attempt to use ICMPv6 for hostnames
that resolve both IPv4 and IPv6 addresses.

Reviewed by: bz, manu
M

ping: add a ping6 hard link for backwards compatibility

When invoked as "ping6", ping will now attempt to use ICMPv6 for hostnames
that resolve both IPv4 and IPv6 addresses.

Reviewed by: bz, manu
MFC-With: r368045
Differential Revision: https://reviews.freebsd.org/D27384

show more ...


# 3cde9171 26-Nov-2020 Alan Somers <[email protected]>

Merge ping6 to ping

There is now a single ping binary, which chooses to use ICMP or ICMPv4
based on the -4 and -6 options, and the format of the address.

Submitted by: Ján Sučan <[email protected]

Merge ping6 to ping

There is now a single ping binary, which chooses to use ICMP or ICMPv4
based on the -4 and -6 options, and the format of the address.

Submitted by: Ján Sučan <[email protected]>
Sponsored by: Google LLC (Google Summer of Code 2019)
MFC after: Never
Differential Revision: https://reviews.freebsd.org/D21377

show more ...


Revision tags: release/12.2.0, release/11.4.0, release/12.1.0
# 95b523ea 27-Aug-2019 Alan Somers <[email protected]>

ping: raise WARNS level to 6

Submitted by: Ján Sučan <[email protected]>
MFC after: 2 weeks
Sponsored by: Google LLC (Google Summer of Code 2019)
Differential Revision: https://reviews.freebsd.org/

ping: raise WARNS level to 6

Submitted by: Ján Sučan <[email protected]>
MFC after: 2 weeks
Sponsored by: Google LLC (Google Summer of Code 2019)
Differential Revision: https://reviews.freebsd.org/D21405

show more ...


# c43633c6 20-Aug-2019 Alan Somers <[email protected]>

ping: Add tests of the Internet checksum function

Submitted by: Ján Sučan <[email protected]>
MFC after: 2 weeks
Sponsored by: Google LLC (Google Summer of Code 2019)
Differential Revision: https:/

ping: Add tests of the Internet checksum function

Submitted by: Ján Sučan <[email protected]>
MFC after: 2 weeks
Sponsored by: Google LLC (Google Summer of Code 2019)
Differential Revision: https://reviews.freebsd.org/D21340

show more ...


# ff77ab83 17-Aug-2019 Alan Somers <[email protected]>

ping: Move in_cksum() to a separate source file

This is a preparation step for adding ATF tests of in_cksum(), which has been
modified to operate on unaligned data. ping.o cannot be linked to the te

ping: Move in_cksum() to a separate source file

This is a preparation step for adding ATF tests of in_cksum(), which has been
modified to operate on unaligned data. ping.o cannot be linked to the test
executable because both of them contain 'main' symbol.

Submitted by: Ján Sučan <[email protected]>
MFC after: 2 weeks
Sponsored by: Google, inc. (Google Summer of Code 2019)
Differential Revision: https://reviews.freebsd.org/D21288

show more ...


# 01b01229 15-Jul-2019 Warner Losh <[email protected]>

Remove all the RELEASE_CRUNCH instances that partially disable IPSEC

We remove IPSEC only in parts of the tree, and not others. RELEASE_CRUNCH to
disable it has not kept up with all its uses. Remove

Remove all the RELEASE_CRUNCH instances that partially disable IPSEC

We remove IPSEC only in parts of the tree, and not others. RELEASE_CRUNCH to
disable it has not kept up with all its uses. Remove it. Should there be a real
need to disable IPSEC, one that hasn't shown up in the base system to date,
it can be re-added behind a WITHOUT_IPSEC build option.

show more ...


Revision tags: release/11.3.0, release/12.0.0
# 2c208ed8 09-Sep-2018 Ed Maste <[email protected]>

Allow dhclient and ping to build WITHOUT_DYNAMICROOT

dhclient and ping normally use libcasper services. These are not
available in statically-linked binaries, so when WITHOUT_DYNAMICROOT is
set dis

Allow dhclient and ping to build WITHOUT_DYNAMICROOT

dhclient and ping normally use libcasper services. These are not
available in statically-linked binaries, so when WITHOUT_DYNAMICROOT is
set disable libcasper use, as with rescue builds. Also emit a warning
as it's undesirable to build this way.

Reported by: Michael Dexter
Reviewed by: rgrimes
Tested by: Michael Dexter
Approved by: re (kib)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D17074

show more ...


Revision tags: release/11.2.0, release/10.4.0
# 2560d181 21-Sep-2017 Mariusz Zaborski <[email protected]>

We use a few different ifdef's names to check if we are using Casper or not,
let's standardize this. Now we are always use WITH_CASPER name.

Discussed with: emaste@
MFC after: 1 month


Revision tags: release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0
# c501d73c 25-Feb-2016 Mariusz Zaborski <[email protected]>

Convert casperd(8) daemon to the libcasper.
After calling the cap_init(3) function Casper will fork from it's original
process, using pdfork(2). Forking from a process has a lot of advantages:
1. We

Convert casperd(8) daemon to the libcasper.
After calling the cap_init(3) function Casper will fork from it's original
process, using pdfork(2). Forking from a process has a lot of advantages:
1. We have the same cwd as the original process.
2. The same uid, gid and groups.
3. The same MAC labels.
4. The same descriptor table.
5. The same routing table.
6. The same umask.
7. The same cpuset(1).
From now services are also in form of libraries.
We also removed libcapsicum at all and converts existing program using Casper
to new architecture.

Discussed with: pjd, jonathan, ed, [email protected], emaste
Partially reviewed by: [email protected], bdrewery
Approved by: pjd (mentor)
Differential Revision: https://reviews.freebsd.org/D4277

show more ...


# 406d87b1 09-Feb-2016 Glen Barber <[email protected]>

Explicitly add more files to the 'runtime' package.

Sponsored by: The FreeBSD Foundation


Revision tags: release/10.2.0
# 13eb765f 25-Nov-2014 Baptiste Daroussin <[email protected]>

Convert sbin/ to LIBADD
Reduce overlinking


Revision tags: release/10.1.0
# 7e9489e0 20-Oct-2014 Hiroki Sato <[email protected]>

WARNS=3 and style fixes. No functionality change.


Revision tags: release/9.3.0
# c6063d0d 06-May-2014 Warner Losh <[email protected]>

Use src.opts.mk in preference to bsd.own.mk except where we need stuff
from the latter.


# a4986e9a 16-Mar-2014 Jilles Tjoelker <[email protected]>

Fix statically-linked build (WITHOUT_DYNAMICROOT).


# 49133c6d 04-Feb-2014 Pawel Jakub Dawidek <[email protected]>

Protect ping(8) using Capsicum and Casper. This is protection against malicious
network packets that we parse and not against local users trying to gain root
access through ping's set-uid bit - this

Protect ping(8) using Capsicum and Casper. This is protection against malicious
network packets that we parse and not against local users trying to gain root
access through ping's set-uid bit - this is handled by dropping privileges very
early in ping.

Submitted by: Mikhail <[email protected]>

show more ...


Revision tags: release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0
# 2b46c64c 22-Aug-2006 Ruslan Ermilov <[email protected]>

Remove alpha left-overs.


Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0
# 604d24db 23-Feb-2004 Johan Karlsson <[email protected]>

style.Makefile(5):
Use WARNS?= instead of WARNS=.


Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0
# 31eac03b 05-Mar-2003 Sean Chittenden <[email protected]>

Update ping to be WARNS=2 compliant.

Reviewed by: -audit (no objections ~1mo)
Approved by: nectar


Revision tags: release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs
# 2d68bf45 04-Dec-2001 David E. O'Brien <[email protected]>

Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by: mike


# cda2a9b2 13-Sep-2001 Ruslan Ermilov <[email protected]>

Set BINOWN=root explicitly for setuid root binaries.

This is not "useless", as one may have non-default
setting for BINOWN in make.conf, and we still want
these to be installed setuid root in this c

Set BINOWN=root explicitly for setuid root binaries.

This is not "useless", as one may have non-default
setting for BINOWN in make.conf, and we still want
these to be installed setuid root in this case.

show more ...


# f328d583 05-Sep-2001 Dima Dorfman <[email protected]>

Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently adds
COPTS towards the end of final CFLAGS so that it can be used to
override Makefile and other defaults. Using it in Makefiles ris

Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently adds
COPTS towards the end of final CFLAGS so that it can be used to
override Makefile and other defaults. Using it in Makefiles risks
having options set using it clobbered when somebody uses it on the
command line.

Approved by: bde

show more ...


12