diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-03-29 02:33:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-03-29 02:33:27 +0000 |
commit | 65b40470703f5318560c493ba83e0c61294d3490 (patch) | |
tree | c2e6dfb27c6968b922b4349f2c6ad5fbf695623d /net-ftp/netkit-tftp | |
parent | old (diff) | |
download | gentoo-2-65b40470703f5318560c493ba83e0c61294d3490.tar.gz gentoo-2-65b40470703f5318560c493ba83e0c61294d3490.tar.bz2 gentoo-2-65b40470703f5318560c493ba83e0c61294d3490.zip |
Fixup manpage install and cleanup ebuild.
(Portage version: 2.2_pre5, RepoMan options: --force)
Diffstat (limited to 'net-ftp/netkit-tftp')
-rw-r--r-- | net-ftp/netkit-tftp/ChangeLog | 10 | ||||
-rw-r--r-- | net-ftp/netkit-tftp/netkit-tftp-0.17-r6.ebuild | 56 |
2 files changed, 64 insertions, 2 deletions
diff --git a/net-ftp/netkit-tftp/ChangeLog b/net-ftp/netkit-tftp/ChangeLog index a9da78907555..99e9d844ded4 100644 --- a/net-ftp/netkit-tftp/ChangeLog +++ b/net-ftp/netkit-tftp/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-ftp/netkit-tftp -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/netkit-tftp/ChangeLog,v 1.13 2008/03/23 22:51:54 ranger Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-ftp/netkit-tftp/ChangeLog,v 1.14 2008/03/29 02:33:27 vapier Exp $ + +*netkit-tftp-0.17-r6 (29 Mar 2008) + + 29 Mar 2008; Mike Frysinger <vapier@gentoo.org> + +netkit-tftp-0.17-r6.ebuild: + Fixup manpage install and cleanup ebuild. 23 Mar 2008; Brent Baude <ranger@gentoo.org> netkit-tftp-0.17-r5.ebuild: stable ppc, bug 214049 diff --git a/net-ftp/netkit-tftp/netkit-tftp-0.17-r6.ebuild b/net-ftp/netkit-tftp/netkit-tftp-0.17-r6.ebuild new file mode 100644 index 000000000000..c99504a1374f --- /dev/null +++ b/net-ftp/netkit-tftp/netkit-tftp-0.17-r6.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-ftp/netkit-tftp/netkit-tftp-0.17-r6.ebuild,v 1.1 2008/03/29 02:33:27 vapier Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="the tftp server included in netkit" +HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/" +SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-tftp-0.17.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~mips ppc ppc64 sparc x86" +IUSE="" + +DEPEND="!virtual/tftp + virtual/inetd" +PROVIDE="virtual/tftp" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Change default man directory + sed -i \ + -e 's:MANDIR="$PREFIX/man":MANDIR="$PREFIX/share/man":' \ + -e 's:^LDFLAGS=::' \ + configure + + # don't prestrip binaries + find . -name Makefile -print0 | xargs -0 sed -i -e 's:install -s:install:' + + # Solve QA warning by including string.h + epatch "${FILESDIR}"/memset.patch + epatch "${FILESDIR}"/${P}-tftp-connect-segfault.patch + epatch "${FILESDIR}"/${P}-tftp-manpage-typo.patch + epatch "${FILESDIR}"/${P}-tftp-fix-put-zero-size.diff +} + +src_compile() { + ./configure \ + --prefix=/usr \ + --installroot="${D}" \ + --with-c-compiler="$(tc-getCC)" \ + || die + emake || die +} + +src_install() { + dodir /usr/bin /usr/sbin /usr/share/man/man{1,8} + emake install || die + rm -f "${D}"/usr/share/man/man8/tftpd.8 + insinto /etc/xinetd.d + doins "${FILESDIR}"/{tftp-dgram,tftp-stream} + dodoc BUGS ChangeLog README +} |