summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Goodyear <g2boojum@gentoo.org>2003-09-04 21:58:38 +0000
committerGrant Goodyear <g2boojum@gentoo.org>2003-09-04 21:58:38 +0000
commit0090ad94ee02924473bec4fdfa5f010079a9e938 (patch)
tree6aa84cdf29b2cd2bfe96c3c157c59bb403afa464 /net-ftp/tnftp
parentNew package to replace lukemftp (diff)
downloadgentoo-2-0090ad94ee02924473bec4fdfa5f010079a9e938.tar.gz
gentoo-2-0090ad94ee02924473bec4fdfa5f010079a9e938.tar.bz2
gentoo-2-0090ad94ee02924473bec4fdfa5f010079a9e938.zip
New package to replace lukemftp
Diffstat (limited to 'net-ftp/tnftp')
-rw-r--r--net-ftp/tnftp/ChangeLog9
-rw-r--r--net-ftp/tnftp/Manifest5
-rw-r--r--net-ftp/tnftp/files/digest-tnftp-200308251
-rw-r--r--net-ftp/tnftp/metadata.xml5
-rw-r--r--net-ftp/tnftp/tnftp-20030825.ebuild52
5 files changed, 70 insertions, 2 deletions
diff --git a/net-ftp/tnftp/ChangeLog b/net-ftp/tnftp/ChangeLog
new file mode 100644
index 000000000000..1441119cea8c
--- /dev/null
+++ b/net-ftp/tnftp/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for net-ftp/tnftp
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/tnftp/ChangeLog,v 1.1 2003/09/04 21:58:35 g2boojum Exp $
+
+*tnftp-20030825 (04 Sep 2003)
+
+ 04 Sep 2003; Grant Goodyear <g2boojum@gentoo.org> tnftp-20030825.ebuild:
+ New package (renamed lukemftp).
+
diff --git a/net-ftp/tnftp/Manifest b/net-ftp/tnftp/Manifest
index 046e820f8f43..b74782df6661 100644
--- a/net-ftp/tnftp/Manifest
+++ b/net-ftp/tnftp/Manifest
@@ -1,3 +1,4 @@
-MD5 c7c9e3f69da0cd5b8831073940ed5896 tnftp-20030825.ebuild 1600
-MD5 8c0a3b55cce63fa2765ef8e628e73653 .tnftp-20030825.ebuild.swp 12288
+MD5 1779b1a9e751f05ad36700ea6108cb71 tnftp-20030825.ebuild 1481
+MD5 e96079287943c81562d85f35f91684b7 ChangeLog 351
+MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160
MD5 4ee30a080db3ba7e966759ff580b6ca1 files/digest-tnftp-20030825 66
diff --git a/net-ftp/tnftp/files/digest-tnftp-20030825 b/net-ftp/tnftp/files/digest-tnftp-20030825
new file mode 100644
index 000000000000..4e9f8a4e0665
--- /dev/null
+++ b/net-ftp/tnftp/files/digest-tnftp-20030825
@@ -0,0 +1 @@
+MD5 9b633ae6cacc01dbdadc6b9e3f180b4f tnftp-20030825.tar.gz 277885
diff --git a/net-ftp/tnftp/metadata.xml b/net-ftp/tnftp/metadata.xml
new file mode 100644
index 000000000000..20ce219711a2
--- /dev/null
+++ b/net-ftp/tnftp/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+</pkgmetadata>
diff --git a/net-ftp/tnftp/tnftp-20030825.ebuild b/net-ftp/tnftp/tnftp-20030825.ebuild
new file mode 100644
index 000000000000..47368536cf34
--- /dev/null
+++ b/net-ftp/tnftp/tnftp-20030825.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/tnftp/tnftp-20030825.ebuild,v 1.1 2003/09/04 21:58:35 g2boojum Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="NetBSD FTP client with several advanced features"
+SRC_URI="ftp://ftp.netbsd.org/pub/NetBSD/misc/${PN}/${P}.tar.gz"
+HOMEPAGE="ftp://ftp.netbsd.org/pub/NetBSD/misc/${PN}/"
+DEPEND="virtual/glibc >=sys-libs/ncurses-5.1"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~x86 ~sparc ~ppc ~alpha"
+IUSE="ipv6"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # Adds a command line option: -s, which produces clean, informative output.
+ # Shows progess status, ETA, transfer speed, no server responses or login messages.
+ # ~woodchip
+ cp src/main.c src/main.orig
+ sed -e "s/46AadefginN:o:pP:q:r:RtT:u:vV/46AadefginN:o:pP:r:RstT:u:vV/" \
+ -e "s/case 't'/case 's':\n\t\t\tverbose = 0;\n\t\t\tprogress = 1;\n\t\t\tbreak;\n\n\t\t&/" \
+ src/main.orig > src/main.c
+}
+
+src_compile() {
+ local myconf
+ use ipv6 || myconf="${myconf} --disable-ipv6"
+ ./configure \
+ --prefix=/usr \
+ --enable-editcomplete \
+ --host=${CHOST} ${myconf} || die "bad ./configure"
+ emake || die "compile problem"
+}
+
+src_install() {
+ dodoc COPYING ChangeLog README* THANKS NEWS
+ newbin src/ftp tnftp
+ newman src/ftp.1 tnftp.1
+ if [ ! -e /usr/bin/ftp ]
+ then
+ cd ${D}/usr/bin
+ ln -s tnftp ftp
+ fi
+ if [ ! -e /usr/bin/lukemftp ]
+ then
+ cd ${D}/usr/bin
+ ln -s tnftp lukemftp
+ fi
+}