|
1 # |
|
2 # CDDL HEADER START |
|
3 # |
|
4 # The contents of this file are subject to the terms of the |
|
5 # Common Development and Distribution License (the "License"). |
|
6 # You may not use this file except in compliance with the License. |
|
7 # |
|
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 # or http://www.opensolaris.org/os/licensing. |
|
10 # See the License for the specific language governing permissions |
|
11 # and limitations under the License. |
|
12 # |
|
13 # When distributing Covered Code, include this CDDL HEADER in each |
|
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 # If applicable, add the following below this CDDL HEADER, with the |
|
16 # fields enclosed by brackets "[]" replaced with your own identifying |
|
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 # |
|
19 # CDDL HEADER END |
|
20 # |
|
21 # Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
|
22 # |
|
23 include ../../make-rules/shared-macros.mk |
|
24 |
|
25 COMPONENT_NAME= pflogd |
|
26 COMPONENT_VERSION= OPENBSD_5_5 |
|
27 IPS_COMPONENT_VERSION= 5.5 |
|
28 COMPONENT_PROJECT_URL= http://www.openbsd.org |
|
29 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
30 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
|
31 COMPONENT_ARCHIVE_URL= . |
|
32 COMPONENT_ARCHIVE_HASH= sha256:cfa97a28da9c4c5d07a2c6c8225e867d031417a427effb7152f9e8beea614957 |
|
33 CLEAN_PATHS += $(COMPONENT_SRC) |
|
34 CLOBBER_PATHS += $(COMPONENT_ARCHIVE) |
|
35 COMPONENT_BUGDB= service/pflogd |
|
36 |
|
37 TPNO= 24254 |
|
38 |
|
39 # |
|
40 # Don't overwrite CFLAGS here, just add our options there. |
|
41 # |
|
42 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS) -D_SOLARIS_ -DOBSD_COMP -lscf" |
|
43 COMPONENT_BUILD_ARGS += CC="$(CC)" |
|
44 |
|
45 include $(WS_MAKE_RULES)/prep.mk |
|
46 include $(WS_MAKE_RULES)/justmake.mk |
|
47 include $(WS_MAKE_RULES)/ips.mk |
|
48 |
|
49 COMPONENT_INSTALL_ARGS += PREFIX=$(PROTOUSRDIR) |
|
50 COMPONENT_INSTALL_ARGS += MANDIR=$(PROTOUSRSHAREMANDIR) |
|
51 COMPONENT_INSTALL_ARGS += INSTALL=/usr/gnu/bin/install |
|
52 |
|
53 # common targets |
|
54 build: $(BUILD_64) |
|
55 |
|
56 install: $(INSTALL_64) |
|
57 |
|
58 test: $(NO_TESTS) |
|
59 |
|
60 REQUIRED_PACKAGES += network/firewall |
|
61 REQUIRED_PACKAGES += shell/ksh93 |
|
62 REQUIRED_PACKAGES += system/core-os |
|
63 REQUIRED_PACKAGES += system/header |
|
64 REQUIRED_PACKAGES += system/library |
|
65 REQUIRED_PACKAGES += system/library/libpcap |
|
66 |