usr/src/cmd/sudo/install.sfw
changeset 86 7cec84c09a67
parent 85 2b1f0bf1e1e8
child 87 f1183b751617
--- a/usr/src/cmd/sudo/install.sfw	Thu Jun 16 03:22:51 2011 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-#!/bin/sh
-#
-# 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.
-#
-#pragma ident	"@(#)install.sfw	1.3	10/10/06 SMI"
-#
-
-VERS=$1
-
-PREFIX=${ROOT}/usr
-BINDIR=${PREFIX}/bin
-SHAREDIR=${PREFIX}/share
-MAN1mDIR=${SHAREDIR}/man/man1m
-MAN4DIR=${SHAREDIR}/man/man4
-
-. ${SRC}/tools/install.subr
-
-# manpages is converted by sunman-auditing sed-script to
-# append warning about sudo and auditing, the stability and availability. 
-
-MANSCRIPT=sunman-sedscript
-for page in sudo.1m visudo.1m
-do
-    _install M ${ROOTDIR}/${MAN1mDIR}/${page} ${ROOTDIR}/${MAN1mDIR}/${page}.temporary 444
-    mv -f ${ROOTDIR}/${MAN1mDIR}/${page}.temporary ${ROOTDIR}/${MAN1mDIR}/${page}
-done
-
-# relink sudoedit.1m
-rm -f ${ROOTDIR}/${MAN1mDIR}/sudoedit.1m
-ln ${ROOTDIR}/${MAN1mDIR}/sudo.1m ${ROOTDIR}/${MAN1mDIR}/sudoedit.1m 
-
-for page in sudoers.4 
-do
-    _install M ${ROOTDIR}/${MAN4DIR}/${page} ${ROOTDIR}/${MAN4DIR}/${page}.temporary 444
-    mv -f ${ROOTDIR}/${MAN4DIR}/${page}.temporary ${ROOTDIR}/${MAN4DIR}/${page}
-done
-
-exit 0