author | Rich Burridge <rich.burridge@oracle.com> |
Tue, 18 Apr 2017 09:13:23 -0700 | |
changeset 7899 | 7593c955687c |
parent 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
431
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
1 |
# |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
3 |
# |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
7 |
# |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
12 |
# |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
18 |
# |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
20 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5272
diff
changeset
|
21 |
|
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5272
diff
changeset
|
22 |
# |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
6953
diff
changeset
|
23 |
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
431
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@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:
5272
diff
changeset
|
25 |
# Prefer 32-bit as only "binary" delivered is a script with embedded paths. |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5272
diff
changeset
|
26 |
BUILD_BITS= 32_and_64 |
431
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
27 |
include ../../make-rules/shared-macros.mk |
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
28 |
|
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_NAME= libpcap |
4761
0904e6cd33e4
20852790 update to libpcap 1.7.4
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
30 |
COMPONENT_VERSION= 1.7.4 |
609
775168282b2f
7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents:
431
diff
changeset
|
31 |
COMPONENT_PROJECT_URL= http://www.tcpdump.org/ |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
609
diff
changeset
|
32 |
COMPONENT_ARCHIVE_HASH= \ |
4761
0904e6cd33e4
20852790 update to libpcap 1.7.4
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
33 |
sha256:7ad3112187e88328b85e46dce7a9b949632af18ee74d97ffc3f2b41fe7f448b0 |
609
775168282b2f
7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents:
431
diff
changeset
|
34 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE) |
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
800
diff
changeset
|
35 |
COMPONENT_BUGDB= library/libpcap |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
6953
diff
changeset
|
36 |
COMPONENT_ANITYA_ID= 1702 |
431
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
37 |
|
4761
0904e6cd33e4
20852790 update to libpcap 1.7.4
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4339
diff
changeset
|
38 |
TPNO= 23891 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1631
diff
changeset
|
39 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5272
diff
changeset
|
40 |
TEST_TARGET= $(NO_TESTS) |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5272
diff
changeset
|
41 |
include $(WS_MAKE_RULES)/common.mk |
431
e60e527b8179
7068506 Move libpcap from SFW to userland
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
42 |
|
5029
77413b29eb5a
22107485 More Userland component man page normalizations
Rich Burridge <rich.burridge@oracle.com>
parents:
4761
diff
changeset
|
43 |
# Rebuild the configure script so the man pages are normalized. |
77413b29eb5a
22107485 More Userland component man page normalizations
Rich Burridge <rich.burridge@oracle.com>
parents:
4761
diff
changeset
|
44 |
COMPONENT_PREP_ACTION = (cd $(@D); autoconf); |
77413b29eb5a
22107485 More Userland component man page normalizations
Rich Burridge <rich.burridge@oracle.com>
parents:
4761
diff
changeset
|
45 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5272
diff
changeset
|
46 |
# libpcap Makefile does not use CFLAGS when building shared library. |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5272
diff
changeset
|
47 |
LDFLAGS += $(CC_BITS) |
1434
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1058
diff
changeset
|
48 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5272
diff
changeset
|
49 |
CFLAGS += -D_SYS_REGSET_H |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5272
diff
changeset
|
50 |
CFLAGS += -DHAVE_CONFIG_H |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5272
diff
changeset
|
51 |
CONFIGURE_OPTIONS += --disable-dbus |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
52 |
|
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
53 |
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
|
54 |
REQUIRED_PACKAGES += developer/parser/bison |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
55 |
REQUIRED_PACKAGES += shell/ksh93 |
6953
04ea750165c9
19892555 nmap and libpcap are missing the bpf dependency
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
56 |
REQUIRED_PACKAGES += system/network/bpf |