author | Shawn Walker-Salas <shawn.walker@oracle.com> |
Wed, 30 Mar 2016 13:33:31 -0700 | |
changeset 5682 | 94c0ca64c022 |
parent 5465 | c49b82fa1ffd |
child 6345 | cf781597d748 |
permissions | -rw-r--r-- |
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 |
# |
5355
5ccf97c2878d
22611345 building ruby components should not force options which are optional
April Chin <april.chin@oracle.com>
parents:
5066
diff
changeset
|
23 |
# Copyright (c) 2013, 2016, 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 |
|
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
|
28 |
GIT_REPO= https://github.com/oraclesolaris/puppet-solaris_providers |
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
|
29 |
GIT_BRANCH= v1.0.2 |
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
|
30 |
GIT_COMMIT_ID= c4b6092 |
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
|
31 |
GIT_HASH= sha256:12b9c1a169e95494dc2c8463fecafcdf4875642bc0970a2a59fdbc4cfa09df50 |
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 |
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
|
34 |
COMPONENT_VERSION= 1.0.2 |
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
|
35 |
COMPONENT_PROJECT_URL= https://github.com/oraclesolaris/puppet-solaris_providers |
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 |
# github releases provide direct archive downloads |
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 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/archive/$(GIT_BRANCH).tar.gz |
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 |
# 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
|
39 |
# 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
|
40 |
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
|
41 |
COMPONENT_BUGDB= utility/puppet |
f9a4100102d8
PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
42 |
|
2081
1f1144fb0e4e
18960221 problem in UTILITY/PUPPET
Kristina Tripp <Kristina.Tripp@oracle.com>
parents:
2068
diff
changeset
|
43 |
TPNO= 18128 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1655
diff
changeset
|
44 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2101
diff
changeset
|
45 |
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
|
46 |
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
|
47 |
include $(WS_MAKE_RULES)/ips.mk |
1198
f9a4100102d8
PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
48 |
|
f9a4100102d8
PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
49 |
|
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
|
50 |
MODULE_NAME = solaris_providers |
1198
f9a4100102d8
PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
51 |
|
1434
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1409
diff
changeset
|
52 |
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
|
53 |
|
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
|
54 |
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
|
55 |
|
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
|
56 |
# generate manifest for files supplied from git repo on demand |
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
|
57 |
oracle-solaris_providers-github.frag: install |
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
|
58 |
$(PKGSEND) generate $(PROTO_DIR)/etc/puppet/modules/ | \ |
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 |
$(GSED) -e 's/\(file\|dir\).*path=/\1 path=/' | \ |
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 |
$(PKGFMT) > oracle-solaris_providers-github.frag |
1198
f9a4100102d8
PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
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 |
# 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
|
63 |
build: $(BUILD_NO_ARCH) |
1409
9db4ba32e740
PSARC/2013/218 Puppet Phase 2
Drew Fisher <drew.fisher@oracle.com>
parents:
1377
diff
changeset
|
64 |
|
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
|
65 |
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
|
66 |
|
1198
f9a4100102d8
PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
67 |
test: $(NO_TESTS) |
f9a4100102d8
PSARC/2013/005 Puppet 3.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
68 |
|
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
|
69 |
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
|
70 |
|
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
|
71 |
PKG_PROTO_DIRS += files |
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
|
72 |
REQUIRED_PACKAGES += system/management/puppet |