components/php/suhosin-extension/Makefile
changeset 5682 94c0ca64c022
parent 4408 47b0133297d6
child 7687 1093e2a9adbd
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) 2015, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2015, 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 include $(WS_COMPONENTS)/php/php-metadata.mk
    27 include $(WS_COMPONENTS)/php/php-metadata.mk
    28 
    28 
    29 COMPONENT_NAME=		suhosin
    29 COMPONENT_NAME=		suhosin
    30 COMPONENT_VERSION=	0.9.37.1
    30 COMPONENT_VERSION=	0.9.37.1
    31 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    32 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
       
    33 COMPONENT_ARCHIVE_HASH= \
    31 COMPONENT_ARCHIVE_HASH= \
    34     sha256:322ba104a17196bae63d39404da103fd011b09fde0f02484dc44366511c586ba
    32     sha256:322ba104a17196bae63d39404da103fd011b09fde0f02484dc44366511c586ba
    35 COMPONENT_ARCHIVE_URL=	http://download.suhosin.org/$(COMPONENT_ARCHIVE)
    33 COMPONENT_ARCHIVE_URL=	http://download.suhosin.org/$(COMPONENT_ARCHIVE)
    36 COMPONENT_PROJECT_URL=	http://www.suhosin.org/
    34 COMPONENT_PROJECT_URL=	http://www.suhosin.org/
    37 
    35 
    38 TPNO=			22432
    36 TPNO=			22432
    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 
       
    44 include $(PHP_TOP_DIR)/phpize.mk
    39 include $(PHP_TOP_DIR)/phpize.mk
    45 
    40 
    46 CONFIGURE_OPTIONS += --enable-suhosin
    41 CONFIGURE_OPTIONS += --enable-suhosin
    47 
    42 
    48 # Run MySQL tests - requires MySQL (and maybe configuration!)
    43 # Run MySQL tests - requires MySQL (and maybe configuration!)
    49 #COMPONENT_TEST_ENV += TEST_SUHOSIN_MYSQL=1
    44 #COMPONENT_TEST_ENV += TEST_SUHOSIN_MYSQL=1
    50 
       
    51 configure: $(CONFIGURE_64)
       
    52 build: $(BUILD_64)
       
    53 install: $(INSTALL_64)
       
    54 test: $(TEST_64)
       
    55 
       
    56 REQUIRED_PACKAGES += system/library