diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2011-07-04 06:23:17 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2011-07-04 06:23:17 +0000 |
commit | 8cd56176a87970646d7e3945ae919e1d8aa38ab2 (patch) | |
tree | c1db18672d294438242f28c9a73bf11560426f90 /net-ftp | |
parent | Initial import. Dependency of forthcoming new package. (diff) | |
download | gentoo-2-8cd56176a87970646d7e3945ae919e1d8aa38ab2.tar.gz gentoo-2-8cd56176a87970646d7e3945ae919e1d8aa38ab2.tar.bz2 gentoo-2-8cd56176a87970646d7e3945ae919e1d8aa38ab2.zip |
Version bump for security bug #374001.
(Portage version: 2.2.0_alpha43/cvs/Linux x86_64)
Diffstat (limited to 'net-ftp')
-rw-r--r-- | net-ftp/tftp-hpa/ChangeLog | 7 | ||||
-rw-r--r-- | net-ftp/tftp-hpa/tftp-hpa-5.1.ebuild | 41 |
2 files changed, 47 insertions, 1 deletions
diff --git a/net-ftp/tftp-hpa/ChangeLog b/net-ftp/tftp-hpa/ChangeLog index 1db9b0797d03..cdf8e872a94b 100644 --- a/net-ftp/tftp-hpa/ChangeLog +++ b/net-ftp/tftp-hpa/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-ftp/tftp-hpa # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/ChangeLog,v 1.48 2011/04/06 05:29:17 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/ChangeLog,v 1.49 2011/07/04 06:23:17 robbat2 Exp $ + +*tftp-hpa-5.1 (04 Jul 2011) + + 04 Jul 2011; Robin H. Johnson <robbat2@gentoo.org> +tftp-hpa-5.1.ebuild: + Version bump for security bug #374001. 06 Apr 2011; Ulrich Mueller <ulm@gentoo.org> tftp-hpa-0.49-r1.ebuild, tftp-hpa-5.0.ebuild: diff --git a/net-ftp/tftp-hpa/tftp-hpa-5.1.ebuild b/net-ftp/tftp-hpa/tftp-hpa-5.1.ebuild new file mode 100644 index 000000000000..491200632281 --- /dev/null +++ b/net-ftp/tftp-hpa/tftp-hpa-5.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2011 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.1.ebuild,v 1.1 2011/07/04 06:23:17 robbat2 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" + +RDEPEND="selinux? ( sec-policy/selinux-tftpd ) + !net-ftp/atftp + !net-ftp/netkit-tftp" +DEPEND="${RDEPEND} + readline? ( sys-libs/readline ) + tcpd? ( sys-apps/tcp-wrappers )" + +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 + insinto /etc/xinetd.d + newins "${FILESDIR}"/tftp.xinetd tftp +} |