summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-04-03 18:21:00 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-04-03 18:21:00 +0000
commit679b7db53c6832c1670f52518799fe053c28bd22 (patch)
treef3ad41fff29bf708a001f37bda830b5b93a3c7ee /net-misc
parentAdded xinetd entry. Closes #18251. (diff)
downloadhistorical-679b7db53c6832c1670f52518799fe053c28bd22.tar.gz
historical-679b7db53c6832c1670f52518799fe053c28bd22.tar.bz2
historical-679b7db53c6832c1670f52518799fe053c28bd22.zip
Added xinetd entry. Closes #18251.
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/netkit-talk/files/digest-netkit-talk-0.17-r32
-rw-r--r--net-misc/netkit-talk/files/netkit-talk-0.17-r3-gentoo.diff10
-rw-r--r--net-misc/netkit-talk/files/talk.xinetd13
-rw-r--r--net-misc/netkit-talk/netkit-talk-0.17-r3.ebuild42
4 files changed, 66 insertions, 1 deletions
diff --git a/net-misc/netkit-talk/files/digest-netkit-talk-0.17-r3 b/net-misc/netkit-talk/files/digest-netkit-talk-0.17-r3
index 5859522c2a3f..657684407619 100644
--- a/net-misc/netkit-talk/files/digest-netkit-talk-0.17-r3
+++ b/net-misc/netkit-talk/files/digest-netkit-talk-0.17-r3
@@ -1,5 +1,5 @@
MD5 c7bf0043b05bcc450fe35cd1045bff21 /files/talk.xinetd 264
MD5 c6c3a77378ec32d3369c56827fdb9cdf /files/netkit-talk-0.17-r2-gentoo.diff 274
MD5 c6c3a77378ec32d3369c56827fdb9cdf /files/netkit-talk-0.17-r3-gentoo.diff 274
-MD5 b867c6c98380667c0f9a991bd5ab6924 /netkit-talk-0.17-r3.ebuild 1132
+MD5 51fbf326b4698a567c931cf721d804a0 /netkit-talk-0.17-r3.ebuild 1131
MD5 e3c57208f8644ae206dab5e236daf7b3 netkit-ntalk-0.17.tar.gz 37396
diff --git a/net-misc/netkit-talk/files/netkit-talk-0.17-r3-gentoo.diff b/net-misc/netkit-talk/files/netkit-talk-0.17-r3-gentoo.diff
new file mode 100644
index 000000000000..ec55d5974174
--- /dev/null
+++ b/net-misc/netkit-talk/files/netkit-talk-0.17-r3-gentoo.diff
@@ -0,0 +1,10 @@
+--- netkit-ntalk-0.17/talkd/announce.c~ Sat Jul 22 17:27:39 2000
++++ netkit-ntalk-0.17/talkd/announce.c Sun Apr 29 22:09:37 2001
+@@ -49,6 +49,7 @@
+ #include <fcntl.h>
+ #include <string.h>
+ #include <paths.h>
++#include <time.h>
+ #include "prot_talkd.h"
+ #include "proto.h"
+
diff --git a/net-misc/netkit-talk/files/talk.xinetd b/net-misc/netkit-talk/files/talk.xinetd
new file mode 100644
index 000000000000..03da783bb37c
--- /dev/null
+++ b/net-misc/netkit-talk/files/talk.xinetd
@@ -0,0 +1,13 @@
+# default: off
+# description: The talk server accepts talk requests for chatting with users \
+# on other systems.
+service talk
+{
+# flags = IPv4
+ disable = yes
+ socket_type = dgram
+ wait = yes
+ user = nobody
+ group = tty
+ server = /usr/sbin/in.talkd
+}
diff --git a/net-misc/netkit-talk/netkit-talk-0.17-r3.ebuild b/net-misc/netkit-talk/netkit-talk-0.17-r3.ebuild
new file mode 100644
index 000000000000..f299d8f61be2
--- /dev/null
+++ b/net-misc/netkit-talk/netkit-talk-0.17-r3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-talk/netkit-talk-0.17-r3.ebuild,v 1.1 2003/04/03 18:20:38 mholzer Exp $
+
+MY_P=netkit-ntalk-${PV}
+S=${WORKDIR}/netkit-ntalk-${PV}
+DESCRIPTION="Netkit - talkd"
+SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${MY_P}.tar.gz"
+HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
+KEYWORDS="x86 ppc sparc alpha mips"
+LICENSE="BSD"
+SLOT="0"
+
+DEPEND="virtual/glibc
+ >=sys-libs/ncurses-5.2"
+
+src_unpack() {
+ unpack ${A}
+ patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
+}
+
+src_compile() {
+ try ./configure
+ cp MCONFIG MCONFIG.orig
+ sed -e "s:-O2 -Wall:-Wall:" -e "s:-Wpointer-arith::" MCONFIG.orig > MCONFIG
+ try make
+}
+
+src_install() {
+ insinto /etc/xinetd.d
+ newins ${FILESDIR}/talk.xinetd talk
+ into /usr
+ dobin talk/talk
+ doman talk/talk.1
+ dosbin talkd/talkd
+ dosym talkd /usr/sbin/in.talkd
+ doman talkd/talkd.8
+ dosym talkd.8.gz /usr/share/man/man8/in.talkd.8.gz
+ dodoc README ChangeLog BUGS
+}
+
+