components/proftpd/Makefile
author Neng Xue <neng.xue@oracle.com>
Tue, 08 Nov 2016 14:26:34 -0800
changeset 7270 2a82983df5d6
parent 7245 934578b959f0
child 7687 1093e2a9adbd
permissions -rw-r--r--
23333808 Userland Makefiles need updating once Userland bld systems all have Userland krb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
     1
#
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
     3
#
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
     7
#
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    12
#
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    18
#
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    20
#
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    21
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@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: 5616
diff changeset
    23
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    24
#
5971
065a45513062 22835306 proftpd should be 64-bit
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 5856
diff changeset
    25
BUILD_BITS= 64
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    27
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		proftpd
1952
edbaa9c65514 18771389 Update proftpd to 1.3.5
Tomas Klacko <tomas.klacko@oracle.com>
parents: 1948
diff changeset
    29
COMPONENT_VERSION=	1.3.5
5856
0f3d50fefade 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 5706
diff changeset
    30
COMPONENT_SUBVERSION=	b
582
f788d69e0553 7085723 use pkg.human-version
Rich Burridge <rich.burridge@oracle.com>
parents: 455
diff changeset
    31
HUMAN_VERSION=		$(COMPONENT_VERSION)$(COMPONENT_SUBVERSION)
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 606
diff changeset
    32
COMPONENT_PROJECT_URL=	http://www.proftpd.org/
582
f788d69e0553 7085723 use pkg.human-version
Rich Burridge <rich.burridge@oracle.com>
parents: 455
diff changeset
    33
COMPONENT_SRC=		$(COMPONENT_NAME)-$(HUMAN_VERSION)
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
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
    35
COMPONENT_ARCHIVE_HASH=	\
5856
0f3d50fefade 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 5706
diff changeset
    36
    sha256:afc1789f2478acf88dfdc7d70da90a4fa2786d628218e9574273295d044b4fc8
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    37
COMPONENT_ARCHIVE_URL=	ftp://ftp.proftpd.org/distrib/source/$(COMPONENT_ARCHIVE)
4951
8ac3d1ff666a 22040704 update COMPONENT_BUGDB in components/proftpd/Makefile
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 4339
diff changeset
    38
COMPONENT_BUGDB=	service/proftpd
5856
0f3d50fefade 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 5706
diff changeset
    39
TPNO_PROFTPD=		27604
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    40
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    41
# mod_gss subcomponent
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    42
COMPONENT_NAME_1=	mod_gss
1343
a66d36656846 16191277 problem in SERVICE/FTP-SERVER
Tomas Klacko <tomas.klacko@oracle.com>
parents: 1205
diff changeset
    43
COMPONENT_VERSION_1=	1.3.6
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    44
COMPONENT_SRC_1=	$(COMPONENT_NAME_1)-$(COMPONENT_VERSION_1)
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    45
COMPONENT_ARCHIVE_1=	$(COMPONENT_SRC_1).tar.gz
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
    46
COMPONENT_ARCHIVE_HASH_1= \
1343
a66d36656846 16191277 problem in SERVICE/FTP-SERVER
Tomas Klacko <tomas.klacko@oracle.com>
parents: 1205
diff changeset
    47
    sha256:bd1cb3f8ba0668981beb54d8b4de10ab204199327a464debd9da19196bbb23c4
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    48
COMPONENT_ARCHIVE_URL_1= http://downloads.sourceforge.net/gssmod/$(COMPONENT_ARCHIVE_1)
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1854
diff changeset
    49
TPNO_MOD_GSS=		13480
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1854
diff changeset
    50
6012
4a50ae908977 23294068 do not publish proftpd when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5972
diff changeset
    51
# Requires 64-bit version of libwrap from ON, available in S12 but not 11.3,
4a50ae908977 23294068 do not publish proftpd when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5972
diff changeset
    52
# so do not publish.
4a50ae908977 23294068 do not publish proftpd when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5972
diff changeset
    53
ifeq ($(BUILD_TYPE), evaluation)
4a50ae908977 23294068 do not publish proftpd when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5972
diff changeset
    54
BUILD_64=
4a50ae908977 23294068 do not publish proftpd when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5972
diff changeset
    55
INSTALL_64=
4a50ae908977 23294068 do not publish proftpd when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5972
diff changeset
    56
PUBLISH_STAMP=
4a50ae908977 23294068 do not publish proftpd when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5972
diff changeset
    57
endif
4a50ae908977 23294068 do not publish proftpd when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5972
diff changeset
    58
7245
934578b959f0 20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents: 6700
diff changeset
    59
# Enable adiheap and adistack security extensions
934578b959f0 20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents: 6700
diff changeset
    60
ADIHEAP_MODE =	$(ADIHEAP_ENABLE)
934578b959f0 20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents: 6700
diff changeset
    61
ADISTACK_MODE =	$(ADISTACK_ENABLE)
934578b959f0 20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents: 6700
diff changeset
    62
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5616
diff changeset
    63
# libcheck and specific Perl Test::Unit version is required for full test
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5616
diff changeset
    64
TEST_TARGET= $(SKIP_TEST)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5616
diff changeset
    65
include $(WS_MAKE_RULES)/common.mk
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    66
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    67
# IPS_COMPONENT_VERSION is by default set to $(COMPONENT_VERSION) but it is not
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    68
# enough for us. We need to include the $(COMPONENT_SUBVERSION) somehow.
5972
e58388dcef63 23247687 ProFTPd: pkg ver. fix after - update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 5971
diff changeset
    69
# Because the IPS_COMPONENT_VERSION cannot contain letters
e58388dcef63 23247687 ProFTPd: pkg ver. fix after - update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 5971
diff changeset
    70
# ...we will use '.2' instead of 'b'.
e58388dcef63 23247687 ProFTPd: pkg ver. fix after - update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 5971
diff changeset
    71
IPS_COMPONENT_VERSION=  $(COMPONENT_VERSION).2
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    72
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5616
diff changeset
    73
CFLAGS += -I$(USRINCDIR)/kerberosv5 -DHAVE_KRB5_H=1 -DKRB5_DLLIMP= -DHAVE__GETGRPSBYMEMBER -D_SOLARIS_DTRACE
5706
87efc4971896 23034037 proftpd needs -D_POSIX_PTHREAD_SEMANTICS on S11
John Beck <John.Beck@Oracle.COM>
parents: 5682
diff changeset
    74
ifeq ($(OS_VERSION), 5.11)
87efc4971896 23034037 proftpd needs -D_POSIX_PTHREAD_SEMANTICS on S11
John Beck <John.Beck@Oracle.COM>
parents: 5682
diff changeset
    75
CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
87efc4971896 23034037 proftpd needs -D_POSIX_PTHREAD_SEMANTICS on S11
John Beck <John.Beck@Oracle.COM>
parents: 5682
diff changeset
    76
endif
5971
065a45513062 22835306 proftpd should be 64-bit
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 5856
diff changeset
    77
LDFLAGS +=	-m$(BITS)
6700
1c5631bc6bd3 24303566 proftpd should disable lazy binding to simplify chroot (fix comment)
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 6699
diff changeset
    78
# Force immediate (no-lazy) binding because of chroot() can loose the access into (/usr)/lib
6699
c08d869c3db7 24303566 proftpd should disable lazy binding to simplify chroot.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 6069
diff changeset
    79
LDFLAGS +=	-z guidance=nolazyload -z nolazyload -lbsm
5706
87efc4971896 23034037 proftpd needs -D_POSIX_PTHREAD_SEMANTICS on S11
John Beck <John.Beck@Oracle.COM>
parents: 5682
diff changeset
    80
1365
449992904128 16555453 proftpd build fails if LOGNAME not in environment
Tomas Klacko <tomas.klacko@oracle.com>
parents: 1343
diff changeset
    81
CONFIGURE_OPTIONS +=	install_user=`id -nu`
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    82
CONFIGURE_OPTIONS +=	install_group=`groups | cut -f 1 -d ' '`
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    83
CONFIGURE_OPTIONS +=	--sysconfdir=$(ETCDIR)
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5616
diff changeset
    84
CONFIGURE_OPTIONS +=	--localstatedir=$(VARDIR)/run
5971
065a45513062 22835306 proftpd should be 64-bit
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 5856
diff changeset
    85
CONFIGURE_OPTIONS +=	--libexecdir=$(USRLIBDIR)/proftpd/$(MACH64)
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    86
CONFIGURE_OPTIONS +=	--enable-ipv6
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    87
CONFIGURE_OPTIONS +=	--enable-ctrls
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    88
CONFIGURE_OPTIONS +=	--enable-facl
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    89
CONFIGURE_OPTIONS +=	--enable-nls
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    90
CONFIGURE_OPTIONS +=	--enable-dso
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    91
CONFIGURE_OPTIONS +=	--enable-openssl
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    92
CONFIGURE_OPTIONS +=	--disable-static
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    93
CONFIGURE_OPTIONS +=	--with-modules=mod_solaris_audit:mod_solaris_priv
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    94
CONFIGURE_OPTIONS +=	--with-shared=mod_facl:mod_wrap:mod_tls:mod_auth_gss:mod_gss
437
1b84695d4fb4 7070515 proftpd should have bigger buffer than 1kB
Milan Jurik <Milan.Jurik@oracle.com>
parents: 305
diff changeset
    95
CONFIGURE_OPTIONS +=	--enable-buffer-size=16384
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    96
3932
1b7dd68f6aa9 20553228 add proftpd dtrace provider from AK to Userland
Tomas Klacko <tomas.klacko@oracle.com>
parents: 3817
diff changeset
    97
# Copy Solaris modules and GSSAPI modules to proftpd source tree.
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    98
COMPONENT_PRE_CONFIGURE_ACTION = \
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    99
	($(CP) mod_solaris_audit.c $(SOURCE_DIR)/contrib ; \
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   100
	$(CP) mod_solaris_priv.c $(SOURCE_DIR)/contrib ; \
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   101
	cd $(BUILD_DIR) ; \
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   102
	$(UNPACK) $(UNPACK_ARGS) ../$(COMPONENT_ARCHIVE_1) ; \
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   103
	cd $(COMPONENT_SRC_1) ; \
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   104
	./configure CC="$(CC)" CFLAGS="-I/usr/include/kerberosv5" ; \
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   105
	$(CP) mod_gss.c mod_auth_gss.c $(SOURCE_DIR)/contrib ; \
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   106
	$(CP) mod_gss.h $(SOURCE_DIR)/include ; \
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   107
	$(CP) mod_gss.html $(SOURCE_DIR)/doc/contrib ; \
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   108
	$(CLONEY) $(SOURCE_DIR) $(@D))
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   109
3932
1b7dd68f6aa9 20553228 add proftpd dtrace provider from AK to Userland
Tomas Klacko <tomas.klacko@oracle.com>
parents: 3817
diff changeset
   110
# Build Solaris dtrace object files and copy to proftpd build tree.
1b7dd68f6aa9 20553228 add proftpd dtrace provider from AK to Userland
Tomas Klacko <tomas.klacko@oracle.com>
parents: 3817
diff changeset
   111
COMPONENT_PRE_BUILD_ACTION = \
5971
065a45513062 22835306 proftpd should be 64-bit
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 5856
diff changeset
   112
	(cd dtrace && make CP="$(CP)" CC="$(CC)" BD="$(BUILD_DIR)/$(MACH$(BITS))" BITS="$(BITS)")
3932
1b7dd68f6aa9 20553228 add proftpd dtrace provider from AK to Userland
Tomas Klacko <tomas.klacko@oracle.com>
parents: 3817
diff changeset
   113
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   114
# proftpd configure and build is not ready for run out of the source tree
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   115
CONFIGURE_SCRIPT =	$(@D)/configure
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   116
1205
6c6c27bcf9ac 16431724 Adjust how license text and Oracle internal tracking numbers are propagated
Rich Burridge <rich.burridge@oracle.com>
parents: 1058
diff changeset
   117
# Do not apply the standard license transforms for this component. The
6c6c27bcf9ac 16431724 Adjust how license text and Oracle internal tracking numbers are propagated
Rich Burridge <rich.burridge@oracle.com>
parents: 1058
diff changeset
   118
# license actions in the proftpd.p5m file are already tagged with the
6c6c27bcf9ac 16431724 Adjust how license text and Oracle internal tracking numbers are propagated
Rich Burridge <rich.burridge@oracle.com>
parents: 1058
diff changeset
   119
# attributes.
6c6c27bcf9ac 16431724 Adjust how license text and Oracle internal tracking numbers are propagated
Rich Burridge <rich.burridge@oracle.com>
parents: 1058
diff changeset
   120
LICENSE_TRANSFORMS =
6c6c27bcf9ac 16431724 Adjust how license text and Oracle internal tracking numbers are propagated
Rich Burridge <rich.burridge@oracle.com>
parents: 1058
diff changeset
   121
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   122
REQUIRED_PACKAGES += library/security/openssl
6069
a6fcd06e4cc9 23472276 tweak cyrus-sasl/openssh/proftpd/wireshark REQUIRED_PACKAGES for 11.3 and 12
John Beck <John.Beck@Oracle.COM>
parents: 6049
diff changeset
   123
REQUIRED_PACKAGES += security/kerberos-5
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   124
REQUIRED_PACKAGES += shell/ksh93
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   125
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
   126
REQUIRED_PACKAGES += system/network