Makefile revision 305
448a83963e3ec557bc9f9020ab44f9681595d1eerbb# CDDL HEADER START
448a83963e3ec557bc9f9020ab44f9681595d1eerbb# The contents of this file are subject to the terms of the
e654452796751e21828a4078767e075eccf3b232stoddard# Common Development and Distribution License (the "License").
e654452796751e21828a4078767e075eccf3b232stoddard# You may not use this file except in compliance with the License.
e654452796751e21828a4078767e075eccf3b232stoddard# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e654452796751e21828a4078767e075eccf3b232stoddard# See the License for the specific language governing permissions
4670899d8a45ac6add3105181adf1976a1fae109stoddard# and limitations under the License.
85986096003221e8eb135ad1fda59a57c3d0528brbb# When distributing Covered Code, include this CDDL HEADER in each
cf293fe6e2515d89788ec515ce6266ad6f13a724stoddard# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f91cd1fc44d2588d82a56570b1005e7310dfc970jwoolley# If applicable, add the following below this CDDL HEADER, with the
f91cd1fc44d2588d82a56570b1005e7310dfc970jwoolley# fields enclosed by brackets "[]" replaced with your own identifying
f91cd1fc44d2588d82a56570b1005e7310dfc970jwoolley# information: Portions Copyright [yyyy] [name of copyright owner]
cbed27f4c149736a6319a790c81aa8acc491fa18jwoolley# CDDL HEADER END
7537a55be7520037878a521d4ec8c8eb2d44a288rbb# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
7537a55be7520037878a521d4ec8c8eb2d44a288rbbCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)$(COMPONENT_SUBVERSION)
7537a55be7520037878a521d4ec8c8eb2d44a288rbbCOMPONENT_ARCHIVE_HASH= sha1:823e94c24447936ade6ae3948fe638077e0ba933
7537a55be7520037878a521d4ec8c8eb2d44a288rbbCOMPONENT_ARCHIVE_URL= ftp://ftp.proftpd.org/distrib/source/$(COMPONENT_ARCHIVE)
de0fbde2191d651a2dd0296e0fd4c449fa9f1d39wrowe# mod_gss subcomponent
de0fbde2191d651a2dd0296e0fd4c449fa9f1d39wroweCOMPONENT_SRC_1= $(COMPONENT_NAME_1)-$(COMPONENT_VERSION_1)
01f404bacecbd1354af8f04c23a28acef5044e73jwoolleyCOMPONENT_ARCHIVE_HASH_1= sha1:b17015a49e41ee643f1891940f9f3f8a7d77e522
01f404bacecbd1354af8f04c23a28acef5044e73jwoolleyCOMPONENT_ARCHIVE_URL_1= http://downloads.sourceforge.net/gssmod/$(COMPONENT_ARCHIVE_1)
54f7f1c85247dad29d8fa275866cea31d465b392stoddard# IPS_COMPONENT_VERSION is by default set to $(COMPONENT_VERSION) but it is not
3af8fbdd62c9495c8f879eef1eb952a638a18a7adougm# enough for us. We need to include the $(COMPONENT_SUBVERSION) somehow.
3af8fbdd62c9495c8f879eef1eb952a638a18a7adougm# Because the IPS_COMPONENT_VERSION cannot contain letters we used '.0.5'
e14ec68ef48bbf6c3dc567900f9e087eaf0bc931trawick# instead of 'e'.
e14ec68ef48bbf6c3dc567900f9e087eaf0bc931trawickCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -I/usr/include/kerberosv5 -DHAVE_KRB5_H=1 -DKRB5_DLLIMP="
227e0bfd39e7c757d3618c8ada78d80cd1143d32wroweCONFIGURE_OPTIONS += install_group=`groups | cut -f 1 -d ' '`
8ff9257331986cb3646442ab61703fcc02158046trawickCONFIGURE_OPTIONS += --libexecdir=$(USRLIBDIR)/proftpd
d9b416f8cfaaadcbc739cd8c7c356e76efdd3a2agregamesCONFIGURE_OPTIONS += --with-modules=mod_solaris_audit:mod_solaris_priv
4192c91889a84b18aec0b046a94a2b2863be204cstoddardCONFIGURE_OPTIONS += --with-shared=mod_facl:mod_wrap:mod_tls:mod_auth_gss:mod_gss
4192c91889a84b18aec0b046a94a2b2863be204cstoddard# Copy Solaris modules and GSSAPI modules to proftpd source tree
4192c91889a84b18aec0b046a94a2b2863be204cstoddard ($(CP) mod_solaris_audit.c $(SOURCE_DIR)/contrib ; \
7af2fcad9e14a79d7020a33766fbd3a4dfd088dcorlikowski $(UNPACK) $(UNPACK_ARGS) ../$(COMPONENT_ARCHIVE_1) ; \
7af2fcad9e14a79d7020a33766fbd3a4dfd088dcorlikowski ./configure CC="$(CC)" CFLAGS="-I/usr/include/kerberosv5" ; \
b9d82dd4bc49204d9c2c5523e36b3109da298c04wrowe $(CP) mod_gss.c mod_auth_gss.c $(SOURCE_DIR)/contrib ; \
b9d82dd4bc49204d9c2c5523e36b3109da298c04wrowe# proftpd configure and build is not ready for run out of the source tree
a7318397b355119d990d1f311b951dea2aafc53arbb# libcheck and specific Perl Test::Unit version is required for full test