components/perl_modules/authen-pam/Makefile
author Craig Mohrman <craig.mohrman@oracle.com>
Thu, 10 Mar 2016 12:36:54 -0800
changeset 5577 09a6352d52ad
parent 4339 6501cf9c29f9
child 5682 94c0ca64c022
permissions -rw-r--r--
22897315 add perl modules support for perl 5.22
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1360
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
     1
#
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
     3
#
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
     7
#
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    12
#
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    18
#
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    20
#
5577
09a6352d52ad 22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    21
# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
1360
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    22
#
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    23
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    24
include ../../../make-rules/shared-macros.mk
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    25
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    26
COMPONENT_NAME=		Authen-PAM
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    27
COMPONENT_VERSION=	0.16
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    28
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    29
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    30
COMPONENT_ARCHIVE_HASH=	\
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    31
    sha256:0e949bd9a2a9df0f829971030fe9169cbaf6cec78b92faf22f547ff6c6155c9b
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_URL=	\
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    33
    http://www.cpan.org/modules/by-module/Authen/$(COMPONENT_ARCHIVE)
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    34
COMPONENT_PROJECT_URL=	http://search.cpan.org/~nikip/
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    35
COMPONENT_BUGDB=	perl-mod/authen-pam
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    36
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1434
diff changeset
    37
TPNO=			9303
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1434
diff changeset
    38
1360
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    39
# build threaded 5.12 support too
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    40
PERL_VERSIONS += 5.12-mt
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    41
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3736
diff changeset
    42
include $(WS_MAKE_RULES)/prep.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3736
diff changeset
    43
include $(WS_MAKE_RULES)/ips.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3736
diff changeset
    44
include $(WS_MAKE_RULES)/makemaker.mk
1360
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    45
1995
7185ffa18a9e 18762255 The authen-pam Perl module has a bogus arc-caseid in its package manifest.
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    46
# Pick up the patch to configure.ac in the 01-solaris.patch file
7185ffa18a9e 18762255 The authen-pam Perl module has a bogus arc-caseid in its package manifest.
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    47
COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
7185ffa18a9e 18762255 The authen-pam Perl module has a bogus arc-caseid in its package manifest.
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    48
1434
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1360
diff changeset
    49
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
1360
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    50
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    51
# man pages go in the common area
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    52
COMPONENT_INSTALL_ENV += INSTALLVENDORMAN3DIR=$(USRSHAREMAN3DIR)
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    53
3736
bf9abbe60d37 20453943 AUTHEN-PAM should have some master test files to compare against
James Chang <james.c.chang@Oracle.COM>
parents: 2202
diff changeset
    54
# This does not have a master test file because the test must be run manually.
1360
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    55
COMPONENT_TEST_TARGETS = test
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    56
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    57
build:		$(BUILD_32_and_64)
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    58
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    59
install:	$(INSTALL_32_and_64)
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    60
2000
a55999d4dec9 19198630 Add mod Authen::PAM test checking PAM_NO_AUTHTOK_CHECK presence
Vladimir Marek <Vladimir.Marek@oracle.com>
parents: 1995
diff changeset
    61
COMPONENT_POST_TEST_ACTION= \
a55999d4dec9 19198630 Add mod Authen::PAM test checking PAM_NO_AUTHTOK_CHECK presence
Vladimir Marek <Vladimir.Marek@oracle.com>
parents: 1995
diff changeset
    62
    PERL5LIB=$(@D)/blib/lib:$(@D)/blib/arch $(PERL) test/PAM_NO_AUTHTOK_CHECK.pl
a55999d4dec9 19198630 Add mod Authen::PAM test checking PAM_NO_AUTHTOK_CHECK presence
Vladimir Marek <Vladimir.Marek@oracle.com>
parents: 1995
diff changeset
    63
1360
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    64
#
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    65
# Must have xml-parser installed for these tests to pass.
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    66
#
2202
bdd578af07ee 19925941 "gmake test" failures for perl_mod/authen-pam
Bill Rushmore <bill.rushmore@oracle.com>
parents: 2000
diff changeset
    67
test:		
bdd578af07ee 19925941 "gmake test" failures for perl_mod/authen-pam
Bill Rushmore <bill.rushmore@oracle.com>
parents: 2000
diff changeset
    68
		if tty -s; then  $(MAKE) realtest; else echo 'Skipping tests'; fi
bdd578af07ee 19925941 "gmake test" failures for perl_mod/authen-pam
Bill Rushmore <bill.rushmore@oracle.com>
parents: 2000
diff changeset
    69
bdd578af07ee 19925941 "gmake test" failures for perl_mod/authen-pam
Bill Rushmore <bill.rushmore@oracle.com>
parents: 2000
diff changeset
    70
realtest:	$(TEST_32_and_64)
1360
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    71
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3817
diff changeset
    72
system-test:	$(SYSTEM_TESTS_NOT_IMPLEMENTED)
1360
ed2174a87b88 16851083 Move Perl Authen:PAM module from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff changeset
    73
5577
09a6352d52ad 22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    74
REQUIRED_PACKAGES += runtime/perl-512
09a6352d52ad 22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    75
REQUIRED_PACKAGES += runtime/perl-520
09a6352d52ad 22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    76
REQUIRED_PACKAGES += runtime/perl-522
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3736
diff changeset
    77
REQUIRED_PACKAGES += system/library