author | Rich Burridge <rich.burridge@oracle.com> |
Tue, 07 Feb 2017 09:08:08 -0800 | |
changeset 7650 | 2e39c59b83f8 |
parent 6865 | 1cc50ab79b8c |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
213
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
21 |
|
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
7650
2e39c59b83f8
23210063 Upgrade Snort to 2.9.9.0
Rich Burridge <rich.burridge@oracle.com>
parents:
6865
diff
changeset
|
23 |
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
213
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5066
diff
changeset
|
25 |
BUILD_BITS= 64 |
7650
2e39c59b83f8
23210063 Upgrade Snort to 2.9.9.0
Rich Burridge <rich.burridge@oracle.com>
parents:
6865
diff
changeset
|
26 |
COMPILER= gcc |
213
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
27 |
include ../../make-rules/shared-macros.mk |
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
28 |
|
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
29 |
COMPONENT_NAME= snort |
7650
2e39c59b83f8
23210063 Upgrade Snort to 2.9.9.0
Rich Burridge <rich.burridge@oracle.com>
parents:
6865
diff
changeset
|
30 |
COMPONENT_VERSION= 2.9.9.0 |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
213
diff
changeset
|
31 |
COMPONENT_ARCHIVE_HASH= \ |
7650
2e39c59b83f8
23210063 Upgrade Snort to 2.9.9.0
Rich Burridge <rich.burridge@oracle.com>
parents:
6865
diff
changeset
|
32 |
sha256:71b147125e96390a12f3d55796ed5073df77206bd3563d84d3e5a1f19e7d7a56 |
213
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
33 |
COMPONENT_PROJECT_URL= http://www.snort.org/ |
7650
2e39c59b83f8
23210063 Upgrade Snort to 2.9.9.0
Rich Burridge <rich.burridge@oracle.com>
parents:
6865
diff
changeset
|
34 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)downloads/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
213
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
35 |
|
7650
2e39c59b83f8
23210063 Upgrade Snort to 2.9.9.0
Rich Burridge <rich.burridge@oracle.com>
parents:
6865
diff
changeset
|
36 |
TPNO= 33599 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1345
diff
changeset
|
37 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5066
diff
changeset
|
38 |
TEST_TARGET= $(NO_TESTS) |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5066
diff
changeset
|
39 |
include $(WS_MAKE_RULES)/common.mk |
213
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
40 |
|
7650
2e39c59b83f8
23210063 Upgrade Snort to 2.9.9.0
Rich Burridge <rich.burridge@oracle.com>
parents:
6865
diff
changeset
|
41 |
# snort 2.9.8.3 (and later) requires automake/autoconf >= 1.14, but Userland |
2e39c59b83f8
23210063 Upgrade Snort to 2.9.9.0
Rich Burridge <rich.burridge@oracle.com>
parents:
6865
diff
changeset
|
42 |
# default is older than what is needed. So hard-coding to the next available, |
2e39c59b83f8
23210063 Upgrade Snort to 2.9.9.0
Rich Burridge <rich.burridge@oracle.com>
parents:
6865
diff
changeset
|
43 |
# 1.15: "--add-missing" needed to use default "compile" script. |
2e39c59b83f8
23210063 Upgrade Snort to 2.9.9.0
Rich Burridge <rich.burridge@oracle.com>
parents:
6865
diff
changeset
|
44 |
AUTOMAKE=/usr/bin/automake-1.15 --add-missing |
2e39c59b83f8
23210063 Upgrade Snort to 2.9.9.0
Rich Burridge <rich.burridge@oracle.com>
parents:
6865
diff
changeset
|
45 |
ACLOCAL=/usr/bin/aclocal-1.15 |
1345
ee87318d9935
PSARC 2013/113 snort 2.9.2
Rich Burridge <rich.burridge@oracle.com>
parents:
1156
diff
changeset
|
46 |
|
ee87318d9935
PSARC 2013/113 snort 2.9.2
Rich Burridge <rich.burridge@oracle.com>
parents:
1156
diff
changeset
|
47 |
# Need to recreate the configure script for gethrtime checks. |
7650
2e39c59b83f8
23210063 Upgrade Snort to 2.9.9.0
Rich Burridge <rich.burridge@oracle.com>
parents:
6865
diff
changeset
|
48 |
COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv); |
213
7d4229dba5ed
7041863 move snort to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
49 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5066
diff
changeset
|
50 |
CONFIGURE_OPTIONS += --with-libpcre-libraries="$(USRLIBDIR64)" |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5066
diff
changeset
|
51 |
CONFIGURE_OPTIONS += --with-dnet-libraries="$(USRLIBDIR64)" |
1345
ee87318d9935
PSARC 2013/113 snort 2.9.2
Rich Burridge <rich.burridge@oracle.com>
parents:
1156
diff
changeset
|
52 |
CONFIGURE_OPTIONS += --disable-static-daq |
ee87318d9935
PSARC 2013/113 snort 2.9.2
Rich Burridge <rich.burridge@oracle.com>
parents:
1156
diff
changeset
|
53 |
|
7650
2e39c59b83f8
23210063 Upgrade Snort to 2.9.9.0
Rich Burridge <rich.burridge@oracle.com>
parents:
6865
diff
changeset
|
54 |
REQUIRED_PACKAGES += compress/xz |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
55 |
REQUIRED_PACKAGES += developer/lexer/flex |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
56 |
REQUIRED_PACKAGES += developer/parser/bison |
7650
2e39c59b83f8
23210063 Upgrade Snort to 2.9.9.0
Rich Burridge <rich.burridge@oracle.com>
parents:
6865
diff
changeset
|
57 |
REQUIRED_PACKAGES += library/nghttp2 |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
58 |
REQUIRED_PACKAGES += library/pcre |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
59 |
REQUIRED_PACKAGES += library/security/openssl |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
60 |
REQUIRED_PACKAGES += library/security/openssl/openssl-fips-140 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
61 |
REQUIRED_PACKAGES += library/zlib |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
62 |
REQUIRED_PACKAGES += shell/ksh93 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
63 |
REQUIRED_PACKAGES += system/core-os |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
64 |
REQUIRED_PACKAGES += system/library/libdaq |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
65 |
REQUIRED_PACKAGES += system/library/libdnet |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
66 |
REQUIRED_PACKAGES += system/library/libpcap |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
67 |
REQUIRED_PACKAGES += system/library/math |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
68 |
REQUIRED_PACKAGES += system/network |