diff options
Diffstat (limited to 'packages/nonworking/lftp')
-rw-r--r-- | packages/nonworking/lftp/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/nonworking/lftp/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/nonworking/lftp/files/pty.patch | 31 | ||||
-rw-r--r-- | packages/nonworking/lftp/lftp_3.2.0.bb | 14 |
4 files changed, 45 insertions, 0 deletions
diff --git a/packages/nonworking/lftp/.mtn2git_empty b/packages/nonworking/lftp/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/nonworking/lftp/.mtn2git_empty diff --git a/packages/nonworking/lftp/files/.mtn2git_empty b/packages/nonworking/lftp/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/nonworking/lftp/files/.mtn2git_empty 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 |