components/perl_modules/net-ssleay/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 23 Feb 2017 13:46:52 -0800
changeset 7687 1093e2a9adbd
parent 7526 196c04a6f823
child 7885 74364868644e
permissions -rw-r--r--
25590368 Userland components should include "upstream" release tracking information
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
390
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
#
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    21
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7526
diff changeset
    23
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
390
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
#
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    25
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		Net-SSLeay
7526
196c04a6f823 22903703 Update perl module Net-SSLeay to 1.78
Esha Wang <esha.wang@oracle.com>
parents: 5797
diff changeset
    29
COMPONENT_VERSION=	1.78
390
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 390
diff changeset
    32
COMPONENT_PROJECT_URL=	http://search.cpan.org/dist/Net-SSLeay/
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    33
COMPONENT_ARCHIVE_HASH=	\
7526
196c04a6f823 22903703 Update perl module Net-SSLeay to 1.78
Esha Wang <esha.wang@oracle.com>
parents: 5797
diff changeset
    34
    sha256:e7f56427602f897446013b84b9ff51b8e8ab4fce0bbd086c4e28c198a942ed53
1152
96d423311191 16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents: 1122
diff changeset
    35
COMPONENT_ARCHIVE_URL=	http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/$(COMPONENT_ARCHIVE)
1122
b156e774aad0 16172208 Need to adjust COMPONENT_BUGDB for net-ssleay and pyopenssl
Rich Burridge <rich.burridge@oracle.com>
parents: 1058
diff changeset
    36
COMPONENT_BUGDB=	perl-mod/net-ssleay
7526
196c04a6f823 22903703 Update perl module Net-SSLeay to 1.78
Esha Wang <esha.wang@oracle.com>
parents: 5797
diff changeset
    37
TPNO=			33013
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7526
diff changeset
    38
COMPONENT_ANITYA_ID=	6575
1152
96d423311191 16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents: 1122
diff changeset
    39
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3743
diff changeset
    40
include $(WS_MAKE_RULES)/prep.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3743
diff changeset
    41
include $(WS_MAKE_RULES)/makemaker.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3743
diff changeset
    42
include $(WS_MAKE_RULES)/ips.mk
390
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    43
1434
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1170
diff changeset
    44
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
1170
63707ad3c24c 16389410 perl 5.16 should be built with ASLR enabled
Craig Mohrman <craig.mohrman@oracle.com>
parents: 1152
diff changeset
    45
390
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    46
# The component Makefile.PL file will ask some questions on whether we want
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    47
# to run external tests, to which we want to answer with "n".
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    48
COMPONENT_CONFIGURE_ENV += ; echo "n" |
5797
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5577
diff changeset
    49
# Test failures.  keep going
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5577
diff changeset
    50
COMPONENT_TEST_ARGS = -k -i
5577
09a6352d52ad 22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    51
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
1152
96d423311191 16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents: 1122
diff changeset
    52
COMPONENT_TEST_TARGETS = test
3743
da52fd64c863 20456728 XML-PARSER should have some master test results to compare against
Bill Rushmore <bill.rushmore@oracle.com>
parents: 1434
diff changeset
    53
COMPONENT_TEST_TRANSFORMS += \
5577
09a6352d52ad 22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    54
	'-e "/^[mM]ake/d" ' \
09a6352d52ad 22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    55
	'-e "/^PERL_DL_NONLAZY/d" ' \
09a6352d52ad 22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    56
	'-e "/ENCRYPTED/d" ' \
09a6352d52ad 22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    57
	'-e "/^Files/d" ' \
09a6352d52ad 22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    58
	'-e "/^Failed /d" ' \
09a6352d52ad 22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    59
	'-e "/61_threads-cb-crash/d" ' \
09a6352d52ad 22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    60
	'-e "/62_threads-ctx_new-deadlock/d" ' \
09a6352d52ad 22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    61
	'-e "/^Running /d" ' \
09a6352d52ad 22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    62
	'-e "/^chmod /d" ' \
09a6352d52ad 22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    63
	'-e "/^Use of uninitialized/d" '
390
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    64
5797
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5577
diff changeset
    65
build:		$(BUILD_64)
390
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    66
5797
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5577
diff changeset
    67
install:	$(INSTALL_64)
390
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    68
5797
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5577
diff changeset
    69
test:		$(TEST_64)
390
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    70
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 4035
diff changeset
    71
system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 4035
diff changeset
    72
390
4dc27408c928 7065619 Move NET-SSLeay to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    73
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3743
diff changeset
    74
REQUIRED_PACKAGES += library/security/openssl
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3743
diff changeset
    75
REQUIRED_PACKAGES += system/library