Makefile revision 5680
151N/A#
151N/A# CDDL HEADER START
151N/A#
151N/A# The contents of this file are subject to the terms of the
1351N/A# Common Development and Distribution License (the "License").
151N/A# You may not use this file except in compliance with the License.
151N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A
919N/A#
919N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
919N/A#
151N/ABUILD_BITS= 64
151N/Ainclude ../../make-rules/shared-macros.mk
151N/A
151N/ACOMPONENT_NAME= snort
493N/ACOMPONENT_VERSION= 2.9.6.2
151N/ACOMPONENT_ARCHIVE_HASH= \
151N/A sha256:8e1d7fc5e1523a786d845ca0102cc474abfcebfcc7e964a1653680034b5b5d77
1351N/ACOMPONENT_PROJECT_URL= http://www.snort.org/
151N/ACOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/snort.mirror/files/Snort%202.9.6.2/$(COMPONENT_ARCHIVE)/download
911N/A
1351N/ATPNO= 19385
1351N/A
911N/ATEST_TARGET= $(NO_TESTS)
151N/Ainclude $(WS_MAKE_RULES)/common.mk
151N/A
151N/APATCH_LEVEL = 0
151N/A
151N/A# without this we bus error on sparc. sadly I don't see any patches
151N/A# that might relate from the upstream (though maybe that's really
151N/A# "happily", as this is simpler)
151N/Astudio_ALIGN.sparc.64= -xmemalign=1i
493N/A
969N/A# Need to recreate the configure script for gethrtime checks.
151N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoconf);
970N/A
970N/ACONFIGURE_OPTIONS += --with-libpcre-libraries="$(USRLIBDIR64)"
970N/ACONFIGURE_OPTIONS += --with-dnet-libraries="$(USRLIBDIR64)"
970N/ACONFIGURE_OPTIONS += --without-mysql
151N/ACONFIGURE_OPTIONS += --without-postgresql
151N/ACONFIGURE_OPTIONS += --enable-zlib
151N/ACONFIGURE_OPTIONS += --enable-ipv6
151N/ACONFIGURE_OPTIONS += --disable-static-daq
493N/A
151N/A# Move snort shared objects to 64-bit path to stop pkglint bitching.
970N/ACOMPONENT_POST_INSTALL_ACTION += \
970N/A $(MV) $(PROTOUSRLIBDIR)/snort_dynamicengine $(PROTOUSRLIBDIR64); \
970N/A $(MV) $(PROTOUSRLIBDIR)/snort_dynamicpreprocessor $(PROTOUSRLIBDIR64) ;
151N/A
REQUIRED_PACKAGES += developer/lexer/flex
REQUIRED_PACKAGES += developer/parser/bison
REQUIRED_PACKAGES += library/pcre
REQUIRED_PACKAGES += library/security/openssl
REQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
REQUIRED_PACKAGES += library/zlib
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/core-os
REQUIRED_PACKAGES += system/library/libdaq
REQUIRED_PACKAGES += system/library/libdnet
REQUIRED_PACKAGES += system/library/libpcap
REQUIRED_PACKAGES += system/library/math
REQUIRED_PACKAGES += system/network