[Lunar-commits] r19928 - moonbase/trunk/ftp/lftp

Terry Chan tchan at lunar-linux.org
Wed May 3 17:49:20 UTC 2006


Author: tchan
Date: 2006-05-03 17:49:19 +0000 (Wed, 03 May 2006)
New Revision: 19928

Added:
   moonbase/trunk/ftp/lftp/BUILD
   moonbase/trunk/ftp/lftp/CONFIGURE
Modified:
   moonbase/trunk/ftp/lftp/DEPENDS
   moonbase/trunk/ftp/lftp/DETAILS
Log:
Updated this module with the lftp-3.4.6 patch from the lftp devs. Added a
CONFIGURE script to allow --disable-nls (which saves 100K in the final tarball).
Made gnutls an optional_depends now. Both TLS and SSL are optional_depends as
the lftp authors allow you to compile any of the four cases, both with, both
without, with SSL w/o TLS, and with TLS w/o SSL. The patch is temporary and
should be fixed in the next release of lftp.


Added: moonbase/trunk/ftp/lftp/BUILD
===================================================================
--- moonbase/trunk/ftp/lftp/BUILD	                        (rev 0)
+++ moonbase/trunk/ftp/lftp/BUILD	2006-05-03 17:49:19 UTC (rev 19928)
@@ -0,0 +1,13 @@
+(
+  
+  # NOTE: this patch is temporary for lftp-3.4.6 only. It should be repaired
+  # by the lftp devs in the next release
+  cd src && patch_it $SOURCE_CACHE/$SOURCE2 0 && cd .. &&
+  if [ "$CONFIG_NLS" == "n" ]; then
+    OPTS="$OPTS --disable-nls"
+  else
+    OPTS="$OPTS --enable-nls"
+  fi
+  default_build
+              
+) > $C_FIFO 2>&1

Added: moonbase/trunk/ftp/lftp/CONFIGURE
===================================================================
--- moonbase/trunk/ftp/lftp/CONFIGURE	                        (rev 0)
+++ moonbase/trunk/ftp/lftp/CONFIGURE	2006-05-03 17:49:19 UTC (rev 19928)
@@ -0,0 +1 @@
+mquery CONFIG_NLS "Do you want NLS enabled?" n

Modified: moonbase/trunk/ftp/lftp/DEPENDS
===================================================================
--- moonbase/trunk/ftp/lftp/DEPENDS	2006-05-03 16:11:06 UTC (rev 19927)
+++ moonbase/trunk/ftp/lftp/DEPENDS	2006-05-03 17:49:19 UTC (rev 19928)
@@ -1,5 +1,4 @@
 depends ncurses   &&
 depends readline  &&
-depends gnutls    &&
-
+optional_depends "gnutls" "--with-gnutls" "--without-gnutls" "for https and ftps support" &&
 optional_depends "openssl" "--with-openssl" "--without-openssl" "for https and ftps support"

Modified: moonbase/trunk/ftp/lftp/DETAILS
===================================================================
--- moonbase/trunk/ftp/lftp/DETAILS	2006-05-03 16:11:06 UTC (rev 19927)
+++ moonbase/trunk/ftp/lftp/DETAILS	2006-05-03 17:49:19 UTC (rev 19928)
@@ -1,13 +1,16 @@
           MODULE=lftp
          VERSION=3.4.6
           SOURCE=$MODULE-$VERSION.tar.bz2
+         SOURCE2=$MODULE-$VERSION-ssl.patch
    SOURCE_URL[0]=http://ftp.yars.free.net/pub/source/lftp/
    SOURCE_URL[1]=ftp://ftp.130th.net/pub/mirror/lftp/
    SOURCE_URL[2]=ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/
+     SOURCE2_URL=$PATCH_URL/
       SOURCE_VFY=sha1:af1ec8e4b9d24e9b9f2e408e2a3018d2e60eeb7e
+     SOURCE2_VFY=sha1:c70f57a5c8c1323d8a22d9f4c75a9d121d5ca43c
         WEB_SITE=http://lftp.yar.ru/
          ENTERED=20010922
-         UPDATED=20060425
+         UPDATED=20060503
            SHORT="LFTP is sophisticated ftp/http client, file transfer program."
 
 cat << EOF



More information about the Lunar-commits mailing list