components/ruby/puppet-modules/oracle-solaris_providers/Makefile
author Shawn Ferry <shawn.ferry@oracle.com>
Tue, 24 Jan 2017 15:17:07 -0800
changeset 7613 a31c7604d93f
parent 7565 48aa82a0931f
child 7687 1093e2a9adbd
permissions -rw-r--r--
23593309 rspec tests need to be written for solaris_providers link_properties 25416733 puppet nsswitch does not accept user as a printer database 25416766 puppet module regressions 2.0.0, update to 2.0.1 25438739 puppet zone provider does not understand 'unavailable' state
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1198
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     1
#
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     3
#
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     7
#
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    12
#
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    18
#
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    20
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5465
diff changeset
    21
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5465
diff changeset
    22
#
7613
a31c7604d93f 23593309 rspec tests need to be written for solaris_providers link_properties
Shawn Ferry <shawn.ferry@oracle.com>
parents: 7565
diff changeset
    23
# Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
1198
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    24
#
5443
51abc0fb79b7 21613616 oracle-solaris_provider builds should come from the github repo we publish (fix mismerge)
Shawn Ferry <shawn.ferry@oracle.com>
parents: 5438
diff changeset
    25
include ../../../../make-rules/shared-macros.mk
51abc0fb79b7 21613616 oracle-solaris_provider builds should come from the github repo we publish (fix mismerge)
Shawn Ferry <shawn.ferry@oracle.com>
parents: 5438
diff changeset
    26
51abc0fb79b7 21613616 oracle-solaris_provider builds should come from the github repo we publish (fix mismerge)
Shawn Ferry <shawn.ferry@oracle.com>
parents: 5438
diff changeset
    27
6618
b9e3744293ad 23149296 github repo and archives for puppet solaris providers has disappeared
Shawn Ferry <shawn.ferry@oracle.com>
parents: 6345
diff changeset
    28
GIT_REPO= https://github.com/oracle/puppet-solaris_providers
7613
a31c7604d93f 23593309 rspec tests need to be written for solaris_providers link_properties
Shawn Ferry <shawn.ferry@oracle.com>
parents: 7565
diff changeset
    29
GIT_BRANCH= v2.0.1
a31c7604d93f 23593309 rspec tests need to be written for solaris_providers link_properties
Shawn Ferry <shawn.ferry@oracle.com>
parents: 7565
diff changeset
    30
GIT_COMMIT_ID= 932309
a31c7604d93f 23593309 rspec tests need to be written for solaris_providers link_properties
Shawn Ferry <shawn.ferry@oracle.com>
parents: 7565
diff changeset
    31
GIT_HASH=  sha256:b858d0615642a6eff3215ecdee32dace3988bb296c6b02894b89eabbb907f4fc
1198
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    32
5443
51abc0fb79b7 21613616 oracle-solaris_provider builds should come from the github repo we publish (fix mismerge)
Shawn Ferry <shawn.ferry@oracle.com>
parents: 5438
diff changeset
    33
COMPONENT_NAME=		puppet-solaris_providers
7613
a31c7604d93f 23593309 rspec tests need to be written for solaris_providers link_properties
Shawn Ferry <shawn.ferry@oracle.com>
parents: 7565
diff changeset
    34
COMPONENT_VERSION=	2.0.1
6618
b9e3744293ad 23149296 github repo and archives for puppet solaris providers has disappeared
Shawn Ferry <shawn.ferry@oracle.com>
parents: 6345
diff changeset
    35
COMPONENT_PROJECT_URL=	https://github.com/oracle/puppet-solaris_providers
5443
51abc0fb79b7 21613616 oracle-solaris_provider builds should come from the github repo we publish (fix mismerge)
Shawn Ferry <shawn.ferry@oracle.com>
parents: 5438
diff changeset
    36
# Construct our own SRC instead of using the default with GIT_COMMIT_ID
51abc0fb79b7 21613616 oracle-solaris_provider builds should come from the github repo we publish (fix mismerge)
Shawn Ferry <shawn.ferry@oracle.com>
parents: 5438
diff changeset
    37
# archive from github strips leading v from release for vN named release tags
51abc0fb79b7 21613616 oracle-solaris_provider builds should come from the github repo we publish (fix mismerge)
Shawn Ferry <shawn.ferry@oracle.com>
parents: 5438
diff changeset
    38
COMPONENT_SRC=$(COMPONENT_NAME)-$(shell echo $(GIT_BRANCH) | sed -e 's/v//')
1198
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    39
COMPONENT_BUGDB=	utility/puppet
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    40
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2101
diff changeset
    41
include $(WS_MAKE_RULES)/prep.mk
5443
51abc0fb79b7 21613616 oracle-solaris_provider builds should come from the github repo we publish (fix mismerge)
Shawn Ferry <shawn.ferry@oracle.com>
parents: 5438
diff changeset
    42
include $(WS_MAKE_RULES)/puppetmodule.mk
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2101
diff changeset
    43
include $(WS_MAKE_RULES)/ips.mk
1198
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    44
5443
51abc0fb79b7 21613616 oracle-solaris_provider builds should come from the github repo we publish (fix mismerge)
Shawn Ferry <shawn.ferry@oracle.com>
parents: 5438
diff changeset
    45
MODULE_NAME =	solaris_providers
1198
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    46
1434
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1409
diff changeset
    47
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1409
diff changeset
    48
5465
c49b82fa1ffd 22743171 puppet module needs to work around pkgmogrify issue for FOSS eval builds
John Beck <John.Beck@Oracle.COM>
parents: 5443
diff changeset
    49
PKG_OPTIONS +=	-I $(COMPONENT_DIR)
c49b82fa1ffd 22743171 puppet module needs to work around pkgmogrify issue for FOSS eval builds
John Beck <John.Beck@Oracle.COM>
parents: 5443
diff changeset
    50
6345
cf781597d748 23309765 Build module archive with all changes until it is republished on github
Shawn Ferry <shawn.ferry@oracle.com>
parents: 5682
diff changeset
    51
# Dump a list of files installed in the proto dir but not in the manifest
cf781597d748 23309765 Build module archive with all changes until it is republished on github
Shawn Ferry <shawn.ferry@oracle.com>
parents: 5682
diff changeset
    52
# this is a convenience target for the package maintainer
cf781597d748 23309765 Build module archive with all changes until it is republished on github
Shawn Ferry <shawn.ferry@oracle.com>
parents: 5682
diff changeset
    53
new-files: install
7613
a31c7604d93f 23593309 rspec tests need to be written for solaris_providers link_properties
Shawn Ferry <shawn.ferry@oracle.com>
parents: 7565
diff changeset
    54
	$(PKGSEND) generate $(PROTO_DIR)/usr/puppetlabs/puppet/modules/ | $(GNU_GREP) -v '/docs/' | \
a31c7604d93f 23593309 rspec tests need to be written for solaris_providers link_properties
Shawn Ferry <shawn.ferry@oracle.com>
parents: 7565
diff changeset
    55
	    $(GSED)  -e 's/\(file\).*path=/\1 path=/' | \
6345
cf781597d748 23309765 Build module archive with all changes until it is republished on github
Shawn Ferry <shawn.ferry@oracle.com>
parents: 5682
diff changeset
    56
	    $(CAT) oracle-solaris_providers.p5m - | $(GNU_GREP) -h '^file' | sort | uniq -c | \
cf781597d748 23309765 Build module archive with all changes until it is republished on github
Shawn Ferry <shawn.ferry@oracle.com>
parents: 5682
diff changeset
    57
	    $(GSED) -e '/ 2 /d' -e 's/   1 //'
1198
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    58
5443
51abc0fb79b7 21613616 oracle-solaris_provider builds should come from the github repo we publish (fix mismerge)
Shawn Ferry <shawn.ferry@oracle.com>
parents: 5438
diff changeset
    59
# common targets
51abc0fb79b7 21613616 oracle-solaris_provider builds should come from the github repo we publish (fix mismerge)
Shawn Ferry <shawn.ferry@oracle.com>
parents: 5438
diff changeset
    60
build: $(BUILD_NO_ARCH)
1409
9db4ba32e740 PSARC/2013/218 Puppet Phase 2
Drew Fisher <drew.fisher@oracle.com>
parents: 1377
diff changeset
    61
5443
51abc0fb79b7 21613616 oracle-solaris_provider builds should come from the github repo we publish (fix mismerge)
Shawn Ferry <shawn.ferry@oracle.com>
parents: 5438
diff changeset
    62
install:	$(INSTALL_NO_ARCH)
51abc0fb79b7 21613616 oracle-solaris_provider builds should come from the github repo we publish (fix mismerge)
Shawn Ferry <shawn.ferry@oracle.com>
parents: 5438
diff changeset
    63
1198
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    64
test:		$(NO_TESTS)
f9a4100102d8 PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    65
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
    66
system-test:    $(NO_TESTS)
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
    67
5443
51abc0fb79b7 21613616 oracle-solaris_provider builds should come from the github repo we publish (fix mismerge)
Shawn Ferry <shawn.ferry@oracle.com>
parents: 5438
diff changeset
    68
REQUIRED_PACKAGES += system/management/puppet