diff options
Diffstat (limited to 'net-ftp/tftp-hpa/tftp-hpa-0.40.1.ebuild')
-rw-r--r-- | net-ftp/tftp-hpa/tftp-hpa-0.40.1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/net-ftp/tftp-hpa/tftp-hpa-0.40.1.ebuild b/net-ftp/tftp-hpa/tftp-hpa-0.40.1.ebuild new file mode 100644 index 000000000000..93c744416ddb --- /dev/null +++ b/net-ftp/tftp-hpa/tftp-hpa-0.40.1.ebuild @@ -0,0 +1,37 @@ +# 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.1.ebuild,v 1.1 2005/10/01 07:45:49 dragonheart 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="readline selinux tcpd" + +DEPEND="readline? ( sys-libs/readline ) + tcpd? ( sys-apps/tcp-wrappers ) + selinux? ( sec-policy/selinux-tftpd ) + !virtual/tftp" +PROVIDE="virtual/tftp" + +src_compile() { + econf \ + $(use_with tcpd tcpwrappers) \ + $(use_with readline) \ + || die + emake || die +} + +src_install() { + make INSTALLROOT="${D}" install || die + dodoc README* CHANGES + + # 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 +} |