Aurelien Larcher
2017-11-05 7f0822d63d2ba02dd4445dd9bdfd85db839b0186
Bump lftp to 4.8.3
6 files modified
282 ■■■■ changed files
components/network/lftp/Makefile 39 ●●●● patch | view | raw | blame | history
components/network/lftp/lftp.license 2 ●●●●● patch | view | raw | blame | history
components/network/lftp/lftp.p5m 48 ●●●●● patch | view | raw | blame | history
components/network/lftp/manifests/sample-manifest.p5m 10 ●●●● patch | view | raw | blame | history
components/network/lftp/patches/fix-fictive-headers.patch 10 ●●●● patch | view | raw | blame | history
components/network/lftp/patches/lftp.1.patch 173 ●●●●● patch | view | raw | blame | history
components/network/lftp/Makefile
@@ -27,40 +27,41 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME=        lftp
COMPONENT_VERSION=    4.3.8
COMPONENT_VERSION=    4.8.3
COMPONENT_FMRI=         network/ftp/lftp
COMPONENT_SUMMARY=      lftp - Sophisticated file transfer program
COMPONENT_CLASSIFICATION=Applications/System Utilities
COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_PROJECT_URL=    http://lftp.yar.ru
COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.bz2
COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.xz
COMPONENT_ARCHIVE_HASH=    \
    sha256:39643be125a05eb1c316ea4f42ba4d73c331695a2e3654f4d34f85d4d63c37ad
COMPONENT_ARCHIVE_URL=    http://lftp.yar.ru/ftp/old/$(COMPONENT_ARCHIVE)
COMPONENT_BUGDB=    utility/lftp
  sha256:de7aee451afaa1aa391f7076b5f602922c2da0e05524a8d8fea413eda83cc78b
COMPONENT_ARCHIVE_URL=    http://lftp.yar.ru/ftp/$(COMPONENT_ARCHIVE)
COMPONENT_LICENSE=      GPLv3
include $(WS_TOP)/make-rules/prep.mk
include $(WS_TOP)/make-rules/configure.mk
include $(WS_TOP)/make-rules/ips.mk
include $(WS_MAKE_RULES)/prep.mk
include $(WS_MAKE_RULES)/configure.mk
include $(WS_MAKE_RULES)/ips.mk
PATCH_LEVEL =   0
CONFIGURE_OPTIONS  +=        --localedir=$(CONFIGURE_LOCALEDIR)
CONFIGURE_OPTIONS  +=        --with-openssl
CONFIGURE_OPTIONS  +=        CFLAGS="$(CFLAGS)"
CONFIGURE_OPTIONS  +=        CXXFLAGS="$(CXXFLAGS)"
CONFIGURE_BINDIR.64 = $(CONFIGURE_BINDIR.32)
CFLAGS += -D_XPG6
CONFIGURE_OPTIONS +=    --localedir=$(CONFIGURE_LOCALEDIR)
CONFIGURE_OPTIONS +=    --with-openssl
CONFIGURE_OPTIONS +=    CFLAGS="$(CFLAGS)"
CONFIGURE_OPTIONS +=    CXXFLAGS="$(CXXFLAGS)"
CFLAGS += -std=gnu99 $(CPP_XPG6MODE)
ASLR_MODE = $(ASLR_ENABLE)
# common targets
build:        $(BUILD_32)
build:        $(BUILD_64)
install:    $(INSTALL_32)
install:    $(INSTALL_64)
test:        $(NO_TESTS)
BUILD_PKG_DEPENDENCIES =    $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk
REQUIRED_PACKAGES += library/expat
REQUIRED_PACKAGES += library/readline
components/network/lftp/lftp.license
@@ -1,5 +1,3 @@
Copyright (c) 1996-2011 Alexander V. Lukyanov
                    GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007
components/network/lftp/lftp.p5m
@@ -1,48 +1,37 @@
#
# CDDL HEADER START
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
#
# Copyright 2017 Aurelien Larcher
#
set name=pkg.fmri value=pkg:/network/ftp/lftp@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="lftp - Sophisticated file transfer program"
set name=com.oracle.info.description value="the lftp file transfer program"
set name=info.classification value="org.opensolaris.category.2008:Applications/System Utilities"
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.arc-caseid \
    value=PSARC/2008/276
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
license lftp.license license=GPLv3
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
file path=etc/lftp.conf mode=0644 preserve=renamenew \
    original_name=SUNWlftp:etc/lftp.conf
file path=etc/lftp.conf mode=0644 preserve=true
file path=usr/bin/lftp
file path=usr/bin/lftpget
file path=usr/share/applications/lftp.desktop
file path=usr/share/icons/hicolor/48x48/apps/lftp-icon.png
file path=usr/share/lftp/convert-mozilla-cookies mode=0555
file path=usr/share/lftp/import-ncftp mode=0555
file path=usr/share/lftp/import-netscape mode=0555
file path=usr/share/lftp/verify-file mode=0555
file path=usr/share/lftp/xdg-move mode=0555
file path=usr/share/locale/cs/LC_MESSAGES/lftp.mo
file path=usr/share/locale/de/LC_MESSAGES/lftp.mo
file path=usr/share/locale/es/LC_MESSAGES/lftp.mo
@@ -53,6 +42,7 @@
file path=usr/share/locale/pl/LC_MESSAGES/lftp.mo
file path=usr/share/locale/pt_BR/LC_MESSAGES/lftp.mo
file path=usr/share/locale/ru/LC_MESSAGES/lftp.mo
file path=usr/share/locale/uk/LC_MESSAGES/lftp.mo
file path=usr/share/locale/zh_CN/LC_MESSAGES/lftp.mo
file path=usr/share/locale/zh_HK/LC_MESSAGES/lftp.mo
file path=usr/share/locale/zh_TW/LC_MESSAGES/lftp.mo
components/network/lftp/manifests/sample-manifest.p5m
@@ -10,7 +10,7 @@
#
#
# Copyright 2016 <contributor>
# Copyright 2017 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
@@ -25,12 +25,15 @@
file path=etc/lftp.conf
file path=usr/bin/lftp
file path=usr/bin/lftpget
file path=usr/lib/liblftp-jobs.a
file path=usr/lib/liblftp-tasks.a
file path=usr/lib/$(MACH64)/liblftp-jobs.a
file path=usr/lib/$(MACH64)/liblftp-tasks.a
file path=usr/share/applications/lftp.desktop
file path=usr/share/icons/hicolor/48x48/apps/lftp-icon.png
file path=usr/share/lftp/convert-mozilla-cookies
file path=usr/share/lftp/import-ncftp
file path=usr/share/lftp/import-netscape
file path=usr/share/lftp/verify-file
file path=usr/share/lftp/xdg-move
file path=usr/share/locale/cs/LC_MESSAGES/lftp.mo
file path=usr/share/locale/de/LC_MESSAGES/lftp.mo
file path=usr/share/locale/es/LC_MESSAGES/lftp.mo
@@ -41,6 +44,7 @@
file path=usr/share/locale/pl/LC_MESSAGES/lftp.mo
file path=usr/share/locale/pt_BR/LC_MESSAGES/lftp.mo
file path=usr/share/locale/ru/LC_MESSAGES/lftp.mo
file path=usr/share/locale/uk/LC_MESSAGES/lftp.mo
file path=usr/share/locale/zh_CN/LC_MESSAGES/lftp.mo
file path=usr/share/locale/zh_HK/LC_MESSAGES/lftp.mo
file path=usr/share/locale/zh_TW/LC_MESSAGES/lftp.mo
components/network/lftp/patches/fix-fictive-headers.patch
@@ -1,11 +1,11 @@
--- lib/stdio.in.h.~1~    2014-04-22 11:10:38.992782552 +0400
+++ lib/stdio.in.h    2014-04-22 11:11:41.842523971 +0400
@@ -703,7 +703,7 @@
--- lib/stdio.in.h.orig    Sat Nov  4 16:38:18 2017
+++ lib/stdio.in.h    Sat Nov  4 16:39:04 2017
@@ -743,7 +743,7 @@
    so any use of gets warrants an unconditional warning; besides, C11
    removed it.  */
 #undef gets
-#if HAVE_RAW_DECL_GETS
+#if HAVE_RAW_DECL_GETS && ! defined (__sun)
-#if HAVE_RAW_DECL_GETS && !defined __cplusplus
+#if HAVE_RAW_DECL_GETS && !defined __cplusplus && !defined (__sun)
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
 #endif
 
components/network/lftp/patches/lftp.1.patch
@@ -1,164 +1,15 @@
- Solaris specific documentation change.
- Solaris tbl(1) won't handle 'x' suffix.
- Man page category change.
--- doc/lftp.1    Tue Jun 28 02:36:24 2011
+++ doc/lftp.1    Thu Jul 14 06:55:30 2011
@@ -68,8 +68,7 @@
 the open command.
 .PP
 \fBlftp\fP can handle several file access methods - ftp, ftps, http, https,
-hftp, fish, sftp and file (https and ftps are only available when lftp is
-compiled with GNU TLS or OpenSSL library). You can specify the method to use in `open
+hftp, fish, sftp and file. You can specify the method to use in `open
 URL' command, e.g. `open http://www.us.kernel.org/pub/linux'. hftp is
 ftp-over-http-proxy protocol. It can be used automatically instead of ftp
 if ftp:proxy is set to `http://proxy[:port]'. Fish is a protocol working
@@ -164,7 +163,7 @@
 .Sp
 .in +0.5i
 .TS
-l    lx    .
+l    l    .
 add <name> [<loc>]    T{
 add current place or given location to bookmarks and bind to given name
 T}
@@ -182,7 +181,7 @@
 .Sp
 .in +0.5i
 .TS
-l    lx    .
+l    l    .
 stat    print cache status (default)
 on|off    turn on/off caching
 flush    flush cache
@@ -292,7 +291,7 @@
 .Sp
 .in +0.5i
 .TS
-l    lx    .
+l    l    .
 \-c    continue, reget
 \-E    delete source files after successful transfer
 \-a    use ascii mode (binary is the default)
@@ -318,7 +317,7 @@
 .Sp
 .in +0.5i
 .TS
-l    lx    .
+l    l    .
 \-o <lfile>    T{
 destination file name (default - basename of rfile)
 T}
@@ -343,7 +342,7 @@
 .Sp
 .in +0.5i
 .TS
-l    lx    .
+l    l    .
 \-f    plain files (default)
 \-d    directories
 \-a    all types
@@ -413,7 +412,7 @@
 .Sp
 .in +0.5i
 .TS
-l    lx    .
+l    l    .
 \-c    continue, reget.
 \-d    T{
 create directories the same as file names and get the files into them instead of current directory.
@@ -436,7 +435,7 @@
 .Sp
 .in +0.5i
 .TS
-l1    l    lx    .
+l1    l    l    .
 \-c,    \-\-continue    T{
 continue a mirror job if possible
 T}
@@ -620,7 +619,7 @@
 .Sp
 .in +0.5i
 .TS
-l    lx    .
+l    l    .
 \-c    continue, reput
 \-d    T{
 create directories the same as in file names and put the files into them instead of current directory
@@ -668,7 +667,7 @@
 .Sp
 .in +0.5i
 .TS
-l    lx    .
+l    l    .
 \-c    T{
 continue transfer. Requires \fIlfile.lftp-pget-status\fP file.
 T}
@@ -690,7 +689,7 @@
 .Sp
 .in +0.5i
 .TS
-l    lx    .
+l    l    .
 \-o <rfile>    T{
 specifies remote file name (default - basename of lfile)
 T}
@@ -745,7 +744,7 @@
 .Sp
 .in +0.5i
 .TS
-l    lx    .
+l    l    .
 \-q    Be quiet.
 \-v    Be verbose.
 \-Q    T{
@@ -766,7 +765,7 @@
 .Sp
 .in +0.5i
 .TS
-l    lx    .
+l    l    .
 queue \-d 3    Delete the third item in the queue.
 queue \-m 6 4    T{
 Move the sixth item in the queue before the fourth.
@@ -829,7 +828,7 @@
 .Sp
 .in +0.5i
 .TS
-l    lx    .
+l    l    .
 \-c <count>    maximum number of iterations
 \-d <delay>    delay between iterations
 \-\-while\-ok    stop when command exits with non-zero code
@@ -876,7 +875,7 @@
 .Sp
 .in +0.5i
 .TS
-l    lx    .
+l    l    .
 \-a    list all settings, including default values
 \-d    list only default values, not necessary current ones
 .TE
@@ -934,7 +933,7 @@
 .Sp
 .in +0.5i
 .TS
-l    lx    .
+l    l    .
 \-O <directory>    T{
 specifies base directory where files should be placed
 T}
@@ -1130,7 +1129,7 @@
 .Sp
 .in +0.5i
 .TS
-l    lx    .
+l    l    .
 \\a    bell
 \\e    escape
 \\n    new line
@@ -1996,7 +1995,7 @@
--- doc/lftp.1.orig    Sat Nov  4 16:41:22 2017
+++ doc/lftp.1        Sat Nov  4 16:42:35 2017
@@ -56,7 +56,7 @@
 .B lftp \-\-help
 .SH VERSION
-This man page documents lftp version 4.8.1.
+This man page documents lftp version 4.8.3.
 .SH "DESCRIPTION"
 \fBlftp\fR is a file transfer program that allows sophisticated FTP, HTTP
@@ -2545,7 +2545,7 @@
 password is used.
 
 .SH SEE ALSO