commit | author | age
|
a70b42
|
1 |
# |
AW |
2 |
# CDDL HEADER START |
|
3 |
# |
|
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. |
|
7 |
# |
|
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. |
|
12 |
# |
|
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] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
3c7be7
|
21 |
# Copyright (c) 2023, Andreas Wacknitz |
a70b42
|
22 |
# |
AW |
23 |
|
3c7be7
|
24 |
OPENSSL_VERSION= 3.1 |
a70b42
|
25 |
include ../../../make-rules/shared-macros.mk |
AW |
26 |
|
|
27 |
COMPONENT_NAME= wget2 |
3c7be7
|
28 |
COMPONENT_VERSION= 2.1.0 |
dc63d6
|
29 |
COMPONENT_REVISION= 1 |
a70b42
|
30 |
COMPONENT_SUMMARY= GNU Wget2 is the successor of GNU Wget, a file and recursive website downloader |
AW |
31 |
COMPONENT_PROJECT_URL= https://www.gnu.org/software/wget/ |
|
32 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
33 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.lz |
3c7be7
|
34 |
COMPONENT_ARCHIVE_HASH= sha256:bc034194b512bb83ce0171d15a8db33e1c5c3ab8b3e343e1e6f2cf48f9154fad |
a70b42
|
35 |
COMPONENT_ARCHIVE_URL= https://ftp.gnu.org/gnu/wget/$(COMPONENT_ARCHIVE) |
AW |
36 |
COMPONENT_FMRI= web/$(COMPONENT_NAME) |
|
37 |
COMPONENT_CLASSIFICATION= Applications/Internet |
|
38 |
COMPONENT_LICENSE= GPLv3+, LGPLv3+ |
|
39 |
|
|
40 |
include $(WS_MAKE_RULES)/common.mk |
|
41 |
|
|
42 |
# Our idn2 include file is in a separate folder: |
|
43 |
CPPFLAGS += -I/usr/include/idn2 |
|
44 |
|
|
45 |
CONFIGURE_OPTIONS += --sysconfdir=/etc |
3c7be7
|
46 |
CONFIGURE_OPTIONS += --with-ssl=openssl |
a70b42
|
47 |
CONFIGURE_OPTIONS += --with-bzip2 |
AW |
48 |
CONFIGURE_OPTIONS += --with-microhttpd |
|
49 |
CONFIGURE_OPTIONS += --with-libnghttp2 |
|
50 |
CONFIGURE_OPTIONS += --with-libpcre2 |
|
51 |
CONFIGURE_OPTIONS += --with-lzip |
|
52 |
CONFIGURE_OPTIONS += --with-lzma |
|
53 |
CONFIGURE_OPTIONS += --with-zlib |
|
54 |
CONFIGURE_OPTIONS += --with-zstd |
|
55 |
CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
|
56 |
CONFIGURE_OPTIONS += --disable-static |
|
57 |
|
|
58 |
CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)" |
|
59 |
|
|
60 |
unexport SHELLOPTS |
|
61 |
|
|
62 |
COMPONENT_TEST_TRANSFORMS += '-ne "/^TOTAL/p" ' |
|
63 |
COMPONENT_TEST_TRANSFORMS += '-ne "/^PASS/p" ' |
|
64 |
COMPONENT_TEST_TRANSFORMS += '-ne "/^XPASS/p" ' |
|
65 |
COMPONENT_TEST_TRANSFORMS += '-ne "/^FAIL/p" ' |
|
66 |
COMPONENT_TEST_TRANSFORMS += '-ne "/^XFAIL/p" ' |
|
67 |
COMPONENT_TEST_TRANSFORMS += '-ne "/^SKIP/p" ' |
|
68 |
COMPONENT_TEST_TRANSFORMS += '-ne "/^ERROR/p" ' |
|
69 |
COMPONENT_TEST_TRANSFORMS += '-ne "/^===/p" ' |
|
70 |
COMPONENT_TEST_TRANSFORMS += '-ne "/^\# /p" ' |
|
71 |
COMPONENT_TEST_TRANSFORMS += '-ne "/^Testsuite summary/p" ' |
|
72 |
COMPONENT_TEST_TRANSFORMS += '-ne "/^See/p" ' |
|
73 |
COMPONENT_TEST_TRANSFORMS += '-ne "/^Please/p" ' |
|
74 |
|
|
75 |
# Auto-generated dependencies |
|
76 |
REQUIRED_PACKAGES += compress/bzip2 |
|
77 |
REQUIRED_PACKAGES += compress/xz |
|
78 |
REQUIRED_PACKAGES += compress/zstd |
|
79 |
REQUIRED_PACKAGES += library/brotli |
|
80 |
REQUIRED_PACKAGES += library/libidn2 |
3c7be7
|
81 |
REQUIRED_PACKAGES += library/libpsl |
a70b42
|
82 |
REQUIRED_PACKAGES += library/lzlib |
AW |
83 |
REQUIRED_PACKAGES += library/nghttp2 |
|
84 |
REQUIRED_PACKAGES += library/pcre2 |
|
85 |
REQUIRED_PACKAGES += library/security/gpgme |
3c7be7
|
86 |
REQUIRED_PACKAGES += library/security/openssl-31 |
a70b42
|
87 |
REQUIRED_PACKAGES += library/zlib |
AW |
88 |
REQUIRED_PACKAGES += system/library |