Makefile revision 3996
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# CDDL HEADER START
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic# The contents of this file are subject to the terms of the
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic# Common Development and Distribution License (the "License").
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic# You may not use this file except in compliance with the License.
4da61833a1cbbca94094f9653fd970582b97a72etrawick# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4da61833a1cbbca94094f9653fd970582b97a72etrawick# See the License for the specific language governing permissions
4da61833a1cbbca94094f9653fd970582b97a72etrawick# and limitations under the License.
4789804be088bcd86ae637a29cdb7fda25169521jailletc# When distributing Covered Code, include this CDDL HEADER in each
4789804be088bcd86ae637a29cdb7fda25169521jailletc# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4789804be088bcd86ae637a29cdb7fda25169521jailletc# If applicable, add the following below this CDDL HEADER, with the
4789804be088bcd86ae637a29cdb7fda25169521jailletc# fields enclosed by brackets "[]" replaced with your own identifying
e50c3026198fd496f183cda4c32a202925476778covener# information: Portions Copyright [yyyy] [name of copyright owner]
e50c3026198fd496f183cda4c32a202925476778covener# CDDL HEADER END
6c3b9cebb551140fbb25d58bae08b539b3802133ylavic# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
69301145375a889e7e37caf7cc7321ac0f91801erpluemHUMAN_VERSION= $(COMPONENT_VERSION)$(COMPONENT_SUBVERSION)
506bfe33206b2fece40ef25f695af39dd4130facjkaluza sha256:c10316fb003bd25eccbc08c77dd9057e053693e6527ffa2ea2cc4e08ccb87715
506bfe33206b2fece40ef25f695af39dd4130facjkaluzaCOMPONENT_ARCHIVE_URL= ftp://ftp.proftpd.org/distrib/source/$(COMPONENT_ARCHIVE)
d58a848a016d401b965111e50ef829e1641f7834minfrin# mod_gss subcomponent
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sfCOMPONENT_SRC_1= $(COMPONENT_NAME_1)-$(COMPONENT_VERSION_1)
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic sha256:bd1cb3f8ba0668981beb54d8b4de10ab204199327a464debd9da19196bbb23c4
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavicCOMPONENT_ARCHIVE_URL_1= http://downloads.sourceforge.net/gssmod/$(COMPONENT_ARCHIVE_1)
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic# IPS_COMPONENT_VERSION is by default set to $(COMPONENT_VERSION) but it is not
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic# enough for us. We need to include the $(COMPONENT_SUBVERSION) somehow.
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic# Because the IPS_COMPONENT_VERSION cannot contain letters we used '.0.5'
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener# instead of 'e'.
d7205b1a86c51c27b71a2c458dc453fd53a261c1covenerCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -I/usr/include/kerberosv5 -DHAVE_KRB5_H=1 -DKRB5_DLLIMP= -DHAVE__GETGRPSBYMEMBER"
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener# Force immediate binding because of chroot().
44ff304057225e944e220e981d434a046d14cf06covenerCONFIGURE_OPTIONS += LDFLAGS="-z guidance=nolazyload -z nolazyload -lbsm"
44ff304057225e944e220e981d434a046d14cf06covenerCONFIGURE_OPTIONS += install_group=`groups | cut -f 1 -d ' '`
5d1ba75b8794925e67591c209085a49279791de9covenerCONFIGURE_OPTIONS += --libexecdir=$(USRLIBDIR)/proftpd
caad2986f81ab263f7af41467dd622dc9add17f3ylavicCONFIGURE_OPTIONS += --with-modules=mod_solaris_audit:mod_solaris_priv
caad2986f81ab263f7af41467dd622dc9add17f3ylavicCONFIGURE_OPTIONS += --with-shared=mod_facl:mod_wrap:mod_tls:mod_auth_gss:mod_gss
f7317ff316c2b141feea31bddb74d5d3fa1584edjorton# Copy Solaris modules and GSSAPI modules to proftpd source tree
1e2d421a36999d292042a5539971070d54aa6c63ylavic $(UNPACK) $(UNPACK_ARGS) ../$(COMPONENT_ARCHIVE_1) ; \
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh ./configure CC="$(CC)" CFLAGS="-I/usr/include/kerberosv5" ; \
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh $(CP) mod_gss.c mod_auth_gss.c $(SOURCE_DIR)/contrib ; \
0b67eb8568cd58bb77082703951679b42cf098actrawick# proftpd configure and build is not ready for run out of the source tree
09c87c777bed1655621bb20e1c46cb6b1a63279dcovener# Do not apply the standard license transforms for this component. The
6502b7b32f980cc2093bb3ebce37e5e4dc68fba4ylavic# license actions in the proftpd.p5m file are already tagged with the
6502b7b32f980cc2093bb3ebce37e5e4dc68fba4ylavic# attributes.
e466c40e1801982602ee0200c9e8b61cc148742djailletc# libcheck and specific Perl Test::Unit version is required for full test