components/proftpd/Makefile
author Jiri Sasek <Jiri.Sasek@Oracle.COM>
Fri, 06 May 2016 10:01:27 -0700
branchs11u3-sru
changeset 5990 5ac938106574
parent 5989 d41cf9a8ea6f
child 7097 57c60272f142
permissions -rw-r--r--
23176736 ProFTPd: Enable ASLR.
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
#
5989
d41cf9a8ea6f 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 4303
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
#
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    25
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
3224
589e0e82672d 18771389 Update proftpd to 1.3.5
Tomas Klacko <tomas.klacko@oracle.com>
parents: 2724
diff changeset
    29
COMPONENT_VERSION=	1.3.5
5989
d41cf9a8ea6f 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 4303
diff changeset
    30
COMPONENT_SUBVERSION=	b
d41cf9a8ea6f 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 4303
diff changeset
    31
TPNO_PROFTPD=		27604
582
f788d69e0553 7085723 use pkg.human-version
Rich Burridge <rich.burridge@oracle.com>
parents: 455
diff changeset
    32
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
    33
COMPONENT_PROJECT_URL=	http://www.proftpd.org/
582
f788d69e0553 7085723 use pkg.human-version
Rich Burridge <rich.burridge@oracle.com>
parents: 455
diff changeset
    34
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
    35
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
    36
COMPONENT_ARCHIVE_HASH=	\
5989
d41cf9a8ea6f 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 4303
diff changeset
    37
    sha256:afc1789f2478acf88dfdc7d70da90a4fa2786d628218e9574273295d044b4fc8
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    38
COMPONENT_ARCHIVE_URL=	ftp://ftp.proftpd.org/distrib/source/$(COMPONENT_ARCHIVE)
2434
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents: 902
diff changeset
    39
COMPONENT_BUGDB=	service/ftp-server
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
2724
90c18e89db60 16191277 problem in SERVICE/FTP-SERVER
Tomas Klacko <tomas.klacko@oracle.com>
parents: 2712
diff changeset
    43
COMPONENT_VERSION_1=	1.3.6
5989
d41cf9a8ea6f 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 4303
diff changeset
    44
TPNO_MOD_GSS=		13480
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    45
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
    46
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
    47
COMPONENT_ARCHIVE_HASH_1= \
2724
90c18e89db60 16191277 problem in SERVICE/FTP-SERVER
Tomas Klacko <tomas.klacko@oracle.com>
parents: 2712
diff changeset
    48
    sha256:bd1cb3f8ba0668981beb54d8b4de10ab204199327a464debd9da19196bbb23c4
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    49
COMPONENT_ARCHIVE_URL_1= http://downloads.sourceforge.net/gssmod/$(COMPONENT_ARCHIVE_1)
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    50
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    51
include $(WS_MAKE_RULES)/prep.mk
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    52
include $(WS_MAKE_RULES)/configure.mk
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    53
include $(WS_MAKE_RULES)/ips.mk
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    54
5989
d41cf9a8ea6f 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 4303
diff changeset
    55
PKG_MACROS += COMPONENT_VERSION_1=$(COMPONENT_VERSION_1)
d41cf9a8ea6f 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 4303
diff changeset
    56
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    57
# 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
    58
# enough for us. We need to include the $(COMPONENT_SUBVERSION) somehow.
5989
d41cf9a8ea6f 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 4303
diff changeset
    59
# Because the IPS_COMPONENT_VERSION cannot contain letters
d41cf9a8ea6f 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 4303
diff changeset
    60
# ...we will use '.2' instead of 'b'.
d41cf9a8ea6f 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 4303
diff changeset
    61
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
    62
455
0806667217c9 7073971 proftpd have to disable lazy binding to simplify chroot
tomas klacko - Sun Microsystems - Prague Czech Republic <tomas.klacko@oracle.com>
parents: 437
diff changeset
    63
# Force immediate binding because of chroot().
5989
d41cf9a8ea6f 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 4303
diff changeset
    64
LDFLAGS += -z guidance=nolazyload -z nolazyload -lbsm -z guidance=lazyload -z lazyload
d41cf9a8ea6f 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 4303
diff changeset
    65
CFLAGS += -I/usr/include/kerberosv5 -DHAVE_KRB5_H=1 -DKRB5_DLLIMP=
d41cf9a8ea6f 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 4303
diff changeset
    66
CFLAGS += -DHAVE__GETGRPSBYMEMBER -D_SOLARIS_DTRACE
d41cf9a8ea6f 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 4303
diff changeset
    67
d41cf9a8ea6f 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 4303
diff changeset
    68
CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
d41cf9a8ea6f 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 4303
diff changeset
    69
CONFIGURE_OPTIONS +=	LDFLAGS="$(LDFLAGS)"
2712
45c3ae29a200 16555453 proftpd build fails if LOGNAME not in environment
Tomas Klacko <tomas.klacko@oracle.com>
parents: 2551
diff changeset
    70
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
    71
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
    72
CONFIGURE_OPTIONS +=	--sysconfdir=$(ETCDIR)
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    73
CONFIGURE_OPTIONS +=	--localstatedir=/var/run
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    74
CONFIGURE_OPTIONS +=	--libexecdir=$(USRLIBDIR)/proftpd
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    75
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
    76
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
    77
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
    78
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
    79
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
    80
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
    81
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
    82
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
    83
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
    84
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
    85
5990
5ac938106574 23176736 ProFTPd: Enable ASLR.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 5989
diff changeset
    86
ASLR_MODE =	$(ASLR_ENABLE)
5ac938106574 23176736 ProFTPd: Enable ASLR.
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 5989
diff changeset
    87
4303
fe962209b82f 20553228 add proftpd dtrace provider from AK to Userland
Tomas Klacko <tomas.klacko@oracle.com>
parents: 3996
diff changeset
    88
# 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
    89
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
    90
	($(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
    91
	$(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
    92
	cd $(BUILD_DIR) ; \
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
    93
	$(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
    94
	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
    95
	./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
    96
	$(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
    97
	$(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
    98
	$(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
    99
	$(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
   100
4303
fe962209b82f 20553228 add proftpd dtrace provider from AK to Userland
Tomas Klacko <tomas.klacko@oracle.com>
parents: 3996
diff changeset
   101
# Build Solaris dtrace object files and copy to proftpd build tree.
fe962209b82f 20553228 add proftpd dtrace provider from AK to Userland
Tomas Klacko <tomas.klacko@oracle.com>
parents: 3996
diff changeset
   102
COMPONENT_PRE_BUILD_ACTION = \
fe962209b82f 20553228 add proftpd dtrace provider from AK to Userland
Tomas Klacko <tomas.klacko@oracle.com>
parents: 3996
diff changeset
   103
	(cd dtrace && make CP="$(CP)" CC="$(CC)" BD="$(BUILD_DIR)/$(MACH32)")
fe962209b82f 20553228 add proftpd dtrace provider from AK to Userland
Tomas Klacko <tomas.klacko@oracle.com>
parents: 3996
diff changeset
   104
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   105
# 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
   106
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
   107
2551
0391c5c3b137 16431724 Adjust how license text and Oracle internal tracking numbers are propagated
Rich Burridge <rich.burridge@oracle.com>
parents: 2434
diff changeset
   108
# Do not apply the standard license transforms for this component. The
0391c5c3b137 16431724 Adjust how license text and Oracle internal tracking numbers are propagated
Rich Burridge <rich.burridge@oracle.com>
parents: 2434
diff changeset
   109
# license actions in the proftpd.p5m file are already tagged with the
0391c5c3b137 16431724 Adjust how license text and Oracle internal tracking numbers are propagated
Rich Burridge <rich.burridge@oracle.com>
parents: 2434
diff changeset
   110
# attributes.
0391c5c3b137 16431724 Adjust how license text and Oracle internal tracking numbers are propagated
Rich Burridge <rich.burridge@oracle.com>
parents: 2434
diff changeset
   111
LICENSE_TRANSFORMS =
0391c5c3b137 16431724 Adjust how license text and Oracle internal tracking numbers are propagated
Rich Burridge <rich.burridge@oracle.com>
parents: 2434
diff changeset
   112
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   113
build:		$(BUILD_32)
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   114
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   115
install:	$(INSTALL_32)
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   116
5989
d41cf9a8ea6f 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 4303
diff changeset
   117
# libcheck and specific Perl Test::Unit version is required for full test
305
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   118
test:		$(NO_TESTS)
e95b65443448 PSARC 2011/088 Replace WU-ftpd with modern FTP server proftpd
Milan Jurik <Milan.Jurik@oracle.com>
parents:
diff changeset
   119
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   120
REQUIRED_PACKAGES += library/security/openssl
5989
d41cf9a8ea6f 23124279 ProFTPd: Update to 1.3.5b
Jiri Sasek <Jiri.Sasek@Oracle.COM>
parents: 4303
diff changeset
   121
REQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   122
REQUIRED_PACKAGES += service/security/kerberos-5
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   123
REQUIRED_PACKAGES += shell/ksh93
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   124
REQUIRED_PACKAGES += system/core-os
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   125
REQUIRED_PACKAGES += system/library
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   126
REQUIRED_PACKAGES += system/library/security/gss
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   127
REQUIRED_PACKAGES += system/network