#
# Copyright (C) 2008-2010 OpenWrt.org
#
-
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=lftp
-PKG_VERSION:=4.0.5
-PKG_RELEASE:=2
+PKG_VERSION:=4.0.7
+PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://lftp.cybermirror.org \
http://lftp.cybermirror.org/old
-PKG_MD5SUM:=5400cad5f91e131ac2ded7c24aea594c
+PKG_MD5SUM:=a40e4518fc477c82ffcc5b04d9ff64ff
PKG_INSTALL:=1
define Package/lftp/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_DIR) $(1)/usr/lib
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lftp $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lftp $(1)/usr/bin/
endef
define Package/lftp/postinst
--- a/lib/gettext.h
+++ b/lib/gettext.h
-@@ -22,7 +22,6 @@
+@@ -23,7 +23,6 @@
#if ENABLE_NLS
/* Get declarations of GNU message catalog functions. */
/* You can set the DEFAULT_TEXT_DOMAIN macro to specify the domain used by
the gettext() and ngettext() macros. This is an alternative to calling
-@@ -54,7 +53,6 @@
+@@ -55,7 +54,6 @@
#if defined(__cplusplus) && defined(__GNUG__) && (__GNUC__ >= 3)
# include <cstdlib>
# if (__GLIBC__ >= 2) || _GLIBCXX_HAVE_LIBINTL_H