4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
23 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
24 # Copyright 2014 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
28 include ..
/..
/..
/make-rules
/shared-macros.mk
31 COMPONENT_VERSION
= 4.9.2
32 COMPONENT_REVISION
= 2
33 COMPONENT_FMRI
= network
/ftp
/lftp
34 COMPONENT_SUMMARY
= lftp
- Sophisticated file transfer program
35 COMPONENT_CLASSIFICATION
=Applications
/System Utilities
36 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
37 COMPONENT_PROJECT_URL
= https
://lftp.yar.ru
38 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
39 COMPONENT_ARCHIVE_HASH
= sha256
:c517c4f4f9c39bd415d7313088a2b1e313b2d386867fe40b7692b83a20f0670d
40 COMPONENT_ARCHIVE_URL
= https
://lftp.yar.ru
/ftp
/$(COMPONENT_ARCHIVE
)
41 COMPONENT_LICENSE
= GPLv3
42 COMPONENT_LICENSE_FILE
= COPYING
44 TEST_TARGET
= $(NO_TESTS
)
45 include $(WS_MAKE_RULES
)/common.mk
49 CFLAGS
+= -std
=gnu99
$(XPG6MODE
)
50 CXXFLAGS
+= -I
$(OPENSSL_INCDIR
)
51 LDFLAGS
+= -L
$(OPENSSL_LIBDIR
)
53 CONFIGURE_OPTIONS
+= --localedir
=$(CONFIGURE_LOCALEDIR
)
54 CONFIGURE_OPTIONS
+= --with-openssl
55 CONFIGURE_OPTIONS
+= CFLAGS
="$(CFLAGS)"
56 CONFIGURE_OPTIONS
+= CXXFLAGS
="$(CXXFLAGS)"
58 ASLR_MODE
= $(ASLR_ENABLE
)
60 # Auto-generated dependencies
61 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
62 REQUIRED_PACKAGES
+= library
/expat
63 REQUIRED_PACKAGES
+= library
/readline
64 REQUIRED_PACKAGES
+= library
/security
/openssl-31
65 REQUIRED_PACKAGES
+= library
/zlib
66 REQUIRED_PACKAGES
+= runtime
/perl
67 REQUIRED_PACKAGES
+= shell/bash
68 REQUIRED_PACKAGES
+= shell/ksh93
69 REQUIRED_PACKAGES
+= system
/library
70 REQUIRED_PACKAGES
+= system
/library
/math