Changeset 18970


Ignore:
Timestamp:
2009-12-29T23:45:42+01:00 (8 years ago)
Author:
florian
Message:

[package] update lftp to 4.0.5 (#6383)

Location:
packages/net/lftp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • packages/net/lftp/Makefile

    r18507 r18970  
    1 #  
     1# 
    22# Copyright (C) 2008-2009 OpenWrt.org 
    33# 
     
    1010 
    1111PKG_NAME:=lftp 
    12 PKG_VERSION:=4.0.3 
     12PKG_VERSION:=4.0.5 
    1313PKG_RELEASE:=1 
    1414 
    1515PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    16 PKG_SOURCE_URL:=http://lftp.cybermirror.org/old/ 
    17 PKG_MD5SUM:=24f4b25718fef09cbc4d26ea73bd1578 
     16PKG_SOURCE_URL:=http://lftp.cybermirror.org \ 
     17  http://lftp.cybermirror.org/old 
     18PKG_MD5SUM:=5400cad5f91e131ac2ded7c24aea594c 
     19 
     20PKG_INSTALL:=1 
    1821 
    1922include $(INCLUDE_DIR)/package.mk 
     
    2831endef 
    2932 
     33define Package/lftp/description 
     34  lftp is sophisticated file transfer program with command line interface. It 
     35  supports FTP, HTTP, FISH, SFTP and FILE (local FS) protocols. GNU Readline 
     36  library is used for input. 
     37endef 
     38 
    3039# uses GNU configure 
    3140 
     
    3645        --without-libresolv \ 
    3746        --with-openssl="$(STAGING_DIR)/usr" \ 
    38         --disable-static  
     47        --disable-static 
    3948 
    4049CONFIGURE_VARS += \ 
     
    4453        LIBS="-nodefaultlibs -lz -lutil -luClibc++ -lcurses -lgcc $(LIBGCC_S) -ldl" \ 
    4554 
    46 define Build/Compile 
    47         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    48                 LD="\$$$$(CC)" \ 
    49                 all 
    50 endef 
     55MAKE_VARS += \ 
     56        LD="\$$$$(CC)" \ 
    5157 
    52 define Package/lftp/install  
     58define Package/lftp/install 
    5359        $(INSTALL_DIR) $(1)/usr/bin 
    5460        $(INSTALL_DIR) $(1)/usr/lib 
    55         $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/lftp $(1)/usr/bin 
    56 endef  
     61        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lftp $(1)/usr/bin 
     62endef 
    5763 
    5864define Package/lftp/postinst 
  • packages/net/lftp/patches/001-libintl.patch

    r13854 r18970  
    1 diff -burN lftp-3.7.7/lib/gettext.h lftp-3.7.7.patched/lib/gettext.h 
    2 --- lftp-3.7.7/lib/gettext.h    2008-05-16 18:28:43.000000000 +0200 
    3 +++ lftp-3.7.7.patched/lib/gettext.h    2009-01-03 18:59:05.374184151 +0100 
     1--- a/lib/gettext.h 
     2+++ b/lib/gettext.h 
    43@@ -22,7 +22,6 @@ 
    54 #if ENABLE_NLS 
  • packages/net/lftp/patches/002-gettimeofday.patch

    r13854 r18970  
    1 diff -burN lftp-3.7.7/lib/sys_time.in.h lftp-3.7.7.patched/lib/sys_time.in.h 
    2 --- lftp-3.7.7/lib/sys_time.in.h        2008-10-24 16:00:33.000000000 +0200 
    3 +++ lftp-3.7.7.patched/lib/sys_time.in.h        2009-01-03 21:20:34.129104049 +0100 
    4 @@ -39,6 +39,10 @@ 
    5  #  include <time.h> 
    6  # endif 
    7   
    8 +#ifdef __cplusplus 
    9 +extern "C" { 
    10 +#endif  
    11 + 
    12  # if ! @HAVE_STRUCT_TIMEVAL@ 
    13  struct timeval 
    14  { 
    15 @@ -53,4 +57,8 @@ 
    16  int gettimeofday (struct timeval *restrict, void *restrict); 
    17  # endif 
    18   
    19 +#ifdef __cplusplus 
    20 +} 
    21 +#endif  
    22 + 
    23  #endif /* _GL_SYS_TIME_H */ 
Note: See TracChangeset for help on using the changeset viewer.