usr/src/lib/perl_net_ssleay/Makefile.sfw
author Cyril Plisko <cyril.plisko@grigale.com>
Tue, 06 Apr 2010 16:00:14 +0300
changeset 11 87960ed158f9
parent 0 b34509ac961f
child 100 0a3c3c0e0ff2
permissions -rw-r--r--
Import sfw build 137 Bugs Fixed ---------- 6926835 Wireshark cannot open files typed into the location bar 6930214 CVE-2010-0624: Heap-based buffer overflow in GNU Tar 6933424 Various sfw manual pages need to be adjusted to use the new OpenSolaris package names. 6937764 upgrade OpenSSL to 0.9.8n (and fix CVE-2010-0740)

#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#

#
# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident	"@(#)Makefile.sfw	1.3	10/03/16 SMI"
#

VER=$(COMPONENT_NAME:sh)-$(COMPONENT_VERSION:sh)
TARBALL=$(VER).tar.gz

PKG=$(COMPONENT_PACKAGES:sh)

MAN3DIR=blib/man3

_ARCH:sh=arch
PLARCH=$(_ARCH)-solaris-64int
PLVER=5.8.4
PLDIR=$(ROOT)/usr/perl5/$(PLVER)
PLVENDORDIR=$(ROOT)/usr/perl5/vendor_perl/$(PLVER)
PLVENDORARCHDIR=$(PLVENDORDIR)/$(PLARCH)

include ../Makefile.lib

all: $(VER)/Makefile
	$(INCREFIXUP) $(VER)
	cd $(VER); env - PATH=$(SFW_PATH) \
	MAKE=$(CCSMAKE) \
	$(CCSMAKE)

$(VER)/Makefile: $(VER)/.unpacked
	cd $(VER); \
	    env - \
		PATH=$(SFW_PATH)  \
	        echo "n" | $(PERL) Makefile.PL -- \
		INSTALLDIRS=vendor \
		INSTALLVENDORARCH=$(PLVENDORARCHDIR) \
		INSTALLVENDORMAN1DIR=$(PLDIR)/man/man1 \
		INSTALLVENDORMAN3DIR=$(PLDIR)/man/man3

install: all
	$(SRC)/tools/protofix --write --pkg $(PKG)
	cd $(VER); \
	    $(SRC)/tools/sunman -n Net::SSLeay -p library/perl-5/net-ssleay \
		-s Volatile $(MAN3DIR)/Net::SSLeay.3 \
		-s Volatile $(MAN3DIR)/Net::SSLeay::Handle.3; \
	    env - PATH=$(SFW_PATH) MAKE=$(CCSMAKE) \
		$(CCSMAKE) pure_install;
	$(SRC)/tools/protofix --perm --pkg $(PKG)

clean:
	-rm -rf $(VER)

install_h:

include ../Makefile.targ