summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2005-03-21 14:14:45 +0000
committerSven Wegener <swegener@gentoo.org>2005-03-21 14:14:45 +0000
commit595c0a7a747dc573ecddac28fcc75c5fea7a4514 (patch)
treedf15a4b9f0f38977542e937cc5bd6d037f61b1c9 /net-ftp
parentadded myself as maintainer (diff)
downloadhistorical-595c0a7a747dc573ecddac28fcc75c5fea7a4514.tar.gz
historical-595c0a7a747dc573ecddac28fcc75c5fea7a4514.tar.bz2
historical-595c0a7a747dc573ecddac28fcc75c5fea7a4514.zip
Added ${ROOT} support. Taking over maintainership.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/tnftp/ChangeLog6
-rw-r--r--net-ftp/tnftp/Manifest14
-rw-r--r--net-ftp/tnftp/metadata.xml5
-rw-r--r--net-ftp/tnftp/tnftp-20050103.ebuild52
4 files changed, 44 insertions, 33 deletions
diff --git a/net-ftp/tnftp/ChangeLog b/net-ftp/tnftp/ChangeLog
index 428c6f49bf23..00f646083eb9 100644
--- a/net-ftp/tnftp/ChangeLog
+++ b/net-ftp/tnftp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-ftp/tnftp
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/tnftp/ChangeLog,v 1.10 2005/01/11 18:29:26 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/tnftp/ChangeLog,v 1.11 2005/03/21 14:14:45 swegener Exp $
+
+ 21 Mar 2005; Sven Wegener <swegener@gentoo.org> metadata.xml,
+ tnftp-20050103.ebuild:
+ Added ${ROOT} support. Taking over maintainership.
11 Jan 2005; Bryan Østergaard <kloeri@gentoo.org> tnftp-20050103.ebuild:
Stable on alpha, bug 74704.
diff --git a/net-ftp/tnftp/Manifest b/net-ftp/tnftp/Manifest
index 01e6e1c0c4a0..b8e4b3b97de0 100644
--- a/net-ftp/tnftp/Manifest
+++ b/net-ftp/tnftp/Manifest
@@ -1,14 +1,14 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 9cae1c4d0d6ca6ad1495ada3e81a32f0 tnftp-20050103.ebuild 1489
-MD5 d2b6a4d2c5697e4fc5f377f5ff2b07c4 ChangeLog 1277
-MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160
+MD5 af5323fec80d49b86e29374307d2dd32 tnftp-20050103.ebuild 1439
+MD5 2abc4d8b1843dc1a6a46293fc8945388 ChangeLog 1422
+MD5 1f7353efef0082c74884b4a97c1191ba metadata.xml 298
MD5 88f9ed44d5f60c45fbd236eb508e145a files/digest-tnftp-20050103 66
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
+Version: GnuPG v1.4.1 (GNU/Linux)
-iD4DBQFB5BsUugEuf3OQ0akRAt6gAJitKByBM5xdcLilayqv7l9lqtt2AJ98Nxp8
-fro2tt6rB7UWaC8MRG6xlg==
-=QQTg
+iD8DBQFCPtbdI1lqEGTUzyQRAp6XAJ98OKbBl4dfLvd1c0H7qsUnUazekwCcCXqr
+4xi42ibrqeBzvmmSGdCX4Sc=
+=mUNZ
-----END PGP SIGNATURE-----
diff --git a/net-ftp/tnftp/metadata.xml b/net-ftp/tnftp/metadata.xml
index 20ce219711a2..287a13679b72 100644
--- a/net-ftp/tnftp/metadata.xml
+++ b/net-ftp/tnftp/metadata.xml
@@ -2,4 +2,9 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
+<maintainer>
+ <email>swegener@gentoo.org</email>
+ <name>Sven Wegenery</name>
+ <description>Primary Maintainer</description>
+</maintainer>
</pkgmetadata>
diff --git a/net-ftp/tnftp/tnftp-20050103.ebuild b/net-ftp/tnftp/tnftp-20050103.ebuild
index 998470512460..e8273b935157 100644
--- a/net-ftp/tnftp/tnftp-20050103.ebuild
+++ b/net-ftp/tnftp/tnftp-20050103.ebuild
@@ -1,51 +1,53 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/tnftp/tnftp-20050103.ebuild,v 1.3 2005/01/11 18:29:26 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/tnftp/tnftp-20050103.ebuild,v 1.4 2005/03/21 14:14:45 swegener Exp $
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/tnftp/"
-DEPEND="virtual/libc >=sys-libs/ncurses-5.1"
SLOT="0"
LICENSE="as-is"
KEYWORDS="x86 sparc ~ppc alpha ~amd64"
IUSE="ipv6"
+RDEPEND="virtual/libc
+ >=sys-libs/ncurses-5.1"
+
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
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/" \
+ sed -i \
+ -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 || die "sed failed in src_unpack"
+ ${S}/src/main.c || die "sed failed in src_unpack"
}
src_compile() {
- local myconf
- use ipv6 || myconf="${myconf} --disable-ipv6"
- ./configure \
- --prefix=/usr \
+ econf \
--enable-editcomplete \
- --host=${CHOST} ${myconf} || die "bad ./configure"
- emake || die "compile problem"
+ $(use_enable ipv6) \
+ || die "econf failed"
+ emake || die "emake failed"
}
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
+ newbin src/ftp tnftp || die "newbin failed"
+ newman src/ftp.1 tnftp.1 || die "newman failed"
+
+ for x in ftp lukemftp
+ do
+ if [ ! -e ${ROOT}/usr/bin/${X} ]
+ then
+ dosym tnftp /usr/bin/${x} || die "dosym failed"
+ fi
+ done
+
+ dodoc COPYING ChangeLog README THANKS || die "dodoc failed"
}