author | saurabh.vyas@oracle.com |
Tue, 22 Mar 2016 12:01:24 -0700 | |
changeset 5643 | ccf9fb8a1db9 |
parent 5355 | 5ccf97c2878d |
child 5682 | 94c0ca64c022 |
permissions | -rw-r--r-- |
5323 | 1 |
|
2 |
# CDDL HEADER START |
|
3 |
# |
|
4 |
# The contents of this file are subject to the terms of the |
|
5 |
# Common Development and Distribution License (the "License"). |
|
6 |
# You may not use this file except in compliance with the License. |
|
7 |
# |
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 |
# or http://www.opensolaris.org/os/licensing. |
|
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
5325
25836c8f6fb0
21230525 Add ruby-STOMP module to userland consolidation (fix build/copyright)
saurabh.vyas@oracle.com
parents:
5323
diff
changeset
|
21 |
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
5323 | 22 |
# |
23 |
include ../../../make-rules/shared-macros.mk |
|
5643
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
24 |
include ../../../make-rules/shared-targets.mk |
5323 | 25 |
|
5350
0bd2e97a57c6
22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents:
5325
diff
changeset
|
26 |
RUBY_VERSION= 2.1 |
0bd2e97a57c6
22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents:
5325
diff
changeset
|
27 |
RUBY_LIB_VERSION= 2.1.0 |
0bd2e97a57c6
22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents:
5325
diff
changeset
|
28 |
RUBY_VERSIONS= 2.1.0 |
5643
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
29 |
PATCH_EACH_ARCHIVE = 1 |
5350
0bd2e97a57c6
22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents:
5325
diff
changeset
|
30 |
|
5323 | 31 |
COMPONENT_NAME= mcollective |
32 |
COMPONENT_VERSION= 2.8.2 |
|
33 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
34 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
35 |
COMPONENT_ARCHIVE_HASH= \ |
|
36 |
sha256:03e23d8e79ccee6394f0dd31456fb56c3ae4ca2891027062377a2aaa5b5c5fe9 |
|
37 |
COMPONENT_ARCHIVE_URL= https://downloads.puppetlabs.com/mcollective/$(COMPONENT_ARCHIVE) |
|
38 |
COMPONENT_PROJECT_URL= https://puppetlabs.com/mcollective |
|
39 |
COMPONENT_BUGDB= utility/mcollective |
|
40 |
||
5643
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
41 |
TPNO_FRMWK= 23491 |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
42 |
TPNO_PKG_AGENT= 26722 |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
43 |
TPNO_PPT_AGENT= 26719 |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
44 |
TPNO_FCT_AGENT= 26723 |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
45 |
TPNO_SVC_AGENT= 26724 |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
46 |
|
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
47 |
COMPONENT_NAME_1= mcollective-puppet-agent |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
48 |
VERSION_PPT_AGENT= 1.10.0 |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
49 |
GIT_REPO_1= https://github.com/puppetlabs/$(COMPONENT_NAME_1) |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
50 |
GIT_COMMIT_ID_1= cfa4b5e4a9752f6b631f0231b25051c3c16e89d8 |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
51 |
PKG_PROTO_DIRS += $(COMPONENT_NAME_1)-$(GIT_COMMIT_ID_1) |
5323 | 52 |
|
5643
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
53 |
COMPONENT_NAME_2= mcollective-package-agent |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
54 |
VERSION_PKG_AGENT= 4.4.0 |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
55 |
GIT_REPO_2= https://github.com/puppetlabs/$(COMPONENT_NAME_2) |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
56 |
GIT_COMMIT_ID_2= 8520f756cbe4ce8a1e0fc416ed4d79ee774bcb71 |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
57 |
PKG_PROTO_DIRS += $(COMPONENT_NAME_2)-$(GIT_COMMIT_ID_2) |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
58 |
|
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
59 |
COMPONENT_NAME_3= mcollective-service-agent |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
60 |
VERSION_SVC_AGENT= 3.3.1 |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
61 |
GIT_REPO_3= https://github.com/puppetlabs/$(COMPONENT_NAME_3) |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
62 |
GIT_COMMIT_ID_3= 75478ac81f80bfd5ebaab05fe5dc5b92d90af815 |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
63 |
PKG_PROTO_DIRS += $(COMPONENT_NAME_3)-$(GIT_COMMIT_ID_3) |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
64 |
|
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
65 |
COMPONENT_NAME_4= mcollective-facter-facts |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
66 |
VERSION_FCT_AGENT= 1.0.0 |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
67 |
GIT_REPO_4= https://github.com/puppetlabs/$(COMPONENT_NAME_4) |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
68 |
GIT_COMMIT_ID_4= 30adc0e50bc38fc261cae437e84a1b69a08fdae3 |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
69 |
PKG_PROTO_DIRS += $(COMPONENT_NAME_4)-$(GIT_COMMIT_ID_4) |
5323 | 70 |
|
71 |
include $(WS_MAKE_RULES)/prep.mk |
|
72 |
include $(WS_MAKE_RULES)/install.rb.mk |
|
73 |
include $(WS_MAKE_RULES)/ips.mk |
|
74 |
||
5355
5ccf97c2878d
22611345 building ruby components should not force options which are optional
April Chin <april.chin@oracle.com>
parents:
5350
diff
changeset
|
75 |
# --mandir option not supported by mcollective install.rb |
5ccf97c2878d
22611345 building ruby components should not force options which are optional
April Chin <april.chin@oracle.com>
parents:
5350
diff
changeset
|
76 |
INSTALL_RB_MANDIR_OPTION = |
5ccf97c2878d
22611345 building ruby components should not force options which are optional
April Chin <april.chin@oracle.com>
parents:
5350
diff
changeset
|
77 |
|
5323 | 78 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
79 |
||
5643
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
80 |
COMPONENT_POST_UNPACK_ACTION_3 += \ |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
81 |
$(GPATCH) -d \ |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
82 |
$(COMPONENT_DIR)/$(COMPONENT_NAME_3)-$(GIT_COMMIT_ID_3) \ |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
83 |
$(GPATCH_FLAGS) \ |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
84 |
< patches/03-mco-service-name |
ccf9fb8a1db9
PSARC/2016/037 Common MCollective agents
saurabh.vyas@oracle.com
parents:
5355
diff
changeset
|
85 |
|
5323 | 86 |
# common targets |
87 |
build: $(BUILD_64) |
|
88 |
||
89 |
install: $(INSTALL_64) |
|
90 |
||
91 |
test: $(NO_TESTS) |
|
92 |
||
93 |
system-test: $(NO_TESTS) |
|
94 |
||
95 |
||
5350
0bd2e97a57c6
22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents:
5325
diff
changeset
|
96 |
REQUIRED_PACKAGES += runtime/ruby-21 |
5323 | 97 |
REQUIRED_PACKAGES += system/core-os |