public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/, net-misc/ntpsec/files/
Date: Fri, 11 Jun 2021 06:39:17 +0000 (UTC)	[thread overview]
Message-ID: <1623393513.540ea2504d870d6ff28f61b3b399d178c7ae4df8.sam@gentoo> (raw)

commit:     540ea2504d870d6ff28f61b3b399d178c7ae4df8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 11 06:38:33 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 11 06:38:33 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=540ea250

net-misc/ntpsec: add additional pread64 syscall patch

Closes: https://bugs.gentoo.org/786228
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch              | 11 +++++++++++
 .../ntpsec/{ntpsec-1.2.0-r2.ebuild => ntpsec-1.2.0-r3.ebuild} |  1 +
 2 files changed, 12 insertions(+)

diff --git a/net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch b/net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch
index e4dc47f19cc..65c13189e9d 100644
--- a/net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch
+++ b/net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch
@@ -1,4 +1,5 @@
 https://bugs.gentoo.org/705128
+https://bugs.gentoo.org/786228
 --- a/ntpd/ntp_sandbox.c
 +++ b/ntpd/ntp_sandbox.c
 @@ -463,6 +463,15 @@ int scmp_sc[] = {
@@ -17,3 +18,13 @@ https://bugs.gentoo.org/705128
  };
         {
                 for (unsigned int i = 0; i < COUNTOF(scmp_sc); i++) {
+--- a/ntpd/ntp_sandbox.c
++++ b/ntpd/ntp_sandbox.c
+@@ -355,6 +355,7 @@ int scmp_sc[] = {
+ 	SCMP_SYS(openat),	/* SUSE */
+ #endif
+ 	SCMP_SYS(poll),
++	SCMP_SYS(pread64),
+ 	SCMP_SYS(pselect6),
+ 	SCMP_SYS(read),
+ 	SCMP_SYS(recvfrom),    /* Comment this out for testing.

diff --git a/net-misc/ntpsec/ntpsec-1.2.0-r2.ebuild b/net-misc/ntpsec/ntpsec-1.2.0-r3.ebuild
similarity index 99%
rename from net-misc/ntpsec/ntpsec-1.2.0-r2.ebuild
rename to net-misc/ntpsec/ntpsec-1.2.0-r3.ebuild
index 4a5784ca79e..9d2d01df34e 100644
--- a/net-misc/ntpsec/ntpsec-1.2.0-r2.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.0-r3.ebuild
@@ -68,6 +68,7 @@ WAF_BINARY="${S}/waf"
 
 src_prepare() {
 	default
+
 	# Remove autostripping of binaries
 	sed -i -e '/Strip binaries/d' wscript || die
 	if ! use libbsd ; then


             reply	other threads:[~2021-06-11  6:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-11  6:39 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-04-16 22:39 [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/, net-misc/ntpsec/files/ Sebastian Pipping
2022-04-20  1:03 Sam James
2022-04-07  2:07 Sam James
2021-12-03 19:28 Steve Arnold
2021-06-10 21:09 Sam James
2021-01-01  1:34 Michał Górny
2020-10-07 22:49 Steve Arnold
2020-03-13  2:49 Steve Arnold
2020-03-10  0:02 Steve Arnold
2019-10-26 17:51 Thomas Deutschmann
2018-02-28 13:23 Anthony G. Basile

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=1623393513.540ea2504d870d6ff28f61b3b399d178c7ae4df8.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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