summaryrefslogtreecommitdiff
path: root/packages/lftp
diff options
context:
space:
mode:
Diffstat (limited to 'packages/lftp')
-rw-r--r--packages/lftp/.mtn2git_empty0
-rw-r--r--packages/lftp/lftp-3.0.1/.mtn2git_empty0
-rw-r--r--packages/lftp/lftp-3.0.1/pty.patch31
-rw-r--r--packages/lftp/lftp-3.0.1/readline.patch24
-rw-r--r--packages/lftp/lftp-3.0.11/.mtn2git_empty0
-rw-r--r--packages/lftp/lftp-3.0.11/pty.patch31
-rw-r--r--packages/lftp/lftp-3.0.11/readline.patch24
-rw-r--r--packages/lftp/lftp_3.0.1.bb15
8 files changed, 125 insertions, 0 deletions
diff --git a/packages/lftp/.mtn2git_empty b/packages/lftp/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/lftp/.mtn2git_empty
diff --git a/packages/lftp/lftp-3.0.1/.mtn2git_empty b/packages/lftp/lftp-3.0.1/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/lftp/lftp-3.0.1/.mtn2git_empty
diff --git a/packages/lftp/lftp-3.0.1/pty.patch b/packages/lftp/lftp-3.0.1/pty.patch
index e69de29bb2..166b665f3f 100644
--- a/packages/lftp/lftp-3.0.1/pty.patch
+++ b/packages/lftp/lftp-3.0.1/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/lftp/lftp-3.0.1/readline.patch b/packages/lftp/lftp-3.0.1/readline.patch
index e69de29bb2..eb90e21539 100644
--- a/packages/lftp/lftp-3.0.1/readline.patch
+++ b/packages/lftp/lftp-3.0.1/readline.patch
@@ -0,0 +1,24 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- lftp-3.0.1/configure.ac~readline.patch 2004-04-06 10:27:36.000000000 +0200
++++ lftp-3.0.1/configure.ac 2004-04-06 23:39:01.000000000 +0200
+@@ -380,5 +378,5 @@
+ sysconfdir=/etc
+ fi
+
+-AC_CONFIG_FILES([Makefile src/Makefile lib/Makefile include/Makefile doc/Makefile readline-4.3/Makefile po/Makefile.in m4/Makefile contrib/Makefile])
++AC_CONFIG_FILES([Makefile src/Makefile lib/Makefile include/Makefile doc/Makefile po/Makefile.in m4/Makefile contrib/Makefile])
+ AC_OUTPUT
+--- lftp-3.0.1/Makefile.am~readline.patch 2003-12-19 15:16:31.000000000 +0100
++++ lftp-3.0.1/Makefile.am 2004-04-06 23:40:17.000000000 +0200
+@@ -1,6 +1,6 @@
+ EXTRA_DIST = config.rpath lftp.conf lftp.lsm FAQ acconfig.h README README.debug-levels\
+ README.modules MIRRORS BUGS FEATURES
+-SUBDIRS = include readline-4.3 lib doc src po m4 contrib
++SUBDIRS = include lib doc src po m4 contrib
+ AUTOMAKE_OPTIONS = foreign
+ ACLOCAL_AMFLAGS = -I m4
+
diff --git a/packages/lftp/lftp-3.0.11/.mtn2git_empty b/packages/lftp/lftp-3.0.11/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/lftp/lftp-3.0.11/.mtn2git_empty
diff --git a/packages/lftp/lftp-3.0.11/pty.patch b/packages/lftp/lftp-3.0.11/pty.patch
index e69de29bb2..166b665f3f 100644
--- a/packages/lftp/lftp-3.0.11/pty.patch
+++ b/packages/lftp/lftp-3.0.11/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/lftp/lftp-3.0.11/readline.patch b/packages/lftp/lftp-3.0.11/readline.patch
index e69de29bb2..eb90e21539 100644
--- a/packages/lftp/lftp-3.0.11/readline.patch
+++ b/packages/lftp/lftp-3.0.11/readline.patch
@@ -0,0 +1,24 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- lftp-3.0.1/configure.ac~readline.patch 2004-04-06 10:27:36.000000000 +0200
++++ lftp-3.0.1/configure.ac 2004-04-06 23:39:01.000000000 +0200
+@@ -380,5 +378,5 @@
+ sysconfdir=/etc
+ fi
+
+-AC_CONFIG_FILES([Makefile src/Makefile lib/Makefile include/Makefile doc/Makefile readline-4.3/Makefile po/Makefile.in m4/Makefile contrib/Makefile])
++AC_CONFIG_FILES([Makefile src/Makefile lib/Makefile include/Makefile doc/Makefile po/Makefile.in m4/Makefile contrib/Makefile])
+ AC_OUTPUT
+--- lftp-3.0.1/Makefile.am~readline.patch 2003-12-19 15:16:31.000000000 +0100
++++ lftp-3.0.1/Makefile.am 2004-04-06 23:40:17.000000000 +0200
+@@ -1,6 +1,6 @@
+ EXTRA_DIST = config.rpath lftp.conf lftp.lsm FAQ acconfig.h README README.debug-levels\
+ README.modules MIRRORS BUGS FEATURES
+-SUBDIRS = include readline-4.3 lib doc src po m4 contrib
++SUBDIRS = include lib doc src po m4 contrib
+ AUTOMAKE_OPTIONS = foreign
+ ACLOCAL_AMFLAGS = -I m4
+
diff --git a/packages/lftp/lftp_3.0.1.bb b/packages/lftp/lftp_3.0.1.bb
index e69de29bb2..d15b119046 100644
--- a/packages/lftp/lftp_3.0.1.bb
+++ b/packages/lftp/lftp_3.0.1.bb
@@ -0,0 +1,15 @@
+LICENSE = GPL
+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"
+PR = "r1"
+
+SRC_URI = "http://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/old/lftp-${PV}.tar.bz2 \
+ file://pty.patch;patch=1"
+
+EXTRA_OECONF = "--disable-largefile --disable-rpath --with-included-readline=no"
+
+inherit autotools gettext