diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-08-15 23:59:04 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-08-15 23:59:04 +0000 |
commit | eb6cea5fb90d958ae3d30e0fc1182a873d4273b8 (patch) | |
tree | e9021c888311dbaeb6b16d686d568f0bafbf13ef /net-ftp/tftp-hpa/tftp-hpa-5.0.ebuild | |
parent | Version bump #280701 by Jeremy Olexa. (diff) | |
download | historical-eb6cea5fb90d958ae3d30e0fc1182a873d4273b8.tar.gz historical-eb6cea5fb90d958ae3d30e0fc1182a873d4273b8.tar.bz2 historical-eb6cea5fb90d958ae3d30e0fc1182a873d4273b8.zip |
Version bump #280489 by Farid.
Package-Manager: portage-2.2_rc38/cvs/Linux x86_64
Diffstat (limited to 'net-ftp/tftp-hpa/tftp-hpa-5.0.ebuild')
-rw-r--r-- | net-ftp/tftp-hpa/tftp-hpa-5.0.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net-ftp/tftp-hpa/tftp-hpa-5.0.ebuild b/net-ftp/tftp-hpa/tftp-hpa-5.0.ebuild new file mode 100644 index 000000000000..25ab6d5ba011 --- /dev/null +++ b/net-ftp/tftp-hpa/tftp-hpa-5.0.ebuild @@ -0,0 +1,38 @@ +# 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.1 2009/08/15 23:59:04 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 ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="ipv6 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 ipv6) \ + $(use_with tcpd tcpwrappers) \ + $(use_with readline) \ + || die + emake || die +} + +src_install() { + emake INSTALLROOT="${D}" install || die + dodoc README* CHANGES tftpd/sample.rules + + # iputils installs this + rm "${D}"/usr/share/man/man8/tftpd.8 || die + + newconfd "${FILESDIR}"/in.tftpd.confd-0.44 in.tftpd + newinitd "${FILESDIR}"/in.tftpd.rc6 in.tftpd +} |