summaryrefslogtreecommitdiff
blob: d66bbd765e31c3b488c70f9df52203c014efdd6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/tftp-hpa-0.40-r1.ebuild,v 1.4 2005/07/30 06:29:14 vapier Exp $

DESCRIPTION="port of the OpenBSD TFTP server"
HOMEPAGE="http://www.kernel.org/pub/software/network/tftp/"
SRC_URI="mirror://kernel/software/network/tftp/${P}.tar.bz2"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ia64 ~mips ~ppc s390 ~sparc x86"
IUSE=""

DEPEND="!virtual/tftp"
PROVIDE="virtual/tftp"
RDEPEND="${DEPEND}
	sys-apps/tcp-wrappers"

src_install() {
	make INSTALLROOT="${D}" install || die
	dodoc README* CHANGES INSTALL*

	# iputils installs this
	rm -f "${D}"/usr/share/man/man8/tftpd.8

	newconfd "${FILESDIR}"/in.tftpd.confd in.tftpd
	newinitd "${FILESDIR}"/in.tftpd.rc6 in.tftpd
}