summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-10-20 08:35:20 +0000
committerMike Frysinger <vapier@gentoo.org>2009-10-20 08:35:20 +0000
commit7aaa2bf14788a0575b6f15505fc98c8b75c4b8d6 (patch)
tree0c84f17cc03863d48fb2cdc3cd0a3069a9ac5ebf /net-ftp
parentDrop USE=xinetd and just always install the conf file. (diff)
downloadgentoo-2-7aaa2bf14788a0575b6f15505fc98c8b75c4b8d6.tar.gz
gentoo-2-7aaa2bf14788a0575b6f15505fc98c8b75c4b8d6.tar.bz2
gentoo-2-7aaa2bf14788a0575b6f15505fc98c8b75c4b8d6.zip
Add an xinetd conf file.
(Portage version: 2.2_rc46/cvs/Linux x86_64)
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/tftp-hpa/ChangeLog6
-rw-r--r--net-ftp/tftp-hpa/files/tftp.xinetd10
-rw-r--r--net-ftp/tftp-hpa/tftp-hpa-5.0.ebuild4
3 files changed, 18 insertions, 2 deletions
diff --git a/net-ftp/tftp-hpa/ChangeLog b/net-ftp/tftp-hpa/ChangeLog
index 5c76e68df3cd..34e8b0bdb0dc 100644
--- a/net-ftp/tftp-hpa/ChangeLog
+++ b/net-ftp/tftp-hpa/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-ftp/tftp-hpa
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/ChangeLog,v 1.45 2009/08/16 00:02:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/ChangeLog,v 1.46 2009/10/20 08:35:19 vapier Exp $
+
+ 20 Oct 2009; Mike Frysinger <vapier@gentoo.org> tftp-hpa-5.0.ebuild,
+ +files/tftp.xinetd:
+ Add an xinetd conf file.
16 Aug 2009; Mike Frysinger <vapier@gentoo.org> tftp-hpa-0.49-r1.ebuild,
tftp-hpa-5.0.ebuild:
diff --git a/net-ftp/tftp-hpa/files/tftp.xinetd b/net-ftp/tftp-hpa/files/tftp.xinetd
new file mode 100644
index 000000000000..c1bf20ab2929
--- /dev/null
+++ b/net-ftp/tftp-hpa/files/tftp.xinetd
@@ -0,0 +1,10 @@
+service tftp
+{
+ disable = yes
+ socket_type = dgram
+ protocol = udp
+ wait = yes
+ user = root
+ server = /usr/sbin/in.tftpd
+ server_args = -R 4096:32767 -s /tftpboot
+}
diff --git a/net-ftp/tftp-hpa/tftp-hpa-5.0.ebuild b/net-ftp/tftp-hpa/tftp-hpa-5.0.ebuild
index df2079c385e0..01ae9758d25d 100644
--- a/net-ftp/tftp-hpa/tftp-hpa-5.0.ebuild
+++ b/net-ftp/tftp-hpa/tftp-hpa-5.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/tftp-hpa-5.0.ebuild,v 1.2 2009/08/16 00:02:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/tftp-hpa-5.0.ebuild,v 1.3 2009/10/20 08:35:19 vapier Exp $
DESCRIPTION="port of the OpenBSD TFTP server"
HOMEPAGE="http://www.kernel.org/pub/software/network/tftp/"
@@ -36,4 +36,6 @@ src_install() {
newconfd "${FILESDIR}"/in.tftpd.confd-0.44 in.tftpd
newinitd "${FILESDIR}"/in.tftpd.rc6 in.tftpd
+ insinto /etc/xinetd.d
+ newins "${FILESDIR}"/tftp.xinetd tftp
}