From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/netkit-rsh/files/, net-misc/netkit-rsh/
Date: Sun, 16 Feb 2025 13:02:50 +0000 (UTC) [thread overview]
Message-ID: <1739710592.99abe0c9ea240b119bf7a01b2c6c11d79d5817a2.sam@gentoo> (raw)
commit: 99abe0c9ea240b119bf7a01b2c6c11d79d5817a2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 12:56:32 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 12:56:32 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99abe0c9
net-misc/netkit-rsh: fix Modern C issues
Closes: https://bugs.gentoo.org/935500
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../netkit-rsh/files/netkit-rsh-0.17-c99.patch | 38 ++++++++++++++++++++++
net-misc/netkit-rsh/netkit-rsh-0.17-r14.ebuild | 3 +-
2 files changed, 40 insertions(+), 1 deletion(-)
diff --git a/net-misc/netkit-rsh/files/netkit-rsh-0.17-c99.patch b/net-misc/netkit-rsh/files/netkit-rsh-0.17-c99.patch
new file mode 100644
index 000000000000..3ddec052ae2f
--- /dev/null
+++ b/net-misc/netkit-rsh/files/netkit-rsh-0.17-c99.patch
@@ -0,0 +1,38 @@
+https://bugs.gentoo.org/935500
+--- a/configure
++++ b/configure
+@@ -344,6 +344,7 @@ rm -f __conftest*
+
+ echo -n 'Checking for crypt... '
+ cat <<EOF >__conftest.c
++#include <unistd.h>
+ int main() { crypt("aa", "bb"); }
+
+ EOF
+@@ -370,6 +371,7 @@ rm -f __conftest*
+
+ echo -n 'Checking for rexec... '
+ cat <<EOF >__conftest.c
++#include <netdb.h>
+ int main() { rexec(0, 0, 0, 0, 0, 0); }
+
+ EOF
+@@ -397,6 +399,7 @@ rm -f __conftest*
+
+ echo -n 'Checking for forkpty... '
+ cat <<EOF >__conftest.c
++#include <pty.h>
+ int main() { forkpty(0, 0, 0, 0); }
+
+ EOF
+--- a/rlogind/auth.c
++++ b/rlogind/auth.c
+@@ -136,7 +136,7 @@ int auth_checkauth(const char *remoteuser, const char *host,
+ return -1;
+ }
+
+- pam_get_item(pamh, PAM_USER, &ln);
++ pam_get_item(pamh, PAM_USER, (const void**) &ln);
+ if (!ln || !*ln) {
+ /*
+ * Authentication wasn't adequate for requirements.
diff --git a/net-misc/netkit-rsh/netkit-rsh-0.17-r14.ebuild b/net-misc/netkit-rsh/netkit-rsh-0.17-r14.ebuild
index 7e39a37e7032..312f306d9549 100644
--- a/net-misc/netkit-rsh/netkit-rsh-0.17-r14.ebuild
+++ b/net-misc/netkit-rsh/netkit-rsh-0.17-r14.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -24,6 +24,7 @@ BDEPEND="app-arch/xz-utils"
PATCHES=(
"${FILESDIR}"/patches/
+ "${FILESDIR}"/${PN}-0.17-c99.patch
)
FILECAPS=( cap_net_bind_service usr/bin/r{cp,login,sh} )
next reply other threads:[~2025-02-16 13:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-16 13:02 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-10-17 20:39 [gentoo-commits] repo/gentoo:master commit in: net-misc/netkit-rsh/files/, net-misc/netkit-rsh/ John Helmert III
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=1739710592.99abe0c9ea240b119bf7a01b2c6c11d79d5817a2.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