1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

root/csw/mgar/pkg/lftp/trunk/Makefile

Revision 18030, 3.2 KB (checked in by chninkel, 7 days ago)

lftp/trunk: rebuilt against libssl 1.0

Line 
1#####################################################################
2# OpenCSW build recipe for lftp
3#
4# Copyright 2009 Yann Rouillard <yann@pleiades.fr.eu.org>
5# All rights reserved.  Use is subject to license terms.
6#
7# Redistribution and/or use, with or without modification, is
8# permitted.  This software is without warranty of any kind.  The
9# author(s) shall not be liable in the event that use of the
10# software causes damage.
11#####################################################################
12
13###### Package information #######
14
15NAME = lftp
16VERSION = 4.3.6
17CATEGORIES = net
18GARTYPE = v2
19
20DESCRIPTION = A sophisticated command-line ftp/http client
21define BLURB
22   lftp is a sophisticated command line based file transfer program. Supported protocols include FTP, HTTP, SFTP, and FISH. It has a multithreaded design allowing you to issue and execute multiple commands simultaneously or in the background. It also features mirroring capabilities and will reconnect and continue transfers in the event of a disconnection. Also, if you quit the program while transfers are still in progress, it will switch to nohup mode and finish the transfers in the background. Additional protocols supported: FTP over HTTP proxy, HTTPS and FTP over SSL. There are lots of tunable parameters, including rate limitation, number of connections limitation and more.
23endef
24
25PACKAGES = CSWlftp
26
27RUNTIME_DEP_PKGS = CSWlibexpat1
28RUNTIME_DEP_PKGS += CSWlibiconv2
29RUNTIME_DEP_PKGS += CSWlibssl1-0-0
30RUNTIME_DEP_PKGS += CSWlibsocks
31RUNTIME_DEP_PKGS += CSWlibintl8
32RUNTIME_DEP_PKGS += CSWlibreadline6
33
34###### Upstream and opencsw files information #######
35
36MASTER_SITES = http://ftp.yars.free.net/pub/source/lftp/
37
38DISTFILES  = $(NAME)-$(VERSION).tar.gz
39DISTFILES += changelog.CSW
40
41# do some type conversion before munmap call
42# so lftp can be compiled with sun cc
43# (patch only mandatory to compile with gnutls)
44#PATCHFILES = munmap.patch
45
46PATCHFILES += dont_use_csw_getopt_h.patch
47
48# Disable the use of IPV6_V6ONLY function
49# It is not mandatory here, lftp uses the option for the torrent listen socket
50# it opens a socket first for ipv4 then for ipv6, so the ipv6 one will never
51# catch the ipv4 connection even if IPV6_V6ONLY can't be set
52PATCHFILES += 0006-no-ipv6_v6only-setsock-option-under-solaris-9.patch
53
54# Update the system-wide lftp.conf path in the man page
55PATCHFILES += 0007-update-configuration-files-paths-in-documentation.patch
56
57PRESERVECONF = $(sysconfdir)/lftp.conf
58MIGRATE_FILES_CSWlftp = lftp.conf
59
60EXTRA_MERGE_EXCLUDE_FILES  = .*/charset.alias
61
62##### Build and installation information #####
63
64# We don't want Sun Studio RPATH entries
65# see http://wiki.opencsw.org/checkpkg-error-tags#bad-rpath-entry
66EXTRA_LINKER_FLAGS = -norunpath
67
68CONFIGURE_ARGS = $(DIRPATHS)
69
70# previous maintainer compiled with openssl
71# instead of gnutls, no need to change that
72CONFIGURE_ARGS += --without-gnutls --with-openssl=/opt/csw
73# Requested see https://www.opencsw.org/mantis/view.php?id=4481
74CONFIGURE_ARGS += --with-socksdante
75
76# No test suite here
77TEST_SCRIPTS =
78
79
80include gar/category.mk
81
82# we re-run autoconf because we patched a m4 file
83pre-configure-modulated:
84        cd $(WORKSRC) && autoconf
85        @$(MAKECOOKIE)
86
87post-merge:
88        @ginstall -D $(DOWNLOADDIR)/changelog.CSW $(PKGROOT)/$(docdir)/lftp/changelog.CSW
89        @$(MAKECOOKIE)
90
Note: See TracBrowser for help on using the browser.