summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-18 21:02:10 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-18 21:02:10 +0000
commit1d2cb5676e88fc16746232e374a5d475f5ef6f58 (patch)
tree20cb618ada664dc42baa8743b48144b985aa0fd9 /net-ftp
parentsecurity fixes + apache/php stabilization x86 (diff)
downloadgentoo-2-1d2cb5676e88fc16746232e374a5d475f5ef6f58.tar.gz
gentoo-2-1d2cb5676e88fc16746232e374a5d475f5ef6f58.tar.bz2
gentoo-2-1d2cb5676e88fc16746232e374a5d475f5ef6f58.zip
Add support for USE=selinux #106354 by petre rodan and USE=tcpd/readline #102867 by Francisco Javier.
(Portage version: 2.0.52-r1 http://ronaldmcnightrider.ytmnd.com/ )
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/tftp-hpa/ChangeLog6
-rw-r--r--net-ftp/tftp-hpa/tftp-hpa-0.40-r1.ebuild19
2 files changed, 19 insertions, 6 deletions
diff --git a/net-ftp/tftp-hpa/ChangeLog b/net-ftp/tftp-hpa/ChangeLog
index 51e1850ab1c3..69946668a8bd 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-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/ChangeLog,v 1.9 2005/09/15 23:21:16 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/ChangeLog,v 1.10 2005/09/18 21:02:10 vapier Exp $
+
+ 18 Sep 2005; Mike Frysinger <vapier@gentoo.org> tftp-hpa-0.40-r1.ebuild:
+ Add support for USE=selinux #106354 by petre rodan and USE=tcpd/readline
+ #102867 by Francisco Javier.
15 Sep 2005; Aron Griffis <agriffis@gentoo.org> tftp-hpa-0.40-r1.ebuild:
Mark 0.40-r1 stable on alpha
diff --git a/net-ftp/tftp-hpa/tftp-hpa-0.40-r1.ebuild b/net-ftp/tftp-hpa/tftp-hpa-0.40-r1.ebuild
index c5504caca029..5efa04bcb865 100644
--- a/net-ftp/tftp-hpa/tftp-hpa-0.40-r1.ebuild
+++ b/net-ftp/tftp-hpa/tftp-hpa-0.40-r1.ebuild
@@ -1,6 +1,6 @@
# 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.7 2005/09/15 23:21:16 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/tftp-hpa-0.40-r1.ebuild,v 1.8 2005/09/18 21:02:10 vapier Exp $
DESCRIPTION="port of the OpenBSD TFTP server"
HOMEPAGE="http://www.kernel.org/pub/software/network/tftp/"
@@ -9,12 +9,21 @@ 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=""
+IUSE="readline selinux tcpd"
-DEPEND="!virtual/tftp"
+DEPEND="readline? ( sys-libs/readline )
+ tcpd? ( sys-apps/tcp-wrappers )
+ selinux? ( sec-policy/selinux-tftpd )
+ !virtual/tftp"
PROVIDE="virtual/tftp"
-RDEPEND="${DEPEND}
- sys-apps/tcp-wrappers"
+
+src_compile() {
+ econf \
+ $(use_with tcpd tcpwrappers) \
+ $(use_with readline) \
+ || die
+ emake || die
+}
src_install() {
make INSTALLROOT="${D}" install || die