16 # fields enclosed by brackets "[]" replaced with your own identifying |
16 # fields enclosed by brackets "[]" replaced with your own identifying |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 # Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
23 include ../../make-rules/shared-macros.mk |
23 include ../../make-rules/shared-macros.mk |
24 |
24 |
25 COMPONENT_NAME= puppet |
25 COMPONENT_NAME= puppet |
26 COMPONENT_VERSION= 3.2.4 |
26 COMPONENT_VERSION= 3.4.1 |
27 COMPONENT_PROJECT_URL= http://puppetlabs.com/ |
27 COMPONENT_PROJECT_URL= http://puppetlabs.com/ |
28 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
28 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
30 COMPONENT_ARCHIVE_HASH= \ |
30 COMPONENT_ARCHIVE_HASH= \ |
31 sha256:8b38f4adee6237b8dd7b1956d90af97f2d0091245d6e30b708bbc8e333001358 |
31 sha256:e6a929699a83c2bc1d1661674172ba7e92b6fb4235fa594cc2f3219925504b93 |
32 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)downloads/puppet/$(COMPONENT_ARCHIVE) |
32 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)downloads/puppet/$(COMPONENT_ARCHIVE) |
33 COMPONENT_BUGDB= utility/puppet |
33 COMPONENT_BUGDB= utility/puppet |
34 |
34 |
35 include $(WS_TOP)/make-rules/prep.mk |
35 include $(WS_TOP)/make-rules/prep.mk |
36 include $(WS_TOP)/make-rules/install.rb.mk |
36 include $(WS_TOP)/make-rules/install.rb.mk |
42 ../facter/build/%/.installed: |
42 ../facter/build/%/.installed: |
43 (cd ../facter ; $(GMAKE) install) |
43 (cd ../facter ; $(GMAKE) install) |
44 |
44 |
45 # set the bindir to /usr/sbin |
45 # set the bindir to /usr/sbin |
46 INSTALL_RB_BINDIR = $(USRSBINDIR) |
46 INSTALL_RB_BINDIR = $(USRSBINDIR) |
|
47 |
|
48 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
|
49 |
|
50 # pass Ruby values onto the package manfiest |
|
51 PKG_MACROS += RUBY_VERSION=$(RUBY_VERSION) |
|
52 PKG_MACROS += RUBY_LIB_VERSION=$(RUBY_LIB_VERSION) |
47 |
53 |
48 # common targets |
54 # common targets |
49 build: $(BUILD_64) |
55 build: $(BUILD_64) |
50 # Ruby extension for auditing |
56 # Ruby extension for auditing |
51 (cd ext; $(RUBY) extconf.rb; $(GMAKE)) |
57 (cd ext; $(RUBY) extconf.rb; $(GMAKE)) |