usr/src/cmd/stunnel/install-sfw
changeset 86 7cec84c09a67
parent 85 2b1f0bf1e1e8
child 87 f1183b751617
--- a/usr/src/cmd/stunnel/install-sfw	Thu Jun 16 03:22:51 2011 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-#!/bin/ksh93
-#
-# 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 (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
-#
-#ident	"@(#)install-sfw	1.3	10/04/22 SMI"
-
-set -e
-
-PKGNAME=${1}
-VERS=${2}
-PKGVERS=${PKGNAME}-${VERS}
-PREFIX=${ROOT}/usr
-XMLDIR=${ROOT}/lib/svc/manifest/network/ssl
-LIBDIR=${ROOT}/usr/lib
-XMLFILE=stunnel.xml
-BINDIR=${PREFIX}/bin
-SHAREDIR=${PREFIX}/share
-MANSECTION=1
-MANDIR=${SHAREDIR}/man/man${MANSECTION}
-DATE=`date '+%e %b %Y'`
-POD2MAN=/usr/perl5/5.8.4/bin/pod2man
-
-source "${SRC}/tools/install.subr"
-
-
-# Add the Solaris specific section to the stunnel man page.
-cat ${PKGVERS}/doc/stunnel.pod solaris_manpage.pod >stunnel.pod
-${POD2MAN} --section=${MANSECTION} --date="${DATE}" \
-	--release="${PKGNAME} ${VERS}" --center="User Commands" \
-	stunnel.pod  >stunnel.man
-
-_install N ${XMLFILE} ${XMLDIR}/${XMLFILE} 444
-_install N stunnel.sample ${ROOT}/etc/stunnel/stunnel.sample 444
-_install N stunnel.man ${MANDIR}/stunnel.${MANSECTION} 444
-_install E ${PKGVERS}/src/stunnel ${BINDIR}/stunnel 555
-_install N ${PKGVERS}/src/.libs/libstunnel.so ${LIBDIR}/libstunnel.so 555
-_install N test_stunnel.sh test_stun 755
-_install N setup_CA.sh setup_CA 555
-_install N auth_attr ${ROOT}/etc/security/auth_attr.d/stunnel 444
-_install N prof_attr ${ROOT}/etc/security/prof_attr.d/stunnel 444
-
-exit 0