components/fetchmail/Makefile
changeset 5682 94c0ca64c022
parent 5616 44893e18e88a
child 6049 d4f828709d1c
equal deleted inserted replaced
5681:b8fe51f35344 5682:94c0ca64c022
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 BUILD_BITS= 64
    26 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    27 
    27 
    28 COMPONENT_NAME=		fetchmail
    28 COMPONENT_NAME=		fetchmail
    29 COMPONENT_VERSION=	6.3.22
    29 COMPONENT_VERSION=	6.3.22
    30 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    31 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
    30 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
    32 COMPONENT_ARCHIVE_HASH=	\
    31 COMPONENT_ARCHIVE_HASH=	\
    33     sha256:09093168552119e962617f86f2713564cf6e3fe7fd32d6799aa0b87df28f1e89
    32     sha256:09093168552119e962617f86f2713564cf6e3fe7fd32d6799aa0b87df28f1e89
    34 COMPONENT_ARCHIVE_URL=	http://download.berlios.de/fetchmail/$(COMPONENT_ARCHIVE)
    33 COMPONENT_ARCHIVE_URL=	http://download.berlios.de/fetchmail/$(COMPONENT_ARCHIVE)
    35 COMPONENT_PROJECT_URL=	http://fetchmail.berlios.de/
    34 COMPONENT_PROJECT_URL=	http://fetchmail.berlios.de/
    36 COMPONENT_BUGDB=	utility/fetchmail
       
    37 
    35 
    38 TPNO=			8416
    36 TPNO=			8416
    39 
    37 
    40 include $(WS_MAKE_RULES)/prep.mk
    38 include $(WS_MAKE_RULES)/common.mk
    41 include $(WS_MAKE_RULES)/configure.mk
       
    42 include $(WS_MAKE_RULES)/ips.mk
       
    43 
    39 
    44 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
       
    45 CONFIGURE_OPTIONS  +=		PYTHON="$(PYTHON.2.7.32)"
    40 CONFIGURE_OPTIONS  +=		PYTHON="$(PYTHON.2.7.32)"
    46 CONFIGURE_OPTIONS  +=		--with-kerberos5
    41 CONFIGURE_OPTIONS  +=		--with-kerberos5
    47 CONFIGURE_OPTIONS  +=		--with-ssl
    42 CONFIGURE_OPTIONS  +=		--with-ssl
    48 CONFIGURE_OPTIONS  +=		--enable-NTLM
    43 CONFIGURE_OPTIONS  +=		--enable-NTLM
    49 
       
    50 ASLR_MODE = $(ASLR_ENABLE)
       
    51 
    44 
    52 # Change the shebang line to use Python 2.7 explicitly, and drop the
    45 # Change the shebang line to use Python 2.7 explicitly, and drop the
    53 # fixed file into /usr/bin, where our package manifest expects it.
    46 # fixed file into /usr/bin, where our package manifest expects it.
    54 COMPONENT_POST_INSTALL_ACTION = \
    47 COMPONENT_POST_INSTALL_ACTION = \
    55     $(GSED) -e "s|/usr/bin/env python|$(PYTHON.2.7.32)|" \
    48     $(GSED) -e "s|/usr/bin/env python|$(PYTHON.2.7.32)|" \
    58 
    51 
    59 COMPONENT_TEST_TRANSFORMS += \
    52 COMPONENT_TEST_TRANSFORMS += \
    60 	'-e "s|^.*$(CC).*$$|XXX_CC_XXX|"' \
    53 	'-e "s|^.*$(CC).*$$|XXX_CC_XXX|"' \
    61 	'-e "/^XXX_CC_XXX$$/d"'
    54 	'-e "/^XXX_CC_XXX$$/d"'
    62 
    55 
    63 configure:	$(CONFIGURE_64)
       
    64 
       
    65 build:		$(BUILD_64)
       
    66 
       
    67 install:	$(INSTALL_64)
       
    68 
       
    69 test:		$(TEST_64)
       
    70 
       
    71 system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
       
    72 
       
    73 REQUIRED_PACKAGES += library/python/tkinter-27
    56 REQUIRED_PACKAGES += library/python/tkinter-27
    74 REQUIRED_PACKAGES += library/security/openssl
    57 REQUIRED_PACKAGES += library/security/openssl
    75 REQUIRED_PACKAGES += runtime/python-27
    58 REQUIRED_PACKAGES += runtime/python-27
    76 REQUIRED_PACKAGES += service/security/kerberos-5
    59 REQUIRED_PACKAGES += service/security/kerberos-5
    77 REQUIRED_PACKAGES += shell/ksh93
    60 REQUIRED_PACKAGES += shell/ksh93
    78 REQUIRED_PACKAGES += system/library