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= ftp-proxy |
|
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 [email protected]:/cvs |
|
31 CVS_PATH=src/usr.sbin/ftp-proxy |
|
32 CVS_HASH= sha256:fc4487a5ea3f8f088d8096d512bda15c99b811db9d66fee44bdd40aa93122403 |
|
33 CVS_TAG=$(COMPONENT_VERSION) |
|
34 COMPONENT_BUGDB= service/ftp-proxy |
|
35 |
|
36 TPNO= 24255 |
|
37 |
|
38 # |
|
39 # Don't overwrite CFLAGS here, just add our options there. |
|
40 # |
|
41 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS) -D_SOLARIS_ -DOBSD_COMP -lscf" |
|
42 COMPONENT_BUILD_ARGS += CC="$(CC)" |
|
43 |
|
44 include ../../make-rules/prep.mk |
|
45 include ../../make-rules/justmake.mk |
|
46 include ../../make-rules/ips.mk |
|
47 |
|
48 COMPONENT_INSTALL_ARGS += PREFIX=$(PROTOUSRDIR) |
|
49 COMPONENT_INSTALL_ARGS += MANDIR=$(PROTOUSRSHAREMANDIR) |
|
50 COMPONENT_INSTALL_ARGS += INSTALL=/usr/gnu/bin/install |
|
51 |
|
52 ASLR_MODE = $(ASLR_ENABLE) |
|
53 |
|
54 # common targets |
|
55 build: $(BUILD_64) |
|
56 |
|
57 install: $(INSTALL_64) |
|
58 |
|
59 test: $(NO_TESTS) |
|
60 |
|
61 REQUIRED_PACKAGES += library/libevent |
|
62 REQUIRED_PACKAGES += network/firewall |
|
63 REQUIRED_PACKAGES += shell/ksh93 |
|
64 REQUIRED_PACKAGES += system/core-os |
|
65 REQUIRED_PACKAGES += system/header |
|
66 REQUIRED_PACKAGES += system/library |
|