Makefile revision 4741
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# CDDL HEADER START
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# The contents of this file are subject to the terms of the
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# Common Development and Distribution License (the "License").
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# You may not use this file except in compliance with the License.
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# See the License for the specific language governing permissions
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# and limitations under the License.
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# When distributing Covered Code, include this CDDL HEADER in each
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# If applicable, add the following below this CDDL HEADER, with the
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# fields enclosed by brackets "[]" replaced with your own identifying
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# information: Portions Copyright [yyyy] [name of copyright owner]
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# CDDL HEADER END
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
e2c88f0c2610f16de7b639746b40dea5f3e2256eGarrett D'AmoreCOMPONENT_PROJECT_URL= http://www.gnu.org/software/wget/
c77a61a72b5ecdc507d6cf104142edd371a16c84yz sha256:67f7b7b0f5c14db633e3b18f53172786c001e153d545cfc85d82759c5c2ffb37
c77a61a72b5ecdc507d6cf104142edd371a16c84yzCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/wget/$(COMPONENT_ARCHIVE)
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# Keep just the final test report
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# Enforce wget binary to standard path
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# Enforce openssl (--with-ssl=openssl) instead of default gnutls
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# (--with-ssl) as wget doesn't work for secure connections with gnutls.
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# Set PATH to find /usr/perl5/bin/pod2man, so that the man page wget.1
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# can be automatically generated
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# Wget test suite will skip majority of tests with few Perl modules
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# missing on system. By uncommenting following lines it will pass 82
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# tests out of 83 total tests (1 test in which wget tries to output
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# to a non-existing device /dev/full fails with wrong error code).
c77a61a72b5ecdc507d6cf104142edd371a16c84yz#URI=URI-1.60
c77a61a72b5ecdc507d6cf104142edd371a16c84yz#WWW=libwww-perl-5.837
c77a61a72b5ecdc507d6cf104142edd371a16c84yz#SOCK=IO-Socket-SSL-2.005
c77a61a72b5ecdc507d6cf104142edd371a16c84yz#COMPONENT_TEST_ENV = "http_proxy="
c77a61a72b5ecdc507d6cf104142edd371a16c84yz#COMPONENT_TEST_ENV += "https_proxy="
c77a61a72b5ecdc507d6cf104142edd371a16c84yz#COMPONENT_TEST_ENV += "ftp_proxy="
c77a61a72b5ecdc507d6cf104142edd371a16c84yz#COMPONENT_TEST_ENV += "no_proxy="
c77a61a72b5ecdc507d6cf104142edd371a16c84yz#COMPONENT_PRE_TEST_ACTION = ( \
c77a61a72b5ecdc507d6cf104142edd371a16c84yz wget http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$(URI).tar.gz; \
c77a61a72b5ecdc507d6cf104142edd371a16c84yz wget http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$(WWW).tar.gz; \
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe wget http://cpan.metacpan.org/authors/id/S/SU/SULLR/$(SOCK).tar.gz; \
c77a61a72b5ecdc507d6cf104142edd371a16c84yz gtar --get $(WWW)/lib/HTTP $(WWW)/lib/LWP $(WWW)/lib/LWP.pm \
c77a61a72b5ecdc507d6cf104142edd371a16c84yz gtar --get $(SOCK)/lib/IO/Socket/SSL $(SOCK)/lib/IO/Socket/SSL.pm \
c77a61a72b5ecdc507d6cf104142edd371a16c84yz# Enable ASLR for this component