From c8e5702127e507e82e6f68a4b8c546803accea9d Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 30 Jun 2005 08:19:37 +0000 Subject: import clean BK tree at cset 1.3670 --- packages/nonworking/lftp/.mtn2git_empty | 0 packages/nonworking/lftp/files/.mtn2git_empty | 0 packages/nonworking/lftp/files/pty.patch | 31 +++++++++++++++++++++++++++ packages/nonworking/lftp/lftp_3.2.0.bb | 14 ++++++++++++ 4 files changed, 45 insertions(+) create mode 100644 packages/nonworking/lftp/.mtn2git_empty create mode 100644 packages/nonworking/lftp/files/.mtn2git_empty (limited to 'packages/nonworking/lftp') diff --git a/packages/nonworking/lftp/.mtn2git_empty b/packages/nonworking/lftp/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/nonworking/lftp/files/.mtn2git_empty b/packages/nonworking/lftp/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/nonworking/lftp/files/pty.patch b/packages/nonworking/lftp/files/pty.patch index e69de29bb2..166b665f3f 100644 --- a/packages/nonworking/lftp/files/pty.patch +++ b/packages/nonworking/lftp/files/pty.patch @@ -0,0 +1,31 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- lftp-2.6.11/m4/pty.m4~pty ++++ lftp-2.6.11/m4/pty.m4 +@@ -4,14 +4,20 @@ + *-*-sco3.2v4*) no_dev_ptmx=1;; + *-*-sco3.2v5*) no_dev_ptmx=1;; + esac ++AC_SEARCH_LIBS(openpty,util, ++ [ ++ AC_DEFINE(HAVE_OPENPTY,1,[define if you have openpty function]) ++ no_dev_ptc=yes ++ no_dev_ptmx=yes ++ ]) ++AC_CHECK_FUNCS([_getpty]) + if test -z "$no_dev_ptmx" ; then + AC_CHECK_FILE("/dev/ptmx", [ + AC_DEFINE(HAVE_DEV_PTMX,1,[define if you have /dev/ptmx device])]) + fi ++if test -z "$no_dev_ptc" ; then + AC_CHECK_FILE("/dev/ptc", [ + AC_DEFINE(HAVE_DEV_PTS_AND_PTC,1,[define if you have /dev/ptc device])]) ++fi + AC_CHECK_HEADERS([util.h sys/stropts.h pty.h]) +-AC_SEARCH_LIBS(openpty,util, +- [AC_DEFINE(HAVE_OPENPTY,1,[define if you have openpty function])]) +-AC_CHECK_FUNCS([_getpty]) + ]) diff --git a/packages/nonworking/lftp/lftp_3.2.0.bb b/packages/nonworking/lftp/lftp_3.2.0.bb index e69de29bb2..bae2cf9a9d 100644 --- a/packages/nonworking/lftp/lftp_3.2.0.bb +++ b/packages/nonworking/lftp/lftp_3.2.0.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "lftp is a sophisticated command line based file \ +transfer program. Supported protocols include FTP, HTTP, and FISH." +HOMEPAGE = "http://lftp.yar.ru" +SECTION = "console/network" +DEPENDS = "readline" +LICENSE = "GPL" +PR = "r0" + +SRC_URI = "http://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/lftp-${PV}.tar.bz2 \ + file://pty.patch;patch=1" + +EXTRA_OECONF = "--disable-largefile --disable-rpath --with-included-readline=no" + +inherit autotools gettext -- cgit v1.2.3