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) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2011, 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= tar |
25 COMPONENT_NAME= tar |
26 COMPONENT_VERSION= 1.26 |
26 COMPONENT_VERSION= 1.27.1 |
27 COMPONENT_PROJECT_URL= http://www.gnu.org/software/tar/ |
27 COMPONENT_PROJECT_URL= http://www.gnu.org/software/tar/ |
28 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
28 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
30 COMPONENT_ARCHIVE_HASH= \ |
30 COMPONENT_ARCHIVE_HASH= \ |
31 sha256:5a5369f464502a598e938029c310d4b3abd51e6bb8dfd045663e61c8ea9f6d41 |
31 sha256:9b0fb3ce8512059337add0da5f8f0f7d7647f2201f5ece24581d620ea60337c6 |
32 COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/tar/$(COMPONENT_ARCHIVE) |
32 COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/tar/$(COMPONENT_ARCHIVE) |
33 COMPONENT_BUGDB= utility/gtar |
33 COMPONENT_BUGDB= utility/gtar |
34 |
34 |
35 include ../../make-rules/prep.mk |
35 include ../../make-rules/prep.mk |
36 include ../../make-rules/configure.mk |
36 include ../../make-rules/configure.mk |
37 include ../../make-rules/ips.mk |
37 include ../../make-rules/ips.mk |
38 |
38 |
39 # workaround for CR 6998994 |
39 # workaround for CR 6998994 |
40 sparc_COPTFLAG = -xO2 |
40 sparc_COPTFLAG = -xO2 |
41 |
41 |
|
42 # Enforce tar binary to standard path |
|
43 CONFIGURE_BINDIR.64 = $(CONFIGURE_PREFIX)/bin |
|
44 |
42 # Use ssh (rather than rsh) for remote commands. |
45 # Use ssh (rather than rsh) for remote commands. |
43 CONFIGURE_ENV += "RSH=/usr/bin/ssh" |
46 CONFIGURE_ENV += "RSH=/usr/bin/ssh" |
44 |
47 |
45 CONFIGURE_OPTIONS += --with-rmt=/usr/sbin/rmt |
48 CONFIGURE_OPTIONS += --with-rmt=/usr/sbin/rmt |
46 CONFIGURE_OPTIONS += --libexecdir=/usr/sbin |
49 CONFIGURE_OPTIONS += --libexecdir=/usr/sbin |
47 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
50 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
48 |
51 |
49 COMPONENT_BUILD_TARGETS = all |
52 COMPONENT_BUILD_TARGETS = all |
50 |
53 |
51 build: $(BUILD_32) |
54 ASLR_MODE = $(ASLR_ENABLE) |
52 |
55 |
53 install: $(INSTALL_32) |
56 build: $(BUILD_64) |
54 |
57 |
55 test: $(TEST_32) |
58 install: $(INSTALL_64) |
|
59 |
|
60 test: $(TEST_64) |
56 |
61 |
57 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
62 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
58 |
63 |
59 include ../../make-rules/depend.mk |
64 include ../../make-rules/depend.mk |