summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2005-11-26 20:12:55 +0000
committerFabian Groffen <grobian@gentoo.org>2005-11-26 20:12:55 +0000
commitf35e5b32799896c4bc4c8f7acf3af23a9ee6b700 (patch)
treef2f5f62114711a9cadb74762562f211494803ee7 /net-ftp
parentAdded support for specifying options to the java binary in ~/.Azureus/gentoo.... (diff)
downloadgentoo-2-f35e5b32799896c4bc4c8f7acf3af23a9ee6b700.tar.gz
gentoo-2-f35e5b32799896c4bc4c8f7acf3af23a9ee6b700.tar.bz2
gentoo-2-f35e5b32799896c4bc4c8f7acf3af23a9ee6b700.zip
Added -r1 with ppc-macos patch. Added ~ppc-macos (bug #109142)
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/tnftp/ChangeLog10
-rw-r--r--net-ftp/tnftp/Manifest17
-rw-r--r--net-ftp/tnftp/files/digest-tnftp-20050625-r11
-rw-r--r--net-ftp/tnftp/files/tnftp-20050625-macos.patch58
-rw-r--r--net-ftp/tnftp/tnftp-20050625-r1.ebuild47
5 files changed, 120 insertions, 13 deletions
diff --git a/net-ftp/tnftp/ChangeLog b/net-ftp/tnftp/ChangeLog
index b4898204cd55..93f8b1c4cbd7 100644
--- a/net-ftp/tnftp/ChangeLog
+++ b/net-ftp/tnftp/ChangeLog
@@ -1,6 +1,14 @@
# 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.16 2005/09/25 13:22:48 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/tnftp/ChangeLog,v 1.17 2005/11/26 20:12:55 grobian Exp $
+
+*tnftp-20050625-r1 (26 Nov 2005)
+
+ 26 Nov 2005; Fabian Groffen <grobian@gentoo.org>
+ +files/tnftp-20050625-macos.patch, +tnftp-20050625-r1.ebuild:
+ Added -r1 which patches configure.in (and requires eautoreconf) to make it
+ compile on ppc-macos. Added ~ppc-macos (bug #109142). Patch supplied by
+ emanuele.giaquinta%40gmail.com
25 Sep 2005; Sven Wegener <swegener@gentoo.org> -tnftp-20050103.ebuild,
-tnftp-20050610.ebuild:
diff --git a/net-ftp/tnftp/Manifest b/net-ftp/tnftp/Manifest
index 68b0bebf95d0..f3011f7ce40e 100644
--- a/net-ftp/tnftp/Manifest
+++ b/net-ftp/tnftp/Manifest
@@ -1,14 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 68284da955c0bdee129f87fd8d4b50b7 tnftp-20050625-r1.ebuild 1146
+MD5 ebe8995ccc09a6e868514b1321400116 tnftp-20050625.ebuild 1012
MD5 ddaeba3603f3df1236af97303ffafd4d ChangeLog 1992
-MD5 204495ee0ac464ba5ccdb31491961e8b files/digest-tnftp-20050625 66
MD5 1f7353efef0082c74884b4a97c1191ba metadata.xml 298
-MD5 ebe8995ccc09a6e868514b1321400116 tnftp-20050625.ebuild 1012
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDNqTAI1lqEGTUzyQRAo75AKDGy+HeZ2WPtZ1DG5lU0G3vXmdvqQCffPxW
-HwEJICHAdjQ6FzBk8I8sH2A=
-=0+wc
------END PGP SIGNATURE-----
+MD5 204495ee0ac464ba5ccdb31491961e8b files/digest-tnftp-20050625-r1 66
+MD5 0064b3f4150a285bf297bc4aeb80e47c files/tnftp-20050625-macos.patch 1534
+MD5 204495ee0ac464ba5ccdb31491961e8b files/digest-tnftp-20050625 66
diff --git a/net-ftp/tnftp/files/digest-tnftp-20050625-r1 b/net-ftp/tnftp/files/digest-tnftp-20050625-r1
new file mode 100644
index 000000000000..39d902cedcf2
--- /dev/null
+++ b/net-ftp/tnftp/files/digest-tnftp-20050625-r1
@@ -0,0 +1 @@
+MD5 bab3c6ccc342d3156cdcd92746ab924d tnftp-20050625.tar.gz 313915
diff --git a/net-ftp/tnftp/files/tnftp-20050625-macos.patch b/net-ftp/tnftp/files/tnftp-20050625-macos.patch
new file mode 100644
index 000000000000..f02432dd8640
--- /dev/null
+++ b/net-ftp/tnftp/files/tnftp-20050625-macos.patch
@@ -0,0 +1,58 @@
+--- tnftp-20050625/configure.in.orig 2005-11-26 20:54:03.000000000 +0100
++++ tnftp-20050625/configure.in 2005-11-26 20:54:35.000000000 +0100
+@@ -199,7 +199,7 @@
+
+ dnl Always replace glob(3); the vendor's may not be secure.
+ dnl
+-LIBOBJS="$LIBOBJS glob.o"
++AC_LIBOBJ([glob])
+
+ if test $ac_cv_func_strptime = yes; then
+ AC_MSG_TRY_COMPILE([for strptime() declaration],
+@@ -323,7 +323,7 @@
+ #include <stringlist.h>
+ ], [
+ int f = sl_add((StringList *)0, "foo")
+- ], [ : ], [LIBOBJS="$LIBOBJS sl_init.o"])
++ ], [ : ], [AC_LIBOBJ([sl_init])])
+ fi
+
+
+@@ -342,7 +342,7 @@
+ AC_MSG_RESULT(yes)
+ else
+ if test $ac_cv_func_getaddrinfo = yes; then
+- LIBOBJS="$LIBOBJS getaddrinfo.o"
++ AC_LIBOBJ([getaddrinfo])
+ AC_MSG_RESULT([no - using local version])
+ else
+ AC_MSG_RESULT([using local version])
+@@ -359,12 +359,22 @@
+ fi
+
+
+-if test -n "$LIBOBJS"; then
+- INCLUDES="$INCLUDES -I\${srcdir}/../libnetbsd"
+- LDFLAGS="$LDFLAGS -L../libnetbsd"
+- LIBS="$LIBS -lnetbsd"
+- LIBNETBSD=libnetbsd.a
+- LIBDEPENDS="$LIBDEPENDS ../libnetbsd/libnetbsd.a"
++INCLUDES="$INCLUDES -I\${srcdir}/../libnetbsd"
++LDFLAGS="$LDFLAGS -L../libnetbsd"
++LIBS="$LIBS -lnetbsd"
++LIBNETBSD=libnetbsd.a
++LIBDEPENDS="$LIBDEPENDS ../libnetbsd/libnetbsd.a"
++
++AC_MSG_CHECKING([for apple's gcc])
++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
++#ifndef __APPLE__
++make an error
++#endif]])],
++ [ac_cv_apple_gcc=yes],
++ [ac_cv_apple_gcc=no])
++
++if test $ac_cv_apple_gcc = yes; then
++ LDFLAGS="$LDFLAGS -Xlinker -search_paths_first"
+ fi
+
+ dnl Create the Makefiles
diff --git a/net-ftp/tnftp/tnftp-20050625-r1.ebuild b/net-ftp/tnftp/tnftp-20050625-r1.ebuild
new file mode 100644
index 000000000000..a17bbcd2cac2
--- /dev/null
+++ b/net-ftp/tnftp/tnftp-20050625-r1.ebuild
@@ -0,0 +1,47 @@
+# 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-20050625-r1.ebuild,v 1.1 2005/11/26 20:12:55 grobian Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="NetBSD FTP client with several advanced features"
+SRC_URI="ftp://ftp.netbsd.org/pub/NetBSD/misc/${PN}/${P}.tar.gz
+ ftp://ftp.netbsd.org/pub/NetBSD/misc/${PN}/old/${P}.tar.gz"
+HOMEPAGE="ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc-macos ~sparc ~x86"
+IUSE="ipv6"
+
+DEPEND=">=sys-libs/ncurses-5.1"
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}/${P}"-macos.patch
+ cd "${S}"
+ eautoreconf
+}
+
+src_compile() {
+ econf \
+ --enable-editcomplete \
+ $(use_enable ipv6) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ 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"
+}