From: "Peter Müller" <peter.mueller@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] iputils: update to 20210202
Date: Tue, 25 May 2021 21:43:37 +0200 [thread overview]
Message-ID: <14fc4cde-22fb-286a-2af0-d63b01d9195c@ipfire.org> (raw)
In-Reply-To: <E41DFC34-84F8-45CF-968C-879B2BD3E15A@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 3066 bytes --]
Jup. At least it is not Rust or Go - although I am sure somebody on this planet is already
working on porting /bin/ping to one of those languages.
The trick in IT security is to lower your expectations so far that reality cannot disappoint
you anymore, a colleague told me the other day. Well, well...
> Another one that migrated to meson? How sad...
>
>> On 23 May 2021, at 16:40, Peter Müller <peter.mueller(a)ipfire.org> wrote:
>>
>> The changelog between version "s20160803" is too large to include it
>> here, please refer to https://github.com/iputils/iputils/releases for a
>> human-readable version.
>>
>> Due to build system changes, single binaries cannot be compiled by
>> running "make [program]" anymore, updated rootfiles to reflect that
>> change.
>>
>> 20210202's version of /usr/bin/ping is bug-compatible to s20160803's
>> one, hence does not cause trouble in ~/src/ppp/ip-up. Tested, works.
>>
>> Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>
>> ---
>> config/rootfiles/common/iputils | 12 ++++++++++++
>> lfs/iputils | 10 +++++-----
>> 2 files changed, 17 insertions(+), 5 deletions(-)
>>
>> diff --git a/config/rootfiles/common/iputils b/config/rootfiles/common/iputils
>> index 3484cbb24..37e0cb603 100644
>> --- a/config/rootfiles/common/iputils
>> +++ b/config/rootfiles/common/iputils
>> @@ -1,3 +1,15 @@
>> bin/ping
>> +#etc/rc.d/init.d/ninfod.sh
>> +#usr/bin/arping
>> +#usr/bin/clockdiff
>> usr/bin/ping
>> usr/bin/tracepath
>> +#usr/sbin/ninfod
>> +#usr/sbin/rdisc
>> +#usr/share/locale/de/LC_MESSAGES/iputils.mo
>> +#usr/share/locale/fr/LC_MESSAGES/iputils.mo
>> +#usr/share/locale/ja/LC_MESSAGES/iputils.mo
>> +#usr/share/locale/pt_BR/LC_MESSAGES/iputils.mo
>> +#usr/share/locale/tr/LC_MESSAGES/iputils.mo
>> +#usr/share/locale/uk/LC_MESSAGES/iputils.mo
>> +#usr/share/locale/zh_CN/LC_MESSAGES/iputils.mo
>> diff --git a/lfs/iputils b/lfs/iputils
>> index ae692df7a..01ed1fccd 100644
>> --- a/lfs/iputils
>> +++ b/lfs/iputils
>> @@ -24,7 +24,7 @@
>>
>> include Config
>>
>> -VER = s20160308
>> +VER = 20210202
>>
>> THISAPP = iputils-$(VER)
>> DL_FILE = $(THISAPP).tar.gz
>> @@ -40,7 +40,7 @@ objects = $(DL_FILE)
>>
>> $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>>
>> -$(DL_FILE)_MD5 = a3ff521e21a383f562c2f06472c5bca0
>> +$(DL_FILE)_MD5 = ba8f64ba70ac4717a1ae6746d452b3da
>>
>> install : $(TARGET)
>>
>> @@ -70,9 +70,9 @@ $(subst %,%_MD5,$(objects)) :
>> $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
>> @$(PREBUILD)
>> @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
>> - cd $(DIR_APP) && make ping tracepath
>> - cd $(DIR_APP) && install -m 0755 ping /usr/bin
>> - cd $(DIR_APP) && install -m 0755 tracepath /usr/bin
>> + cd $(DIR_APP) && meson builddir -Dprefix=/usr
>> + cd $(DIR_APP) && make $(MAKETUNING)
>> + cd $(DIR_APP) && make install
>>
>> # Allow execution of /usr/bin/ping by other users than "root"
>> setcap cap_net_raw+ep /usr/bin/ping
>> --
>> 2.26.2
>
prev parent reply other threads:[~2021-05-25 19:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-23 15:40 Peter Müller
2021-05-25 9:51 ` Michael Tremer
2021-05-25 19:43 ` Peter Müller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14fc4cde-22fb-286a-2af0-d63b01d9195c@ipfire.org \
--to=peter.mueller@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox