/[gentoo-x86]/net-ftp/tftp-hpa/tftp-hpa-0.49-r1.ebuild
Gentoo

Contents of /net-ftp/tftp-hpa/tftp-hpa-0.49-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Sun May 13 11:15:32 2012 UTC (12 months, 1 week ago) by swift
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +3 -3 lines
SELinux policy module for TFTP daemons is provided by selinux-tftp

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/tftp-hpa-0.49-r1.ebuild,v 1.11 2011/04/06 05:29:17 ulm Exp $
4
5 DESCRIPTION="port of the OpenBSD TFTP server"
6 HOMEPAGE="http://www.kernel.org/pub/software/network/tftp/"
7 SRC_URI="mirror://kernel/software/network/tftp/${P}.tar.bz2"
8
9 LICENSE="BSD"
10 SLOT="0"
11 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
12 IUSE="ipv6 readline selinux tcpd"
13
14 RDEPEND="selinux? ( sec-policy/selinux-tftp )
15 !net-ftp/atftp
16 !net-ftp/netkit-tftp"
17 DEPEND="${RDEPEND}
18 readline? ( sys-libs/readline )
19 tcpd? ( sys-apps/tcp-wrappers )"
20
21 src_compile() {
22 econf \
23 $(use_with ipv6) \
24 $(use_with tcpd tcpwrappers) \
25 $(use_with readline) \
26 || die
27 emake || die
28 }
29
30 src_install() {
31 emake INSTALLROOT="${D}" install || die
32 dodoc README* CHANGES tftpd/sample.rules
33
34 # iputils installs this
35 rm -f "${D}"/usr/share/man/man8/tftpd.8
36
37 newconfd "${FILESDIR}"/in.tftpd.confd-0.44 in.tftpd
38 newinitd "${FILESDIR}"/in.tftpd.rc6 in.tftpd
39 }
40
41 pkg_postinst() {
42 ewarn "After installation, please ensure you look at"
43 ewarn "/etc/conf.d/in.tftpd and set the correct path"
44 ewarn "for your application."
45 }

  ViewVC Help
Powered by ViewVC 1.1.13