diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2023-09-16 22:14:17 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-09-17 17:33:48 +0300 |
commit | 70ba0df689ee53a322938c050f7a10ef5f50e352 (patch) | |
tree | 0d78e2023a06b3c7ff05c5f5fec903c7da908b19 /net-misc/netkit-talk | |
parent | net-misc/netkit-bootparamd: EAPI8 bump (diff) | |
download | gentoo-70ba0df689ee53a322938c050f7a10ef5f50e352.tar.gz gentoo-70ba0df689ee53a322938c050f7a10ef5f50e352.tar.bz2 gentoo-70ba0df689ee53a322938c050f7a10ef5f50e352.zip |
net-misc/netkit-talk: EAPI8 bump, enable ipv6 unconditional
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'net-misc/netkit-talk')
-rw-r--r-- | net-misc/netkit-talk/netkit-talk-0.17-r8.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/net-misc/netkit-talk/netkit-talk-0.17-r8.ebuild b/net-misc/netkit-talk/netkit-talk-0.17-r8.ebuild new file mode 100644 index 000000000000..1832ecd0e9ab --- /dev/null +++ b/net-misc/netkit-talk/netkit-talk-0.17-r8.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_P=netkit-ntalk-${PV} + +DESCRIPTION="Netkit - talkd: Daemon to help set up talk sessions" +HOMEPAGE="https://wiki.linuxfoundation.org/networking/netkit" +SRC_URI="http://ftp.linux.org.uk/pub/linux/Networking/netkit/${MY_P}.tar.gz" +S="${WORKDIR}"/netkit-ntalk-${PV} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +DEPEND=">=sys-libs/ncurses-5.2:=" +BDEPEND="virtual/pkgconfig" +RDEPEND=" + ${DEPEND} + virtual/inetd +" + +PATCHES=( + "${FILESDIR}"/${P}-time.patch + "${FILESDIR}"/${P}-ipv6.patch +) + +src_prepare() { + default + sed -i configure -e '/^LDFLAGS=/d' || die +} + +src_configure() { + # not autotools based? + ./configure --with-c-compiler="$(tc-getCC)" || die +} + +src_compile() { + emake LIBCURSES="$( $(tc-getPKG_CONFIG) --libs ncurses )" +} + +src_install() { + insinto /etc/xinetd.d + newins "${FILESDIR}"/talk.xinetd talk + dobin talk/talk + doman talk/talk.1 + dosbin talkd/talkd + dosym talkd /usr/sbin/in.talkd + doman talkd/talkd.8 + dosym talkd.8 /usr/share/man/man8/in.talkd.8 + dodoc README ChangeLog BUGS +} |