diff options
Diffstat (limited to 'net-ftp/ftp/ftp-0.17-r5.ebuild')
-rw-r--r-- | net-ftp/ftp/ftp-0.17-r5.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/net-ftp/ftp/ftp-0.17-r5.ebuild b/net-ftp/ftp/ftp-0.17-r5.ebuild new file mode 100644 index 000000000000..a448e375b9f3 --- /dev/null +++ b/net-ftp/ftp/ftp-0.17-r5.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftp/ftp-0.17-r5.ebuild,v 1.1 2005/07/30 06:20:56 vapier Exp $ + +inherit eutils toolchain-funcs + +MY_P=netkit-${P} +S=${WORKDIR}/${MY_P} +DESCRIPTION="Standard Linux FTP client" +HOMEPAGE="http://www.hcs.harvard.edu/~dholland/computers/netkit.html" +SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${MY_P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="ssl ipv6" + +RDEPEND=">=sys-libs/ncurses-5.2 + ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${MY_P}-ssl-0.2.patch + epatch ${FILESDIR}/${MY_P}-ipv6.patch #47507 + epatch ${FILESDIR}/${MY_P}-acct.patch #fedora + epatch ${FILESDIR}/${MY_P}-locale.patch #fedora + epatch ${FILESDIR}/${MY_P}-runique_mget.patch #fedora + epatch ${FILESDIR}/${MY_P}-security.patch #fedora + epatch ${FILESDIR}/${MY_P}-custom-cflags.patch +} + +src_compile() { + ./configure \ + --prefix=/usr \ + $(use_enable ssl) \ + $(use_enable ipv6) \ + ${EXTRA_ECONF} \ + || die "configure failed" + emake CC="$(tc-getCC)" || die "make failed" +} + +src_install() { + dobin ftp/ftp || die + doman ftp/ftp.1 ftp/netrc.5 + dodoc ChangeLog README BUGS +} |