[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
commit: 16f1d78f56032c601da9e220e83d5bd833363136 Author: Sam James gentoo org> AuthorDate: Wed Jun 28 21:16:41 2023 + Commit: Sam James gentoo org> CommitDate: Wed Jun 28 21:16:41 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16f1d78f net-misc/telnet-bsd: add missing selinux policy dep Signed-off-by: Sam James gentoo.org> net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild index c1e8dc327468..8ba189abbfd1 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,13 +12,15 @@ SRC_URI="https://dev.gentoo.org/~mschiff/distfiles/${P}.tar.bz2; LICENSE="BSD" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" -IUSE="nls xinetd" +IUSE="nls selinux xinetd" DEPEND=" sys-libs/ncurses:= !net-misc/netkit-telnetd " -RDEPEND="${DEPEND} +RDEPEND=" + ${DEPEND} + selinux? ( sec-policy/selinux-telnet ) xinetd? ( sys-apps/xinetd ) !net-misc/netkit-telnetd "
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
commit: 6e01a8b116113ced0ffe6ff91b1cf1d53626f9ed Author: Arthur Zamarin gentoo org> AuthorDate: Fri Sep 23 06:24:08 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Sep 23 06:24:08 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e01a8b1 net-misc/telnet-bsd: Stabilize 1.2-r4 sparc, #872425 Signed-off-by: Arthur Zamarin gentoo.org> net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild index fcd67845c5a8..94c8218b9b22 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mschiff/distfiles/${P}.tar.bz2; LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="nls xinetd" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
commit: 738e044bad2bf3ba99c6d566ee3542f93484ec17 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Sep 23 05:41:40 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Sep 23 05:41:40 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=738e044b net-misc/telnet-bsd: Stabilize 1.2-r4 ppc64, #872425 Signed-off-by: Arthur Zamarin gentoo.org> net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild index cf1da25a3ec4..fcd67845c5a8 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mschiff/distfiles/${P}.tar.bz2; LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="nls xinetd" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
commit: 47cb0cc8072101a59938ab5b5c9c7a1f2cfb6b7d Author: Arthur Zamarin gentoo org> AuthorDate: Fri Sep 23 05:41:39 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Sep 23 05:41:39 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47cb0cc8 net-misc/telnet-bsd: Stabilize 1.2-r4 ppc, #872425 Signed-off-by: Arthur Zamarin gentoo.org> net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild index fb17df0fd58b..cf1da25a3ec4 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mschiff/distfiles/${P}.tar.bz2; LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="nls xinetd" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
commit: 57a8c57a031d51aa61fc307eaa13f832a43dce68 Author: Sam James gentoo org> AuthorDate: Fri Sep 23 02:18:27 2022 + Commit: Sam James gentoo org> CommitDate: Fri Sep 23 02:18:27 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57a8c57a net-misc/telnet-bsd: Stabilize 1.2-r4 x86, #872425 Signed-off-by: Sam James gentoo.org> net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild index f0278507a214..9ead87917a43 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mschiff/distfiles/${P}.tar.bz2; LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="nls xinetd" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
commit: fe1a20b602ed37b104525d0c9655d3f69c680ec1 Author: Sam James gentoo org> AuthorDate: Fri Sep 23 02:18:44 2022 + Commit: Sam James gentoo org> CommitDate: Fri Sep 23 02:18:44 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe1a20b6 net-misc/telnet-bsd: Stabilize 1.2-r4 amd64, #872425 Signed-off-by: Sam James gentoo.org> net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild index 9ead87917a43..fb17df0fd58b 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mschiff/distfiles/${P}.tar.bz2; LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="nls xinetd" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
commit: a085b75079f3f09127fcadcef82b045d71b7de20 Author: Sam James gentoo org> AuthorDate: Fri Sep 23 02:17:57 2022 + Commit: Sam James gentoo org> CommitDate: Fri Sep 23 02:17:57 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a085b750 net-misc/telnet-bsd: Stabilize 1.2-r4 arm64, #872425 Signed-off-by: Sam James gentoo.org> net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild index 59487e44292a..f0278507a214 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mschiff/distfiles/${P}.tar.bz2; LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="nls xinetd" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
commit: eef026f5c3684af563f6cdc445bada93d1ded723 Author: Sam James gentoo org> AuthorDate: Fri Sep 23 01:26:31 2022 + Commit: Sam James gentoo org> CommitDate: Fri Sep 23 01:26:31 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eef026f5 net-misc/telnet-bsd: Stabilize 1.2-r4 arm, #872425 Signed-off-by: Sam James gentoo.org> net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild index 890dc085eabe..59487e44292a 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mschiff/distfiles/${P}.tar.bz2; LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="nls xinetd" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
commit: b0a697f3f516fbc6508a4a9f965a48a3ef0d9644 Author: Sam James gentoo org> AuthorDate: Fri Jul 15 13:22:31 2022 + Commit: Sam James gentoo org> CommitDate: Fri Jul 15 13:22:31 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0a697f3 net-misc/telnet-bsd: fix RDEPEND Signed-off-by: Sam James gentoo.org> .../telnet-bsd/{telnet-bsd-1.2-r3.ebuild => telnet-bsd-1.2-r4.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r3.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild similarity index 96% rename from net-misc/telnet-bsd/telnet-bsd-1.2-r3.ebuild rename to net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild index db4c5fe6c4dc..890dc085eabe 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r3.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r4.ebuild @@ -14,12 +14,12 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="nls xinetd" -RDEPEND=" +DEPEND=" sys-libs/ncurses:= !net-misc/netkit-telnetd " RDEPEND="${DEPEND} - xinetd? ( sys-apps/xinetd ) + xinetd? ( sys-apps/xinetd ) !net-misc/netkit-telnetd " BDEPEND="virtual/pkgconfig"
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
commit: 5f857ea61c10390a2fbaefdcff1665f1a976d17e Author: Jakov Smolić gentoo org> AuthorDate: Fri May 27 19:32:23 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Fri May 27 19:32:23 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f857ea6 net-misc/telnet-bsd: keyword 1.2-r3 for ~riscv Signed-off-by: Jakov Smolić gentoo.org> net-misc/telnet-bsd/telnet-bsd-1.2-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r3.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r3.ebuild index c131d25aed1d..db4c5fe6c4dc 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r3.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mschiff/distfiles/${P}.tar.bz2; LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="nls xinetd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
commit: ca195cb74d178247afd749b141c1ddf686421e6f Author: Marc Schiffbauer gentoo org> AuthorDate: Sun Mar 27 08:54:18 2022 + Commit: Marc Schiffbauer gentoo org> CommitDate: Sun Mar 27 08:54:18 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca195cb7 net-misc/telnet-bsd: destabilize 1.2-r3 Signed-off-by: Marc Schiffbauer gentoo.org> net-misc/telnet-bsd/telnet-bsd-1.2-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r3.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r3.ebuild index 65a05099bf70..c131d25aed1d 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r3.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mschiff/distfiles/${P}.tar.bz2; LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="nls xinetd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/files/, net-misc/telnet-bsd/
commit: c9ac47f26ac2f21c5e42f9143c1276379884cc97 Author: Marc Schiffbauer gentoo org> AuthorDate: Sun Mar 27 08:42:50 2022 + Commit: Marc Schiffbauer gentoo org> CommitDate: Sun Mar 27 08:43:45 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9ac47f2 net-misc/telnet-bsd: fix bug 713790 Bug: https://bugs.gentoo.org/713790 Signed-off-by: Marc Schiffbauer gentoo.org> .../telnet-bsd/files/telnet-bsd-1.2-musl.patch | 42 +++ net-misc/telnet-bsd/telnet-bsd-1.2-r3.ebuild | 49 ++ 2 files changed, 91 insertions(+) diff --git a/net-misc/telnet-bsd/files/telnet-bsd-1.2-musl.patch b/net-misc/telnet-bsd/files/telnet-bsd-1.2-musl.patch new file mode 100644 index ..0194015968a7 --- /dev/null +++ b/net-misc/telnet-bsd/files/telnet-bsd-1.2-musl.patch @@ -0,0 +1,42 @@ +diff --git a/telnet/misc-proto.h b/telnet/misc-proto.h +index 5845751..777a700 100644 +--- a/telnet/misc-proto.h b/telnet/misc-proto.h +@@ -63,7 +63,7 @@ + #ifndef __MISC_PROTO__ + #define __MISC_PROTO__ + +-#include ++#define __P(protos) protos /* full-blown ANSI C */ + + void auth_encrypt_init __P((char *, char *, char *, int)); + void auth_encrypt_user __P((char *)); +diff --git a/telnet/ring.h b/telnet/ring.h +index 9ef8fb8..65762b2 100644 +--- a/telnet/ring.h b/telnet/ring.h +@@ -28,8 +28,8 @@ + * + */ + +-#include + #include ++#define __P(protos) protos /* full-blown ANSI C */ + #define P __P + + /* +diff --git a/telnetd/sys_term.c b/telnetd/sys_term.c +index 31897d8..3c43f8f 100644 +--- a/telnetd/sys_term.c b/telnetd/sys_term.c +@@ -838,8 +838,10 @@ cleanup (int sig) +* receive another signal while we're in that function. */ + sigfillset(); + sigprocmask(SIG_SETMASK, , ); ++#if defined(logwtmp) + if (logout (p)) + logwtmp (p, "", ""); ++#endif + sigprocmask(SIG_SETMASK, , NULL); + #ifdef PARANOID_TTYS + /* diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r3.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r3.ebuild new file mode 100644 index ..65a05099bf70 --- /dev/null +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs + +DESCRIPTION="Telnet and telnetd ported from OpenBSD with IPv6 support" +HOMEPAGE="ftp://ftp.suse.com/pub/people/kukuk/ipv6/; +SRC_URI="https://dev.gentoo.org/~mschiff/distfiles/${P}.tar.bz2; + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="nls xinetd" + +RDEPEND=" + sys-libs/ncurses:= + !net-misc/netkit-telnetd +" +RDEPEND="${DEPEND} + xinetd? ( sys-apps/xinetd ) + !net-misc/netkit-telnetd +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-fbsd.patch + "${FILESDIR}"/${PN}-1.2-format-security.patch + "${FILESDIR}"/${P}-musl.patch +) + +src_prepare() { + default + eautoreconf +} + +src_compile() { + emake LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)" +} + +src_install() { + default + + if use xinetd ; then + insinto /etc/xinetd.d + newins "${FILESDIR}"/telnetd.xinetd telnetd + fi +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
commit: 9852f3815369f5553e5b0d9c09bd64fd12b65772 Author: David Seifert gentoo org> AuthorDate: Mon Jan 3 16:13:09 2022 + Commit: Sam James gentoo org> CommitDate: Tue Jan 4 03:28:49 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9852f381 net-misc/telnet-bsd: remove kernel_FreeBSD Signed-off-by: David Seifert gentoo.org> Signed-off-by: Sam James gentoo.org> net-misc/telnet-bsd/telnet-bsd-1.2-r2.ebuild | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r2.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r2.ebuild index f7e8097c0bcc..8104f65f02de 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r2.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -34,15 +34,6 @@ src_prepare() { eautoreconf } -src_configure() { - # FreeBSD doesn't seem to support PIE neither does hppa - if use kernel_FreeBSD; then - export libc_cv_fpie="no" - fi - - econf -} - src_compile() { emake LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)" }
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
commit: 7a3c20ce5652f1ebbd037345dfd0d740883393af Author: Jakov Smolić gentoo org> AuthorDate: Sun Nov 14 13:43:25 2021 + Commit: Jakov Smolić gentoo org> CommitDate: Sun Nov 14 13:43:25 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a3c20ce net-misc/telnet-bsd: Port to EAPI 8 Closes: https://bugs.gentoo.org/819291 Signed-off-by: Jakov Smolić gentoo.org> ...-bsd-1.2-r1.ebuild => telnet-bsd-1.2-r2.ebuild} | 32 ++ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r2.ebuild similarity index 71% rename from net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild rename to net-misc/telnet-bsd/telnet-bsd-1.2-r2.ebuild index d9185075752c..f7e8097c0bcc 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r2.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 -inherit autotools epatch toolchain-funcs +inherit autotools toolchain-funcs DESCRIPTION="Telnet and telnetd ported from OpenBSD with IPv6 support" HOMEPAGE="ftp://ftp.suse.com/pub/people/kukuk/ipv6/; @@ -14,16 +14,23 @@ SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="nls xinetd" -RDEPEND="sys-libs/ncurses:=" -DEPEND="${RDEPEND} +RDEPEND=" + sys-libs/ncurses:= !net-misc/netkit-telnetd - xinetd? ( sys-apps/xinetd ) - virtual/pkgconfig" +" +RDEPEND="${DEPEND} + xinetd? ( sys-apps/xinetd ) + !net-misc/netkit-telnetd +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-fbsd.patch + "${FILESDIR}"/${PN}-1.2-format-security.patch +) src_prepare() { - epatch "${FILESDIR}"/${P}-fbsd.patch - epatch "${FILESDIR}"/${PN}-1.2-format-security.patch - eaclocal + default eautoreconf } @@ -34,16 +41,17 @@ src_configure() { fi econf +} + +src_compile() { emake LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)" } src_install() { - emake DESTDIR="${D}" install + default if use xinetd ; then insinto /etc/xinetd.d newins "${FILESDIR}"/telnetd.xinetd telnetd fi - - dodoc README THANKS NEWS AUTHORS ChangeLog INSTALL }
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
commit: 2072871a768d89e0d4b8c2ddde4abcc2862094b1 Author: Sam James gentoo org> AuthorDate: Thu May 6 09:58:48 2021 + Commit: Sam James gentoo org> CommitDate: Thu May 6 09:58:48 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2072871a net-misc/telnet-bsd: Stabilize 1.2-r1 arm64, #787791 Signed-off-by: Sam James gentoo.org> net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild index f2de7105394..d9185075752 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~mschiff/distfiles/${P}.tar.bz2; LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="nls xinetd" RDEPEND="sys-libs/ncurses:="
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
commit: 89ee82acd77e9856ef1c0250f57cdf2c10259ee3 Author: Mart Raudsepp gentoo org> AuthorDate: Sat Mar 21 11:27:20 2020 + Commit: Mart Raudsepp gentoo org> CommitDate: Sat Mar 21 11:27:20 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89ee82ac net-misc/telnet-bsd: arm64 keyworded (bug #704958) Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp gentoo.org> net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild index 96527c5c15e..e84ce3b4d87 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://dev.gentoo.org/~mschiff/distfiles/${P}.tar.bz2; LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="nls xinetd" RDEPEND="sys-libs/ncurses:="
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
commit: 3d030cc3f941305e13a5f7318e17fd8412d608c8 Author: Marc Schiffbauer gentoo org> AuthorDate: Wed Mar 18 22:14:24 2020 + Commit: Marc Schiffbauer gentoo org> CommitDate: Wed Mar 18 22:15:02 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d030cc3 net-misc/telnet-bsd: Fix SRC_URI (#713216) Closes: https://bugs.gentoo.org/713216 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Marc Schiffbauer gentoo.org> net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild index 8fc40fcfe23..96527c5c15e 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild @@ -6,7 +6,7 @@ inherit eutils autotools toolchain-funcs DESCRIPTION="Telnet and telnetd ported from OpenBSD with IPv6 support" HOMEPAGE="ftp://ftp.suse.com/pub/people/kukuk/ipv6/; -SRC_URI="ftp://ftp.suse.com/pub/people/kukuk/ipv6/${P}.tar.bz2; +SRC_URI="https://dev.gentoo.org/~mschiff/distfiles/${P}.tar.bz2; LICENSE="BSD" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/, net-misc/telnet-bsd/files/
commit: c67c2aaab8cc8caeabd5257fbadebafed723c4e4 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Dec 3 00:54:02 2017 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Dec 3 01:37:58 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c67c2aaa net-misc/telnet-bsd: Fix compilation with format-security Package-Manager: Portage-2.3.16, Repoman-2.3.6 net-misc/telnet-bsd/Manifest | 2 +- .../files/telnet-bsd-1.2-format-security.patch | 52 ++ net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild | 3 +- 3 files changed, 55 insertions(+), 2 deletions(-) diff --git a/net-misc/telnet-bsd/Manifest b/net-misc/telnet-bsd/Manifest index 6768f2a287e..3e381221311 100644 --- a/net-misc/telnet-bsd/Manifest +++ b/net-misc/telnet-bsd/Manifest @@ -1 +1 @@ -DIST telnet-bsd-1.2.tar.bz2 194518 SHA256 d6a9d26740ef75565cb1ed8ff11e327d240e6734748b2d1d2e96c126849e4733 SHA512 e3867362e1a2bc46779bcbc7631ccf08a0bfae84b71653e39099dc2db42995e5fcd39a978595006053e688430445db7ebb7a7bfbbb02a8e4dba209acbf66a69d WHIRLPOOL 673a5178f7c2305c9ad1ece9151d8d6c874ace147640f2d0e02a39f2641935af02fe42861c9ccc17b9f84e328c7e821f93ecf37dc3a86a9d1cf49700e7527f20 +DIST telnet-bsd-1.2.tar.bz2 194518 BLAKE2B 59b46a4717dfbf2dffebbab96446ec020da1fab4838bae053e5539f3f85834e11f304ad9f8cb143aefb73cb3c6c0734430a4317df6e8a9a236a122a1268f3bd8 SHA512 e3867362e1a2bc46779bcbc7631ccf08a0bfae84b71653e39099dc2db42995e5fcd39a978595006053e688430445db7ebb7a7bfbbb02a8e4dba209acbf66a69d diff --git a/net-misc/telnet-bsd/files/telnet-bsd-1.2-format-security.patch b/net-misc/telnet-bsd/files/telnet-bsd-1.2-format-security.patch new file mode 100644 index 000..b167bcec964 --- /dev/null +++ b/net-misc/telnet-bsd/files/telnet-bsd-1.2-format-security.patch @@ -0,0 +1,52 @@ +--- a/telnet/utilities.c b/telnet/utilities.c +@@ -739,22 +739,22 @@ printsub(char direction, unsigned char *pointer, int length) + case ENV_VAR: + if (pointer[1] == TELQUAL_SEND) + goto def_case; +-fprintf(NetTrace, "\" VAR " + noquote); ++fprintf(NetTrace, "%s", "\" VAR " + noquote); + noquote = 2; + break; + + case ENV_VALUE: +-fprintf(NetTrace, "\" VALUE " + noquote); ++fprintf(NetTrace, "%s", "\" VALUE " + noquote); + noquote = 2; + break; + + case ENV_ESC: +-fprintf(NetTrace, "\" ESC " + noquote); ++fprintf(NetTrace, "%s", "\" ESC " + noquote); + noquote = 2; + break; + + case ENV_USERVAR: +-fprintf(NetTrace, "\" USERVAR " + noquote); ++fprintf(NetTrace, "%s", "\" USERVAR " + noquote); + noquote = 2; + break; + +--- a/telnetd/utility.c b/telnetd/utility.c +@@ -897,17 +897,17 @@ printsub(char direction, unsigned char *pointer, int length) + case ENV_VAR: + if (pointer[1] == TELQUAL_SEND) + goto def_case; +- netoprintf("\" VAR " + noquote); ++ netoprintf("%s", "\" VAR " + noquote); + noquote = 2; + break; + + case ENV_VALUE: +- netoprintf("\" VALUE " + noquote); ++ netoprintf("%s", "\" VALUE " + noquote); + noquote = 2; + break; + + case ENV_ESC: +- netoprintf("\" ESC " + noquote); ++ netoprintf("%s", "\" ESC " + noquote); + noquote = 2; + break; + diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild index 6b62c3f2817..562cbb58252 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -21,6 +21,7 @@ DEPEND="${RDEPEND} src_prepare() { epatch "${FILESDIR}"/${P}-fbsd.patch + epatch "${FILESDIR}"/${PN}-1.2-format-security.patch eaclocal eautoreconf }
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
commit: 9b3283cc25e5f70e536c069d529862d1977e950c Author: Marc Schiffbauer gentoo org> AuthorDate: Fri Sep 18 22:18:30 2015 + Commit: Marc Schiffbauer gentoo org> CommitDate: Fri Sep 18 22:18:30 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b3283cc net-misc/telnet-bsd: fix header Package-Manager: portage-2.2.20.1 net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild index 3861486..2835c72 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
commit: 2a6eb017f6706dfd4c3f27888969ff5a417aa422 Author: Marc Schiffbauer gentoo org> AuthorDate: Fri Sep 18 22:18:02 2015 + Commit: Marc Schiffbauer gentoo org> CommitDate: Fri Sep 18 22:18:02 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a6eb017 net-misc/telnet-bsd: fix build with force --as-needed Fixes #559154 Thanks to Lars Wendler and Felix Janda Package-Manager: portage-2.2.20.1 net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild index 0a5ea05..3861486 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild @@ -33,7 +33,7 @@ src_configure() { fi econf - emake CFLAGS="${CFLAGS} $("$(tc-getPKG_CONFIG)" --libs ncurses)" + emake LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)" } src_install() {
[gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
commit: 4cd1d0c8dc15eda10675434b902f0876a3bfd964 Author: Marc Schiffbauer gentoo org> AuthorDate: Fri Sep 18 22:23:17 2015 + Commit: Marc Schiffbauer gentoo org> CommitDate: Fri Sep 18 22:23:17 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cd1d0c8 net-misc/telnet-bsd: add slot operator to sys-libs/ncurses RDEPEND Package-Manager: portage-2.2.20.1 net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild b/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild index 2835c72..7d8e306 100644 --- a/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild +++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild @@ -14,7 +14,7 @@ SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos" IUSE="nls xinetd" -RDEPEND="sys-libs/ncurses" +RDEPEND="sys-libs/ncurses:=" DEPEND="${RDEPEND} !net-misc/netkit-telnetd xinetd? ( sys-apps/xinetd )