author | Danek Duvall <danek.duvall@oracle.com> |
Thu, 15 Sep 2016 11:53:59 -0700 | |
changeset 6911 | 7b878dfe6f0d |
parent 5682 | 94c0ca64c022 |
permissions | -rw-r--r-- |
5618
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
1 |
# |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
3 |
# |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
7 |
# |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
12 |
# |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
18 |
# |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
20 |
# |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
21 |
# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
22 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5636
diff
changeset
|
23 |
BUILD_BITS= 64 |
5618
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
24 |
include ../../make-rules/shared-macros.mk |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
25 |
|
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
26 |
COMPONENT_NAME= ftp-proxy |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
27 |
COMPONENT_VERSION= OPENBSD_5_5 |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
28 |
IPS_COMPONENT_VERSION= 5.5 |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_PROJECT_URL= http://www.openbsd.org |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
6911
7b878dfe6f0d
24661161 COMPONENT_SRC and COMPONENT_ARCHIVE are un-overridable in prep-*.mk
Danek Duvall <danek.duvall@oracle.com>
parents:
5682
diff
changeset
|
31 |
# The archive exists only in the userland cache. In order to update the cache, |
7b878dfe6f0d
24661161 COMPONENT_SRC and COMPONENT_ARCHIVE are un-overridable in prep-*.mk
Danek Duvall <danek.duvall@oracle.com>
parents:
5682
diff
changeset
|
32 |
# we have to get the sources via CVS manually and ask the gatekeepers to add it. |
5618
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
6911
7b878dfe6f0d
24661161 COMPONENT_SRC and COMPONENT_ARCHIVE are un-overridable in prep-*.mk
Danek Duvall <danek.duvall@oracle.com>
parents:
5682
diff
changeset
|
34 |
COMPONENT_ARCHIVE_URL= |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5636
diff
changeset
|
35 |
COMPONENT_ARCHIVE_SRC= cache |
5618
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
36 |
COMPONENT_ARCHIVE_HASH= sha256:372dbe0ca8c6b090842a9f0fbdd13b320dc37883137d3dc674d588448aa2d5e9 |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
37 |
COMPONENT_BUGDB= service/ftp-proxy |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
38 |
|
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
39 |
TPNO= 24255 |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
40 |
|
5636
de01957cc68c
22976661 do not publish ftp-proxy for BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
5618
diff
changeset
|
41 |
# Depends on S12-only changes in ON. |
de01957cc68c
22976661 do not publish ftp-proxy for BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
5618
diff
changeset
|
42 |
ifeq ($(BUILD_TYPE), evaluation) |
de01957cc68c
22976661 do not publish ftp-proxy for BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
5618
diff
changeset
|
43 |
BUILD_64= |
de01957cc68c
22976661 do not publish ftp-proxy for BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
5618
diff
changeset
|
44 |
INSTALL_64= |
de01957cc68c
22976661 do not publish ftp-proxy for BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
5618
diff
changeset
|
45 |
PUBLISH_STAMP= |
de01957cc68c
22976661 do not publish ftp-proxy for BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
5618
diff
changeset
|
46 |
endif |
de01957cc68c
22976661 do not publish ftp-proxy for BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
5618
diff
changeset
|
47 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5636
diff
changeset
|
48 |
BUILD_STYLE= justmake |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5636
diff
changeset
|
49 |
TEST_TARGET= $(NO_TESTS) |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5636
diff
changeset
|
50 |
include $(WS_MAKE_RULES)/common.mk |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5636
diff
changeset
|
51 |
|
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5636
diff
changeset
|
52 |
# |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5636
diff
changeset
|
53 |
# Don't overwrite CFLAGS here, just add our options there. |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5636
diff
changeset
|
54 |
# |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5636
diff
changeset
|
55 |
COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS) -D_SOLARIS_ -DOBSD_COMP -lscf" |
5618
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
56 |
|
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
57 |
COMPONENT_INSTALL_ARGS += PREFIX=$(PROTOUSRDIR) |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
58 |
COMPONENT_INSTALL_ARGS += MANDIR=$(PROTOUSRSHAREMANDIR) |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5636
diff
changeset
|
59 |
COMPONENT_INSTALL_ARGS += INSTALL=$(INSTALL) |
5618
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
60 |
|
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
61 |
REQUIRED_PACKAGES += library/libevent |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
62 |
REQUIRED_PACKAGES += network/firewall |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
63 |
REQUIRED_PACKAGES += shell/ksh93 |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
64 |
REQUIRED_PACKAGES += system/core-os |
a7df12d981ea
PSARC/2014/291 PFLOGD: Packet Logging for PF
Petr Hoffmann <petr.hoffmann@oracle.com>
parents:
diff
changeset
|
65 |
REQUIRED_PACKAGES += system/header |