bhyve-fw: drop CSM
[oi-userland.git] / components / web / wget / Makefile
blob6201b9d104facaf1ef3f2a10e70aed67dc0abde8
2 # CDDL HEADER START
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]
19 # CDDL HEADER END
21 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
22 # Copyright (c) 2018, Michal Nowak
23 # Copyright (c) 2021, Nona Hansel
26 include ../../../make-rules/shared-macros.mk
28 COMPONENT_NAME= wget
29 COMPONENT_VERSION= 1.25.0
30 COMPONENT_REVISION= 1
31 COMPONENT_SUMMARY= GNU wget - a utility to retrieve files from the World Wide Web
32 COMPONENT_PROJECT_URL= https://www.gnu.org/software/wget/
33 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
34 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.lz
35 COMPONENT_ARCHIVE_HASH= sha256:19225cc756b0a088fc81148dc6a40a0c8f329af7fd8483f1c7b2fe50f4e08a1f
36 COMPONENT_ARCHIVE_URL= https://ftp.gnu.org/gnu/wget/$(COMPONENT_ARCHIVE)
37 COMPONENT_FMRI= web/wget
38 COMPONENT_CLASSIFICATION= Applications/Internet
39 COMPONENT_LICENSE= GPLv3, FDLv1.2
41 include $(WS_MAKE_RULES)/common.mk
43 # wget doesn't detect libidn2 include directory
44 CPPFLAGS += -I/usr/include/idn2
46 # Enforce openssl (--with-ssl=openssl) instead of default gnutls
47 # (--with-ssl) as wget doesn't work for secure connections with gnutls.
48 CONFIGURE_OPTIONS += --sysconfdir=/etc
49 CONFIGURE_OPTIONS += --with-ssl=openssl
50 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
51 CONFIGURE_OPTIONS += --enable-iri
53 CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
55 # Some tests fail, see http://savannah.gnu.org/bugs/?48281
56 # Keep just the final test report
57 COMPONENT_TEST_TRANSFORMS += '-ne "/^PASS/p" '
58 COMPONENT_TEST_TRANSFORMS += '-ne "/^FAIL/p" '
59 COMPONENT_TEST_TRANSFORMS += '-ne "/^===/p" '
60 COMPONENT_TEST_TRANSFORMS += '-ne "/^\# /p" '
61 COMPONENT_TEST_TRANSFORMS += '-ne "/^See/p" '
62 COMPONENT_TEST_TRANSFORMS += '-ne "/^Please/p" '
64 # For the test suite
65 TEST_REQUIRED_PACKAGES += library/perl-5/http-daemon
66 TEST_REQUIRED_PACKAGES += library/perl-5/http-message
68 # Auto-generated dependencies
69 REQUIRED_PACKAGES += $(OPENSSL_PKG)
70 REQUIRED_PACKAGES += library/libidn2
71 REQUIRED_PACKAGES += library/libpsl
72 REQUIRED_PACKAGES += library/pcre2
73 REQUIRED_PACKAGES += library/zlib
74 REQUIRED_PACKAGES += system/library