21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2011, 2015, 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= libassuan |
25 COMPONENT_NAME= libassuan |
26 COMPONENT_VERSION= 2.0.1 |
26 COMPONENT_VERSION= 2.2.0 |
27 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
27 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
28 COMPONENT_PROJECT_URL= http://www.gnupg.org/related_software/libassuan/ |
28 COMPONENT_PROJECT_URL= http://www.gnupg.org/related_software/libassuan/ |
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
30 COMPONENT_ARCHIVE_HASH= \ |
30 COMPONENT_ARCHIVE_HASH= \ |
31 sha256:1117be532ac41b13790b4756df7fa747d3d04264f7b4544aa9d7ff468a24b457 |
31 sha256:7df58ed70be4b694f77efd1f3b3f103c6311b6b71e04a370382f9fe8204f6ec6 |
32 COMPONENT_ARCHIVE_URL= ftp://ftp.gnupg.org/gcrypt/libassuan/$(COMPONENT_ARCHIVE) |
32 COMPONENT_ARCHIVE_URL= ftp://ftp.gnupg.org/gcrypt/libassuan/$(COMPONENT_ARCHIVE) |
33 COMPONENT_BUGDB= utility/gnupg |
33 COMPONENT_BUGDB= utility/gnupg |
34 |
34 |
35 TPNO= 18558 |
35 TPNO= 22290 |
36 |
36 |
37 include $(WS_MAKE_RULES)/prep.mk |
37 include $(WS_MAKE_RULES)/prep.mk |
38 include $(WS_MAKE_RULES)/configure.mk |
38 include $(WS_MAKE_RULES)/configure.mk |
39 include $(WS_MAKE_RULES)/ips.mk |
39 include $(WS_MAKE_RULES)/ips.mk |
40 |
40 |
51 CFLAGS += $(XPG6MODE) |
51 CFLAGS += $(XPG6MODE) |
52 CFLAGS += $(CPP_POSIX) |
52 CFLAGS += $(CPP_POSIX) |
53 CFLAGS += $(CPP_C99_EXTENDED_MATH) |
53 CFLAGS += $(CPP_C99_EXTENDED_MATH) |
54 CFLAGS += $(studio_PIC) |
54 CFLAGS += $(studio_PIC) |
55 |
55 |
|
56 COMPONENT_TEST_MASTER = \ |
|
57 $(COMPONENT_TEST_RESULTS_DIR)/results-libassuan.master |
|
58 |
|
59 COMPONENT_TEST_TRANSFORMS += \ |
|
60 '-e "s/fdpassing\[[0-9]\{1,9\}\]\: //g"' \ |
|
61 '-e "s/ Pleased to meet you, process [0-9]\{1,9\}//g"' \ |
|
62 '-e "s/chan_[0-9]\{1,9\}/chan/g"' |
|
63 |
56 CONFIGURE_ENV += CFLAGS="$(CFLAGS)" |
64 CONFIGURE_ENV += CFLAGS="$(CFLAGS)" |
57 CONFIGURE_ENV += INSTALL="$(INSTALL)" |
65 CONFIGURE_ENV += INSTALL="$(INSTALL)" |
58 |
66 |
59 CONFIGURE_OPTIONS += --localstatedir=/var |
67 CONFIGURE_OPTIONS += --localstatedir=/var |
60 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
68 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
61 CONFIGURE_OPTIONS += --enable-shared |
69 CONFIGURE_OPTIONS += --enable-shared |
62 CONFIGURE_OPTIONS += --disable-static |
70 CONFIGURE_OPTIONS += --disable-static |
|
71 CONFIGURE_OPTIONS += --disable-silent-rules |
63 CONFIGURE_OPTIONS += --with-gpg-error-prefix=$(CONFIGURE_PREFIX) |
72 CONFIGURE_OPTIONS += --with-gpg-error-prefix=$(CONFIGURE_PREFIX) |
64 CONFIGURE_OPTIONS += --with-pic |
73 CONFIGURE_OPTIONS += --with-pic |
65 |
74 |
66 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
75 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
67 |
76 |
71 |
80 |
72 install: $(INSTALL_32_and_64) |
81 install: $(INSTALL_32_and_64) |
73 |
82 |
74 test: $(TEST_32_and_64) |
83 test: $(TEST_32_and_64) |
75 |
84 |
76 |
85 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
77 |
86 |
78 REQUIRED_PACKAGES += library/security/libgpg-error |
87 REQUIRED_PACKAGES += library/security/libgpg-error |
79 REQUIRED_PACKAGES += shell/ksh93 |
88 REQUIRED_PACKAGES += shell/ksh93 |
80 REQUIRED_PACKAGES += system/library |
89 REQUIRED_PACKAGES += system/library |