From: "Jakov Smolić" <jsmolic@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/
Date: Sun, 14 Nov 2021 13:48:10 +0000 (UTC) [thread overview]
Message-ID: <1636897405.7a3c20ce5652f1ebbd037345dfd0d740883393af.jsmolic@gentoo> (raw)
commit: 7a3c20ce5652f1ebbd037345dfd0d740883393af
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 14 13:43:25 2021 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun Nov 14 13:43:25 2021 +0000
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ć <jsmolic <AT> 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
}
next reply other threads:[~2021-11-14 13:48 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-14 13:48 Jakov Smolić [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-03 16:53 [gentoo-commits] repo/gentoo:master commit in: net-misc/telnet-bsd/ Mike Gilbert
2023-06-28 21:17 Sam James
2022-09-23 6:24 Arthur Zamarin
2022-09-23 5:41 Arthur Zamarin
2022-09-23 5:41 Arthur Zamarin
2022-09-23 2:19 Sam James
2022-09-23 2:19 Sam James
2022-09-23 2:18 Sam James
2022-09-23 1:27 Sam James
2022-07-15 13:26 Sam James
2022-05-27 19:34 Jakov Smolić
2022-03-27 8:54 Marc Schiffbauer
2022-01-04 3:29 Sam James
2021-05-06 10:01 Sam James
2020-03-21 11:27 Mart Raudsepp
2020-03-18 22:16 Marc Schiffbauer
2015-09-18 22:24 Marc Schiffbauer
2015-09-18 22:24 Marc Schiffbauer
2015-09-18 22:24 Marc Schiffbauer
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=1636897405.7a3c20ce5652f1ebbd037345dfd0d740883393af.jsmolic@gentoo \
--to=jsmolic@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