diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-09-18 20:50:36 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-09-18 20:50:36 +0000 |
commit | d8e53f710f7dbc53a32c786322a53ba3c8de6a8b (patch) | |
tree | de773eae39f50989a18619c5b00844b24f64f23f /net-ftp | |
parent | old (diff) | |
download | gentoo-2-d8e53f710f7dbc53a32c786322a53ba3c8de6a8b.tar.gz gentoo-2-d8e53f710f7dbc53a32c786322a53ba3c8de6a8b.tar.bz2 gentoo-2-d8e53f710f7dbc53a32c786322a53ba3c8de6a8b.zip |
add support for USE=selinux #106354 by petre rodan
(Portage version: 2.0.52-r1 http://ronaldmcnightrider.ytmnd.com/ )
Diffstat (limited to 'net-ftp')
-rw-r--r-- | net-ftp/atftp/atftp-0.7.ebuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/net-ftp/atftp/atftp-0.7.ebuild b/net-ftp/atftp/atftp-0.7.ebuild index 1c63c3357ef7..06ecf0056021 100644 --- a/net-ftp/atftp/atftp-0.7.ebuild +++ b/net-ftp/atftp/atftp-0.7.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/atftp/atftp-0.7.ebuild,v 1.3 2005/07/21 14:42:43 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/atftp/atftp-0.7.ebuild,v 1.4 2005/09/18 20:50:36 vapier Exp $ inherit eutils @@ -10,17 +10,18 @@ SRC_URI="ftp://ftp.mamalinux.com/pub/atftp/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 arm ~ppc ppc64 ~sparc ~x86" -IUSE="tcpd" +KEYWORDS="~amd64 arm ~ppc ppc64 ~sparc x86" +IUSE="selinux tcpd" DEPEND="tcpd? ( sys-apps/tcp-wrappers ) + selinux? ( sec-policy/selinux-tftpd ) !virtual/tftp" PROVIDE="virtual/tftp" src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-gcc.patch + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc.patch } src_compile() { @@ -30,6 +31,6 @@ src_compile() { src_install() { make install DESTDIR="${D}" || die "Installation failed" - newinitd ${FILESDIR}/atftp.init atftp - newconfd ${FILESDIR}/atftp.confd atftp + newinitd "${FILESDIR}"/atftp.init atftp + newconfd "${FILESDIR}"/atftp.confd atftp } |