18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
25 |
25 BUILD_BITS= 64_and_32 |
26 include ../../make-rules/shared-macros.mk |
26 include ../../make-rules/shared-macros.mk |
27 |
27 |
28 COMPONENT_NAME= libgcrypt |
28 COMPONENT_NAME= libgcrypt |
29 COMPONENT_VERSION= 1.5.3 |
29 COMPONENT_VERSION= 1.5.3 |
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
31 COMPONENT_PROJECT_URL= ftp://ftp.gnupg.org/gcrypt/libgcrypt/ |
30 COMPONENT_PROJECT_URL= ftp://ftp.gnupg.org/gcrypt/libgcrypt/ |
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
33 COMPONENT_ARCHIVE_HASH= \ |
32 COMPONENT_ARCHIVE_HASH= \ |
34 sha256:bcf5334e7da352c45de6aec5d2084ce9a1d30029ff4a4a5da13f1848874759d1 |
33 sha256:bcf5334e7da352c45de6aec5d2084ce9a1d30029ff4a4a5da13f1848874759d1 |
35 COMPONENT_ARCHIVE_URL= ftp://ftp.gnupg.org/gcrypt/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
34 COMPONENT_ARCHIVE_URL= ftp://ftp.gnupg.org/gcrypt/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
37 |
36 |
38 TPNO= 7588 |
37 TPNO= 7588 |
39 |
38 |
40 COMPONENT_BUILD_TARGETS = all info |
39 COMPONENT_BUILD_TARGETS = all info |
41 |
40 |
42 include $(WS_MAKE_RULES)/prep.mk |
41 include $(WS_MAKE_RULES)/common.mk |
43 include $(WS_MAKE_RULES)/configure.mk |
|
44 include $(WS_MAKE_RULES)/ips.mk |
|
45 |
42 |
46 CONFIGURE_OPTIONS += --sysconfdir=/etc |
43 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
47 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
44 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
48 CONFIGURE_OPTIONS += --enable-maintainer-mode |
45 CONFIGURE_OPTIONS += --enable-maintainer-mode |
49 CONFIGURE_OPTIONS += --disable-asm |
46 CONFIGURE_OPTIONS += --disable-asm |
50 CONFIGURE_OPTIONS += --enable-ciphers=arcfour:blowfish:des:aes:twofish:serpent:rfc2268:seed:camellia:cast5 |
47 CONFIGURE_OPTIONS += --enable-ciphers=arcfour:blowfish:des:aes:twofish:serpent:rfc2268:seed:camellia:cast5 |
51 CONFIGURE_OPTIONS.64 += CC="$(CC) -m64" |
|
52 |
48 |
53 ASLR_MODE = $(ASLR_ENABLE) |
49 ASLR_MODE = $(ASLR_ENABLE) |
54 |
50 |
55 include ../../make-rules/shared-targets.mk |
51 include ../../make-rules/shared-targets.mk |
56 |
|
57 configure: $(CONFIGURE_32_and_64) |
|
58 |
|
59 build: $(BUILD_32_and_64) |
|
60 |
|
61 install: $(INSTALL_32_and_64) |
|
62 |
52 |
63 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
53 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
64 |
54 |
65 COMPONENT_TEST_TRANSFORMS += \ |
55 COMPONENT_TEST_TRANSFORMS += \ |
66 '-n -e "/PASS/p" ' \ |
56 '-n -e "/PASS/p" ' \ |
67 '-e "/FAIL/p" ' \ |
57 '-e "/FAIL/p" ' \ |
68 '-e "/All/p" ' |
58 '-e "/All/p" ' |
69 |
59 |
70 test: $(TEST_32_and_64) |
|
71 |
|
72 system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED) |
|
73 |
|
74 REQUIRED_PACKAGES += library/security/libgpg-error |
60 REQUIRED_PACKAGES += library/security/libgpg-error |
75 REQUIRED_PACKAGES += system/library |
|